PageSourceSearch

https://golden-arithmetic-638183.netlify.app/files/yzReader/templates/Slide/js/chunk-vendors.js

js golden-arithmetic-638183.netlify.app collected 2026-10-03 10:50:23 UTC 1,699,414 bytes, 1 lines download raw bytes

vendor: 5,553 bytes, line 1
1(self.webpackChunkyzreader=self.webpackChunkyzreader||[]).push([[998],{1001:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var h=u.render;u.render=function(t,e){return l.call(e),h(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}n.d(e,{Z:function(){return i}})},9662:function(t,e,n){"use strict";var i=n(614),r=n(6330),o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not a function")}},6077:function(t,e,n){"use strict";var i=n(614),r=String,o=TypeError;t.exports=function(t){if("object"==typeof t||i(t))return t;throw o("Can't set "+r(t)+" as a prototype")}},5787:function(t,e,n){"use strict";var i=n(7976),r=TypeError;t.exports=function(t,e){if(i(e,t))return t;throw r("Incorrect invocation")}},9670:function(t,e,n){"use strict";var i=n(111),r=String,o=TypeError;t.exports=function(t){if(i(t))return t;throw o(r(t)+" is not an object")}},3013:function(t){"use strict";t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(t,e,n){"use strict";var i,r,o,a=n(3013),s=n(9781),l=n(7854),u=n(614),h=n(111),c=n(2597),p=n(648),f=n(6330),d=n(8880),g=n(8052),m=n(7045),v=n(7976),y=n(9518),_=n(7674),x=n(5112),b=n(9711),w=n(9909),S=w.enforce,M=w.get,T=l.Int8Array,C=T&&T.prototype,A=l.Uint8ClampedArray,I=A&&A.prototype,D=T&&y(T),k=C&&y(C),P=Object.prototype,L=l.TypeError,O=x("toStringTag"),E=b("TYPED_ARRAY_TAG"),R="TypedArrayConstructor",N=a&&!!_&&"Opera"!==p(l.opera),F=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},z={BigInt64Array:8,BigUint64Array:8},V=function(t){var e=y(t);if(h(e)){var n=M(e);return n&&c(n,R)?n[R]:V(e)}},j=function(t){if(!h(t))return!1;var e=p(t);return c(B,e)||c(z,e)};for(i in B)(o=(r=l[i])&&r.prototype)?S(o)[R]=r:N=!1;for(i in z)(o=(r=l[i])&&r.prototype)&&(S(o)[R]=r);if((!N||!u(D)||D===Function.prototype)&&(D=function(){throw L("Incorrect invocation")},N))for(i in B)l[i]&&_(l[i],D);if((!N||!k||k===P)&&(k=D.prototype,N))for(i in B)l[i]&&_(l[i].prototype,k);if(N&&y(I)!==k&&_(I,k),s&&!c(k,O))for(i in F=!0,m(k,O,{configurable:!0,get:function(){return h(this)?this[E]:void 0}}),B)l[i]&&d(l[i],E,i);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:N,TYPED_ARRAY_TAG:F&&E,aTypedArray:function(t){if(j(t))return t;throw L("Target is not a typed array")},aTypedArrayConstructor:function(t){if(u(t)&&(!_||v(D,t)))return t;throw L(f(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,n,i){if(s){if(n)for(var r in B){var o=l[r];if(o&&c(o.prototype,t))try{delete o.prototype[t]}catch(n){try{o.prototype[t]=e}catch(t){}}}k[t]&&!n||g(k,t,n?e:N&&C[t]||e,i)}},exportTypedArrayStaticMethod:function(t,e,n){var i,r;if(s){if(_){if(n)for(i in B)if((r=l[i])&&c(r,t))try{delete r[t]}catch(t){}if(D[t]&&!n)return;try{return g(D,t,n?e:N&&D[t]||e)}catch(t){}}for(i in B)!(r=l[i])||r[t]&&!n||g(r,t,e)}},getTypedArrayConstructor:V,isView:function(t){if(!h(t))return!1;var e=p(t);return"DataView"===e||c(B,e)||c(z,e)},isTypedArray:j,TypedArray:D,TypedArrayPrototype:k}},7745:function(t,e,n){"use strict";var i=n(6244);t.exports=function(t,e){for(var n=0,r=i(e),o=new t(r);r>n;)o[n]=e[n++];return o}},1318:function(t,e,n){"use strict";var i=n(5656),r=n(1400),o=n(6244),a=function(t){return function(e,n,a){var s,l=i(e),u=o(l),h=r(a,u);if(t&&n!=n){for(;u>h;)if((s=l[h++])!=s)return!0}else for(;u>h;h++)if((t||h in l)&&l[h]===n)return t||h||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9671:function(t,e,n){"use strict";var i=n(9974),r=n(8361),o=n(7908),a=n(6244),s=function(t){var e=1==t;return function(n,s,l){for(var u,h=o(n),c=r(h),p=i(s,l),f=a(c);f-- >0;)if(p(u=c[f],f,h))switch(t){case 0:return u;case 1:return f}return e?-1:void 0}};t.exports={findLast:s(0),findLastIndex:s(1)}},3658:function(t,e,n){"use strict";var i=n(9781),r=n(3157),o=TypeError,a=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(r(t)&&!a(t,"length").writable)throw o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},1843:function(t,e,n){"use strict";var i=n(6244);t.exports=function(t,e){for(var n=i(t),r=new e(n),o=0;o<n;o++)r[o]=t[n-o-1];return r}},1572:function(t,e,n){"use strict";var i=n(6244),r=n(9303),o=RangeError;t.exports=function(t,e,n,a){var s=i(t),l=r(n),u=l<0?s+l:l;if(u>=s||u<0)throw o("Incorrect index");for(var h=new e(s),c=0;c<s;c++)h[c]=c===u?a:t[c];return h}},4326:function(t,e,n){"use strict";var i=n(1702),r=i({}.toString),o=i("".slice);t.exports=function(t){return o(r(t),8,-1)}},648:function(t,e,n){"use strict";var i=n(1694),r=n(614),o=n(4326),a=n(5112)("toStringTag"),s=Object,l="Arguments"==o(function(){return arguments}());t.exports=i?o:function(t){var e,n,i;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}
vendor: 3,172 bytes, line 1
1(e=s(t),a))?n:l?o(e):"Object"==(i=o(e))&&r(e.callee)?"Arguments":i}},9920:function(t,e,n){"use strict";var i=n(2597),r=n(3887),o=n(1236),a=n(3070);t.exports=function(t,e,n){for(var s=r(e),l=a.f,u=o.f,h=0;h<s.length;h++){var c=s[h];i(t,c)||n&&i(n,c)||l(t,c,u(e,c))}}},8544:function(t,e,n){"use strict";var i=n(7293);t.exports=!i((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},8880:function(t,e,n){"use strict";var i=n(9781),r=n(3070),o=n(9114);t.exports=i?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},9114:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7045:function(t,e,n){"use strict";var i=n(6339),r=n(3070);t.exports=function(t,e,n){return n.get&&i(n.get,e,{getter:!0}),n.set&&i(n.set,e,{setter:!0}),r.f(t,e,n)}},8052:function(t,e,n){"use strict";var i=n(614),r=n(3070),o=n(6339),a=n(3072);t.exports=function(t,e,n,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:e;if(i(n)&&o(n,u,s),s.global)l?t[e]=n:a(e,n);else{try{s.unsafe?t[e]&&(l=!0):delete t[e]}catch(t){}l?t[e]=n:r.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},3072:function(t,e,n){"use strict";var i=n(7854),r=Object.defineProperty;t.exports=function(t,e){try{r(i,t,{value:e,configurable:!0,writable:!0})}catch(n){i[t]=e}return e}},9781:function(t,e,n){"use strict";var i=n(7293);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){"use strict";var e="object"==typeof document&&document.all,n=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},317:function(t,e,n){"use strict";var i=n(7854),r=n(111),o=i.document,a=r(o)&&r(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},7207:function(t){"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},3678:function(t){"use strict";t.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}
vendor: 4,864 bytes, line 1
1,InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},8113:function(t){"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){"use strict";var i,r,o=n(7854),a=n(8113),s=o.process,l=o.Deno,u=s&&s.versions||l&&l.version,h=u&&u.v8;h&&(r=(i=h.split("."))[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=+i[1]),t.exports=r},748:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1060:function(t,e,n){"use strict";var i=n(1702),r=Error,o=i("".replace),a=String(r("zxcasd").stack),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);t.exports=function(t,e){if(l&&"string"==typeof t&&!r.prepareStackTrace)for(;e--;)t=o(t,s,"");return t}},5392:function(t,e,n){"use strict";var i=n(8880),r=n(1060),o=n(2914),a=Error.captureStackTrace;t.exports=function(t,e,n,s){o&&(a?a(t,e):i(t,"stack",r(n,s)))}},2914:function(t,e,n){"use strict";var i=n(7293),r=n(9114);t.exports=!i((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",r(1,7)),7!==t.stack)}))},2109:function(t,e,n){"use strict";var i=n(7854),r=n(1236).f,o=n(8880),a=n(8052),s=n(3072),l=n(9920),u=n(4705);t.exports=function(t,e){var n,h,c,p,f,d=t.target,g=t.global,m=t.stat;if(n=g?i:m?i[d]||s(d,{}):(i[d]||{}).prototype)for(h in e){if(p=e[h],c=t.dontCallGetSet?(f=r(n,h))&&f.value:n[h],!u(g?h:d+(m?".":"#")+h,t.forced)&&void 0!==c){if(typeof p==typeof c)continue;l(p,c)}(t.sham||c&&c.sham)&&o(p,"sham",!0),a(n,h,p,t)}}},7293:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},2104:function(t,e,n){"use strict";var i=n(4374),r=Function.prototype,o=r.apply,a=r.call;t.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},9974:function(t,e,n){"use strict";var i=n(1470),r=n(9662),o=n(4374),a=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},4374:function(t,e,n){"use strict";var i=n(7293);t.exports=!i((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){"use strict";var i=n(4374),r=Function.prototype.call;t.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},6530:function(t,e,n){"use strict";var i=n(9781),r=n(2597),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),l=s&&"something"===function(){}.name,u=s&&(!i||i&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:l,CONFIGURABLE:u}},5668:function(t,e,n){"use strict";var i=n(1702),r=n(9662);t.exports=function(t,e,n){try{return i(r(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}},1470:function(t,e,n){"use strict";var i=n(4326),r=n(1702);t.exports=function(t){if("Function"===i(t))return r(t)}},1702:function(t,e,n){"use strict";var i=n(4374),r=Function.prototype,o=r.call,a=i&&r.bind.bind(o,o);t.exports=i?a:function(t){return function(){return o.apply(t,arguments)}}},5005:function(t,e,n){"use strict";var i=n(7854),r=n(614);t.exports=function(t,e){return arguments.length<2?(n=i[t],r(n)?n:void 0):i[t]&&i[t][e];var n}},8173:function(t,e,n){"use strict";var i=n(9662),r=n(8554);t.exports=function(t,e){var n=t[e];return r(n)?void 0:i(n)}},7854:function(t,e,n){"use strict";var i=function(t){return t&&t.Math==Math&&t};t.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")()},2597:function(t,e,n){"use strict";var i=n(1702),r=n(7908),o=i({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(r(t),e)}},3501:function(t){"use strict";t.exports={}},4664:function(t,e,n){"use strict";var i=n(9781),r=n(7293),o=n(317);t.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){"use strict";var i=n(1702),r=n(7293),o=n(4326),a=Object,s=i("".split);t.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?s(t,""):a(t)}:a},9587:function(t,e,n){"use strict";var i=n(614),r=n(111),o=n(7674);t.exports=function(t,e,n){var a,s;return o&&i(a=e.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(t,s),t}},2788:function(t,e,n){"use strict";var i=n(1702),r=n(614),o=n(5465),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},8340:function(t,e,n){"use strict";var i=n(111),r=n(8880);t.exports=function(t,e){i(e)&&"cause"in e&&r(t,"cause",e.cause)}},9909:function(t,e,n){"use strict";var i,r,o,a=n(4811),s=n(7854),l=n(111),u=n(8880),h=n(2597),c=n(5465),p=n(6200),f=n(3501),d="Object already initialized",g
vendor: 4,280 bytes, line 1
1=s.TypeError,m=s.WeakMap;if(a||c.state){var v=c.state||(c.state=new m);v.get=v.get,v.has=v.has,v.set=v.set,i=function(t,e){if(v.has(t))throw g(d);return e.facade=t,v.set(t,e),e},r=function(t){return v.get(t)||{}},o=function(t){return v.has(t)}}else{var y=p("state");f[y]=!0,i=function(t,e){if(h(t,y))throw g(d);return e.facade=t,u(t,y,e),e},r=function(t){return h(t,y)?t[y]:{}},o=function(t){return h(t,y)}}t.exports={set:i,get:r,has:o,enforce:function(t){return o(t)?r(t):i(t,{})},getterFor:function(t){return function(e){var n;if(!l(e)||(n=r(e)).type!==t)throw g("Incompatible receiver, "+t+" required");return n}}}},3157:function(t,e,n){"use strict";var i=n(4326);t.exports=Array.isArray||function(t){return"Array"==i(t)}},4067:function(t,e,n){"use strict";var i=n(648);t.exports=function(t){var e=i(t);return"BigInt64Array"==e||"BigUint64Array"==e}},614:function(t,e,n){"use strict";var i=n(4154),r=i.all;t.exports=i.IS_HTMLDDA?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},4705:function(t,e,n){"use strict";var i=n(7293),r=n(614),o=/#|\.prototype\./,a=function(t,e){var n=l[s(t)];return n==h||n!=u&&(r(e)?i(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},l=a.data={},u=a.NATIVE="N",h=a.POLYFILL="P";t.exports=a},8554:function(t){"use strict";t.exports=function(t){return null==t}},111:function(t,e,n){"use strict";var i=n(614),r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:i(t)||t===o}:function(t){return"object"==typeof t?null!==t:i(t)}},1913:function(t){"use strict";t.exports=!1},2190:function(t,e,n){"use strict";var i=n(5005),r=n(614),o=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=i("Symbol");return r(e)&&o(e.prototype,s(t))}},6244:function(t,e,n){"use strict";var i=n(7466);t.exports=function(t){return i(t.length)}},6339:function(t,e,n){"use strict";var i=n(1702),r=n(7293),o=n(614),a=n(2597),s=n(9781),l=n(6530).CONFIGURABLE,u=n(2788),h=n(9909),c=h.enforce,p=h.get,f=String,d=Object.defineProperty,g=i("".slice),m=i("".replace),v=i([].join),y=s&&!r((function(){return 8!==d((function(){}),"length",{value:8}).length})),_=String(String).split("String"),x=t.exports=function(t,e,n){"Symbol("===g(f(e),0,7)&&(e="["+m(f(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!a(t,"name")||l&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&a(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var i=c(t);return a(i,"source")||(i.source=v(_,"string"==typeof e?e:"")),t};Function.prototype.toString=x((function(){return o(this)&&p(this).source||u(this)}),"toString")},4758:function(t){"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var i=+t;return(i>0?n:e)(i)}},6277:function(t,e,n){"use strict";var i=n(1340);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:i(t)}},3070:function(t,e,n){"use strict";var i=n(9781),r=n(4664),o=n(3353),a=n(9670),s=n(4948),l=TypeError,u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,c="enumerable",p="configurable",f="writable";e.f=i?o?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&f in n&&!n[f]){var i=h(t,e);i&&i[f]&&(t[e]=n.value,n={configurable:p in n?n[p]:i[p],enumerable:c in n?n[c]:i[c],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),r)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},1236:function(t,e,n){"use strict";var i=n(9781),r=n(6916),o=n(5296),a=n(9114),s=n(5656),l=n(4948),u=n(2597),h=n(4664),c=Object.getOwnPropertyDescriptor;e.f=i?c:function(t,e){if(t=s(t),e=l(e),h)try{return c(t,e)}catch(t){}if(u(t,e))return a(!r(o.f,t,e),t[e])}},8006:function(t,e,n){"use strict";var i=n(6324),r=n(748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},5181:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},9518:function(t,e,n){"use strict";var i=n(2597),r=n(614),o=n(7908),a=n(6200),s=n(8544),l=a("IE_PROTO"),u=Object,h=u.prototype;
vendor: 8,778 bytes, line 1
1t.exports=s?u.getPrototypeOf:function(t){var e=o(t);if(i(e,l))return e[l];var n=e.constructor;return r(n)&&e instanceof n?n.prototype:e instanceof u?h:null}},7976:function(t,e,n){"use strict";var i=n(1702);t.exports=i({}.isPrototypeOf)},6324:function(t,e,n){"use strict";var i=n(1702),r=n(2597),o=n(5656),a=n(1318).indexOf,s=n(3501),l=i([].push);t.exports=function(t,e){var n,i=o(t),u=0,h=[];for(n in i)!r(s,n)&&r(i,n)&&l(h,n);for(;e.length>u;)r(i,n=e[u++])&&(~a(h,n)||l(h,n));return h}},5296:function(t,e){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);e.f=r?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},7674:function(t,e,n){"use strict";var i=n(5668),r=n(9670),o=n(6077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=i(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t(n,i):n.__proto__=i,n}}():void 0)},2140:function(t,e,n){"use strict";var i=n(6916),r=n(614),o=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&r(n=t.toString)&&!o(s=i(n,t)))return s;if(r(n=t.valueOf)&&!o(s=i(n,t)))return s;if("string"!==e&&r(n=t.toString)&&!o(s=i(n,t)))return s;throw a("Can't convert object to primitive value")}},3887:function(t,e,n){"use strict";var i=n(5005),r=n(1702),o=n(8006),a=n(5181),s=n(9670),l=r([].concat);t.exports=i("Reflect","ownKeys")||function(t){var e=o.f(s(t)),n=a.f;return n?l(e,n(t)):e}},2626:function(t,e,n){"use strict";var i=n(3070).f;t.exports=function(t,e,n){n in t||i(t,n,{configurable:!0,get:function(){return e[n]},set:function(t){e[n]=t}})}},4488:function(t,e,n){"use strict";var i=n(8554),r=TypeError;t.exports=function(t){if(i(t))throw r("Can't call method on "+t);return t}},6200:function(t,e,n){"use strict";var i=n(2309),r=n(9711),o=i("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},5465:function(t,e,n){"use strict";var i=n(7854),r=n(3072),o="__core-js_shared__",a=i[o]||r(o,{});t.exports=a},2309:function(t,e,n){"use strict";var i=n(1913),r=n(5465);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("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"})},6293:function(t,e,n){"use strict";var i=n(7392),r=n(7293),o=n(7854).String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},1400:function(t,e,n){"use strict";var i=n(9303),r=Math.max,o=Math.min;t.exports=function(t,e){var n=i(t);return n<0?r(n+e,0):o(n,e)}},4599:function(t,e,n){"use strict";var i=n(7593),r=TypeError;t.exports=function(t){var e=i(t,"number");if("number"==typeof e)throw r("Can't convert number to bigint");return BigInt(e)}},5656:function(t,e,n){"use strict";var i=n(8361),r=n(4488);t.exports=function(t){return i(r(t))}},9303:function(t,e,n){"use strict";var i=n(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:i(e)}},7466:function(t,e,n){"use strict";var i=n(9303),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},7908:function(t,e,n){"use strict";var i=n(4488),r=Object;t.exports=function(t){return r(i(t))}},2452:function(t,e,n){"use strict";var i=n(3002),r=RangeError;t.exports=function(t,e){var n=i(t);if(n%e)throw r("Wrong offset");return n}},3002:function(t,e,n){"use strict";var i=n(9303),r=RangeError;t.exports=function(t){var e=i(t);if(e<0)throw r("The argument can't be less than 0");return e}},7593:function(t,e,n){"use strict";var i=n(6916),r=n(111),o=n(2190),a=n(8173),s=n(2140),l=n(5112),u=TypeError,h=l("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,l=a(t,h);if(l){if(void 0===e&&(e="default"),n=i(l,t,e),!r(n)||o(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,n){"use strict";var i=n(7593),r=n(2190);t.exports=function(t){var e=i(t,"string");return r(e)?e:e+""}},1694:function(t,e,n){"use strict";var i={};i[n(5112)("toStringTag")]="z",t.exports="[object z]"===String(i)},1340:function(t,e,n){"use strict";var i=n(648),r=String;t.exports=function(t){if("Symbol"===i(t))throw TypeError("Cannot convert a Symbol value to a string");return r(t)}},6330:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},9711:function(t,e,n){"use strict";var i=n(1702),r=0,o=Math.random(),a=i(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++r+o,36)}},3307:function(t,e,n){"use strict";var i=n(6293);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){"use strict";var i=n(9781),r=n(7293);t.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:function(t){"use strict";var e=TypeError;t.exports=function(t,n){if(t<n)throw e("Not enough arguments");return t}},4811:function(t,e,n){"use strict";var i=n(7854),r=n(614),o=i.WeakMap;t.exports=r(o)&&/native code/.test(String(o))},5112:function(t,e,n){"use strict";var i=n(7854),r=n(2309),o=n(2597),a=n(9711),s=n(6293),l=n(3307),u=i.Symbol,h=r("wks"),c=l?u.for||u:u&&u.withoutSetter||a;t.exports=function(t){return o(h,t)||(h[t]=s&&o(u,t)?u[t]:c("Symbol."+t)),h[t]}},9191:function(t,e,n){"use strict";var i=n(5005),r=n(2597),o=n(8880),a=n(7976),s=n(7674),l=n(9920),u=n(2626),h=n(9587),c=n(6277),p=n(8340),f=n(5392),d=n(9781),g=n(1913);t.exports=function(t,e,n,m){var v="stackTraceLimit",y=m?2:1,_=t.split("."),x=_[_.length-1],b=i.apply(null,_);if(b){var w=b.prototype;if(!g&&r(w,"cause")&&delete w.cause,!n)return b;var S=i("Error"),M=e((function(t,e){var n=c(m?e:t,void 0),i=m?new b(t):new b;return void 0!==n&&o(i,"message",n),f(i,M,i.stack,2),this&&a(w,this)&&h(i,this,M),arguments.length>y&&p(i,arguments[y]),i}));if(M.prototype=w,"Error"!==x?s?s(M,S):l(M,S,{name:!0}):d&&v in b&&(u(M,b,v),u(M,b,"prepareStackTrace")),l(M,b),!g)try{w.name!==x&&o(w,"name",x),w.constructor=M}catch(t){}return M}}},7658:function(t,e,n){"use strict";var i=n(2109),r=n(7908),o=n(6244),a=n(3658),s=n(7207);i({target:"Array",proto:!0,arity:1,forced:n(7293)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=r(this),n=o(e),i=arguments.length;s(n+i);for(var l=0;l<i;l++)e[n]=arguments[l],n++;return a(e,n),n}})},1703:function(t,e,n){"use strict";var i=n(2109),r=n(7854),o=n(2104),a=n(9191),s="WebAssembly",l=r[s],u=7!==Error("e",{cause:7}).cause,h=function(t,e){var n={};n[t]=a(t,e,u),i({global:!0,constructor:!0,arity:1,forced:u},n)},c=function(t,e){if(l&&l[t]){var n={};n[t]=a(s+"."+t,e,u),i({target:s,stat:!0,constructor:!0,arity:1,forced:u},n)}};h("Error",(function(t){return function(e){return o(t,this,arguments)}})),h("EvalError",(function(t){return function(e){return o(t,this,arguments)}})),h("RangeError",(function(t){return function(e){return o(t,this,arguments)}})),h("ReferenceError",(function(t){return function(e){return o(t,this,arguments)}})),h("SyntaxError",(function(t){return function(e){return o(t,this,arguments)}})),h("TypeError",(function(t){return function(e){return o(t,this,arguments)}})),h("URIError",(function(t){return function(e){return o(t,this,arguments)}})),c("CompileError",(function(t){return function(e){return o(t,this,arguments)}})),c("LinkError",(function(t){return function(e){return o(t,this,arguments)}})),c("RuntimeError",(function(t){return function(e){return o(t,this,arguments)}}))},8675:function(t,e,n){"use strict";var i=n(260),r=n(6244),o=n(9303),a=i.aTypedArray;(0,i.exportTypedArrayMethod)("at",(function(t){var e=a(this),n=r(e),i=o(t),s=i>=0?i:n+i;return s<0||s>=n?void 0:e[s]}))},4590:function(t,e,n){"use strict";var i=n(260),r=n(9671).findLastIndex,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findLastIndex",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3408:function(t,e,n){"use strict";var i=n(260),r=n(9671).findLast,o=i.aTypedArray;(0,i.exportTypedArrayMethod)("findLast",(function(t){return r(o(this),t,arguments.length>1?arguments[1]:void 0)}))},3462:function(t,e,n){"use strict";var i=n(7854),r=n(6916),o=n(260),a=n(6244),s=n(2452),l=n(7908),u=n(7293),h=i.RangeError,c=i.Int8Array,p=c&&c.prototype,f=p&&p.set,d=o.aTypedArray,g=o.exportTypedArrayMethod,m=!u((function(){var t=new Uint8ClampedArray(2);return r(f,t,{length:1,0:3},1),3!==t[1]})),v=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var t=new c(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]}));g("set",(function(t){d(this);var e=s(arguments.length>
vendor: 4,873 bytes, line 1
11?arguments[1]:void 0,1),n=l(t);if(m)return r(f,this,n,e);var i=this.length,o=a(n),u=0;if(o+e>i)throw h("Wrong length");for(;u<o;)this[e+u]=n[u++]}),!m||v)},1439:function(t,e,n){"use strict";var i=n(1843),r=n(260),o=r.aTypedArray,a=r.exportTypedArrayMethod,s=r.getTypedArrayConstructor;a("toReversed",(function(){return i(o(this),s(this))}))},7585:function(t,e,n){"use strict";var i=n(260),r=n(1702),o=n(9662),a=n(7745),s=i.aTypedArray,l=i.getTypedArrayConstructor,u=i.exportTypedArrayMethod,h=r(i.TypedArrayPrototype.sort);u("toSorted",(function(t){void 0!==t&&o(t);var e=s(this),n=a(l(e),e);return h(n,t)}))},5315:function(t,e,n){"use strict";var i=n(1572),r=n(260),o=n(4067),a=n(9303),s=n(4599),l=r.aTypedArray,u=r.getTypedArrayConstructor,h=r.exportTypedArrayMethod,c=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();h("with",{with:function(t,e){var n=l(this),r=a(t),h=o(n)?s(e):+e;return i(n,u(n),r,h)}}.with,!c)},2801:function(t,e,n){"use strict";var i=n(2109),r=n(7854),o=n(5005),a=n(9114),s=n(3070).f,l=n(2597),u=n(5787),h=n(9587),c=n(6277),p=n(3678),f=n(1060),d=n(9781),g=n(1913),m="DOMException",v=o("Error"),y=o(m),_=function(){u(this,x);var t=arguments.length,e=c(t<1?void 0:arguments[0]),n=c(t<2?void 0:arguments[1],"Error"),i=new y(e,n),r=v(e);return r.name=m,s(i,"stack",a(1,f(r.stack,1))),h(i,this,_),i},x=_.prototype=y.prototype,b="stack"in v(m),w="stack"in new y(1,2),S=y&&d&&Object.getOwnPropertyDescriptor(r,m),M=!(!S||S.writable&&S.configurable),T=b&&!M&&!w;i({global:!0,constructor:!0,forced:g||T},{DOMException:T?_:y});var C=o(m),A=C.prototype;if(A.constructor!==C)for(var I in g||s(A,"constructor",a(1,C)),p)if(l(p,I)){var D=p[I],k=D.s;l(C,k)||s(C,k,a(6,D.c))}},6229:function(t,e,n){"use strict";var i=n(8052),r=n(1702),o=n(1340),a=n(8053),s=URLSearchParams,l=s.prototype,u=r(l.append),h=r(l.delete),c=r(l.forEach),p=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(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return h(this,t);var i=[];c(this,(function(t,e){p(i,{key:e,value:t})})),a(e,1);for(var r,s=o(t),l=o(n),f=0,d=0,g=!1,m=i.length;f<m;)r=i[f++],g||r.key===s?(g=!0,h(this,r.key)):d++;for(;d<m;)(r=i[d++]).key===s&&r.value===l||u(this,r.key,r.value)}),{enumerable:!0,unsafe:!0})},7330:function(t,e,n){"use strict";var i=n(8052),r=n(1702),o=n(1340),a=n(8053),s=URLSearchParams,l=s.prototype,u=r(l.getAll),h=r(l.has),c=new s("a=1");!c.has("a",2)&&c.has("a",void 0)||i(l,"has",(function(t){var e=arguments.length,n=e<2?void 0:arguments[1];if(e&&void 0===n)return h(this,t);var i=u(this,t);a(e,1);for(var r=o(n),s=0;s<i.length;)if(i[s++]===r)return!0;return!1}),{enumerable:!0,unsafe:!0})},2062:function(t,e,n){"use strict";var i=n(9781),r=n(1702),o=n(7045),a=URLSearchParams.prototype,s=r(a.forEach);i&&!("size"in a)&&o(a,"size",{get:function(){var t=0;return s(this,(function(){t++})),t},configurable:!0,enumerable:!0})},2111:function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=103)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var h=u.render;u.render=function(t,e){return l.call(e),h(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},103:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement;return(t._self._c||e)("i",{class:"el-icon-"+t.name})};i._withStripped=!0;
vendor: 41,417 bytes, line 1
1var r={name:"ElIcon",props:{name:String}},o=n(0),a=Object(o.a)(r,i,[],!1,null,null,null);a.options.__file="packages/icon/src/icon.vue";var s=a.exports;s.install=function(t){t.component(s.name,s)};e.default=s}})},6473:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=81)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var h=u.render;u.render=function(t,e){return l.call(e),h(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},13:function(t,e){t.exports=n(2680)},17:function(t,e){t.exports=n(5389)},23:function(t,e){t.exports=n(4823)},7:function(t,e){t.exports=n(144)},81:function(t,e,n){"use strict";n.r(e);var i=n(7),r=n.n(i),o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],class:["el-message",t.type&&!t.iconClass?"el-message--"+t.type:"",t.center?"is-center":"",t.showClose?"is-closable":"",t.customClass],style:t.positionStyle,attrs:{role:"alert"},on:{mouseenter:t.clearTimer,mouseleave:t.startTimer}},[t.iconClass?n("i",{class:t.iconClass}):n("i",{class:t.typeClass}),t._t("default",[t.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:t._s(t.message)}}):n("p",{staticClass:"el-message__content"},[t._v(t._s(t.message))])]),t.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:t.close}}):t._e()],2)])};o._withStripped=!0;var a={success:"success",info:"info",warning:"warning",error:"error"},s={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+a[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(t){t&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var t=this;this.duration>0&&(this.timer=setTimeout((function(){t.closed||t.close()}),this.duration))},keydown:function(t){27===t.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},l=n(0),u=Object(l.a)(s,o,[],!1,null,null,null);u.options.__file="packages/message/src/main.vue";var h=u.exports,c=n(13),p=n(23),f=n(17),d=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},g=r.a.extend(h),m=void 0,v=[],y=1,_=function t(e){if(!r.a.prototype.$isServer){"string"==typeof(e=e||{})&&(e={message:e});var n=e.onClose,i="message_"+y++;e.onClose=function(){t.close(i,n)},(m=new g({data:e})).id=i,Object(p.isVNode)(m.message)&&(m.$slots.default=[m.message],m.message=null),m.$mount(),document.body.appendChild(m.$el);var o=e.offset||20;return v.forEach((function(t){o+=t.$el.offsetHeight+16})),m.verticalOffset=o,m.visible=!0,m.$el.style.zIndex=c.PopupManager.nextZIndex(),v.push(m),m}};["success","warning","info","error"].forEach((function(t){_[t]=function(e){return Object(f.isObject)(e)&&!Object(p.isVNode)(e)?_(d({},e,{type:t})):_({type:t,message:e})}})),_.close=function(t,e){for(var n=v.length,i=-1,r=void 0,o=0;o<n;o++)if(t===v[o].id){r=v[o].$el.offsetHeight,i=o,"function"==typeof e&&e(v[o]),v.splice(o,1);break}if(!(n<=1||-1===i||i>v.length-1))for(var a=i;a<n-1;a++){var s=v[a].$el;s.style.top=parseInt(s.style.top,10)-r-16+"px"}},_.closeAll=function(){for(var t=v.length-1;t>=0;t--)v[t].close()};var x=_;e.default=x}})},4650:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=78)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(l=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(u.functional){u._injectStyles=l;var h=u.render;u.render=function(t,e){return l.call(e),h(t,e)}}else{var c=u.beforeCreate;u.beforeCreate=c?[].concat(c,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},2:function(t,e){t.exports=n(4594)},3:function(t,e){t.exports=n(3104)},5:function(t,e){t.exports=n(499)},7:function(t,e){t.exports=n(144)},78:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[n("transition",{attrs:{name:t.transition},on:{"after-enter":t.handleAfterEnter,"after-leave":t.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!t.disabled&&t.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[t.popperClass,t.content&&"el-popover--plain"],style:{width:t.width+"px"},attrs:{role:"tooltip",id:t.tooltipId,"aria-hidden":t.disabled||!t.showPopper?"true":"false"}},[t.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:t._s(t.title)}}):t._e(),t._t("default",[t._v(t._s(t.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[t._t("reference")],2)],1)};i._withStripped=!0;var r=n(5),o=n.n(r),a=n(2),s=n(3),l={name:"ElPopover",mixins:[o.a],props:{trigger:{type:String,default:"click",validator:function(t){return["click","focus","hover","manual"].indexOf(t)>-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(s.generateId)()}},watch:{showPopper:function(t){this.disabled||(t?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var t=this,e=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),e&&(Object(a.addClass)(e,"el-popover__reference"),e.setAttribute("aria-describedby",this.tooltipId),e.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(a.on)(e,"focusin",(function(){t.handleFocus();var n=e.__vue__;n&&"function"==typeof n.focus&&n.focus()})),Object(a.on)(n,"focusin",this.handleFocus),Object(a.on)(e,"focusout",this.handleBlur),Object(a.on)(n,"focusout",this.handleBlur)),Object(a.on)(e,"keydown",this.handleKeydown),Object(a.on)(e,"click",this.handleClick)),"click"===this.trigger?(Object(a.on)(e,"click",this.doToggle),Object(a.on)(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(a.on)(e,"mouseenter",this.handleMouseEnter),Object(a.on)(n,"mouseenter",this.handleMouseEnter),Object(a.on)(e,"mouseleave",this.handleMouseLeave),Object(a.on)(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex,e.querySelector("input, textarea")?(Object(a.on)(e,"focusin",this.doShow),Object(a.on)(e,"focusout",this.doClose)):(Object(a.on)(e,"mousedown",this.doShow),Object(a.on)(e,"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(a.addClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(a.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){Object(a.removeClass)(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var t=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){t.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(t){27===t.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var t=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){t.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(t){var e=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!e&&this.$refs.wrapper.children&&(e=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&e&&!this.$el.contains(t.target)&&!e.contains(t.target)&&n&&!n.contains(t.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 t=this.reference;Object(a.off)(t,"click",this.doToggle),Object(a.off)(t,"mouseup",this.doClose),Object(a.off)(t,"mousedown",this.doShow),Object(a.off)(t,"focusin",this.doShow),Object(a.off)(t,"focusout",this.doClose),Object(a.off)(t,"mousedown",this.doShow),Object(a.off)(t,"mouseup",this.doClose),Object(a.off)(t,"mouseleave",this.handleMouseLeave),Object(a.off)(t,"mouseenter",this.handleMouseEnter),Object(a.off)(document,"click",this.handleDocumentClick)}},u=n(0),h=Object(u.a)(l,i,[],!1,null,null,null);h.options.__file="packages/popover/src/main.vue";var c=h.exports,p=function(t,e,n){var i=e.expression?e.value:e.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=t:r.$refs.reference=t)},f={bind:function(t,e,n){p(t,e,n)},inserted:function(t,e,n){p(t,e,n)}},d=n(7);n.n(d).a.directive("popover",f),c.install=function(t){t.directive("popover",f),t.component(c.name,c)},c.directive=f;e.default=c}})},4594:function(t,e,n){"use strict";e.__esModule=!0,e.isInContainer=e.getScrollContainer=e.isScroll=e.getStyle=e.once=e.off=e.on=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.hasClass=d,e.addClass=function(t,e){if(!t)return;for(var n=t.className,i=(e||"").split(" "),r=0,o=i.length;r<o;r++){var a=i[r];a&&(t.classList?t.classList.add(a):d(t,a)||(n+=" "+a))}t.classList||t.setAttribute("class",n)},e.removeClass=function(t,e){if(!t||!e)return;for(var n=e.split(" "),i=" "+t.className+" ",r=0,o=n.length;r<o;r++){var a=n[r];a&&(t.classList?t.classList.remove(a):d(t,a)&&(i=i.replace(" "+a+" "," ")))}t.classList||t.setAttribute("class",h(i))},e.setStyle=function t(e,n,r){if(!e||!n)return;if("object"===(void 0===n?"undefined":i(n)))for(var o in n)n.hasOwnProperty(o)&&t(e,o,n[o]);else"opacity"===(n=c(n))&&u<9?e.style.filter=isNaN(r)?"":"alpha(opacity="+100*r+")":e.style[n]=r};var r,o=n(144);var a=((r=o)&&r.__esModule?r:{default:r}).default.prototype.$isServer,s=/([\:\-\_]+(.))/g,l=/^moz([A-Z])/,u=a?0:Number(document.documentMode),h=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(t){return t.replace(s,(function(t,e,n,i){return i?n.toUpperCase():n})).replace(l,"Moz$1")},p=e.on=!a&&document.addEventListener?function(t,e,n){t&&e&&n&&t.addEventListener(e,n,!1)}:function(t,e,n){t&&e&&n&&t.attachEvent("on"+e,n)},f=e.off=!a&&document.removeEventListener?function(t,e,n){t&&e&&t.removeEventListener(e,n,!1)}:function(t,e,n){t&&e&&t.detachEvent("on"+e,n)};e.once=function(t,e,n){p(t,e,(function i(){n&&n.apply(this,arguments),f(t,e,i)}))};function d(t,e){if(!t||!e)return!1;if(-1!==e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):(" "+t.className+" ").indexOf(" "+e+" ")>-1}var g=e.getStyle=u<9?function(t,e){if(!a){if(!t||!e)return null;"float"===(e=c(e))&&(e="styleFloat");try{if("opacity"===e)try{return t.filters.item("alpha").opacity/100}catch(t){return 1}return t.style[e]||t.currentStyle?t.currentStyle[e]:null}catch(n){return t.style[e]}}}:function(t,e){if(!a){if(!t||!e)return null;"float"===(e=c(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}}};var m=e.isScroll=function(t,e){if(!a)return g(t,null!=e?e?"overflow-y":"overflow-x":"overflow").match(/(scroll|auto|overlay)/)};e.getScrollContainer=function(t,e){if(!a){for(var n=t;n;){if([window,document,document.documentElement].includes(n))return window;if(m(n,e))return n;n=n.parentNode}return n}},e.isInContainer=function(t,e){if(a||!t||!e)return!1;var n=t.getBoundingClientRect(),i=void 0;return i=[window,document,document.documentElement,null,void 0].includes(e)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:e.getBoundingClientRect(),n.top<i.bottom&&n.bottom>i.top&&n.right>i.left&&n.left<i.right}},1615:function(t,e){"use strict";e.__esModule=!0,e.default=function(t){for(var e=1,n=arguments.length;e<n;e++){var i=arguments[e]||{};for(var r in i)if(i.hasOwnProperty(r)){var o=i[r];void 0!==o&&(t[r]=o)}}return t}},8335:function(t,e,n){"use strict";var i,r;"function"==typeof Symbol&&Symbol.iterator;i=function(){var t=window,e={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(t,n,i){this._reference=t.jquery?t[0]:t,this.state={};var r=null==n,o=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=r||o?this.parse(o?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},e,i),this._options.modifiers=this._options.modifiers.map(function(t){if(-1===this._options.modifiersIgnored.indexOf(t))return"applyStyle"===t&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[t]||t}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),c(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(e){var n=e.style.display,i=e.style.visibility;e.style.display="block",e.style.visibility="hidden",e.offsetWidth;var r=t.getComputedStyle(e),o=parseFloat(r.marginTop)+parseFloat(r.marginBottom),a=parseFloat(r.marginLeft)+parseFloat(r.marginRight),s={width:e.offsetWidth+a,height:e.offsetHeight+o};return e.style.display=n,e.style.visibility=i,s}function r(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function o(t){var e=Object.assign({},t);return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function a(t,e){var n,i=0;for(n in t){if(t[n]===e)return i;i++}return null}function s(e,n){return t.getComputedStyle(e,null)[n]}function l(e){var n=e.offsetParent;return n!==t.document.body&&n?n:t.document.documentElement}function u(e){var n=e.parentNode;return n?n===t.document?t.document.body.scrollTop||t.document.body.scrollLeft?t.document.body:t.document.documentElement:-1!==["scroll","auto"].indexOf(s(n,"overflow"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(s(n,"overflow-y"))?n:u(e.parentNode):e}function h(e){return e!==t.document.body&&("fixed"===s(e,"position")||(e.parentNode?h(e.parentNode):e))}function c(t,e){function n(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}Object.keys(e).forEach((function(i){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&n(e[i])&&(r="px"),t.style[i]=e[i]+r}))}function p(t){return t&&"[object Function]"==={}.toString.call(t)}function f(t){var e={width:t.offsetWidth,height:t.offsetHeight,left:t.offsetLeft,top:t.offsetTop};return e.right=e.left+e.width,e.bottom=e.top+e.height,e}function d(t){var e=t.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE")&&"HTML"===t.tagName?-t.scrollTop:e.top;return{left:e.left,top:n,right:e.right,bottom:e.bottom,width:e.right-e.left,height:e.bottom-n}}function g(t,e,n){var i=d(t),r=d(e);if(n){var o=u(e);r.top+=o.scrollTop,r.bottom+=o.scrollTop,r.left+=o.scrollLeft,r.right+=o.scrollLeft}return{top:i.top-r.top,left:i.left-r.left,bottom:i.top-r.top+i.height,right:i.left-r.left+i.width,width:i.width,height:i.height}}function m(e){for(var n=["","ms","webkit","moz","o"],i=0;i<n.length;i++){var r=n[i]?n[i]+e.charAt(0).toUpperCase()+e.slice(1):e;if(void 0!==t.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 t={instance:this,styles:{}};t.placement=this._options.placement,t._originalPlacement=this._options.placement,t.offsets=this._getOffsets(this._popper,this._reference,t.placement),t.boundaries=this._getBoundaries(t,this._options.boundariesPadding,this._options.boundariesElement),t=this.runModifiers(t,this._options.modifiers),"function"==typeof this.state.updateCallback&&this.state.updateCallback(t)},n.prototype.onCreate=function(t){return t(this),this},n.prototype.onUpdate=function(t){return this.state.updateCallback=t,this},n.prototype.parse=function(e){var n={tagName:"div",classNames:["popper"],attributes:[],parent:t.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};e=Object.assign({},n,e);var i=t.document,r=i.createElement(e.tagName);if(s(r,e.classNames),l(r,e.attributes),"node"===e.contentType?r.appendChild(e.content.jquery?e.content[0]:e.content):"html"===e.contentType?r.innerHTML=e.content:r.textContent=e.content,e.arrowTagName){var o=i.createElement(e.arrowTagName);s(o,e.arrowClassNames),l(o,e.arrowAttributes),r.appendChild(o)}var a=e.parent.jquery?e.parent[0]:e.parent;if("string"==typeof a){if((a=i.querySelectorAll(e.parent)).length,0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element==0&&(a=a[0]),a.appendChild(r),r;function s(t,e){e.forEach((function(e){t.classList.add(e)}))}function l(t,e){e.forEach((function(e){t.setAttribute(e.split(":")[0],e.split(":")[1]||"")}))}},n.prototype._getPosition=function(t,e){var n=l(e);return this._options.forceAbsolute?"absolute":h(e,n)?"fixed":"absolute"},n.prototype._getOffsets=function(t,e,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=g(e,l(t),o),s=i(t);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),t.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var e=u(this._reference);e!==t.document.body&&e!==t.document.documentElement||(e=t),e.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=e}},n.prototype._removeEventListeners=function(){t.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(e,n,i){var r,o={};if("window"===i){var a=t.document.body,s=t.document.documentElement;r=Math.max(a.scrollHeight,a.offsetHeight,s.clientHeight,s.scrollHeight,s.offsetHeight),o={top:0,right:Math.max(a.scrollWidth,a.offsetWidth,s.clientWidth,s.scrollWidth,s.offsetWidth),bottom:r,left:0}}else if("viewport"===i){var h=l(this._popper),c=u(this._popper),p=f(h),d=function(t){return t==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):t.scrollTop},g=function(t){return t==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):t.scrollLeft},m="fixed"===e.offsets.popper.position?0:d(c),v="fixed"===e.offsets.popper.position?0:g(c);o={top:0-(p.top-m),right:t.document.documentElement.clientWidth-(p.left-v),bottom:t.document.documentElement.clientHeight-(p.top-m),left:0-(p.left-v)}}else o=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:f(i);return o.left+=n,o.right-=n,o.top=o.top+n,o.bottom=o.bottom-n,o},n.prototype.runModifiers=function(t,e,n){var i=e.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(e){p(e)&&(t=e.call(this,t))}.bind(this)),t},n.prototype.isModifierRequired=function(t,e){var n=a(this._options.modifiers,t);return!!this._options.modifiers.slice(0,n).filter((function(t){return t===e})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(t){var e,n={position:t.offsets.popper.position},i=Math.round(t.offsets.popper.left),r=Math.round(t.offsets.popper.top);return this._options.gpuAcceleration&&(e=m("transform"))?(n[e]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,t.styles),c(this._popper,n),this._popper.setAttribute("x-placement",t.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&t.offsets.arrow&&c(t.arrowElement,t.offsets.arrow),t},n.prototype.modifiers.shift=function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var r=t.offsets.reference,a=o(t.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";t.offsets.popper=Object.assign(a,s[l][i])}return t},n.prototype.modifiers.preventOverflow=function(t){var e=this._options.preventOverflowOrder,n=o(t.offsets.popper),i={left:function(){var e=n.left;return n.left<t.boundaries.left&&(e=Math.max(n.left,t.boundaries.left)),{left:e}},right:function(){var e=n.left;return n.right>t.boundaries.right&&(e=Math.min(n.left,t.boundaries.right-n.width)),{left:e}},top:function(){var e=n.top;return n.top<t.boundaries.top&&(e=Math.max(n.top,t.boundaries.top)),{top:e}},bottom:function(){var e=n.top;return n.bottom>t.boundaries.bottom&&(e=Math.min(n.top,t.boundaries.bottom-n.height)),{top:e}}};return e.forEach((function(e){t.offsets.popper=Object.assign(n,i[e]())})),t},n.prototype.modifiers.keepTogether=function(t){var e=o(t.offsets.popper),n=t.offsets.reference,i=Math.floor;return e.right<i(n.left)&&(t.offsets.popper.left=i(n.left)-e.width),e.left>i(n.right)&&(t.offsets.popper.left=i(n.right)),e.bottom<i(n.top)&&(t.offsets.popper.top=i(n.top)-e.height),e.top>i(n.bottom)&&(t.offsets.popper.top=i(n.bottom)),t},n.prototype.modifiers.flip=function(t){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return t;if(t.flipped&&t.placement===t._originalPlacement)return t;var e=t.placement.split("-")[0],n=r(e),i=t.placement.split("-")[1]||"",a=[];return(a="flip"===this._options.flipBehavior?[e,n]:this._options.flipBehavior).forEach(function(s,l){if(e===s&&a.length!==l+1){e=t.placement.split("-")[0],n=r(e);var u=o(t.offsets.popper),h=-1!==["right","bottom"].indexOf(e);(h&&Math.floor(t.offsets.reference[e])>Math.floor(u[n])||!h&&Math.floor(t.offsets.reference[e])<Math.floor(u[n]))&&(t.flipped=!0,t.placement=a[l+1],i&&(t.placement+="-"+i),t.offsets.popper=this._getOffsets(this._popper,this._reference,t.placement).popper,t=this.runModifiers(t,this._options.modifiers,this._flip))}}.bind(this)),t},n.prototype.modifiers.offset=function(t){var e=this._options.offset,n=t.offsets.popper;return-1!==t.placement.indexOf("left")?n.top-=e:-1!==t.placement.indexOf("right")?n.top+=e:-1!==t.placement.indexOf("top")?n.left-=e:-1!==t.placement.indexOf("bottom")&&(n.left+=e),t},n.prototype.modifiers.arrow=function(t){var e=this._options.arrowElement,n=this._options.arrowOffset;if("string"==typeof e&&(e=this._popper.querySelector(e)),!e)return t;if(!this._popper.contains(e))return t;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return t;var r={},a=t.placement.split("-")[0],s=o(t.offsets.popper),l=t.offsets.reference,u=-1!==["left","right"].indexOf(a),h=u?"height":"width",c=u?"top":"left",p=u?"left":"top",f=u?"bottom":"right",d=i(e)[h];l[f]-d<s[c]&&(t.offsets.popper[c]-=s[c]-(l[f]-d)),l[c]+d>s[f]&&(t.offsets.popper[c]+=l[c]+d-s[f]);var g=l[c]+(n||l[h]/2-d/2)-s[c];return g=Math.max(Math.min(s[h]-d-8,g),8),r[c]=g,r[p]="",t.offsets.arrow=r,t.arrowElement=e,t},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(null==t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(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&&(e[s]=i[s])}}}return e}}),n},void 0===(r="function"==typeof i?i.call(e,n,e,t):i)||(t.exports=r)},2680:function(t,e,n){"use strict";e.__esModule=!0,e.PopupManager=void 0;var i=l(n(144)),r=l(n(1615)),o=l(n(7562)),a=l(n(1301)),s=n(4594);function l(t){return t&&t.__esModule?t:{default:t}}var u=1,h=void 0;e.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-"+u++,o.default.register(this._popupId,this)},beforeDestroy:function(){o.default.deregister(this._popupId),o.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(t){var e=this;if(t){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,i.default.nextTick((function(){e.open()})))}else this.close()}},methods:{open:function(t){var e=this;this.rendered||(this.rendered=!0);var n=(0,r.default)({},this.$props||this,t);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var i=Number(n.openDelay);i>0?this._openTimer=setTimeout((function(){e._openTimer=null,e.doOpen(n)}),i):this.doOpen(n)},doOpen:function(t){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var e=this.$el,n=t.modal,i=t.zIndex;if(i&&(o.default.zIndex=i),n&&(this._closing&&(o.default.closeModal(this._popupId),this._closing=!1),o.default.openModal(this._popupId,o.default.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!(0,s.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,s.getStyle)(document.body,"paddingRight"),10)),h=(0,a.default)();var r=document.documentElement.clientHeight<document.body.scrollHeight,l=(0,s.getStyle)(document.body,"overflowY");h>0&&(r||"scroll"===l)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+h+"px"),(0,s.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=o.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var t=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var e=Number(this.closeDelay);e>0?this._closeTimer=setTimeout((function(){t._closeTimer=null,t.doClose()}),e):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){o.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,s.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},e.PopupManager=o.default},7562:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(144),o=(i=r)&&i.__esModule?i:{default:i},a=n(4594);var s=!1,l=!1,u=void 0,h=function(){if(!o.default.prototype.$isServer){var t=p.modalDom;return t?s=!0:(s=!1,t=document.createElement("div"),p.modalDom=t,t.addEventListener("touchmove",(function(t){t.preventDefault(),t.stopPropagation()})),t.addEventListener("click",(function(){p.doOnModalClick&&p.doOnModalClick()}))),t}},c={},p={modalFade:!0,getInstance:function(t){return c[t]},register:function(t,e){t&&e&&(c[t]=e)},deregister:function(t){t&&(c[t]=null,delete c[t])},nextZIndex:function(){return p.zIndex++},modalStack:[],doOnModalClick:function(){var t=p.modalStack[p.modalStack.length-1];if(t){var e=p.getInstance(t.id);e&&e.closeOnClickModal&&e.close()}},openModal:function(t,e,n,i,r){if(!o.default.prototype.$isServer&&t&&void 0!==e){this.modalFade=r;for(var l=this.modalStack,u=0,c=l.length;u<c;u++){if(l[u].id===t)return}var p=h();if((0,a.addClass)(p,"v-modal"),this.modalFade&&!s&&(0,a.addClass)(p,"v-modal-enter"),i)i.trim().split(/\s+/).forEach((function(t){return(0,a.addClass)(p,t)}));setTimeout((function(){(0,a.removeClass)(p,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(p):document.body.appendChild(p),e&&(p.style.zIndex=e),p.tabIndex=0,p.style.display="",this.modalStack.push({id:t,zIndex:e,modalClass:i})}},closeModal:function(t){var e=this.modalStack,n=h();if(e.length>0){var i=e[e.length-1];if(i.id===t){if(i.modalClass)i.modalClass.trim().split(/\s+/).forEach((function(t){return(0,a.removeClass)(n,t)}));e.pop(),e.length>0&&(n.style.zIndex=e[e.length-1].zIndex)}else for(var r=e.length-1;r>=0;r--)if(e[r].id===t){e.splice(r,1);break}}0===e.length&&(this.modalFade&&(0,a.addClass)(n,"v-modal-leave"),setTimeout((function(){0===e.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",p.modalDom=void 0),(0,a.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(p,"zIndex",{configurable:!0,get:function(){return l||(u=u||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(t){u=t}});o.default.prototype.$isServer||window.addEventListener("keydown",(function(t){if(27===t.keyCode){var e=function(){if(!o.default.prototype.$isServer&&p.modalStack.length>0){var t=p.modalStack[p.modalStack.length-1];if(!t)return;return p.getInstance(t.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),e.default=p},1301:function(t,e,n){"use strict";e.__esModule=!0,e.default=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==a)return a;var t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);var e=t.offsetWidth;t.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",t.appendChild(n);var i=n.offsetWidth;return t.parentNode.removeChild(t),a=e-i};var i,r=n(144),o=(i=r)&&i.__esModule?i:{default:i};var a=void 0},5389:function(t,e,n){"use strict";e.__esModule=!0,e.isDefined=e.isUndefined=e.isFunction=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isString=function(t){return"[object String]"===Object.prototype.toString.call(t)},e.isObject=function(t){return"[object Object]"===Object.prototype.toString.call(t)},e.isHtmlElement=function(t){return t&&t.nodeType===Node.ELEMENT_NODE};var r,o=n(144),a=(r=o)&&r.__esModule?r:{default:r};var s=function(t){return t&&"[object Function]"==={}.toString.call(t)};"object"===("undefined"==typeof Int8Array?"undefined":i(Int8Array))||!a.default.prototype.$isServer&&"function"==typeof document.childNodes||(e.isFunction=s=function(t){return"function"==typeof t||!1}),e.isFunction=s;e.isUndefined=function(t){return void 0===t},e.isDefined=function(t){return null!=t}},3104:function(t,e,n){"use strict";e.__esModule=!0,e.isMac=e.isEmpty=e.isEqual=e.arrayEquals=e.looseEqual=e.capitalize=e.kebabCase=e.autoprefixer=e.isFirefox=e.isEdge=e.isIE=e.coerceTruthyValueToArray=e.arrayFind=e.arrayFindIndex=e.escapeRegexpString=e.valueEquals=e.generateId=e.getValueByPath=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.noop=function(){},e.hasOwn=function(t,e){return l.call(t,e)},e.toObject=function(t){for(var e={},n=0;n<t.length;n++)t[n]&&u(e,t[n]);return e},e.getPropByPath=function(t,e,n){for(var i=t,r=(e=(e=e.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),o=0,a=r.length;o<a-1&&(i||n);++o){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}},e.rafThrottle=function(t){var e=!1;return function(){for(var n=this,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];e||(e=!0,window.requestAnimationFrame((function(i){t.apply(n,r),e=!1})))}},e.objToArray=function(t){if(Array.isArray(t))return t;return f(t)?[]:[t]};var r,o=n(144),a=(r=o)&&r.__esModule?r:{default:r},s=n(5389);var l=Object.prototype.hasOwnProperty;function u(t,e){for(var n in e)t[n]=e[n];return t}e.getValueByPath=function(t,e){for(var n=(e=e||"").split("."),i=t,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};e.generateId=function(){return Math.floor(1e4*Math.random())},e.valueEquals=function(t,e){if(t===e)return!0;if(!(t instanceof Array))return!1;if(!(e instanceof Array))return!1;if(t.length!==e.length)return!1;for(var n=0;n!==t.length;++n)if(t[n]!==e[n])return!1;return!0},e.escapeRegexpString=function(){return String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var h=e.arrayFindIndex=function(t,e){for(var n=0;n!==t.length;++n)if(e(t[n]))return n;return-1},c=(e.arrayFind=function(t,e){var n=h(t,e);return-1!==n?t[n]:void 0},e.coerceTruthyValueToArray=function(t){return Array.isArray(t)?t:t?[t]:[]},e.isIE=function(){return!a.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},e.isEdge=function(){return!a.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},e.isFirefox=function(){return!a.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},e.autoprefixer=function(t){if("object"!==(void 0===t?"undefined":i(t)))return t;var e=["ms-","webkit-"];return["transform","transition","animation"].forEach((function(n){var i=t[n];n&&i&&e.forEach((function(e){t[e+n]=i}))})),t},e.kebabCase=function(t){var e=/([^-])([A-Z])/g;return t.replace(e,"$1-$2").replace(e,"$1-$2").toLowerCase()},e.capitalize=function(t){return(0,s.isString)(t)?t.charAt(0).toUpperCase()+t.slice(1):t},e.looseEqual=function(t,e){var n=(0,s.isObject)(t),i=(0,s.isObject)(e);return n&&i?JSON.stringify(t)===JSON.stringify(e):!n&&!i&&String(t)===String(e)}),p=e.arrayEquals=function(t,e){if(e=e||[],(t=t||[]).length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!c(t[n],e[n]))return!1;return!0},f=(e.isEqual=function(t,e){return Array.isArray(t)&&Array.isArray(e)?p(t,e):c(t,e)},e.isEmpty=function(t){if(null==t)return!0;if("boolean"==typeof t)return!1;if("number"==typeof t)return!t;if(t instanceof Error)return""===t.message;switch(Object.prototype.toString.call(t)){case"[object String]":case"[object Array]":return!t.length;case"[object File]":case"[object Map]":case"[object Set]":return!t.size;case"[object Object]":return!Object.keys(t).length}return!1});e.isMac=function(){return!a.default.prototype.$isServer&&/macintosh|mac os x/i.test(navigator.userAgent)}},4823:function(t,e,n){"use strict";e.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.isVNode=function(t){return null!==t&&"object"===(void 0===t?"undefined":i(t))&&(0,r.hasOwn)(t,"componentOptions")};var r=n(3104)},499:function(t,e,n){"use strict";e.__esModule=!0;var i,r=n(144),o=(i=r)&&i.__esModule?i:{default:i},a=n(2680);var s=o.default.prototype.$isServer?function(){}:n(8335),l=function(t){return t.stopPropagation()};e.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(t){this.showPopper=t,this.$emit("input",t)}},showPopper:function(t){this.disabled||(t?this.updatePopper():this.destroyPopper(),this.$emit("input",t))}},methods:{createPopper:function(){var t=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var e=this.popperOptions,n=this.popperElm=this.popperElm||this.popper||this.$refs.popper,i=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!i&&this.$slots.reference&&this.$slots.reference[0]&&(i=this.referenceElm=this.$slots.reference[0].elm),n&&i&&(this.visibleArrow&&this.appendArrow(n),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),e.placement=this.currentPlacement,e.offset=this.offset,e.arrowOffset=this.arrowOffset,this.popperJS=new s(i,n,e),this.popperJS.onCreate((function(e){t.$emit("created",t),t.resetTransformOrigin(),t.$nextTick(t.updatePopper)})),"function"==typeof e.onUpdate&&this.popperJS.onUpdate(e.onUpdate),this.popperJS._popper.style.zIndex=a.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",l))}},updatePopper:function(){var t=this.popperJS;
vendor: 4,233 bytes, line 1
1t?(t.update(),t._popper&&(t._popper.style.zIndex=a.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(t){!this.popperJS||this.showPopper&&!t||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],e={top:"bottom",bottom:"top",left:"right",right:"left"}[t];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+e:e+" center"}},appendArrow:function(t){var e=void 0;if(!this.appended){for(var n in this.appended=!0,t.attributes)if(/^_v-/.test(t.attributes[n].name)){e=t.attributes[n].name;break}var i=document.createElement("div");e&&i.setAttribute(e,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",t.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},1530:function(t,e){var n;!function(i){var r,o,a="0.5.4",s="hasOwnProperty",l=/[\.\/]/,u=/\s*,\s*/,h=function(t,e){return t-e},c={n:{}},p=function(){for(var t=0,e=this.length;t<e;t++)if(void 0!==this[t])return this[t]},f=function(){for(var t=this.length;--t;)if(void 0!==this[t])return this[t]},d=Object.prototype.toString,g=String,m=Array.isArray||function(t){return t instanceof Array||"[object Array]"==d.call(t)},v=function(t,e){var n,i=o,a=Array.prototype.slice.call(arguments,2),s=v.listeners(t),l=0,u=[],c={},d=[],g=r;d.firstDefined=p,d.lastDefined=f,r=t,o=0;for(var m=0,y=s.length;m<y;m++)"zIndex"in s[m]&&(u.push(s[m].zIndex),s[m].zIndex<0&&(c[s[m].zIndex]=s[m]));for(u.sort(h);u[l]<0;)if(n=c[u[l++]],d.push(n.apply(e,a)),o)return o=i,d;for(m=0;m<y;m++)if("zIndex"in(n=s[m]))if(n.zIndex==u[l]){if(d.push(n.apply(e,a)),o)break;do{if((n=c[u[++l]])&&d.push(n.apply(e,a)),o)break}while(n)}else c[n.zIndex]=n;else if(d.push(n.apply(e,a)),o)break;return o=i,r=g,d};v._events=c,v.listeners=function(t){var e,n,i,r,o,a,s,u,h=m(t)?t:t.split(l),p=c,f=[p],d=[];for(r=0,o=h.length;r<o;r++){for(u=[],a=0,s=f.length;a<s;a++)for(n=[(p=f[a].n)[h[r]],p["*"]],i=2;i--;)(e=n[i])&&(u.push(e),d=d.concat(e.f||[]));f=u}return d},v.separator=function(t){t?(t="["+(t=g(t).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",l=new RegExp(t)):l=/[\.\/]/},v.on=function(t,e){if("function"!=typeof e)return function(){};for(var n=m(t)?m(t[0])?t:[t]:g(t).split(u),i=0,r=n.length;i<r;i++)!function(t){for(var n,i=m(t)?t:g(t).split(l),r=c,o=0,a=i.length;o<a;o++)r=(r=r.n).hasOwnProperty(i[o])&&r[i[o]]||(r[i[o]]={n:{}});for(r.f=r.f||[],o=0,a=r.f.length;o<a;o++)if(r.f[o]==e){n=!0;break}!n&&r.f.push(e)}(n[i]);return function(t){+t==+t&&(e.zIndex=+t)}},v.f=function(t){var e=[].slice.call(arguments,1);return function(){v.apply(null,[t,null].concat(e).concat([].slice.call(arguments,0)))}},v.stop=function(){o=1},v.nt=function(t){var e=m(r)?r.join("."):r;return t?new RegExp("(?:\\.|\\/|^)"+t+"(?:\\.|\\/|$)").test(e):e},v.nts=function(){return m(r)?r:r.split(l)},v.off=v.unbind=function(t,e){if(t){var n=m(t)?m(t[0])?t:[t]:g(t).split(u);if(n.length>1)for(var i=0,r=n.length;i<r;i++)v.off(n[i],e);else{n=m(t)?t:g(t).split(l);var o,a,h,p,f,d=[c],y=[];for(i=0,r=n.length;i<r;i++)for(p=0;p<d.length;p+=h.length-2){if(h=[p,1],o=d[p].n,"*"!=n[i])o[n[i]]&&(h.push(o[n[i]]),y.unshift({n:o,name:n[i]}));else for(a in o)o[s](a)&&(h.push(o[a]),y.unshift({n:o,name:a}));d.splice.apply(d,h)}for(i=0,r=d.length;i<r;i++)for(o=d[i];o.n;){if(e){if(o.f){for(p=0,f=o.f.length;p<f;p++)if(o.f[p]==e){o.f.splice(p,1);break}!o.f.length&&delete o.f}for(a in o.n)if(o.n[s](a)&&o.n[a].f){var _=o.n[a].f;for(p=0,f=_.length;p<f;p++)if(_[p]==e){_.splice(p,1);break}!_.length&&delete o.n[a].f}}else for(a in delete o.f,o.n)o.n[s](a)&&o.n[a].f&&delete o.n[a].f;o=o.n}t:for(i=0,r=y.length;i<r;i++){for(a in(o=y[i]).n[o.name].f)continue t;for(a in o.n[o.name].n)continue t;delete o.n[o.name]}}}else v._events=c={n:{}}},v.once=function(t,e){var n=function(){return v.off(t,n),e.apply(this,arguments)};return v.on(t,n)}
1,v.version=a,v.toString=function(){return"You are running Eve "+a},i.eve=v,t.exports?t.exports=v:void 0===(n=function(){return v}.apply(e,[]))||(t.exports=n)}("undefined"!=typeof window?window:this)},8598:function(t,e,n){var i,r=r||function(t){"use strict";if(!(void 0===t||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var e=t.document,n=function(){return t.URL||t.webkitURL||t},i=e.createElementNS("http://www.w3.org/1999/xhtml","a"),r="download"in i,o=/constructor/i.test(t.HTMLElement)||t.safari,a=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(e){(t.setImmediate||t.setTimeout)((function(){throw e}),0)},l=function(t){setTimeout((function(){"string"==typeof t?n().revokeObjectURL(t):t.remove()}),4e4)},u=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t},h=function(e,h,c){c||(e=u(e));var p,f=this,d="application/octet-stream"===e.type,g=function(){!function(t,e,n){for(var i=(e=[].concat(e)).length;i--;){var r=t["on"+e[i]];if("function"==typeof r)try{r.call(t,n||t)}catch(t){s(t)}}}(f,"writestart progress write writeend".split(" "))};if(f.readyState=f.INIT,r)return p=n().createObjectURL(e),void setTimeout((function(){var t,e;i.href=p,i.download=h,t=i,e=new MouseEvent("click"),t.dispatchEvent(e),g(),l(p),f.readyState=f.DONE}));!function(){if((a||d&&o)&&t.FileReader){var i=new FileReader;return i.onloadend=function(){var e=a?i.result:i.result.replace(/^data:[^;]*;/,"data:attachment/file;");t.open(e,"_blank")||(t.location.href=e),e=void 0,f.readyState=f.DONE,g()},i.readAsDataURL(e),void(f.readyState=f.INIT)}(p||(p=n().createObjectURL(e)),d)?t.location.href=p:t.open(p,"_blank")||(t.location.href=p);f.readyState=f.DONE,g(),l(p)}()},c=h.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return e=e||t.name||"download",n||(t=u(t)),navigator.msSaveOrOpenBlob(t,e)}:(c.abort=function(){},c.readyState=c.INIT=0,c.WRITING=1,c.DONE=2,c.error=c.onwritestart=c.onprogress=c.onwrite=c.onabort=c.onerror=c.onwriteend=null,function(t,e,n){return new h(t,e||t.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);t.exports?t.exports.saveAs=r:null!==n.amdD&&null!==n.amdO&&(void 0===(i=function(){return r}.call(e,n,e,t))||(t.exports=i))},5947:function(t,e,n){"use strict";n.d(e,{C:function(){return i}});var i=n(5957).ML._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}})},5033:function(t,e,n){"use strict";n.d(e,{Z:function(){return m}});var i=n(5957),r=180/Math.PI,o=[],a=[],s=[],l={},u=i.ML._gsDefine.globals,h=function(t,e,n,i){n===i&&(n=i-(i-e)/1e6),t===e&&(e=t+(n-t)/1e6),this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t},c=function(t,e,n,i){var r={a:t},o={},a={},s={c:i},l=(t+e)/2,u=(e+n)/2,h=(n+i)/2,c=(l+u)/2,p=(u+h)/2,f=(p-c)/8;return r.b=l+(t-l)/4,o.b=c+f,r.c=o.a=(r.b+o.b)/2,o.c=a.a=(c+p)/2,a.b=p-f,s.b=h+(i-h)/4,a.c=s.a=(a.b+s.b)/2,[r,o,a,s]},p=function(t,e,n,i,r){var l,u,h,p,f,d,g,m,v,y,_,x,b,w=t.length-1,S=0,M=t[0].a;for(l=0;l<w;l++)u=(f=t[S]).a,h=f.d,p=t[S+1].d,r?(_=o[l],b=((x=a[l])+_)*e*.25/(i?.5:s[l]||.5),m=h-((d=h-(h-u)*(i?.5*e:0!==_?b/_:0))+(((g=h+(p-h)*(i?.5*e:0!==x?b/x:0))-d)*(3*_/(_+x)+.5)/4||0))):m=h-((d=h-(h-u)*e*.5)+(g=h+(p-h)*e*.5))/2,d+=m,g+=m,f.c=v=d,f.b=0!==l?M:M=f.a+.6*(f.c-f.a),f.da=h-u,f.ca=v-u,f.ba=M-u,n?(y=c(u,M,v,h),t.splice(S,1,y[0],y[1],y[2],y[3]),S+=4):S++,M=g;(f=t[S]).b=M,f.c=M+.4*(f.d-M),f.da=f.d-f.a,f.ca=f.c-f.a,f.ba=M-f.a,n&&(y=c(f.a,M,f.c,f.d),t.splice(S,1,y[0],y[1],y[2],y[3]))},f=function(t,e,n,i){var r,s,l,u,c,p,f=[];if(i)for(s=(t=[i].concat(t)).length;--s>-1;)"string"==typeof(p=t[s][e])&&"="===p.charAt(1)&&(t[s][e]=i[e]+Number(p.charAt(0)+p.substr(2)));if((r=t.length-2)<0)return f[0]=new h(t[0][e],0,0,t[0][e]),f;for(s=0;s<r;s++)l=t[s][e],u=t[s+1][e],f[s]=new h(l,0,0,u),n&&(c=t[s+2][e],o[s]=(o[s]||0)+(u-l)*(u-l),a[s]=(a[s]||0)+(c-u)*(c-u));return f[s]=new h(t[s][e],0,0,t[s+1][e]),f},d=function(t,e,n,i,r,u){var h,c,d,g,m,v,y,_,x={},b=[],w=u||t[0];for(c in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])b.push(c);if(t.length>1){for(_=t[t.length-1],y=!0,h=b.length;--h>-1;)if(c=b[h],Math.abs(w[c]-_[c])>.05){y=!1;break}
vendor: 9,320 bytes, line 1
1y&&(t=t.concat(),u&&t.unshift(u),t.push(t[1]),u=t[t.length-3])}for(o.length=a.length=s.length=0,h=b.length;--h>-1;)c=b[h],l[c]=-1!==r.indexOf(","+c+","),x[c]=f(t,c,l[c],u);for(h=o.length;--h>-1;)o[h]=Math.sqrt(o[h]),a[h]=Math.sqrt(a[h]);if(!i){for(h=b.length;--h>-1;)if(l[c])for(v=(d=x[b[h]]).length-1,g=0;g<v;g++)m=d[g+1].da/a[g]+d[g].da/o[g]||0,s[g]=(s[g]||0)+m*m;for(h=s.length;--h>-1;)s[h]=Math.sqrt(s[h])}for(h=b.length,g=n?4:1;--h>-1;)d=x[c=b[h]],p(d,e,n,i,l[c]),y&&(d.splice(0,g),d.splice(d.length-g,g));return x},g=function(t,e,n){for(var i,r,o,a,s,l,u,h,c,p,f,d=1/n,g=t.length;--g>-1;)for(o=(p=t[g]).a,a=p.d-o,s=p.c-o,l=p.b-o,i=r=0,h=1;h<=n;h++)i=r-(r=((u=d*h)*u*a+3*(c=1-u)*(u*s+c*l))*u),e[f=g*n+h-1]=(e[f]||0)+i*i},m=i.ML._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,n){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var i,r,o,a,s,l=e.values||[],u={},c=l[0],p=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null,c)this._props.push(i);for(o=this._props.length;--o>-1;)i=this._props[o],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],u[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),s||u[i]!==l[0][i]&&(s=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?d(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,s):function(t,e,n){var i,r,o,a,s,l,u,c,p,f,d,g={},m="cubic"===(e=e||"soft")?3:2,v="soft"===e,y=[];if(v&&n&&(t=[n].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(p in t[0])y.push(p);for(l=y.length;--l>-1;){for(g[p=y[l]]=s=[],f=0,c=t.length,u=0;u<c;u++)i=null==n?t[u][p]:"string"==typeof(d=t[u][p])&&"="===d.charAt(1)?n[p]+Number(d.charAt(0)+d.substr(2)):Number(d),v&&u>1&&u<c-1&&(s[f++]=(i+s[f-2])/2),s[f++]=i;for(c=f-m+1,f=0,u=0;u<c;u+=m)i=s[u],r=s[u+1],o=s[u+2],a=2===m?0:s[u+3],s[f++]=d=3===m?new h(i,r,o,a):new h(i,(2*r+i)/3,(2*r+o)/3,o);s.length=f}return g}(l,e.type,u),this._segCount=this._beziers[i].length,this._timeRes){var f=function(t,e){var n,i,r,o,a=[],s=[],l=0,u=0,h=(e=e>>0||6)-1,c=[],p=[];for(n in t)g(t[n],a,e);for(r=a.length,i=0;i<r;i++)l+=Math.sqrt(a[i]),p[o=i%e]=l,o===h&&(u+=l,c[o=i/e>>0]=p,s[o]=u,l=0,p=[]);return{length:u,lengths:s,segments:c}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),o=p.length;--o>-1;){for(a=0;a<3;a++)i=p[o][a],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=p[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,o,a,s,l,u,h,c,p=this._segCount,f=this._func,d=this._target,g=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,t*=this._length,i=this._li,t>this._l2&&i<p-1){for(u=p-1;i<u&&(this._l2=h[++i])<=t;);this._l1=h[i-1],this._li=i,this._curSeg=c=this._segments[i],this._s2=c[this._s1=this._si=0]}else if(t<this._l1&&i>0){for(;i>0&&(this._l1=h[--i])>=t;);0===i&&t<this._l1?this._l1=0:i++,this._l2=h[i],this._li=i,this._curSeg=c=this._segments[i],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(e=i,t-=this._l1,i=this._si,t>this._s2&&i<c.length-1){for(u=c.length-1;i<u&&(this._s2=c[++i])<=t;);this._s1=c[i-1],this._si=i}else if(t<this._s1&&i>0){for(;i>0&&(this._s1=c[--i])>=t;);0===i&&t<this._s1?this._s1=0:i++,this._s2=c[i],this._si=i}s=(i+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else s=(t-(e=t<0?0:t>=1?p-1:p*t>>0)*(1/p))*p;for(n=1-s,i=this._props.length;--i>-1;)o=this._props[i],l=(s*s*(a=this._beziers[o][e]).da+3*n*(s*a.ca+n*a.ba))*s+a.a,this._mod[o]&&(l=this._mod[o](l,d)),f[o]?d[o](l):d[o]=l;if(this._autoRotate){var m,v,y,_,x,b,w,S=this._autoRotate;for(i=S.length;--i>-1;)o=S[i][2],b=S[i][3]||0,w=!0===S[i][4]?1:r,a=this._beziers[S[i][0]],m=this._beziers[S[i][1]],a&&m&&(a=a[e],m=m[e],v=a.a+(a.b-a.a)*s,v+=((_=a.b+(a.c-a.b)*s)-v)*s,_+=(a.c+(a.d-a.c)*s-_)*s,y=m.a+(m.b-m.a)*s,y+=((x=m.b+(m.c-m.b)*s)-y)*s,x+=(m.c+(m.d-m.c)*s-x)*s,l=g?Math.atan2(x-y,_-v)*w+b:this._initialRotations[i],this._mod[o]&&(l=this._mod[o](l,d)),f[o]?d[o](l):d[o]=l)}}}),v=m.prototype;m.bezierThrough=d,m.cubicToQuadratic=c,m._autoCSS=!0,m.quadraticToCubic=function(t,e,n){return new h(t,(2*e+t)/3,(2*e+n)/3,n)},m._cssRegister=function(){var t=u.CSSPlugin;if(t){var e=t._internals,n=e._parseToProxy,i=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,a,s,l){e instanceof Array&&(e={values:e}),l=new m;var u,h,c,p=e.values,f=p.length-1,d=[],g={};if(f<0)return s;for(u=0;u<=f;u++)c=n(t,p[u],a,s,l,f!==u),d[u]=c.end;for(h in e)g[h]=e[h];return g.values=d,(s=new r(t,"bezier",0,0,c.pt,2)).data=c,s.plugin=l,s.setRatio=i,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(u=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=c.end.left?[["left","top","rotation",u,!1]]:null!=c.end.x&&[["x","y","rotation",u,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),c.autoRotate=a._target._gsTransform,c.proxy.rotation=c.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(c.proxy,g,a._tween),s}})}},v._mod=function(t){for(var e,n=this._overwriteProps,i=n.length;--i>-1;)(e=t[n[i]])&&"function"==typeof e&&(this._mod[n[i]]=e)},v._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;--n>-1;)i[n]===e&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)t[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,t)}},9975:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var i=n(5957);i.ML._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,n,r,o=function(){i.VN.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=i.ML._gsDefine.globals,s={},l=o.prototype=new i.VN("css");l.constructor=o,o.version="2.0.2",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,h,c,p,f,d,g,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,M=/alpha\(opacity *=.+?\)/i,T=/^(rgb|hsl)/,C=/([A-Z])/g,A=/-([a-z])/gi,I=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,D=function(t,e){return e.toUpperCase()},k=/(?:Left|Right|Width)/i,P=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,O=/,(?=[^\)]*(?:\(|$))/gi,E=/[\s,\(]/i,R=Math.PI/180,N=180/Math.PI,F={},B={style:{}},z=i.ML.document||{createElement:function(){return B}},V=function(t,e){return z.createElementNS?z.createElementNS(e||"http://www.w3.org/1999/xhtml",t):z.createElement(t)},j=V("div"),G=V("img"),H=o._internals={_specialProps:s},W=(i.ML.navigator||{}).userAgent||"",Z=function(){var t=W.indexOf("Android"),e=V("a");return c=-1!==W.indexOf("Safari")&&-1===W.indexOf("Chrome")&&(-1===t||parseFloat(W.substr(t+8,2))>3),f=c&&parseFloat(W.substr(W.indexOf("Version/")+8,2))<6,p=-1!==W.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(W)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(W))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),U=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},X=function(t){i.ML.console},$="",Y="",q=function(t,e){var n,i,r=(e=e||j).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?($="-"+(Y=3===i?"ms":n[i]).toLowerCase()+"-",Y+t):null},K=("undefined"!=typeof window?window:z.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=o.getStyle=function(t,e,n,i,r){var o;return Z||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||K(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):U(t)},Q=H.convertToPixels=function(t,e,n,r,a){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var s,l,u,h=k.test(e),c=t,p=j.style,f=n<0,d=1===n;if(f&&(n=-n),d&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=n/100*(h?t.clientWidth:t.clientHeight);else{if(p.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==r&&c.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)p[h?"borderLeftWidth":"borderTopWidth"]=n+r;
vendor: 10,161 bytes, line 1
1else{if(c=t.parentNode||z.body,-1!==J(c,"display").indexOf("flex")&&(p.position="absolute"),l=c._gsCache,u=i.ZP.ticker.frame,l&&h&&l.time===u)return l.width*n/100;p[h?"width":"height"]=n+r}c.appendChild(j),s=parseFloat(j[h?"offsetWidth":"offsetHeight"]),c.removeChild(j),h&&"%"===r&&!1!==o.cacheWidths&&((l=c._gsCache=c._gsCache||{}).time=u,l.width=s/n*100),0!==s||a||(s=Q(t,e,n,r,!0))}else l=K(t).lineHeight,t.style.lineHeight=n,s=parseFloat(K(t).lineHeight),t.style.lineHeight=l;return d&&(s/=100),f?-s:s},tt=H.calculateOffset=function(t,e,n){if("absolute"!==J(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=J(t,"margin"+i,n);return t["offset"+i]-(Q(t,e,parseFloat(r),r.replace(b,""))||0)},et=function(t,e){var n,i,r,o={};if(e=e||K(t,null))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&Lt!==r||(o[r.replace(A,D)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&Pt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(A,D)]=e[n]);return Z||(o.opacity=U(t)),i=Zt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Et&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,n,i,r){var o,a,s,l={},u=t.style;for(a in n)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(o=n[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[a]||""===e[a].replace(x,"")?o:0:tt(t,a),void 0!==u[a]&&(s=new vt(u,a,u[a],s))));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:s}},it={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||K(t))[e]||0;if(t.getCTM&&Gt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=it[e],o=r.length;for(n=n||K(t,null);--o>-1;)i-=parseFloat(J(t,"padding"+r[o],n,!0))||0,i-=parseFloat(J(t,"border"+r[o]+"Width",n,!0))||0;return i},at=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n<i.length;n++)t.push(at(i[n]));return t.join(",")}return null==o?o="center"===r?"50%":"0":"center"===o&&(o="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+o+(i.length>2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(x,"")),e.oy=parseFloat(o.replace(x,"")),e.v=t),e||t},st=function(t,e){return"function"==typeof t&&(t=t(m,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){"function"==typeof t&&(t=t(m,g));var n="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(n?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(n?t.substr(2):t)/100)),null==t?e:n?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,n,i){var r,o,a,s,l,u=1e-6;return"function"==typeof t&&(t=t(m,g)),null==t?s=e:"number"==typeof t?s=t:(r=360,o=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:N)-(l?0:e),o.length&&(i&&(i[n]=e+a),-1!==t.indexOf("short")&&(a%=r)!==a%180&&(a=a<0?a+r:a-r),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%r-(a/r|0)*r:-1!==t.indexOf("ccw")&&a>0&&(a=(a-3599999999640)%r-(a/r|0)*r)),s=e+a),s<u&&s>-u&&(s=0),s},ht={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ct=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},pt=o.parseColor=function(t,e){var n,i,r,o,a,s,l,u,h,c,p;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ht[t])n=ht[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),r=t.charAt(2),o=t.charAt(3),t="#"+i+i+r+r+o+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=p=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else a=Number(n[0])%360/360,s=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(s+1):l+s-l*s),n.length>3&&(n[3]=Number(n[3])),n[0]=ct(a+1/3,i,r),n[1]=ct(a,i,r),n[2]=ct(a-1/3,i,r);else n=t.match(v)||ht.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ht.black;return e&&!p&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((u=Math.max(i,r,o))+(h=Math.min(i,r,o)))/2,u===h?a=s=0:(c=u-h,s=l>.5?c/(2-u-h):c/(u+h),a=u===i?(r-o)/c+(r<o?6:0):u===r?(o-i)/c+2:(i-r)/c+4,a*=60),n[0]=a+.5|0,n[1]=100*s+.5|0,n[2]=100*l+.5|0),n},ft=function(t,e){var n,i,r,o=t.match(dt)||[],a=0,s="";if(!o.length)return t;for(n=0;n<o.length;n++)i=o[n],a+=(r=t.substr(a,t.indexOf(i,a)-a)).length+i.length,3===(i=pt(i,e)).length&&i.push(1),s+=r+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return s+t.substr(a)},dt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(l in ht)dt+="|"+l+"\\b";dt=new RegExp(dt+")","gi"),o.colorStringFilter=function(t){var e,n=t[0]+" "+t[1];dt.test(n)&&(e=-1!==n.indexOf("hsl(")||-1!==n.indexOf("hsla("),t[0]=ft(t[0],e),t[1]=ft(t[1],e)),dt.lastIndex=0},i.ZP.defaultStringFilter||(i.ZP.defaultStringFilter=o.colorStringFilter);var gt=function(t,e,n,i){if(null==t)return function(t){return t};var r,o=e?(t.match(dt)||[""])[0]:"",a=t.split(o).join("").match(_)||[],s=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",h=a.length,c=h>0?a[0].replace(v,""):"";return h?e?(r=function(t){var e,p,f,d;if("number"==typeof t)t+=c;else if(i&&O.test(t)){for(d=t.replace(O,"|").split("|"),f=0;f<d.length;f++)d[f]=r(d[f]);return d.join(",")}if(e=(t.match(dt)||[o])[0],f=(p=t.split(e).join("").match(_)||[]).length,h>f--)for(;++f<h;)p[f]=n?p[(f-1)/2|0]:a[f];return s+p.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")},r):(r=function(t){var e,o,p;if("number"==typeof t)t+=c;else if(i&&O.test(t)){for(o=t.replace(O,"|").split("|"),p=0;p<o.length;p++)o[p]=r(o[p]);return o.join(",")}if(p=(e=t.match(_)||[]).length,h>p--)for(;++p<h;)e[p]=n?e[(p-1)/2|0]:a[p];return s+e.join(u)+l},r):function(t){return t}},mt=function(t){return t=t.split(","),function(e,n,i,r,o,a,s){var l,u=(n+"").split(" ");for(s={},l=0;l<4;l++)s[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return r.parse(e,s,o,a)}},vt=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,a=this.data,s=a.proxy,l=a.firstMPT,u=1e-6;l;)e=s[l.v],l.r?e=l.r(e):e<u&&e>-u&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===t||0===t)for(l=a.firstMPT,o=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n[o]=r}}else n[o]=n.s+n.xs0;l=l._next}},function(t,e,n,i,r){this.t=t,this.p=e,this.v=n,this.r=r,i&&(i._prev=this,this._next=i)}),yt=(H._parseToProxy=function(t,e,n,i,r,o){var a,s,l,u,h,c=i,p={},f={},d=n._transform,g=F;for(n._transform=null,F=e,i=h=n.parse(t,e,i,r),F=g,o&&(n._transform=d,c&&(c._prev=null,c._prev&&(c._prev._next=null)));i&&i!==c;){if(i.type<=1&&(f[s=i.p]=i.s+i.c,p[s]=i.s,o||(u=new vt(i,"s",s,u,i.r),i.c=0),1===i.type))for(a=i.l;--a>0;)l="xn"+a,f[s=i.p+"_"+l]=i.data[l],p[s]=i[l],o||(u=new vt(i,l,s,u,i.rxp[l]));i=i._next}return{proxy:p,end:f,firstMPT:u,pt:h}},H.CSSPropTween=function(e,n,i,o,a,s,l,u,h,c,p){this.t=e,this.p=n,this.s=i,this.c=o,this.n=l||n,e instanceof yt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=s||0,h&&(this.pr=h,t=!0),this.b=void 0===c?i:c,this.e=void 0===p?i+o:p,a&&(this._next=a,a._prev=this)}),_t=function(t,e,n,i,r,o){var a=new yt(t,e,n,i-n,r,-1,o);return a.b=n,a.e=a.xs0=i,a},xt=o.parseComplex=function(t,e,n,i,r,a,s,l,h,c){n=n||a||"","function"==typeof i&&(i=i(m,g)),s=new yt(t,e,0,0,s,c?2:1,null,!1,l,n,i),i+="",r&&dt.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var p,f,d,_,x,b,w,S,M,T,C,A,I,D=n.split(", ").join(",").split(" "),k=i.split(", ").join(",").split(" "),P=D.length,L=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(D=D.join(" ").replace(O,", ").split(" "),k=k.join(" ").replace(O,", ").split(" ")):(D=D.join(" ").split(",").join(", ").split(" "),k=k.join(" ").split(",").join(", ").split(" ")),P=D.length),P!==k.length&&(P=(D=(a||"").split(" ")).length),s.plugin=h,s.setRatio=c,dt.lastIndex=0,p=0;p<P;p++)if(_=D[p],x=k[p]+"",(S=parseFloat(_))||0===S)s.appendXtra("",S,st(x,S),x.replace(y,""),!(!L||-1===x.indexOf("px"))&&Math.round,!0);else if(r&&dt.test(_))A=")"+((A=x.indexOf(")")+1)?x.substr(A):""),I=-1!==x.indexOf("hsl")&&Z,T=x,_=pt(_,I),x=pt(x,I),(M=_.length+x.length>6)&&!Z&&0===x[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(k[p]).join("transparent")):(Z||(M=!1),I?s.appendXtra(T.substr(0,T.indexOf("hsl"))+(M?"hsla(":"hsl("),_[0],st(x[0],_[0]),",",!1,!0).appendXtra("",_[1],st(x[1],_[1]),"%,",!1).appendXtra("",_[2],st(x[2],_[2]),M?"%,":"%"+A,!1):s.appendXtra(T.substr(0,T.indexOf("rgb"))+(M?"rgba(":"rgb("),_[0],x[0]-_[0],",",Math.round,!0).appendXtra("",_[1],x[1]-_[1],",",Math.round).appendXtra("",_[2],x[2]-_[2],M?",":A,Math.round),M&&(_=_.length<4?1:_[3],s.appendXtra("",_,(x.length<4?1:x[3])-_,A,!1))),dt.lastIndex=0;else if(b=_.match(v)){if(!(w=x.match(y))||w.length!==b.length)return s;for(d=0,f=0;f<b.length;
vendor: 7,653 bytes, line 1
1f++)C=b[f],T=_.indexOf(C,d),s.appendXtra(_.substr(d,T-d),Number(C),st(w[f],C),"",!(!L||"px"!==_.substr(T+C.length,2))&&Math.round,0===f),d=T+C.length;s["xs"+s.l]+=_.substr(d)}else s["xs"+s.l]+=s.l||s["xs"+s.l]?" "+x:x;if(-1!==i.indexOf("=")&&s.data){for(A=s.xs0+s.data.s,p=1;p<s.l;p++)A+=s["xs"+p]+s.data["xn"+p];s.e=A+s["xs"+p]}return s.l||(s.type=-1,s.xs0=s.e),s.xfirst||s},bt=9;for((l=yt.prototype).l=l.pr=0;--bt>0;)l["xn"+bt]=0,l["xs"+bt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,o){var a=this,s=a.l;return a["xs"+s]+=o&&(s||a["xs"+s])?" "+t:t||"",n||0===s||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",s>0?(a.data["xn"+s]=e+n,a.rxp["xn"+s]=r,a["xn"+s]=e,a.plugin||(a.xfirst=new yt(a,"xn"+s,e,n,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+n},a.rxp={},a.s=e,a.c=n,a.r=r,a)):(a["xs"+s]+=e+(i||""),a)};var wt=function(t,e){e=e||{},this.p=e.prefix&&q(t)||t,s[t]=s[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},St=H._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;i<r.length;i++)e.prefix=0===i&&e.prefix,e.defaultValue=n[i]||o,new wt(r[i],e)},Mt=H._registerPluginProp=function(t){if(!s[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";St(t,{parser:function(t,n,i,r,o,l,u){var h=a.com.greensock.plugins[e];return h?(h._cssRegister(),s[i].parse(t,n,i,r,o,l,u)):(X(),o)}})}};(l=wt.prototype).parseComplex=function(t,e,n,i,r,o){var a,s,l,u,h,c,p=this.keyword;if(this.multi&&(O.test(n)||O.test(e)?(s=e.replace(O,"|").split("|"),l=n.replace(O,"|").split("|")):p&&(s=[e],l=[n])),l){for(u=l.length>s.length?l.length:s.length,a=0;a<u;a++)e=s[a]=s[a]||this.dflt,n=l[a]=l[a]||this.dflt,p&&(h=e.indexOf(p))!==(c=n.indexOf(p))&&(-1===c?s[a]=s[a].split(p).join(""):-1===h&&(s[a]+=" "+p));e=s.join(", "),n=l.join(", ")}return xt(t,this.p,e,n,this.clrs,this.dflt,i,this.pr,r,o)},l.parse=function(t,e,i,r,o,a,s){return this.parseComplex(t.style,this.format(J(t,this.p,n,!1,this.dflt)),this.format(e),o,a)},o.registerSpecialProp=function(t,e,n){St(t,{parser:function(t,i,r,o,a,s,l){var u=new yt(t,r,0,0,a,2,r,!1,n);return u.plugin=s,u.setRatio=e(t,i,o._tween,r),u},priority:n})},o.useSVGTransformAttr=!0;var Tt,Ct,At,It,Dt,kt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Pt=q("transform"),Lt=$+"transform",Ot=q("transformOrigin"),Et=null!==q("perspective"),Rt=H.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Et)&&(o.defaultForce3D||"auto")},Nt=i.ML.SVGElement,Ft=function(t,e,n){var i,r=z.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in n)r.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),n[i]);return e.appendChild(r),r},Bt=z.documentElement||{},zt=(Dt=d||/Android/i.test(W)&&!i.ML.chrome,z.createElementNS&&!Dt&&(Ct=Ft("svg",Bt),It=(At=Ft("rect",Ct,{width:100,height:50,x:100})).getBoundingClientRect().width,At.style[Ot]="50% 50%",At.style[Pt]="scaleX(0.5)",Dt=It===At.getBoundingClientRect().width&&!(p&&Et),Bt.removeChild(Ct)),Dt),Vt=function(t,e,n,i,r,a){var s,l,u,h,c,p,f,d,g,m,v,y,_,x,b=t._gsTransform,w=Wt(t,!0);b&&(_=b.xOrigin,x=b.yOrigin),(!i||(s=i.split(" ")).length<2)&&(0===(f=t.getBBox()).x&&0===f.y&&f.width+f.height===0&&(f={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),s=[(-1!==(e=at(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*f.width:parseFloat(e[0]))+f.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*f.height:parseFloat(e[1]))+f.y]),n.xOrigin=h=parseFloat(s[0]),n.yOrigin=c=parseFloat(s[1]),i&&w!==Ht&&(p=w[0],f=w[1],d=w[2],g=w[3],m=w[4],v=w[5],(y=p*g-f*d)&&(l=h*(g/y)+c*(-d/y)+(d*v-g*m)/y,u=h*(-f/y)+c*(p/y)-(p*v-f*m)/y,h=n.xOrigin=s[0]=l,c=n.yOrigin=s[1]=u)),b&&(a&&(n.xOffset=b.xOffset,n.yOffset=b.yOffset,b=n),r||!1!==r&&!1!==o.defaultSmoothOrigin?(l=h-_,u=c-x,b.xOffset+=l*w[0]+u*w[2]-l,b.yOffset+=l*w[1]+u*w[3]-u):b.xOffset=b.yOffset=0),a||t.setAttribute("data-svg-origin",s.join(" "))},jt=function(t){var e,n=V("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,o=this.style.cssText;if(Bt.appendChild(n),n.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=jt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?i.insertBefore(this,r):i.appendChild(this),Bt.removeChild(n),this.style.cssText=o,e},Gt=function(t){return!(!Nt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return jt.call(t,!0)}}(t))},Ht=[1,0,0,1,0,0],Wt=function(t,e){var n,i,r,o,a,s,l=t._gsTransform||new Rt,u=1e5,h=t.style;if(Pt?i=J(t,Lt,null,!0):t.currentStyle&&(i=(i=t.currentStyle.filter.match(P))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),l.x||0,l.y||0].join(","):""),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,!Pt||!(s=!K(t)||"none"===K(t).display)&&t.parentNode||(s&&(o=h.display,h.display="block"),t.parentNode||(a=1,Bt.appendChild(t)),n=!(i=J(t,Lt,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?h.display=o:s&&Yt(h,"display"),a&&Bt.removeChild(t)),(l.svg||t.getCTM&&Gt(t))&&(n&&-1!==(h[Pt]+"").indexOf("matrix")&&(i=h[Pt],n=0),r=t.getAttribute("transform"),n&&r&&(i="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",n=0)),n)return Ht;for(r=(i||"").match(v)||[],bt=r.length;--bt>-1;)o=Number(r[bt]),r[bt]=(a=o-(o|=0))?(a*u+(a<0?-.5:.5)|0)/u+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Zt=H.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var a,s,l,u,h,c,p=n&&t._gsTransform||new Rt,f=p.scaleX<0,d=2e-5,g=1e5,m=Et&&(parseFloat(J(t,Ot,e,!1,"0 0 0").split(" ")[2])||p.zOrigin)||0,v=parseFloat(o.defaultTransformPerspective)||0;if(p.svg=!(!t.getCTM||!Gt(t)),p.svg&&(Vt(t,J(t,Ot,e,!1,"50% 50%")+"",p,t.getAttribute("data-svg-origin")),Tt=o.useSVGTransformAttr||zt),(a=Wt(t))!==Ht){if(16===a.length){var y,_,x,b,w,S=a[0],M=a[1],T=a[2],C=a[3],A=a[4],I=a[5],D=a[6],k=a[7],P=a[8],L=a[9],O=a[10],E=a[12],R=a[13],F=a[14],B=a[11],z=Math.atan2(D,O);p.zOrigin&&(E=P*(F=-p.zOrigin)-a[12],R=L*F-a[13],F=O*F+p.zOrigin-a[14]),p.rotationX=z*N,z&&(y=A*(b=Math.cos(-z))+P*(w=Math.sin(-z)),_=I*b+L*w,x=D*b+O*w,P=A*-w+P*b,L=I*-w+L*b,O=D*-w+O*b,B=k*-w+B*b,A=y,I=_,D=x),z=Math.atan2(-T,O),p.rotationY=z*N,z&&(_=M*(b=Math.cos(-z))-L*(w=Math.sin(-z)),x=T*b-O*w,L=M*w+L*b,O=T*w+O*b,B=C*w+B*b,S=y=S*b-P*w,M=_,T=x),z=Math.atan2(M,S),p.rotation=z*N,z&&(y=S*(b=Math.cos(z))+M*(w=Math.sin(z)),_=A*b+I*w,x=P*b+L*w,M=M*b-S*w,I=I*b-A*w,L=L*b-P*w,S=y,A=_,P=x),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY=180-p.rotationY),z=Math.atan2(A,I),p.scaleX=(Math.sqrt(S*S+M*M+T*T)*g+.5|0)/g,p.scaleY=(Math.sqrt(I*I+D*D)*g+.5|0)/g,p.scaleZ=(Math.sqrt(P*P+L*L+O*O)*g+.5|0)/g,S/=p.scaleX,A/=p.scaleY,M/=p.scaleX,I/=p.scaleY,Math.abs(z)>d?(p.skewX=z*N,A=0,"simple"!==p.skewType&&(p.scaleY*=1/Math.cos(z))):p.skewX=0,p.perspective=B?1/(B<0?-B:B):0,p.x=E,p.y=R,p.z=F,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*S-p.yOrigin*A),p.y-=p.yOrigin-(p.yOrigin*M-p.xOrigin*
1I))}else if(!Et||r||!a.length||p.x!==a[4]||p.y!==a[5]||!p.rotationX&&!p.rotationY){var V=a.length>=6,j=V?a[0]:1,G=a[1]||0,H=a[2]||0,W=V?a[3]:1;p.x=a[4]||0,p.y=a[5]||0,l=Math.sqrt(j*j+G*G),u=Math.sqrt(W*W+H*H),h=j||G?Math.atan2(G,j)*N:p.rotation||0,c=H||W?Math.atan2(H,W)*N+h:p.skewX||0,p.scaleX=l,p.scaleY=u,p.rotation=h,p.skewX=c,Et&&(p.rotationX=p.rotationY=p.z=0,p.perspective=v,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*j+p.yOrigin*H),p.y-=p.yOrigin-(p.xOrigin*G+p.yOrigin*W))}for(s in Math.abs(p.skewX)>90&&Math.abs(p.skewX)<270&&(f?(p.scaleX*=-1,p.skewX+=p.rotation<=0?180:-180,p.rotation+=p.rotation<=0?180:-180):(p.scaleY*=-1,p.skewX+=p.skewX<=0?180:-180)),p.zOrigin=m,p)p[s]<d&&p[s]>-d&&(p[s]=0)}return n&&(t._gsTransform=p,p.svg&&(Tt&&t.style[Pt]?i.ZP.delayedCall(.001,(function(){Yt(t.style,Pt)})):!Tt&&t.getAttribute("transform")&&i.ZP.delayedCall(.001,(function(){t.removeAttribute("transform")})))),p},Ut=function(t){var e,n,i=this.data,r=-i.rotation*R,o=r+i.skewX*R,a=1e5,s=(Math.cos(r)*i.scaleX*a|0)/a,l=(Math.sin(r)*i.scaleX*a|0)/a,u=(Math.sin(o)*-i.scaleY*a|0)/a,h=(Math.cos(o)*i.scaleY*a|0)/a,c=this.t.style,p=this.t.currentStyle;if(p){n=l,l=-u,u=-n,e=p.filter,c.filter="";var f,g,m=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==p.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+l+", M21="+u+", M22="+h,x=i.x+m*i.xPercent/100,S=i.y+v*i.yPercent/100;if(null!=i.ox&&(x+=(f=(i.oxp?m*i.ox*.01:i.ox)-m/2)-(f*s+(g=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),S+=g-(f*u+g*h)),_+=y?", Dx="+((f=m/2)-(f*s+(g=v/2)*l)+x)+", Dy="+(g-(f*u+g*h)+S)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(L,_):c.filter=_+" "+e,0!==t&&1!==t||1===s&&0===l&&0===u&&1===h&&(y&&-1===_.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!y){var M,T,C,A=d<8?1:-1;for(f=i.ieOffsetX||0,g=i.ieOffsetY||0,i.ieOffsetX=Math.round((m-((s<0?-s:s)*m+(l<0?-l:l)*v))/2+x),i.ieOffsetY=Math.round((v-((h<0?-h:h)*v+(u<0?-u:u)*m))/2+S),bt=0;bt<4;bt++)C=(n=-1!==(M=p[T=rt[bt]]).indexOf("px")?parseFloat(M):Q(this.t,T,parseFloat(M),M.replace(b,""))||0)!==i[T]?bt<2?-i.ieOffsetX:-i.ieOffsetY:bt<2?f-i.ieOffsetX:g-i.ieOffsetY,c[T]=(i[T]=Math.round(n-C*(0===bt||2===bt?1:A)))+"px"}}},Xt=H.set3DTransformRatio=H.setTransformRatio=function(t){var e,n,i,r,o,a,s,l,u,h,c,f,d,g,m,v,y,_,x,b,w,S,M,T=this.data,C=this.t.style,A=T.rotation,I=T.rotationX,D=T.rotationY,k=T.scaleX,P=T.scaleY,L=T.scaleZ,O=T.x,E=T.y,N=T.z,F=T.svg,B=T.perspective,z=T.force3D,V=T.skewY,j=T.skewX;if(V&&(j+=V,A+=V),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||N||B||D||I||1!==L)||Tt&&F||!Et)A||j||F?(A*=R,S=j*R,M=1e5,n=Math.cos(A)*k,o=Math.sin(A)*k,i=Math.sin(A-S)*-P,a=Math.cos(A-S)*P,S&&"simple"===T.skewType&&(e=Math.tan(S-V*R),i*=e=Math.sqrt(1+e*e),a*=e,V&&(e=Math.tan(V*R),n*=e=Math.sqrt(1+e*e),o*=e)),F&&(O+=T.xOrigin-(T.xOrigin*n+T.yOrigin*i)+T.xOffset,E+=T.yOrigin-(T.xOrigin*o+T.yOrigin*a)+T.yOffset,Tt&&(T.xPercent||T.yPercent)&&(m=this.t.getBBox(),O+=.01*T.xPercent*m.width,E+=.01*T.yPercent*m.height),O<(m=1e-6)&&O>-m&&(O=0),E<m&&E>-m&&(E=0)),x=(n*M|0)/M+","+(o*M|0)/M+","+(i*M|0)/M+","+(a*M|0)/M+","+O+","+E+")",F&&Tt?this.t.setAttribute("transform","matrix("+x):C[Pt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+x):C[Pt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+P+","+O+","+E+")";else{if(p&&(k<(m=1e-4)&&k>-m&&(k=L=2e-5),P<m&&P>-m&&(P=L=2e-5),!B||T.z||T.rotationX||T.rotationY||(B=0)),A||j)A*=R,v=n=Math.cos(A),y=o=Math.sin(A),j&&(A-=j*R,v=Math.cos(A),y=Math.sin(A),"simple"===T.skewType&&(e=Math.tan((j-V)*R),v*=e=Math.sqrt(1+e*e),y*=e,T.skewY&&(e=Math.tan(V*R),n*=e=Math.sqrt(1+e*e),o*=e))),i=-y,a=v;else{if(!(D||I||1!==L||B||F))return void(C[Pt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+O+"px,"+E+"px,"+N+"px)"+(1!==k||1!==P?" scale("+k+","+P+")":""));n=a=1,i=o=0}h=1,r=s=l=u=c=f=0,d=B?-1/B:0,g=T.zOrigin,m=1e-6,b=",",w="0",(A=D*R)&&(v=Math.cos(A),l=-(y=Math.sin(A)),c=d*-y,r=n*y,s=o*y,h=v,d*=v,n*=v,o*=v),(A=I*R)&&(e=i*(v=Math.cos(A))+r*(y=Math.sin(A)),_=a*v+s*y,u=h*y,f=d*y,r=i*-y+r*v,s=a*-y+s*v,h*=v,d*=v,i=e,a=_),1!==L&&(r*=L,s*=L,h*=L,d*=L),1!==P&&(i*=P,a*=P,u*=P,f*=P),1!==k&&(n*=k,o*=k,l*=k,c*=k),(g||F)&&(g&&(O+=r*-g,E+=s*-g,N+=h*-g+g),F&&(O+=T.xOrigin-(T.xOrigin*n+T.yOrigin*i)+T.xOffset,E+=T.yOrigin-(T.xOrigin*o+T.yOrigin*a)+T.yOffset),O<m&&O>-m&&(O=w),E<m&&E>-m&&(E=w),N<m&&N>-m&&(N=0)),x=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",x+=(n<m&&n>-m?w:n)+b+(o<m&&o>-m?w:o)+b+(l<m&&l>-m?w:l),x+=b+(c<m&&c>-m?w:c)+b+(i<m&&i>-m?w:i)+b+(a<m&&a>
vendor: 3,405 bytes, line 1
1-m?w:a),I||D||1!==L?(x+=b+(u<m&&u>-m?w:u)+b+(f<m&&f>-m?w:f)+b+(r<m&&r>-m?w:r),x+=b+(s<m&&s>-m?w:s)+b+(h<m&&h>-m?w:h)+b+(d<m&&d>-m?w:d)+b):x+=",0,0,0,0,1,0,",x+=O+b+E+b+N+b+(B?1+-N/B:1)+")",C[Pt]=x}};(l=Rt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,St("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,a,s,l){if(r._lastParsedTransform===l)return a;r._lastParsedTransform=l;var u,h=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(u=l[i],l[i]=e),h&&(l.scale=h(m,t));var c,p,f,d,v,y,_,x,b,w=t._gsTransform,S=t.style,M=1e-6,T=kt.length,C=l,A={},I="transformOrigin",D=Zt(t,n,!0,C.parseTransform),k=C.transform&&("function"==typeof C.transform?C.transform(m,g):C.transform);if(D.skewType=C.skewType||D.skewType||o.defaultSkewType,r._transform=D,"rotationZ"in C&&(C.rotation=C.rotationZ),k&&"string"==typeof k&&Pt)(p=j.style)[Pt]=k,p.display="block",p.position="absolute",-1!==k.indexOf("%")&&(p.width=J(t,"width"),p.height=J(t,"height")),z.body.appendChild(j),c=Zt(j,null,!1),"simple"===D.skewType&&(c.scaleY*=Math.cos(c.skewX*R)),D.svg&&(y=D.xOrigin,_=D.yOrigin,c.x-=D.xOffset,c.y-=D.yOffset,(C.transformOrigin||C.svgOrigin)&&(k={},Vt(t,at(C.transformOrigin),k,C.svgOrigin,C.smoothOrigin,!0),y=k.xOrigin,_=k.yOrigin,c.x-=k.xOffset-D.xOffset,c.y-=k.yOffset-D.yOffset),(y||_)&&(x=Wt(j,!0),c.x-=y-(y*x[0]+_*x[2]),c.y-=_-(y*x[1]+_*x[3]))),z.body.removeChild(j),c.perspective||(c.perspective=D.perspective),null!=C.xPercent&&(c.xPercent=lt(C.xPercent,D.xPercent)),null!=C.yPercent&&(c.yPercent=lt(C.yPercent,D.yPercent));else if("object"==typeof C){if(c={scaleX:lt(null!=C.scaleX?C.scaleX:C.scale,D.scaleX),scaleY:lt(null!=C.scaleY?C.scaleY:C.scale,D.scaleY),scaleZ:lt(C.scaleZ,D.scaleZ),x:lt(C.x,D.x),y:lt(C.y,D.y),z:lt(C.z,D.z),xPercent:lt(C.xPercent,D.xPercent),yPercent:lt(C.yPercent,D.yPercent),perspective:lt(C.transformPerspective,D.perspective)},null!=(v=C.directionalRotation))if("object"==typeof v)for(p in v)C[p]=v[p];else C.rotation=v;"string"==typeof C.x&&-1!==C.x.indexOf("%")&&(c.x=0,c.xPercent=lt(C.x,D.xPercent)),"string"==typeof C.y&&-1!==C.y.indexOf("%")&&(c.y=0,c.yPercent=lt(C.y,D.yPercent)),c.rotation=ut("rotation"in C?C.rotation:"shortRotation"in C?C.shortRotation+"_short":D.rotation,D.rotation,"rotation",A),Et&&(c.rotationX=ut("rotationX"in C?C.rotationX:"shortRotationX"in C?C.shortRotationX+"_short":D.rotationX||0,D.rotationX,"rotationX",A),c.rotationY=ut("rotationY"in C?C.rotationY:"shortRotationY"in C?C.shortRotationY+"_short":D.rotationY||0,D.rotationY,"rotationY",A)),c.skewX=ut(C.skewX,D.skewX),c.skewY=ut(C.skewY,D.skewY)}for(Et&&null!=C.force3D&&(D.force3D=C.force3D,d=!0),(f=D.force3D||D.z||D.rotationX||D.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==C.scale||(c.scaleZ=1);--T>-1;)((k=c[b=kt[T]]-D[b])>M||k<-M||null!=C[b]||null!=F[b])&&(d=!0,a=new yt(D,b,D[b],k,a),b in A&&(a.e=A[b]),a.xs0=0,a.plugin=s,r._overwriteProps.push(a.n));return k=C.transformOrigin,D.svg&&(k||C.svgOrigin)&&(y=D.xOffset,_=D.yOffset,Vt(t,at(k),c,C.svgOrigin,C.smoothOrigin),a=_t(D,"xOr
1igin",(w?D:c).xOrigin,c.xOrigin,a,I),a=_t(D,"yOrigin",(w?D:c).yOrigin,c.yOrigin,a,I),y===D.xOffset&&_===D.yOffset||(a=_t(D,"xOffset",w?y:D.xOffset,D.xOffset,a,I),a=_t(D,"yOffset",w?_:D.yOffset,D.yOffset,a,I)),k="0px 0px"),(k||Et&&f&&D.zOrigin)&&(Pt?(d=!0,b=Ot,k=(k||J(t,b,n,!1,"50% 50%"))+"",(a=new yt(S,b,0,0,a,-1,I)).b=S[b],a.plugin=s,Et?(p=D.zOrigin,k=k.split(" "),D.zOrigin=(k.length>2&&(0===p||"0px"!==k[2])?parseFloat(k[2]):p)||0,a.xs0=a.e=k[0]+" "+(k[1]||"50%")+" 0px",(a=new yt(D,"zOrigin",0,0,a,-1,a.n)).b=p,a.xs0=a.e=D.zOrigin):a.xs0=a.e=k):at(k+"",D)),d&&(r._transformType=D.svg&&Tt||!f&&3!==this._transformType?2:3),u&&(l[i]=u),h&&(l.scale=h),a},prefix:!0}),St("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),St("borderRadius",{defaultValue:"0px",parser:function(t,i,r,o,a,s){i=this.format(i);var l,u,h,c,p,f,d,g,m,v,y,_,x,b,w,S,M=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u<M.length;u++)this.p.indexOf("border")&&(M[u]=q(M[u])),-1!==(p=c=J(t,M[u],n,!1,"0px")).indexOf(" ")&&(c=p.split(" "),p=c[0],c=c[1]),f=h=l[u],d=parseFloat(p),_=p.substr((d+"").length),(x="="===f.charAt(1))?(g=parseInt(f.charAt(0)+"1",10),f=f.substr(2),g*=parseFloat(f),y=f.substr((g+"").length-(g<0?1:0))||""):(g=parseFloat(f),y=f.substr((g+"").length)),""===y&&(y=e[r]||_),y!==_&&(b=Q(t,"borderLeft",d,_),w=Q(t,"borderTop",d,_),"%"===y?(p=b/m*100+"%",c=w/v*100+"%"):"em"===y?(p=b/(S=Q(t,"borderLeft",1,"em"))+"em",c=w/S+"em"):(p=b+"px",c=w+"px"),x&&(f=parseFloat(p)+g+y,h=parseFloat(c)+g+y)),a=xt(T,M[u],p+" "+c,f+" "+h,!1,"0px",a);return a},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),St("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,o,a){return xt(t.style,i,this.format(J(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),St("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,o,a){var s,l,u,h,c,p,f="background-position",g=n||K(t,null),m=this.format((g?d?g.getPropertyValue(f+"-x")+" "+g.getPropertyValue(f+"-y"):g.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==m.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(p=J(t,"backgroundImage").replace(I,""))&&"none"!==p){for(s=m.split(" "),l=v.split(" "),G.setAttribute("src",p),u=2;--u>-1;)(h=-1!==(m=s[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(c=0===u?t.offsetWidth-G.width:t.offsetHeight-G.height,s[u]=h?parseFloat(m)/100*c+"px":parseFloat(m)/c*100+"%");m=s.join(" ")}return this.parseComplex(t.style,m,v,o,a)},formatter:at}),St("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:at(-1===t.indexOf(" ")?t+" "+t:t)}}),St("perspective",{defaultValue:"0px",prefix:!0}),St("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),St("transformStyle",{prefix:!0}),St("backfaceVisibility",{prefix:!0}),St("userSelect",{prefix:!0}),St("margin",{parser:mt("marginTop,marginRight,marginBottom,marginLeft")}),St("padding",{parser:mt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),St("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,o,a){var s,l,u;return d<9?(l=t.currentStyle,u=d<8?" ":",",s="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(s=this.format(J(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,s,e,o,a)}}),St("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),St("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),St("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,o,a){var s=J(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(b,"");return"px"!==u&&(s=parseFloat(s)/Q(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(s+" "+J(t,"borderTopStyle",n,!1,"solid")+" "+J(t,"borderTopColor",n,!1,"#000")),l.join(" "),o,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),St("borderWidth",{parser:mt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),St("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var a=t.style,s="cssFloat"in a?"cssFloat":"styleFloat";return new yt(a,s,0,0,r,-1,n,!1,0,a[s],e)}});var $t=function(t){var e,n=this.t,i=n.filter||J(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!J(this.data,"filter")):(n.filter=i.replace(M,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alph
1a(opacity="+r+")"):n.filter=i.replace(w,"opacity="+r))};St("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,o,a){var s=parseFloat(J(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+s),u&&1===s&&"hidden"===J(t,"visibility",n)&&0!==e&&(s=0),Z?o=new yt(l,"opacity",s,e-s,o):((o=new yt(l,"opacity",100*s,100*(e-s),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=a,o.setRatio=$t),u&&((o=new yt(l,"visibility",0,0,o,-1,null,!1,0,0!==s?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(i)),o}});var Yt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},qt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:Yt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};St("className",{parser:function(e,i,r,o,a,s,l){var u,h,c,p,f,d=e.getAttribute("class")||"",g=e.style.cssText;if((a=o._classNamePT=new yt(e,r,0,0,a,2)).setRatio=qt,a.pr=-11,t=!0,a.b=d,h=et(e,n),c=e._gsClassPT){for(p={},f=c.data;f;)p[f.p]=1,f=f._next;c.setRatio(1)}return e._gsClassPT=a,a.e="="!==i.charAt(1)?i:d.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",a.e),u=nt(e,h,et(e),l,p),e.setAttribute("class",d),a.data=u.firstMPT,e.style.cssText=g,a=a.xfirst=o.parse(e,u.difs,a,s)}});var Kt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,a=this.t.style,l=s.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],s[n]&&(s[n].parse===l?r=!0:n="transformOrigin"===n?Ot:s[n].p),Yt(a,n);r&&(Yt(a,Pt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(St("clearProps",{parser:function(e,n,i,r,o){return(o=new yt(e,i,0,0,o,2)).setRatio=Kt,o.e=n,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),bt=l.length;bt--;)Mt(l[bt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,a,l,p){if(!i.nodeType)return!1;this._target=g=i,this._tween=l,this._vars=a,m=p,u=a.autoRound,t=!1,e=a.suffixMap||o.suffixMap,n=K(i,""),r=this._overwriteProps;var d,v,y,_,x,b,w,M,T,C=i.style;if(h&&""===C.zIndex&&("auto"!==(d=J(i,"zIndex",n))&&""!==d||this._addLazySet(C,"zIndex",0)),"string"==typeof a&&(_=C.cssText,d=et(i,n),C.cssText=_+";"+a,d=nt(i,d,et(i)).difs,!Z&&S.test(a)&&(d.opacity=parseFloat(RegExp.$1)),a=d,C.cssText=_),a.className?this._firstPT=v=s.className.parse(i,a.className,"className",this,null,null,a):this._firstPT=v=this.parse(i,a,null),this._transformType){for(T=3===this._transformType,Pt?c&&(h=!0,""===C.zIndex&&("auto"!==(w=J(i,"zIndex",n))&&""!==w||this._addLazySet(C,"zIndex",0)),f&&this._addLazySet(C,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(T?"visible":"hidden"))):C.zoom=1,y=v;y&&y._next;)y=y._next;M=new yt(i,"transform",0,0,null,2),this._linkCSSP(M,null,y),M.setRatio=Pt?Xt:Ut,M.data=this._transform||Zt(i,n,!0),M.tween=l,M.pr=-1,r.pop()}if(t){for(;v;){for(b=v._next,y=_;y&&y.pr>v.pr;)y=y._next;(v._prev=y?y._prev:x)?v._prev._next=v:_=v,(v._next=y)?y._prev=v:x=v,v=b}this._firstPT=_}return!0},l.parse=function(t,i,r,o){var a,l,h,c,p,f,d,v,y,_,x=t.style;for(a in i){if("function"==typeof(f=i[a])&&(f=f(m,g)),l=s[a])r=l.parse(t,f,a,this,r,o,i);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",K(t).getPropertyValue(a)+"",f+"",a,!1,a);continue}p=J(t,a,n)+"",y="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&T.test(f)?(y||(f=((f=pt(f)).length>3?"rgba(":"rgb(")+f.join(",")+")"),r=xt(x,a,p,f,!0,"transparent",r,0,o)):y&&E.test(f)?r=xt(x,a,p,f,!0,null,r,0,o):(d=(h=p
1arseFloat(p))||0===h?p.substr((h+"").length):"",""!==p&&"auto"!==p||("width"===a||"height"===a?(h=ot(t,a,n),d="px"):"left"===a||"top"===a?(h=tt(t,a,n),d="px"):(h="opacity"!==a?0:1,d="")),(_=y&&"="===f.charAt(1))?(c=parseInt(f.charAt(0)+"1",10),f=f.substr(2),c*=parseFloat(f),v=f.replace(b,"")):(c=parseFloat(f),v=y?f.replace(b,""):""),""===v&&(v=a in e?e[a]:d),f=c||0===c?(_?c+h:c)+v:i[a],d!==v&&(""===v&&"lineHeight"!==a||(c||0===c)&&h&&(h=Q(t,a,h,d),"%"===v?(h/=Q(t,a,100,"%")/100,!0!==i.strictUnits&&(p=h+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?h/=Q(t,a,1,v):"px"!==v&&(c=Q(t,a,c,v),v="px"),_&&(c||0===c)&&(f=c+h+v))),_&&(c+=h),!h&&0!==h||!c&&0!==c?void 0!==x[a]&&(f||f+""!="NaN"&&null!=f)?(r=new yt(x,a,c||h||0,0,r,-1,a,!1,0,p,f)).xs0="none"!==f||"display"!==a&&-1===a.indexOf("Style")?f:p:X(i[a]):(r=new yt(x,a,h,c-h,r,0,a,!1!==u&&("px"===v||"zIndex"===a),0,p,f)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,n,i,r=this._firstPT,o=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<o&&e>-o&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(i=r.l,n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},l._enableTransforms=function(t){this._transform=this._transform||Zt(this._target,n,!0),this._transformType=this._transform.svg&&Tt||!t&&3!==this._transformType?2:3};var Jt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySet=function(t,e,n){var i=this._firstPT=new yt(t,e,0,0,this._firstPT,2);i.e=n,i.setRatio=Jt,i.data=this},l._linkCSSP=function(t,e,n,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),n?n._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=n),t},l._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},l._kill=function(t){var e,n,r,o=t;if(t.autoAlpha||t.alpha){for(n in o={},t)o[n]=t[n];o.opacity=1,o.autoAlpha&&(o.visibility=1)}for(t.className&&(e=this._classNamePT)&&((r=e.xfirst)&&r._prev?this._linkCSSP(r._prev,e._next,r._prev._prev):r===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,r._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==n&&e.plugin._kill&&(e.plugin._kill(t),n=e.plugin),e=e._next;return i.VN.prototype._kill.call(this,o)};var Qt=function(t,e,n){var i,r,o,a;if(t.slice)for(r=t.length;--r>-1;)Qt(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)a=(o=i[r]).type,o.style&&(e.push(et(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||Qt(o,e,n)};return o.cascadeTo=function(t,e,n){var r,o,a,s,l=i.ZP.to(t,e,n),u=[l],h=[],c=[],p=[],f=i.ZP._internals.reservedProps;for(t=l._targets||l.target,Qt(t,h,p),l.render(e,!0,!0),Qt(t,c),l.render(0,!0,!0),l._enabled(!0),r=p.length;--r>-1;)if((o=nt(p[r],h[r],c[r])).firstMPT){for(a in o=o.difs,n)f[a]&&(o[a]=n[a]);for(a in s={},o)s[a]=h[r][a];u.push(i.ZP.fromTo(p[r],e,s,o))}return u},i.VN.activate([o]),o}),!0);var r=i.li.CSSPlugin},3441:function(t,e,n){"use strict";n.d(e,{$p:function(){return f},Au:function(){return c},Dd:function(){return l},NB:function(){return u},Yv:function(){return p},eJ:function(){return r},l6:function(){return s},sm:function(){return a},tQ:function(){return o},zO:function(){return h}});var i=n(5957);i.ML._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,n,r,o=i.ML.GreenSockGlobals||i.ML,a=o.com.greensock,s=2*Math.PI,l=Math.PI/2,u=a._class,h=function(t,e){var n=u("easing."+t,(function(){}),!0),r=n.prototype=new i.SX;return r.constructor=n,r.getRatio=e,n},c=i.SX.register||function(){},p=function(t,e,n,i,r){var o=u("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return c(o,t),o},f=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},d=function(t,e){var n=u("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),r=n.prototype=new i.SX;return r.constructor=n,r.getRatio=e,r.config=function(t){return new n(t)},n},g=p("Back",d("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),d("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),d("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=u("easing.SlowMo",(function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n}),!0),v=m.prototype=new i.SX;return v.constructor=m,v.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),v.config=m.config=function(t,e,n){return new m(t,e,n)},(v=(t=u("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new i.SX).constructor=t,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},(v=(e=u("easing.ExpoScaleEase",(function(t,e,n){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=n}),!0)).prototype=new i.SX).constructor=e,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,n,i){return new e(t,n,i)},(v=(n=u("easing.RoughEase",(function(t){for(var e,n,r,o,a,s,l=(t=t||{}).taper||"none",u=[],h=0,c=0|(t.points||20),p=c,d=!1!==t.randomize,g=!0===t.clamp,m=t.template instanceof i.SX?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--p>-1;)e=d?Math.random():1/c*p,n=m?m.getRatio(e):e,r="none"===l?v:"out"===l?(o=1-e)*o*v:"in"===l?e*e*v:e<.5?(o=2*e)*o*.5*v:(o=2*(1-e))*o*.5*v,d?n+=Math.random()*r-.5*r:p%2?n+=.5*r:n-=.5*r,g&&(n>1?n=1:n<0&&(n=0)),u[h++]={x:e,y:n};for(u.sort((function(t,e){return t.x-e.x})),s=new f(1,1,null),p=c;--p>-1;)a=u[p],s=new f(a.x,a.y,s);this._prev=new f(0,0,0!==s.t?s:s.next)}),!0)).prototype=new i.SX).constructor=n,v.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},v.config=function(t){return new n(t)},n.ease=new n,p("Bounce",h("BounceOut",(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),h("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),h("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),p("Circ",h("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),h("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),h("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),r=function(t,e,n){var r=u("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2}),!0),o=r.prototype=new i.SX;return o.constructor=r,o.getRatio=e,o.config=function(t,e){return new r(t,e)},r},p("Elastic",r("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),p("Expo",h("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),h("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),h("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),p("Sine",h("SineOut",(function(t){return Math.sin(t*l)})),h("SineIn",(function(t){return 1-Math.cos(t*l)})),h("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),u("easing.EaseLookup",{find:function(t){return i.SX.map[t]}},!0),c(o.SlowMo,"SlowMo","ease,"),c(n,"RoughEase","ease,"),c(t,"SteppedEase","ease,"),g}),!0);var r=i.li.Back,o=i.li.Elastic,a=i.li.Bounce,s=i.li.RoughEase,l=i.li.SlowMo,u=i.li.SteppedEase,h=i.li.Circ,c=i.li.Expo,p=i.li.Sine,f=i.li.ExpoScaleEase},9127:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(5957),r=(i.ML.document||{}).documentElement,o=i.ML,a=function(t,e){var n="x"===e?"Width":"Height",i="scroll"+n,a="client"+n,s=document.body;return t===o||t===r||t===s?Math.max(r[i],s[i])-(o["inner"+n]||r[a]||s[a]):t[i]-t["offset"+n]},s=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===o&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=r[n]?r:document.body),function(){return t[n]}},l=function(t,e){var n,i=(n=t,"string"==typeof n&&(n=TweenLite.selector(n)),n.length&&n!==o&&n[0]&&n[0].style&&!n.nodeType&&(n=n[0]),n===o||n.nodeType&&n.style?n:null).getBoundingClientRect(),a=document.body,l=!e||e===o||e===a,u=l?{top:r.clientTop-(window.pageYOffset||r.scrollTop||a.scrollTop||0),left
1:r.clientLeft-(window.pageXOffset||r.scrollLeft||a.scrollLeft||0)}:e.getBoundingClientRect(),h={x:i.left-u.left,y:i.top-u.top};return!l&&e&&(h.x+=s(e,"x")(),h.y+=s(e,"y")()),h},u=function(t,e,n){var i=typeof t;return isNaN(t)?"number"===i||"string"===i&&"="===t.charAt(1)?t:"max"===t?a(e,n):Math.min(a(e,n),l(t,e)[n]):parseFloat(t)},h=i.ML._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.1",init:function(t,e,n){return this._wdw=t===o,this._target=t,this._tween=n,"object"!=typeof e?"string"==typeof(e={y:e}).y&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this._autoKill=!1!==e.autoKill,this.getX=s(t,"x"),this.getY=s(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this._addTween(this,"x",this.x,u(e.x,t,"x")-(e.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=e.y?(this._addTween(this,"y",this.y,u(e.y,t,"y")-(e.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var e=this._wdw||!this.skipX?this.getX():this.xPrev,n=this._wdw||!this.skipY?this.getY():this.yPrev,i=n-this.yPrev,r=e-this.xPrev,s=h.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(r>s||r<-s)&&e<a(this._target,"x")&&(this.skipX=!0),!this.skipY&&(i>s||i<-s)&&n<a(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?o.scrollTo(this.skipX?e:this.x,this.skipY?n:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),c=h.prototype;h.max=a,h.getOffset=l,h.buildGetter=s,h.autoKillThreshold=7,c._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}},4743:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var i=n(5957);i.ML._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){i.MQ.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,n,r=this.vars;for(n in r)e=r[n],a(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));a(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=1e-10,n=i.ZP._internals,r=t._internals={},o=n.isSelector,a=n.isArray,s=n.lazyTweens,l=n.lazyRender,u=i.ML._gsDefine.globals,h=function(t){var e,n={};for(e in t)n[e]=t[e];return n},c=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},p=r.pauseCallback=function(){},f=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},d=t.prototype=new i.MQ;return t.version="2.0.2",d.constructor=t,d.kill()._gc=d._forcingPlayhead=d._hasPause=!1,d.to=function(t,e,n,r){var o=n.repeat&&u.TweenMax||i.ZP;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},d.from=function(t,e,n,r){return this.add((n.repeat&&u.TweenMax||i.ZP).from(t,e,n),r)},d.fromTo=function(t,e,n,r,o){var a=r.repeat&&u.TweenMax||i.ZP;return e?this.add(a.fromTo(t,e,n,r),o):this.set(t,r,o)},d.staggerTo=function(e,n,r,a,s,l,u,p){var d,g,m=new t({onComplete:l,onCompleteParams:u,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),v=r.cycle;for("string"==typeof e&&(e=i.ZP.selector(e)||e),o(e=e||[])&&(e=f(e)),(a=a||0)<0&&((e=f(e)).reverse(),a*=-1),g=0;g<e.length;g++)(d=h(r)).startAt&&(d.startAt=h(d.startAt),d.startAt.cycle&&c(d.startAt,e,g)),v&&(c(d,e,g),null!=d.duration&&(n=d.duration,delete d.duration)),m.to(e[g],n,d,g*a);return this.add(m,s)},d.staggerFrom=function(t,e,n,i,r,o,a,s){return n.immediateRender=0!=n.immediateRender,n.runBackwards=!0,this.staggerTo(t,e,n,i,r,o,a,s)},d.staggerFromTo=function(t,e,n,i,r,o,a,s,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,this.staggerTo(t,e,
vendor: 6,222 bytes, line 1
1i,r,o,a,s,l)},d.call=function(t,e,n,r){return this.add(i.ZP.delayedCall(0,t,e,n),r)},d.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i.ZP(t,0,e),n)},t.exportRoot=function(e,n){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var r,o,a,s,l=new t(e),u=l._timeline;for(null==n&&(n=!0),u._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=u._time,a=u._first;a;)s=a._next,n&&a instanceof i.ZP&&a.target===a.vars.onComplete||((o=a._startTime-a._delay)<0&&(r=1),l.add(a,o)),a=s;return u.add(l,0),r&&l.totalDuration(),l},d.add=function(e,n,r,o){var s,l,u,h,c,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,e)),!(e instanceof i.fw)){if(e instanceof Array||e&&e.push&&a(e)){for(r=r||"normal",o=o||0,s=n,l=e.length,u=0;u<l;u++)a(h=e[u])&&(h=new t({tweens:h})),this.add(h,s),"string"!=typeof h&&"function"!=typeof h&&("sequence"===r?s=h._startTime+h.totalDuration()/h._timeScale:"start"===r&&(h._startTime-=h.delay())),s+=o;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,n);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=i.ZP.delayedCall(0,e)}if(i.MQ.prototype.add.call(this,e,n),e._time&&(s=Math.max(0,Math.min(e.totalDuration(),(this.rawTime()-e._startTime)*e._timeScale)),Math.abs(s-e._totalTime)>1e-5&&e.render(s,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=(c=this).rawTime()>e._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},d.remove=function(t){if(t instanceof i.fw){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.fw._rootFramesTimeline:i.fw._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&a(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},d._remove=function(t,e){return i.MQ.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},d.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},d.insert=d.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},d.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},d.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},d.addPause=function(t,e,n,r){var o=i.ZP.delayedCall(0,p,n,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},d.removeLabel=function(t){return delete this._labels[t],this},d.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},d._parseTimeOrLabel=function(t,e,n,r){var o,s;if(r instanceof i.fw&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&a(r)))for(s=r.length;--s>-1;)r[s]instanceof i.fw&&r[s].timeline===this&&this.remove(r[s]);if(o="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-o:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=o+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=s>1?this._parseTimeOrLabel(t.substr(0,s-1),0,n):o}return Number(t)+e},d.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},d.stop=function(){return this.paused(!0)},d.gotoAndPlay=function(t,e){return this.play(t,e)},d.gotoAndStop=function(t,e){return this.pause(t,e)},d.render=function(t,n,i){this._gc&&this._enabled(!0,!1);var r,o,a,u,h,c,p,f=this._time,d=this._dirty?this.totalDuration():this._totalDuration,g=this._startTime,m=this._timeScale,v=this._paused;if(f!==this._time&&(t+=this._time-f),t>=d-1e-7&&t>=0)this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(o=!0,u="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===e)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!n||t||this._rawPrevTime===t?t:e,t=d+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(u="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=o=!0,u="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!n||t||this._rawPrevTime===t?t:e,0===t&&o)for(r=this._first;r&&0===r._startTime;)r._duration||(o=!1),r=r._next;t=0,this._initted||(h=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!n){if(t>=f)for(r=this._first;r&&r._startTime<=t&&!c;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(c=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!c;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(c=r),r=r._prev;c&&(this._time=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||h||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||n||this._callback("onStart")),(p=this._time)>=f)for(r=this._first;r&&(a=r._next,p===this._time&&(!this._paused||v));)(r._active||r._startTime<=p&&!r._paused&&!r._gc)&&(c===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)),r=a;else for(r=this._last;r&&(a=r._prev,p===this._time&&(!this._paused||v));
vendor: 9,194 bytes, line 1
1){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(c===r){for(c=r._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,n,i),c=c._prev;c=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)}r=a}this._onUpdate&&(n||(s.length&&l(),this._callback("onUpdate"))),u&&(this._gc||g!==this._startTime&&m===this._timeScale||(0===this._time||d>=this.totalDuration())&&(o&&(s.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!n&&this.vars[u]&&this._callback(u)))}},d._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},d.getChildren=function(t,e,n,r){r=r||-9999999999;for(var o=[],a=this._first,s=0;a;)a._startTime<r||(a instanceof i.ZP?!1!==e&&(o[s++]=a):(!1!==n&&(o[s++]=a),!1!==t&&(s=(o=o.concat(a.getChildren(!0,e,n))).length))),a=a._next;return o},d.getTweensOf=function(t,e){var n,r,o=this._gc,a=[],s=0;for(o&&this._enabled(!0,!0),r=(n=i.ZP.getTweensOf(t)).length;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(a[s++]=n[r]);return o&&this._enabled(!1,!0),a},d.recent=function(){return this._recent},d._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},d.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},d._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},d.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},d.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return i.fw.prototype.invalidate.call(this)},d._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.MQ.prototype._enabled.call(this,t,e)},d.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.fw.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},d.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},d.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),(n=r._startTime+r._totalDuration/r._timeScale)>i&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},d.paused=function(t){if(!t)for(var e=this._first,n=this._time;e;)e._startTime===n&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.fw.prototype.paused.apply(this,arguments)},d.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.fw._rootFramesTimeline},d.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var r=i.li.TimelineLite},3794:function(t,e,n){"use strict";n.d(e,{ZP:function(){return o}});var i=n(5957),r=n(4743);i.ML._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){r.Z.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=1e-10,n=i.ZP._internals,o=n.lazyTweens,a=n.lazyRender,s=i.ML._gsDefine.globals,l=new i.SX(null,null,1,0),u=t.prototype=new r.Z;return u.constructor=t,u.kill()._gc=!1,t.version="2.0.2",u.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.Z.prototype.invalidate.call(this)},u.addCallback=function(t,e,n,r){return this.add(i.ZP.delayedCall(0,t,n,r),e)},u.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},u.removePause=function(t){return this.removeCallback(r.Z._internals.pauseCallback,t)},u.tweenTo=function(t,e){e=e||{};var n,r,o,a={ease:l,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&s.TweenMax||i.ZP;for(r in e)a[r]=e[r];return a.time=this._parseTimeOrLabel(t),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,o=new u(this,n,a),a.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||n!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},u.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},u.render=function(t,n,i){this._gc&&this._enabled(!0,!1);var r,s,l,u,h,c,p,f,d=this._time,g=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,v=this._totalTime,y=this._startTime,_=this._timeScale,x=this._rawPrevTime,b=this._paused,w=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=g-1e-7&&t>=0)this._locked||(this._totalTime=g,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,u="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||x<0||x===e)&&x!==t&&this._first&&(h=!0,x>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!n||t||this._rawPrevTime===t?t:e,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=m,t=m+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==d||0===m&&x!==e&&(x>0||t<0&&x>=0)&&!this._locked)&&(u="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=s=!0,u="onReverseComplete"):x>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!n||t||this._rawPrevTime===t?t:e,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(h=!0)}else if(0===m&&x<0&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=m+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!n){if((t=this._time)>=d||this._repeat&&w!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!p;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(p=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!p;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(p=r),r=r._prev;p&&p._startTime<m&&(this._time=t=p._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==w&&!this._locked){var S=this._yoyo&&0!=(1&w),M=S===(this._yoyo&&0!=(1&this._cycle)),T=this._totalTime,C=this._cycle,A=this._rawPrevTime,I=this._time;if(this._totalTime=w*m,this._cycle<w?S=!S:this._totalTime+=m,this._time=d,this._rawPrevTime=0===m?x-1e-4:x,this._cycle=w,this._locked=!0,d=S?0:m,this.render(d,n,0===m),n||this._gc||this.vars.onRepeat&&(this._cycle=C,this._locked=!1,this._callback("onRepeat")),d!==this._time)return;if(M&&(this._cycle=w,this._locked=!0,d=S?m+1e-4:-1e-4,this.render(d,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=I,this._totalTime=T,this._cycle=C,this._rawPrevTime=A}if(this._time!==d&&this._first||i||h||p){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&t>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||n||this._callback("onStart")),(f=this._time)>=d)for(r=this._first;r&&(l=r._next,f===this._time&&(!this._paused||b));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(p===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)),r=l;else for(r=this._last;r&&(l=r._prev,f===this._time&&(!this._paused||b));
vendor: 6,168 bytes, line 1
1){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(p===r){for(p=r._prev;p&&p.endTime()>this._time;)p.render(p._reversed?p.totalDuration()-(t-p._startTime)*p._timeScale:(t-p._startTime)*p._timeScale,n,i),p=p._prev;p=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,n,i):r.render((t-r._startTime)*r._timeScale,n,i)}r=l}this._onUpdate&&(n||(o.length&&a(),this._callback("onUpdate"))),u&&(this._locked||this._gc||y!==this._startTime&&_===this._timeScale||(0===this._time||g>=this.totalDuration())&&(s&&(o.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!n&&this.vars[u]&&this._callback(u)))}else v!==this._totalTime&&this._onUpdate&&(n||this._callback("onUpdate"))},u.getActive=function(t,e,n){null==t&&(t=!0),null==e&&(e=!0),null==n&&(n=!1);var i,r,o=[],a=this.getChildren(t,e,n),s=0,l=a.length;for(i=0;i<l;i++)(r=a[i]).isActive()&&(o[s++]=r);return o},u.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,n=this.getLabelsArray(),i=n.length;for(e=0;e<i;e++)if(n[e].time>t)return n[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].time<t)return e[n].name;return null},u.getLabelsArray=function(){var t,e=[],n=0;for(t in this._labels)e[n++]={time:this._labels[t],name:t};return e.sort((function(t,e){return t.time-e.time})),e},u.invalidate=function(){return this._locked=!1,r.Z.prototype.invalidate.call(this)},u.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},u.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},u.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(r.Z.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t}),!0);var o=i.li.TimelineMax},5957:function(t,e,n){"use strict";n.d(e,{Aq:function(){return d},EA:function(){return p},Lp:function(){return f},ML:function(){return i},MQ:function(){return s},SX:function(){return u},VN:function(){return m},Yp:function(){return g},ZP:function(){return r},bJ:function(){return h},fw:function(){return l},li:function(){return o},qD:function(){return c}}),t=n.hmd(t);var i="undefined"!=typeof window?window:t.exports&&void 0!==n.g?n.g:{},r=function(t,e){var n={},i=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var o,a,s,l,u,h,c,p=function(t){var e,n=t.split("."),i=r;for(e=0;e<n.length;e++)i[n[e]]=i=i[n[e]]||{};return i},f=p("com.greensock"),d=1e-10,g=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},m=function(){},v=(h=Object.prototype.toString,c=h.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&h.call(t)===c)}),y={},_=function(t,e,i,o){this.sc=y[t]?y[t].sc:[],y[t]=this,this.gsClass=null,this.func=i;var a=[];this.check=function(s){for(var l,u,h,c,f=e.length,d=f;--f>-1;)(l=y[e[f]]||new _(e[f],[])).gsClass?(a[f]=l.gsClass,d--):s&&l.sc.push(this);if(0===d&&i)for(h=(u=("com.greensock."+t).split(".")).pop(),c=p(u.join("."))[h]=this.gsClass=i.apply(i,a),o&&(r[h]=n[h]=c),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},x=t._gsDefine=function(t,e,n,i){return new _(t,e,n,i)},b=f._class=function(t,e,n){return e=e||function(){},x(t,[],(function(){return e}),n),e};x.globals=r;var w=[0,0,1,1],S=b("easing.Ease",(function(t,e,n,i){this._func=t,this._type=n||0,this._power=i||0,this._params=e?w.concat(e):w}),!0),M=S.map={},T=S.register=function(t,e,n,i){for(var r,o,a,s,l=e.split(","),u=l.length,h=(n||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(o=l[u],r=i?b("easing."+o,null,!0):f.easing[o]||{},a=h.length;--a>-1;)s=h[a],M[o+"."+s]=M[s+o]=r[s]=t.getRatio?t:t[s]||new t};for((s=S.prototype)._calcEnd=!1,s.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)s=o[a]+",Power"+a,T(new S(null,null,1,a),s,"easeOut",!0),T(new S(null,null,2,a),s,"easeIn"+(0===a?",easeNone":"")),T(new S(null,null,3,a),s,"easeInOut");M.linear=f.easing.Linear.easeIn,M.swing=f.easing.Quad.easeInOut;var C=b("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(s=C.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,a,s=this._listeners[t],h=0;for(this!==l||u||l.wake(),null==s&&(this._listeners[t]=s=[]),a=s.length;--a>-1;)(o=s[a]).c===e&&o.s===n?s.splice(a,1):0===h&&o.pr<r&&(h=a+1);s.splice(h,0,{c:e,s:n,up:i,pr:r})},s.removeEventListener=function(t,e){var n,i=this._listeners[t];if(i)for(n=i.length;--n>-1;)if(i[n].c===e)return void i.splice(n,1)},s.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var A=t.requestAnimationFrame,I=t.cancelAnimationFrame,D=Date.now||function(){return(new Date).getTime()},k=D();
vendor: 11,060 bytes, line 1
1for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!A;)A=t[o[a]+"RequestAnimationFrame"],I=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];b("Ticker",(function(t,e){var n,r,o,a,s,h=this,c=D(),p=!(!1===e||!A)&&"auto",f=500,g=33,v=function(t){var e,i,l=D()-k;l>f&&(c+=l-g),k+=l,h.time=(k-c)/1e3,e=h.time-s,(!n||e>0||!0===t)&&(h.frame++,s+=e+(e>=a?.004:a-e),i=!0),!0!==t&&(o=r(v)),i&&h.dispatchEvent("tick")};C.call(h),h.time=h.frame=0,h.tick=function(){v(!0)},h.lagSmoothing=function(t,e){if(!arguments.length)return f<1/d;f=t||1/d,g=Math.min(e,f,0)},h.sleep=function(){null!=o&&(p&&I?I(o):clearTimeout(o),r=m,o=null,h===l&&(u=!1))},h.wake=function(t){null!==o?h.sleep():t?c+=-k+(k=D()):h.frame>10&&(k=D()-f+5),r=0===n?m:p&&A?A:function(t){return setTimeout(t,1e3*(s-h.time)+1|0)},h===l&&(u=!0),v(2)},h.fps=function(t){if(!arguments.length)return n;a=1/((n=t)||60),s=this.time+a,h.wake()},h.useRAF=function(t){if(!arguments.length)return p;h.sleep(),p=t,h.fps(n)},h.fps(t),setTimeout((function(){"auto"===p&&h.frame<5&&"hidden"!==(i||{}).visibilityState&&h.useRAF(!1)}),1500)})),(s=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var P=b("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,q){u||l.wake();var n=this.vars.useFrames?Y:q;n.add(this,n._time),this.vars.paused&&this.paused(!0)}}));l=P.ticker=new f.Ticker,(s=P.prototype)._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var L=function(){u&&D()-k>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(L,2e3);t.unref&&t.unref()};L(),s.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},s.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},s.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},s.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},s.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},s.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},s.render=function(t,e,n){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},s.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<n+this.totalDuration()/this._timeScale-1e-7},s._enabled=function(t,e){return u||l.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(t,e){return this._enabled(!1,!1)},s.kill=function(t,e){return this._kill(t,e),this},s._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},s._swapSelfInParams=function(t){for(var e=t.length,n=t.concat();--e>-1;)"{self}"===t[e]&&(n[e]=this);return n},s._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},s.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=v(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},s.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},s.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},s.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},s.totalTime=function(t,e,n){if(u||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&J(),this.render(t,e,!1),N.length&&J())}return this},s.progress=s.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},s.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},s.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,n;for(t=t||d,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},s.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(u||t||l.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var O=b("core.SimpleTimeline",(function(t){P.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(s=O.prototype=new P).constructor=O,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(t,e,n,i){var r,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},s._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},s.rawTime=function(){return u||l.wake(),this._totalTime};var E=b("TweenLite",(function(e,n,i){if(P.call(this,n,i),this.render=E.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:E.selector(e)||e;var r,o,a,s=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?$[E.defaultOverwrite]:"number"==typeof l?l>>0:$[l],(s||e instanceof Array||e.push&&v(e))&&"number"!=typeof e[0])for(this._targets=a=g(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(o=a[r])?"string"!=typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(g(o))):(this._siblings[r]=Q(o,this,!1),1===l&&this._siblings[r].length>1&&et(o,this,null,1,this._siblings[r])):"string"==typeof(o=a[r--]=E.selector(o))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=Q(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))}),!0),R=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(s=E.prototype=new P).constructor=E,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,E.version="2.0.2",E.defaultEase=s._ease=new S(null,null,1,1),E.defaultOverwrite="auto",E.ticker=l,E.autoSleep=120,E.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},E.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(E.selector=n,n(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var N=[],F={},B=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,V=function(t){for(var e,n=this._firstPT,i=1e-6;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<i&&e>-i&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},j=function(t,e,n,i){var r,o,a,s,l,u,h,c=[],p=0,f="",d=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",n&&(n(c),t=c[0],e=c[1]),c.length=0,r=t.match(B)||[],o=e.match(B)||[],i&&(i._next=null,i.blob=1,c._firstPT=c._applyPT=i),l=o.length,s=0;s<l;s++)h=o[s],f+=(u=e.substr(p,e.indexOf(h,p)-p))||!s?u:",",p+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),h===r[s]||r.length<=s?f+=h:(f&&(c.push(f),f=""),a=parseFloat(r[s]),c.push(a),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:a,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-a)||0,f:0,m:d&&d<4?Math.round:0}),p+=h.length;return(f+=e.substr(p))&&c.push(f),c.setRatio=V,z.test(e)&&(c.end=null),c},G=function(t,e,n,i,r,o,a,s,l){"function"==typeof i&&(i=i(l||0,t));var u=typeof t[e],h="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),c="get"!==n?n:h?a?t[h](a):t[h]():t[e],p="str
1ing"==typeof i&&"="===i.charAt(1),f={t:t,p:e,s:c,f:"function"===u,pg:0,n:r||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-c||0};if(("number"!=typeof c||"number"!=typeof i&&!p)&&(a||isNaN(c)||!p&&isNaN(i)||"boolean"==typeof c||"boolean"==typeof i?(f.fp=a,f={t:j(c,p?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):i,s||E.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(f.s=parseFloat(c),p||(f.c=parseFloat(i)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},H=E._internals={isArray:v,isSelector:R,lazyTweens:N,blobDif:j},W=E._plugins={},Z=H.tweenLookup={},U=0,X=H.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},$={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Y=P._rootFramesTimeline=new O,q=P._rootTimeline=new O,K=30,J=H.lazyRender=function(){var t,e=N.length;for(F={};--e>-1;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};q._startTime=l.time,Y._startTime=l.frame,q._active=Y._active=!0,setTimeout(J,1),P._updateRoot=E.render=function(){var t,e,n;if(N.length&&J(),q.render((l.time-q._startTime)*q._timeScale,!1,!1),Y.render((l.frame-Y._startTime)*Y._timeScale,!1,!1),N.length&&J(),l.frame>=K){for(n in K=l.frame+(parseInt(E.autoSleep,10)||120),Z){for(t=(e=Z[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Z[n]}if((!(n=q._first)||n._paused)&&E.autoSleep&&!Y._first&&1===l._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||l.sleep()}}},l.addEventListener("tick",P._updateRoot);var Q=function(t,e,n){var i,r,o=t._gsTweenID;if(Z[o||(t._gsTweenID=o="t"+U++)]||(Z[o]={target:t,tweens:[]}),e&&((i=Z[o].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return Z[o].tweens},tt=function(t,e,n,i){var r,o,a=t.vars.onOverwrite;return a&&(r=a(t,e,n,i)),(a=E.onOverwrite)&&(o=a(t,e,n,i)),!1!==r&&!1!==o},et=function(t,e,n,i,r){var o,a,s,l;if(1===i||i>=4){for(l=r.length,o=0;o<l;o++)if((s=r[o])!==e)s._gc||s._kill(null,t,e)&&(a=!0);else if(5===i)break;return a}var u,h=e._startTime+d,c=[],p=0,f=0===e._duration;for(o=r.length;--o>-1;)(s=r[o])===e||s._gc||s._paused||(s._timeline!==e._timeline?(u=u||nt(e,0,f),0===nt(s,u,f)&&(c[p++]=s)):s._startTime<=h&&s._startTime+s.totalDuration()/s._timeScale>h&&((f||!s._initted)&&h-s._startTime<=2e-10||(c[p++]=s)));for(o=p;--o>-1;)if(l=(s=c[o])._firstPT,2===i&&s._kill(n,t,e)&&(a=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!tt(s,e))continue;s._enabled(!1,!1)&&(a=!0)}return a},nt=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>e?o-e:n&&o===e||!t._initted&&o-e<2e-10?d:(o+=t.totalDuration()/t._timeScale/r)>e+d?0:o-e-d};s._init=function(){var t,e,n,i,r,o,a=this.vars,s=this._overwrittenProps,l=this._duration,u=!!a.immediateRender,h=a.ease;if(a.startAt){for(i in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},a.startAt)r[i]=a.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=E.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},a)X[i]&&"autoCSS"!==i||(n[i]=a[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==a.lazy,n.immediateRender=u,this._startAt=E.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof S?h:"function"==typeof h?new S(h,a.easeParams):M[h]||E.defaultEase:E.defaultEase,a.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t<o;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s,0);if(e&&E._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=a.onUpdate,this._initted=!0}
vendor: 6,172 bytes, line 1
1,s._initProps=function(e,n,i,r,o){var a,s,l,u,h,c;if(null==e)return!1;for(a in F[e._gsTweenID]&&J(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var n,i={};for(n in t)X[n]||n in e&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!W[n]||W[n]&&W[n]._autoCSS)||(i[n]=t[n],delete t[n]);t.css=i}(this.vars,e),this.vars)if(c=this.vars[a],X[a])c&&(c instanceof Array||c.push&&v(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[a]=c=this._swapSelfInParams(c,this));else if(W[a]&&(u=new W[a])._onInitTween(e,this.vars[a],this,o)){for(this._firstPT=h={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:u._priority,m:0},s=u._overwriteProps.length;--s>-1;)n[u._overwriteProps[s]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else n[a]=G.call(this,e,a,"get",c,a,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&et(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},s.render=function(t,e,n){var i,r,o,a,s=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-7||u===d&&"isPause"!==this.data)&&u!==t&&(n=!0,u>d&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||u===t?t:d);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(u!==d||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=a=!e||t||u===t?t:d)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/l,c=this._easeType,p=this._easePower;(1===c||3===c&&h>=.5)&&(h=1-h),3===c&&(h*=2),1===p?h*=h:2===p?h*=h*h:3===p?h*=h*h*h:4===p&&(h*=h*h*h*h),this.ratio=1===c?1-h:2===c?h:t/l<.5?h/2:1-h/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==s||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=s,this._rawPrevTime=u,N.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==s&&t>=0&&(this._active=!0),0===s&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==s||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&this._rawPrevTime===d&&a!==d&&(this._rawPrevTime=0)))}},s._kill=function(t,e,n){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:E.selector(e)||e;var i,r,o,a,s,l,u,h,c,p=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,f=this._firstPT;if((v(e)||R(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;s=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(s){if(u=t||s,h=t!==r&&"all"!==r&&t!==s&&("object"!=typeof t||!t._tempKill),n&&(E.onOverwrite||this.vars.onOverwrite)){for(o in u)s[o]&&(c||(c=[]),c.push(o));if((c||!t)&&!tt(this,n,e,c))return!1}for(o in u)(a=s[o])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(u)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete s[o]),h&&(r[o]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},s.invalidate=function(){return this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],P.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},s._enabled=function(t,e){if(u||l.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=Q(i[n],this,!0);else this._siblings=Q(this.target,this,!0)}return P.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&E._onPluginEvent(t?"_onEnable":"_onDisable",this)},E.to=function(t,e,n){return new E(t,e,n)},E.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new E(t,e,n)},E.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new E(t,e,i)},E.delayedCall=function(t,e,n,i,r){return new E(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},E.set=function(t,e){return new E(t,0,e)},E.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;
vendor: 4,419 bytes, line 1
1if(t="string"!=typeof t?t:E.selector(t)||t,(v(t)||R(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(E.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=Q(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},E.killTweensOf=E.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=E.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var it=b("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype}),!0);if(s=it.prototype,it.version="1.19.0",it.API=2,s._firstPT=null,s._addTween=G,s.setRatio=V,s._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},s._mod=s._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},E._onPluginEvent=function(t,e){var n,i,r,o,a,s=e._firstPT;if("_onInitAllProps"===t){for(;s;){for(a=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:o=s,s=a}s=e._firstPT=r}for(;s;)s.pg&&"function"==typeof s.t[t]&&s.t[t]()&&(n=!0),s=s._next;return n},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(W[(new t[e])._propName]=t[e]);return!0},x.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",(function(){it.call(this,n,i),this._overwriteProps=r||[]}),!0===t.global),s=a.prototype=new it(n);for(e in s.constructor=a,a.API=t.API,o)"function"==typeof t[e]&&(s[o[e]]=t[e]);return a.version=t.version,it.activate([a]),a},o=t._gsQueue){for(a=0;a<o.length;a++)o[a]();for(s in y)y[s].func||t.console.log("GSAP encountered missing dependency: "+s)}return u=!1,E}(i),o=i.GreenSockGlobals,a=o.com.greensock,s=a.core.SimpleTimeline,l=a.core.Animation,u=o.Ease,h=o.Linear,c=h,p=o.Power1,f=o.Power2,d=o.Power3,g=o.Power4,m=o.TweenPlugin;a.events.EventDispatcher},1100:function(t,e,n){"use strict";n.d(e,{Q3:function(){return m}});var i=n(5957);i.ML._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},n=function(t,e,r){i.ZP.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=n.prototype.render},r=1e-10,o=i.ZP._internals,a=o.isSelector,s=o.isArray,l=n.prototype=i.ZP.to({},.1,{}),u=[];n.version="2.0.2",l.constructor=n,l.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=i.ZP.killTweensOf,n.getTweensOf=i.ZP.getTweensOf,n.lagSmoothing=i.ZP.lagSmoothing,n.ticker=i.ZP.ticker,n.render=i.ZP.render,l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.ZP.prototype.invalidate.call(this)},l.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[n]=t[n];if(this._initted||o)if(e)this._initted=!1,o&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i.ZP._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var s,l=1/(1-r),u=this._firstPT;u;
1)s=u.s+u.c,u.c*=l,u.s=s-u.c,u=u._next;return this},l.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var a,s,l,u,h,c,p,f,d,g=this._dirty?this.totalDuration():this._totalDuration,m=this._time,v=this._totalTime,y=this._cycle,_=this._duration,x=this._rawPrevTime;if(t>=g-1e-7&&t>=0?(this._totalTime=g,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=_,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(a=!0,s="onComplete",n=n||this._timeline.autoRemoveChildren),0===_&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(x<0||t<=0&&t>=-1e-7||x===r&&"isPause"!==this.data)&&x!==t&&(n=!0,x>r&&(s="onReverseComplete")),this._rawPrevTime=f=!e||t||x===t?t:r)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==v||0===_&&x>0)&&(s="onReverseComplete",a=this._reversed),t<0&&(this._active=!1,0===_&&(this._initted||!this.vars.lazy||n)&&(x>=0&&(n=!0),this._rawPrevTime=f=!e||t||x===t?t:r)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(u=_+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&v<=t&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time,(d=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==d||this._initted?this._yoyoEase=d=!0===d?this._ease:d instanceof i.SX?d:i.SX.map[d]:(d=this.vars.ease,this._yoyoEase=d=d?d instanceof i.SX?d:"function"==typeof d?new i.SX(d,this.vars.easeParams):i.SX.map[d]||i.ZP.defaultEase:i.ZP.defaultEase)),this.ratio=d?1-d.getRatio((_-this._time)/_):0)),this._time>_?this._time=_:this._time<0&&(this._time=0)),this._easeType&&!d?(h=this._time/_,(1===(c=this._easeType)||3===c&&h>=.5)&&(h=1-h),3===c&&(h*=2),1===(p=this._easePower)?h*=h:2===p?h*=h*h:3===p?h*=h*h*h:4===p&&(h*=h*h*h*h),1===c?this.ratio=1-h:2===c?this.ratio=h:this._time/_<.5?this.ratio=h/2:this.ratio=1-h/2):d||(this.ratio=this._ease.getRatio(this._time/_))),m!==this._time||n||y!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=v,this._rawPrevTime=x,this._cycle=y,o.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||a||d?a&&this._ease._calcEnd&&!d&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/_)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===v&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==_||e||this._callback("onStart"))),l=this._firstPT;l;)l.f?l.t[l.p](l.c*this.ratio+l.s):l.t[l.p]=l.c*this.ratio+l.s,l=l._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==v||s)&&this._callback("onUpdate")),this._cycle!==y&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),a&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===_&&this._rawPrevTime===r&&f!==r&&(this._rawPrevTime=0)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},n.to=function(t,e,i){return new n(t,e,i)},n.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new n(t,e,i)},n.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new n(t,e,r)},n.staggerTo=n.allTo=function(r,o,l,h,c,p,f){h=h||0;var d,g,m,v,y=0,_=[],x=function(){l.onComplete&&l.onComplete.apply(l.onCompleteScope||this,arguments),c.apply(f||l.callbackScope||this,p||u)},b=l.cycle,w=l.startAt&&l.startAt.cycle;for(s(r)||("string"==typeof r&&(r=i.ZP.selector(r)||r),a(r)&&(r=t(r))),r=r||[],h<0&&((r=t(r)).reverse(),h*=-1),d=r.length-1,m=0;m<=d;m++){for(v in g={},l)g[v]=l[v];
1if(b&&(e(g,r,m),null!=g.duration&&(o=g.duration,delete g.duration)),w){for(v in w=g.startAt={},l.startAt)w[v]=l.startAt[v];e(g.startAt,r,m)}g.delay=y+(g.delay||0),m===d&&c&&(g.onComplete=x),_[m]=new n(r[m],o,g),y+=h}return _},n.staggerFrom=n.allFrom=function(t,e,i,r,o,a,s){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,r,o,a,s)},n.staggerFromTo=n.allFromTo=function(t,e,i,r,o,a,s,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,r,o,a,s,l)},n.delayedCall=function(t,e,i,r,o){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return i.ZP.getTweensOf(t,!0).length>0};var h=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i.ZP?n[r++]=o:(e&&(n[r++]=o),r=(n=n.concat(h(o,e))).length),o=o._next;return n},c=n.getAllTweens=function(t){return h(i.fw._rootTimeline,t).concat(h(i.fw._rootFramesTimeline,t))};n.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var o,a,s,l=c(0!=r),u=l.length,h=e&&n&&r;for(s=0;s<u;s++)a=l[s],(h||a instanceof i.MQ||(o=a.target===a.vars.onComplete)&&n||e&&!o)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},n.killChildTweensOf=function(e,r){if(null!=e){var l,u,h,c,p,f=o.tweenLookup;if("string"==typeof e&&(e=i.ZP.selector(e)||e),a(e)&&(e=t(e)),s(e))for(c=e.length;--c>-1;)n.killChildTweensOf(e[c],r);else{for(h in l=[],f)for(u=f[h].target.parentNode;u;)u===e&&(l=l.concat(f[h].tweens)),u=u.parentNode;for(p=l.length,c=0;c<p;c++)r&&l[c].totalTime(l[c].totalDuration()),l[c]._enabled(!1,!1)}}};var p=function(t,e,n,r){e=!1!==e,n=!1!==n;for(var o,a,s=c(r=!1!==r),l=e&&n&&r,u=s.length;--u>-1;)a=s[u],(l||a instanceof i.MQ||(o=a.target===a.vars.onComplete)&&n||e&&!o)&&a.paused(t)};return n.pauseAll=function(t,e,n){p(!0,t,e,n)},n.resumeAll=function(t,e,n){p(!1,t,e,n)},n.globalTimeScale=function(t){var e=i.fw._rootTimeline,n=i.ZP.ticker.time;return arguments.length?(t=t||r,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.fw._rootFramesTimeline,n=i.ZP.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.fw._rootTimeline._timeScale=t,t):e._timeScale},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.duration=function(t){return arguments.length?i.fw.prototype.duration.call(this,t):this._duration},l.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n}),!0);var r=i.li.TweenMax,o=n(9975),a=n(5947),s=i.ML._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),l=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},h=s.prototype;h._onInitAllProps=function(){var t,e,n,i,r=this._tween,o=r.vars.roundProps,a={},s=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)a[o[n]]=Math.round;else for(i in o)a[i]=l(o[i]);for(i in a)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===i&&(2===t.f&&t.t?u(t.t._firstPT,a[i]):(this._add(t.t,i,t.s,t.c,a[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=s)),t=e;return!1},h._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)};var c=i.ML._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,a,s,l,u,h=!0===e.useRadians?2*Math.PI:360,c=1e-6;for(r in e)"useRadians"!==r&&("function"==typeof(s=e[r])&&(s=s(i,t)),o=(u=(s+"").split("_"))[0],a=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(s=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?a+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-a,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=h)!==l%(h/2)&&(l=l<0?l+h:l-h),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*h)%h-(l/h|0)*h:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*h)%h-(l/h|0)*h)),(l>c||l<-c)&&(this._addTween(t,r,a,a+l,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});c._autoCSS=!0;var p=n(4743),f=n(3794),d=n(5033),g=n(3441),m=r;m._autoActivated=[p.Z,f.ZP,o.Z,a.C,d.Z,s,c,g.eJ,g.tQ,g.sm,g.l6,g.Dd,g.NB,g.zO,g.Au,g.Yv,g.$p]},8234:function(t,e,n){"undefined"!=typeof navigator&&(t.exports=function(){"use strict";var t="http://www.w3.org/2000/svg",i="",r=!1,o=-999999,a=function(t){r=!!t},s=function(){return r},l=function(t){i=t},u=function(){return i};function h(t){return document.createElement(t)}function c(t,e){var n,i,r=t.length;for(n=0;n<r;n+=1)for(var o in i=t[n].prototype)Object.prototype.hasOwnProperty.call(i,o)&&(e.prototype[o]=i[o])}function p(t){function e(){}return e.prototype=t,e}var f=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,n=this.audios.length;for(e=0;e<n;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),d=function(){function t(t,e){var n,i=0,r=[];switch(t){case"int16":case"uint8c":n=1;break;default:n=1.1}for(i=0;i<e;i+=1)r.push(n);return r}function e(e,n){return"float32"===e?new Float32Array(n):"int16"===e?new Int16Array(n):"uint8c"===e?new Uint8ClampedArray(n):t(e,n)}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?e:t}();function g(t){return Array.apply(null,{length:t})}function m(t){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(t)}
vendor: 4,089 bytes, line 1
1var v=!0,y=null,_=null,x="",b=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=Math.pow,S=Math.sqrt,M=Math.floor,T=(Math.max,Math.min),C={};(function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],n=e.length;for(t=0;t<n;t+=1)C[e[t]]=Math[e[t]]})(),C.random=Math.random,C.abs=function(t){if("object"===m(t)&&t.length){var e,n=g(t.length),i=t.length;for(e=0;e<i;e+=1)n[e]=Math.abs(t[e]);return n}return Math.abs(t)};var A=150,I=Math.PI/180,D=.5519;function k(t){}function P(t,e,n,i){this.type=t,this.currentTime=e,this.totalTime=n,this.direction=i<0?-1:1}function L(t,e){this.type=t,this.direction=e<0?-1:1}function O(t,e,n,i){this.type=t,this.currentLoop=n,this.totalLoops=e,this.direction=i<0?-1:1}function E(t,e,n){this.type=t,this.firstFrame=e,this.totalFrames=n}function R(t,e){this.type=t,this.target=e}function N(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function F(t){this.type="configError",this.nativeError=t}var B,z=(B=0,function(){return x+"__lottie_element_"+(B+=1)});function V(t,e,n){var i,r,o,a,s,l,u,h;switch(l=n*(1-e),u=n*(1-(s=6*t-(a=Math.floor(6*t)))*e),h=n*(1-(1-s)*e),a%6){case 0:i=n,r=h,o=l;break;case 1:i=u,r=n,o=l;break;case 2:i=l,r=n,o=h;break;case 3:i=l,r=u,o=n;break;case 4:i=h,r=l,o=n;break;case 5:i=n,r=l,o=u}return[i,r,o]}function j(t,e,n){var i,r=Math.max(t,e,n),o=Math.min(t,e,n),a=r-o,s=0===r?0:a/r,l=r/255;switch(r){case o:i=0;break;case t:i=e-n+a*(e<n?6:0),i/=6*a;break;case e:i=n-t+2*a,i/=6*a;break;case n:i=t-e+4*a,i/=6*a}return[i,s,l]}function G(t,e){var n=j(255*t[0],255*t[1],255*t[2]);return n[1]+=e,n[1]>1?n[1]=1:n[1]<=0&&(n[1]=0),V(n[0],n[1],n[2])}function H(t,e){var n=j(255*t[0],255*t[1],255*t[2]);return n[2]+=e,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),V(n[0],n[1],n[2])}function W(t,e){var n=j(255*t[0],255*t[1],255*t[2]);return n[0]+=e/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),V(n[0],n[1],n[2])}!function(){var t,e,n=[];for(t=0;t<256;t+=1)e=t.toString(16),n[t]=1===e.length?"0"+e:e}();var Z=function(t){v=!!t},U=function(){return v},X=function(t){y=t},$=function(){return y},Y=function(){return _},q=function(t){A=t},K=function(){return A},J=function(t){x=t};function Q(e){return document.createElementNS(t,e)}function tt(t){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},tt(t)}var et=function(){var t,e,n=1,i=[],r={onmessage:function(){},postMessage:function(e){t({data:e})}},o={postMessage:function(t){r.onmessage({data:t})}};function a(e){if(window.Worker&&window.Blob&&s()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),i=URL.createObjectURL(n);return new Worker(i)}return t=e,r}function l(){e||(e=a((function(t){function e(){function t(e,n){var a,s,l,u,h,c,p=e.length;for(s=0;s<p;s+=1)if("ks"in(a=e[s])&&!a.completed){if(a.completed=!0,a.hasMask){var f=a.masksProperties;for(u=f.length,l=0;l<u;l+=1)if(f[l].pt.k.i)o(f[l].pt.k);else for(c=f[l].pt.k.length,h=0;h<c;h+=1)f[l].pt.k[h].s&&o(f[l].pt.k[h].s[0]),f[l].pt.k[h].e&&o(f[l].pt.k[h].e[0])}0===a.ty?(a.layers=i(a.refId,n),t(a.layers,n)):4===a.ty?r(a.shapes):5===a.ty&&d(a)}}function e(e,n){if(e){var r=0,o=e.length;for(r=0;r<o;r+=1)1===e[r].t&&(e[r].data.layers=i(e[r].data.refId,n),t(e[r].data.layers,n))}}function n(t,e){for(var n=0,i=e.length;n<i;){if(e[n].id===t)return e[n];n+=1}return null}function i(t,e){var i=n(t,e);return i?i.layers.__used?JSON.parse(JSON.stringify(i.layers)):(i.layers.__used=!0,i.layers):null}function r(t){var e,n,i;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)o(t[e].ks.k);else for(i=t[e].ks.k.length,n=0;n<i;n+=1)t[e].ks.k[n].s&&o(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&o(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}
vendor: 9,452 bytes, line 1
1function o(t){var e,n=t.i.length;for(e=0;e<n;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var n=e?e.split("."):[100,100,100];return t[0]>n[0]||!(n[0]>t[0])&&(t[1]>n[1]||!(n[1]>t[1])&&(t[2]>n[2]||!(n[2]>t[2])&&null))}var s,l=function(){var t=[4,4,14];function e(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),u=(s=[4,7,99],function(t){if(t.chars&&!a(s,t.v)){var e,n=t.chars.length;for(e=0;e<n;e+=1){var i=t.chars[e];i.data&&i.data.shapes&&(r(i.data.shapes),i.data.ip=0,i.data.op=99999,i.data.st=0,i.data.sr=1,i.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(i.data.shapes.push({ty:"no"}),i.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),h=function(){var t=[5,7,15];function e(t){var e=t.t.p;"number"==typeof e.a&&(e.a={a:0,k:e.a}),"number"==typeof e.p&&(e.p={a:0,k:e.p}),"number"==typeof e.r&&(e.r={a:0,k:e.r})}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)5===t[n].ty&&e(t[n])}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var n,i,r,o=t.length;for(n=0;n<o;n+=1)if("gr"===t[n].ty)e(t[n].it);else if("fl"===t[n].ty||"st"===t[n].ty)if(t[n].c.k&&t[n].c.k[0].i)for(r=t[n].c.k.length,i=0;i<r;i+=1)t[n].c.k[i].s&&(t[n].c.k[i].s[0]/=255,t[n].c.k[i].s[1]/=255,t[n].c.k[i].s[2]/=255,t[n].c.k[i].s[3]/=255),t[n].c.k[i].e&&(t[n].c.k[i].e[0]/=255,t[n].c.k[i].e[1]/=255,t[n].c.k[i].e[2]/=255,t[n].c.k[i].e[3]/=255);else t[n].c.k[0]/=255,t[n].c.k[1]/=255,t[n].c.k[2]/=255,t[n].c.k[3]/=255}function n(t){var n,i=t.length;for(n=0;n<i;n+=1)4===t[n].ty&&e(t[n].shapes)}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var n,i,r;for(n=t.length-1;n>=0;n-=1)if("sh"===t[n].ty)if(t[n].ks.k.i)t[n].ks.k.c=t[n].closed;else for(r=t[n].ks.k.length,i=0;i<r;i+=1)t[n].ks.k[i].s&&(t[n].ks.k[i].s[0].c=t[n].closed),t[n].ks.k[i].e&&(t[n].ks.k[i].e[0].c=t[n].closed);else"gr"===t[n].ty&&e(t[n].it)}function n(t){var n,i,r,o,a,s,l=t.length;for(i=0;i<l;i+=1){if((n=t[i]).hasMask){var u=n.masksProperties;for(o=u.length,r=0;r<o;r+=1)if(u[r].pt.k.i)u[r].pt.k.c=u[r].cl;else for(s=u[r].pt.k.length,a=0;a<s;a+=1)u[r].pt.k[a].s&&(u[r].pt.k[a].s[0].c=u[r].cl),u[r].pt.k[a].e&&(u[r].pt.k[a].e[0].c=u[r].cl)}4===n.ty&&e(n.shapes)}}return function(e){if(a(t,e.v)&&(n(e.layers),e.assets)){var i,r=e.assets.length;for(i=0;i<r;i+=1)e.assets[i].layers&&n(e.assets[i].layers)}}}();function f(n){n.__complete||(c(n),l(n),u(n),h(n),p(n),t(n.layers,n.assets),e(n.chars,n.assets),n.__complete=!0)}function d(t){0===t.t.a.length&&t.t.p}var g={};return g.completeData=f,g.checkColors=c,g.checkChars=u,g.checkPathProperties=h,g.checkShapes=p,g.completeLayers=t,g}if(o.dataManager||(o.dataManager=e()),o.assetLoader||(o.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===tt(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}function e(e,n,i,r){var o,a=new XMLHttpRequest;try{a.responseType="json"}catch(t){}a.onreadystatechange=function(){if(4===a.readyState)if(200===a.status)o=t(a),i(o);else try{o=t(a),i(o)}catch(t){r&&r(t)}};try{a.open(["G","E","T"].join(""),e,!0)}catch(t){a.open(["G","E","T"].join(""),n+"/"+e,!0)}a.send()}return{load:e}}()),"loadAnimation"===t.data.type)o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.dataManager.completeData(e),o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var n=t.data.animation;o.dataManager.completeData(n),o.postMessage({id:t.data.id,payload:n,status:"success"})}else"loadData"===t.data.type&&o.assetLoader.load(t.data.path,t.data.fullPath,(function(e){o.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){o.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,n=e.id,r=i[n];i[n]=null,"success"===e.status?r.onComplete(e.payload):r.onError&&r.onError()})}function u(t,e){var r="processId_"+(n+=1);return i[r]={onComplete:t,onError:e},r}function h(t,n,i){l();var r=u(n,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function c(t,n,i){l();var r=u(n,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:r})}function p(t,n,i){l();var r=u(n,i);e.postMessage({type:"complete",animation:t,id:r})}return{loadAnimation:h,loadData:c,completeAnimation:p}}(),nt=function(){var t=function(){var t=h("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,n){var i="";if(t.e)i=t.p;else if(e){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),i=e+r}else i=n,i+=t.u?t.u:"",i+=t.p;return i}function r(t){var e=0,n=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(n)),e+=1}.bind(this),50)}function o(e){var n=i(e,this.assetsPath,this.path),r=Q("image");b?this.testImageLoaded(r):r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.setAttributeNS("http://www.w3.org/1999/xlink","href",n),this._elementHelper.append?this._elementHelper.append(r):this._elementHelper.appendChild(r);var o={img:r,assetData:e};return o}function a(e){var n=i(e,this.assetsPath,this.path),r=h("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded,!1),r.addEventListener("error",function(){o.img=t,this._imageLoaded()}.bind(this),!1),r.src=n;var o={img:r,assetData:e};return o}function s(t){var e={assetData:t},n=i(t,this.assetsPath,this.path);return et.loadData(n,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function l(t,e){var n;this.imagesLoadedCb=e;var i=t.length;for(n=0;n<i;n+=1)t[n].layers||(t[n].t&&"seq"!==t[n].t?3===t[n].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[n]))):(this.totalImages+=1,this.images.push(this._createImageData(t[n]))))}function u(t){this.path=t||""}function c(t){this.assetsPath=t||""}function p(t){for(var e=0,n=this.images.length;e<n;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function d(){return this.totalImages===this.loadedAssets}function g(){return this.totalFootages===this.loadedFootagesCount}function m(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function v(){this._imageLoaded=e.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return v.prototype={loadAssets:l,setAssetsPath:c,setPath:u,loadedImages:d,loadedFootages:g,destroy:f,getAsset:p,createImgData:a,createImageData:o,imageLoaded:e,footageLoaded:n,setCacheType:m},v}();function it(){}it.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var n=this._cbs[t],i=0;i<n.length;i+=1)n[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var n=0,i=this._cbs[t].length;n<i;)this._cbs[t][n]===e&&(this._cbs[t].splice(n,1),n-=1,i-=1),n+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var rt=function(){function t(t){for(var e,n=t.split("\r\n"),i={},r=0,o=0;o<n.length;o+=1)2===(e=n[o].split(":")).length&&(i[e[0]]=e[1].trim(),r+=1);if(0===r)throw new Error;return i}return function(e){for(var n=[],i=0;i<e.length;i+=1){var r=e[i],o={time:r.tm,duration:r.dr};try{o.payload=JSON.parse(e[i].cm)}catch(n){try{o.payload=t(e[i].cm)}catch(t){o.payload={name:e[i].cm}}}n.push(o)}return n}}(),ot=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,n=this.compositions.length;e<n;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),at={},st=function(t,e){at[t]=e};function lt(t){return at[t]}
vendor: 12,955 bytes, line 1
1function ut(){if(at.canvas)return"canvas";for(var t in at)if(at[t])return t;return""}function ht(t){return ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ht(t)}var ct=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=z(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=U(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ot(),this.imagePreloader=new nt,this.audioController=f(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new P("drawnFrame",0,0,0)};c([it],ct),ct.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var n=lt(e);this.renderer=new n(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),et.loadAnimation(t.path,this.configAnimation,this.onSetupError))},ct.prototype.onSetupError=function(){this.trigger("data_failed")},ct.prototype.setupAnimation=function(t){et.completeAnimation(t,this.configAnimation)},ct.prototype.setData=function(t,e){e&&"object"!==ht(e)&&(e=JSON.parse(e));var n={wrapper:t,animationData:e},i=t.attributes;n.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",n.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:ut()||"canvas";var r=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===r?n.loop=!1:"true"===r?n.loop=!0:""!==r&&(n.loop=parseInt(r,10));var o=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;n.autoplay="false"!==o,n.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(n.prerender=!1),n.path?this.setParams(n):this.trigger("destroy")},ct.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,n,i=this.animationData.layers,r=i.length,o=t.layers,a=o.length;for(n=0;n<a;n+=1)for(e=0;e<r;){if(i[e].id===o[n].id){i[e]=o[n];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,e=0;e<r;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,et.completeAnimation(this.animationData,this.onSegmentComplete)},ct.prototype.onSegmentComplete=function(t){this.animationData=t;var e=$();e&&e.initExpressions(this),this.loadNextSegment()},ct.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var n=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,et.loadData(n,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},ct.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},ct.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},ct.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},ct.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=rt(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},ct.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},ct.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=$();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},ct.prototype.resize=function(t,e){var n="number"==typeof t?t:void 0,i="number"==typeof e?e:void 0;this.renderer.updateContainerSize(n,i)},ct.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},ct.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},ct.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},ct.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},ct.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},ct.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},ct.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},ct.prototype.getMarkerData=function(t){for(var e,n=0;n<this.markers.length;n+=1)if((e=this.markers[n]).payload&&e.payload.name===t)return e;return null},ct.prototype.goToAndStop=function(t,e,n){if(!n||this.name===n){var i=Number(t);if(isNaN(i)){var r=this.getMarkerData(t);r&&this.goToAndStop(r.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},ct.prototype.goToAndPlay=function(t,e,n){if(!n||this.name===n){var i=Number(t);if(isNaN(i)){var r=this.getMarkerData(t);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(i,e,n);this.play()}},ct.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,n=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(n=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),n&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},ct.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},ct.prototype.setSegment=function(t,e){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?n=t:this.currentRawFrame+this.firstFrame>e&&(n=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},ct.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===ht(t[0])){var n,i=t.length;for(n=0;n<i;n+=1)this.segments.push(t[n])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},ct.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},ct.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},ct.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},ct.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},ct.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},ct.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},ct.prototype.setLoop=function(t){this.loop=t},ct.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},ct.prototype.getVolume=function(){return this.audioController.getVolume()},ct.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},ct.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},ct.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},ct.prototype.getPath=function(){return this.path},ct.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),e=this.assetsPath+n}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},ct.prototype.getAssetData=function(t){for(var e=0,n=this.assets.length;e<n;
vendor: 3,609 bytes, line 1
1){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},ct.prototype.hide=function(){this.renderer.hide()},ct.prototype.show=function(){this.renderer.show()},ct.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},ct.prototype.updateDocumentData=function(t,e,n){try{this.renderer.getElementByPath(t).updateDocumentData(e,n)}catch(t){}},ct.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new P(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new O(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new L(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new E(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new R(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new P(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new O(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new L(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new E(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new R(t,this))},ct.prototype.triggerRenderFrameError=function(t){var e=new N(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},ct.prototype.triggerConfigError=function(t){var e=new F(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var pt=function(){var t={},e=[],n=0,i=0,r=0,o=!0,a=!1;function s(t){for(var n=0,r=t.target;n<i;)e[n].animation===r&&(e.splice(n,1),n-=1,i-=1,r.isPaused||p()),n+=1}function l(t,n){if(!t)return null;for(var r=0;r<i;){if(e[r].elem===t&&null!==e[r].elem)return e[r].animation;r+=1}var o=new ct;return f(o,t),o.setData(t,n),o}function u(){var t,n=e.length,i=[];for(t=0;t<n;t+=1)i.push(e[t].animation);return i}function c(){r+=1,A()}function p(){r-=1}function f(t,n){t.addEventListener("destroy",s),t.addEventListener("_active",c),t.addEventListener("_idle",p),e.push({elem:n,animation:t}),i+=1}function d(t){var e=new ct;return f(e,null),e.setParams(t),e}function g(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setSpeed(t,n)}function m(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setDirection(t,n)}function v(t){var n;for(n=0;n<i;n+=1)e[n].animation.play(t)}function y(t){var s,l=t-n;for(s=0;s<i;s+=1)e[s].animation.advanceTime(l);n=t,r&&!a?window.requestAnimationFrame(y):o=!0}function _(t){n=t,window.requestAnimationFrame(y)}function x(t){var n;for(n=0;n<i;n+=1)e[n].animation.pause(t)}function b(t,n,r){var o;for(o=0;o<i;o+=1)e[o].animation.goToAndStop(t,n,r)}function w(t){var n;for(n=0;n<i;n+=1)e[n].animation.stop(t)}function S(t){var n;for(n=0;n<i;n+=1)e[n].animation.togglePause(t)}function M(t){var n;for(n=i-1;n>=0;n-=1)e[n].animation.destroy(t)}function T(t,e,n){var i,r=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=r.length;for(i=0;i<o;i+=1)n&&r[i].setAttribute("data-bm-type",n),l(r[i],t);if(e&&0===o){n||(n="svg");var a=document.getElementsByTagName("body")[0];a.innerText="";var s=h("div");
vendor: 3,339 bytes, line 1
1s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",n),a.appendChild(s),l(s,t)}}function C(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()}function A(){!a&&r&&o&&(window.requestAnimationFrame(_),o=!1)}function I(){a=!0}function D(){a=!1,A()}function k(t,n){var r;for(r=0;r<i;r+=1)e[r].animation.setVolume(t,n)}function P(t){var n;for(n=0;n<i;n+=1)e[n].animation.mute(t)}function L(t){var n;for(n=0;n<i;n+=1)e[n].animation.unmute(t)}return t.registerAnimation=l,t.loadAnimation=d,t.setSpeed=g,t.setDirection=m,t.play=v,t.pause=x,t.stop=w,t.togglePause=S,t.searchAnimations=T,t.resize=C,t.goToAndStop=b,t.destroy=M,t.freeze=I,t.unfreeze=D,t.setVolume=k,t.mute=P,t.unmute=L,t.getRegisteredAnimations=u,t}(),ft=function(){var t={};t.getBezierEasing=n;var e={};function n(t,n,i,r,o){var a=o||("bez_"+t+"_"+n+"_"+i+"_"+r).replace(/\./g,"p");if(e[a])return e[a];var s=new v([t,n,i,r]);return e[a]=s,s}var i=4,r=.001,o=1e-7,a=10,s=11,l=1/(s-1),u="function"==typeof Float32Array;function h(t,e){return 1-3*e+3*t}function c(t,e){return 3*e-6*t}function p(t){return 3*t}function f(t,e,n){return((h(e,n)*t+c(e,n))*t+p(e))*t}function d(t,e,n){return 3*h(e,n)*t*t+2*c(e,n)*t+p(e)}function g(t,e,n,i,r){var s,l,u=0;do{(s=f(l=e+(n-e)/2,i,r)-t)>0?n=l:e=l}while(Math.abs(s)>o&&++u<a);return l}function m(t,e,n,r){for(var o=0;o<i;++o){var a=d(e,n,r);if(0===a)return e;e-=(f(e,n,r)-t)/a}return e}function v(t){this._p=t,this._mSampleValues=u?new Float32Array(s):new Array(s),this._precomputed=!1,this.get=this.get.bind(this)}return v.prototype={get:function(t){var e=this._p[0],n=this._p[1],i=this._p[2],r=this._p[3];return this._precomputed||this._precompute(),e===n&&i===r?t:0===t?0:1===t?1:f(this._getTForX(t),n,r)},_precompute:function(){var t=this._p[0],e=this._p[1],n=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&n===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],n=0;n<s;++n)this._mSampleValues[n]=f(n*l,t,e)},_getTForX:function(t){for(var e=this._p[0],n=this._p[2],i=this._mSampleValues,o=0,a=1,u=s-1;a!==u&&i[a]<=t;++a)o+=l;var h=o+(t-i[--a])/(i[a+1]-i[a])*l,c=d(h,e,n);return c>=r?m(t,h,e,n):0===c?h:g(t,o,o+l,e,n)}},t}(),dt=function(){function t(t){return t.concat(g(t.length))}return{double:t}}(),gt=function(t,e,n){var i=0,r=t,o=g(r);function a(){return i?o[i-=1]:e()}function s(t){i===r&&(o=dt.double(o),r*=2),n&&n(t),o[i]=t,i+=1}return{newElement:a,release:s}},mt=function(){function t(){return{addedLength:0,percents:d("float32",K()),lengths:d("float32",K())}}return gt(8,t)}(),vt=function(){function t(){return{lengths:[],totalLength:0}}function e(t){var e,n=t.lengths.length;for(e=0;e<n;e+=1)mt.release(t.lengths[e]);t.lengths.length=0}return gt(8,t,e)}();function yt(){var t=Math;function e(t,e,n,i,r,o){var a=t*i+e*r+n*o-r*i-o*t-n*e;return a>-.001&&a<.001}function n(n,i,r,o,a,s,l,u,h){if(0===r&&0===s&&0===h)return e(n,i,o,a,l,u);var c,p=t.sqrt(t.pow(o-n,2)+t.pow(a-i,2)+t.pow(s-r,2)),f=t.sqrt(t.pow(l-n,2)+t.pow(u-i,2)+t.pow(h-r,2)),d=t.sqrt(t.pow(l-o,2)+t.pow(u-a,2)+t.pow(h-s,2));return(c=p>f?p>d?p-f-d:d-f-p:d>f?d-f-p:f-p-d)>-1e-4&&c<1e-4}var i=function(t,e,n,i){var r,o,a,s,l,u,h=K(),c=0,p=[],f=[],d=mt.newElement();for(a=n.length,r=0;r<h;r+=1){for(l=r/(h-1),u=0,o=0;o<a;o+=1)s=w(1-l,3)*t[o]+3*w(1-l,2)*l*n[o]+3*(1-l)*w(l,2)*i[o]+w(l,3)*e[o],p[o]=s,null!==f[o
vendor: 9,899 bytes, line 1
1]&&(u+=w(p[o]-f[o],2)),f[o]=p[o];u&&(c+=u=S(u)),d.percents[r]=l,d.lengths[r]=c}return d.addedLength=c,d};function r(t){var e,n=vt.newElement(),r=t.c,o=t.v,a=t.o,s=t.i,l=t._length,u=n.lengths,h=0;for(e=0;e<l-1;e+=1)u[e]=i(o[e],o[e+1],a[e],s[e+1]),h+=u[e].addedLength;return r&&l&&(u[e]=i(o[e],o[0],a[e],s[0]),h+=u[e].addedLength),n.totalLength=h,n}function o(t){this.segmentLength=0,this.points=new Array(t)}function a(t,e){this.partialLength=t,this.point=e}var s,l=(s={},function(t,n,i,r){var l=(t[0]+"_"+t[1]+"_"+n[0]+"_"+n[1]+"_"+i[0]+"_"+i[1]+"_"+r[0]+"_"+r[1]).replace(/\./g,"p");if(!s[l]){var u,h,c,p,f,d,m,v=K(),y=0,_=null;2===t.length&&(t[0]!==n[0]||t[1]!==n[1])&&e(t[0],t[1],n[0],n[1],t[0]+i[0],t[1]+i[1])&&e(t[0],t[1],n[0],n[1],n[0]+r[0],n[1]+r[1])&&(v=2);var x=new o(v);for(c=i.length,u=0;u<v;u+=1){for(m=g(c),f=u/(v-1),d=0,h=0;h<c;h+=1)p=w(1-f,3)*t[h]+3*w(1-f,2)*f*(t[h]+i[h])+3*(1-f)*w(f,2)*(n[h]+r[h])+w(f,3)*n[h],m[h]=p,null!==_&&(d+=w(m[h]-_[h],2));y+=d=S(d),x.points[u]=new a(d,m),_=m}x.segmentLength=y,s[l]=x}return s[l]});function u(t,e){var n=e.percents,i=e.lengths,r=n.length,o=M((r-1)*t),a=t*e.addedLength,s=0;if(o===r-1||0===o||a===i[o])return n[o];for(var l=i[o]>a?-1:1,u=!0;u;)if(i[o]<=a&&i[o+1]>a?(s=(a-i[o])/(i[o+1]-i[o]),u=!1):o+=l,o<0||o>=r-1){if(o===r-1)return n[o];u=!1}return n[o]+(n[o+1]-n[o])*s}function h(e,n,i,r,o,a){var s=u(o,a),l=1-s;return[t.round(1e3*(l*l*l*e[0]+(s*l*l+l*s*l+l*l*s)*i[0]+(s*s*l+l*s*s+s*l*s)*r[0]+s*s*s*n[0]))/1e3,t.round(1e3*(l*l*l*e[1]+(s*l*l+l*s*l+l*l*s)*i[1]+(s*s*l+l*s*s+s*l*s)*r[1]+s*s*s*n[1]))/1e3]}var c=d("float32",8);function p(e,n,i,r,o,a,s){o<0?o=0:o>1&&(o=1);var l,h=u(o,s),p=u(a=a>1?1:a,s),f=e.length,d=1-h,g=1-p,m=d*d*d,v=h*d*d*3,y=h*h*d*3,_=h*h*h,x=d*d*g,b=h*d*g+d*h*g+d*d*p,w=h*h*g+d*h*p+h*d*p,S=h*h*p,M=d*g*g,T=h*g*g+d*p*g+d*g*p,C=h*p*g+d*p*p+h*g*p,A=h*p*p,I=g*g*g,D=p*g*g+g*p*g+g*g*p,k=p*p*g+g*p*p+p*g*p,P=p*p*p;for(l=0;l<f;l+=1)c[4*l]=t.round(1e3*(m*e[l]+v*i[l]+y*r[l]+_*n[l]))/1e3,c[4*l+1]=t.round(1e3*(x*e[l]+b*i[l]+w*r[l]+S*n[l]))/1e3,c[4*l+2]=t.round(1e3*(M*e[l]+T*i[l]+C*r[l]+A*n[l]))/1e3,c[4*l+3]=t.round(1e3*(I*e[l]+D*i[l]+k*r[l]+P*n[l]))/1e3;return c}return{getSegmentsLength:r,getNewSegment:p,getPointInSegment:h,buildBezierData:l,pointOnLine2D:e,pointOnLine3D:n}}var _t=yt(),xt=o,bt=Math.abs;function wt(t,e){var n,i=this.offsetTime;"multidimensional"===this.propType&&(n=d("float32",this.pv.length));for(var r,o,a,s,l,u,h,c,p,f=e.lastIndex,g=f,m=this.keyframes.length-1,v=!0;v;){if(r=this.keyframes[g],o=this.keyframes[g+1],g===m-1&&t>=o.t-i){r.h&&(r=o),f=0;break}if(o.t-i>t){f=g;break}g<m-1?g+=1:(f=0,v=!1)}a=this.keyframesMetadata[g]||{};var y,_=o.t-i,x=r.t-i;if(r.to){a.bezierData||(a.bezierData=_t.buildBezierData(r.s,o.s||r.e,r.to,r.ti));var b=a.bezierData;if(t>=_||t<x){var w=t>=_?b.points.length-1:0;for(l=b.points[w].point.length,s=0;s<l;s+=1)n[s]=b.points[w].point[s]}else{a.__fnct?p=a.__fnct:(p=ft.getBezierEasing(r.o.x,r.o.y,r.i.x,r.i.y,r.n).get,a.__fnct=p),u=p((t-x)/(_-x));var S,M=b.segmentLength*u,T=e.lastFrame<t&&e._lastKeyframeIndex===g?e._lastAddedLength:0;for(c=e.lastFrame<t&&e._lastKeyframeIndex===g?e._lastPoint:0,v=!0,h=b.points.length;v;){if(T+=b.points[c].partialLength,0===M||0===u||c===b.points.length-1){for(l=b.points[c].point.length,s=0;s<l;s+=1)n[s]=b.points[c].point[s];break}if(M>=T&&M<T+b.points[c+1].partialLength){for(S=(M-T)/b.points[c+1].partialLength,l=b.points[c].point.length,s=0;s<l;s+=1)n[s]=b.points[c].point[s]+(b.points[c+1].point[s]-b.points[c].point[s])*S;break}c<h-1?c+=1:v=!1}e._lastPoint=c,e._lastAddedLength=T-b.points[c].partialLength,e._lastKeyframeIndex=g}}else{var C,A,I,D,k;if(m=r.s.length,y=o.s||r.e,this.sh&&1!==r.h)t>=_?(n[0]=y[0],n[1]=y[1],n[2]=y[2]):t<=x?(n[0]=r.s[0],n[1]=r.s[1],n[2]=r.s[2]):Mt(n,St(Tt(r.s),Tt(y),(t-x)/(_-x)));else for(g=0;g<m;g+=1)1!==r.h&&(t>=_?u=1:t<x?u=0:(r.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[g]?p=a.__fnct[g]:(C=void 0===r.o.x[g]?r.o.x[0]:r.o.x[g],A=void 0===r.o.y[g]?r.o.y[0]:r.o.y[g],I=void 0===r.i.x[g]?r.i.x[0]:r.i.x[g],D=void 0===r.i.y[g]?r.i.y[0]:r.i.y[g],p=ft.getBezierEasing(C,A,I,D).get,a.__fnct[g]=p)):a.__fnct?p=a.__fnct:(C=r.o.x,A=r.o.y,I=r.i.x,D=r.i.y,p=ft.getBezierEasing(C,A,I,D).get,r.keyframeMetadata=p),u=p((t-x)/(_-x)))),y=o.s||r.e,k=1===r.h?r.s[g]:r.s[g]+(y[g]-r.s[g])*u,"multidimensional"===this.propType?n[g]=k:n=k}return e.lastIndex=f,n}function St(t,e,n){var i,r,o,a,s,l=[],u=t[0],h=t[1],c=t[2],p=t[3],f=e[0],d=e[1],g=e[2],m=e[3];return(r=u*f+h*d+c*g+p*m)<0&&(r=-r,f=-f,d=-d,g=-g,m=-m),1-r>1e-6?(i=Math.acos(r),o=Math.sin(i),a=Math.sin((1-n)*i)/o,s=Math.sin(n*i)/o):(a=1-n,s=n),l[0]=a*u+s*f,l[1]=a*h+s*d,l[2]=a*c+s*g,l[3]=a*p+s*m,l}function Mt(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=Math.atan2(2*i*o-2*n*r,1-2*i*i-2*r*r),s=Math.asin(2*n*i+2*r*o),l=Math.atan2(2*n*o-2*i*r,1-2*n*n-2*r*r);t[0]=a/I,t[1]=s/I,t[2]=l/I}function Tt(t){var e=t[0]*I,n=t[1]*I,i=t[2]*I,r=Math.cos(e/2),o=Math.cos(n/2),a=Math.cos(i/2),s=Math.sin(e/2),l=Math.sin(n/2),u=Math.sin(i/2);return[s*l*a+r*o*u,s*o*a+r*l*u,r*l*a-s*o*u,r*o*a-s*l*u]}function Ct(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==xt&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function At(t){var e;if("unidimensional"===this.propType)e=t*this.mult,bt(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var n=0,i=this.v.length;n<i;)e=t[n]*this.mult,bt(this.v[n]-e)>1e-5&&(this.v[n]=e,this._mdf=!0),n+=1}function It(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)n=this.effectsSequence[t](n);this.setVValue(n),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Dt(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function kt(t,e,n,i){this.propType="unidimensional",this.mult=n||1,this.data=e,this.v=n?e.k*n:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=It,this.setVValue=At,this.addEffect=Dt}function Pt(t,e,n,i){var r;this.propType="multidimensional",this.mult=n||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o=e.k.length;for(this.v=d("float32",o),this.pv=d("float32",o),this.vel=d("float32",o),r=0;r<o;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=It,this.setVValue=At,this.addEffect=Dt}function Lt(t,e,n,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:xt,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=n||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=xt,this.pv=xt,this._isFirstFrame=!0,this.getValue=It,this.setVValue=At,this.interpolateValue=wt,this.effectsSequence=[Ct.bind(this)],this.addEffect=Dt}function Ot(t,e,n,i){var r;this.propType="multidimensional";var o,a,s,l,u=e.k.length;for(r=0;r<u-1;r+=1)e.k[r].to&&e.k[r].s&&e.k[r+1]&&e.k[r+1].s&&(o=e.k[r].s,a=e.k[r+1].s,s=e.k[r].to,l=e.k[r].ti,(2===o.length&&(o[0]!==a[0]||o[1]!==a[1])&&_t.pointOnLine2D(o[0],o[1],a[0],a[1],o[0]+s[0],o[1]+s[1])&&_t.pointOnLine2D(o[0],o[1],a[0],a[1],a[0]+l[0],a[1]+l[1])||3===o.length&&(o[0]!==a[0]||o[1]!==a[1]||o[2]!==a[2])&&_t.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],o[0]+s[0],o[1]+s[1],o[2]+s[2])&&_t.pointOnLine3D(o[0],o[1],o[2],a[0],a[1],a[2],a[0]+l[0],a[1]+l[1],a[2]+l[2]))&&(e.k[r].to=null,e.k[r].ti=null),o[0]===a[0]&&o[1]===a[1]&&0===s[0]&&0===s[1]&&0===l[0]&&0===l[1]&&(2===o.length||o[2]===a[2]&&0===s[2]&&0===l[2])&&(e.k[r].to=null,e.k[r].ti=null));this.effectsSequence=[Ct.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=n||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=It,this.setVValue=At,this.interpolateValue=wt,this.frameId=-1;var h=e.k[0].s.length;for(this.v=d("float32",h),this.pv=d("float32",h),r=0;r<h;r+=1)this.v[r]=xt,this.pv[r]=xt;this._caching={lastFrame:xt,lastIndex:0,value:d("float32",h)},this.addEffect=Dt}var Et=function(){function t(t,e,n,i,r){var o;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"==typeof e.k[0])o=new Pt(t,e,i,r);else switch(n){case 0:o=new Lt(t,e,i,r);break;case 1:o=new Ot(t,e,i,r)}else o=new kt(t,e,i,r);return o.effectsSequence.length&&r.addDynamicProperty(o),o}return{getProp:t}}();function Rt(){}Rt.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Nt=function(){function t(){return d("float32",2)}return gt(8,t)}();function Ft(){this.c=!1,this._length=0,this._maxLength=8,this.v=g(this._maxLength),this.o=g(this._maxLength),this.i=g(this._maxLength)}Ft.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var n=0;n<e;)this.v[n]=Nt.newElement(),this.o[n]=Nt.newElement(),this.i[n]=Nt.newElement(),n+=1},Ft.prototype.setLength=function(t){for(;this._maxLength<t;
vendor: 23,402 bytes, line 1
1)this.doubleArrayLength();this._length=t},Ft.prototype.doubleArrayLength=function(){this.v=this.v.concat(g(this._maxLength)),this.i=this.i.concat(g(this._maxLength)),this.o=this.o.concat(g(this._maxLength)),this._maxLength*=2},Ft.prototype.setXYAt=function(t,e,n,i,r){var o;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),n){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[i]||o[i]&&!r)&&(o[i]=Nt.newElement()),o[i][0]=t,o[i][1]=e},Ft.prototype.setTripleAt=function(t,e,n,i,r,o,a,s){this.setXYAt(t,e,"v",a,s),this.setXYAt(n,i,"o",a,s),this.setXYAt(r,o,"i",a,s)},Ft.prototype.reverse=function(){var t=new Ft;t.setPathData(this.c,this._length);var e=this.v,n=this.o,i=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],n[0][0],n[0][1],0,!1),r=1);var o,a=this._length-1,s=this._length;for(o=r;o<s;o+=1)t.setTripleAt(e[a][0],e[a][1],i[a][0],i[a][1],n[a][0],n[a][1],o,!1),a-=1;return t},Ft.prototype.length=function(){return this._length};var Bt=function(){function t(){return new Ft}function e(t){var e,n=t._length;for(e=0;e<n;e+=1)Nt.release(t.v[e]),Nt.release(t.i[e]),Nt.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}function n(t){var e,n=i.newElement(),r=void 0===t._length?t.v.length:t._length;for(n.setLength(r),n.c=t.c,e=0;e<r;e+=1)n.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return n}var i=gt(4,t,e);return i.clone=n,i}();function zt(){this._length=0,this._maxLength=4,this.shapes=g(this._maxLength)}zt.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(g(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},zt.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)Bt.release(this.shapes[t]);this._length=0};var Vt=function(){var t={newShapeCollection:r,release:o},e=0,n=4,i=g(n);function r(){return e?i[e-=1]:new zt}function o(t){var r,o=t._length;for(r=0;r<o;r+=1)Bt.release(t.shapes[r]);t._length=0,e===n&&(i=dt.double(i),n*=2),i[e]=t,e+=1}return t}(),jt=function(){var t=-999999;function e(t,e,n){var i,r,o,a,s,l,u,h,c,p=n.lastIndex,f=this.keyframes;if(t<f[0].t-this.offsetTime)i=f[0].s[0],o=!0,p=0;else if(t>=f[f.length-1].t-this.offsetTime)i=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],o=!0;else{for(var d,g,m,v=p,y=f.length-1,_=!0;_&&(d=f[v],!((g=f[v+1]).t-this.offsetTime>t));)v<y-1?v+=1:_=!1;if(m=this.keyframesMetadata[v]||{},p=v,!(o=1===d.h)){if(t>=g.t-this.offsetTime)h=1;else if(t<d.t-this.offsetTime)h=0;else{var x;m.__fnct?x=m.__fnct:(x=ft.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,m.__fnct=x),h=x((t-(d.t-this.offsetTime))/(g.t-this.offsetTime-(d.t-this.offsetTime)))}r=g.s?g.s[0]:d.e[0]}i=d.s[0]}for(l=e._length,u=i.i[0].length,n.lastIndex=p,a=0;a<l;a+=1)for(s=0;s<u;s+=1)c=o?i.i[a][s]:i.i[a][s]+(r.i[a][s]-i.i[a][s])*h,e.i[a][s]=c,c=o?i.o[a][s]:i.o[a][s]+(r.o[a][s]-i.o[a][s])*h,e.o[a][s]=c,c=o?i.v[a][s]:i.v[a][s]+(r.v[a][s]-i.v[a][s])*h,e.v[a][s]=c}function n(){var e=this.comp.renderedFrame-this.offsetTime,n=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,r=this._caching.lastFrame;return r!==t&&(r<n&&e<n||r>i&&e>i)||(this._caching.lastIndex=r<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function r(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var n,i=t._length;for(n=0;n<i;n+=1)if(t.v[n][0]!==e.v[n][0]||t.v[n][1]!==e.v[n][1]||t.o[n][0]!==e.o[n][0]||t.o[n][1]!==e.o[n][1]||t.i[n][0]!==e.i[n][0]||t.i[n][1]!==e.i[n][1])return!1;return!0}function o(t){r(this.v,t)||(this.v=Bt.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var n=this.effectsSequence.length;for(e=0;e<n;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,n){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var r=3===n?e.pt.k:e.ks.k;this.v=Bt.clone(r),this.pv=Bt.clone(this.v),this.localShapeCollection=Vt.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function l(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function u(e,r,o){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===o?r.pt.k:r.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.v=Bt.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=Bt.clone(this.v),this.localShapeCollection=Vt.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[n.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=o,s.prototype.addEffect=l,u.prototype.getValue=a,u.prototype.interpolateShape=e,u.prototype.setVValue=o,u.prototype.addEffect=l;var h=function(){var t=D;function e(t,e){this.v=Bt.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Vt.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=Et.getProp(t,e.p,1,0,this),this.s=Et.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],n=this.p.v[1],i=this.s.v[0]/2,r=this.s.v[1]/2,o=3!==this.d,a=this.v;a.v[0][0]=e,a.v[0][1]=n-r,a.v[1][0]=o?e+i:e-i,a.v[1][1]=n,a.v[2][0]=e,a.v[2][1]=n+r,a.v[3][0]=o?e-i:e+i,a.v[3][1]=n,a.i[0][0]=o?e-i*t:e+i*t,a.i[0][1]=n-r,a.i[1][0]=o?e+i:e-i,a.i[1][1]=n-r*t,a.i[2][0]=o?e+i*t:e-i*t,a.i[2][1]=n+r,a.i[3][0]=o?e-i:e+i,a.i[3][1]=n+r*t,a.o[0][0]=o?e+i*t:e-i*t,a.o[0][1]=n-r,a.o[1][0]=o?e+i:e-i,a.o[1][1]=n+r*t,a.o[2][0]=o?e-i*t:e+i*t,a.o[2][1]=n+r,a.o[3][0]=o?e-i:e+i,a.o[3][1]=n-r*t}},c([Rt],e),e}(),p=function(){function t(t,e){this.v=Bt.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=Et.getProp(t,e.ir,0,0,this),this.is=Et.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Et.getProp(t,e.pt,0,0,this),this.p=Et.getProp(t,e.p,1,0,this),this.r=Et.getProp(t,e.r,0,I,this),this.or=Et.getProp(t,e.or,0,0,this),this.os=Et.getProp(t,e.os,0,.01,this),this.localShapeCollection=Vt.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,n,i,r=2*Math.floor(this.pt.v),o=2*Math.PI/r,a=!0,s=this.or.v,l=this.ir.v,u=this.os.v,h=this.is.v,c=2*Math.PI*s/(2*r),p=2*Math.PI*l/(2*r),f=-Math.PI/2;f+=this.r.v;var d=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<r;t+=1){n=a?u:h,i=a?c:p;var g=(e=a?s:l)*Math.cos(f),m=e*Math.sin(f),v=0===g&&0===m?0:m/Math.sqrt(g*g+m*m),y=0===g&&0===m?0:-g/Math.sqrt(g*g+m*m);g+=+this.p.v[0],m+=+this.p.v[1],this.v.setTripleAt(g,m,g-v*i*n*d,m-y*i*n*d,g+v*i*n*d,m+y*i*n*d,t,!0),a=!a,f+=o*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),n=2*Math.PI/e,i=this.or.v,r=this.os.v,o=2*Math.PI*i/(4*e),a=.5*-Math.PI,s=3===this.data.d?-1:1;for(a+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(a),u=i*Math.sin(a),h=0===l&&0===u?0:u/Math.sqrt(l*l+u*u),c=0===l&&0===u?0:-l/Math.sqrt(l*l+u*u);l+=+this.p.v[0],u+=+this.p.v[1],this.v.setTripleAt(l,u,l-h*o*r*s,u-c*o*r*s,l+h*o*r*s,u+c*o*r*s,t,!0),a+=n*s}this.paths.length=0,this.paths[0]=this.v}},c([Rt],t),t}(),f=function(){function t(t,e){this.v=Bt.newElement(),this.v.c=!0,this.localShapeCollection=Vt.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=Et.getProp(t,e.p,1,0,this),this.s=Et.getProp(t,e.s,1,0,this),this.r=Et.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,r=T(n,i,this.r.v),o=r*(1-D);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+n,e-i+r,t+n,e-i+r,t+n,e-i+o,0,!0),this.v.setTripleAt(t+n,e+i-r,t+n,e+i-o,t+n,e+i-r,1,!0),0!==r?(this.v.setTripleAt(t+n-r,e+i,t+n-r,e+i,t+n-o,e+i,2,!0),this.v.setTripleAt(t-n+r,e+i,t-n+o,e+i,t-n+r,e+i,3,!0),this.v.setTripleAt(t-n,e+i-r,t-n,e+i-r,t-n,e+i-o,4,!0),this.v.setTripleAt(t-n,e-i+r,t-n,e-i+o,t-n,e-i+r,5,!0),this.v.setTripleAt(t-n+r,e-i,t-n+r,e-i,t-n+o,e-i,6,!0),this.v.setTripleAt(t+n-r,e-i,t+n-o,e-i,t+n-r,e-i,7,!0)):(this.v.setTripleAt(t-n,e+i,t-n+o,e+i,t-n,e+i,2),this.v.setTripleAt(t-n,e-i,t-n,e-i+o,t-n,e-i,3))):(this.v.setTripleAt(t+n,e-i+r,t+n,e-i+o,t+n,e-i+r,0,!0),0!==r?(this.v.setTripleAt(t+n-r,e-i,t+n-r,e-i,t+n-o,e-i,1,!0),this.v.setTripleAt(t-n+r,e-i,t-n+o,e-i,t-n+r,e-i,2,!0),this.v.setTripleAt(t-n,e-i+r,t-n,e-i+r,t-n,e-i+o,3,!0),this.v.setTripleAt(t-n,e+i-r,t-n,e+i-o,t-n,e+i-r,4,!0),this.v.setTripleAt(t-n+r,e+i,t-n+r,e+i,t-n+o,e+i,5,!0),this.v.setTripleAt(t+n-r,e+i,t+n-o,e+i,t+n-r,e+i,6,!0),this.v.setTripleAt(t+n,e+i-r,t+n,e+i-r,t+n,e+i-o,7,!0)):(this.v.setTripleAt(t-n,e-i,t-n+o,e-i,t-n,e-i,1,!0),this.v.setTripleAt(t-n,e+i,t-n,e+i-o,t-n,e+i,2,!0),this.v.setTripleAt(t+n,e+i,t+n-o,e+i,t+n,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},c([Rt],t),t}();function d(t,e,n){var i;return 3===n||4===n?i=(3===n?e.pt:e.ks).k.length?new u(t,e,n):new s(t,e,n):5===n?i=new f(t,e):6===n?i=new h(t,e):7===n&&(i=new p(t,e)),i.k&&t.addDynamicProperty(i),i}function g(){return s}function m(){return u}var v={};return v.getShapeProp=d,v.getConstructorFunction=g,v.getKeyframedConstructorFunction=m,v}(),Gt=function(){var t=Math.cos,e=Math.sin,n=Math.tan,i=Math.round;function r(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function a(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(1,0,0,0,0,i,-r,0,0,r,i,0,0,0,0,1)}function s(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,0,r,0,0,1,0,0,-r,0,i,0,0,0,0,1)}function l(n){if(0===n)return this;var i=t(n),r=e(n);return this._t(i,-r,0,0,r,i,0,0,0,0,1,0,0,0,0,1)}function u(t,e){return this._t(1,e,t,1,0,0)}function h(t,e){return this.shear(n(t),n(e))}function c(i,r){var o=t(r),a=e(r);return this._t(o,a,0,0,-a,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(i),1,0,0,0,0,1,0,0,0,0,1)._t(o,-a,0,0,a,o,0,0,0,0,1,0,0,0,0,1)}function p(t,e,n){return n||0===n||(n=1),1===t&&1===e&&1===n?this:this._t(t,0,0,0,0,e,0,0,0,0,n,0,0,0,0,1)}function f(t,e,n,i,r,o,a,s,l,u,h,c,p,f,d,g){return this.props[0]=t,this.props[1]=e,this.props[2]=n,this.props[3]=i,this.props[4]=r,this.props[5]=o,this.props[6]=a,this.props[7]=s,this.props[8]=l,this.props[9]=u,this.props[10]=h,this.props[11]=c,this.props[12]=p,this.props[13]=f,this.props[14]=d,this.props[15]=g,this}function g(t,e,n){return n=n||0,0!==t||0!==e||0!==n?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,n,1):this}function m(t,e,n,i,r,o,a,s,l,u,h,c,p,f,d,g){var m=this.props;if(1===t&&0===e&&0===n&&0===i&&0===r&&1===o&&0===a&&0===s&&0===l&&0===u&&1===h&&0===c)return m[12]=m[12]*t+m[15]*p,m[13]=m[13]*o+m[15]*f,m[14]=m[14]*h+m[15]*d,m[15]*=g,this._identityCalculated=!1,this;var v=m[0],y=m[1],_=m[2],x=m[3],b=m[4],w=m[5],S=m[6],M=m[7],T=m[8],C=m[9],A=m[10],I=m[11],D=m[12],k=m[13],P=m[14],L=m[15];return m[0]=v*t+y*r+_*l+x*p,m[1]=v*e+y*o+_*u+x*f,m[2]=v*n+y*a+_*h+x*d,m[3]=v*i+y*s+_*c+x*g,m[4]=b*t+w*r+S*l+M*p,m[5]=b*e+w*o+S*u+M*f,m[6]=b*n+w*a+S*h+M*d,m[7]=b*i+w*s+S*c+M*g,m[8]=T*t+C*r+A*l+I*p,m[9]=T*e+C*o+A*u+I*f,m[10]=T*n+C*a+A*h+I*d,m[11]=T*i+C*s+A*c+I*g,m[12]=D*t+k*r+P*l+L*p,m[13]=D*e+k*o+P*u+L*f,m[14]=D*n+k*a+P*h+L*d,m[15]=D*i+k*s+P*c+L*g,this._identityCalculated=!1,this}function v(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function _(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function x(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function b(t,e,n){return{x:t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}}function w(t,e,n){return t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12]}function S(t,e,n){return t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13]}function M(t,e,n){return t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]}function T(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,n=-this.props[1]/t,i=-this.props[4]/t,r=this.props[0]/t,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,a=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,s=new Gt;return s.props[0]=e,s.props[1]=n,s.props[4]=i,s.props[5]=r,s.props[12]=o,s.props[13]=a,s}function C(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function A(t){var e,n=t.length,i=[];for(e=0;e<n;e+=1)i[e]=C(t[e]);return i}function I(t,e,n){var i=d("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=n[0],i[5]=n[1];else{var r=this.props[0],o=this.props[1],a=this.props[4],s=this.props[5],l=this.props[12],u=this.props[13];i[0]=t[0]*r+t[1]*a+l,i[1]=t[0]*o+t[1]*s+u,i[2]=e[0]*r+e[1]*a+l,i[3]=e[0]*o+e[1]*s+u,i[4]=n[0]*r+n[1]*a+l,i[5]=n[0]*o+n[1]*s+u}return i}function D(t,e,n){return this.isIdentity()?[t,e,n]:[t*this.props[0]+e*this.props[4]+n*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+n*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+n*this.props[10]+this.props[14]]}function k(t,e){if(this.isIdentity())return t+","+e;var n=this.props;return Math.round(100*(t*n[0]+e*n[4]+n[12]))/100+","+Math.round(100*(t*n[1]+e*n[5]+n[13]))/100}function P(){for(var t=0,e=this.props,n="matrix3d(",r=1e4;t<16;)n+=i(e[t]*r)/r,n+=15===t?")":",",t+=1;return n}function L(t){var e=1e4;return t<1e-6&&t>0||t>-1e-6&&t<0?i(t*e)/e:t}function O(){var t=this.props;return"matrix("+L(t[0])+","+L(t[1])+","+L(t[4])+","+L(t[5])+","+L(t[12])+","+L(t[13])+")"}return function(){this.reset=r,this.rotate=o,this.rotateX=a,this.rotateY=s,this.rotateZ=l,this.skew=h,this.skewFromAxis=c,this.shear=u,this.scale=p,this.setTransform=f,this.translate=g,this.transform=m,this.applyToPoint=b,this.applyToX=w,this.applyToY=S,this.applyToZ=M,this.applyToPointArray=D,this.applyToTriplePoints=I,this.applyToPointStringified=k,this.toCSS=P,this.to2dCSS=O,this.clone=_,this.cloneFromProps=x,this.equals=y,this.inversePoints=A,this.inversePoint=C,this.getInverseMatrix=T,this._t=this.transform,this.isIdentity=v,this._identity=!0,this._identityCalculated=!1,this.props=d("float32",16),this.reset()}}();function Ht(t){return Ht="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ht(t)}var Wt={},Zt="__[STANDALONE]__",Ut="__[ANIMATIONDATA]__",Xt="";function $t(t){l(t)}function Yt(){!0===Zt?pt.searchAnimations(Ut,Zt,Xt):pt.searchAnimations()}function qt(t){Z(t)}function Kt(t){J(t)}function Jt(t){return!0===Zt&&(t.animationData=JSON.parse(Ut)),pt.loadAnimation(t)}function Qt(t){if("string"==typeof t)switch(t){case"high":q(200);break;default:case"medium":q(50);break;case"low":q(10)}else!isNaN(t)&&t>1&&q(t);K()>=50?k(!1):k(!0)}function te(){return"undefined"!=typeof navigator}function ee(t,e){"expressions"===t&&X(e)}function ne(t){switch(t){case"propertyFactory":return Et;case"shapePropertyFactory":return jt;case"matrix":return Gt;default:return null}}function ie(){"complete"===document.readyState&&(clearInterval(le),Yt())}function re(t){for(var e=oe.split("&"),n=0;n<e.length;n+=1){var i=e[n].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}Wt.play=pt.play,Wt.pause=pt.pause,Wt.setLocationHref=$t,Wt.togglePause=pt.togglePause,Wt.setSpeed=pt.setSpeed,Wt.setDirection=pt.setDirection,Wt.stop=pt.stop,Wt.searchAnimations=Yt,Wt.registerAnimation=pt.registerAnimation,Wt.loadAnimation=Jt,Wt.setSubframeRendering=qt,Wt.resize=pt.resize,Wt.goToAndStop=pt.goToAndStop,Wt.destroy=pt.destroy,Wt.setQuality=Qt,Wt.inBrowser=te,Wt.installPlugin=ee,Wt.freeze=pt.freeze,Wt.unfreeze=pt.unfreeze,Wt.setVolume=pt.setVolume,Wt.mute=pt.mute,Wt.unmute=pt.unmute,Wt.getRegisteredAnimations=pt.getRegisteredAnimations,Wt.useWebWorker=a,Wt.setIDPrefix=Kt,Wt.__getFactory=ne,Wt.version="5.11.0";var oe="";if(Zt){var ae=document.getElementsByTagName("script"),se=ae[ae.length-1]||{src:""};oe=se.src?se.src.replace(/^[^\?]+\??/,""):"",Xt=re("renderer")}var le=setInterval(ie,100);try{"object"!==Ht(e)&&n.amdO}catch(t){}var ue=function(){var t={},e={};function n(t,n){e[t]||(e[t]=n)}function i(t,n,i){return new e[t](n,i)}return t.registerModifier=n,t.getModifier=i,t}();function he(){}function ce(){}function pe(){}he.prototype.initModifierProperties=function(){},he.prototype.addShapeToModifier=function(){},he.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:Vt.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},he.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=o,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},he.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},c([Rt],he),c([he],ce),ce.prototype.initModifierProperties=function(t,e){this.s=Et.getProp(t,e.s,0,.01,this),this.e=Et.getProp(t,e.e,0,.01,this),this.o=Et.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},ce.prototype.addShapeToModifier=function(t){t.pathsData=[]},ce.prototype.calculateShapeEdges=function(t,e,n,i,r){var o=[];e<=1?o.push({s:t,e:e}):t>=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var a,s,l=[],u=o.length;for(a=0;a<u;a+=1){var h,c;(s=o[a]).e*r<i||s.s*r>i+n||(h=s.s*r<=i?0:(s.s*r-i)/n,c=s.e*r>=i+n?1:(s.e*r-i)/n,l.push([h,c]))}return l.length||l.push([0,0]),l},ce.prototype.releasePathsData=function(t){var e,n=t.length;for(e=0;e<n;e+=1)vt.release(t[e]);return t.length=0,t},ce.prototype.processShapes=function(t){var e,n,i,r;if(this._mdf||t){var o=this.o.v%360/360;if(o<0&&(o+=1),(e=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(n=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var a=e;e=n,n=a}e=1e-4*Math.round(1e4*e),n=1e-4*Math.round(1e4*n),this.sValue=e,this.eValue=n}else e=this.sValue,n=this.eValue;var s,l,u,h,c,p=this.shapes.length,f=0;if(n===e)for(r=0;r<p;r+=1)this.shapes[r].localShapeCollection.releaseShapes(),this.shapes[r].shape._mdf=!0,this.shapes[r].shape.paths=this.shapes[r].localShapeCollection,this._mdf&&(this.shapes[r].pathsData.length=0);else if(1===n&&0===e||0===n&&1===e){if(this._mdf)for(r=0;r<p;r+=1)this.shapes[r].pathsData.length=0,this.shapes[r].shape._mdf=!0}else{var d,g,m=[];for(r=0;r<p;r+=1)if((d=this.shapes[r]).shape._mdf||this._mdf||t||2===this.m){if(l=(i=d.shape.paths)._length,c=0,!d.shape._mdf&&d.pathsData.length)c=d.totalShapeLength;else{for(u=this.releasePathsData(d.pathsData),s=0;s<l;s+=1)h=_t.getSegmentsLength(i.shapes[s]),u.push(h),c+=h.totalLength;d.totalShapeLength=c,d.pathsData=u}f+=c,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var v,y=e,_=n,x=0;for(r=p-1;r>=0;r-=1)if((d=this.shapes[r]).shape._mdf){for((g=d.localShapeCollection).releaseShapes(),2===this.m&&p>1?(v=this.calculateShapeEdges(e,n,d.totalShapeLength,x,f),x+=d.totalShapeLength):v=[[y,_]],l=v.length,s=0;s<l;s+=1){y=v[s][0],_=v[s][1],m.length=0,_<=1?m.push({s:d.totalShapeLength*y,e:d.totalShapeLength*_}):y>=1?m.push({s:d.totalShapeLength*(y-1),e:d.totalShapeLength*(_-1)}):(m.push({s:d.totalShapeLength*y,e:d.totalShapeLength}),m.push({s:0,e:d.totalShapeLength*(_-1)}));var b=this.addShapes(d,m[0]);if(m[0].s!==m[0].e){if(m.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var w=b.pop();this.addPaths(b,g),b=this.addShapes(d,m[1],w)}else this.addPaths(b,g),b=this.addShapes(d,m[1]);this.addPaths(b,g)}}d.shape.paths=g}}},ce.prototype.addPaths=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)e.addShape(t[n])},ce.prototype.addSegment=function(t,e,n,i,r,o,a){r.setXYAt(e[0],e[1],"o",o),r.setXYAt(n[0],n[1],"i",o+1),a&&r.setXYAt(t[0],t[1],"v",o),r.setXYAt(i[0],i[1],"v",o+1)},ce.prototype.addSegmentFromArray=function(t,e,n,i){e.setXYAt(t[1],t[5],"o",n),e.setXYAt(t[2],t[6],"i",n+1),i&&e.setXYAt(t[0],t[4],"v",n),e.setXYAt(t[3],t[7],"v",n+1)},ce.prototype.addShapes=function(t,e,n){var i,r,o,a,s,l,u,h,c=t.pathsData,p=t.shape.paths.shapes,f=t.shape.paths._length,d=0,g=[],m=!0;for(n?(s=n._length,h=n._length):(n=Bt.newElement(),s=0,h=0),g.push(n),i=0;i<f;i+=1){for(l=c[i].lengths,n.c=p[i].c,o=p[i].c?l.length:l.length+1,r=1;r<o;r+=1)if(d+(a=l[r-1]).addedLength<e.s)d+=a.addedLength,n.c=!1;else{if(d>e.e){n.c=!1;break}e.s<=d&&e.e>=d+a.addedLength?(this.addSegment(p[i].v[r-1],p[i].o[r-1],p[i].i[r],p[i].v[r],n,s,m),m=!1):(u=_t.getNewSegment(p[i].v[r-1],p[i].v[r],p[i].o[r-1],p[i].i[r],(e.s-d)/a.addedLength,(e.e-d)/a.addedLength,l[r-1]),this.addSegmentFromArray(u,n,s,m),m=!1,n.c=!1),d+=a.addedLength,s+=1}if(p[i].c&&l.length){if(a=l[r-1],d<=e.e){var v=l[r-1].addedLength;
vendor: 4,311 bytes, line 1
1e.s<=d&&e.e>=d+v?(this.addSegment(p[i].v[r-1],p[i].o[r-1],p[i].i[0],p[i].v[0],n,s,m),m=!1):(u=_t.getNewSegment(p[i].v[r-1],p[i].v[0],p[i].o[r-1],p[i].i[0],(e.s-d)/v,(e.e-d)/v,l[r-1]),this.addSegmentFromArray(u,n,s,m),m=!1,n.c=!1)}else n.c=!1;d+=a.addedLength,s+=1}if(n._length&&(n.setXYAt(n.v[h][0],n.v[h][1],"i",h),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),d>e.e)break;i<f-1&&(n=Bt.newElement(),m=!0,g.push(n),s=0)}return g},c([he],pe),pe.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=Et.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},pe.prototype.processPath=function(t,e){var n=e/100,i=[0,0],r=t._length,o=0;for(o=0;o<r;o+=1)i[0]+=t.v[o][0],i[1]+=t.v[o][1];i[0]/=r,i[1]/=r;var a,s,l,u,h,c,p=Bt.newElement();for(p.c=t.c,o=0;o<r;o+=1)a=t.v[o][0]+(i[0]-t.v[o][0])*n,s=t.v[o][1]+(i[1]-t.v[o][1])*n,l=t.o[o][0]+(i[0]-t.o[o][0])*-n,u=t.o[o][1]+(i[1]-t.o[o][1])*-n,h=t.i[o][0]+(i[0]-t.i[o][0])*-n,c=t.i[o][1]+(i[1]-t.i[o][1])*-n,p.setTripleAt(a,s,l,u,h,c,o);return p},pe.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amount.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var fe=function(){var t=[0,0];function e(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function n(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var n;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,r;if(n=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/n,0),r=this.p.getValueAtTime(this.p.keyframes[0].t/n,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(i=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],r=[];var o=this.px,a=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(i[0]=o.getValueAtTime((o.keyframes[0].t+.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),r[0]=o.getValueAtTime(o.keyframes[0].t/n,0),r[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(i[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/n,0),i[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),r[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(i=[o.pv,a.pv],r[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/n,o.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else i=r=t;
vendor: 5,644 bytes, line 1
1this.v.rotate(-Math.atan2(i[1]-r[1],i[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}}function r(){}function o(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0}function a(t,e,n){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Gt,this.pre=new Gt,this.appliedTransformations=0,this.initDynamicPropertyContainer(n||t),e.p&&e.p.s?(this.px=Et.getProp(t,e.p.x,0,0,this),this.py=Et.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=Et.getProp(t,e.p.z,0,0,this))):this.p=Et.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=Et.getProp(t,e.rx,0,I,this),this.ry=Et.getProp(t,e.ry,0,I,this),this.rz=Et.getProp(t,e.rz,0,I,this),e.or.k[0].ti){var i,r=e.or.k.length;for(i=0;i<r;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=Et.getProp(t,e.or,1,I,this),this.or.sh=!0}else this.r=Et.getProp(t,e.r||{k:0},0,I,this);e.sk&&(this.sk=Et.getProp(t,e.sk,0,I,this),this.sa=Et.getProp(t,e.sa,0,I,this)),this.a=Et.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=Et.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=Et.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}function s(t,e,n){return new a(t,e,n)}return a.prototype={applyToMatrix:e,getValue:n,precalculateMatrix:i,autoOrient:r},c([Rt],a),a.prototype.addDynamicProperty=o,a.prototype._addDynamicProperty=Rt.prototype.addDynamicProperty,{getTransformProperty:s}}();function de(){}function ge(){}function me(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function ve(t){return Math.abs(t)<=1e-5}function ye(t,e,n){return t*(1-n)+e*n}function _e(t,e,n){return[ye(t[0],e[0],n),ye(t[1],e[1],n)]}function xe(t,e,n){if(0===t)return[];var i=e*e-4*t*n;if(i<0)return[];var r=-e/(2*t);if(0===i)return[r];var o=Math.sqrt(i)/(2*t);return[r-o,r+o]}function be(t,e,n,i){return[3*e-t-3*n+i,3*t-6*e+3*n,-3*t+3*e,t]}function we(t){return new Se(t,t,t,t,!1)}function Se(t,e,n,i,r){r&&Oe(t,e)&&(e=_e(t,i,1/3)),r&&Oe(n,i)&&(n=_e(t,i,2/3));var o=be(t[0],e[0],n[0],i[0]),a=be(t[1],e[1],n[1],i[1]);this.a=[o[0],a[0]],this.b=[o[1],a[1]],this.c=[o[2],a[2]],this.d=[o[3],a[3]],this.points=[t,e,n,i]}function Me(t,e){var n=t.points[0][e],i=t.points[t.points.length-1][e];if(n>i){var r=i;i=n,n=r}for(var o=xe(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<o.length;a+=1)if(o[a]>0&&o[a]<1){var s=t.point(o[a])[e];s<n?n=s:s>i&&(i=s)}return{min:n,max:i}}function Te(t,e,n){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+n)/2,t1:e,t2:n}}function Ce(t){var e=t.bez.split(.5);return[Te(e[0],t.t1,t.t),Te(e[1],t.t,t.t2)]}function Ae(t,e){return 2*Math.abs(t.cx-e.cx)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function Ie(t,e,n,i,r,o){if(Ae(t,e))if(n>=o||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i)r.push([t.t,e.t]);else{var a=Ce(t),s=Ce(e);Ie(a[0],s[0],n+1,i,r,o),Ie(a[0],s[1],n+1,i,r,o),Ie(a[1],s[0],n+1,i,r,o),Ie(a[1],s[1],n+1,i,r,o)}}function De(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function ke(t,e,n,i){var r=[t[0],t[1],1],o=[e[0],e[1],1],a=[n[0],n[1],1],s=[i[0],i[1],1],l=De(De(r,o),De(a,s));return ve(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function Pe(t,e,n){return[t[0]+Math.cos(e)*n,t[1]-Math.sin(e)*n]}function Le(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function Oe(t,e){return me(t[0],e[0])&&me(t[1],e[1])}function Ee(){}function Re(t,e,n,i,r,o,a){var s=n-Math.PI/2,l=n+Math.PI/2,u=e[0]+Math.cos(n)*i*r,h=e[1]-Math.sin(n)*i*r;t.setTripleAt(u,h,u+Math.cos(s)*o,h-Math.sin(s)*o,u+Math.cos(l)*a,h-Math.sin(l)*a,t.length())}function Ne(t,e){var n=[e[0]-t[0],e[1]-t[1]],i=.5*-Math.PI;return[Math.cos(i)*n[0]-Math.sin(i)*n[1],Math.sin(i)*n[0]+Math.cos(i)*n[1]]}function Fe(t,e){var n=0===e?t.length()-1:e-1,i=(e+1)%t.length(),r=Ne(t.v[n],t.v[i]);return Math.atan2(0,1)-Math.atan2(r[1],r[0])}function Be(t,e,n,i,r,o,a){var s=Fe(e,n),l=e.v[n%e._length],u=e.v[0===n?e._length-1:n-1],h=e.v[(n+1)%e._length],c=2===o?Math.sqrt(Math.pow(l[0]-u[0],2)+Math.pow(l[1]-u[1],2)):0,p=2===o?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0;Re(t,e.v[n%e._length],s,a,i,p/(2*(r+1)),c/(2*(r+1)),o)}function ze(t,e,n,i,r,o){for(var a=0;a<i;a+=1){var s=(a+1)/(i+1),l=2===r?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,u=e.normalAngle(s);Re(t,e.point(s),u,o,n,l/(2*(i+1)),l/(2*(i+1)),r),o=-o}return o}function Ve(t,e,n){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[Pe(t,i,n),Pe(e,i,n)]}function je(t,e){var n,i,r,o,a,s,l;n=(l=Ve(t.points[0],t.points[1],e))[0],i=l[1],r=(l=Ve(t.points[1],t.points[2],e))[0],o=l[1],a=(l=Ve(t.points[2],t.points[3],e))[0],s=l[1];var u=ke(n,i,r,o);null===u&&(u=i);var h=ke(a,s,r,o);
vendor: 11,561 bytes, line 1
1return null===h&&(h=a),new Se(n,u,h,s)}function Ge(t,e,n,i,r){var o=e.points[3],a=n.points[0];if(3===i)return o;if(Oe(o,a))return o;if(2===i){var s=-e.tangentAngle(1),l=-n.tangentAngle(0)+Math.PI,u=ke(o,Pe(o,s+Math.PI/2,100),a,Pe(a,s+Math.PI/2,100)),h=u?Le(u,o):Le(o,a)/2,c=Pe(o,s,2*h*D);return t.setXYAt(c[0],c[1],"o",t.length()-1),c=Pe(a,l,2*h*D),t.setTripleAt(a[0],a[1],a[0],a[1],c[0],c[1],t.length()),a}var p=ke(Oe(o,e.points[2])?e.points[0]:e.points[2],o,a,Oe(a,n.points[1])?n.points[3]:n.points[1]);return p&&Le(p,o)<r?(t.setTripleAt(p[0],p[1],p[0],p[1],p[0],p[1],t.length()),p):o}function He(t,e){var n=t.intersections(e);return n.length&&me(n[0][0],1)&&n.shift(),n.length?n[0]:null}function We(t,e){var n=t.slice(),i=e.slice(),r=He(t[t.length-1],e[0]);return r&&(n[t.length-1]=t[t.length-1].split(r[0])[0],i[0]=e[0].split(r[1])[1]),t.length>1&&e.length>1&&(r=He(t[0],e[e.length-1]))?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[n,i]}function Ze(t){for(var e,n=1;n<t.length;n+=1)e=We(t[n-1],t[n]),t[n-1]=e[0],t[n]=e[1];return t.length>1&&(e=We(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function Ue(t,e){var n,i,r,o,a=t.inflectionPoints();if(0===a.length)return[je(t,e)];if(1===a.length||me(a[1],1))return n=(r=t.split(a[0]))[0],i=r[1],[je(n,e),je(i,e)];n=(r=t.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return o=(r=r[1].split(s))[0],i=r[1],[je(n,e),je(o,e),je(i,e)]}function Xe(){}function $e(t){for(var e=t.fStyle?t.fStyle.split(" "):[],n="normal",i="normal",r=e.length,o=0;o<r;o+=1)switch(e[o].toLowerCase()){case"italic":i="italic";break;case"bold":n="700";break;case"black":n="900";break;case"medium":n="500";break;case"regular":case"normal":n="400";break;case"light":case"thin":n="200"}return{style:i,weight:t.fWeight||n}}c([he],de),de.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=Et.getProp(t,e.c,0,null,this),this.o=Et.getProp(t,e.o,0,null,this),this.tr=fe.getTransformProperty(t,e.tr,this),this.so=Et.getProp(t,e.tr.so,0,.01,this),this.eo=Et.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Gt,this.rMatrix=new Gt,this.sMatrix=new Gt,this.tMatrix=new Gt,this.matrix=new Gt},de.prototype.applyTransforms=function(t,e,n,i,r,o){var a=o?-1:1,s=i.s.v[0]+(1-i.s.v[0])*(1-r),l=i.s.v[1]+(1-i.s.v[1])*(1-r);t.translate(i.p.v[0]*a*r,i.p.v[1]*a*r,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*a*r),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),n.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),n.scale(o?1/s:s,o?1/l:l),n.translate(i.a.v[0],i.a.v[1],i.a.v[2])},de.prototype.init=function(t,e,n,i){for(this.elem=t,this.arr=e,this.pos=n,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[n]);n>0;)n-=1,this._elements.unshift(e[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},de.prototype.resetElements=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},de.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},de.prototype.changeGroupRender=function(t,e){var n,i=t.length;for(n=0;n<i;n+=1)t[n]._render=e,"gr"===t[n].ty&&this.changeGroupRender(t[n].it,e)},de.prototype.processShapes=function(t){var e,n,i,r,o,a=!1;if(this._mdf||t){var s,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var u={it:this.cloneElements(this._elements),ty:"gr"};u.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,u),this._groups.splice(0,0,u),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}for(o=0,i=0;i<=this._groups.length-1;i+=1){if(s=o<l,this._groups[i]._render=s,this.changeGroupRender(this._groups[i].it,s),!s){var h=this.elemsData[i].it,c=h[h.length-1];0!==c.transform.op.v?(c.transform.op._mdf=!0,c.transform.op.v=0):c.transform.op._mdf=!1}o+=1}this._currentCopies=l;var p=this.o.v,f=p%1,d=p>0?Math.floor(p):Math.ceil(p),g=this.pMatrix.props,m=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,_,x=0;if(p>0){for(;x<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),x+=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,f,!1),x+=f)}else if(p<0){for(;x>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),x-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),x-=f)}for(i=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,o=this._currentCopies;o;){if(_=(n=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==x){for((0!==i&&1===r||i!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),y=0;y<_;y+=1)n[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<_;y+=1)n[y]=this.matrix.props[y];x+=1,o-=1,i+=r}}else for(o=this._currentCopies,i=0,r=1;o;)n=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,o-=1,i+=r;return a},de.prototype.addShape=function(){},c([he],ge),ge.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=Et.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ge.prototype.processPath=function(t,e){var n,i=Bt.newElement();i.c=t.c;var r,o,a,s,l,u,h,c,p,f,d,g,m=t._length,v=0;for(n=0;n<m;n+=1)r=t.v[n],a=t.o[n],o=t.i[n],r[0]===a[0]&&r[1]===a[1]&&r[0]===o[0]&&r[1]===o[1]?0!==n&&n!==m-1||t.c?(s=0===n?t.v[m-1]:t.v[n-1],u=(l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)))?Math.min(l/2,e)/l:0,h=d=r[0]+(s[0]-r[0])*u,c=g=r[1]-(r[1]-s[1])*u,p=h-(h-r[0])*D,f=c-(c-r[1])*D,i.setTripleAt(h,c,p,f,d,g,v),v+=1,s=n===m-1?t.v[0]:t.v[n+1],u=(l=Math.sqrt(Math.pow(r[0]-s[0],2)+Math.pow(r[1]-s[1],2)))?Math.min(l/2,e)/l:0,h=p=r[0]+(s[0]-r[0])*u,c=f=r[1]+(s[1]-r[1])*u,d=h-(h-r[0])*D,g=c-(c-r[1])*D,i.setTripleAt(h,c,p,f,d,g,v),v+=1):(i.setTripleAt(r[0],r[1],a[0],a[1],o[0],o[1],v),v+=1):(i.setTripleAt(t.v[n][0],t.v[n][1],t.o[n][0],t.o[n][1],t.i[n][0],t.i[n][1],v),v+=1);return i},ge.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.rd.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},Se.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},Se.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},Se.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},Se.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},Se.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(ve(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,n=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(n<0)return[];var i=Math.sqrt(n);return ve(i)?i>0&&i<1?[e]:[]:[e-i,e+i].filter((function(t){return t>0&&t<1}))},Se.prototype.split=function(t){if(t<=0)return[we(this.points[0]),this];if(t>=1)return[this,we(this.points[this.points.length-1])];var e=_e(this.points[0],this.points[1],t),n=_e(this.points[1],this.points[2],t),i=_e(this.points[2],this.points[3],t),r=_e(e,n,t),o=_e(n,i,t),a=_e(r,o,t);return[new Se(this.points[0],e,r,a,!0),new Se(a,o,i,this.points[3],!0)]},Se.prototype.bounds=function(){return{x:Me(this,0),y:Me(this,1)}},Se.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},Se.prototype.intersections=function(t,e,n){void 0===e&&(e=2),void 0===n&&(n=7);var i=[];return Ie(Te(this,0,1),Te(t,0,1),0,e,i,n),i},Se.shapeSegment=function(t,e){var n=(e+1)%t.length();return new Se(t.v[e],t.o[e],t.i[n],t.v[n],!0)},Se.shapeSegmentInverted=function(t,e){var n=(e+1)%t.length();return new Se(t.v[n],t.i[n],t.o[e],t.v[e],!0)},c([he],Ee),Ee.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=Et.getProp(t,e.s,0,null,this),this.frequency=Et.getProp(t,e.r,0,null,this),this.pointsType=Et.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},Ee.prototype.processPath=function(t,e,n,i){var r=t._length,o=Bt.newElement();if(o.c=t.c,t.c||(r-=1),0===r)return o;var a=-1,s=Se.shapeSegment(t,0);Be(o,t,0,e,n,i,a);for(var l=0;l<r;l+=1)a=ze(o,s,e,n,i,-a),s=l!==r-1||t.c?Se.shapeSegment(t,(l+1)%r):null,Be(o,t,l+1,e,n,i,a);return o},Ee.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amplitude.v,u=Math.max(0,Math.round(this.frequency.v)),h=this.pointsType.v;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l,u,h));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},c([he],Xe),Xe.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=Et.getProp(t,e.a,0,null,this),this.miterLimit=Et.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},Xe.prototype.processPath=function(t,e,n,i){var r=Bt.newElement();r.c=t.c;var o,a,s,l=t.length();t.c||(l-=1);var u=[];for(o=0;o<l;o+=1)s=Se.shapeSegment(t,o),u.push(Ue(s,e));if(!t.c)for(o=l-1;o>=0;o-=1)s=Se.shapeSegmentInverted(t,o),u.push(Ue(s,e));u=Ze(u);var h=null,c=null;for(o=0;o<u.length;o+=1){var p=u[o];for(c&&(h=Ge(r,c,p[0],n,i)),c=p[p.length-1],a=0;a<p.length;a+=1)s=p[a],h&&Oe(s.points[0],h)?r.setXYAt(s.points[1][0],s.points[1][1],"o",r.length()-1):r.setTripleAt(s.points[0][0],s.points[0][1],s.points[1][0],s.points[1][1],s.points[0][0],s.points[0][1],r.length()),r.setTripleAt(s.points[3][0],s.points[3][1],s.points[3][0],s.points[3][1],s.points[2][0],s.points[2][1],r.length()),h=s.points[3]}return u.length&&Ge(r,c,u[0][0],n,i),r},Xe.prototype.processShapes=function(t){var e,n,i,r,o,a,s=this.shapes.length,l=this.amount.v,u=this.miterLimit.v,h=this.lineJoin;if(0!==l)for(n=0;n<s;n+=1){if(a=(o=this.shapes[n]).localShapeCollection,o.shape._mdf||this._mdf||t)for(a.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,r
vendor: 5,780 bytes, line 1
1=o.shape.paths._length,i=0;i<r;i+=1)a.addShape(this.processPath(e[i],l,h,u));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var Ye=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},n=[];n=n.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],r=[65039,8205];function o(t){var e,n=t.split(","),i=n.length,r=[];for(e=0;e<i;e+=1)"sans-serif"!==n[e]&&"monospace"!==n[e]&&r.push(n[e]);return r.join(",")}function a(t,e){var n=h("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=e;var i=h("span");i.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(i),document.body.appendChild(n);var r=i.offsetWidth;return i.style.fontFamily=o(t)+", "+e,{node:i,w:r,parent:n}}function s(){var e,n,i,r=this.fonts.length,o=r;for(e=0;e<r;e+=1)this.fonts[e].loaded?o-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(n=this.fonts[e].monoCase.node,i=this.fonts[e].monoCase.w,n.offsetWidth!==i?(o-=1,this.fonts[e].loaded=!0):(n=this.fonts[e].sansCase.node,i=this.fonts[e].sansCase.w,n.offsetWidth!==i&&(o-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==o&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function l(t,e){var n,i=document.body&&e?"svg":"canvas",r=$e(t);if("svg"===i){var o=Q("text");o.style.fontSize="100px",o.setAttribute("font-family",t.fFamily),o.setAttribute("font-style",r.style),o.setAttribute("font-weight",r.weight),o.textContent="1",t.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",t.fClass)):o.style.fontFamily=t.fFamily,e.appendChild(o),n=o}else{var a=new OffscreenCanvas(500,500).getContext("2d");a.font=r.style+" "+r.weight+" 100px "+t.fFamily,n=a}function s(t){return"svg"===i?(n.textContent=t,n.getComputedTextLength()):n.measureText(t).width}return{measureText:s}}function u(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=l(t),t.cache={}})),void(this.fonts=t.list);var n,i=t.list,r=i.length,o=r;for(n=0;n<r;n+=1){var s,u,c=!0;if(i[n].loaded=!1,i[n].monoCase=a(i[n].fFamily,"monospace"),i[n].sansCase=a(i[n].fFamily,"sans-serif"),i[n].fPath){if("p"===i[n].fOrigin||3===i[n].origin){if((s=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[n].fFamily+'"], style[f-origin="3"][f-family="'+i[n].fFamily+'"]')).length>0&&(c=!1),c){var p=h("style");p.setAttribute("f-forigin",i[n].fOrigin),p.setAttribute("f-origin",i[n].origin),p.setAttribute("f-family",i[n].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+i[n].fFamily+"; font-style: normal; src: url('"+i[n].fPath+"');}",e.appendChild(p)}}else if("g"===i[n].fOrigin||1===i[n].origin){for(s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;u<s.length;u+=1)-1!==s[u].href.indexOf(i[n].fPath)&&(c=!1);if(c){var f=h("link");f.setAttribute("f-forigin",i[n].fOrigin),f.setAttribute("f-origin",i[n].origin),f.type="text/css",f.rel="stylesheet",f.href=i[n].fPath,document.body.appendChild(f)}}else if("t"===i[n].fOrigin||2===i[n].origin){for(s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),u=0;u<s.length;u+=1)i[n].fPath===s[u].src&&(c=!1);if(c){var d=h("link");d.setAttribute("f-forigin",i[n].fOrigin),d.setAttribute("f-origin",i[n].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",i[n].fPath),e.appendChild(d)}}}else i[n].loaded=!0,o-=1;i[n].helper=l(i[n],e),i[n].cache={},this.fonts.push(i[n])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0}function c(t){if(t){var e;this.chars||(this.chars=[]);var n,i,r=t.length,o=this.chars.length;for(e=0;e<r;e+=1){for(n=0,i=!1;n<o;)this.chars[n].style===t[e].style&&this.chars[n].fFamily===t[e].fFamily&&this.chars[n].ch===t[e].ch&&(i=!0),n+=1;i||(this.chars.push(t[e]),o+=1)}}}function p(t,n,i){for(var r=0,o=this.chars.length;r<o;){if(this.chars[r].ch===t&&this.chars[r].style===n&&this.chars[r].fFamily===i)return this.chars[r];r+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0),e}function f(t,e,n){var i=this.getFontByName(e),r=t.charCodeAt(0);if(!i.cache[r+1]){var o=i.helper;if(" "===t){var a=o.measureText("|"+t+"|"),s=o.measureText("||");i.cache[r+1]=(a-s)/100}else i.cache[r+1]=o.measureText(t)/100}return i.cache[r+1]*n}function d(t){for(var e=0,n=this.fonts.length;e<n;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]}function g(t,e){var n=t.toString(16)+e.toString(16);return-1!==i.indexOf(n)}function m(t,e){return e?t===r[0]&&e===r[1]:t===r[1]}function v(t){return-1!==n.indexOf(t)}function y(){this.isLoaded=!0}var _=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};_.isModifier=g,_.isZeroWidthJoiner=m,_.isCombinedCharacter=v;var x={addChars:c,addFonts:u,getCharData:p,getFontByName:d,measureText:f,checkLoadedFonts:s,setIsLoaded:y};return _.prototype=x,_}();function qe(t){this.animationData=t}function Ke(t){return new qe(t)}
vendor: 6,430 bytes, line 1
1function Je(){}qe.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},Je.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var Qe,tn=(Qe={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return Qe[t]||""});function en(t,e,n){this.p=Et.getProp(e,t.v,0,0,n)}function nn(t,e,n){this.p=Et.getProp(e,t.v,0,0,n)}function rn(t,e,n){this.p=Et.getProp(e,t.v,1,0,n)}function on(t,e,n){this.p=Et.getProp(e,t.v,1,0,n)}function an(t,e,n){this.p=Et.getProp(e,t.v,0,0,n)}function sn(t,e,n){this.p=Et.getProp(e,t.v,0,0,n)}function ln(t,e,n){this.p=Et.getProp(e,t.v,0,0,n)}function un(){this.p={}}function hn(t,e){var n,i=t.ef||[];this.effectElements=[];var r,o=i.length;for(n=0;n<o;n+=1)r=new cn(i[n],e),this.effectElements.push(r)}function cn(t,e){this.init(t,e)}function pn(){}function fn(){}function dn(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,n)}function gn(t,e,n){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,n),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?Et.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=Et.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function mn(){}function vn(){}function yn(t,e,n){this.data=t,this.element=e,this.globalData=n,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,r,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=g(a),this.solidPath="";var s,l,h,c,p,f,d=this.masksProperties,m=0,v=[],y=z(),_="clipPath",x="clip-path";for(i=0;i<a;i+=1)if(("a"!==d[i].mode&&"n"!==d[i].mode||d[i].inv||100!==d[i].o.k||d[i].o.x)&&(_="mask",x="mask"),"s"!==d[i].mode&&"i"!==d[i].mode||0!==m?h=null:((h=Q("rect")).setAttribute("fill","#ffffff"),h.setAttribute("width",this.element.comp.data.w||0),h.setAttribute("height",this.element.comp.data.h||0),v.push(h)),r=Q("path"),"n"===d[i].mode)this.viewData[i]={op:Et.getProp(this.element,d[i].o,0,.01,this.element),prop:jt.getShapeProp(this.element,d[i],3),elem:r,lastPath:""},o.appendChild(r);else{var b;if(m+=1,r.setAttribute("fill","s"===d[i].mode?"#000000":"#ffffff"),r.setAttribute("clip-rule","nonzero"),0!==d[i].x.k?(_="mask",x="mask",f=Et.getProp(this.element,d[i].x,0,null,this.element),b=z(),(c=Q("filter")).setAttribute("id",b),(p=Q("feMorphology")).setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),c.appendChild(p),o.appendChild(c),r.setAttribute("stroke","s"===d[i].mode?"#000000":"#ffffff")):(p=null,f=null),this.storedData[i]={elem:r,x:f,expan:p,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===d[i].mode){l=v.length;var w=Q("g");for(s=0;s<l;s+=1)w.appendChild(v[s]);var S=Q("mask");S.setAttribute("mask-type","alpha"),S.setAttribute("id",y+"_"+m),S.appendChild(r),o.appendChild(S),w.setAttribute("mask","url("+u()+"#"+y+"_"+m+")"),v.length=0,v.push(w)}else v.push(r);d[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:r,lastPath:"",op:Et.getProp(this.element,d[i].o,0,.01,this.element),prop:jt.getShapeProp(this.element,d[i],3),invRect:h},this.viewData[i].prop.k||this.drawPath(d[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=Q(_),a=v.length,i=0;i<a;i+=1)this.maskElement.appendChild(v[i]);m>0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(x,"url("+u()+"#"+y+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}c([Rt],cn),cn.prototype.getValue=cn.prototype.iterateDynamicProperties,cn.prototype.init=function(t,e){var n;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o=this.data.ef;for(n=0;n<r;n+=1){switch(i=null,o[n].ty){case 0:i=new en(o[n],e,this);break;case 1:i=new nn(o[n],e,this);break;case 2:i=new rn(o[n],e,this);break;case 3:i=new on(o[n],e,this);break;case 4:case 7:i=new ln(o[n],e,this);break;case 10:i=new an(o[n],e,this);break;case 11:i=new sn(o[n],e,this);break;case 5:i=new hn(o[n],e,this);break;default:i=new un(o[n],e,this)}i&&this.effectElements.push(i)}},pn.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=Y();if(t){var e=t("layer"),n=t("effects"),i=t("shape"),r=t("text"),o=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);
vendor: 3,618 bytes, line 1
1var a=n.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(a),0===this.data.ty||this.data.xt?this.compInterface=o(this):4===this.data.ty?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=r(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=tn(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,n){this.globalData=e,this.comp=n,this.data=t,this.layerId=z(),this.data.sr||(this.data.sr=1),this.effectsManager=new hn(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},fn.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var n,i=this.dynamicProperties.length;for(n=0;n<i;n+=1)(e||this._isParent&&"transform"===this.dynamicProperties[n].propType)&&(this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},dn.prototype.prepareFrame=function(){},c([Je,pn,fn],dn),dn.prototype.getBaseElement=function(){return null},dn.prototype.renderFrame=function(){},dn.prototype.destroy=function(){},dn.prototype.initExpressions=function(){var t=Y();if(t){var e=t("footage");this.layerInterface=e(this)}},dn.prototype.getFootageData=function(){return this.footageData},gn.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var n=this._volume*this._volumeMultiplier;this._previousVolume!==n&&(this._previousVolume=n,this.audio.volume(n))},c([Je,pn,fn],gn),gn.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},gn.prototype.show=function(){},gn.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},gn.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},gn.prototype.resume=function(){this._canPlay=!0},gn.prototype.setRate=function(t){this.audio.rate(t)},gn.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},gn.prototype.getBaseElement=function(){return null},gn.prototype.destroy=function(){},gn.prototype.sourceRectAtTime=function(){},gn.prototype.initExpressions=function(){},mn.prototype.checkLayers=function(t){var e,n,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(n=this.layers[e]).ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},mn.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:default:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t)}
vendor: 8,855 bytes, line 1
1},mn.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},mn.prototype.createAudio=function(t){return new gn(t,this.globalData,this)},mn.prototype.createFootage=function(t){return new dn(t,this.globalData,this)},mn.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},mn.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var n,i=t.length,r=this.layers.length;for(e=0;e<i;e+=1)for(n=0;n<r;){if(this.layers[n].id===t[e].id){this.layers[n]=t[e];break}n+=1}},mn.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},mn.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},mn.prototype.buildElementParenting=function(t,e,n){for(var i=this.elements,r=this.layers,o=0,a=r.length;o<a;)r[o].ind==e&&(i[o]&&!0!==i[o]?(n.push(i[o]),i[o].setAsParent(),void 0!==r[o].parent?this.buildElementParenting(t,r[o].parent,n):t.setHierarchy(n)):(this.buildItem(o),this.addPendingElement(t))),o+=1},mn.prototype.addPendingElement=function(t){this.pendingElements.push(t)},mn.prototype.searchExtraCompositions=function(t){var e,n=t.length;for(e=0;e<n;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},mn.prototype.getElementById=function(t){var e,n=this.elements.length;for(e=0;e<n;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},mn.prototype.getElementByPath=function(t){var e,n=t.shift();if("number"==typeof n)e=this.elements[n];else{var i,r=this.elements.length;for(i=0;i<r;i+=1)if(this.elements[i].data.nm===n){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},mn.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new Ye,this.globalData.slotManager=Ke(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},vn.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?fe.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Gt},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,n=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n<i;){if(this.hierarchy[n].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}n+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),n=0;n<i;n+=1)t=this.hierarchy[n].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var n,i=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,a=e.length;for(n=0;n<a;n+=1)o=e[n].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[1],0];return t},mHelper:new Gt},yn.prototype.getMaskProperty=function(t){return this.viewData[t].prop},yn.prototype.renderFrame=function(t){var e,n=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",n.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var r=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+u()+"#"+this.storedData[e].filterId+")")),r.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},yn.prototype.getMaskelement=function(){return this.maskElement},yn.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},yn.prototype.drawPath=function(t,e,n){var i,r,o=" M"+e.v[0][0]+","+e.v[0][1];for(r=e._length,i=1;i<r;i+=1)o+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&r>1&&(o+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),n.lastPath!==o){var a="";n.elem&&(e.c&&(a=t.inv?this.solidPath+o:o),n.elem.setAttribute("d",a)),n.lastPath=o}},yn.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var _n,xn=function(){var t={};function e(t,e){var n=Q("filter");return n.setAttribute("id",t),!0!==e&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n}function n(){var t=Q("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t}return t.createFilter=e,t.createAlphaToLuminanceFilter=n,t}(),bn=(_n={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas},(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(_n.maskType=!1),/firefox/i.test(navigator.userAgent)&&(_n.svgLumaHidden=!1),_n),wn={},Sn="filter_result_";function Mn(t){var e,n,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=z(),a=xn.createFilter(o,!0),s=0;for(this.filters=[],e=0;e<r;e+=1){n=null;var l=t.data.ef[e].ty;wn[l]&&(n=new(0,wn[l].effect)(a,t.effectsManager.effectElements[e],t,Sn+s,i),i=Sn+s,wn[l].countsAsEffect&&(s+=1)),n&&this.filters.push(n)}s&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+u()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}function Tn(){}function Cn(){}function An(){}function In(t,e,n){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,n),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function Dn(t,e){this.elem=t,this.pos=e}function kn(){}Mn.prototype.renderFrame=function(t){var e,n=this.filters.length;for(e=0;e<n;e+=1)this.filters[e].renderFrame(t)},Tn.prototype={initRendererElement:function(){this.layerElement=Q("g")},createContainerElements:function(){this.matteElement=Q("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=Q("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var n=Q("clipPath"),i=Q("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var r=z();if(n.setAttribute("id",r),n.appendChild(i),this.globalData.defs.appendChild(n),this.checkMasks()){var o=Q("g");o.setAttribute("clip-path","url("+u()+"#"+r+")"),o.appendChild(this.layerElement),this.transformedElement=o,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+u()+"#"+r+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("op
1acity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new yn(this.data,this,this.globalData),this.renderableEffectsManager=new Mn(this)},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,n,i,r,o=this.layerId+"_"+t;if(1===t||3===t){var a=Q("mask");a.setAttribute("id",o),a.setAttribute("mask-type",3===t?"luminance":"alpha"),(i=Q("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),a.appendChild(i),this.globalData.defs.appendChild(a),bn.maskType||1!==t||(a.setAttribute("mask-type","luminance"),e=z(),n=xn.createFilter(e),this.globalData.defs.appendChild(n),n.appendChild(xn.createAlphaToLuminanceFilter()),(r=Q("g")).appendChild(i),a.appendChild(r),r.setAttribute("filter","url("+u()+"#"+e+")"))}else if(2===t){var s=Q("mask");s.setAttribute("id",o),s.setAttribute("mask-type","alpha");var l=Q("g");s.appendChild(l),e=z(),n=xn.createFilter(e);var h=Q("feComponentTransfer");h.setAttribute("in","SourceGraphic"),n.appendChild(h);var c=Q("feFuncA");c.setAttribute("type","table"),c.setAttribute("tableValues","1.0 0.0"),h.appendChild(c),this.globalData.defs.appendChild(n);var p=Q("rect");p.setAttribute("width",this.comp.data.w),p.setAttribute("height",this.comp.data.h),p.setAttribute("x","0"),p.setAttribute("y","0"),p.setAttribute("fill","#ffffff"),p.setAttribute("opacity","0"),l.setAttribute("filter","url("+u()+"#"+e+")"),l.appendChild(p),(i=Q("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),bn.maskType||(s.setAttribute("mask-type","luminance"),n.appendChild(xn.createAlphaToLuminanceFilter()),r=Q("g"),l.appendChild(p),r.appendChild(this.layerElement),l.appendChild(r)),this.globalData.defs.appendChild(s)}this.matteMasks[t]=o}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+u()+"#"+t+")")}},Cn.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},c([Je,p({initElement:function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],An),c([pn,vn,Tn,Cn,fn,An],In),In.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=Q("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},In.prototype.sourceRectAtTime=function(){return this.sourceRect},kn.prototype={addShapeToModifiers:function(t){var e,n=this.shapeModifiers.length;for(e=0;e<n;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,n=this.shapeModifiers.length;e<n;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,n=0,i=e.length;n<i;){if(e[n].elem===t)return e[n].pos;n+=1}return 0},addProcessedElement:function(t,e){for(var n=this.processedElements,i=n.length;i;)if(n[i-=1].elem===t)return void(n[i].pos=e);n.push(new Dn(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var Pn={1:"butt",2:"round",3:"square"},Ln={1:"miter",2:"round",3:"bevel"};function On(t,e,n){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=n,this.lvl=e,this._isAnimated=!!n.k;for(var i=0,r=t.length;i<r;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function En(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=Q("path"),this.msElem=null}function Rn(t,e,n,i){var r;this.elem=t,this.frameId=-1,this.dataProps=g(e.length),this.renderer=n,this.k=!1,this.dashStr="",this.dashArray=d("float32",e.length?e.length-1:0),this.dashoffset=d("float32",1),this.initDynamicPropertyContainer(i);var o,a=e.length||0;for(r=0;r<a;r+=1)o=Et.getProp(t,e[r].v,0,0,this),this.k=o.k||this.k,this.dataProps[r]={n:e[r].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function Nn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=Et.getProp(t,e.o,0,.01,this),this.w=Et.getProp(t,e.w,0,null,this),this.d=new Rn(t,e.d||{},"svg",this),this.c=Et.getProp(t,e.c,1,255,this),this.style=n,this._isAnimated=!!this._isAnimated}function Fn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=Et.getProp(t,e.o,0,.01,this),this.c=Et.getProp(t,e.c,1,255,this),this.style=n}function Bn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=n}function zn(t,e,n){this.data=e,this.c=d("uint8c",4*e.p);
vendor: 4,147 bytes, line 1
1var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=d("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(n),this.prop=Et.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function Vn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,n)}function jn(t,e,n){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=Et.getProp(t,e.w,0,null,this),this.d=new Rn(t,e.d||{},"svg",this),this.initGradientData(t,e,n),this._isAnimated=!!this._isAnimated}function Gn(){this.it=[],this.prevViewData=[],this.gr=Q("g")}function Hn(t,e,n){this.transform={mProps:t,op:e,container:n},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}On.prototype.setAsAnimated=function(){this._isAnimated=!0},En.prototype.reset=function(){this.d="",this._mdf=!1},Rn.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,n=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<n;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},c([Rt],Rn),c([Rt],Nn),c([Rt],Fn),c([Rt],Bn),zn.prototype.comparePoints=function(t,e){for(var n=0,i=this.o.length/2;n<i;){if(Math.abs(t[4*n]-t[4*e+2*n])>.01)return!1;n+=1}return!0},zn.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},zn.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,n,i,r=4*this.data.p;for(e=0;e<r;e+=1)n=e%4==0?100:255,i=Math.round(this.prop.v[e]*n),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=4*this.data.p;e<r;e+=1)n=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},c([Rt],zn),Vn.prototype.initGradientData=function(t,e,n){this.o=Et.getProp(t,e.o,0,.01,this),this.s=Et.getProp(t,e.s,1,null,this),this.e=Et.getProp(t,e.e,1,null,this),this.h=Et.getProp(t,e.h||{k:0},0,.01,this),this.a=Et.getProp(t,e.a||{k:0},0,I,this),this.g=new zn(t,e.g,this),this.style=n,this.stops=[],this.setGradientData(n.pElem,e),this.setGradientOpacity(e,n),this._isAnimated=!!this._isAnimated},Vn.prototype.setGradientData=function(t,e){var n=z(),i=Q(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",n),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var r,o,a,s=[];for(a=4*e.g.p,o=0;o<a;o+=4)r=Q("stop"),i.appendChild(r),s.push(r);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+u()+"#"+n+")"),this.gf=i,this.cst=s},Vn.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var n,i,r,o=Q("mask"),a=Q("path");o.appendChild(a);var s=z(),l=z();o.setAttribute("id",l);var h=Q(1===t.t?"linearGradient":"radialGradient");h.setAttribute("id",s),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(i=4*t.g.p;i<r;i+=2)(n=Q("stop")).setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(n),c.push(n);a.setAttribute("gf"===t.ty?"fill":"stroke","url("+u()+"#"+s+")"),"gs"===t.ty&&(a.setAttribute("stroke-linecap",Pn[t.lc||2]),a.setAttribute("stroke-linejoin",Ln[t.lj||2]),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=h,this.ms=o,this.ost=c,this.maskId=l,e.msElem=a}},c([Rt],Vn),c([Vn,Rt],jn);var Wn=function(t,e,n,i){if(0===e)return"";var r,o=t.o,a=t.i,s=t.v,l=" M"+i.applyToPointStringified(s[0][0],s[0][1]);for(r=1;r<e;
vendor: 8,704 bytes, line 1
1r+=1)l+=" C"+i.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+i.applyToPointStringified(a[r][0],a[r][1])+" "+i.applyToPointStringified(s[r][0],s[r][1]);return n&&e&&(l+=" C"+i.applyToPointStringified(o[r-1][0],o[r-1][1])+" "+i.applyToPointStringified(a[0][0],a[0][1])+" "+i.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},Zn=function(){var t=new Gt,e=new Gt;function n(t){switch(t.ty){case"fl":return a;case"gf":return l;case"gs":return s;case"st":return u;case"sh":case"el":case"rc":case"sr":return o;case"tr":return i;case"no":return r;default:return null}}function i(t,e,n){(n||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(n||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(){}function o(n,i,r){var o,a,s,l,u,h,c,p,f,d,g,m=i.styles.length,v=i.lvl;for(h=0;h<m;h+=1){if(l=i.sh._mdf||r,i.styles[h].lvl<v){for(p=e.reset(),d=v-i.styles[h].lvl,g=i.transformers.length-1;!l&&d>0;)l=i.transformers[g].mProps._mdf||l,d-=1,g-=1;if(l)for(d=v-i.styles[h].lvl,g=i.transformers.length-1;d>0;)f=i.transformers[g].mProps.v.props,p.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),d-=1,g-=1}else p=t;if(a=(c=i.sh.paths)._length,l){for(s="",o=0;o<a;o+=1)(u=c.shapes[o])&&u._length&&(s+=Wn(u,u._length,u.c,p));i.caches[h]=s}else s=i.caches[h];i.styles[h].d+=!0===n.hd?"":s,i.styles[h]._mdf=l||i.styles[h]._mdf}}function a(t,e,n){var i=e.style;(e.c._mdf||n)&&i.pElem.setAttribute("fill","rgb("+M(e.c.v[0])+","+M(e.c.v[1])+","+M(e.c.v[2])+")"),(e.o._mdf||n)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function s(t,e,n){l(t,e,n),u(t,e,n)}function l(t,e,n){var i,r,o,a,s,l=e.gf,u=e.g._hasOpacity,h=e.s.v,c=e.e.v;if(e.o._mdf||n){var p="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(p,e.o.v)}if(e.s._mdf||n){var f=1===t.t?"x1":"cx",d="x1"===f?"y1":"cy";l.setAttribute(f,h[0]),l.setAttribute(d,h[1]),u&&!e.g._collapsable&&(e.of.setAttribute(f,h[0]),e.of.setAttribute(d,h[1]))}if(e.g._cmdf||n){i=e.cst;var g=e.g.c;for(o=i.length,r=0;r<o;r+=1)(a=i[r]).setAttribute("offset",g[4*r]+"%"),a.setAttribute("stop-color","rgb("+g[4*r+1]+","+g[4*r+2]+","+g[4*r+3]+")")}if(u&&(e.g._omdf||n)){var m=e.g.o;for(o=(i=e.g._collapsable?e.cst:e.ost).length,r=0;r<o;r+=1)a=i[r],e.g._collapsable||a.setAttribute("offset",m[2*r]+"%"),a.setAttribute("stop-opacity",m[2*r+1])}if(1===t.t)(e.e._mdf||n)&&(l.setAttribute("x2",c[0]),l.setAttribute("y2",c[1]),u&&!e.g._collapsable&&(e.of.setAttribute("x2",c[0]),e.of.setAttribute("y2",c[1])));else if((e.s._mdf||e.e._mdf||n)&&(s=Math.sqrt(Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)),l.setAttribute("r",s),u&&!e.g._collapsable&&e.of.setAttribute("r",s)),e.e._mdf||e.h._mdf||e.a._mdf||n){s||(s=Math.sqrt(Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)));var v=Math.atan2(c[1]-h[1],c[0]-h[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var _=s*y,x=Math.cos(v+e.a.v)*_+h[0],b=Math.sin(v+e.a.v)*_+h[1];l.setAttribute("fx",x),l.setAttribute("fy",b),u&&!e.g._collapsable&&(e.of.setAttribute("fx",x),e.of.setAttribute("fy",b))}}function u(t,e,n){var i=e.style,r=e.d;r&&(r._mdf||n)&&r.dashStr&&(i.pElem.setAttribute("stroke-dasharray",r.dashStr),i.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),e.c&&(e.c._mdf||n)&&i.pElem.setAttribute("stroke","rgb("+M(e.c.v[0])+","+M(e.c.v[1])+","+M(e.c.v[2])+")"),(e.o._mdf||n)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||n)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:n}}();function Un(t,e,n){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,n),this.prevViewData=[]}function Xn(t,e,n,i,r,o){this.o=t,this.sw=e,this.sc=n,this.fc=i,this.m=r,this.p=o,this._mdf={o:!0,sw:!!e,sc:!!n,fc:!!i,m:!0,p:!0}}function $n(t,e){this._frameId=o,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}c([pn,vn,Tn,kn,Cn,fn,An],Un),Un.prototype.initSecondaryElement=function(){},Un.prototype.identityMatrix=new Gt,Un.prototype.buildExpressionInterface=function(){},Un.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Un.prototype.filterUniqueShapes=function(){var t,e,n,i,r=this.shapes.length,o=this.stylesList.length,a=[],s=!1;for(n=0;n<o;n+=1){for(i=this.stylesList[n],s=!1,a.length=0,t=0;t<r;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(a.push(e),s=e._isAnimated||s);a.length>1&&s&&this.setShapesAsAnimated(a)}},Un.prototype.setShapesAsAnimated=function(t){var e,n=t.length;for(e=0;e<n;e+=1)t[e].setAsAnimated()},Un.prototype.createStyleElement=function(t,e){var n,i=new En(t,e),r=i.pElem;return"st"===t.ty?n=new Nn(this,t,i):"fl"===t.ty?n=new Fn(this,t,i):"gf"===t.ty||"gs"===t.ty?(n=new("gf"===t.ty?Vn:jn)(this,t,i),this.globalData.defs.appendChild(n.gf),n.maskId&&(this.globalData.defs.appendChild(n.ms),this.globalData.defs.appendChild(n.of),r.setAttribute("mask","url("+u()+"#"+n.maskId+")"))):"no"===t.ty&&(n=new Bn(this,t,i)),"st"!==t.ty&&"gs"!==t.ty||(r.setAttribute("stroke-linecap",Pn[t.lc||2]),r.setAttribute("stroke-linejoin",Ln[t.lj||2]),r.setAttribute("fill-opacity","0"),1===t.lj&&r.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=tn(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,n),n},Un.prototype.createGroupElement=function(t){var e=new Gn;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=tn(t.bm)),e},Un.prototype.createTransformElement=function(t,e){var n=fe.getTransformProperty(this,t,this),i=new Hn(n,n.o,e);return this.addToAnimatedContents(t,i),i},Un.prototype.createShapeElement=function(t,e,n){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var r=new On(e,n,jt.getShapeProp(this,t,i,this));return this.shapes.push(r),this.addShapeToModifiers(r),this.addToAnimatedContents(t,r),r},Un.prototype.addToAnimatedContents=function(t,e){for(var n=0,i=this.animatedContents.length;n<i;){if(this.animatedContents[n].element===e)return;n+=1}this.animatedContents.push({fn:Zn.createRenderFunction(t),element:e,data:t})},Un.prototype.setElementStyles=function(t){var e,n=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||n.push(this.stylesList[e])},Un.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},Un.prototype.searchShapes=function(t,e,n,i,r,o,a){var s,l,u,h,c,p,f=[].concat(o),d=t.length-1,g=[],m=[];for(s=d;s>=0;s-=1){if((p=this.searchProcessedElement(t[s]))?e[s]=n[p-1]:t[s]._render=a,"fl"===t[s].ty||"st"===t[s].ty||"gf"===t[s].ty||"gs"===t[s].ty||"no"===t[s].ty)p?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],r),t[s]._render&&e[s].style.pElem.parentNode!==i&&i.appendChild(e[s].style.pElem),g.push(e[s].style);else if("gr"===t[s].ty){if(p)for(u=e[s].it.length,l=0;l<u;l+=1)e[s].prevViewData[l]=e[s].it[l];else e[s]=this.createGroupElement(t[s]);this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,e[s].gr,r+1,f,a),t[s]._render&&e[s].gr.parentNode!==i&&i.appendChild(e[s].gr)}else"tr"===t[s].ty?(p||(e[s]=this.createTransformElement(t[s],i)),h=e[s].transform,f.push(h)):"sh"===t[s].ty||"rc"===t[s].ty||"el"===t[s].ty||"sr"===t[s].ty?(p||(e[s]=this.createShapeElement(t[s],f,r)),this.setElementStyles(e[s])):"tm"===t[s].ty||"rd"===t[s].ty||"ms"===t[s].ty||"pb"===t[s].ty||"zz"===t[s].ty||"op"===t[s].ty?(p?(c=e[s]).closed=!1:((c=ue.getModifier(t[s].ty)).init(this,t[s]),e[s]=c,this.shapeModifiers.push(c)),m.push(c)):"rp"===t[s].ty&&
vendor: 4,614 bytes, line 1
1(p?(c=e[s]).closed=!0:(c=ue.getModifier(t[s].ty),e[s]=c,c.init(this,t,s,e),this.shapeModifiers.push(c),a=!1),m.push(c));this.addProcessedElement(t[s],s+1)}for(d=g.length,s=0;s<d;s+=1)g[s].closed=!0;for(d=m.length,s=0;s<d;s+=1)m[s].closed=!0},Un.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},Un.prototype.renderShape=function(){var t,e,n=this.animatedContents.length;for(t=0;t<n;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},Un.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},Xn.prototype.update=function(t,e,n,i,r,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==n&&(this.sc=n,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,a=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,a=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,a=!0),a},$n.prototype.defaultBoxWidth=[0,0],$n.prototype.copyData=function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},$n.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},$n.prototype.searchProperty=function(){return this.searchKeyframes()},$n.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},$n.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},$n.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,o=t||this.data.d.k[this.keysIndex].s;for(i=0;i<r;i+=1)o=n!==this.keysIndex?this.effectsSequence[i](o,o.t):this.effectsSequence[i](this.currentData,o.t);e!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},$n.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,n=0,i=t.length;n<=i-1&&!(n===i-1||t[n+1].t>e);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},$n.prototype.buildFinalText=function(t){for(var e,n,i=[],r=0,o=t.length,a=!1;r<o;)e=t.charCodeAt(r),Ye.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(r):e>=55296&&e<=56319?(n=t.charCodeAt(r+1))>=56320&&n<=57343?(a||Ye.isModifier(e,n)?(i[i.length-1]+=t.substr(r,2),a=!1):i.push(t.substr(r,2)),r+=1):i.push(t.charAt(r)):e>56319?(n=t.charCodeAt(r+1),Ye.isZeroWidthJoiner(e,n)?(a=!0,i[i.length-1]+=t.substr(r,2),r+=1):i.push(t.charAt(r))):Ye.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(r),a=!0):i.push(t.charAt(r)),r+=1;return i},$n.prototype.completeTextData=function(t){t.__complete=!0;var e,n,i,r,o,a,s,l=this.elem.globalData.fontManager,u=this.data,h=[],c=0,p=u.m.g,f=0,d=0,g=0,m=[],v=0,y=0,_=l.getFontByName(t.f),x=0,b=$e(_);t.fWeight=b.weight,t.fStyle=b.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),n=t.finalText.length,t.finalLineHeight=t.lh;var w,S=t.tr/1e3*t.finalSize;if(t.sz)for(var M,T,C=!0,A=t.sz[0],I=t.sz[1];C;){M=0,v=0,n=(T=this.buildFinalText(t.t)).length,S=t.tr/1e3*t.finalSize;var D=-1;for(e=0;e<n;e+=1)w=T[e].charCodeAt(0),i=!1," "===T[e]?D=e:13!==w&&3!==w||(v=0,i=!0,M+=t.finalLineHeight||1.2*t.finalSize),l.chars?(s=l.getCharData(T[e],_.fStyle,_.fFamily),x=i?0:s.w*t.finalSize/100):x=l.measureText(T[e],t.f,t.finalSize),v+x>A&&" "!==T[e]?(-1===D?n+=1:e=D,M+=t.finalLineHeight||1.2*t.finalSize,T.splice(e,D===e?1:0,"\r"),D=-1,v=0):(v+=x,v+=S);M+=_.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&I<M?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=T,n=t.finalText.length,C=!1)}v=-S,x=0;var k,P=0;for(e=0;e<n;
vendor: 13,168 bytes, line 1
1e+=1)if(i=!1,13===(w=(k=t.finalText[e]).charCodeAt(0))||3===w?(P=0,m.push(v),y=v>y?v:y,v=-2*S,r="",i=!0,g+=1):r=k,l.chars?(s=l.getCharData(k,_.fStyle,l.getFontByName(t.f).fFamily),x=i?0:s.w*t.finalSize/100):x=l.measureText(r,t.f,t.finalSize)," "===k?P+=x+S:(v+=x+S+P,P=0),h.push({l:x,an:x,add:f,n:i,anIndexes:[],val:r,line:g,animatorJustifyOffset:0}),2==p){if(f+=x,""===r||" "===r||e===n-1){for(""!==r&&" "!==r||(f-=x);d<=e;)h[d].an=f,h[d].ind=c,h[d].extra=x,d+=1;c+=1,f=0}}else if(3==p){if(f+=x,""===r||e===n-1){for(""===r&&(f-=x);d<=e;)h[d].an=f,h[d].ind=c,h[d].extra=x,d+=1;f=0,c+=1}}else h[c].ind=c,h[c].extra=0,c+=1;if(t.l=h,y=v>y?v:y,m.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=m;var L,O,E,R,N=u.a;a=N.length;var F=[];for(o=0;o<a;o+=1){for((L=N[o]).a.sc&&(t.strokeColorAnim=!0),L.a.sw&&(t.strokeWidthAnim=!0),(L.a.fc||L.a.fh||L.a.fs||L.a.fb)&&(t.fillColorAnim=!0),R=0,E=L.s.b,e=0;e<n;e+=1)(O=h[e]).anIndexes[o]=R,(1==E&&""!==O.val||2==E&&""!==O.val&&" "!==O.val||3==E&&(O.n||" "==O.val||e==n-1)||4==E&&(O.n||e==n-1))&&(1===L.s.rn&&F.push(R),R+=1);u.a[o].s.totalChars=R;var B,z=-1;if(1===L.s.rn)for(e=0;e<n;e+=1)z!=(O=h[e]).anIndexes[o]&&(z=O.anIndexes[o],B=F.splice(Math.floor(Math.random()*F.length),1)[0]),O.anIndexes[o]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=_.ascent*t.finalSize/100},$n.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var n=this.copyData({},this.data.d.k[e].s);n=this.copyData(n,t),this.data.d.k[e].s=n,this.recalculate(e),this.setCurrentData(n),this.elem.addDynamicProperty(this)},$n.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},$n.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},$n.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Yn=function(){var t=Math.max,e=Math.min,n=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=Et.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?Et.getProp(t,e.e,0,0,this):{v:100},this.o=Et.getProp(t,e.o||{k:0},0,0,this),this.xe=Et.getProp(t,e.xe||{k:0},0,0,this),this.ne=Et.getProp(t,e.ne||{k:0},0,0,this),this.sm=Et.getProp(t,e.sm||{k:100},0,0,this),this.a=Et.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}function r(t,e,n){return new i(t,e,n)}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var r=0,o=0,a=1,s=1;this.ne.v>0?r=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var l=ft.getBezierEasing(r,o,a,s).get,u=0,h=this.finalS,c=this.finalE,p=this.data.sh;if(2===p)u=l(u=c===h?i>=c?1:0:t(0,e(.5/(c-h)+(i-h)/(c-h),1)));else if(3===p)u=l(u=c===h?i>=c?0:1:1-t(0,e(.5/(c-h)+(i-h)/(c-h),1)));else if(4===p)c===h?u=0:(u=t(0,e(.5/(c-h)+(i-h)/(c-h),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===p){if(c===h)u=0;else{var f=c-h,d=-f/2+(i=e(t(0,i+.5-h),c-h)),g=f/2;u=Math.sqrt(1-d*d/(g*g))}u=l(u)}else 6===p?(c===h?u=0:(i=e(t(0,i+.5-h),c-h),u=(1+Math.cos(Math.PI+2*Math.PI*i/(c-h)))/2),u=l(u)):(i>=n(h)&&(u=t(0,e(i-h<0?e(c,1)-(h-i):c-i,1))),u=l(u));if(100!==this.sm.v){var m=.01*this.sm.v;0===m&&(m=1e-8);var v=.5-.5*m;u<v?u=0:(u=(u-v)/m)>1&&(u=1)}return u*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/e,i=this.s.v/e+n,r=this.e.v/e+n;if(i>r){var o=i;i=r,r=o}this.finalS=i,this.finalE=r}},c([Rt],i),{getTextSelectorProp:r}}();function qn(t,e,n){var i={propType:!1},r=Et.getProp,o=e.a;this.a={r:o.r?r(t,o.r,0,I,n):i,rx:o.rx?r(t,o.rx,0,I,n):i,ry:o.ry?r(t,o.ry,0,I,n):i,sk:o.sk?r(t,o.sk,0,I,n):i,sa:o.sa?r(t,o.sa,0,I,n):i,s:o.s?r(t,o.s,1,.01,n):i,a:o.a?r(t,o.a,1,0,n):i,o:o.o?r(t,o.o,0,.01,n):i,p:o.p?r(t,o.p,1,0,n):i,sw:o.sw?r(t,o.sw,0,0,n):i,sc:o.sc?r(t,o.sc,1,0,n):i,fc:o.fc?r(t,o.fc,1,0,n):i,fh:o.fh?r(t,o.fh,0,0,n):i,fs:o.fs?r(t,o.fs,0,.01,n):i,fb:o.fb?r(t,o.fb,0,.01,n):i,t:o.t?r(t,o.t,0,0,n):i},this.s=Yn.getTextSelectorProp(t,e.s,n),this.s.t=e.s.t}function Kn(t,e,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=n,this._animatorsData=g(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function Jn(){}Kn.prototype.searchProperties=function(){var t,e,n=this._textData.a.length,i=Et.getProp;for(t=0;t<n;t+=1)e=this._textData.a[t],this._animatorsData[t]=new qn(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},Kn.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var n,i,r,o,a,s,l,u,h,c,p,f,d,g,m,v,y,_,x,b=this._moreOptions.alignment.v,w=this._animatorsData,S=this._textData,M=this.mHelper,T=this._renderType,C=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(x=this._pathData.m,!this._pathData.n||this._pathData._mdf){var I,D=x.v;for(this._pathData.r.v&&(D=D.reverse()),a={tLength:0,segments:[]},o=D._length-1,v=0,r=0;r<o;r+=1)I=_t.buildBezierData(D.v[r],D.v[r+1],[D.o[r][0]-D.v[r][0],D.o[r][1]-D.v[r][1]],[D.i[r+1][0]-D.v[r+1][0],D.i[r+1][1]-D.v[r+1][1]]),a.tLength+=I.segmentLength,a.segments.push(I),v+=I.segmentLength;r=o,x.v.c&&(I=_t.buildBezierData(D.v[r],D.v[0],[D.o[r][0]-D.v[r][0],D.o[r][1]-D.v[r][1]],[D.i[0][0]-D.v[0][0],D.i[0][1]-D.v[0][1]]),a.tLength+=I.segmentLength,a.segments.push(I),v+=I.segmentLength),this._pathData.pi=a}if(a=this._pathData.pi,s=this._pathData.f.v,p=0,c=1,u=0,h=!0,g=a.segments,s<0&&x.v.c)for(a.tLength<Math.abs(s)&&(s=-Math.abs(s)%a.tLength),c=(d=g[p=g.length-1].points).length-1;s<0;)s+=d[c].partialLength,(c-=1)<0&&(c=(d=g[p-=1].points).length-1);f=(d=g[p].points)[c-1],m=(l=d[c]).partialLength}o=A.length,n=0,i=0;var k,P,L,O,E,R=1.2*t.finalSize*.714,N=!0;L=w.length;var F,B,z,V,j,Z,U,X,$,Y,q,K,J=-1,Q=s,tt=p,et=c,nt=-1,it="",rt=this.defaultPropsArray;if(2===t.j||1===t.j){var ot=0,at=0,st=2===t.j?-.5:-1,lt=0,ut=!0;for(r=0;r<o;r+=1)if(A[r].n){for(ot&&(ot+=at);lt<r;)A[lt].animatorJustifyOffset=ot,lt+=1;ot=0,ut=!0}else{for(P=0;P<L;P+=1)(k=w[P].a).t.propType&&(ut&&2===t.j&&(at+=k.t.v*st),(E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?ot+=k.t.v*E[0]*st:ot+=k.t.v*E*st);ut=!1}for(ot&&(ot+=at);lt<r;)A[lt].animatorJustifyOffset=ot,lt+=1}for(r=0;r<o;r+=1){if(M.reset(),V=1,A[r].n)n=0,i+=t.yOffset,i+=N?1:0,s=Q,N=!1,this._hasMaskedPath&&(c=et,f=(d=g[p=tt].points)[c-1],m=(l=d[c]).partialLength,u=0),it="",q="",$="",K="",rt=this.defaultPropsArray;else{if(this._hasMaskedPath){if(nt!==A[r].line){switch(t.j){case 1:s+=v-t.lineWidths[A[r].line];break;case 2:s+=(v-t.lineWidths[A[r].line])/2}nt=A[r].line}J!==A[r].ind&&(A[J]&&(s+=A[J].extra),s+=A[r].an/2,J=A[r].ind),s+=b[0]*A[r].an*.005;var ht=0;for(P=0;P<L;P+=1)(k=w[P].a).p.propType&&((E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?ht+=k.p.v[0]*E[0]:ht+=k.p.v[0]*E),k.a.propType&&((E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?ht+=k.a.v[0]*E[0]:ht+=k.a.v[0]*E);for(h=!0,this._pathData.a.v&&(s=.5*A[0].an+(v-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*J/(o-1),s+=this._pathData.f.v);h;)u+m>=s+ht||!d?(y=(s+ht-u)/l.partialLength,B=f.point[0]+(l.point[0]-f.point[0])*y,z=f.point[1]+(l.point[1]-f.point[1])*y,M.translate(-b[0]*A[r].an*.005,-b[1]*R*.01),h=!1):d&&(u+=l.partialLength,(c+=1)>=d.length&&(c=0,g[p+=1]?d=g[p].points:x.v.c?(c=0,d=g[p=0].points):(u-=l.partialLength,d=null)),d&&(f=l,m=(l=d[c]).partialLength));F=A[r].an/2-A[r].add,M.translate(-F,0,0)}else F=A[r].an/2-A[r].add,M.translate(-F,0,0),M.translate(-b[0]*A[r].an*.005,-b[1]*R*.01,0);for(P=0;P<L;P+=1)(k=w[P].a).t.propType&&(E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars),0===n&&0===t.j||(this._hasMaskedPath?E.length?s+=k.t.v*E[0]:s+=k.t.v*E:E.length?n+=k.t.v*E[0]:n+=k.t.v*E));for(t.strokeWidthAnim&&(Z=t.sw||0),t.strokeColorAnim&&(j=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(U=[t.fc[0],t.fc[1],t.fc[2]]),P=0;P<L;P+=1)(k=w[P].a).a.propType&&((E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?M.translate(-k.a.v[0]*E[0],-k.a.v[1]*E[1],k.a.v[2]*E[2]):M.translate(-k.a.v[0]*E,-k.a.v[1]*E,k.a.v[2]*E));for(P=0;P<L;P+=1)(k=w[P].a).s.propType&&((E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars)).length?M.scale(1+(k.s.v[0]-1)*E[0],1+(k.s.v[1]-1)*E[1],1):M.scale(1+(k.s.v[0]-1)*E,1+(k.s.v[1]-1)*E,1));for(P=0;P<L;P+=1){if(k=w[P].a,E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars),k.sk.propType&&(E.length?M.skewFromAxis(-k.sk.v*E[0],k.sa.v*E[1]):M.skewFromAxis(-k.sk.v*E,k.sa.v*E)),k.r.propType&&(E.length?M.rotateZ(-k.r.v*E[2]):M.rotateZ(-k.r.v*E)),k.ry.propType&&(E.length?M.rotateY(k.ry.v*E[1]):M.rotateY(k.ry.v*E)),k.rx.propType&&(E.length?M.rotateX(k.rx.v*E[0]):M.rotateX(k.rx.v*E)),k.o.propType&&(E.length?V+=(k.o.v*E[0]-V)*E[0]:V+=(k.o.v*E-V)*E),t.strokeWidthAnim&&k.sw.propType&&(E.length?Z+=k.sw.v*E[0]:Z+=k.sw.v*E),t.strokeColorAnim&&k.sc.propType)for(X=0;X<3;X+=1)E.length?j[X]+=(k.sc.v[X]-j[X])*E[0]:j[X]+=(k.sc.v[X]-j[X])*E;if(t.fillColorAnim&&t.fc){if(k.fc.propType)for(X=0;X<3;X+=1)E.length?U[X]+=(k.fc.v[X]-U[X])*E[0]:U[X]+=(k.fc.v[X]-U[X])*E;k.fh.propType&&(U=E.length?W(U,k.fh.v*E[0]):W(U,k.fh.v*E)),k.fs.propType&&(U=E.length?G(U,k.fs.v*E[0]):G(U,k.fs.v*E)),k.fb.propType&&(U=E.length?H(U,k.fb.v*E[0]):H(U,k.fb.v*E))}}for(P=0;P<L;P+=1)(k=w[P].a).p.propType&&(E=w[P].s.getMult(A[r].anIndexes[P],S.a[P].s.totalChars),this._hasMaskedPath?E.length?M.translate(0,k.p.v[1]*E[0],-k.p.v[2]*E[1]):M.translate(0,k.p.v[1]*E,-k.p.v[2]*E):E.length?M.translate(k.p.v[0]*E[0],k.p.v[1]*E[1],-k.p.v[2]*E[2]):M.translate(k.p.v[0]*E,k.p.v[1]*E,-k.p.v[2]*E));if(t.strokeWidthAnim&&($=Z<0?0:Z),t.strokeColorAnim&&(Y="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),t.fillColorAnim&&t.fc&&(q="rgb("+Math.round(255*U[0])+","+Math.round(255*U[1])+","+Math.round(255*U[2])+")"),this._hasMaskedPath){if(M.translate(0,-t.ls),M.translate(0,b[1]*R*.01+i,0),this._pathData.p.v){_=(l.point[1]-f.point[1])/(l.point[0]-f.point[0]);var ct=180*Math.atan(_)/Math.PI;l.point[0]<f.point[0]&&(ct+=180),M.rotate(-ct*Math.PI/180)}M.translate(B,z,0),s-=b[0]*A[r].an*.005,A[r+1]&&J!==A[r+1].ind&&(s+=A[r].an/2,s+=.001*t.tr*t.finalSize)}else{switch(M.translate(n,i,0),t.ps&&M.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:M.translate(A[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[r].line]),0,0);break;case 2:M.translate(A[r].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[r].line])/2,0,0)}M.translate(0,-t.ls),M.translate(F,0,0),M.translate(b[0]*A[r].an*.005,b[1]*R*.01,0),n+=A[r].l+.001*t.tr*t.finalSize}"html"===T?it=M.toCSS():"svg"===T?it=M.to2dCSS():rt=[M.props[0],M.props[1],M.props[2],M.props[3],M.props[4],M.props[5],M.props[6],M.props[7],M.props[8],M.props[9],M.props[10],M.props[11],M.props[12],M.props[13],M.props[14],M.props[15]],K=V}C<=r?(O=new Xn(K,$,Y,q,it,rt),this.renderedLetters.push(O),C+=1,this.lettersChangedFlag=!0):(O=this.renderedLetters[r],this.lettersChangedFlag=O.update(K,$,Y,q,it,rt)||this.lettersChangedFlag)}}},Kn.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Kn.prototype.mHelper=new Gt,Kn.prototype.defaultPropsArray=[],c([Rt],Kn),Jn.prototype.initElement=function(t,e,n){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,n),this.textProperty=new $n(this,t.t,this.dynamicProperties),this.textAnimator=new Kn(t.t,this.renderType,this),this.initTransform(t,e,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Jn.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},Jn.prototype.createPathShape=function(t,e){var n,i,r=e.length,o="";for(n=0;n<r;
vendor: 7,462 bytes, line 1
1n+=1)"sh"===e[n].ty&&(i=e[n].ks.k,o+=Wn(i,i.i.length,!0,t));return o},Jn.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},Jn.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},Jn.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},Jn.prototype.applyTextPropertiesToMatrix=function(t,e,n,i,r){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[n])/2,0,0)}e.translate(i,r,0)},Jn.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},Jn.prototype.emptyProp=new Xn,Jn.prototype.destroy=function(){};var Qn={shapes:[]};function ti(t,e,n){this.textSpans=[],this.renderType="svg",this.initElement(t,e,n)}function ei(t,e,n){this.initElement(t,e,n)}function ni(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initFrame(),this.initTransform(t,e,n),this.initHierarchy()}function ii(){}function ri(){}function oi(t,e,n){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?g(this.layers.length):[],this.initElement(t,e,n),this.tm=t.tm?Et.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function ai(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=Q("svg");var n="";if(e&&e.title){var i=Q("title"),r=z();i.setAttribute("id",r),i.textContent=e.title,this.svgElement.appendChild(i),n+=r}if(e&&e.description){var o=Q("desc"),a=z();o.setAttribute("id",a),o.textContent=e.description,this.svgElement.appendChild(o),n+=" "+a}n&&this.svgElement.setAttribute("aria-labelledby",n);var s=Q("defs");this.svgElement.appendChild(s);var l=Q("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return c([pn,vn,Tn,Cn,fn,An,Jn],ti),ti.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Q("text"))},ti.prototype.buildTextContents=function(t){for(var e=0,n=t.length,i=[],r="";e<n;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(r),r=""):r+=t[e],e+=1;return i.push(r),i},ti.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var n=t.shapes[0];if(n.it){var i=n.it[n.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},ti.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var n=this.textProperty.currentData;this.renderedLetters=g(n?n.l.length:0),n.fc?this.layerElement.setAttribute("fill",this.buildColor(n.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),n.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(n.sc)),this.layerElement.setAttribute("stroke-width",n.sw)),this.layerElement.setAttribute("font-size",n.finalSize);var i=this.globalData.fontManager.getFontByName(n.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var r=n.fWeight,o=n.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",n.t);var a,s=n.l||[],l=!!this.globalData.fontManager.chars;e=s.length;var u=this.mHelper,h="",c=this.data.singleShape,p=0,f=0,d=!0,m=.001*n.tr*n.finalSize;if(!c||l||n.sz){var v,y=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!c||0===t){if(a=y>t?this.textSpans[t].span:Q(l?"g":"text"),y<=t){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=a,l){var _=Q("g");a.appendChild(_),this.textSpans[t].childSpan=_}this.textSpans[t].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(u.reset(),c&&(s[t].n&&(p=-m,f+=n.yOffset,f+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(n,u,s[t].line,p,f),p+=s[t].l||0,p+=m),l){var x;if(1===(v=this.globalData.fontManager.getCharData(n.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)x=new oi(v.data,this.globalData,this);else{var b=Qn;v.data&&v.data.shapes&&(b=this.buildShapeData(v.data,n.finalSize)),x=new Un(b,this.globalData,this)}if(this.textSpans[t].glyph){var w=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[t].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[t].childSpan.appendChild(x.layerElement),1===v.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else c&&a.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),a.textContent=s[t].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&a&&a.setAttribute("d",h)}else{var S=this.textContainer,M="start";switch(n.j){case 1:M="end";break;case 2:M="middle";break;default:M="start"}S.setAttribute("text-anchor",M),S.setAttribute("letter-spacing",m);var T=this.buildTextContents(n.finalText);for(e=T.length,f=n.ps?n.ps[1]+n.ascent:0,t=0;t<e;t+=1)(a=this.textSpans[t].span||Q("tspan")).textContent=T[t],a.setAttribute("x",0),a.setAttribute("y",f),a.style.display="inherit",S.appendChild(a),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=a,f+=n.finalLineHeight;this.layerElement.appendChild(S)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},ti.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},ti.prototype.getValue=function(){var t,e,n=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<n;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},ti.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var n,i,r,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(n=o[t],i=this.textSpans[t].span,(r=this.textSpans[t].glyph)&&r.renderFrame(),n._mdf.m&&i.setAttribute("transform",n.m),n._mdf.o&&i.setAttribute("op
1acity",n.o),n._mdf.sw&&i.setAttribute("stroke-width",n.sw),n._mdf.sc&&i.setAttribute("stroke",n.sc),n._mdf.fc&&i.setAttribute("fill",n.fc))}},c([In],ei),ei.prototype.createContent=function(){var t=Q("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},ni.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},ni.prototype.renderFrame=function(){},ni.prototype.getBaseElement=function(){return null},ni.prototype.destroy=function(){},ni.prototype.sourceRectAtTime=function(){},ni.prototype.hide=function(){},c([pn,vn,Cn,fn],ni),c([mn],ii),ii.prototype.createNull=function(t){return new ni(t,this.globalData,this)},ii.prototype.createShape=function(t){return new Un(t,this.globalData,this)},ii.prototype.createText=function(t){return new ti(t,this.globalData,this)},ii.prototype.createImage=function(t){return new In(t,this.globalData,this)},ii.prototype.createSolid=function(t){return new ei(t,this.globalData,this)},ii.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var n=Q("clipPath"),i=Q("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var r=z();n.setAttribute("id",r),n.appendChild(i),this.layerElement.setAttribute("clip-path","url("+u()+"#"+r+")"),e.appendChild(n),this.layers=t.layers,this.elements=g(t.layers.length)},ii.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},ii.prototype.updateContainerSize=function(){},ii.prototype.findIndexByInd=function(t){var e=0,n=this.layers.length;for(e=0;e<n;e+=1)if(this.layers[e].ind===t)return e;return-1},ii.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var n=this.createItem(this.layers[t]);if(e[t]=n,$()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(n),n.initExpressions()),this.appendElementInPos(n,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var r=e[i].getMatte(this.layers[t].tt);n.setMatte(r)}else this.buildItem(i),this.addPendingElement(n)}}},ii.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,n=this.elements.length;e<n;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,r=this.elements[i].getMatte(this.layers[e].tt);t.setMatte(r);break}e+=1}}},ii.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=n-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<n;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},ii.prototype.appendElementInPos=function(t,e){var n=t.getBaseElement();if(n){for(var i,r=0;r<e;)this.elements[r]&&!0!==this.elements[r]&&this.elements[r].getBaseElement()&&
vendor: 4,786 bytes, line 1
1(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(n,i):this.layerElement.appendChild(n)}},ii.prototype.hide=function(){this.layerElement.style.display="none"},ii.prototype.show=function(){this.layerElement.style.display="block"},c([pn,vn,Cn,fn,An],ri),ri.prototype.initElement=function(t,e,n){this.initFrame(),this.initBaseData(t,e,n),this.initTransform(t,e,n),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ri.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var n,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),n=i-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ri.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ri.prototype.setElements=function(t){this.elements=t},ri.prototype.getElements=function(){return this.elements},ri.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ri.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},c([ii,ri,Tn],oi),oi.prototype.createComp=function(t){return new oi(t,this.globalData,this)},c([ii],ai),ai.prototype.createComp=function(t){return new oi(t,this.globalData,this)},st("svg",ai),ue.registerModifier("tm",ce),ue.registerModifier("pb",pe),ue.registerModifier("rp",de),ue.registerModifier("rd",ge),ue.registerModifier("zz",Ee),ue.registerModifier("op",Xe),Wt}())},5140:function(){},6470:function(t){"use strict";function e(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function n(t,e){for(var n,i="",r=0,o=-1,a=0,s=0;s<=t.length;++s){if(s<t.length)n=t.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(i.length<2||2!==r||46!==i.charCodeAt(i.length-1)||46!==i.charCodeAt(i.length-2))if(i.length>2){var l=i.lastIndexOf("/");if(l!==i.length-1){-1===l?(i="",r=0):r=(i=i.slice(0,l)).length-1-i.lastIndexOf("/"),o=s,a=0;continue}}else if(2===i.length||1===i.length){i="",r=0,o=s,a=0;continue}e&&(i.length>0?i+="/..":i="..",r=2)}else i.length>0?i+="/"+t.slice(o+1,s):i=t.slice(o+1,s),r=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return i}var i={resolve:function(){for(var t,i="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a;o>=0?a=arguments[o]:(void 0===t&&(t=process.cwd()),a=t),e(a),0!==a.length&&(i=a+"/"+i,r=47===a.charCodeAt(0))}return i=n(i,!r),r?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(t){if(e(t),0===t.length)return".";var i=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return 0!==(t=n(t,!i)).length||i||(t="."),t.length>0&&r&&(t+="/"),i?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,n=0;n<arguments.length;++n){var r=arguments[n];e(r),r.length>0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":i.normalize(t)},relative:function(t,n){if(e(t),e(n),t===n)return"";if((t=i.resolve(t))===(n=i.resolve(n)))return"";for(var r=1;r<t.length&&47===t.charCodeAt(r);++r);for(var o=t.length,a=o-r,s=1;s<n.length&&47===n.charCodeAt(s);++s);for(var l=n.length-s,u=a<l?a:l,h=-1,c=0;c<=u;++c){if(c===u){if(l>u){if(47===n.charCodeAt(s+c))return n.slice(s+c+1);if(0===c)return n.slice(s+c)}else a>u&&(47===t.charCodeAt(r+c)?h=c:0===c&&(h=0));break}var p=t.charCodeAt(r+c);if(p!==n.charCodeAt(s+c))break;47===p&&(h=c)}var f="";for(c=r+h+1;c<=o;++c)c!==o&&47!==t.charCodeAt(c)||(0===f.length?f+="..":f+="/..");return f.length>0?f+n.slice(s+h):(s+=h,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var n=t.charCodeAt(0),i=47===n,r=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(n=t.charCodeAt(a))){if(!o){r=a;break}}else o=!1;return-1===r?i?"/":".":i&&1===r?"//":t.slice(0,r)},basename:function(t,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');e(t);var i,r=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=t.length){if(n.length===t.length&&n===t)return"";var s=n.length-1,l=-1;for(i=t.length-1;i>=0;--i){var u=t.charCodeAt(i);if(47===u){if(!a){r=i+1;break}}else-1===l&&(a=!1,l=i+1),s>=0&&(u===n.charCodeAt(s)?-1==--s&&(o=i):(s=-1,o=l))}
1return r===o?o=l:-1===o&&(o=t.length),t.slice(r,o)}for(i=t.length-1;i>=0;--i)if(47===t.charCodeAt(i)){if(!a){r=i+1;break}}else-1===o&&(a=!1,o=i+1);return-1===o?"":t.slice(r,o)},extname:function(t){e(t);for(var n=-1,i=0,r=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47!==l)-1===r&&(o=!1,r=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){i=s+1;break}}return-1===n||-1===r||0===a||1===a&&n===r-1&&n===i+1?"":t.slice(n,r)},format:function(t){if(null===t||"object"!=typeof t)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return function(t,e){var n=e.dir||e.root,i=e.base||(e.name||"")+(e.ext||"");return n?n===e.root?n+i:n+t+i:i}("/",t)},parse:function(t){e(t);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return n;var i,r=t.charCodeAt(0),o=47===r;o?(n.root="/",i=1):i=0;for(var a=-1,s=0,l=-1,u=!0,h=t.length-1,c=0;h>=i;--h)if(47!==(r=t.charCodeAt(h)))-1===l&&(u=!1,l=h+1),46===r?-1===a?a=h:1!==c&&(c=1):-1!==a&&(c=-1);else if(!u){s=h+1;break}return-1===a||-1===l||0===c||1===c&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?t.slice(1,l):t.slice(s,l)):(0===s&&o?(n.name=t.slice(1,a),n.base=t.slice(1,l)):(n.name=t.slice(s,a),n.base=t.slice(s,l)),n.ext=t.slice(a,l)),s>0?n.dir=t.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,t.exports=i},3647:function(t,e,n){t.exports=function(t){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},i=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)};function r(t){for(var e=t.hasAttributes()?t.attributes:[],n={},i=0;i<e.length;i++){var r=e[i];r.value&&(n[r.name]=""===r.value||r.value)}var o=void 0,a=void 0;return n.class&&(o=n.class,delete n.class),n.style&&(a=n.style,delete n.style),{attrs:n,class:o,style:a}}function o(t){return Array.isArray(t)||"object"===(void 0===t?"undefined":e(t))?Object.freeze(t):t}function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var i=n.passengers[0];return i="function"==typeof i?i(e):n.passengers,t.concat(i)}),[])}function s(t,e){return t.map((function(t,e){return[e,t]})).sort(function(t,e){return this(t[1],e[1])||t[0]-e[0]}.bind(e)).map((function(t){return t[1]}))}var l={},u=t.extend({data:function(){return{transports:l}},methods:{open:function(e){var n=e.to,i=e.from,r=e.passengers;if(n&&i&&r){e.passengers=o(r),-1===Object.keys(this.transports).indexOf(n)&&t.set(this.transports,n,[]);var a=this.getTransportIndex(e),l=this.transports[n].slice(0);-1===a?l.push(e):l[a]=e,this.transports[n]=s(l,(function(t,e){return t.order-e.order}))}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,i=t.from;if(n&&i&&this.transports[n])if(e)this.transports[n]=[];else{var r=this.getTransportIndex(t);if(r>=0){var o=this.transports[n].slice(0);o.splice(r,1),this.transports[n]=o}}},hasTarget:function(t){return this.transports.hasOwnProperty(t)},hasContentFor:function(t){return!!this.transports[t]&&this.getContentFor(t).length>0},getSourceFor:function(t){return this.transports[t]&&this.transports[t][0].from},getContentFor:function(t){var e=this.transports[t];if(e)return a(e)},getTransportIndex:function(t){var e=t.to,n=t.from;for(var i in this.transports[e])if(this.transports[e][i].from===n)return i;return-1}}}),h=new u(l),c=/^(attrs|props|on|nativeOn|class|style|hook)$/,p=function(t){return t.reduce((function(t,e){var n,i,r,o,a;for(r in e)if(n=t[r],i=e[r],n&&c.test(r))if("class"===r&&("string"==typeof n&&(a=n,t[r]=n={},n[a]=!0),"string"==typeof i&&(a=i,e[r]=i={},i[a]=!0)),"on"===r||"nativeOn"===r||"hook"===r)for(o in i)n[o]=f(n[o],i[o]);else if(Array.isArray(n))t[r]=n.concat(i);else if(Array.isArray(i))t[r]=[n].concat(i);else for(o in i)n[o]=i[o];else t[r]=e[r];return t}),{})};function f(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}var d={abstract:!1,name:"portalTarget",props:{attributes:{type:Object,default:function(){return{}}},multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[Boolean,String,Object],default:!1},transitionEvents:{type:Object,default:function(){return{}}}}
1,data:function(){return{transports:h.transports,firstRender:!0}},created:function(){this.transports[this.name]||this.$set(this.transports,this.name,[])},mounted:function(){var t=this;this.unwatch=this.$watch("ownTransports",this.emitChange),this.$nextTick((function(){t.transition&&(t.firstRender=!1)})),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.unwatch()},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return a(this.ownTransports,this.slotProps)},hasAttributes:function(){return Object.keys(this.attributes).length>0},withTransition:function(){return!!this.transition},transitionData:function(){var t=this.transition,n={};return this.firstRender&&"object"===e(this.transition)&&!this.transition.appear?(n.props={name:"__notranstition__portal-vue__"},n):("string"==typeof t?n.props={name:t}:"object"===(void 0===t?"undefined":e(t))&&(n.props=t),this.renderSlim&&(n.props.tag=this.tag),n.on=this.transitionEvents,n)},transportedClasses:function(){return this.ownTransports.map((function(t){return t.class})).reduce((function(t,e){return t.concat(e)}),[])}},methods:{emitChange:function(t,e){if(this.multiple)this.$emit("change",[].concat(i(t)),[].concat(i(e)));else{var r=0===t.length?void 0:t[0],o=0===e.length?void 0:e[0];this.$emit("change",n({},r),n({},o))}},children:function(){return 0!==this.passengers.length?this.passengers:this.$slots.default||[]},noWrapper:function(){var t=!this.hasAttributes&&this.slim;return t&&this.children().length,t}},render:function(t){this.$options.abstract=!0;var e=this.noWrapper(),n=this.children(),i=e?"transition":"transition-group",r=this.tag;return this.withTransition?t(i,p([this.transitionData,{class:"vue-portal-target"}]),[n]):e?n[0]:t(r,p([{class:"vue-portal-target "+this.transportedClasses.join(" ")},this.attributes]),[n])}},g="undefined"!=typeof window,m=1,v={abstract:!1,name:"portal",props:{disabled:{type:Boolean,default:!1},name:{type:String,default:function(){return String(m++)}},order:{type:Number,default:0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:[String],default:"DIV"},targetEl:{type:g?[String,HTMLElement]:String},targetClass:{type:String},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},mounted:function(){this.targetEl&&this.mountToTarget(),this.disabled||this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},updated:function(){this.disabled?this.clear():this.sendUpdate(),this.$options.abstract&&(this.$options.abstract=!1)},beforeDestroy:function(){this.clear(),this.mountedComp&&this.mountedComp.$destroy()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()},targetEl:function(t,e){t&&this.mountToTarget()}},methods:{normalizedSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},sendUpdate:function(){var t=this.normalizedSlots();t?h.open({from:this.name,to:this.to,passengers:[].concat(i(t)),class:this.targetClass&&this.targetClass.split(" "),order:this.order}):this.clear()},clear:function(t){h.close({from:this.name,to:t||this.to})},mountToTarget:function(){var e=void 0,i=this.targetEl;if("string"==typeof i)e=document.querySelector(i);else{if(!(i instanceof HTMLElement))return;e=i}if(e){var o=new t(n({},d,{parent:this,propsData:{name:this.to,tag:e.tagName,attributes:r(e)}}));o.$mount(e),this.mountedComp=o}},normalizeChildren:function(t){return"function"==typeof t?t(this.slotProps):t}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e.length&&this.disabled?(this.$options.abstract=!0,e.length<=1&&this.slim?e[0]:t(n,[this.normalizeChildren(e)])):t(n,{class:"v-portal",style:"display: none",key:"v-portal-placeholder"})}};function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",v),t.component(e.portalTargetName||"PortalTarget",d)}return"undefined"!=typeof window&&window.Vue&&window.Vue.use({install:y}),{install:y,Portal:v,PortalTarget:d,Wormhole:h}}(n(144))},7304:function(t,e,n){function i(t){this.mode=o.MODE_8BIT_BYTE,this.data=t,this.parsedData=[];for(var e=0,n=this.data.length;e<n;e++){var i=[],r=this.data.charCodeAt(e);r>65536?(i[0]=240|(1835008&r)>>>18,i[1]=128|(258048&r)>>>12,i[2]=128|(4032&r)>>>6,i[3]=128|63&r):r>2048?(i[0]=224|(61440&r)>>>12,i[1]=128|(4032&r)>>>6,i[2]=128|63&r):r>128?(i[0]=192|(1984&r)>>>6,i[1]=128|63&r):i[0]=r,this.parsedData.push(i)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function r(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}i.prototype={getLength:function(t){return this.parsedData.length},write:function(t){for(var e=0,n=this.parsedData.length;e<n;e++)t.put(this.parsedData[e],8)}},r.prototype={addData:function(t){var e=new i(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=r.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=y.getLostPoint(this);(0==n||t>i)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n);this.make();for(var r=0;r<this.modules.length;r++)for(var o=1*r,a=0;a<this.modules[r].length;a++){var s=1*a;this.modules[r][a]&&(i.beginFill(0,100),i.moveTo(s,o),i.lineTo(s+1,o),i.lineTo(s+1,o+1),i.lineTo(s,o+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=y.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var i=t[e],r=t[n];if(null==this.modules[i][r])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[i+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=y.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(n=0;n<18;n++){i=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=y.getBCHTypeInfo(n),r=0;r<15;r++){var o=!t&&1==(i>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(r=0;r<15;r++){o=!t&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[i][a-s]){var l=!1;o<t.length&&(l=1==(t[o]>>>r&1)),y.getMask(e,i,a-s)&&(l=!l),this.modules[i][a-s]=l,-1==--r&&(o++,r=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}}},r.PAD0=236,r.PAD1=17,r.createData=function(t,e,n){for(var i=w.getRSBlocks(t,e),o=new S,a=0;a<n.length;a++){var s=n[a];o.put(s.mode,4),o.put(s.getLength(),y.getLengthInBits(s.mode,t)),s.write(o)}var l=0;for(a=0;a<i.length;a++)l+=i[a].dataCount;if(o.getLengthInBits()>8*l)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*l+")");for(o.getLengthInBits()+4<=8*l&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*l||(o.put(r.PAD0,8),o.getLengthInBits()>=8*l));)o.put(r.PAD1,8);return r.createBytes(o,i)},r.createBytes=function(t,e){for(var n=0,i=0,r=0,o=new Array(e.length),a=new Array(e.length),s=0;s<e.length;s++){var l=e[s].dataCount,u=e[s].totalCount-l;i=Math.max(i,l),r=Math.max(r,u),o[s]=new Array(l);for(var h=0;h<o[s].length;h++)o[s][h]=255&t.buffer[h+n];n+=l;var c=y.getErrorCorrectPolynomial(u),p=new b(o[s],c.getLength()-1).mod(c);a[s]=new Array(c.getLength()-1);for(h=0;h<a[s].length;h++){var f=h+p.getLength()-a[s].length;a[s][h]=f>=0?p.get(f):0}}var d=0;for(h=0;h<e.length;h++)d+=e[h].totalCount;var g=new Array(d),m=0;for(h=0;h<i;h++)for(s=0;s<e.length;s++)h<o[s].length&&(g[m++]=o[s][h]);for(h=0;h<r;h++)for(s=0;s<e.length;s++)h<a[s].length&&(g[m++]=a[s][h]);return g};for(var o={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},a=1,s=0,l=3,u=2,h=0,c=1,p=2,f=3,d=4,g=5,m=6,v=7,y={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;
vendor: 4,119 bytes, line 1
1y.getBCHDigit(e)-y.getBCHDigit(y.G15)>=0;)e^=y.G15<<y.getBCHDigit(e)-y.getBCHDigit(y.G15);return(t<<10|e)^y.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;y.getBCHDigit(e)-y.getBCHDigit(y.G18)>=0;)e^=y.G18<<y.getBCHDigit(e)-y.getBCHDigit(y.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return y.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case h:return(e+n)%2==0;case c:return e%2==0;case p:return n%3==0;case f:return(e+n)%3==0;case d:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case g:return e*n%2+e*n%3==0;case m:return(e*n%2+e*n%3)%2==0;case v:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new b([1],0),n=0;n<t;n++)e=e.multiply(new b([1,_.gexp(n)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case o.MODE_NUMBER:return 10;case o.MODE_ALPHA_NUM:return 9;case o.MODE_8BIT_BYTE:case o.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case o.MODE_NUMBER:return 12;case o.MODE_ALPHA_NUM:return 11;case o.MODE_8BIT_BYTE:return 16;case o.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case o.MODE_NUMBER:return 14;case o.MODE_ALPHA_NUM:return 13;case o.MODE_8BIT_BYTE:return 16;case o.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,i=0;i<e;i++)for(var r=0;r<e;r++){for(var o=0,a=t.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||a==t.isDark(i+s,r+l)&&o++;o>5&&(n+=3+o-5)}for(i=0;i<e-1;i++)for(r=0;r<e-1;r++){var u=0;t.isDark(i,r)&&u++,t.isDark(i+1,r)&&u++,t.isDark(i,r+1)&&u++,t.isDark(i+1,r+1)&&u++,0!=u&&4!=u||(n+=3)}for(i=0;i<e;i++)for(r=0;r<e-6;r++)t.isDark(i,r)&&!t.isDark(i,r+1)&&t.isDark(i,r+2)&&t.isDark(i,r+3)&&t.isDark(i,r+4)&&!t.isDark(i,r+5)&&t.isDark(i,r+6)&&(n+=40);for(r=0;r<e;r++)for(i=0;i<e-6;i++)t.isDark(i,r)&&!t.isDark(i+1,r)&&t.isDark(i+2,r)&&t.isDark(i+3,r)&&t.isDark(i+4,r)&&!t.isDark(i+5,r)&&t.isDark(i+6,r)&&(n+=40);var h=0;for(r=0;r<e;r++)for(i=0;i<e;i++)t.isDark(i,r)&&h++;return n+=10*(Math.abs(100*h/e/e-50)/5)}},_={glog:function(t){if(t<1)throw new Error("glog("+t+")");return _.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return _.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},x=0;x<8;x++)_.EXP_TABLE[x]=1<<x;for(x=8;x<256;x++)_.EXP_TABLE[x]=_.EXP_TABLE[x-4]^_.EXP_TABLE[x-5]^_.EXP_TABLE[x-6]^_.EXP_TABLE[x-8];for(x=0;x<255;x++)_.LOG_TABLE[_.EXP_TABLE[x]]=x;function b(t,e){if(null==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var i=0;i<t.length-n;i++)this.num[i]=t[i+n]}function w(t,e){this.totalCount=t,this.dataCount=e}function S(){this.buffer=[],this.length=0}b.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<t.getLength();i++)e[n+i]^=_.gexp(_.glog(this.get(n))+_.glog(t.get(i)));return new b(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=_.glog(this.get(0))-_.glog(t.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(i=0;i<t.getLength();i++)n[i]^=_.gexp(_.glog(t.get(i))+e);return new b(n,0).mod(t)}},w.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37
vendor: 4,875 bytes, line 1
1],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],w.getRSBlocks=function(t,e){var n=w.getRsBlockTable(t,e);if(null==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=n.length/3,r=[],o=0;o<i;o++)for(var a=n[3*o+0],s=n[3*o+1],l=n[3*o+2],u=0;u<a;u++)r.push(new w(s,l));return r},w.getRsBlockTable=function(t,e){switch(e){case a:return w.RS_BLOCK_TABLE[4*(t-1)+0];case s:return w.RS_BLOCK_TABLE[4*(t-1)+1];case l:return w.RS_BLOCK_TABLE[4*(t-1)+2];case u:return w.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},S.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var M=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function T(t){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M"},"string"==typeof t&&(t={content:t}),t)for(var e in t)this.options[e]=t[e];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0&&this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var n=this.options.content,i=function(t,e){for(var n=function(t){var e=encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return e.length+(e.length!=t?3:0)}(t),i=1,r=0,o=0,a=M.length;o<=a;o++){var s=M[o];if(!s)throw new Error("Content too long: expected "+r+" but got "+n);switch(e){case"L":r=s[0];break;case"M":r=s[1];break;case"Q":r=s[2];break;case"H":r=s[3];break;default:throw new Error("Unknwon error correction level: "+e)}if(n<=r)break;
1i++}if(i>M.length)throw new Error("Content too long");return i}(n,this.options.ecl),o=function(t){switch(t){case"L":return a;case"M":return s;case"Q":return l;case"H":return u;default:throw new Error("Unknwon error correction level: "+t)}}(this.options.ecl);this.qrcode=new r(i,o),this.qrcode.addData(n),this.qrcode.make()}T.prototype.svg=function(t){var e=this.options||{},n=this.qrcode.modules;void 0===t&&(t={container:e.container||"svg"});for(var i=void 0===e.pretty||!!e.pretty,r=i?"  ":"",o=i?"\r\n":"",a=e.width,s=e.height,l=n.length,u=a/(l+2*e.padding),h=s/(l+2*e.padding),c=void 0!==e.join&&!!e.join,p=void 0!==e.swap&&!!e.swap,f=void 0===e.xmlDeclaration||!!e.xmlDeclaration,d=void 0!==e.predefined&&!!e.predefined,g=d?r+'<defs><path id="qrmodule" d="M0 0 h'+h+" v"+u+' H0 z" style="fill:'+e.color+';shape-rendering:crispEdges;" /></defs>'+o:"",m=r+'<rect x="0" y="0" width="'+a+'" height="'+s+'" style="fill:'+e.background+';shape-rendering:crispEdges;"/>'+o,v="",y="",_=0;_<l;_++)for(var x=0;x<l;x++){if(n[x][_]){var b=x*u+e.padding*u,w=_*h+e.padding*h;if(p){var S=b;b=w,w=S}if(c){var M=u+b,T=h+w;b=Number.isInteger(b)?Number(b):b.toFixed(2),w=Number.isInteger(w)?Number(w):w.toFixed(2),M=Number.isInteger(M)?Number(M):M.toFixed(2),y+="M"+b+","+w+" V"+(T=Number.isInteger(T)?Number(T):T.toFixed(2))+" H"+M+" V"+w+" H"+b+" Z "}else v+=d?r+'<use x="'+b.toString()+'" y="'+w.toString()+'" href="#qrmodule" />'+o:r+'<rect x="'+b.toString()+'" y="'+w.toString()+'" width="'+u+'" height="'+h+'" style="fill:'+e.color+';shape-rendering:crispEdges;"/>'+o}}c&&(v=r+'<path x="0" y="0" style="fill:'+e.color+';shape-rendering:crispEdges;" d="'+y+'" />');var C="";switch(t.container){case"svg":f&&(C+='<?xml version="1.0" standalone="yes"?>'+o),C+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+a+'" height="'+s+'">'+o,C+=g+m+v,C+="</svg>";break;case"svg-viewbox":f&&(C+='<?xml version="1.0" standalone="yes"?>'+o),C+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 '+a+" "+s+'">'+o,C+=g+m+v,C+="</svg>";break;case"g":C+='<g width="'+a+'" height="'+s+'">'+o,C+=g+m+v,C+="</g>";break;default:C+=(g+m+v).replace(/^\s+/,"")}return C},T.prototype.save=function(t,e){var i=this.svg();"function"!=typeof e&&(e=function(t,e){});try{n(9951).writeFile(t,i,e)}catch(t){e(t)}},t.exports=T},1803:function(t,e){"use strict";var n;!function(){var i=e||{}||this||window;void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n),i.default=i;var r="http://www.w3.org/2000/xmlns/",o="http://www.w3.org/2000/svg",a=/url\(["']?(.+?)["']?\)/,s={woff2:"font/woff2",woff:"font/woff",otf:"application/x-font-opentype",ttf:"application/x-font-ttf",eot:"application/vnd.ms-fontobject",sfnt:"application/font-sfnt",svg:"image/svg+xml"},l=function(t){return t instanceof HTMLElement||t instanceof SVGElement},u=function(t){if(!l(t))throw new Error("an HTMLElement or SVGElement is required; got "+t)},h=function(t){return new Promise((function(e,n){l(t)?e(t):n(new Error("an HTMLElement or SVGElement is required; got "+t))}))},c=function(t,e,n){var i=t.viewBox&&t.viewBox.baseVal&&t.viewBox.baseVal[n]||null!==e.getAttribute(n)&&!e.getAttribute(n).match(/%$/)&&parseInt(e.getAttribute(n))||t.getBoundingClientRect()[n]||parseInt(e.style[n])||parseInt(window.getComputedStyle(t).getPropertyValue(n));return null==i||isNaN(parseFloat(i))?0:i},p=function(t){for(var e=window.atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";
1")[0],i=new ArrayBuffer(e.length),r=new Uint8Array(i),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);return new Blob([i],{type:n})},f=function(t){return Promise.all(Array.from(t.querySelectorAll("image")).map((function(t){var e,n=t.getAttributeNS("http://www.w3.org/1999/xlink","href")||t.getAttribute("href");return n?((e=n)&&0===e.lastIndexOf("http",0)&&-1===e.lastIndexOf(window.location.host)&&(n+=(-1===n.indexOf("?")?"?":"&")+"t="+(new Date).valueOf()),new Promise((function(e,i){var r=document.createElement("canvas"),o=new Image;o.crossOrigin="anonymous",o.src=n,o.onerror=function(){return i(new Error("Could not load "+n))},o.onload=function(){r.width=o.width,r.height=o.height,r.getContext("2d").drawImage(o,0,0),t.setAttributeNS("http://www.w3.org/1999/xlink","href",r.toDataURL("image/png")),e(!0)}}))):Promise.resolve(null)})))},d={},g=function(t){return Promise.all(t.map((function(t){return new Promise((function(e,n){if(d[t.url])return e(d[t.url]);var i=new XMLHttpRequest;i.addEventListener("load",(function(){var n=function(t){for(var e="",n=new Uint8Array(t),i=0;i<n.byteLength;i++)e+=String.fromCharCode(n[i]);return window.btoa(e)}(i.response),r=t.text.replace(a,'url("data:'+t.format+";base64,"+n+'")')+"\n";d[t.url]=r,e(r)})),i.addEventListener("error",(function(n){d[t.url]=null,e(null)})),i.addEventListener("abort",(function(t){e(null)})),i.open("GET",t.url),i.responseType="arraybuffer",i.send()}))}))).then((function(t){return t.filter((function(t){return t})).join("")}))},m=null,v=function(t,e){var n=e||{},i=n.selectorRemap,r=n.modifyStyle,o=n.modifyCss,l=n.fonts,u=n.excludeUnusedCss,h=o||function(t,e){return(i?i(t):t)+"{"+(r?r(e):e)+"}\n"},c=[],p=void 0===l,f=l||[];return(m||(m=Array.from(document.styleSheets).map((function(t){try{return{rules:t.cssRules,href:t.href}}catch(t){return{}}})))).forEach((function(e){var n=e.rules,i=e.href;n&&Array.from(n).forEach((function(e){if(void 0!==e.style)if(function(t,e){if(e)try{return t.querySelector(e)||t.parentNode&&t.parentNode.querySelector(e)}catch(t){}}(t,e.selectorText))c.push(h(e.selectorText,e.style.cssText));else if(p&&e.cssText.match(/^@font-face/)){var n=function(t,e){var n=t.cssText.match(a),i=n&&n[1]||"";if(i&&!i.match(/^data:/)&&"about:blank"!==i){var r,o,l=i.startsWith("../")?e+"/../"+i:i.startsWith("./")?e+"/."+i:i;return{text:t.cssText,format:(r=l,o=Object.keys(s).filter((function(t){return r.indexOf("."+t)>0})).map((function(t){return s[t]})),o?o[0]:"application/octet-stream"),url:l}}}(e,i);n&&f.push(n)}else u||c.push(e.cssText)}))})),g(f).then((function(t){return c.join("\n")+t}))},y=function(){if(!navigator.msSaveOrOpenBlob&&!("download"in document.createElement("a")))return{popup:window.open()}};i.prepareSvg=function(t,e,n){u(t);var i=e||{},a=i.left,s=void 0===a?0:a,l=i.top,h=void 0===l?0:l,p=i.width,d=i.height,g=i.scale,m=void 0===g?1:g,y=i.responsive,_=void 0!==y&&y,x=i.excludeCss,b=void 0!==x&&x;return f(t).then((function(){var i=t.cloneNode(!0);i.style.backgroundColor=(e||{}).backgroundColor||t.style.backgroundColor;var a=function(t,e,n,i){if("svg"===t.tagName)return{width:n||c(t,e,"width"),height:i||c(t,e,"height")};if(t.getBBox){var r=t.getBBox(),o=r.x,a=r.y;return{width:o+r.width,height:a+r.height}}}(t,i,p,d),l=a.width,u=a.height;if("svg"!==t.tagName){if(!t.getBBox)return;null!=i.getAttribute("transform")&&i.setAttribute("transform",i.getAttribute("transform").replace(/translate\(.*?\)/,""));var f=document.createElementNS("http://www.w3.org/2000/svg","svg");f.appendChild(i),i=f}if(i.setAttribute("version","1.1"),i.setAttribute("viewBox",[s,h,l,u].join(" ")),i.getAttribute("xmlns")||i.setAttributeNS(r,"xmlns",o),i.getAttribute("xmlns:xlink")||i.setAttributeNS(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),_?(i.removeAttribute("width"),i.removeAttribute("height"),i.setAttribute("preserveAspectRatio","xMinYMin meet")):(i.setAttribute("width",l*m),i.setAttribute("height",u*m)),Array.from(i.querySelectorAll("foreignObject > *")).forEach((function(t){t.setAttributeNS(r,"xmlns","svg"===t.tagName?o:"http://www.w3.org/1999/xhtml")})),!b)return v(t,e).then((function(t){var e=document.createElement("style");e.setAttribute("type","text/css"),e.innerHTML="<![CDATA[\n"+t+"\n]]>";var r=document.createElement("defs");r.appendChild(e),i.insertBefore(r,i.firstChild);var o=document.createElement("div");o.appendChild(i);var a=o.innerHTML.replace(/NS\d+:href/gi,'xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href');if("function"!=typeof n)return{src:a,width:l,height:u};n(a,l,u)}));var g=document.createElement("div");g.appendChild(i);var y=g.innerHTML;if("function"!=typeof n)return{src:y,width:l,height:u};n(y,l,u)}))},i.svgAsDataUri=function(t,e,n){return u(t),i.prepareSvg(t,e).then((function(t){var e=t.src,i=t.width,r=t.height,o="data:image/svg+xml;base64,"+window.btoa(decodeURIComponent(encodeURIComponent('<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY nbsp "&#160;">]>'+e).replace(/%([0-9A-F]{2})/g,(function(t,e){var n=String.fromCharCode("0x"+e);return"%"===n?"%25":n}))));return"function"==typeof n&&n(o,i,r),o}))},i.svgAsPngUri=function(t,e,n){u(t);var r=e||{},o=r.encoderType,a=void 0===o?"image/png":o,s=r.encoderOptions,l=void 0===s?.8:s,h=r.canvg,c=function(t){var e=t.src,i=t.width,r=t.height,o=document.createElement("canvas"),s=o.getContext("2d"),u=window.devicePixelRatio||1;o.width=i*u,o.height=r*u,o.style.width=o.width+"px",o.style.height=o.height+"px",s.setTransform(u,0,0,u,0,0),h?h(o,e):s.drawImage(e,0,0);var c=void 0;try{c=o.toDataURL(a,l)}catch(t){if("undefined"!=typeof SecurityError&&t instanceof SecurityError||"SecurityError"===t.name)return;throw t}return"function"==typeof n&&n(c,o.width,o.height),Promise.resolve(c)};return h?i.prepareSvg(t,e).then(c):i.svgAsDataUri(t,e).then((function(t){return new Promise((function(e,n){var i=new Image;i.onload=function(){return e(c({src:i,width:i.width,height:i.height}))},i.onerror=function(){n("There was an error loading the data URI as an image on the following SVG\n"+window.atob(t.slice(2
16))+"Open the following link to see browser's diagnosis\n"+t)},i.src=t}))}))},i.download=function(t,e,n){if(navigator.msSaveOrOpenBlob)navigator.msSaveOrOpenBlob(p(e),t);else{var i=document.createElement("a");if("download"in i){i.download=t,i.style.display="none",document.body.appendChild(i);try{var r=p(e),o=URL.createObjectURL(r);i.href=o,i.onclick=function(){return requestAnimationFrame((function(){return URL.revokeObjectURL(o)}))}}catch(t){i.href=e}i.click(),document.body.removeChild(i)}else n&&n.popup&&(n.popup.document.title=t,n.popup.location.replace(e))}},i.saveSvg=function(t,e,n){var r=y();return h(t).then((function(t){return i.svgAsDataUri(t,n||{})})).then((function(t){return i.download(e,t,r)}))},i.saveSvgAsPng=function(t,e,n){var r=y();return h(t).then((function(t){return i.svgAsPngUri(t,n||{})})).then((function(t){return i.download(e,t,r)}))}}()},1223:function(t,e,n){window.eve=n(1530);var i=function(t){var e,n={},i=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16,(new Date).getTime()),!0},r=Array.isArray||function(t){return t instanceof Array||"[object Array]"==Object.prototype.toString.call(t)},o=0,a="M"+(+new Date).toString(36),s=Date.now||function(){return+new Date},l=function(t){var e=this;if(null==t)return e.s;var n=e.s-t;e.b+=e.dur*n,e.B+=e.dur*n,e.s=t},u=function(t){if(null==t)return this.spd;this.spd=t},h=function(t){var e=this;if(null==t)return e.dur;e.s=e.s*t/e.dur,e.dur=t},c=function(){var e=this;delete n[e.id],e.update(),t("mina.stop."+e.id,e)},p=function(){var t=this;t.pdif||(delete n[t.id],t.update(),t.pdif=t.get()-t.b)},f=function(){var t=this;t.pdif&&(t.b=t.get()-t.pdif,delete t.pdif,n[t.id]=t,g())},d=function(){var t,e=this;if(r(e.start)){t=[];for(var n=0,i=e.start.length;n<i;n++)t[n]=+e.start[n]+(e.end[n]-e.start[n])*e.easing(e.s)}else t=+e.start+(e.end-e.start)*e.easing(e.s);e.set(t)},g=function(r){if(r){var o=0;for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],l=s.get();o++,s.s=(l-s.b)/(s.dur/s.spd),s.s>=1&&(delete n[a],s.s=1,o--,function(e){setTimeout((function(){t("mina.finish."+e.id,e)}))}(s)),s.update()}e=!!o&&i(g)}else e||(e=i(g))},m=function(t,e,i,r,s,v,y){var _={id:a+(o++).toString(36),start:t,end:e,b:i,s:0,dur:r-i,spd:1,get:s,set:v,easing:y||m.linear,status:l,speed:u,duration:h,stop:c,pause:p,resume:f,update:d};n[_.id]=_;var x,b=0;for(x in n)if(n.hasOwnProperty(x)&&2==++b)break;return 1==b&&g(),_};return m.time=s,m.getById=function(t){return n[t]||null},m.linear=function(t){return t},m.easeout=function(t){return Math.pow(t,1.7)},m.easein=function(t){return Math.pow(t,.48)},m.easeinout=function(t){if(1==t)return 1;if(0==t)return 0;var e=.48-t/1.04,n=Math.sqrt(.1734+e*e),i=n-e,r=-n-e,o=Math.pow(Math.abs(i),1/3)*(i<0?-1:1)+Math.pow(Math.abs(r),1/3)*(r<0?-1:1)+.5;return 3*(1-o)*o*o+o*o*o},m.backin=function(t){if(1==t)return 1;var e=1.70158;return t*t*((e+1)*t-e)},m.backout=function(t){if(0==t)return 0;var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},m.elastic=function(t){return t==!!t?t:Math.pow(2,-10*t)*Math.sin((t-.075)*(2*Math.PI)/.3)+1},m.bounce=function(t){var e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},window.mina=m,m}("undefined"==typeof eve?function(){}:eve),r=function(t){function e(t,i){if(t){if(t.nodeType)return Z(t);if(D(t,"array")&&e.set)return e.set.apply(e,t);if(t instanceof j)return t;if(null==i)try{return Z(t=n.doc.querySelector(String(t)))}catch(t){return null}}return new W(t=null==t?"100%":t,i=null==i?"100%":i)}e.version="0.5.1",e.toString=function(){return"Snap v"+this.version},e._={};var n={win:t.window,doc:t.window.document};e._.glob=n;var i,r,o="hasOwnProperty",a=String,s=parseFloat,l=parseInt,u=Math,h=u.max,c=u.min,p=u.abs,f=(u.pow,u.PI),d=(u.round,Object.prototype.toString),m=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,v=(e._.separator=/[,\s]+/,/[\s]*,[\s]*/),y={hs:1,rg:1},_=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,x=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,b=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/gi,w=0,S="S"+(+new Date).toString(36),M=function(t){return(t&&t.type?t.type:"")+S+(w++).toString(36)},T="http://www.w3.org/1999/xlink",C="http://www.w3.org/2000/svg",A={};
vendor: 15,429 bytes, line 1
1e.url=function(t){return"url('#"+t+"')"};function I(t,e){if(e){if("#text"==t&&(t=n.doc.createTextNode(e.text||e["#text"]||"")),"#comment"==t&&(t=n.doc.createComment(e.text||e["#text"]||"")),"string"==typeof t&&(t=I(t)),"string"==typeof e)return 1==t.nodeType?"xlink:"==e.substring(0,6)?t.getAttributeNS(T,e.substring(6)):"xml:"==e.substring(0,4)?t.getAttributeNS(C,e.substring(4)):t.getAttribute(e):"text"==e?t.nodeValue:null;if(1==t.nodeType){for(var i in e)if(e[o](i)){var r=a(e[i]);r?"xlink:"==i.substring(0,6)?t.setAttributeNS(T,i.substring(6),r):"xml:"==i.substring(0,4)?t.setAttributeNS(C,i.substring(4),r):t.setAttribute(i,r):t.removeAttribute(i)}}else"text"in e&&(t.nodeValue=e.text)}else t=n.doc.createElementNS(C,t);return t}function D(t,e){return"finite"==(e=a.prototype.toLowerCase.call(e))?isFinite(t):!("array"!=e||!(t instanceof Array||Array.isArray&&Array.isArray(t)))||("null"==e&&null===t||e==typeof t&&null!==t||"object"==e&&t===Object(t)||d.call(t).slice(8,-1).toLowerCase()==e)}function k(t,e,n){return function i(){var r=Array.prototype.slice.call(arguments,0),a=r.join("␀"),s=i.cache=i.cache||{},l=i.count=i.count||[];return s[o](a)?(function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return t.push(t.splice(n,1)[0])}(l,a),n?n(s[a]):s[a]):(l.length>=1e3&&delete s[l.shift()],l.push(a),s[a]=t.apply(e,r),n?n(s[a]):s[a])}}function P(t){return t%360*f/180}e._.$=I,e._.id=M,e.format=(i=/\{([^\}]+)\}/g,r=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,function(t,e){return a(t).replace(i,(function(t,n){return function(t,e,n){var i=n;return e.replace(r,(function(t,e,n,r,o){e=e||r,i&&(e in i&&(i=i[e]),"function"==typeof i&&o&&(i=i()))})),i=(null==i||i==n?t:i)+""}(t,n,e)}))}),e._.clone=function t(e){if("function"==typeof e||Object(e)!==e)return e;var n=new e.constructor;for(var i in e)e[o](i)&&(n[i]=t(e[i]));return n},e._.cacher=k,e.rad=P,e.deg=function(t){return 180*t/f%360},e.sin=function(t){return u.sin(e.rad(t))},e.tan=function(t){return u.tan(e.rad(t))},e.cos=function(t){return u.cos(e.rad(t))},e.asin=function(t){return e.deg(u.asin(t))},e.acos=function(t){return e.deg(u.acos(t))},e.atan=function(t){return e.deg(u.atan(t))},e.atan2=function(t){return e.deg(u.atan2(t))},e.angle=function t(e,n,i,r,o,a){if(null==o){var s=e-i,l=n-r;return s||l?(180+180*u.atan2(-l,-s)/f+360)%360:0}return t(e,n,o,a)-t(i,r,o,a)},e.len=function(t,n,i,r){return Math.sqrt(e.len2(t,n,i,r))},e.len2=function(t,e,n,i){return(t-n)*(t-n)+(e-i)*(e-i)},e.closestPoint=function(t,e,n){function i(t){var i=t.x-e,r=t.y-n;return i*i+r*r}for(var r,o,a,s,l=t.node,u=l.getTotalLength(),h=u/l.pathSegList.numberOfItems*.125,c=1/0,p=0;p<=u;p+=h)(s=i(a=l.getPointAtLength(p)))<c&&(r=a,o=p,c=s);for(h*=.5;h>.5;){var f,d,g,m,v,y;(g=o-h)>=0&&(v=i(f=l.getPointAtLength(g)))<c?(r=f,o=g,c=v):(m=o+h)<=u&&(y=i(d=l.getPointAtLength(m)))<c?(r=d,o=m,c=y):h*=.5}return r={x:r.x,y:r.y,length:o,distance:Math.sqrt(c)}},e.is=D,e.snapTo=function(t,e,n){if(n=D(n,"finite")?n:10,D(t,"array")){for(var i=t.length;i--;)if(p(t[i]-e)<=n)return t[i]}else{var r=e%(t=+t);if(r<n)return e-r;if(r>t-n)return e-r+t}return e},e.getRGB=k((function(t){if(!t||(t=a(t)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:R};if("none"==t)return{r:-1,g:-1,b:-1,hex:"none",toString:R};if(!y[o](t.toLowerCase().substring(0,2))&&"#"!=t.charAt()&&(t=L(t)),!t)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:R};var n,i,r,p,f,d,g=t.match(m);return g?(g[2]&&(r=l(g[2].substring(5),16),i=l(g[2].substring(3,5),16),n=l(g[2].substring(1,3),16)),g[3]&&(r=l((f=g[3].charAt(3))+f,16),i=l((f=g[3].charAt(2))+f,16),n=l((f=g[3].charAt(1))+f,16)),g[4]&&(d=g[4].split(v),n=s(d[0]),"%"==d[0].slice(-1)&&(n*=2.55),i=s(d[1]),"%"==d[1].slice(-1)&&(i*=2.55),r=s(d[2]),"%"==d[2].slice(-1)&&(r*=2.55),"rgba"==g[1].toLowerCase().slice(0,4)&&(p=s(d[3])),d[3]&&"%"==d[3].slice(-1)&&(p/=100)),g[5]?(d=g[5].split(v),n=s(d[0]),"%"==d[0].slice(-1)&&(n/=100),i=s(d[1]),"%"==d[1].slice(-1)&&(i/=100),r=s(d[2]),"%"==d[2].slice(-1)&&(r/=100),("deg"==d[0].slice(-3)||"°"==d[0].slice(-1))&&(n/=360),"hsba"==g[1].toLowerCase().slice(0,4)&&(p=s(d[3])),d[3]&&"%"==d[3].slice(-1)&&(p/=100),e.hsb2rgb(n,i,r,p)):g[6]?(d=g[6].split(v),n=s(d[0]),"%"==d[0].slice(-1)&&(n/=100),i=s(d[1]),"%"==d[1].slice(-1)&&(i/=100),r=s(d[2]),"%"==d[2].slice(-1)&&(r/=100),("deg"==d[0].slice(-3)||"°"==d[0].slice(-1))&&(n/=360),"hsla"==g[1].toLowerCase().slice(0,4)&&(p=s(d[3])),d[3]&&"%"==d[3].slice(-1)&&(p/=100),e.hsl2rgb(n,i,r,p)):(n=c(u.round(n),255),i=c(u.round(i),255),r=c(u.round(r),255),p=c(h(p,0),1),(g={r:n,g:i,b:r,toString:R}).hex="#"+(16777216|r|i<<8|n<<16).toString(16).slice(1),g.opacity=D(p,"finite")?p:1,g)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:R}}),e),e.hsb=k((function(t,n,i){return e.hsb2rgb(t,n,i).hex})),e.hsl=k((function(t,n,i){return e.hsl2rgb(t,n,i).hex})),e.rgb=k((function(t,e,n,i){if(D(i,"finite")){var r=u.round;return"rgba("+[r(t),r(e),r(n),+i.toFixed(2)]+")"}return"#"+(16777216|n|e<<8|t<<16).toString(16).slice(1)}));var L=function(t){var e=n.doc.getElementsByTagName("head")[0]||n.doc.getElementsByTagName("svg")[0],i="rgb(255, 0, 0)";return L=k((function(t){if("red"==t.toLowerCase())return i;e.style.color=i,e.style.color=t;var r=n.doc.defaultView.getComputedStyle(e,"").getPropertyValue("color");return r==i?null:r})),L(t)},O=function(){return"hsb("+[this.h,this.s,this.b]+")"},E=function(){return"hsl("+[this.h,this.s,this.l]+")"},R=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},N=function(t,n,i){if(null==n&&D(t,"object")&&"r"in t&&"g"in t&&"b"in t&&(i=t.b,n=t.g,t=t.r),null==n&&D(t,string)){var r=e.getRGB(t);t=r.r,n=r.g,i=r.b}return(t>1||n>1||i>1)&&(t/=255,n/=255,i/=255),[t,n,i]},F=function(t,n,i,r){var o={r:t=u.round(255*t),g:n=u.round(255*n),b:i=u.round(255*i),opacity:D(r,"finite")?r:1,hex:e.rgb(t,n,i),toString:R};return D(r,"finite")&&(o.opacity=r),o};e.color=function(t){var n;return D(t,"object")&&"h"in t&&"s"in t&&"b"in t?(n=e.hsb2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.opacity=1,t.hex=n.hex):D(t,"object")&&"h"in t&&"s"in t&&"l"in t?(n=e.hsl2rgb(t),t.r=n.r,t.g=n.g,t.b=n.b,t.opacity=1,t.hex=n.hex):(D(t,"string")&&(t=e.getRGB(t)),D(t,"object")&&"r"in t&&"g"in t&&"b"in t&&!("error"in t)?(n=e.rgb2hsl(t),t.h=n.h,t.s=n.s,t.l=n.l,n=e.rgb2hsb(t),t.v=n.b):((t={hex:"none"}).r=t.g=t.b=t.h=t.s=t.v=t.l=-1,t.error=1)),t.toString=R,t},e.hsb2rgb=function(t,e,n,i){var r,o,a,s,l;return D(t,"object")&&"h"in t&&"s"in t&&"b"in t&&(n=t.b,e=t.s,i=t.o,t=t.h),s=(l=n*e)*(1-p((t=(t*=360)%360/60)%2-1)),r=o=a=n-l,F(r+=[l,s,0,0,s,l][t=~~t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],i)},e.hsl2rgb=function(t,e,n,i){var r,o,a,s,l;return D(t,"object")&&"h"in t&&"s"in t&&"l"in t&&(n=t.l,e=t.s,t=t.h),(t>1||e>1||n>1)&&(t/=360,e/=100,n/=100),s=(l=2*e*(n<.5?n:1-n))*(1-p((t=(t*=360)%360/60)%2-1)),r=o=a=n-l/2,F(r+=[l,s,0,0,s,l][t=~~t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],i)},e.rgb2hsb=function(t,e,n){var i,r;return t=(n=N(t,e,n))[0],e=n[1],n=n[2],{h:((0==(r=(i=h(t,e,n))-c(t,e,n))?null:i==t?(e-n)/r:i==e?(n-t)/r+2:(t-e)/r+4)+360)%6*60/360,s:0==r?0:r/i,b:i,toString:O}},e.rgb2hsl=function(t,e,n){var i,r,o,a;return t=(n=N(t,e,n))[0],e=n[1],n=n[2],i=((r=h(t,e,n))+(o=c(t,e,n)))/2,{h:((0==(a=r-o)?null:r==t?(e-n)/a:r==e?(n-t)/a+2:(t-e)/a+4)+360)%6*60/360,s:0==a?0:i<.5?a/(2*i):a/(2-2*i),l:i,toString:E}},e.parsePathString=function(t){if(!t)return null;var n=e.path(t);if(n.arr)return e.path.clone(n.arr);var i={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},r=[];return D(t,"array")&&D(t[0],"array")&&(r=e.path.clone(t)),r.length||a(t).replace(_,(function(t,e,n){var o=[],a=e.toLowerCase();if(n.replace(b,(function(t,e){e&&o.push(+e)})),"m"==a&&o.length>2&&(r.push([e].concat(o.splice(0,2))),a="l",e="m"==e?"l":"L"),"o"==a&&1==o.length&&r.push([e,o[0]]),"r"==a)r.push([e].concat(o));else for(;o.length>=i[a]&&(r.push([e].concat(o.splice(0,i[a]))),i[a]););})),r.toString=e.path.toString,n.arr=e.path.clone(r),r};var B=e.parseTransformString=function(t){if(!t)return null;var n=[];return D(t,"array")&&D(t[0],"array")&&(n=e.path.clone(t)),n.length||a(t).replace(x,(function(t,e,i){var r=[];e.toLowerCase();i.replace(b,(function(t,e){e&&r.push(+e)})),n.push([e].concat(r))})),n.toString=e.path.toString,n};e._.svgTransform2string=function(t){var e=[];return t=t.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,(function(t,n,i){return i=i.split(/\s*,\s*|\s+/),"rotate"==n&&1==i.length&&i.push(0,0),"scale"==n&&(i.length>2?i=i.slice(0,2):2==i.length&&i.push(0,0),1==i.length&&i.push(i[0],0,0)),"skewX"==n?e.push(["m",1,0,u.tan(P(i[0])),1,0,0]):"skewY"==n?e.push(["m",1,u.tan(P(i[0])),0,1,0,0]):e.push([n.charAt(0)].concat(i)),t})),e},e._.rgTransform=/^[a-z][\s]*-?\.?\d/i,e._.transform2matrix=function(t,n){var i=B(t),r=new e.Matrix;if(i)for(var o=0,s=i.length;o<s;o++){var l,u,h,c,p,f=i[o],d=f.length,g=a(f[0]).toLowerCase(),m=f[0]!=g,v=m?r.invert():0;"t"==g&&2==d?r.translate(f[1],0):"t"==g&&3==d?m?(l=v.x(0,0),u=v.y(0,0),h=v.x(f[1],f[2]),c=v.y(f[1],f[2]),r.translate(h-l,c-u)):r.translate(f[1],f[2]):"r"==g?2==d?(p=p||n,r.rotate(f[1],p.x+p.width/2,p.y+p.height/2)):4==d&&(m?(h=v.x(f[2],f[3]),c=v.y(f[2],f[3]),r.rotate(f[1],h,c)):r.rotate(f[1],f[2],f[3])):"s"==g?2==d||3==d?(p=p||n,r.scale(f[1],f[d-1],p.x+p.width/2,p.y+p.height/2)):4==d?m?(h=v.x(f[2],f[3]),c=v.y(f[2],f[3]),r.scale(f[1],f[1],h,c)):r.scale(f[1],f[1],f[2],f[3]):5==d&&(m?(h=v.x(f[3],f[4]),c=v.y(f[3],f[4]),r.scale(f[1],f[2],h,c)):r.scale(f[1],f[2],f[3],f[4])):"m"==g&&7==d&&r.add(f[1],f[2],f[3],f[4],f[5],f[6])}return r},e._unit2px=function(t,e,n){var i=z(t).node,r={},o=i.querySelector(".svg---mgr");o||(o=I("rect"),I(o,{x:-9e9,y:-9e9,width:10,height:10,class:"svg---mgr",fill:"none"}),i.appendChild(o));function a(t){if(null==t)return"";if(t==+t)return t;I(o,{width:t});try{return o.getBBox().width}catch(t){return 0}}function s(t){if(null==t)return"";if(t==+t)return t;I(o,{height:t});try{return o.getBBox().height}catch(t){return 0}}function l(i,o){null==e?r[i]=o(t.attr(i)||0):i==e&&(r=o(null==n?t.attr(i)||0:n))}switch(t.type){case"rect":l("rx",a),l("ry",s);case"image":l("width",a),l("height",s);case"text":l("x",a),l("y",s);break;case"circle":l("cx",a),l("cy",s),l("r",a);break;case"ellipse":l("cx",a),l("cy",s),l("rx",a),l("ry",s);break;case"line":l("x1",a),l("x2",a),l("y1",s),l("y2",s);break;case"marker":l("refX",a),l("markerWidth",a),l("refY",s),l("markerHeight",s);break;case"radialGradient":l("fx",a),l("fy",s);break;case"tspan":l("dx",a),l("dy",s);break;default:l(e,a)}return i.removeChild(o),r};n.doc.contains||n.doc.compareDocumentPosition;function z(t){return t.node.ownerSVGElement&&Z(t.node.ownerSVGElement)||e.select("svg")}function V(t){D(t,"array")||(t=Array.prototype.slice.call(arguments,0));for(var e=0,n=0,i=this.node;this[e];)delete this[e++];for(e=0;e<t.length;e++)"set"==t[e].type?t[e].forEach((function(t){i.appendChild(t.node)})):i.appendChild(t[e].node);var r=i.childNodes;for(e=0;e<r.length;e++)this[n++]=Z(r[e]);return this}function j(t){if(t.snap in A)return A[t.snap];var e;try{e=t.ownerSVGElement}catch(t){}this.node=t,e&&(this.paper=new W(e)),this.type=t.tagName||t.nodeName;var n=this.id=M(this);if(this.anims={},this._={transform:[]},t.snap=n,A[n]=this,"g"==this.type&&(this.add=V),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var i in W.prototype)W.prototype[o](i)&&(this[i]=W.prototype[i])}function G(t){this.node=t}function H(t,e){var n=I(t);return e.appendChild(n),Z(n)}function W(t,e){var i,r,a,s=W.prototype;if(t&&t.tagName&&"svg"==t.tagName.toLowerCase()){if(t.snap in A)return A[t.snap];var l=t.ownerDocument;for(var u in i=new j(t),r=t.getElementsByTagName("desc")[0],a=t.getElementsByTagName("defs")[0],r||((r=I("desc")).appendChild(l.createTextNode("Created with Snap")),i.node.appendChild(r)),a||(a=I("defs"),i.node.appendChild(a)),i.defs=a,s)s[o](u)&&(i[u]=s[u]);i.paper=i.root=i}else I((i=H("svg",n.doc.body)).node,{height:e,version:1.1,width:t,xmlns:C});return i}function Z(t){return t?t instanceof j||t instanceof G?t:t.tagName&&"svg"==t.tagName.toLowerCase()?new W(t):t.tagName&&"object"==t.tagName.toLowerCase()&&"image/svg+xml"==t.type?new W(t.contentDocument.getElementsByTagName("svg")[0]):new j(t):t}function U(t,e){for(var n=0,i=t.length;n<i;n++){var r={type:t[n].type,attr:t[n].attr()},o=t[n].children();e.push(r),o.length&&U(o,r.childNodes=[])}}e._.getSomeDefs=function(t){var n=t.node.ownerSVGElement&&Z(t.node.ownerSVGElement)||t.node.parentNode&&Z(t.node.parentNode)||e.select("svg")||e(0,0),i=n.select("defs"),r=null!=i&&i.node;return r||(r=H("defs",n.node).node),r},e._.getSomeSVG=z,e.select=function(t){return t=a(t).replace(/([^\\]):/g,"$1\\:"),Z(n.doc.querySelector(t))},e.selectAll=function(t){for(var i=n.doc.querySelectorAll(t),r=(e.set||Array)(),o=0;o<i.length;o++)r.push(Z(i[o]));return r},setInterval((function(){for(var t in A)if(A[o](t)){var e=A[t],n=e.node;("svg"!=e.type&&!n.ownerSVGElement||"svg"==e.type&&(!n.parentNode||"ownerSVGElement"in n.parentNode&&!n.ownerSVGElement))&&delete A[t]}}),1e4),j.prototype.attr=function(t,e){var n=this,i=n.node;if(!t){if(1!=i.nodeType)return{text:i.nodeValue};for(var r=i.attributes,a={},s=0,l=r.length;s<l;s++)a[r[s].nodeName]=r[s].nodeValue;return a}if(D(t,"string")){if(!(arguments.length>1))return eve("snap.util.getattr."+t,n).firstDefined();var u={};u[t]=e,t=u}for(var h in t)t[o](h)&&eve("snap.util.attr."+h,n,t[h]);return n},e.parse=function(t){var e=n.doc.createDocumentFragment(),i=!0,r=n.doc.createElement("div");if((t=a(t)).match(/^\s*<\s*svg(?:\s|>)/)||(t="<svg>"+t+"</svg>",i=!1),r.innerHTML=t,t=r.getElementsByTagName("svg")[0])if(i)e=t;else for(;t.firstChild;)e.appendChild(t.firstChild);return new G(e)},e.fragment=function(){for(var t=Array.prototype.slice.call(arguments,0),i=n.doc.createDocumentFragment(),r=0,o=t.length;r<o;r++){var a=t[r];a.node&&a.node.nodeType&&i.appendChild(a.node),a.nodeType&&i.appendChild(a),"string"==typeof a&&i.appendChild(e.parse(a).node)}return new G(i)},e._.make=H,e._.wrap=Z,W.prototype.el=function(t,e){var n=H(t,this.node);return e&&n.attr(e),n},j.prototype.children=function(){for(var t=[],n=this.node.childNodes,i=0,r=n.length;i<r;i++)t[i]=e(n[i]);return t},j.prototype.toJSON=function(){var t=[];return U([this],t),t[0]},eve.on("snap.util.getattr",(function(){var t=eve.nt(),e=(t=t.substring(t.lastIndexOf(".")+1)).replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));return X[o](e)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(e):I(this.node,t)}));var X={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode
1-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};eve.on("snap.util.attr",(function(t){var e=eve.nt(),n={};n[e=e.substring(e.lastIndexOf(".")+1)]=t;var i=e.replace(/-(\w)/gi,(function(t,e){return e.toUpperCase()})),r=e.replace(/[A-Z]/g,(function(t){return"-"+t.toLowerCase()}));X[o](r)?this.node.style[i]=null==t?"":t:I(this.node,n)})),W.prototype,e.ajax=function(t,e,n,i){var r=new XMLHttpRequest,o=M();if(r){if(D(e,"function"))i=n,n=e,e=null;else if(D(e,"object")){var a=[];for(var s in e)e.hasOwnProperty(s)&&a.push(encodeURIComponent(s)+"="+encodeURIComponent(e[s]));e=a.join("&")}return r.open(e?"POST":"GET",t,!0),e&&(r.setRequestHeader("X-Requested-With","XMLHttpRequest"),r.setRequestHeader("Content-type","application/x-www-form-urlencoded")),n&&(eve.once("snap.ajax."+o+".0",n),eve.once("snap.ajax."+o+".200",n),eve.once("snap.ajax."+o+".304",n)),r.onreadystatechange=function(){4==r.readyState&&eve("snap.ajax."+o+"."+r.status,i,r)},4==r.readyState?r:(r.send(e),r)}},e.load=function(t,n,i){e.ajax(t,(function(t){var r=e.parse(t.responseText);i?n.call(i,r):n(r)}))};return e.getElementByPoint=function(t,e){this.canvas;var i,r,o,a,s,l,u,h=n.doc.elementFromPoint(t,e);if(n.win.opera&&"svg"==h.tagName){var c=(r=(i=h).getBoundingClientRect(),o=i.ownerDocument,a=o.body,s=o.documentElement,l=s.clientTop||a.clientTop||0,u=s.clientLeft||a.clientLeft||0,{y:r.top+(g.win.pageYOffset||s.scrollTop||a.scrollTop)-l,x:r.left+(g.win.pageXOffset||s.scrollLeft||a.scrollLeft)-u}),p=h.createSVGRect();p.x=t-c.x,p.y=e-c.y,p.width=p.height=1;var f=h.getIntersectionList(p,null);f.length&&(h=f[f.length-1])}return h?Z(h):null},e.plugin=function(t){t(e,j,W,n,G)},n.win.Snap=e,e}(window||this);r.plugin((function(t,e,n,i,r){var o=e.prototype,a=t.is,s=String,l=t._unit2px,u=t._.$,h=t._.make,c=t._.getSomeDefs,p=t._.wrap;o.getBBox=function(e){if("tspan"==this.type)return t._.box(this.node.getClientRects().item(0));if(!t.Matrix||!t.path)return this.node.getBBox();var n=this,i=new t.Matrix;if(n.removed)return t._.box();for(;"use"==n.type;)if(e||(i=i.add(n.transform().localMatrix.translate(n.attr("x")||0,n.attr("y")||0))),n.original)n=n.original;else{var r=n.attr("xlink:href");n=n.original=n.node.ownerDocument.getElementById(r.substring(r.indexOf("#")+1))}var o=n._,a=t.path.get[n.type]||t.path.get.deflt;try{return e?(o.bboxwt=a?t.path.getBBox(n.realPath=a(n)):t._.box(n.node.getBBox()),t._.box(o.bboxwt)):(n.realPath=a(n),n.matrix=n.transform().localMatrix,o.bbox=t.path.getBBox(t.path.map(n.realPath,i.add(n.matrix))),t._.box(o.bbox))}catch(e){return t._.box()}};var f=function(){return this.string};function d(e,n){if(null==n){var i=!0;if(!(n="linearGradient"==e.type||"radialGradient"==e.type?e.node.getAttribute("gradientTransform"):"pattern"==e.type?e.node.getAttribute("patternTransform"):e.node.getAttribute("transform")))return new t.Matrix;n=t._.svgTransform2string(n)}else n=t._.rgTransform.test(n)?s(n).replace(/\.{3}|\u2026/g,e._.transform||""):t._.svgTransform2string(n),a(n,"array")&&(n=t.path?t.path.toString.call(n):s(n)),e._.transform=n;var r=t._.transform2matrix(n,e.getBBox(1));if(i)return r;e.matrix=r}o.transform=function(e){var n=this._;if(null==e){for(var i,r=this,o=new t.Matrix(this.node.getCTM()),a=d(this),l=[a],h=new t.Matrix,c=a.toTransformString(),p=s(a)==s(this.matrix)?s(n.transform):c;"svg"!=r.type&&(r=r.parent());)l.push(d(r));for(i=l.length;i--;)h.add(l[i]);return{string:p,globalMatrix:o,totalMatrix:h,localMatrix:a,diffMatrix:o.clone().add(a.invert()),global:o.toTransformString(),total:h.toTransformString(),local:c,toString:f}}return e instanceof t.Matrix?(this.matrix=e,this._.transform=e.toTransformString()):d(this,e),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?u(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?u(this.node,{patternTransform:this.matrix}):u(this.node,{transform:this.matrix})),this},o.parent=function(){return p(this.node.parentNode)},o.append=o.add=function(t){if(t){if("set"==t.type){var e=this;return t.forEach((function(t){e.add(t)})),this}t=p(t),this.node.appendChild(t.node),t.paper=this.paper}return this},o.appendTo=function(t){return t&&(t=p(t)).append(this),this},o.prepend=function(t){if(t){if("set"==t.type){var e,n=this;return t.forEach((function(t){e?e.after(t):n.prepend(t),e=t})),this}var i=(t=p(t)).parent();this.node.insertBefore(t.node,this.node.firstChild),this.add&&this.add(),t.paper=this.paper,this.parent()&&this.parent().add(),i&&i.add()}return this},o.prependTo=function(t){return(t=p(t)).prepend(this),this},o.before=function(t){if("set"==t.type){var e=this;return t.forEach((function(t){var n=t.parent();
vendor: 4,119 bytes, line 1
1e.node.parentNode.insertBefore(t.node,e.node),n&&n.add()})),this.parent().add(),this}var n=(t=p(t)).parent();return this.node.parentNode.insertBefore(t.node,this.node),this.parent()&&this.parent().add(),n&&n.add(),t.paper=this.paper,this},o.after=function(t){var e=(t=p(t)).parent();return this.node.nextSibling?this.node.parentNode.insertBefore(t.node,this.node.nextSibling):this.node.parentNode.appendChild(t.node),this.parent()&&this.parent().add(),e&&e.add(),t.paper=this.paper,this},o.insertBefore=function(t){t=p(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},o.insertAfter=function(t){t=p(t);var e=this.parent();return t.node.parentNode.insertBefore(this.node,t.node.nextSibling),this.paper=t.paper,e&&e.add(),t.parent()&&t.parent().add(),this},o.remove=function(){var t=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,t&&t.add(),this},o.select=function(t){return p(this.node.querySelector(t))},o.selectAll=function(e){for(var n=this.node.querySelectorAll(e),i=(t.set||Array)(),r=0;r<n.length;r++)i.push(p(n[r]));return i},o.asPX=function(t,e){return null==e&&(e=this.attr(t)),+l(this,t,e)},o.use=function(){var t,e=this.node.id;return e||(e=this.id,u(this.node,{id:e})),t="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?h(this.type,this.node.parentNode):h("use",this.node.parentNode),u(t.node,{"xlink:href":"#"+e}),t.original=this,t},o.clone=function(){var e=p(this.node.cloneNode(!0));return u(e.node,"id")&&u(e.node,{id:e.id}),function(e){var n,i=e.selectAll("*"),r=/^\s*url\(("|'|)(.*)\1\)\s*$/,o=[],a={};function s(e,n){var i=u(e.node,n);(i=(i=i&&i.match(r))&&i[2])&&"#"==i.charAt()&&(i=i.substring(1))&&(a[i]=(a[i]||[]).concat((function(i){var r={};r[n]=t.url(i),u(e.node,r)})))}function l(t){var e=u(t.node,"xlink:href");e&&"#"==e.charAt()&&(e=e.substring(1))&&(a[e]=(a[e]||[]).concat((function(e){t.attr("xlink:href","#"+e)})))}for(var h=0,c=i.length;h<c;h++){s(n=i[h],"fill"),s(n,"stroke"),s(n,"filter"),s(n,"mask"),s(n,"clip-path"),l(n);var p=u(n.node,"id");p&&(u(n.node,{id:n.id}),o.push({old:p,id:n.id}))}for(h=0,c=o.length;h<c;h++){var f=a[o[h].old];if(f)for(var d=0,g=f.length;d<g;d++)f[d](o[h].id)}}(e),e.insertAfter(this),e},o.toDefs=function(){return c(this).appendChild(this.node),this},o.pattern=o.toPattern=function(t,e,n,i){var r=h("pattern",c(this));return null==t&&(t=this.getBBox()),a(t,"object")&&"x"in t&&(e=t.y,n=t.width,i=t.height,t=t.x),u(r.node,{x:t,y:e,width:n,height:i,patternUnits:"userSpaceOnUse",id:r.id,viewBox:[t,e,n,i].join(" ")}),r.node.appendChild(this.node),r},o.marker=function(t,e,n,i,r,o){var s=h("marker",c(this));return null==t&&(t=this.getBBox()),a(t,"object")&&"x"in t&&(e=t.y,n=t.width,i=t.height,r=t.refX||t.cx,o=t.refY||t.cy,t=t.x),u(s.node,{viewBox:[t,e,n,i].join(" "),markerWidth:n,markerHeight:i,orient:"auto",refX:r||0,refY:o||0,id:s.id}),s.node.appendChild(this.node),s};var g={};function m(t){return function(){var e=t?"<"+this.type:"",n=this.node.attributes,i=this.node.childNodes;if(t)for(var r=0,o=n.length;r<o;r++)e+=" "+n[r].name+'="'+n[r].value.replace(/"/g,'\\"')+'"';if(i.length){for(t&&(e+=">"),r=0,o=i.length;r<o;r++)3==i[r].nodeType?e+=i[r].nodeValue:1==i[r].nodeType&&(e+=p(i[r]).toString());t&&(e+="</"+this.type+">")}else t&&(e+="/>");return e}}o.data=function(e,n){var i=g[this.id]=g[this.id]||{};if(0==arguments.length)return eve("snap.data.get."+this.id,this,i,null),i;if(1==arguments.length){if(t.is(e,"object")){for(var r in e)e.hasOwnProperty(r)&&this.data(r,e[r]);return this}return eve("snap.data.get."+this.id,this,i[e],e),i[e]}return i[e]=n,eve("snap.data.set."+this.id,this,n,e),this},o.removeData=function(t){return null==t?g[this.id]={}:g[this.id]&&delete g[this.id][t],this},o.outerSVG=o.toString=m(1),o.innerSVG=m(),o.toDataURL=function(){if(window&&window.btoa){var e=this.getBBox(),n=t.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}
1" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+e.x.toFixed(3),y:+e.y.toFixed(3),width:+e.width.toFixed(3),height:+e.height.toFixed(3),contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n)))}},r.prototype.select=o.select,r.prototype.selectAll=o.selectAll})),r.plugin((function(t,e,n,i,r){var o=Object.prototype.toString,a=String,s=Math;function l(t,e,n,i,r,a){if(null==e&&"[object SVGMatrix]"==o.call(t))return this.a=t.a,this.b=t.b,this.c=t.c,this.d=t.d,this.e=t.e,void(this.f=t.f);null!=t?(this.a=+t,this.b=+e,this.c=+n,this.d=+i,this.e=+r,this.f=+a):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}!function(e){function n(t){return t[0]*t[0]+t[1]*t[1]}function i(t){var e=s.sqrt(n(t));t[0]&&(t[0]/=e),t[1]&&(t[1]/=e)}e.add=function(t,e,n,i,r,o){if(t&&t instanceof l)return this.add(t.a,t.b,t.c,t.d,t.e,t.f);var a=t*this.a+e*this.c,s=t*this.b+e*this.d;return this.e+=r*this.a+o*this.c,this.f+=r*this.b+o*this.d,this.c=n*this.a+i*this.c,this.d=n*this.b+i*this.d,this.a=a,this.b=s,this},l.prototype.multLeft=function(t,e,n,i,r,o){if(t&&t instanceof l)return this.multLeft(t.a,t.b,t.c,t.d,t.e,t.f);var a=t*this.a+n*this.b,s=t*this.c+n*this.d,u=t*this.e+n*this.f+r;return this.b=e*this.a+i*this.b,this.d=e*this.c+i*this.d,this.f=e*this.e+i*this.f+o,this.a=a,this.c=s,this.e=u,this},e.invert=function(){var t=this,e=t.a*t.d-t.b*t.c;return new l(t.d/e,-t.b/e,-t.c/e,t.a/e,(t.c*t.f-t.d*t.e)/e,(t.b*t.e-t.a*t.f)/e)},e.clone=function(){return new l(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(t,e){return this.e+=t*this.a+e*this.c,this.f+=t*this.b+e*this.d,this},e.scale=function(t,e,n,i){return null==e&&(e=t),(n||i)&&this.translate(n,i),this.a*=t,this.b*=t,this.c*=e,this.d*=e,(n||i)&&this.translate(-n,-i),this},e.rotate=function(e,n,i){e=t.rad(e),n=n||0,i=i||0;var r=+s.cos(e).toFixed(9),o=+s.sin(e).toFixed(9);return this.add(r,o,-o,r,n,i),this.add(1,0,0,1,-n,-i)},e.skewX=function(t){return this.skew(t,0)},e.skewY=function(t){return this.skew(0,t)},e.skew=function(e,n){e=e||0,n=n||0,e=t.rad(e),n=t.rad(n);var i=s.tan(e).toFixed(9),r=s.tan(n).toFixed(9);return this.add(1,r,i,1,0,0)},e.x=function(t,e){return t*this.a+e*this.c+this.e},e.y=function(t,e){return t*this.b+e*this.d+this.f},e.get=function(t){return+this[a.fromCharCode(97+t)].toFixed(4)},e.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.determinant=function(){return this.a*this.d-this.b*this.c},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var r=[[this.a,this.b],[this.c,this.d]];e.scalex=s.sqrt(n(r[0])),i(r[0]),e.shear=r[0][0]*r[1][0]+r[0][1]*r[1][1],r[1]=[r[1][0]-r[0][0]*e.shear,r[1][1]-r[0][1]*e.shear],e.scaley=s.sqrt(n(r[1])),i(r[1]),e.shear/=e.scaley,this.determinant()<0&&(e.scalex=-e.scalex);var o=r[0][1],a=r[1][1];return a<0?(e.rotate=t.deg(s.acos(a)),o<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(s.asin(o)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(t){var e=t||this.split();return+e.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(e.scalex=+e.scalex.toFixed(4),e.scaley=+e.scaley.toFixed(4),e.rotate=+e.rotate.toFixed(4),(e.dx||e.dy?"t"+[+e.dx.toFixed(4),+e.dy.toFixed(4)]:"")+(e.rotate?"r"+[+e.rotate.toFixed(4),0,0]:"")+(1!=e.scalex||1!=e.scaley?"s"+[e.scalex,e.scaley,0,0]:""))}}(l.prototype),t.Matrix=l,t.matrix=function(t,e,n,i,r,o){return new l(t,e,n,i,r,o)}})),r.plugin((function(t,e,n,i,r){var o,a=t._.make,s=t._.wrap,l=t.is,u=t._.getSomeDefs,h=/^url\((['"]?)([^)]+)\1\)$/,c=t._.$,p=t.url,f=String,d=t._.separator;function g(n){return function(i){if(eve.stop(),i instanceof r&&1==i.node.childNodes.length&&("radialGradient"==i.node.firstChild.tagName||"linearGradient"==i.node.firstChild.tagName||"pattern"==i.node.firstChild.tagName)&&(i=i.node.firstChild,u(this).appendChild(i),i=s(i)),i instanceof e)if("radialGradient"==i.type||"linearGradient"==i.type||"pattern"==i.type){i.node.id||c(i.node,{id:i.id});var o=p(i.node.id)}else o=i.attr(n);else if((o=t.color(i)).error){var a=t(u(this).ownerSVGElement).gradient(i);a?(a.node.id||c(a.node,{id:a.id}),o=p(a.node.id)):o=i}else o=f(o);var l={};l[n]=o,c(this.node,l),this.node.style[n]=""}}t.deurl=function(t){var e=String(t).match(h);return e?e[2]:t},eve.on("snap.util.attr.mask",(function(t){if(t instanceof e||t instanceof r){if(eve.stop(),t instanceof r&&1==t.node.childNodes.length&&(t=t.node.firstChild,u(this).appendChild(t),t=s(t)),"mask"==t.type)var n=t;else(n=a("mask",u(this))).node.appendChild(t.node);!n.node.id&&c(n.node,{id:n.id}
1),c(this.node,{mask:p(n.id)})}})),o=function(t){if(t instanceof e||t instanceof r){eve.stop();for(var n,i=t.node;i;){if("clipPath"===i.nodeName){n=new e(i);break}if("svg"===i.nodeName){n=void 0;break}i=i.parentNode}n||((n=a("clipPath",u(this))).node.appendChild(t.node),!n.node.id&&c(n.node,{id:n.id})),c(this.node,{"clip-path":p(n.node.id||n.id)})}},eve.on("snap.util.attr.clip",o),eve.on("snap.util.attr.clip-path",o),eve.on("snap.util.attr.clipPath",o),eve.on("snap.util.attr.fill",g("fill")),eve.on("snap.util.attr.stroke",g("stroke"));var m=/^([lr])(?:\(([^)]*)\))?(.*)$/i;function v(t){eve.stop(),t==+t&&(t+="px"),this.node.style.fontSize=t}function y(t){for(var e=[],n=t.childNodes,i=0,r=n.length;i<r;i++){var o=n[i];3==o.nodeType&&e.push(o.nodeValue),"tspan"==o.tagName&&(1==o.childNodes.length&&3==o.firstChild.nodeType?e.push(o.firstChild.nodeValue):e.push(y(o)))}return e}function _(){return eve.stop(),this.node.style.fontSize}eve.on("snap.util.grad.parse",(function(t){var e=(t=f(t)).match(m);if(!e)return null;var n=e[1],i=e[2],r=e[3];1==(i=i.split(/\s*,\s*/).map((function(t){return+t==t?+t:t}))).length&&0==i[0]&&(i=[]);var o=(r=(r=r.split("-")).map((function(t){var e={color:(t=t.split(":"))[0]};return t[1]&&(e.offset=parseFloat(t[1])),e}))).length,a=0,s=0;function l(t,e){for(var n=(e-a)/(t-s),i=s;i<t;i++)r[i].offset=+(+a+n*(i-s)).toFixed(2);s=t,a=e}o--;for(var u=0;u<o;u++)"offset"in r[u]&&l(u,r[u].offset);return r[o].offset=r[o].offset||100,l(o,r[o].offset),{type:n,params:i,stops:r}})),eve.on("snap.util.attr.d",(function(e){eve.stop(),l(e,"array")&&l(e[0],"array")&&(e=t.path.toString.call(e)),(e=f(e)).match(/[ruo]/i)&&(e=t.path.toAbsolute(e)),c(this.node,{d:e})}))(-1),eve.on("snap.util.attr.#text",(function(t){eve.stop(),t=f(t);for(var e=i.doc.createTextNode(t);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(e)}))(-1),eve.on("snap.util.attr.path",(function(t){eve.stop(),this.attr({d:t})}))(-1),eve.on("snap.util.attr.class",(function(t){eve.stop(),this.node.className.baseVal=t}))(-1),eve.on("snap.util.attr.viewBox",(function(t){var e;e=l(t,"object")&&"x"in t?[t.x,t.y,t.width,t.height].join(" "):l(t,"array")?t.join(" "):t,c(this.node,{viewBox:e}),eve.stop()}))(-1),eve.on("snap.util.attr.transform",(function(t){this.transform(t),eve.stop()}))(-1),eve.on("snap.util.attr.r",(function(t){"rect"==this.type&&(eve.stop(),c(this.node,{rx:t,ry:t}))}))(-1),eve.on("snap.util.attr.textpath",(function(t){if(eve.stop(),"text"==this.type){var n,i,r;if(!t&&this.textPath){for(i=this.textPath;i.node.firstChild;)this.node.appendChild(i.node.firstChild);return i.remove(),void delete this.textPath}if(l(t,"string")){var o=u(this),a=s(o.parentNode).path(t);o.appendChild(a.node),n=a.id,a.attr({id:n})}else(t=s(t))instanceof e&&((n=t.attr("id"))||(n=t.id,t.attr({id:n})));if(n)if(i=this.textPath,r=this.node,i)i.attr({"xlink:href":"#"+n});else{for(i=c("textPath",{"xlink:href":"#"+n});r.firstChild;)i.appendChild(r.firstChild);r.appendChild(i),this.textPath=s(i)}}}))(-1),eve.on("snap.util.attr.text",(function(t){if("text"==this.type){for(var e=this.node,n=function(t){var e=c("tspan");if(l(t,"array"))for(var r=0;r<t.length;r++)e.appendChild(n(t[r]));else e.appendChild(i.doc.createTextNode(t));return e.normalize&&e.normalize(),e};e.firstChild;)e.removeChild(e.firstChild);for(var r=n(t);r.firstChild;)e.appendChild(r.firstChild)}eve.stop()}))(-1),eve.on("snap.util.attr.fontSize",v)(-1),eve.on("snap.util.attr.font-size",v)(-1),eve.on("snap.util.getattr.transform",(function(){return eve.stop(),this.transform()}))(-1),eve.on("snap.util.getattr.textpath",(function(){return eve.stop(),this.textPath}))(-1),function(){function e(e){return function(){eve.stop();var n=i.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+e);return"none"==n?n:t(i.doc.getElementById(n.match(h)[1]))}}function n(t){return function(e){eve.stop();var n="marker"+t.charAt(0).toUpperCase()+t.substring(1);if(""!=e&&e){if("marker"==e.type){var i=e.node.id;return i||c(e.node,{id:e.id}),void(this.node.style[n]=p(i))}}else this.node.style[n]="none"}}eve.on("snap.util.getattr.marker-end",e("end"))(-1),eve.on("snap.util.getattr.markerEnd",e("end"))(-1),eve.on("snap.util.getattr.marker-start",e("start"))(-1),eve.on("snap.util.getattr.markerStart",e("start"))(-1),eve.on("snap.util.getattr.marker-mid",e("mid"))(-1),eve.on("snap.util.getattr.markerMid",e("mid"))(-1),eve.on("snap.util.attr.marker-end",n("end"))(-1),eve.on("snap.util.attr.markerEnd",n("end"))(-1),eve.on("snap.util.attr.marker-start",n("start"))(-1),eve.on("snap.util.attr.markerStart",n("start"))(-1),eve.on("snap.util.attr.marker-mid",n("mid"))(-1),eve.on("snap.util.attr.markerMid",n("mid"))(-1)}(),eve.on("snap.util.getattr.r",(function(){if("rect"==this.type&&c(this.node,"rx")==c(this.node,"ry"))return eve.stop(),c(this.node,"rx")}))(-1),eve.on("snap.util.getattr.text",(function(){if("text"==this.type||"tspan"==this.type){eve.stop();var t=y(this.node);return 1==t.length?t[0]:t}}))(-1),eve.on("snap.util.getattr.#text",(function(){return this.node.textContent}))(-1),eve.on("snap.util.getattr.fill",(function(e){if(!e){eve.stop();var n=eve("snap.util.getattr.fill",this,!0).firstDefined();return t(t.deurl(n))||n}}))(-1),eve.on("snap.util.getattr.stroke",(function(e){if(!e){eve.stop();var n=eve("snap.util.getattr.stroke",this,!0).firstDefined();return t(t.deurl(n))||n}}))(-1),eve.on("snap.util.getattr.viewBox",(function(){eve.stop();var e=c(this.node,"viewBox");return e?(e=e.split(d),t._.box(+e[0],+e[1],+e[2],+e[3])):void 0}))(-1),eve.on("snap.util.getattr.points",(function(){var t=c(this.node,"points");return eve.stop(),t?t.split(d):void 0}))(-1),eve.on("snap.util.getattr.path",(function(){var t=c(this.node,"d");return eve.stop(),t}))(-1),eve.on("snap.util.getattr.class",(function(){return this.node.className.baseVal}))(-1),eve.on("snap.util.getattr.fontSize",_)(-1),eve.on("snap.util.getattr.font-size",_)(-1)})),r.plugin((function(t,e,n,i,r){var o=/\S+/g,a=String,s=e.prototype;s.addClass=function(t){var e,n,i,r=a(t||"").match(o)||[],s=this.node,l=s.className.baseVal,u=l.match(o)||[];if(r.length){for(e=0;
vendor: 4,881 bytes, line 1
1n=r[e++];)~u.indexOf(n)||u.push(n);l!=(i=u.join(" "))&&(s.className.baseVal=i)}return this},s.removeClass=function(t){var e,n,i,r,s=a(t||"").match(o)||[],l=this.node,u=l.className.baseVal,h=u.match(o)||[];if(h.length){for(e=0;i=s[e++];)~(n=h.indexOf(i))&&h.splice(n,1);u!=(r=h.join(" "))&&(l.className.baseVal=r)}return this},s.hasClass=function(t){return!!~(this.node.className.baseVal.match(o)||[]).indexOf(t)},s.toggleClass=function(t,e){if(null!=e)return e?this.addClass(t):this.removeClass(t);var n,i,r,a,s=(t||"").match(o)||[],l=this.node,u=l.className.baseVal,h=u.match(o)||[];for(n=0;r=s[n++];)~(i=h.indexOf(r))?h.splice(i,1):h.push(r);return u!=(a=h.join(" "))&&(l.className.baseVal=a),this}})),r.plugin((function(t,e,n,i,r){var o={"+":function(t,e){return t+e},"-":function(t,e){return t-e},"/":function(t,e){return t/e},"*":function(t,e){return t*e}},a=String,s=/[a-z]+$/i,l=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;function u(t){return t}function h(t){return function(e){return+e.toFixed(3)+t}}eve.on("snap.util.attr",(function(t){var e=a(t).match(l);if(e){var n=eve.nt(),i=n.substring(n.lastIndexOf(".")+1),r=this.attr(i),u={};eve.stop();var h=e[3]||"",c=r.match(s),p=o[e[1]];if(c&&c==h?t=p(parseFloat(r),+e[2]):(r=this.asPX(i),t=p(this.asPX(i),this.asPX(i,e[2]+h))),isNaN(r)||isNaN(t))return;u[i]=t,this.attr(u)}}))(-10),eve.on("snap.util.equal",(function(t,e){var n=a(this.attr(t)||""),i=a(e).match(l);if(i){eve.stop();var r=i[3]||"",c=n.match(s),p=o[i[1]];return c&&c==r?{from:parseFloat(n),to:p(parseFloat(n),+i[2]),f:h(c)}:{from:n=this.asPX(t),to:p(n,this.asPX(t,i[2]+r)),f:u}}}))(-10)})),r.plugin((function(t,e,n,i,r){var o=n.prototype,a=t.is;o.rect=function(t,e,n,i,r,o){var s;return null==o&&(o=r),a(t,"object")&&"[object Object]"==t?s=t:null!=t&&(s={x:t,y:e,width:n,height:i},null!=r&&(s.rx=r,s.ry=o)),this.el("rect",s)},o.circle=function(t,e,n){var i;return a(t,"object")&&"[object Object]"==t?i=t:null!=t&&(i={cx:t,cy:e,r:n}),this.el("circle",i)};var s=function(){function t(){this.parentNode.removeChild(this)}return function(e,n){var r=i.doc.createElement("img"),o=i.doc.body;r.style.cssText="position:absolute;left:-9999em;top:-9999em",r.onload=function(){n.call(r),r.onload=r.onerror=null,o.removeChild(r)},r.onerror=t,o.appendChild(r),r.src=e}}();o.image=function(e,n,i,r,o){var l=this.el("image");if(a(e,"object")&&"src"in e)l.attr(e);else if(null!=e){var u={"xlink:href":e,preserveAspectRatio:"none"};null!=n&&null!=i&&(u.x=n,u.y=i),null!=r&&null!=o?(u.width=r,u.height=o):s(e,(function(){t._.$(l.node,{width:this.offsetWidth,height:this.offsetHeight})})),t._.$(l.node,u)}return l},o.ellipse=function(t,e,n,i){var r;return a(t,"object")&&"[object Object]"==t?r=t:null!=t&&(r={cx:t,cy:e,rx:n,ry:i}),this.el("ellipse",r)},o.path=function(t){var e;return a(t,"object")&&!a(t,"array")?e=t:t&&(e={d:t}),this.el("path",e)},o.group=o.g=function(t){var e=this.el("g");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},o.svg=function(t,e,n,i,r,o,s,l){var u={};return a(t,"object")&&null==e?u=t:(null!=t&&(u.x=t),null!=e&&(u.y=e),null!=n&&(u.width=n),null!=i&&(u.height=i),null!=r&&null!=o&&null!=s&&null!=l&&(u.viewBox=[r,o,s,l])),this.el("svg",u)},o.mask=function(t){var e=this.el("mask");return 1==arguments.length&&t&&!t.type?e.attr(t):arguments.length&&e.add(Array.prototype.slice.call(arguments,0)),e},o.ptrn=function(t,e,n,i,r,o,s,l){if(a(t,"object"))var u=t;else u={patternUnits:"userSpaceOnUse"},t&&(u.x=t),e&&(u.y=e),null!=n&&(u.width=n),null!=i&&(u.height=i),u.viewBox=null!=r&&null!=o&&null!=s&&null!=l?[r,o,s,l]:[t||0,e||0,n||0,i||0];return this.el("pattern",u)},o.use=function(n){return null!=n?(n instanceof e&&(n.attr("id")||n.attr({id:t._.id(n)}),n=n.attr("id")),"#"==String(n).charAt()&&(n=n.substring(1)),this.el("use",{"xlink:href":"#"+n})):e.prototype.use.call(this)},o.symbol=function(t,e,n,i){var r={};return null!=t&&null!=e&&null!=n&&null!=i&&(r.viewBox=[t,e,n,i]),this.el("symbol",r)},o.text=function(t,e,n){var i={};return a(t,"object")?i=t:null!=t&&(i={x:t,y:e,text:n||""}),this.el("text",i)},o.line=function(t,e,n,i){var r={};return a(t,"object")?r=t:null!=t&&(r={x1:t,x2:n,y1:e,y2:i}),this.el("line",r)},o.polyline=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return a(t,"object")&&!a(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polyline",e)},o.polygon=function(t){arguments.length>1&&(t=Array.prototype.slice.call(arguments,0));var e={};return a(t,"object")&&!a(t,"array")?e=t:null!=t&&(e={points:t}),this.el("polygon",e)},function(){var e=t._.$;function n(){return this.selectAll("stop")}function i(n,i){var r=e("stop"),o={offset:+i+"%"};n=t.color(n),o["stop-color"]=n.hex,n.opacity<1&&(o["stop-opacity"]=n.opacity),e(r,o);for(var a,s=this.stops(),l=0;l<s.length;l++){if(parseFloat(s[l].attr("offset"))>
1i){this.node.insertBefore(r,s[l].node),a=!0;break}}return a||this.node.appendChild(r),this}function r(){if("linearGradient"==this.type){var n=e(this.node,"x1")||0,i=e(this.node,"x2")||1,r=e(this.node,"y1")||0,o=e(this.node,"y2")||0;return t._.box(n,r,math.abs(i-n),math.abs(o-r))}var a=this.node.cx||.5,s=this.node.cy||.5,l=this.node.r||0;return t._.box(a-l,s-l,2*l,2*l)}function a(e){var n=e,i=this.stops();if("string"==typeof e&&(n=eve("snap.util.grad.parse",null,"l(0,0,0,1)"+e).firstDefined().stops),t.is(n,"array")){for(var r=0;r<i.length;r++)if(n[r]){var o=t.color(n[r].color),a={offset:n[r].offset+"%"};a["stop-color"]=o.hex,o.opacity<1&&(a["stop-opacity"]=o.opacity),i[r].attr(a)}else i[r].remove();for(r=i.length;r<n.length;r++)this.addStop(n[r].color,n[r].offset);return this}}function s(o,s,l,u,h){var c=t._.make("linearGradient",o);return c.stops=n,c.addStop=i,c.getBBox=r,c.setStops=a,null!=s&&e(c.node,{x1:s,y1:l,x2:u,y2:h}),c}function l(o,a,s,l,u,h){var c=t._.make("radialGradient",o);return c.stops=n,c.addStop=i,c.getBBox=r,null!=a&&e(c.node,{cx:a,cy:s,r:l}),null!=u&&null!=h&&e(c.node,{fx:u,fy:h}),c}o.gradient=function(t){return function(t,n){var i,r=eve("snap.util.grad.parse",null,n).firstDefined();if(!r)return null;r.params.unshift(t),i="l"==r.type.toLowerCase()?s.apply(0,r.params):l.apply(0,r.params),r.type!=r.type.toLowerCase()&&e(i.node,{gradientUnits:"userSpaceOnUse"});for(var o=r.stops,a=o.length,u=0;u<a;u++){var h=o[u];i.addStop(h.color,h.offset)}return i}(this.defs,t)},o.gradientLinear=function(t,e,n,i){return s(this.defs,t,e,n,i)},o.gradientRadial=function(t,e,n,i,r){return l(this.defs,t,e,n,i,r)},o.toString=function(){var e,n=this.node.ownerDocument,i=n.createDocumentFragment(),r=n.createElement("div"),o=this.node.cloneNode(!0);return i.appendChild(r),r.appendChild(o),t._.$(o,{xmlns:"http://www.w3.org/2000/svg"}),e=r.innerHTML,i.removeChild(i.firstChild),e},o.toDataURL=function(){if(window&&window.btoa)return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this)))},o.clear=function(){for(var t,e=this.node.firstChild;e;)t=e.nextSibling,"defs"!=e.tagName?e.parentNode.removeChild(e):o.clear.call({node:e}),e=t}}()})),r.plugin((function(t,e,n,i){var r=e.prototype,o=t.is,a=t._.clone,s="hasOwnProperty",l=/,?([a-z]),?/gi,u=parseFloat,h=Math,c=h.PI,p=h.min,f=h.max,d=h.pow,g=h.abs;function m(t){var e=m.ps=m.ps||{};return e[t]?e[t].sleep=100:e[t]={sleep:100},setTimeout((function(){for(var n in e)e[s](n)&&n!=t&&(e[n].sleep--,!e[n].sleep&&delete e[n])})),e[t]}function v(t,e,n,i){return null==t&&(t=e=n=i=0),null==e&&(e=t.y,n=t.width,i=t.height,t=t.x),{x:t,y:e,width:n,w:n,height:i,h:i,x2:t+n,y2:e+i,cx:t+n/2,cy:e+i/2,r1:h.min(n,i)/2,r2:h.max(n,i)/2,r0:h.sqrt(n*n+i*i)/2,path:R(t,e,n,i),vb:[t,e,n,i].join(" ")}}function y(){return this.join(",").replace(l,"$1")}function _(t){var e=a(t);return e.toString=y,e}function x(t,e,n,i,r,o,a,s,l){return null==l?k(t,e,n,i,r,o,a,s):T(t,e,n,i,r,o,a,s,function(t,e,n,i,r,o,a,s,l){if(l<0||k(t,e,n,i,r,o,a,s)<l)return;var u,h=1,c=h/2,p=h-c,f=.01;u=k(t,e,n,i,r,o,a,s,p);for(;g(u-l)>f;)u=k(t,e,n,i,r,o,a,s,p+=(u<l?1:-1)*(c/=2));return p}(t,e,n,i,r,o,a,s,l))}function b(n,i){function r(t){return+(+t).toFixed(3)}return t._.cacher((function(t,o,a){t instanceof e&&(t=t.attr("d"));for(var s,l,u,h,c,p="",f={},d=0,g=0,m=(t=W(t)).length;g<m;g++){if("M"==(u=t[g])[0])s=+u[1],l=+u[2];else{if(d+(h=x(s,l,u[1],u[2],u[3],u[4],u[5],u[6]))>o){if(i&&!f.start){if(p+=["C"+r((c=x(s,l,u[1],u[2],u[3],u[4],u[5],u[6],o-d)).start.x),r(c.start.y),r(c.m.x),r(c.m.y),r(c.x),r(c.y)],a)return p;f.start=p,p=["M"+r(c.x),r(c.y)+"C"+r(c.n.x),r(c.n.y),r(c.end.x),r(c.end.y),r(u[5]),r(u[6])].join(),d+=h,s=+u[5],l=+u[6];continue}if(!n&&!i)return c=x(s,l,u[1],u[2],u[3],u[4],u[5],u[6],o-d)}d+=h,s=+u[5],l=+u[6]}p+=u.shift()+u}return f.end=p,c=n?d:i?f:T(s,l,u[0],u[1],u[2],u[3],u[4],u[5],1)}),null,t._.clone)}var w=b(1),S=b(),M=b(0,1);function T(t,e,n,i,r,o,a,s,l){var u=1-l,p=d(u,3),f=d(u,2),g=l*l,m=g*l,v=t+2*l*(n-t)+g*(r-2*n+t),y=e+2*l*(i-e)+g*(o-2*i+e),_=n+2*l*(r-n)+g*(a-2*r+n),x=i+2*l*(o-i)+g*(s-2*o+i);return{x:p*t+3*f*l*n+3*u*l*l*r+m*a,y:p*e+3*f*l*i+3*u*l*l*o+m*s,m:{x:v,y:y},n:{x:_,y:x},start:{x:u*t+l*n,y:u*e+l*i},end:{x:u*r+l*a,y:u*o+l*s},alpha:90-180*h.atan2(v-_,y-x)/c}}function C(e,n,i,r,o,a,s,l){t.is(e,"array")||(e=[e,n,i,r,o,a,s,l]);var u=H.apply(null,e);return v(u.min.x,u.min.y,u.max.x-u.min.x,u.max.y-u.min.y)}function A(t,e,n){return e>=t.x&&e<=t.x+t.width&&n>=t.y&&n<=t.y+t.height}function I(t,e){return t=v(t),A(e=v(e),t.x,t.y)||A(e,t.x2,t.y)||A(e,t.x,t.y2)||A(e,t.x2,t.y2)||A(t,e.x,e.y)||A(t,e.x2,e.y)||A(t,e.x,e.y2)||A(t,e.x2,e.y2)||(t.x<e.x2&&t.x>e.x||e.x<t.x2&&e.x>t.x)&&(t.y<e.y2&&t.y>e.y||e.y<t.y2&&e.y>t.y)}function D(t,e,n,i,r){return t*(t*(-3*e+9*n-9*i+3*r)+6*e-12*n+6*i)-3*e+3*n}function k(t,e,n,i,r,o,a,s,l){null==l&&(l=1);for(var u=(l=l>1?1:l<0?0:l)/2,c=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],p=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],f=0,d=0;d<12;d++){var g=u*c[d]+u,m=D(g,t,n,r,a),v=D(g,e,i,o,s),y=m*m+v*v;f+=p[d]*h.sqrt(y)}return u*f}
vendor: 25,113 bytes, line 1
1function P(t,e,n,i,r,o,a,s){if(!(f(t,n)<p(r,a)||p(t,n)>f(r,a)||f(e,i)<p(o,s)||p(e,i)>f(o,s))){var l=(t-n)*(o-s)-(e-i)*(r-a);if(l){var u=((t*i-e*n)*(r-a)-(t-n)*(r*s-o*a))/l,h=((t*i-e*n)*(o-s)-(e-i)*(r*s-o*a))/l,c=+u.toFixed(2),d=+h.toFixed(2);if(!(c<+p(t,n).toFixed(2)||c>+f(t,n).toFixed(2)||c<+p(r,a).toFixed(2)||c>+f(r,a).toFixed(2)||d<+p(e,i).toFixed(2)||d>+f(e,i).toFixed(2)||d<+p(o,s).toFixed(2)||d>+f(o,s).toFixed(2)))return{x:u,y:h}}}}function L(t,e,n){if(!I(C(t),C(e)))return n?0:[];for(var i=~~(k.apply(0,t)/8),r=~~(k.apply(0,e)/8),o=[],a=[],s={},l=n?0:[],u=0;u<i+1;u++){var h=T.apply(0,t.concat(u/i));o.push({x:h.x,y:h.y,t:u/i})}for(u=0;u<r+1;u++)h=T.apply(0,e.concat(u/r)),a.push({x:h.x,y:h.y,t:u/r});for(u=0;u<i;u++)for(var c=0;c<r;c++){var p=o[u],f=o[u+1],d=a[c],m=a[c+1],v=g(f.x-p.x)<.001?"y":"x",y=g(m.x-d.x)<.001?"y":"x",_=P(p.x,p.y,f.x,f.y,d.x,d.y,m.x,m.y);if(_){if(s[_.x.toFixed(4)]==_.y.toFixed(4))continue;s[_.x.toFixed(4)]=_.y.toFixed(4);var x=p.t+g((_[v]-p[v])/(f[v]-p[v]))*(f.t-p.t),b=d.t+g((_[y]-d[y])/(m[y]-d[y]))*(m.t-d.t);x>=0&&x<=1&&b>=0&&b<=1&&(n?l++:l.push({x:_.x,y:_.y,t1:x,t2:b}))}}return l}function O(t,e,n){t=W(t),e=W(e);for(var i,r,o,a,s,l,u,h,c,p,f=n?0:[],d=0,g=t.length;d<g;d++){var m=t[d];if("M"==m[0])i=s=m[1],r=l=m[2];else{"C"==m[0]?(c=[i,r].concat(m.slice(1)),i=c[6],r=c[7]):(c=[i,r,i,r,s,l,s,l],i=s,r=l);for(var v=0,y=e.length;v<y;v++){var _=e[v];if("M"==_[0])o=u=_[1],a=h=_[2];else{"C"==_[0]?(p=[o,a].concat(_.slice(1)),o=p[6],a=p[7]):(p=[o,a,o,a,u,h,u,h],o=u,a=h);var x=L(c,p,n);if(n)f+=x;else{for(var b=0,w=x.length;b<w;b++)x[b].segment1=d,x[b].segment2=v,x[b].bez1=c,x[b].bez2=p;f=f.concat(x)}}}}}return f}function E(t){var e=m(t);if(e.bbox)return a(e.bbox);if(!t)return v();for(var n,i=0,r=0,o=[],s=[],l=0,u=(t=W(t)).length;l<u;l++)if("M"==(n=t[l])[0])i=n[1],r=n[2],o.push(i),s.push(r);else{var h=H(i,r,n[1],n[2],n[3],n[4],n[5],n[6]);o=o.concat(h.min.x,h.max.x),s=s.concat(h.min.y,h.max.y),i=n[5],r=n[6]}var c=p.apply(0,o),d=p.apply(0,s),g=v(c,d,f.apply(0,o)-c,f.apply(0,s)-d);return e.bbox=a(g),g}function R(t,e,n,i,r){if(r)return[["M",+t+ +r,e],["l",n-2*r,0],["a",r,r,0,0,1,r,r],["l",0,i-2*r],["a",r,r,0,0,1,-r,r],["l",2*r-n,0],["a",r,r,0,0,1,-r,-r],["l",0,2*r-i],["a",r,r,0,0,1,r,-r],["z"]];var o=[["M",t,e],["l",n,0],["l",0,i],["l",-n,0],["z"]];return o.toString=y,o}function N(t,e,n,i,r){if(null==r&&null==i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!=r)var o=Math.PI/180,a=t+n*Math.cos(-i*o),s=t+n*Math.cos(-r*o),l=[["M",a,e+n*Math.sin(-i*o)],["A",n,n,0,+(r-i>180),0,s,e+n*Math.sin(-r*o)]];else l=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return l.toString=y,l}var F=t._unit2px,B={path:function(t){return t.attr("path")},circle:function(t){var e=F(t);return N(e.cx,e.cy,e.r)},ellipse:function(t){var e=F(t);return N(e.cx||0,e.cy||0,e.rx,e.ry)},rect:function(t){var e=F(t);return R(e.x||0,e.y||0,e.width,e.height,e.rx,e.ry)},image:function(t){var e=F(t);return R(e.x||0,e.y||0,e.width,e.height)},line:function(t){return"M"+[t.attr("x1")||0,t.attr("y1")||0,t.attr("x2"),t.attr("y2")]},polyline:function(t){return"M"+t.attr("points")},polygon:function(t){return"M"+t.attr("points")+"z"},deflt:function(t){var e=t.node.getBBox();return R(e.x,e.y,e.width,e.height)}};function z(e){var n=m(e);if(n.abs)return _(n.abs);if(o(e,"array")&&o(e&&e[0],"array")||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var i,r=[],a=0,s=0,l=0,u=0,h=0;"M"==e[0][0]&&(l=a=+e[0][1],u=s=+e[0][2],h++,r[0]=["M",a,s]);for(var c,p,f=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),d=h,g=e.length;d<g;d++){if(r.push(c=[]),(i=(p=e[d])[0])!=i.toUpperCase())switch(c[0]=i.toUpperCase(),c[0]){case"A":c[1]=p[1],c[2]=p[2],c[3]=p[3],c[4]=p[4],c[5]=p[5],c[6]=+p[6]+a,c[7]=+p[7]+s;break;case"V":c[1]=+p[1]+s;break;case"H":c[1]=+p[1]+a;break;case"R":for(var v=[a,s].concat(p.slice(1)),x=2,b=v.length;x<b;x++)v[x]=+v[x]+a,v[++x]=+v[x]+s;r.pop(),r=r.concat(Z(v,f));break;case"O":r.pop(),(v=N(a,s,p[1],p[2])).push(v[0]),r=r.concat(v);break;case"U":r.pop(),r=r.concat(N(a,s,p[1],p[2],p[3])),c=["U"].concat(r[r.length-1].slice(-2));break;case"M":l=+p[1]+a,u=+p[2]+s;default:for(x=1,b=p.length;x<b;x++)c[x]=+p[x]+(x%2?a:s)}else if("R"==i)v=[a,s].concat(p.slice(1)),r.pop(),r=r.concat(Z(v,f)),c=["R"].concat(p.slice(-2));else if("O"==i)r.pop(),(v=N(a,s,p[1],p[2])).push(v[0]),r=r.concat(v);else if("U"==i)r.pop(),r=r.concat(N(a,s,p[1],p[2],p[3])),c=["U"].concat(r[r.length-1].slice(-2));else for(var w=0,S=p.length;w<S;w++)c[w]=p[w];if("O"!=(i=i.toUpperCase()))switch(c[0]){case"Z":a=+l,s=+u;break;case"H":a=c[1];break;case"V":s=c[1];break;case"M":l=c[c.length-2],u=c[c.length-1];default:a=c[c.length-2],s=c[c.length-1]}}return r.toString=y,n.abs=_(r),r}function V(t,e,n,i){return[t,e,n,i,n,i]}function j(t,e,n,i,r,o){var a=1/3,s=2/3;return[a*t+s*n,a*e+s*i,a*r+s*n,a*o+s*i,r,o]}function G(e,n,i,r,o,a,s,l,u,p){var f,d=120*c/180,m=c/180*(+o||0),v=[],y=t._.cacher((function(t,e,n){return{x:t*h.cos(n)-e*h.sin(n),y:t*h.sin(n)+e*h.cos(n)}}));if(!i||!r)return[e,n,l,u,l,u];if(p)A=p[0],I=p[1],T=p[2],C=p[3];else{e=(f=y(e,n,-m)).x,n=f.y,l=(f=y(l,u,-m)).x,u=f.y;h.cos(c/180*o),h.sin(c/180*o);var _=(e-l)/2,x=(n-u)/2,b=_*_/(i*i)+x*x/(r*r);b>1&&(i*=b=h.sqrt(b),r*=b);var w=i*i,S=r*r,M=(a==s?-1:1)*h.sqrt(g((w*S-w*x*x-S*_*_)/(w*x*x+S*_*_))),T=M*i*x/r+(e+l)/2,C=M*-r*_/i+(n+u)/2,A=h.asin(((n-C)/r).toFixed(9)),I=h.asin(((u-C)/r).toFixed(9));(A=e<T?c-A:A)<0&&(A=2*c+A),(I=l<T?c-I:I)<0&&(I=2*c+I),s&&A>I&&(A-=2*c),!s&&I>A&&(I-=2*c)}var D=I-A;if(g(D)>d){var k=I,P=l,L=u;I=A+d*(s&&I>A?1:-1),v=G(l=T+i*h.cos(I),u=C+r*h.sin(I),i,r,o,0,s,P,L,[I,k,T,C])}D=I-A;var O=h.cos(A),E=h.sin(A),R=h.cos(I),N=h.sin(I),F=h.tan(D/4),B=4/3*i*F,z=4/3*r*F,V=[e,n],j=[e+B*E,n-z*O],H=[l+B*N,u-z*R],W=[l,u];if(j[0]=2*V[0]-j[0],j[1]=2*V[1]-j[1],p)return[j,H,W].concat(v);for(var Z=[],U=0,X=(v=[j,H,W].concat(v).join().split(",")).length;U<X;U++)Z[U]=U%2?y(v[U-1],v[U],m).y:y(v[U],v[U+1],m).x;return Z}function H(t,e,n,i,r,o,a,s){for(var l,u,c,d,m,v,y,_,x=[],b=[[],[]],w=0;w<2;++w)if(0==w?(u=6*t-12*n+6*r,l=-3*t+9*n-9*r+3*a,c=3*n-3*t):(u=6*e-12*i+6*o,l=-3*e+9*i-9*o+3*s,c=3*i-3*e),g(l)<1e-12){if(g(u)<1e-12)continue;0<(d=-c/u)&&d<1&&x.push(d)}else y=u*u-4*c*l,_=h.sqrt(y),y<0||(0<(m=(-u+_)/(2*l))&&m<1&&x.push(m),0<(v=(-u-_)/(2*l))&&v<1&&x.push(v));for(var S,M=x.length,T=M;M--;)S=1-(d=x[M]),b[0][M]=S*S*S*t+3*S*S*d*n+3*S*d*d*r+d*d*d*a,b[1][M]=S*S*S*e+3*S*S*d*i+3*S*d*d*o+d*d*d*s;return b[0][T]=t,b[1][T]=e,b[0][T+1]=a,b[1][T+1]=s,b[0].length=b[1].length=T+2,{min:{x:p.apply(0,b[0]),y:p.apply(0,b[1])},max:{x:f.apply(0,b[0]),y:f.apply(0,b[1])}}}function W(t,e){var n=!e&&m(t);if(!e&&n.curve)return _(n.curve);for(var i=z(t),r=e&&z(e),o={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(t,e,n){var i,r;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(G.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"==n||"S"==n?(i=2*e.x-e.bx,r=2*e.y-e.by):(i=e.x,r=e.y),t=["C",i,r].concat(t.slice(1));break;case"T":"Q"==n||"T"==n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(j(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(j(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(V(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(V(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(V(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(V(e.x,e.y,e.X,e.Y))}return t},l=function(t,e){if(t[e].length>7){t[e].shift();for(var n=t[e];n.length;)c[e]="A",r&&(p[e]="A"),t.splice(e++,0,["C"].concat(n.splice(0,6)));t.splice(e,1),y=f(i.length,r&&r.length||0)}},h=function(t,e,n,o,a){t&&e&&"M"==t[a][0]&&"M"!=e[a][0]&&(e.splice(a,0,["M",o.x,o.y]),n.bx=0,n.by=0,n.x=t[a][1],n.y=t[a][2],y=f(i.length,r&&r.length||0))},c=[],p=[],d="",g="",v=0,y=f(i.length,r&&r.length||0);v<y;v++){i[v]&&(d=i[v][0]),"C"!=d&&(c[v]=d,v&&(g=c[v-1])),i[v]=s(i[v],o,g),"A"!=c[v]&&"C"==d&&(c[v]="C"),l(i,v),r&&(r[v]&&(d=r[v][0]),"C"!=d&&(p[v]=d,v&&(g=p[v-1])),r[v]=s(r[v],a,g),"A"!=p[v]&&"C"==d&&(p[v]="C"),l(r,v)),h(i,r,o,a,v),h(r,i,a,o,v);var x=i[v],b=r&&r[v],w=x.length,S=r&&b.length;o.x=x[w-2],o.y=x[w-1],o.bx=u(x[w-4])||o.x,o.by=u(x[w-3])||o.y,a.bx=r&&(u(b[S-4])||a.x),a.by=r&&(u(b[S-3])||a.y),a.x=r&&b[S-2],a.y=r&&b[S-1]}return r||(n.curve=_(i)),r?[i,r]:i}function Z(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4==i?o[3]={x:+t[0],y:+t[1]}:r-2==i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4==i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}t.path=m,t.path.getTotalLength=w,t.path.getPointAtLength=S,t.path.getSubpath=function(t,e,n){if(this.getTotalLength(t)-n<1e-6)return M(t,e).end;var i=M(t,n,1);return e?M(i,e).end:i},r.getTotalLength=function(){if(this.node.getTotalLength)return this.node.getTotalLength()},r.getPointAtLength=function(t){return S(this.attr("d"),t)},r.getSubpath=function(e,n){return t.path.getSubpath(this.attr("d"),e,n)},t._.box=v,t.path.findDotsAtSegment=T,t.path.bezierBBox=C,t.path.isPointInsideBBox=A,t.closest=function(e,n,i,r){for(var o=100,a=v(e-o/2,n-o/2,o,o),s=[],l=i[0].hasOwnProperty("x")?function(t){return{x:i[t].x,y:i[t].y}}:function(t){return{x:i[t],y:r[t]}},u=0;o<=1e6&&!u;){for(var h=0,c=i.length;h<c;h++){var p=l(h);if(A(a,p.x,p.y)){u++,s.push(p);break}}u||(a=v(e-(o*=2)/2,n-o/2,o,o))}if(1e6!=o){var f,d=1/0;for(h=0,c=s.length;h<c;h++){var g=t.len(e,n,s[h].x,s[h].y);d>g&&(d=g,s[h].len=g,f=s[h])}return f}},t.path.isBBoxIntersect=I,t.path.intersection=function(t,e){return O(t,e)},t.path.intersectionNumber=function(t,e){return O(t,e,1)},t.path.isPointInside=function(t,e,n){var i=E(t);return A(i,e,n)&&O(t,[["M",e,n],["H",i.x2+10]],1)%2==1},t.path.getBBox=E,t.path.get=B,t.path.toRelative=function(e){var n=m(e),i=String.prototype.toLowerCase;if(n.rel)return _(n.rel);t.is(e,"array")&&t.is(e&&e[0],"array")||(e=t.parsePathString(e));var r=[],o=0,a=0,s=0,l=0,u=0;"M"==e[0][0]&&(s=o=e[0][1],l=a=e[0][2],u++,r.push(["M",o,a]));for(var h=u,c=e.length;h<c;h++){var p=r[h]=[],f=e[h];if(f[0]!=i.call(f[0]))switch(p[0]=i.call(f[0]),p[0]){case"a":p[1]=f[1],p[2]=f[2],p[3]=f[3],p[4]=f[4],p[5]=f[5],p[6]=+(f[6]-o).toFixed(3),p[7]=+(f[7]-a).toFixed(3);break;case"v":p[1]=+(f[1]-a).toFixed(3);break;case"m":s=f[1],l=f[2];default:for(var d=1,g=f.length;d<g;d++)p[d]=+(f[d]-(d%2?o:a)).toFixed(3)}else{p=r[h]=[],"m"==f[0]&&(s=f[1]+o,l=f[2]+a);for(var v=0,x=f.length;v<x;v++)r[h][v]=f[v]}var b=r[h].length;switch(r[h][0]){case"z":o=s,a=l;break;case"h":o+=+r[h][b-1];break;case"v":a+=+r[h][b-1];break;default:o+=+r[h][b-2],a+=+r[h][b-1]}}return r.toString=y,n.rel=_(r),r},t.path.toAbsolute=z,t.path.toCubic=W,t.path.map=function(t,e){if(!e)return t;var n,i,r,o,a,s,l;for(r=0,a=(t=W(t)).length;r<a;r++)for(o=1,s=(l=t[r]).length;o<s;o+=2)n=e.x(l[o],l[o+1]),i=e.y(l[o],l[o+1]),l[o]=n,l[o+1]=i;return t},t.path.toString=y,t.path.clone=_})),r.plugin((function(t,e,n,r){var o=Math.max,a=Math.min,s=function(t){if(this.items=[],this.bindings={},this.length=0,this.type="set",t)for(var e=0,n=t.length;e<n;e++)t[e]&&(this[this.items.length]=this.items[this.items.length]=t[e],this.length++)},l=s.prototype;l.push=function(){for(var t,e,n=0,i=arguments.length;n<i;n++)(t=arguments[n])&&(this[e=this.items.length]=this.items[e]=t,this.length++);return this},l.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},l.forEach=function(t,e){for(var n=0,i=this.items.length;n<i;n++)if(!1===t.call(e,this.items[n],n))return this;return this},l.animate=function(e,n,r,o){"function"!=typeof r||r.length||(o=r,r=i.linear),e instanceof t._.Animation&&(o=e.callback,r=e.easing,n=r.dur,e=e.attr);var a=arguments;if(t.is(e,"array")&&t.is(a[a.length-1],"array"))var s=!0;var l,u=function(){l?this.b=l:l=this.b},h=0,c=this,p=o&&function(){++h==c.length&&o.call(this)};return this.forEach((function(t,i){eve.once("snap.animcreated."+t.id,u),s?a[i]&&t.animate.apply(t,a[i]):t.animate(e,n,r,p)}))},l.remove=function(){for(;this.length;)this.pop().remove();return this},l.bind=function(t,e,n){var i={};if("function"==typeof e)this.bindings[t]=e;else{var r=n||t;this.bindings[t]=function(t){i[r]=t,e.attr(i)}}return this},l.attr=function(t){var e={};for(var n in t)this.bindings[n]?this.bindings[n](t[n]):e[n]=t[n];for(var i=0,r=this.items.length;i<r;i++)this.items[i].attr(e);return this},l.clear=function(){for(;this.length;)this.pop()},l.splice=function(t,e,n){t=t<0?o(this.length+t,0):t,e=o(0,a(this.length-t,e));var i,r=[],l=[],u=[];for(i=2;i<arguments.length;i++)u.push(arguments[i]);for(i=0;i<e;i++)l.push(this[t+i]);for(;i<this.length-t;i++)r.push(this[t+i]);var h=u.length;for(i=0;i<h+r.length;i++)this.items[t+i]=this[t+i]=i<h?u[i]:r[i-h];for(i=this.items.length=this.length-=e-h;this[i];)delete this[i++];return new s(l)},l.exclude=function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]==t)return this.splice(e,1),!0;return!1},l.insertAfter=function(t){for(var e=this.items.length;e--;)this.items[e].insertAfter(t);return this},l.getBBox=function(){for(var t=[],e=[],n=[],i=[],r=this.items.length;r--;)if(!this.items[r].removed){var s=this.items[r].getBBox();t.push(s.x),e.push(s.y),n.push(s.x+s.width),i.push(s.y+s.height)}return{x:t=a.apply(0,t),y:e=a.apply(0,e),x2:n=o.apply(0,n),y2:i=o.apply(0,i),width:n-t,height:i-e,cx:t+(n-t)/2,cy:e+(i-e)/2}},l.clone=function(t){t=new s;for(var e=0,n=this.items.length;e<n;e++)t.push(this.items[e].clone());return t},l.toString=function(){return"Snap‘s set"},l.type="set",t.Set=s,t.set=function(){var t=new s;return arguments.length&&t.push.apply(t,Array.prototype.slice.call(arguments,0)),t}})),r.plugin((function(t,e,n,i){var r={},o=/[%a-z]+$/i,a=String;function s(t){var e=t[0];switch(e.toLowerCase()){case"t":return[e,0,0];case"m":return[e,1,0,0,1,0,0];case"r":return 4==t.length?[e,0,t[2],t[3]]:[e,0];case"s":return 5==t.length?[e,1,1,t[3],t[4]]:3==t.length?[e,1,1]:[e,1]}}function l(t){return t}function u(t){return t.join(" ")}function h(e){return t.rgb(e[0],e[1],e[2],e[3])}function c(t){var e,n,i,r,o,a,s=0,l=[];for(e=0,n=t.length;e<n;e++){for(o="[",a=['"'+t[e][0]+'"'],i=1,r=t[e].length;i<r;i++)a[i]="val["+s+++"]";o+=a+"]",l[e]=o}return Function("val","return Snap.path.toString.call(["+l+"])")}function p(t){for(var e=[],n=0,i=t.length;n<i;n++)for(var r=1,o=t[n].length;r<o;r++)e.push(t[n][r]);return e}function f(t){return isFinite(t)}r.stroke=r.fill="colour",e.prototype.equal=function(t,e){return eve("snap.util.equal",this,t,e).firstDefined()},eve.on("snap.util.equal",(function(e,n){var i,d,g=a(this.attr(e)||""),m=this;if("colour"==r[e])return i=t.color(g),d=t.color(n),{from:[i.r,i.g,i.b,i.opacity],to:[d.r,d.g,d.b,d.opacity],f:h};if("viewBox"==e)return{from:i=this.attr(e).vb.split(" ").map(Number),to:d=n.split(" ").map(Number),f:u};if("transform"==e||"gradientTransform"==e||"patternTransform"==e)return"string"==typeof n&&(n=a(n).replace(/\.{3}|\u2026/g,g)),function(e,n,i){e=e||new t.Matrix,n=n||new t.Matrix,e=t.parseTransformString(e.toTransformString())||[],n=t.parseTransformString(n.toTransformString())||[];for(var r,o,a,l,u=Math.max(e.length,n.length),h=[],f=[],d=0;d<u;d++){if(a=e[d]||s(n[d]),l=n[d]||s(a),a[0]!=l[0]||"r"==a[0].toLowerCase()&&(a[2]!=l[2]||a[3]!=l[3])||"s"==a[0].toLowerCase()&&(a[3]!=l[3]||a[4]!=l[4])){e=t._.transform2matrix(e,i()),n=t._.transform2matrix(n,i()),h=[["m",e.a,e.b,e.c,e.d,e.e,e.f]],f=[["m",n.a,n.b,n.c,n.d,n.e,n.f]];break}for(h[d]=[],f[d]=[],r=0,o=Math.max(a.length,l.length);r<o;r++)r in a&&(h[d][r]=a[r]),r in l&&(f[d][r]=l[r])}return{from:p(h),to:p(f),f:c(h)}}(g=this.matrix,n=t._.rgTransform.test(n)?t._.transform2matrix(n,this.getBBox()):t._.transform2matrix(t._.svgTransform2string(n),this.getBBox()),(function(){return m.getBBox(1)}));if("d"==e||"path"==e)return{from:p((i=t.path.toCubic(g,n))[0]),to:p(i[1]),f:c(i[0])};if("points"==e)return{from:i=a(g).split(t._.separator),to:d=a(n).split(t._.separator),f:function(t){return t}};if(f(g)&&f(n))return{from:parseFloat(g),to:parseFloat(n),f:l};var v,y,_,x=g.match(o),b=a(n).match(o);return x&&(y=x,_=b,t.is(y,"array")&&t.is(_,"array")&&y.toString()==_.toString())?{from:parseFloat(g),to:parseFloat(n),f:(v=x,function(t){return+t.toFixed(3)+v})}:{from:this.asPX(e),to:this.asPX(e,n),f:l}}))})),r.plugin((function(t,e,n,i){for(var r=e.prototype,o=("createTouch"in i.doc),a=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],s={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},l=function(t,e){var n="y"==t?"scrollTop":"scrollLeft",r=e&&e.node?e.node.ownerDocument:i.doc;return r[n in r.documentElement?"documentElement":"body"][n]},u=function(){return this.originalEvent.preventDefault()},h=function(){return this.originalEvent.stopPropagation()},c=function(t,e,n,i){var r=o&&s[e]?s[e]:e,a=function(r){var a=l("y",i),c=l("x",i);if(o&&s.hasOwnProperty(e))for(var p=0,f=r.targetTouches&&r.targetTouches.length;p<f;p++)if(r.targetTouches[p].target==t||t.contains(r.targetTouches[p].target)){var d=r;(r=r.targetTouches[p]).originalEvent=d,r.preventDefault=u,r.stopPropagation=h;break}var g=r.clientX+c,m=r.clientY+a;return n.call(i,r,g,m)};return e!==r&&t.addEventListener(e,a,!1),t.addEventListener(r,a,!1),function(){return e!==r&&t.removeEventListener(e,a,!1),t.removeEventListener(r,a,!1),!0}},p=[],f=function(t){for(var e,n=t.clientX,i=t.clientY,r=l("y"),a=l("x"),s=p.length;s--;){if(e=p[s],o){for(var u,h=t.touches&&t.touches.length;h--;)if((u=t.touches[h]).identifier==e.el._drag.id||e.el.node.contains(u.target)){n=u.clientX,i=u.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var c=e.el.node;c.nextSibling,c.parentNode,c.style.display;n+=a,i+=r,eve("snap.drag.move."+e.el.id,e.move_scope||e.el,n-e.el._drag.x,i-e.el._drag.y,n,i,t)}},d=function(e){t.unmousemove(f).unmouseup(d);for(var n,i=p.length;i--;)(n=p[i]).el._drag={},eve("snap.drag.end."+n.el.id,n.end_scope||n.start_scope||n.move_scope||n.el,e),eve.off("snap.drag.*."+n.el.id);p=[]},g=a.length;g--;)!function(e){t[e]=r[e]=function(n,i){if(t.is(n,"function"))this.events=this.events||[],this.events.push({name:e,f:n,unbind:c(this.node||document,e,n,i||this)});else for(var r=0,o=this.events.length;r<o;r++)if(this.events[r].name==e)try{this.events[r].f.call(this)}catch(t){}return this},t["un"+e]=r["un"+e]=function(t){for(var n=this.events||[],i=n.length;i--;)if(n[i].name==e&&(n[i].f==t||!t))return n[i].unbind(),n.splice(i,1),!n.length&&delete this.events,this;return this}}(a[g]);r.hover=function(t,e,n,i){return this.mouseover(t,n).mouseout(e,i||n)},r.unhover=function(t,e){return this.unmouseover(t).unmouseout(e)};var m=[];r.drag=function(e,n,i,r,o,a){var s,l=this;if(!arguments.length)return l.drag((function(t,e){this.attr({transform:s+(s?"T":"t")+[t,e]})}),(function(){s=this.transform().local}));function u(s,u,h){(s.originalEvent||s).preventDefault(),l._drag.x=u,l._drag.y=h,l._drag.id=s.identifier,!p.length&&t.mousemove(f).mouseup(d),p.push({el:l,move_scope:r,start_scope:o,end_scope:a}),n&&eve.on("snap.drag.start."+l.id,n),e&&eve.on("snap.drag.move."+l.id,e),i&&eve.on("snap.drag.end."+l.id,i),eve("snap.drag.start."+l.id,o||r||l,u,h,s)}function h(t,e,n){eve("snap.draginit."+l.id,l,t,e,n)}return eve.on("snap.draginit."+l.id,u),l._drag={},m.push({el:l,start:u,init:h}),l.mousedown(h),l},r.undrag=function(){for(var e=m.length;e--;)m[e].el==this&&(this.unmousedown(m[e].init),m.splice(e,1),eve.unbind("snap.drag.*."+this.id),eve.unbind("snap.draginit."+this.id));return!m.length&&t.unmousemove(f).unmouseup(d),this}})),r.plugin((function(t,e,n,i){e.prototype;var r=n.prototype,o=/^\s*url\((.+)\)/,a=String,s=t._.$;t.filter={},r.filter=function(n){var i=this;"svg"!=i.type&&(i=i.paper);var r=t.parse(a(n)),o=t._.id(),l=(i.node.offsetWidth,i.node.offsetHeight,s("filter"));return s(l,{id:o,filterUnits:"userSpaceOnUse"}),l.appendChild(r.node),i.defs.appendChild(l),new e(l)},eve.on("snap.util.getattr.filter",(function(){eve.stop();var e=s(this.node,"filter");if(e){var n=a(e).match(o);return n&&t.select(n[1])}})),eve.on("snap.util.attr.filter",(function(n){if(n instanceof e&&"filter"==n.type){eve.stop();var i=n.node.id;i||(s(n.node,{id:n.id}),i=n.id),s(this.node,{filter:t.url(i)})}n&&"none"!=n||(eve.stop(),this.node.removeAttribute("filter"))})),t.filter.blur=function(e,n){null==e&&(e=2);var i=null==n?e:[e,n];return t.format('<feGaussianBlur stdDeviation="{def}"/>',{def:i})},t.filter.blur.toString=function(){return this()},t.filter.shadow=function(e,n,i,r,o){return null==o&&(null==r?(o=i,i=4,r="#000"):(o=r,r=i,i=4)),null==i&&(i=4),null==o&&(o=1),null==e&&(e=0,n=2),null==n&&(n=e),r=t.color(r),t.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:r,dx:e,dy:n,blur:i,opacity:o})},t.filter.shadow.toString=function(){return this()},t.filter.grayscale=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-e),b:.7152-.7152*(1-e),c:.0722-.0722*(1-e),d:.2126-.2126*(1-e),e:.7152+.2848*(1-e),f:.0722-.0722*(1-e),g:.2126-.2126*(1-e),h:.0722+.9278*(1-e)})},t.filter.grayscale.toString=function(){return this()},t.filter.sepia=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-e),b:.769-.769*(1-e),c:.189-.189*(1-e),d:.349-.349*(1-e),e:.686+.314*(1-e),f:.168-.168*(1-e),g:.272-.272*(1-e),h:.534-.534*(1-e),i:.131+.869*(1-e)})},t.filter.sepia.toString=function(){return this()},t.filter.saturate=function(e){return null==e&&(e=1),t.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-e})},t.filter.saturate.toString=function(){return this()},t.filter.hueRotate=function(e){return e=e||0,t.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:e})},t.filter.hueRotate.toString=function(){return this()},t.filter.invert=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:e,amount2:1-e})},t.filter.invert.toString=function(){return this()},t.filter.brightness=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:e})},t.filter.brightness.toString=function(){return this()},t.filter.contrast=function(e){return null==e&&(e=1),t.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:e,amount2:.5-e/2})},t.filter.contrast.toString=function(){return this()}})),r.plugin((function(t,e,n,i,r){var o=t._.box,a=t.is,s=/^[^a-z]*([tbmlrc])/i,l=function(){return"T"+this.dx+","+this.dy};e.prototype.getAlign=function(t,e){null==e&&a(t,"string")&&(e=t,t=null);var n=(t=t||this.paper).getBBox?t.getBBox():o(t),i=this.getBBox(),r={};switch(e=(e=e&&e.match(s))?e[1].toLowerCase():"c"){case"t":r.dx=0,r.dy=n.y-i.y;break;case"b":r.dx=0,r.dy=n.y2-i.y2;break;case"m":r.dx=0,r.dy=n.cy-i.cy;break;case"l":r.dx=n.x-i.x,r.dy=0;break;case"r":r.dx=n.x2-i.x2,r.dy=0;break;default:r.dx=n.cx-i.cx,r.dy=0}return r.toString=l,r},e.prototype.align=function(t,e){return this.transform("..."+this.getAlign(t,e))}})),r.plugin((function(t,e,n,r,o){var a=e.prototype,s=t.is,l=String,u="hasOwnProperty";function h(t,e,n){return function(i){var r=i.slice(t,e);return 1==r.length&&(r=r[0]),n?n(r):r}}var c=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=i.linear),this.attr=t,this.dur=e,n&&(this.easing=n),r&&(this.callback=r)};t._.Animation=c,t.animation=function(t,e,n,i){return new c(t,e,n,i)},a.inAnim=function(){var t=this,e=[];for(var n in t.anims)t.anims[u](n)&&function(t){e.push({anim:new c(t._attrs,t.dur,t.easing,t._callback),mina:t,curStatus:t.status(),status:function(e){return t.status(e)},stop:function(){t.stop()}})}(t.anims[n]);return e},t.animate=function(t,e,n,r,o,a){"function"!=typeof o||o.length||(a=o,o=i.linear);var s=i.time(),l=i(t,e,s,s+r,i.time,n,o);return a&&eve.once("mina.finish."+l.id,a),l},a.stop=function(){for(var t=this.inAnim(),e=0,n=t.length;e<n;e++)t[e].stop();return this},a.animate=function(t,e,n,r){"function"!=typeof n||n.length||(r=n,n=i.linear),t instanceof c&&(r=t.callback,n=t.easing,e=t.dur,t
1=t.attr);var o,a,p,f,d=[],g=[],m={},v=this;for(var y in t)if(t[u](y)){v.equal?(o=(f=v.equal(y,l(t[y]))).from,a=f.to,p=f.f):(o=+v.attr(y),a=+t[y]);var _=s(o,"array")?o.length:1;m[y]=h(d.length,d.length+_,p),d=d.concat(o),g=g.concat(a)}var x=i.time(),b=i(d,g,x,x+e,i.time,(function(t){var e={};for(var n in m)m[u](n)&&(e[n]=m[n](t));v.attr(e)}),n);return v.anims[b.id]=b,b._attrs=t,b._callback=r,eve("snap.animcreated."+v.id,b),eve.once("mina.finish."+b.id,(function(){eve.off("mina.*."+b.id),delete v.anims[b.id],r&&r.call(v)})),eve.once("mina.stop."+b.id,(function(){eve.off("mina.*."+b.id),delete v.anims[b.id]})),v}})),r.plugin((function(t,e,n,i){function r(t){t=t.split(/(?=#)/);var e=new String(t[5]);return e[50]=t[0],e[100]=t[1],e[200]=t[2],e[300]=t[3],e[400]=t[4],e[500]=t[5],e[600]=t[6],e[700]=t[7],e[800]=t[8],e[900]=t[9],t[10]&&(e.A100=t[10],e.A200=t[11],e.A400=t[12],e.A700=t[13]),e}t.mui={},t.flat={},t.mui.red=r("#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000"),t.mui.pink=r("#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162"),t.mui.purple=r("#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF"),t.mui.deeppurple=r("#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA"),t.mui.indigo=r("#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE"),t.mui.blue=r("#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF"),t.mui.lightblue=r("#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA"),t.mui.cyan=r("#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4"),t.mui.teal=r("#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5"),t.mui.green=r("#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853"),t.mui.lightgreen=r("#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17"),t.mui.lime=r("#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00"),t.mui.yellow=r("#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600"),t.mui.amber=r("#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00"),t.mui.orange=r("#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00"),t.mui.deeporange=r("#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00"),t.mui.brown=r("#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723"),t.mui.grey=r("#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121"),t.mui.bluegrey=r("#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238"),t.flat.turquoise="#1abc9c",t.flat.greensea="#16a085",t.flat.sunflower="#f1c40f",t.flat.orange="#f39c12",t.flat.emerland="#2ecc71",t.flat.nephritis="#27ae60",t.flat.carrot="#e67e22",t.flat.pumpkin="#d35400",t.flat.peterriver="#3498db",t.flat.belizehole="#2980b9",t.flat.alizarin="#e74c3c",t.flat.pomegranate="#c0392b",t.flat.amethyst="#9b59b6",t.flat.wisteria="#8e44ad",t.flat.clouds="#ecf0f1",t.flat.silver="#bdc3c7",t.flat.wetasphalt="#34495e",t.flat.midnightblue="#2c3e50",t.flat.concrete="#95a5a6",t.flat.asbestos="#7f8c8d",t.importMUIColors=function(){for(var e in t.mui)t.mui.hasOwnProperty(e)&&(window[e]=t.mui[e])}})),t.exports=r},144:function(t,e,n){"use strict";n.r(e),n.d(e,{EffectScope:function(){return Se},computed:function(){return ce},customRef:function(){return ne},default:function(){return ur},defineAsyncComponent:function(){return zn},defineComponent:function(){return ei},del:function(){return Nt},effectScope:function(){return Me},getCurrentInstance:function(){return pt},getCurrentScope:function(){return Te},h:function(){return wn},inject:function(){return De},isProxy:function(){return Wt},isReactive:function(){return jt},isReadonly:function(){return Ht},isRef:function(){return $t},isShallow:function(){return Gt},markRaw:function(){return Ut},mergeDefaults:function(){return dn},nextTick:function(){return Nn},onActivated:function(){return Xn},onBeforeMount:function(){return jn},onBeforeUnmount:function(){return Zn},onBeforeUpdate:function(){return Hn},onDeactivated:function(){return $n},onErrorCaptured:function(){return Qn},onMounted:function(){return Gn},onRenderTracked:function(){return qn},onRenderTriggered:function(){return Kn},onScopeDispose:function(){return Ce},onServerPrefetch:function(){return Yn},onUnmounted:function(){return Un},onUpdated:function(){return Wn},provide:function(){return Ae},proxyRefs:function(){return te},reactive:function(){return Bt},readonly:function(){return se},ref:function(){return Yt},set:function(){return Rt},shallowReactive:function(){return zt},shallowReadonly:function(){return he},shallowRef:function(){return qt},toRaw:function(){return Zt},toRef:function(){return re},toRefs:function(){return ie},triggerRef:function(){return Jt},unref:function(){return Qt},useAttrs:function(){return cn},useCssModule:function(){return Fn},useCssVars:function(){return Bn},useListeners:function(){return pn}
vendor: 5,574 bytes, line 1
1,useSlots:function(){return hn},version:function(){return ti},watch:function(){return be},watchEffect:function(){return me},watchPostEffect:function(){return ve},watchSyncEffect:function(){return ye}});var i=Object.freeze({}),r=Array.isArray;function o(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function l(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return"function"==typeof t}function h(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function p(t){return"[object Object]"===c.call(t)}function f(t){return"[object RegExp]"===c.call(t)}function d(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function g(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function m(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}y("slot,component",!0);var _=y("key,ref,slot,slot-scope,is");function x(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var b=Object.prototype.hasOwnProperty;function w(t,e){return b.call(t,e)}function S(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var M=/-(\w)/g,T=S((function(t){return t.replace(M,(function(t,e){return e?e.toUpperCase():""}))})),C=S((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,I=S((function(t){return t.replace(A,"-$1").toLowerCase()}));var D=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function k(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function P(t,e){for(var n in e)t[n]=e[n];return t}function L(t){for(var e={},n=0;n<t.length;n++)t[n]&&P(e,t[n]);return e}function O(t,e,n){}var E=function(t,e,n){return!1},R=function(t){return t};function N(t,e){if(t===e)return!0;var n=h(t),i=h(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return N(t[n],e[n])}))}catch(t){return!1}}function F(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function B(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function z(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var V="data-server-rendered",j=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],H={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:E,isReservedAttr:E,isUnknownElement:E,getTagNamespace:O,parsePlatformTagName:R,mustUseProp:E,async:!0,_lifecycleHooks:G},W=/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 Z(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function U(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var X=new RegExp("[^".concat(W.source,".$_\\d]"));var $="__proto__"in{},Y="undefined"!=typeof window,q=Y&&window.navigator.userAgent.toLowerCase(),K=q&&/msie|trident/.test(q),J=q&&q.indexOf("msie 9.0")>0,Q=q&&q.indexOf("edge/")>0;q&&q.indexOf("android");var tt=q&&/iphone|ipad|ipod|ios/.test(q);q&&/chrome\/\d+/.test(q),q&&/phantomjs/.test(q);var et,nt=q&&q.match(/firefox\/(\d+)/),it={}.watch,rt=!1;if(Y)try{var ot={};Object.defineProperty(ot,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,ot)}catch(t){}var at=function(){return void 0===et&&(et=!Y&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),et},st=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,ht="undefined"!=typeof Symbol&&lt(Symbol)&&"undefined"!=typeof Reflect&&lt(Reflect.ownKeys);ut="undefined"!=typeof Set&&lt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ct=null;function pt(){return ct&&{proxy:ct}}function ft(t){void 0===t&&(t=null),t||ct&&ct._scope.off(),ct=t,t&&t._scope.on()}var dt=function(){function t(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,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=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance}
vendor: 32,617 bytes, line 1
1,enumerable:!1,configurable:!0}),t}(),gt=function(t){void 0===t&&(t="");var e=new dt;return e.text=t,e.isComment=!0,e};function mt(t){return new dt(void 0,void 0,void 0,String(t))}function vt(t){var e=new dt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var yt=0,_t=[],xt=function(){for(var t=0;t<_t.length;t++){var e=_t[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}_t.length=0},bt=function(){function t(){this._pending=!1,this.id=yt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,_t.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,i=e.length;n<i;n++){0,e[n].update()}},t}();bt.target=null;var wt=[];function St(t){wt.push(t),bt.target=t}function Mt(){wt.pop(),bt.target=wt[wt.length-1]}var Tt=Array.prototype,Ct=Object.create(Tt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=Tt[t];U(Ct,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o}))}));var At=Object.getOwnPropertyNames(Ct),It={},Dt=!0;function kt(t){Dt=t}var Pt={notify:O,depend:O,addSub:O,removeSub:O},Lt=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Pt:new bt,this.vmCount=0,U(t,"__ob__",this),r(t)){if(!n)if($)t.__proto__=Ct;else for(var i=0,o=At.length;i<o;i++){U(t,s=At[i],Ct[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(i=0;i<a.length;i++){var s;Et(t,s=a[i],It,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ot(t[e],!1,this.mock)},t}();function Ot(t,e,n){return t&&w(t,"__ob__")&&t.__ob__ instanceof Lt?t.__ob__:!Dt||!n&&at()||!r(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||$t(t)||t instanceof dt?void 0:new Lt(t,e,n)}function Et(t,e,n,i,o,a){var s=new bt,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var u=l&&l.get,h=l&&l.set;u&&!h||n!==It&&2!==arguments.length||(n=t[e]);var c=!o&&Ot(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=u?u.call(t):n;return bt.target&&(s.depend(),c&&(c.dep.depend(),r(e)&&Ft(e))),$t(e)&&!o?e.value:e},set:function(e){var i=u?u.call(t):n;if(z(i,e)){if(h)h.call(t,e);else{if(u)return;if(!o&&$t(i)&&!$t(e))return void(i.value=e);n=e}c=!o&&Ot(e,!1,a),s.notify()}}}),s}}function Rt(t,e,n){if(!Ht(t)){var i=t.__ob__;return r(t)&&d(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&Ot(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(Et(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Nt(t,e){if(r(t)&&d(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Ht(t)||w(t,e)&&(delete t[e],n&&n.dep.notify())}}function Ft(t){for(var e=void 0,n=0,i=t.length;n<i;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Ft(e)}function Bt(t){return Vt(t,!1),t}function zt(t){return Vt(t,!0),U(t,"__v_isShallow",!0),t}function Vt(t,e){if(!Ht(t)){Ot(t,e,at());0}}function jt(t){return Ht(t)?jt(t.__v_raw):!(!t||!t.__ob__)}function Gt(t){return!(!t||!t.__v_isShallow)}function Ht(t){return!(!t||!t.__v_isReadonly)}function Wt(t){return jt(t)||Ht(t)}function Zt(t){var e=t&&t.__v_raw;return e?Zt(e):t}function Ut(t){return Object.isExtensible(t)&&U(t,"__v_skip",!0),t}var Xt="__v_isRef";function $t(t){return!(!t||!0!==t.__v_isRef)}function Yt(t){return Kt(t,!1)}function qt(t){return Kt(t,!0)}function Kt(t,e){if($t(t))return t;var n={};return U(n,Xt,!0),U(n,"__v_isShallow",e),U(n,"dep",Et(n,"value",t,null,e,at())),n}function Jt(t){t.dep&&t.dep.notify()}function Qt(t){return $t(t)?t.value:t}function te(t){if(jt(t))return t;for(var e={},n=Object.keys(t),i=0;i<n.length;i++)ee(e,t,n[i]);return e}function ee(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if($t(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];$t(i)&&!$t(t)?i.value=t:e[n]=t}})}function ne(t){var e=new bt,n=t((function(){e.depend()}),(function(){e.notify()})),i=n.get,r=n.set,o={get value(){return i()},set value(t){r(t)}};return U(o,Xt,!0),o}function ie(t){var e=r(t)?new Array(t.length):{};for(var n in t)e[n]=re(t,n);return e}function re(t,e,n){var i=t[e];if($t(i))return i;var r={get value(){var i=t[e];return void 0===i?n:i},set value(n){t[e]=n}};return U(r,Xt,!0),r}var oe="__v_rawToReadonly",ae="__v_rawToShallowReadonly";function se(t){return le(t,!1)}function le(t,e){if(!p(t))return t;if(Ht(t))return t;var n=e?ae:oe,i=t[n];if(i)return i;var r=Object.create(Object.getPrototypeOf(t));U(t,n,r),U(r,"__v_isReadonly",!0),U(r,"__v_raw",t),$t(t)&&U(r,Xt,!0),(e||Gt(t))&&U(r,"__v_isShallow",!0);for(var o=Object.keys(t),a=0;a<o.length;a++)ue(r,t,o[a],e);return r}function ue(t,e,n,i){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];return i||!p(t)?t:se(t)},set:function(){}})}function he(t){return le(t,!0)}function ce(t,e){var n,i,r=u(t);r?(n=t,i=O):(n=t.get,i=t.set);var o=at()?null:new si(ct,n,O,{lazy:!0});var a={effect:o,get value(){return o?(o.dirty&&o.evaluate(),bt.target&&o.depend(),o.value):n()},set value(t){i(t)}};return U(a,Xt,!0),U(a,"__v_isReadonly",r),a}var pe="watcher",fe="".concat(pe," callback"),de="".concat(pe," getter"),ge="".concat(pe," cleanup");function me(t,e){return we(t,null,e)}function ve(t,e){return we(t,null,{flush:"post"})}function ye(t,e){return we(t,null,{flush:"sync"})}var _e,xe={};function be(t,e,n){return we(t,e,n)}function we(t,e,n){var o=void 0===n?i:n,a=o.immediate,s=o.deep,l=o.flush,h=void 0===l?"pre":l;o.onTrack,o.onTrigger;var c,p,f=ct,d=function(t,e,n){return void 0===n&&(n=null),Mn(t,null,n,f,e)},g=!1,m=!1;if($t(t)?(c=function(){return t.value},g=Gt(t)):jt(t)?(c=function(){return t.__ob__.dep.depend(),t},s=!0):r(t)?(m=!0,g=t.some((function(t){return jt(t)||Gt(t)})),c=function(){return t.map((function(t){return $t(t)?t.value:jt(t)?ii(t):u(t)?d(t,de):void 0}))}):c=u(t)?e?function(){return d(t,de)}:function(){if(!f||!f._isDestroyed)return p&&p(),d(t,pe,[y])}:O,e&&s){var v=c;c=function(){return ii(v())}}var y=function(t){p=_.onStop=function(){d(t,ge)}};if(at())return y=O,e?a&&d(e,fe,[c(),m?[]:void 0,y]):c(),O;var _=new si(ct,c,O,{lazy:!0});_.noRecurse=!e;var x=m?[]:xe;return _.run=function(){if(_.active)if(e){var t=_.get();(s||g||(m?t.some((function(t,e){return z(t,x[e])})):z(t,x)))&&(p&&p(),d(e,fe,[t,x===xe?void 0:x,y]),x=t)}else _.get()},"sync"===h?_.update=_.run:"post"===h?(_.post=!0,_.update=function(){return Di(_)}):_.update=function(){if(f&&f===ct&&!f._isMounted){var t=f._preWatchers||(f._preWatchers=[]);t.indexOf(_)<0&&t.push(_)}else Di(_)},e?a?_.run():x=_.get():"post"===h&&f?f.$once("hook:mounted",(function(){return _.get()})):_.get(),function(){_.teardown()}}var Se=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=_e;try{return _e=this,t()}finally{_e=e}}else 0},t.prototype.on=function(){_e=this},t.prototype.off=function(){_e=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){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}},t}();function Me(t){return new Se(t)}function Te(){return _e}function Ce(t){_e&&_e.cleanups.push(t)}function Ae(t,e){ct&&(Ie(ct)[t]=e)}function Ie(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function De(t,e,n){void 0===n&&(n=!1);var i=ct;if(i){var r=i.$parent&&i.$parent._provided;if(r&&t in r)return r[t];if(arguments.length>1)return n&&u(e)?e.call(i):e}else 0}var ke=S((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,once:n,capture:i,passive:e}}));function Pe(t,e){function n(){var t=n.fns;if(!r(t))return Mn(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o<i.length;o++)Mn(i[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Le(t,e,n,i,r,a){var l,u,h,c;for(l in t)u=t[l],h=e[l],c=ke(l),o(u)||(o(h)?(o(u.fns)&&(u=t[l]=Pe(u,a)),s(c.once)&&(u=t[l]=r(c.name,u,c.capture)),n(c.name,u,c.capture,c.passive,c.params)):u!==h&&(h.fns=u,t[l]=h));for(l in e)o(t[l])&&i((c=ke(l)).name,e[l],c.capture)}function Oe(t,e,n){var i;t instanceof dt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function l(){n.apply(this,arguments),x(i.fns,l)}o(r)?i=Pe([l]):a(r.fns)&&s(r.merged)?(i=r).fns.push(l):i=Pe([r,l]),i.merged=!0,t[e]=i}function Ee(t,e,n,i,r){if(a(e)){if(w(e,n))return t[n]=e[n],r||delete e[n],!0;if(w(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function Re(t){return l(t)?[mt(t)]:r(t)?Fe(t):void 0}function Ne(t){return a(t)&&a(t.text)&&!1===t.isComment}function Fe(t,e){var n,i,u,h,c=[];for(n=0;n<t.length;n++)o(i=t[n])||"boolean"==typeof i||(h=c[u=c.length-1],r(i)?i.length>0&&(Ne((i=Fe(i,"".concat(e||"","_").concat(n)))[0])&&Ne(h)&&(c[u]=mt(h.text+i[0].text),i.shift()),c.push.apply(c,i)):l(i)?Ne(h)?c[u]=mt(h.text+i):""!==i&&c.push(mt(i)):Ne(i)&&Ne(h)?c[u]=mt(h.text+i.text):(s(t._isVList)&&a(i.tag)&&o(i.key)&&a(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),c.push(i)));return c}function Be(t,e){var n,i,o,s,l=null;if(r(t)||"string"==typeof t)for(l=new Array(t.length),n=0,i=t.length;n<i;n++)l[n]=e(t[n],n);else if("number"==typeof t)for(l=new Array(t),n=0;n<t;n++)l[n]=e(n+1,n);else if(h(t))if(ht&&t[Symbol.iterator]){l=[];for(var u=t[Symbol.iterator](),c=u.next();!c.done;)l.push(e(c.value,l.length)),c=u.next()}else for(o=Object.keys(t),l=new Array(o.length),n=0,i=o.length;n<i;n++)s=o[n],l[n]=e(t[s],s,n);return a(l)||(l=[]),l._isVList=!0,l}function ze(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=P(P({},i),n)),r=o(n)||(u(e)?e():e)):r=this.$slots[t]||(u(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function Ve(t){return Xi(this.$options,"filters",t,!0)||R}function je(t,e){return r(t)?-1===t.indexOf(e):t!==e}function Ge(t,e,n,i,r){var o=H.keyCodes[e]||n;return r&&i&&!H.keyCodes[e]?je(r,i):o?je(o,t):i?I(i)!==e:void 0===t}function He(t,e,n,i,o){if(n)if(h(n)){r(n)&&(n=L(n));var a=void 0,s=function(r){if("class"===r||"style"===r||_(r))a=t;else{var s=t.attrs&&t.attrs.type;a=i||H.mustUseProp(e,s,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=T(r),u=I(r);l in a||u in a||(a[r]=n[r],o&&((t.on||(t.on={}))["update:".concat(r)]=function(t){n[r]=t}))};for(var l in n)s(l)}else;return t}function We(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||Ue(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),i}function Ze(t,e,n){return Ue(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function Ue(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Xe(t[i],"".concat(e,"_").concat(i),n);else Xe(t,e,n)}function Xe(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function $e(t,e){if(e)if(p(e)){var n=t.on=t.on?P({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function Ye(t,e,n,i){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];r(a)?Ye(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return i&&(e.$key=i),e}function qe(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"==typeof i&&i&&(t[e[n]]=e[n+1])}return t}function Ke(t,e){return"string"==typeof t?e+t:t}function Je(t){t._o=Ze,t._n=v,t._s=m,t._l=Be,t._t=ze,t._q=N,t._i=F,t._m=We,t._f=Ve,t._k=Ge,t._b=He,t._v=mt,t._e=gt,t._u=Ye,t._g=$e,t._d=qe,t._p=Ke}function Qe(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!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(tn)&&delete n[u];return n}function tn(t){return t.isComment&&!t.asyncFactory||" "===t.text}function en(t){return t.isComment&&t.asyncFactory}function nn(t,e,n,r){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,l=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=rn(t,n,u,e[u]))}else o={};for(var h in n)h in o||(o[h]=on(n,h));return e&&Object.isExtensible(e)&&(e._normalized=o),U(o,"$stable",s),U(o,"$key",l),U(o,"$hasNormal",a),o}function rn(t,e,n,i){var o=function(){var e=ct;ft(t);var n=arguments.length?i.apply(null,arguments):i({}),o=(n=n&&"object"==typeof n&&!r(n)?[n]:Re(n))&&n[0];return ft(e),n&&(!o||1===n.length&&o.isComment&&!en(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function on(t,e){return function(){return t[e]}}function an(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};U(e,"_v_attr_proxy",!0),sn(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||sn(t._listenersProxy={},t.$listeners,i,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||un(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:D(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return ee(t,e,n)}))}}}function sn(t,e,n,i,r){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,ln(t,a,i,r));for(var a in t)a in e||(o=!0,delete t[a]);return o}function ln(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function un(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function hn(){return fn().slots}function cn(){return fn().attrs}function pn(){return fn().listeners}function fn(){var t=ct;return t._setupContext||(t._setupContext=an(t))}function dn(t,e){var n=r(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var i in e){var o=n[i];o?r(o)||u(o)?n[i]={type:o,default:e[i]}:o.default=e[i]:null===o&&(n[i]={default:e[i]})}return n}var gn=null;function mn(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),h(t)?e.extend(t):t}function vn(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||en(n)))return n}}var yn=1,_n=2;function xn(t,e,n,i,o,c){return(r(n)||l(n))&&(o=i,i=n,n=void 0),s(c)&&(o=_n),function(t,e,n,i,o){if(a(n)&&a(n.__ob__))return gt();a(n)&&a(n.is)&&(e=n.is);if(!e)return gt();0;r(i)&&u(i[0])&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);o===_n?i=Re(i):o===yn&&(i=function(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}(i));var s,l;if("string"==typeof e){var c=void 0;l=t.$vnode&&t.$vnode.ns||H.getTagNamespace(e),s=H.isReservedTag(e)?new dt(H.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!a(c=Xi(t.$options,"components",e))?new dt(e,n,i,void 0,void 0,t):Fi(c,n,t,i,e)}else s=Fi(e,n,t,i);return r(s)?s:a(s)?(a(l)&&bn(s,l),a(n)&&function(t){h(t.style)&&ii(t.style);h(t.class)&&ii(t.class)}(n),s):gt()}(t,e,n,i,o)}function bn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var i=0,r=t.children.length;i<r;i++){var l=t.children[i];a(l.tag)&&(o(l.ns)||s(n)&&"svg"!==l.tag)&&bn(l,e,n)}}function wn(t,e,n){return xn(ct,t,e,n,2,!0)}function Sn(t,e,n){St();try{if(e)for(var i=e;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,t,e,n))return}catch(t){Tn(t,i,"errorCaptured hook")}}Tn(t,e,n)}finally{Mt()}}function Mn(t,e,n,i,r){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&g(o)&&!o._handled&&(o.catch((function(t){return Sn(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(t){Sn(t,i,r)}return o}function Tn(t,e,n){if(H.errorHandler)try{return H.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Cn(e,null,"config.errorHandler")}Cn(t,e,n)}function Cn(t,e,n){if(!Y||"undefined"==typeof console)throw t}var An,In=!1,Dn=[],kn=!1;function Pn(){kn=!1;var t=Dn.slice(0);Dn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&lt(Promise)){var Ln=Promise.resolve();An=function(){Ln.then(Pn),tt&&setTimeout(O)},In=!0}else if(K||"undefined"==typeof MutationObserver||!lt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())An="undefined"!=typeof setImmediate&&lt(setImmediate)?function(){setImmediate(Pn)}:function(){setTimeout(Pn,0)};else{var On=1,En=new MutationObserver(Pn),Rn=document.createTextNode(String(On));En.observe(Rn,{characterData:!0}),An=function(){On=(On+1)%2,Rn.data=String(On)},In=!0}function Nn(t,e){var n;if(Dn.push((function(){if(t)try{t.call(e)}catch(t){Sn(t,e,"nextTick")}else n&&n(e)})),kn||(kn=!0,An()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function Fn(t){if(void 0===t&&(t="$style"),!ct)return i;var e=ct[t];return e||i}function Bn(t){if(Y){var e=ct;e&&ve((function(){var n=e.$el,i=t(e,e._setupProxy);if(n&&1===n.nodeType){var r=n.style;for(var o in i)r.setProperty("--".concat(o),i[o])}}))}}function zn(t){u(t)&&(t={loader:t});var e=t.loader,n=t.loadingComponent,i=t.errorComponent,r=t.delay,o=void 0===r?200:r,a=t.timeout,s=(t.suspensible,t.onError);var l=null,h=0,c=function(){var t;return l||(t=l=e().catch((function(t){if(t=t instanceof Error?t:new Error(String(t)),s)return new Promise((function(e,n){s(t,(function(){return e((h++,l=null,c()))}),(function(){return n(t)}),h+1)}));throw t})).then((function(e){return t!==l&&l?l:(e&&(e.__esModule||"Module"===e[Symbol.toStringTag])&&(e=e.default),e)})))};return function(){return{component:c(),delay:o,timeout:a,error:i,loading:n}}}function Vn(t){return function(e,n){if(void 0===n&&(n=ct),n)return function(t,e,n){var i=t.$options;i[e]=Hi(i[e],n)}(n,t,e)}}var jn=Vn("beforeMount"),Gn=Vn("mounted"),Hn=Vn("beforeUpdate"),Wn=Vn("updated"),Zn=Vn("beforeDestroy"),Un=Vn("destroyed"),Xn=Vn("activated"),$n=Vn("deactivated"),Yn=Vn("serverPrefetch"),qn=Vn("renderTracked"),Kn=Vn("renderTriggered"),Jn=Vn("errorCaptured");function Qn(t,e){void 0===e&&(e=ct),Jn(t,e)}var ti="2.7.14";function ei(t){return t}var ni=new ut;function ii(t){return ri(t,ni),ni.clear(),t}function ri(t,e){var n,i,o=r(t);if(!(!o&&!h(t)||t.__v_skip||Object.isFrozen(t)||t instanceof dt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)ri(t[n],e);else if($t(t))ri(t.value,e);else for(n=(i=Object.keys(t)).length;n--;)ri(t[i[n]],e)}}var oi,ai=0,si=function(){function t(t,e,n,i,r){var o,a;o=this,void 0===(a=_e&&!_e._vm?_e:t?t._scope:void 0)&&(a=_e),a&&a.active&&a.effects.push(o),(this.vm=t)&&r&&(t._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=++ai,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",u(e)?this.getter=e:(this.getter=function(t){if(!X.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=O)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;St(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Sn(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&ii(t),Mt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.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},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Di(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||h(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');Mn(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&x(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}();function li(t,e){oi.$on(t,e)}function ui(t,e){oi.$off(t,e)}function hi(t,e){var n=oi;return function i(){null!==e.apply(null,arguments)&&n.$off(t,i)}}function ci(t,e,n){oi=t,Le(e,n||{},li,ui,hi,t),oi=void 0}var pi=null;function fi(t){var e=pi;return pi=t,function(){pi=e}}function di(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function gi(t,e){if(e){if(t._directInactive=!1,di(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)gi(t.$children[n]);vi(t,"activated")}}function mi(t,e){if(!(e&&(t._directInactive=!0,di(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)mi(t.$children[n]);vi(t,"deactivated")}}function vi(t,e,n,i){void 0===i&&(i=!0),St();var r=ct;i&&ft(t);var o=t.$options[e],a="".concat(e," hook");if(o)for(var s=0,l=o.length;s<l;s++)Mn(o[s],t,n||null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),i&&ft(r),Mt()}var yi=[],_i=[],xi={},bi=!1,wi=!1,Si=0;var Mi=0,Ti=Date.now;if(Y&&!K){var Ci=window.performance;Ci&&"function"==typeof Ci.now&&Ti()>document.createEvent("Event").timeStamp&&(Ti=function(){return Ci.now()})}var Ai=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Ii(){var t,e;for(Mi=Ti(),wi=!0,yi.sort(Ai),Si=0;Si<yi.length;Si++)(t=yi[Si]).before&&t.before(),e=t.id,xi[e]=null,t.run();var n=_i.slice(),i=yi.slice();Si=yi.length=_i.length=0,xi={},bi=wi=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,gi(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&vi(i,"updated")}}(i),xt(),st&&H.devtools&&st.emit("flush")}function Di(t){var e=t.id;if(null==xi[e]&&(t!==bt.target||!t.noRecurse)){if(xi[e]=!0,wi){for(var n=yi.length-1;n>Si&&yi[n].id>t.id;)n--;yi.splice(n+1,0,t)}else yi.push(t);bi||(bi=!0,Nn(Ii))}}function ki(t,e){if(t){for(var n=Object.create(null),i=ht?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=u(s)?s.call(e):s}else 0}}return n}}function Pi(t,e,n,o,a){var l,u=this,h=a.options;w(o,"_uid")?(l=Object.create(o))._original=o:(l=o,o=o._original);var c=s(h._compiled),p=!c;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||i,this.injections=ki(h.inject,o),this.slots=function(){return u.$slots||nn(o,t.scopedSlots,u.$slots=Qe(n,o)),u.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return nn(o,t.scopedSlots,this.slots())}}),c&&(this.$options=h,this.$slots=this.slots(),this.$scopedSlots=nn(o,t.scopedSlots,this.$slots)),h._scopeId?this._c=function(t,e,n,i){var a=xn(l,t,e,n,i,p);return a&&!r(a)&&(a.fnScopeId=h._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,i){return xn(l,t,e,n,i,p)}}function Li(t,e,n,i,r){var o=vt(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Oi(t,e){for(var n in e)t[T(n)]=e[n]}function Ei(t){return t.name||t.__name||t._componentTag}Je(Pi.prototype);var Ri={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Ri.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,pi)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,l=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),u=!!(o||t.$options._renderChildren||l),h=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var c=r.data.attrs||i;t._attrsProxy&&sn(t._attrsProxy,c,h.data&&h.data.attrs||i,t,"$attrs")&&(u=!0),t.$attrs=c,n=n||i;var p=t.$options._parentListeners;if(t._listenersProxy&&sn(t._listenersProxy,n,p||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,ci(t,n,p),e&&t.$options.props){kt(!1);for(var f=t._props,d=t.$options._propKeys||[],g=0;g<d.length;g++){var m=d[g],v=t.$options.props;f[m]=$i(m,v,e,t)}kt(!0),t.$options.propsData=e}u&&(t.$slots=Qe(o,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,vi(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,_i.push(e)):gi(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?mi(e,!0):e.$destroy())}},Ni=Object.keys(Ri);function Fi(t,e,n,l,u){if(!o(t)){var c=n.$options._base;if(h(t)&&(t=c.extend(t)),"function"==typeof t){var p;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=gn;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],r=!0,l=null,u=null;n.$on("hook:destroyed",(function(){return x(i,n)}));var c=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==l&&(clearTimeout(l),l=null),null!==u&&(clearTimeout(u),u=null))},p=B((function(n){t.resolved=mn(n,e),r?i.length=0:c(!0)})),f=B((function(e){a(t.errorComp)&&(t.error=!0,c(!0))})),d=t(p,f);return h(d)&&(g(d)?o(t.resolved)&&d.then(p,f):g(d.component)&&(d.component.then(p,f),a(d.error)&&(t.errorComp=mn(d.error,e)),a(d.loading)&&(t.loadingComp=mn(d.loading,e),0===d.delay?t.loading=!0:l=setTimeout((function(){l=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,c(!1))}),d.delay||200)),a(d.timeout)&&(u=setTimeout((function(){u=null,o(t.resolved)&&f(null)}),d.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}(p=t,c),void 0===t))return function(t,e,n,i,r){var o=gt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}(p,e,n,l,u);e=e||{},lr(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[i],l=e.model.callback;a(s)?(r(s)?-1===s.indexOf(l):s!==l)&&(o[i]=[l].concat(s)):o[i]=l}(t.options,e);var f=function(t,e,n){var i=e.options.props;if(!o(i)){var r={},s=t.attrs,l=t.props;if(a(s)||a(l))for(var u in i){var h=I(u);Ee(r,l,u,h,!0)||Ee(r,s,u,h,!1)}return r}}(e,t);if(s(t.options.functional))return function(t,e,n,o,s){var l=t.options,u={},h=l.props;if(a(h))for(var c in h)u[c]=$i(c,h,e||i);else a(n.attrs)&&Oi(u,n.attrs),a(n.props)&&Oi(u,n.props);var p=new Pi(n,u,s,o,t),f=l.render.call(null,p._c,p);if(f instanceof dt)return Li(f,n,p.parent,l);if(r(f)){for(var d=Re(f)||[],g=new Array(d.length),m=0;m<d.length;m++)g[m]=Li(d[m],n,p.parent,l);return g}}(t,f,e,n,l);var d=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var m=e.slot;e={},m&&(e.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ni.length;n++){var i=Ni[n],r=e[i],o=Ri[i];r===o||r&&r._merged||(e[i]=r?Bi(o,r):o)}}(e);var v=Ei(t.options)||u;return new dt("vue-component-".concat(t.cid).concat(v?"-".concat(v):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:d,tag:u,children:l},p)}}}function Bi(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}var zi=O,Vi=H.optionMergeStrategies;function ji(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var i,r,o,a=ht?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(i=a[s])&&(r=t[i],o=e[i],n&&w(t,i)?r!==o&&p(r)&&p(o)&&ji(r,o):Rt(t,i,o));return t}function Gi(t,e,n){return n?function(){var i=u(e)?e.call(n,n):e,r=u(t)?t.call(n,n):t;return i?ji(i,r):r}:e?t?function(){return ji(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:e:t}function Hi(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Wi(t,e,n,i){var r=Object.create(t||null);return e?P(r,e):r}Vi.data=function(t,e,n){return n?Gi(t,e,n):e&&"function"!=typeof e?t:Gi(t,e)},G.forEach((function(t){Vi[t]=Hi})),j.forEach((function(t){Vi[t+"s"]=Wi})),Vi.watch=function(t,e,n,i){if(t===it&&(t=void 0),e===it&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in P(o,t),e){var s=o[a],l=e[a];s&&!r(s)&&(s=[s]),o[a]=s?s.concat(l):r(l)?l:[l]}return o},Vi.props=Vi.methods=Vi.inject=Vi.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return P(r,t),e&&P(r,e),r},Vi.provide=function(t,e){return t?function(){var n=Object.create(null);return ji(n,u(t)?t.call(this):t),e&&ji(n,u(e)?e.call(this):e,!1),n}:e};var Zi=function(t,e){return void 0===e?t:e};function Ui(t,e,n){if(u(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var i,o,a={};if(r(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(a[T(o)]={type:null});else if(p(n))for(var s in n)o=n[s],a[T(s)]=p(o)?o:{type:o};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(p(n))for(var a in n){var s=n[a];i[a]=p(s)?P({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];u(i)&&(e[n]={bind:i,update:i})}}(e),!e._base&&(e.extends&&(t=Ui(t,e.extends,n)),e.mixins))for(var i=0,o=e.mixins.length;i<o;i++)t=Ui(t,e.mixins[i],n);var a,s={};for(a in t)l(a);for(a in e)w(t,a)||l(a);function l(i){var r=Vi[i]||Zi;s[i]=r(t[i],e[i],n,i)}return s}function Xi(t,e,n,i){if("string"==typeof n){var r=t[e];if(w(r,n))return r[n];var o=T(n);if(w(r,o))return r[o];var a=C(o);return w(r,a)?r[a]:r[n]||r[o]||r[a]}}function $i(t,e,n,i){var r=e[t],o=!w(n,t),a=n[t],s=Ji(Boolean,r.type);if(s>-1)if(o&&!w(r,"default"))a=!1;else if(""===a||a===I(t)){var l=Ji(String,r.type);(l<0||s<l)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!w(e,"default"))return;var i=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return u(i)&&"Function"!==qi(e.type)?i.call(t):i}(i,r,t);var h=Dt;kt(!0),Ot(a),kt(h)}return a}var Yi=/^\s*function (\w+)/;function qi(t){var e=t&&t.toString().match(Yi);return e?e[1]:""}function Ki(t,e){return qi(t)===qi(e)}function Ji(t,e){if(!r(e))return Ki(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(Ki(e[n],t))return n;return-1}var Qi={enumerable:!0,configurable:!0,get:O,set:O};function tr(t,e,n){Qi.get=function(){return this[e][n]},Qi.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Qi)}function er(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props=zt({}),r=t.$options._propKeys=[],o=!t.$parent;o||kt(!1);var a=function(o){r.push(o);var a=$i(o,e,n,t);Et(i,o,a),o in t||tr(t,"_props",o)};for(var s in e)a(s);kt(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=an(t);ft(t),St();var r=Mn(n,null,[t._props||zt({}),i],t,"setup");if(Mt(),ft(),u(r))e.render=r;else if(h(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var a in r)"__sfc"!==a&&ee(o,r,a)}else for(var a in r)Z(a)||ee(t,r,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?O:D(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=u(e)?function(t,e){St();try{return t.call(e,e)}catch(t){return Sn(t,e,"data()"),{}}
vendor: 5,558 bytes, line 1
1finally{Mt()}}(e,t):e||{},p(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&w(i,o)||Z(o)||tr(t,"_data",o)}var a=Ot(e);a&&a.vmCount++}(t);else{var n=Ot(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=at();for(var r in e){var o=e[r],a=u(o)?o:o.get;0,i||(n[r]=new si(t,a||O,O,nr)),r in t||ir(t,r,o)}}(t,e.computed),e.watch&&e.watch!==it&&function(t,e){for(var n in e){var i=e[n];if(r(i))for(var o=0;o<i.length;o++)ar(t,n,i[o]);else ar(t,n,i)}}(t,e.watch)}var nr={lazy:!0};function ir(t,e,n){var i=!at();u(n)?(Qi.get=i?rr(e):or(n),Qi.set=O):(Qi.get=n.get?i&&!1!==n.cache?rr(e):or(n.get):O,Qi.set=n.set||O),Object.defineProperty(t,e,Qi)}function rr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),bt.target&&e.depend(),e.value}}function or(t){return function(){return t.call(this,this)}}function ar(t,e,n,i){return p(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}var sr=0;function lr(t){var e=t.options;if(t.super){var n=lr(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&P(t.extendOptions,i),(e=t.options=Ui(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function ur(t){this._init(t)}function hr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=Ei(t)||Ei(n.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Ui(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)tr(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)ir(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,j.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),r[i]=a,a}}function cr(t){return t&&(Ei(t.Ctor.options)||t.tag)}function pr(t,e){return r(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function fr(t,e){var n=t.cache,i=t.keys,r=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!e(s)&&dr(n,o,i,r)}}}function dr(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,x(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=sr++,e._isVue=!0,e.__v_skip=!0,e._scope=new Se(!0),e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Ui(lr(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ci(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Qe(e._renderChildren,r),t.$scopedSlots=n?nn(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return xn(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return xn(t,e,n,i,r,!0)};var o=n&&n.data;Et(t,"$attrs",o&&o.attrs||i,null,!0),Et(t,"$listeners",e._parentListeners||i,null,!0)}(e),vi(e,"beforeCreate",void 0,!1),function(t){var e=ki(t.$options.inject,t);e&&(kt(!1),Object.keys(e).forEach((function(n){Et(t,n,e[n])})),kt(!0))}(e),er(e),function(t){var e=t.$options.provide;if(e){var n=u(e)?e.call(t):e;if(!h(n))return;for(var i=Ie(t),r=ht?Reflect.ownKeys(n):Object.keys(n),o=0;o<r.length;o++){var a=r[o];Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(n,a))}}}(e),vi(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ur),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Rt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var i=this;if(p(e))return ar(i,t,e,n);(n=n||{}).user=!0;var r=new si(i,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');St(),Mn(e,i,[r.value],i,o),Mt()}return function(){r.teardown()}}}(ur),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var o=0,a=t.length;o<a;o++)i.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var l=s.length;l--;)if((a=s[l])===e||a.fn===e){s.splice(l,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?k(n):n;
vendor: 19,514 bytes, line 1
1for(var i=k(arguments,1),r='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)Mn(n[o],e,i,e,r)}return e}}(ur),function(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=fi(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){vi(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||x(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),vi(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(ur),function(t){Je(t.prototype),t.prototype.$nextTick=function(t){return Nn(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,o=n._parentVnode;o&&e._isMounted&&(e.$scopedSlots=nn(e.$parent,o.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&un(e._slotsProxy,e.$scopedSlots)),e.$vnode=o;try{ft(e),gn=e,t=i.call(e._renderProxy,e.$createElement)}catch(n){Sn(n,e,"render"),t=e._vnode}finally{gn=null,ft()}return r(t)&&1===t.length&&(t=t[0]),t instanceof dt||(t=gt()),t.parent=o,t}}(ur);var gr=[String,RegExp,Array],mr={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:gr,exclude:gr,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;e[r]={name:cr(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&dr(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)dr(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){fr(t,(function(t){return pr(e,t)}))})),this.$watch("exclude",(function(e){fr(t,(function(t){return!pr(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=vn(t),n=e&&e.componentOptions;if(n){var i=cr(n),r=this.include,o=this.exclude;if(r&&(!i||!pr(r,i))||o&&i&&pr(o,i))return e;var a=this.cache,s=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[l]?(e.componentInstance=a[l].componentInstance,x(s,l),s.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return H}};Object.defineProperty(t,"config",e),t.util={warn:zi,extend:P,mergeOptions:Ui,defineReactive:Et},t.set=Rt,t.delete=Nt,t.nextTick=Nn,t.observable=function(t){return Ot(t),t},t.options=Object.create(null),j.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,P(t.options.components,mr),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=k(arguments,1);return n.unshift(this),u(t.install)?t.install.apply(t,n):u(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Ui(this.options,t),this}}(t),hr(t),function(t){j.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&u(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(ur),Object.defineProperty(ur.prototype,"$isServer",{get:at}),Object.defineProperty(ur.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ur,"FunctionalRenderContext",{value:Pi}),ur.version=ti;var vr=y("style,class"),yr=y("input,textarea,option,select,progress"),_r=y("contenteditable,draggable,spellcheck"),xr=y("events,caret,typing,plaintext-only"),br=function(t,e){return Cr(e)||"false"===e?"false":"contenteditable"===t&&xr(e)?e:"true"},wr=y("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"),Sr="http://www.w3.org/1999/xlink",Mr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Tr=function(t){return Mr(t)?t.slice(6,t.length):""},Cr=function(t){return null==t||!1===t};function Ar(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Ir(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Ir(e,n.data));return function(t,e){if(a(t)||a(e))return Dr(t,kr(e));return""}(e.staticClass,e.class)}function Ir(t,e){return{staticClass:Dr(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Dr(t,e){return t?e?t+" "+e:t:e||""}function kr(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i<r;i++)a(e=kr(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):h(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Pr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Lr=y("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"),Or=y("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),Er=function(t){return Lr(t)||Or(t)};var Rr=Object.create(null);var Nr=y("text,number,password,search,email,tel,url");var Fr=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Pr[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Br={create:function(t,e){zr(e)},update:function(t,e){t.data.ref!==e.data.ref&&(zr(t,!0),zr(e))},destroy:function(t){zr(t,!0)}};function zr(t,e){var n=t.data.ref;if(a(n)){var i=t.context,o=t.componentInstance||t.elm,s=e?null:o,l=e?void 0:o;if(u(n))Mn(n,i,[s],i,"template ref function");else{var h=t.data.refInFor,c="string"==typeof n||"number"==typeof n,p=$t(n),f=i.$refs;if(c||p)if(h){var d=c?f[n]:n.value;e?r(d)&&x(d,o):r(d)?d.includes(o)||d.push(o):c?(f[n]=[o],Vr(i,n,f[n])):n.value=[o]}else if(c){if(e&&f[n]!==o)return;f[n]=l,Vr(i,n,s)}else if(p){if(e&&n.value!==o)return;n.value=s}else 0}}}function Vr(t,e,n){var i=t._setupState;i&&w(i,e)&&($t(i[e])?i[e].value=n:i[e]=n)}var jr=new dt("",{},[]),Gr=["create","activate","update","remove","destroy"];function Hr(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,r=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===r||Nr(i)&&Nr(r)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function Wr(t,e,n){var i,r,o={};for(i=e;i<=n;++i)a(r=t[i].key)&&(o[r]=i);return o}var Zr={create:Ur,update:Ur,destroy:function(t){Ur(t,jr)}};function Ur(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===jr,a=e===jr,s=$r(t.data.directives,t.context),l=$r(e.data.directives,e.context),u=[],h=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,r.oldArg=i.arg,qr(r,"update",e,t),r.def&&r.def.componentUpdated&&h.push(r)):(qr(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var c=function(){for(var n=0;n<u.length;n++)qr(u[n],"inserted",e,t)};o?Oe(e,"insert",c):c()}h.length&&Oe(e,"postpatch",(function(){for(var n=0;n<h.length;n++)qr(h[n],"componentUpdated",e,t)}));if(!o)for(n in s)l[n]||qr(s[n],"unbind",t,t,a)}(t,e)}var Xr=Object.create(null);function $r(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++){if((i=t[n]).modifiers||(i.modifiers=Xr),r[Yr(i)]=i,e._setupState&&e._setupState.__sfc){var o=i.def||Xi(e,"_setupState","v-"+i.name);i.def="function"==typeof o?{bind:o,update:o}:o}i.def=i.def||Xi(e.$options,"directives",i.name)}return r}function Yr(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function qr(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(i){Sn(i,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Kr=[Br,Zr];function Jr(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var i,r,l=e.elm,u=t.data.attrs||{},h=e.data.attrs||{};for(i in(a(h.__ob__)||s(h._v_attr_proxy))&&(h=e.data.attrs=P({},h)),h)r=h[i],u[i]!==r&&Qr(l,i,r,e.data.pre);for(i in(K||Q)&&h.value!==u.value&&Qr(l,"value",h.value),u)o(h[i])&&(Mr(i)?l.removeAttributeNS(Sr,Tr(i)):_r(i)||l.removeAttribute(i))}}function Qr(t,e,n,i){i||t.tagName.indexOf("-")>-1?to(t,e,n):wr(e)?Cr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):_r(e)?t.setAttribute(e,br(e,n)):Mr(e)?Cr(n)?t.removeAttributeNS(Sr,Tr(e)):t.setAttributeNS(Sr,e,n):to(t,e,n)}function to(t,e,n){if(Cr(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var eo={create:Jr,update:Jr};function no(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=Ar(e),l=n._transitionClasses;a(l)&&(s=Dr(s,kr(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var io,ro={create:no,update:no},oo="__r",ao="__c";function so(t,e,n){var i=io;return function r(){null!==e.apply(null,arguments)&&ho(t,r,n,i)}}var lo=In&&!(nt&&Number(nt[1])<=53);function uo(t,e,n,i){if(lo){var r=Mi,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}io.addEventListener(t,e,rt?{capture:n,passive:i}:n)}function ho(t,e,n,i){(i||io).removeEventListener(t,e._wrapper||e,n)}function co(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};io=e.elm||t.elm,function(t){if(a(t[oo])){var e=K?"change":"input";t[e]=[].concat(t[oo],t[e]||[]),delete t[oo]}a(t[ao])&&(t.change=[].concat(t[ao],t.change||[]),delete t[ao])}(n),Le(n,i,uo,ho,so,e.context),io=void 0}}var po,fo={create:co,update:co,destroy:function(t){return co(t,jr)}};function go(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,l=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=P({},u)),l)n in u||(r[n]="");for(n in u){if(i=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.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 h=o(i)?"":String(i);mo(r,h)&&(r.value=h)}else if("innerHTML"===n&&Or(r.tagName)&&o(r.innerHTML)){(po=po||document.createElement("div")).innerHTML="<svg>".concat(i,"</svg>");for(var c=po.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;c.firstChild;)r.appendChild(c.firstChild)}else if(i!==l[n])try{r[n]=i}catch(t){}}}}function mo(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return v(n)!==v(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var vo={create:go,update:go},yo=S((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function _o(t){var e=xo(t.style);return t.staticStyle?P(t.staticStyle,e):e}function xo(t){return Array.isArray(t)?L(t):"string"==typeof t?yo(t):t}var bo,wo=/^--/,So=/\s*!important$/,Mo=function(t,e,n){if(wo.test(e))t.style.setProperty(e,n);else if(So.test(n))t.style.setProperty(I(e),n.replace(So,""),"important");else{var i=Co(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},To=["Webkit","Moz","ms"],Co=S((function(t){if(bo=bo||document.createElement("div").style,"filter"!==(t=T(t))&&t in bo)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<To.length;n++){var i=To[n]+e;if(i in bo)return i}}));function Ao(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var r,s,l=e.elm,u=i.staticStyle,h=i.normalizedStyle||i.style||{},c=u||h,p=xo(e.data.style)||{};e.data.normalizedStyle=a(p.__ob__)?P({},p):p;var f=function(t,e){var n,i={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=_o(r.data))&&P(i,n);(n=_o(t.data))&&P(i,n);for(var o=t;o=o.parent;)o.data&&(n=_o(o.data))&&P(i,n);return i}(e,!0);for(s in c)o(f[s])&&Mo(l,s,"");for(s in f)(r=f[s])!==c[s]&&Mo(l,s,null==r?"":r)}}var Io={create:Ao,update:Ao},Do=/\s+/;function ko(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Do).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Po(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Do).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Lo(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&P(e,Oo(t.name||"v")),P(e,t),e}return"string"==typeof t?Oo(t):void 0}}var Oo=S((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Eo=Y&&!J,Ro="transition",No="animation",Fo="transition",Bo="transitionend",zo="animation",Vo="animationend";Eo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fo="WebkitTransition",Bo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(zo="WebkitAnimation",Vo="webkitAnimationEnd"));var jo=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Go(t){jo((function(){jo(t)}))}function Ho(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ko(t,e))}function Wo(t,e){t._transitionClasses&&x(t._transitionClasses,e),Po(t,e)}function Zo(t,e,n){var i=Xo(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Ro?Bo:Vo,l=0,u=function(){t.removeEventListener(s,h),n()},h=function(e){e.target===t&&++l>=a&&u()};setTimeout((function(){l<a&&u()}),o+1),t.addEventListener(s,h)}var Uo=/\b(transform|all)(,|$)/;function Xo(t,e){var n,i=window.getComputedStyle(t),r=(i[Fo+"Delay"]||"").split(", "),o=(i[Fo+"Duration"]||"").split(", "),a=$o(r,o),s=(i[zo+"Delay"]||"").split(", "),l=(i[zo+"Duration"]||"").split(", "),u=$o(s,l),h=0,c=0;return e===Ro?a>0&&(n=Ro,h=a,c=o.length):e===No?u>0&&(n=No,h=u,c=l.length):c=(n=(h=Math.max(a,u))>0?a>u?Ro:No:null)?n===Ro?o.length:l.length:0,{type:n,timeout:h,propCount:c,hasTransform:n===Ro&&Uo.test(i[Fo+"Property"])}}function $o(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Yo(e)+Yo(t[n])})))}function Yo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function qo(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=Lo(t.data.transition);if(!o(i)&&!a(n._enterCb)&&1===n.nodeType){for(var r=i.css,s=i.type,l=i.enterClass,c=i.enterToClass,p=i.enterActiveClass,f=i.appearClass,d=i.appearToClass,g=i.appearActiveClass,m=i.beforeEnter,y=i.enter,_=i.afterEnter,x=i.enterCancelled,b=i.beforeAppear,w=i.appear,S=i.afterAppear,M=i.appearCancelled,T=i.duration,C=pi,A=pi.$vnode;A&&A.parent;)C=A.context,A=A.parent;var I=!C._isMounted||!t.isRootInsert;if(!I||w||""===w){var D=I&&f?f:l,k=I&&g?g:p,P=I&&d?d:c,L=I&&b||m,O=I&&u(w)?w:y,E=I&&S||_,R=I&&M||x,N=v(h(T)?T.enter:T);0;var F=!1!==r&&!J,z=Qo(O),V=n._enterCb=B((function(){F&&(Wo(n,P),Wo(n,k)),V.cancelled?(F&&Wo(n,D),R&&R(n)):E&&E(n),n._enterCb=null}));t.data.show||Oe(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),O&&O(n,V)})),L&&L(n),F&&(Ho(n,D),Ho(n,k),Go((function(){Wo(n,D),V.cancelled||(Ho(n,P),z||(Jo(N)?setTimeout(V,N):Zo(n,s,V)))}))),t.data.show&&(e&&e(),O&&O(n,V)),F||z||V()}}}function Ko(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=Lo(t.data.transition);if(o(i)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var r=i.css,s=i.type,l=i.leaveClass,u=i.leaveToClass,c=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,d=i.afterLeave,g=i.leaveCancelled,m=i.delayLeave,y=i.duration,_=!1!==r&&!J,x=Qo(f),b=v(h(y)?y.leave:y);0;var w=n._leaveCb=B((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Wo(n,u),Wo(n,c)),w.cancelled?(_&&Wo(n,l),g&&g(n)):(e(),d&&d(n)),n._leaveCb=null}));m?m(S):S()}function S(){w.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),p&&p(n),_&&(Ho(n,l),Ho(n,c),Go((function(){Wo(n,l),w.cancelled||(Ho(n,u),x||(Jo(b)?setTimeout(w,b):Zo(n,s,w)))}))),f&&f(n,w),_||x||w())}}function Jo(t){return"number"==typeof t&&!isNaN(t)}function Qo(t){if(o(t))return!1;var e=t.fns;return a(e)?Qo(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ta(t,e){!0!==e.data.show&&qo(e)}var ea=function(t){var e,n,i={},u=t.modules,h=t.nodeOps;for(e=0;e<Gr.length;++e)for(i[Gr[e]]=[],n=0;n<u.length;++n)a(u[n][Gr[e]])&&i[Gr[e]].push(u[n][Gr[e]]);function c(t){var e=h.parentNode(t);a(e)&&h.removeChild(e,t)}function p(t,e,n,r,o,l,u){if(a(t.elm)&&a(l)&&(t=l[u]=vt(t)),t.isRootInsert=!o,!function(t,e,n,r){var o=t.data;if(a(o)){var l=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return f(t,e),d(n,t.elm,r),s(l)&&function(t,e,n,r){var o,s=t;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<i.activate.length;
vendor: 4,830 bytes, line 1
1++o)i.activate[o](jr,s);e.push(s);break}d(n,t.elm,r)}(t,e,n,r),!0}}(t,e,n,r)){var c=t.data,p=t.children,m=t.tag;a(m)?(t.elm=t.ns?h.createElementNS(t.ns,m):h.createElement(m,t),_(t),g(t,p,e),a(c)&&v(t,e),d(n,t.elm,r)):s(t.isComment)?(t.elm=h.createComment(t.text),d(n,t.elm,r)):(t.elm=h.createTextNode(t.text),d(n,t.elm,r))}}function f(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(v(t,e),_(t)):(zr(t),e.push(t))}function d(t,e,n){a(t)&&(a(n)?h.parentNode(n)===t&&h.insertBefore(t,e,n):h.appendChild(t,e))}function g(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)p(e[i],n,t.elm,null,!0,e,i)}else l(t.text)&&h.appendChild(t.elm,h.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function v(t,n){for(var r=0;r<i.create.length;++r)i.create[r](jr,t);a(e=t.data.hook)&&(a(e.create)&&e.create(jr,t),a(e.insert)&&n.push(t))}function _(t){var e;if(a(e=t.fnScopeId))h.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&h.setStyleScope(t.elm,e),n=n.parent;a(e=pi)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&h.setStyleScope(t.elm,e)}function x(t,e,n,i,r,o){for(;i<=r;++i)p(n[i],o,t,e,!1,n,i)}function b(t){var e,n,r=t.data;if(a(r))for(a(e=r.hook)&&a(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function w(t,e,n){for(;e<=n;++e){var i=t[e];a(i)&&(a(i.tag)?(S(i),b(i)):c(i.elm))}}function S(t,e){if(a(e)||a(t.data)){var n,r=i.remove.length+1;for(a(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&c(t)}return n.listeners=e,n}(t.elm,r),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&S(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else c(t.elm)}function M(t,e,n,i){for(var r=n;r<i;r++){var o=e[r];if(a(o)&&Hr(t,o))return r}}function T(t,e,n,r,l,u){if(t!==e){a(e.elm)&&a(r)&&(e=r[l]=vt(e));var c=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?I(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,d=e.data;a(d)&&a(f=d.hook)&&a(f=f.prepatch)&&f(t,e);var g=t.children,v=e.children;if(a(d)&&m(e)){for(f=0;f<i.update.length;++f)i.update[f](t,e);a(f=d.hook)&&a(f=f.update)&&f(t,e)}o(e.text)?a(g)&&a(v)?g!==v&&function(t,e,n,i,r){var s,l,u,c=0,f=0,d=e.length-1,g=e[0],m=e[d],v=n.length-1,y=n[0],_=n[v],b=!r;for(;c<=d&&f<=v;)o(g)?g=e[++c]:o(m)?m=e[--d]:Hr(g,y)?(T(g,y,i,n,f),g=e[++c],y=n[++f]):Hr(m,_)?(T(m,_,i,n,v),m=e[--d],_=n[--v]):Hr(g,_)?(T(g,_,i,n,v),b&&h.insertBefore(t,g.elm,h.nextSibling(m.elm)),g=e[++c],_=n[--v]):Hr(m,y)?(T(m,y,i,n,f),b&&h.insertBefore(t,m.elm,g.elm),m=e[--d],y=n[++f]):(o(s)&&(s=Wr(e,c,d)),o(l=a(y.key)?s[y.key]:M(y,e,c,d))?p(y,i,t,g.elm,!1,n,f):Hr(u=e[l],y)?(T(u,y,i,n,f),e[l]=void 0,b&&h.insertBefore(t,u.elm,g.elm)):p(y,i,t,g.elm,!1,n,f),y=n[++f]);c>d?x(t,o(n[v+1])?null:n[v+1].elm,n,f,v,i):f>v&&w(e,c,d)}(c,g,v,n,u):a(v)?(a(t.text)&&h.setTextContent(c,""),x(c,null,v,0,v.length-1,n)):a(g)?w(g,0,g.length-1):a(t.text)&&h.setTextContent(c,""):t.text!==e.text&&h.setTextContent(c,e.text),a(d)&&a(f=d.hook)&&a(f=f.postpatch)&&f(t,e)}}}function C(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var A=y("attrs,class,staticClass,staticStyle,key");function I(t,e,n,i){var r,o=e.tag,l=e.data,u=e.children;if(i=i||l&&l.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(l)&&(a(r=l.hook)&&a(r=r.init)&&r(e,!0),a(r=e.componentInstance)))return f(e,n),!0;if(a(o)){if(a(u))if(t.hasChildNodes())if(a(r=l)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var h=!0,c=t.firstChild,p=0;p<u.length;p++){if(!c||!I(c,u[p],n,i)){h=!1;break}c=c.nextSibling}if(!h||c)return!1}else g(e,u,n);if(a(l)){var d=!1;for(var m in l)if(!A(m)){d=!0,v(e,n);break}!d&&l.class&&ii(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var l,u=!1,c=[];if(o(t))u=!0,p(e,c);else{var f=a(t.nodeType);if(!f&&Hr(t,e))T(t,e,c,null,null,r);else{if(f){if(1===t.nodeType&&t.hasAttribute(V)&&(t.removeAttribute(V),n=!0),s(n)&&I(t,e,c))return C(e,c,!0),t;l=t,t=new dt(h.tagName(l).toLowerCase(),{},[],void 0,l)}var d=t.elm,g=h.parentNode(d);if(p(e,c,d._leaveCb?null:g,h.nextSibling(d)),a(e.parent))for(var v=e.parent,y=m(e);v;){for(var _=0;_<i.destroy.length;++_)i.destroy[_](v);if(v.elm=e.elm,y){for(var x=0;x<i.create.length;++x)i.create[x](jr,v);var S=v.data.hook.insert;if(S.merged)for(var M=1;M<S.fns.length;M++)S.fns[M]()}else zr(v);v=v.parent}a(g)?w([t],0,0):a(t.tag)&&b(t)}}return C(e,c,u),e.elm}a(t)&&b(t)}}
vendor: 5,410 bytes, line 1
1({nodeOps:Fr,modules:[eo,ro,fo,vo,Io,Y?{create:ta,activate:ta,remove:function(t,e){!0!==t.data.show?Ko(t,e):e()}}:{}].concat(Kr)});J&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ua(t,"input")}));var na={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Oe(n,"postpatch",(function(){na.componentUpdated(t,e,n)})):ia(t,e,n.context),t._vOptions=[].map.call(t.options,aa)):("textarea"===n.tag||Nr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",sa),t.addEventListener("compositionend",la),t.addEventListener("change",la),J&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ia(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,aa);if(r.some((function(t,e){return!N(t,i[e])})))(t.multiple?e.value.some((function(t){return oa(t,r)})):e.value!==e.oldValue&&oa(e.value,r))&&ua(t,"change")}}};function ia(t,e,n){ra(t,e,n),(K||Q)&&setTimeout((function(){ra(t,e,n)}),0)}function ra(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=F(i,aa(a))>-1,a.selected!==o&&(a.selected=o);else if(N(aa(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function oa(t,e){return e.every((function(e){return!N(e,t)}))}function aa(t){return"_value"in t?t._value:t.value}function sa(t){t.target.composing=!0}function la(t){t.target.composing&&(t.target.composing=!1,ua(t.target,"input"))}function ua(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function ha(t){return!t.componentInstance||t.data&&t.data.transition?t:ha(t.componentInstance._vnode)}var ca={bind:function(t,e,n){var i=e.value,r=(n=ha(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,qo(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=ha(n)).data&&n.data.transition?(n.data.show=!0,i?qo(n,(function(){t.style.display=t.__vOriginalDisplay})):Ko(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},pa={model:na,show:ca},fa={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 da(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?da(vn(e.children)):t}function ga(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[T(i)]=r[i];return e}function ma(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var va=function(t){return t.tag||en(t)},ya=function(t){return"show"===t.name},_a={name:"transition",props:fa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(va)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=da(r);if(!o)return r;if(this._leaving)return ma(t,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:l(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=ga(this),u=this._vnode,h=da(u);if(o.data.directives&&o.data.directives.some(ya)&&(o.data.show=!0),h&&h.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,h)&&!en(h)&&(!h.componentInstance||!h.componentInstance._vnode.isComment)){var c=h.data.transition=P({},s);if("out-in"===i)return this._leaving=!0,Oe(c,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),ma(t,r);if("in-out"===i){if(en(o))return u;var p,f=function(){p()};Oe(s,"afterEnter",f),Oe(s,"enterCancelled",f),Oe(c,"delayLeave",(function(t){p=t}))}}return r}}},xa=P({tag:String,moveClass:String},fa);delete xa.mode;var ba={props:xa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=fi(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=ga(this),s=0;s<r.length;s++){if((h=r[s]).tag)if(null!=h.key&&0!==String(h.key).indexOf("__vlist"))o.push(h),n[h.key]=h,(h.data||(h.data={})).transition=a;else;}if(i){var l=[],u=[];for(s=0;s<i.length;s++){var h;(h=i[s]).data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?l.push(h):u.push(h)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(wa),t.forEach(Sa),t.forEach(Ma),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;Ho(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Bo,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Bo,t),n._moveCb=null,Wo(n,e))})}})))},methods:{hasMove:function(t,e){if(!Eo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();
vendor: 9,403 bytes, line 1
1t._transitionClasses&&t._transitionClasses.forEach((function(t){Po(n,t)})),ko(n,e),n.style.display="none",this.$el.appendChild(n);var i=Xo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function wa(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Sa(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ma(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var Ta={Transition:_a,TransitionGroup:ba};ur.config.mustUseProp=function(t,e,n){return"value"===n&&yr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ur.config.isReservedTag=Er,ur.config.isReservedAttr=vr,ur.config.getTagNamespace=function(t){return Or(t)?"svg":"math"===t?"math":void 0},ur.config.isUnknownElement=function(t){if(!Y)return!0;if(Er(t))return!1;if(t=t.toLowerCase(),null!=Rr[t])return Rr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Rr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Rr[t]=/HTMLUnknownElement/.test(e.toString())},P(ur.options.directives,pa),P(ur.options.components,Ta),ur.prototype.__patch__=Y?ea:O,ur.prototype.$mount=function(t,e){return function(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=gt),vi(t,"beforeMount"),i=function(){t._update(t._render(),n)},new si(t,i,O,{before:function(){t._isMounted&&!t._isDestroyed&&vi(t,"beforeUpdate")}},!0),n=!1;var r=t._preWatchers;if(r)for(var o=0;o<r.length;o++)r[o].run();return null==t.$vnode&&(t._isMounted=!0,vi(t,"mounted")),t}(this,t=t&&Y?function(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}(t):void 0,e)},Y&&setTimeout((function(){H.devtools&&st&&st.emit("init",ur)}),0)},629:function(t,e,n){"use strict";var i=("undefined"!=typeof window?window:void 0!==n.g?n.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,i=(n=function(e){return e.original===t},e.filter(n)[0]);if(i)return i.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=r(t[n],e)})),o}function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"==typeof t}var s=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,l);var u=function(t){this.register([],t,!1)};function h(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return void 0;h(t.concat(i),e.getChild(i),n.modules[i])}}u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},u.prototype.update=function(t){h([],this.root,t)},u.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var r=new s(e,n);0===t.length?this.root=r:this.get(t.slice(0,-1)).addChild(t[t.length-1],r);e.modules&&o(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var c;var p=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&x(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=r;var l=this._modules.root.state;v(this,l,[],this._modules.root),m(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:c.config.devtools)&&function(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},f={state:{configurable:!0}};function d(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function g(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;v(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var r=t._wrappedGetters,a={};o(r,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:a}),c.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),c.nextTick((function(){return i.$destroy()})))}function v(t,e,n,i,r){var o=!n.length,a=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=i),!o&&!r){var s=y(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){c.set(s,l,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,r={dispatch:i?t.dispatch:function(n,i,r){var o=_(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=e+l),t.dispatch(l,a)},commit:i?t.commit:function(n,i,r){var o=_(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=e+l),t.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,i)===e){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return y(t.state,n)}}}),r}(t,a,n);i.forEachMutation((function(e,n){!function(t,e,n,i){var r=t._mutations[e]||(t._mutations[e]=[]);r.push((function(e){n.call(t,i.state,e)}))}(t,a+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:a+n,r=e.handler||e;!function(t,e,n,i){var r=t._actions[e]||(t._actions[e]=[]);r.push((function(e){var r,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,i,r,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,a+n,e,u)})),i.forEachChild((function(i,o){v(t,e,n.concat(o),i,r)}))}function y(t,e){return e.reduce((function(t,e){return t[e]}),t)}function _(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function x(t){c&&t===c||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){0},p.prototype.commit=function(t,e,n){var i=this,r=_(t,e,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(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,i.state)})))},p.prototype.dispatch=function(t,e){var n=this,i=_(t,e),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before}
1)).forEach((function(t){return t.before(a,n.state)}))}catch(t){0}var l=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){l.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(t){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(t){0}e(t)}))}))}},p.prototype.subscribe=function(t,e){return d(t,this._subscribers,e)},p.prototype.subscribeAction=function(t,e){return d("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},p.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),v(this,this.state,t,this._modules.get(t),n.preserveState),m(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=y(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])})),g(this)},p.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},p.prototype.hotUpdate=function(t){this._modules.update(t),g(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,f);var b=C((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=A(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),w=C((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=A(this.$store,"mapMutations",t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),S=C((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;r=t+r,n[i]=function(){if(!t||A(this.$store,"mapGetters",t))return this.$store.getters[r]},n[i].vuex=!0})),n})),M=C((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=A(this.$store,"mapActions",t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));function T(t){return function(t){return Array.isArray(t)||a(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function C(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function A(t,e,n){return t._modulesNamespaceMap[n]}function I(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function D(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function k(){var t=new Date;return" @ "+P(t.getHours(),2)+":"+P(t.getMinutes(),2)+":"+P(t.getSeconds(),2)+"."+P(t.getMilliseconds(),3)}function P(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var L={Store:p,install:x,version:"3.6.2",mapState:b,mapMutations:w,mapGetters:S,mapActions:M,createNamespacedHelpers:function(t){return{mapState:b.bind(null,t),mapGetters:S.bind(null,t),mapMutations:w.bind(null,t),mapActions:M.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var u=t.logActions;void 0===u&&(u=!0);var h=t.logger;return void 0===h&&(h=console),function(t){var c=r(t.state);void 0!==h&&(l&&t.subscribe((function(t,a){var s=r(a);if(n(t,c,s)){var l=k(),u=o(t),p="mutation "+t.type+l;I(h,p,e),h.log("%c prev state","color: #9E9E9E; font-weight: bold",i(c)),h.log("%c mutation","color: #03A9F4; font-weight: bold",u),h.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),D(h)}c=s})),u&&t.subscribeAction((function(t,n){if(a(t,n)){var i=k(),r=s(t),o="action "+t.type+i;I(h,o,e),h.log("%c action","color: #03A9F4; font-weight: bold",r),D(h)}})))}}};e.ZP=L},7066:function(t,e,n){"use strict";n.d(e,{Z:function(){return Se}});var i={};function r(t,e){return function(){return t.apply(e,arguments)}}n.r(i),n.d(i,{hasBrowserEnv:function(){return ft},hasStandardBrowserEnv:function(){return gt},hasStandardBrowserWebWorkerEnv:function(){return mt},navigator:function(){return dt},origin:function(){return vt}});const{toString:o}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),t=>{const e=o.call(t);return l[e]||(l[e]=e.slice(8,-1).toLowerCase())});var l;const u=t=>(t=t.toLowerCase(),e=>s(e)===t),h=t=>e=>typeof e===t,{isArray:c}=Array,p=h("undefined");const f=u("ArrayBuffer");const d=h("string"),g=h("function"),m=h("number"),v=t=>null!==t&&"object"==typeof t,y=t=>{if("object"!==s(t))return!1;const e=a(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},_=u("Date"),x=u("File"),b=u("Blob"),w=u("FileList"),S=u("URLSearchParams"),[M,T,C,A]=["ReadableStream","Request","Response","Headers"].map(u);function I(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let i,r;if("object"!=typeof t&&(t=[t]),c(t))for(i=0,r=t.length;i<r;i++)e.call(null,t[i],i,t);else{const r=n?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(i=0;i<o;i++)a=r[i],e.call(null,t[a],a,t)}}function D(t,e){e=e.toLowerCase();const n=Object.keys(t);let i,r=n.length;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,P=t=>!p(t)&&t!==k;const L=(O="undefined"!=typeof Uint8Array&&a(Uint8Array),t=>O&&t instanceof O);var O;const E=u("HTMLFormElement"),R=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),N=u("RegExp"),F=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),i={};I(n,((n,r)=>{let o;!1!==(o=e(n,r,t))&&(i[r]=o||n)})),Object.defineProperties(t,i)},B="abcdefghijklmnopqrstuvwxyz",z="0123456789",V={DIGIT:z,ALPHA:B,ALPHA_DIGIT:B+B.toUpperCase()+z};const j=u("AsyncFunction"),G=(H="function"==typeof setImmediate,W=g
vendor: 4,504 bytes, line 1
1(k.postMessage),H?setImmediate:W?(Z=`axios@${Math.random()}`,U=[],k.addEventListener("message",(({source:t,data:e})=>{t===k&&e===Z&&U.length&&U.shift()()}),!1),t=>{U.push(t),k.postMessage(Z,"*")}):t=>setTimeout(t));var H,W,Z,U;const X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(k):"undefined"!=typeof process&&process.nextTick||G;var $={isArray:c,isArrayBuffer:f,isBuffer:function(t){return null!==t&&!p(t)&&null!==t.constructor&&!p(t.constructor)&&g(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||g(t.append)&&("formdata"===(e=s(t))||"object"===e&&g(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&f(t.buffer),e},isString:d,isNumber:m,isBoolean:t=>!0===t||!1===t,isObject:v,isPlainObject:y,isReadableStream:M,isRequest:T,isResponse:C,isHeaders:A,isUndefined:p,isDate:_,isFile:x,isBlob:b,isRegExp:N,isFunction:g,isStream:t=>v(t)&&g(t.pipe),isURLSearchParams:S,isTypedArray:L,isFileList:w,forEach:I,merge:function t(){const{caseless:e}=P(this)&&this||{},n={},i=(i,r)=>{const o=e&&D(n,r)||r;y(n[o])&&y(i)?n[o]=t(n[o],i):y(i)?n[o]=t({},i):c(i)?n[o]=i.slice():n[o]=i};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&I(arguments[t],i);return n},extend:(t,e,n,{allOwnKeys:i}={})=>(I(e,((e,i)=>{n&&g(e)?t[i]=r(e,n):t[i]=e}),{allOwnKeys:i}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,i)=>{t.prototype=Object.create(e.prototype,i),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,i)=>{let r,o,s;const l={};if(e=e||{},null==t)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)s=r[o],i&&!i(s,t,e)||l[s]||(e[s]=t[s],l[s]=!0);t=!1!==n&&a(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:u,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const i=t.indexOf(e,n);return-1!==i&&i===n},toArray:t=>{if(!t)return null;if(c(t))return t;let e=t.length;if(!m(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let i;for(;(i=n.next())&&!i.done;){const n=i.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const i=[];for(;null!==(n=t.exec(e));)i.push(n);return i},isHTMLForm:E,hasOwnProperty:R,hasOwnProp:R,reduceDescriptors:F,freezeMethods:t=>{F(t,((e,n)=>{if(g(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const i=t[n];g(i)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},i=t=>{t.forEach((t=>{n[t]=!0}))};return c(t)?i(t):i(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:D,global:k,isContextDefined:P,ALPHABET:V,generateString:(t=16,e=V.ALPHA_DIGIT)=>{let n="";const{length:i}=e;for(;t--;)n+=e[Math.random()*i|0];return n},isSpecCompliantForm:function(t){return!!(t&&g(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,i)=>{if(v(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[i]=t;const r=c(t)?[]:{};return I(t,((t,e)=>{const o=n(t,i+1);!p(o)&&(r[e]=o)})),e[i]=void 0,r}}return t};return n(t,0)},isAsyncFn:j,isThenable:t=>t&&(v(t)||g(t))&&g(t.then)&&g(t.catch),setImmediate:G,asap:X};function Y(t,e,n,i,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}$.inherits(Y,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:$.toJSONObject(this.config),code:this.code,status:this.status}}});const q=Y.prototype,K={};["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","E
1RR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{K[t]={value:t}})),Object.defineProperties(Y,K),Object.defineProperty(q,"isAxiosError",{value:!0}),Y.from=(t,e,n,i,r,o)=>{const a=Object.create(q);return $.toFlatObject(t,a,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),Y.call(a,t.message,e,n,i,r),a.cause=t,a.name=t.name,o&&Object.assign(a,o),a};var J=Y;function Q(t){return $.isPlainObject(t)||$.isArray(t)}function tt(t){return $.endsWith(t,"[]")?t.slice(0,-2):t}function et(t,e,n){return t?t.concat(e).map((function(t,e){return t=tt(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const nt=$.toFlatObject($,{},null,(function(t){return/^is[A-Z]/.test(t)}));var it=function(t,e,n){if(!$.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const i=(n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!$.isUndefined(e[t])}))).metaTokens,r=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&$.isSpecCompliantForm(e);if(!$.isFunction(r))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if($.isDate(t))return t.toISOString();if(!s&&$.isBlob(t))throw new J("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(t)||$.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function u(t,n,r){let s=t;if(t&&!r&&"object"==typeof t)if($.endsWith(n,"{}"))n=i?n:n.slice(0,-2),t=JSON.stringify(t);else if($.isArray(t)&&function(t){return $.isArray(t)&&!t.some(Q)}(t)||($.isFileList(t)||$.endsWith(n,"[]"))&&(s=$.toArray(t)))return n=tt(n),s.forEach((function(t,i){!$.isUndefined(t)&&null!==t&&e.append(!0===a?et([n],i,o):null===a?n:n+"[]",l(t))})),!1;return!!Q(t)||(e.append(et(r,n,o),l(t)),!1)}const h=[],c=Object.assign(nt,{defaultVisitor:u,convertValue:l,isVisitable:Q});if(!$.isObject(t))throw new TypeError("data must be an object");return function t(n,i){if(!$.isUndefined(n)){if(-1!==h.indexOf(n))throw Error("Circular reference detected in "+i.join("."));h.push(n),$.forEach(n,(function(n,o){!0===(!($.isUndefined(n)||null===n)&&r.call(e,n,$.isString(o)?o.trim():o,i,c))&&t(n,i?i.concat(o):[o])})),h.pop()}}(t),e};
vendor: 5,244 bytes, line 1
1function rt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function ot(t,e){this._pairs=[],t&&it(t,this,e)}const at=ot.prototype;at.append=function(t,e){this._pairs.push([t,e])},at.toString=function(t){const e=t?function(e){return t.call(this,e,rt)}:rt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};var st=ot;function lt(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ut(t,e,n){if(!e)return t;const i=n&&n.encode||lt;$.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(o=r?r(e,n):$.isURLSearchParams(e)?e.toString():new st(e,n).toString(i),o){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}var ht=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){$.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},ct={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:st,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const ft="undefined"!=typeof window&&"undefined"!=typeof document,dt="object"==typeof navigator&&navigator||void 0,gt=ft&&(!dt||["ReactNative","NativeScript","NS"].indexOf(dt.product)<0),mt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,vt=ft&&window.location.href||"http://localhost";var yt={...i,...pt};var _t=function(t){function e(t,n,i,r){let o=t[r++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=r>=t.length;if(o=!o&&$.isArray(i)?i.length:o,s)return $.hasOwnProp(i,o)?i[o]=[i[o],n]:i[o]=n,!a;i[o]&&$.isObject(i[o])||(i[o]=[]);return e(t,n,i[o],r)&&$.isArray(i[o])&&(i[o]=function(t){const e={},n=Object.keys(t);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],e[o]=t[o];return e}(i[o])),!a}if($.isFormData(t)&&$.isFunction(t.entries)){const n={};return $.forEachEntry(t,((t,i)=>{e(function(t){return $.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),i,n,0)})),n}return null};const xt={transitional:ct,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",i=n.indexOf("application/json")>-1,r=$.isObject(t);r&&$.isHTMLForm(t)&&(t=new FormData(t));if($.isFormData(t))return i?JSON.stringify(_t(t)):t;if($.isArrayBuffer(t)||$.isBuffer(t)||$.isStream(t)||$.isFile(t)||$.isBlob(t)||$.isReadableStream(t))return t;if($.isArrayBufferView(t))return t.buffer;if($.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return it(t,new yt.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,i){return yt.isNode&&$.isBuffer(t)?(this.append(e,t.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((o=$.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return it(o?{"files[]":t}:t,e&&new e,this.formSerializer)}}return r||i?(e.setContentType("application/json",!1),function(t,e,n){if($.isString(t))try{return(e||JSON.parse)(t),$.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||xt.transitional,n=e&&e.forcedJSONParsing,i="json"===this.responseType;if($.isResponse(t)||$.isReadableStream(t))return t;if(t&&$.isString(t)&&(n&&!this.responseType||i)){const n=!(e&&e.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw J.from(t,J.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:yt.classes.FormData,Blob:yt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],(t=>{xt.headers[t]={}}));var bt=xt;const wt=$.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"]);const St=Symbol("internals");function Mt(t){return t&&String(t).trim().toLowerCase()}function Tt(t){return!1===t||null==t?t:$.isArray(t)?t.map(Tt):String(t)}function Ct(t,e,n,i,r){return $.isFunction(i)?i.call(this,e,n):(r&&(e=n),$.isString(e)?$.isString(i)?-1!==e.indexOf(i):$.isRegExp(i)?i.test(e):void 0:void 0)}class At{constructor(t){t&&this.set(t)}set(t,e,n){const i=this;function r(t,e,n){const r=Mt(e);
vendor: 6,146 bytes, line 1
1if(!r)throw new Error("header name must be a non-empty string");const o=$.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||e]=Tt(t))}const o=(t,e)=>$.forEach(t,((t,n)=>r(t,n,e)));if($.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if($.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))o((t=>{const e={};let n,i,r;return t&&t.split("\n").forEach((function(t){r=t.indexOf(":"),n=t.substring(0,r).trim().toLowerCase(),i=t.substring(r+1).trim(),!n||e[n]&&wt[n]||("set-cookie"===n?e[n]?e[n].push(i):e[n]=[i]:e[n]=e[n]?e[n]+", "+i:i)})),e})(t),e);else if($.isHeaders(t))for(const[e,i]of t.entries())r(i,e,n);else null!=t&&r(e,t,n);return this}get(t,e){if(t=Mt(t)){const n=$.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(t);)e[i[1]]=i[2];return e}(t);if($.isFunction(e))return e.call(this,t,n);if($.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Mt(t)){const n=$.findKey(this,t);return!(!n||void 0===this[n]||e&&!Ct(0,this[n],n,e))}return!1}delete(t,e){const n=this;let i=!1;function r(t){if(t=Mt(t)){const r=$.findKey(n,t);!r||e&&!Ct(0,n[r],r,e)||(delete n[r],i=!0)}}return $.isArray(t)?t.forEach(r):r(t),i}clear(t){const e=Object.keys(this);let n=e.length,i=!1;for(;n--;){const r=e[n];t&&!Ct(0,this[r],r,t,!0)||(delete this[r],i=!0)}return i}normalize(t){const e=this,n={};return $.forEach(this,((i,r)=>{const o=$.findKey(n,r);if(o)return e[o]=Tt(i),void delete e[r];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(r):String(r).trim();a!==r&&delete e[r],e[a]=Tt(i),n[a]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return $.forEach(this,((n,i)=>{null!=n&&!1!==n&&(e[i]=t&&$.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[St]=this[St]={accessors:{}}).accessors,n=this.prototype;function i(t){const i=Mt(t);e[i]||(!function(t,e){const n=$.toCamelCase(" "+e);["get","set","has"].forEach((i=>{Object.defineProperty(t,i+n,{value:function(t,n,r){return this[i].call(this,e,t,n,r)},configurable:!0})}))}(n,t),e[i]=!0)}return $.isArray(t)?t.forEach(i):i(t),this}}At.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(At.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),$.freezeMethods(At);var It=At;function Dt(t,e){const n=this||bt,i=e||n,r=It.from(i.headers);let o=i.data;return $.forEach(t,(function(t){o=t.call(n,o,r.normalize(),e?e.status:void 0)})),r.normalize(),o}function kt(t){return!(!t||!t.__CANCEL__)}function Pt(t,e,n){J.call(this,null==t?"canceled":t,J.ERR_CANCELED,e,n),this.name="CanceledError"}$.inherits(Pt,J,{__CANCEL__:!0});var Lt=Pt;function Ot(t,e,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}var Et=function(t,e){t=t||10;const n=new Array(t),i=new Array(t);let r,o=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),u=i[a];r||(r=l),n[o]=s,i[o]=l;let h=a,c=0;for(;h!==o;)c+=n[h++],h%=t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),l-r<e)return;const p=u&&l-u;return p?Math.round(1e3*c/p):void 0}};var Rt=function(t,e){let n,i,r=0,o=1e3/e;const a=(e,o=Date.now())=>{r=o,n=null,i&&(clearTimeout(i),i=null),t.apply(null,e)};return[(...t)=>{const e=Date.now(),s=e-r;s>=o?a(t,e):(n=t,i||(i=setTimeout((()=>{i=null,a(n)}),o-s)))},()=>n&&a(n)]};const Nt=(t,e,n=3)=>{let i=0;const r=Et(50,250);return Rt((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-i,l=r(s);i=o;t({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&o<=a?(a-o)/l:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})}),n)},Ft=(t,e)=>{const n=null!=t;return[i=>e[0]({lengthComputable:n,total:t,loaded:i}),e[1]]},Bt=t=>(...e)=>$.asap((()=>t(...e)));var zt=yt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,yt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(yt.origin),yt.navigator&&/(msie|trident)/i.test(yt.navigator.userAgent)):()=>!0,Vt=yt.hasStandardBrowserEnv?{write(t,e,n,i,r,o){const a=[t+"="+encodeURIComponent(e)];$.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),$.isString(i)&&a.push("path="+i),$.isString(r)&&a.push("domain="+r),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function jt(t,e){return t&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Gt=t=>t instanceof It?{...t}:t;function Ht(t,e){e=e||{};const n={};function i(t,e,n,i){return $.isPlainObject(t)&&$.isPlainObject(e)?$.merge.call({caseless:i},t,e):$.isPlainObject(e)?$.merge({},e):$.isArray(e)?e.slice():e}function r(t,e,n,r){return $.isUndefined(e)?$.isUndefined(t)?void 0:i(void 0,t,0,r):i(t,e,0,r)}function o(t,e){if(!$.isUndefined(e))return i(void 0,e)}function a(t,e){return $.isUndefined(e)?$.isUndefined(t)?void 0:i(void 0,t):i(void 0,e)}function s(n,r,o){return o in e?i(n,r):o in t?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,maxBo
vendor: 9,638 bytes, line 1
1dyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,n)=>r(Gt(t),Gt(e),0,!0)};return $.forEach(Object.keys(Object.assign({},t,e)),(function(i){const o=l[i]||r,a=o(t[i],e[i],i);$.isUndefined(a)&&o!==s||(n[i]=a)})),n}var Wt=t=>{const e=Ht({},t);let n,{data:i,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:l}=e;if(e.headers=s=It.from(s),e.url=ut(jt(e.baseURL,e.url),t.params,t.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),$.isFormData(i))if(yt.hasStandardBrowserEnv||yt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[t,...e]=n?n.split(";").map((t=>t.trim())).filter(Boolean):[];s.setContentType([t||"multipart/form-data",...e].join("; "))}if(yt.hasStandardBrowserEnv&&(r&&$.isFunction(r)&&(r=r(e)),r||!1!==r&&zt(e.url))){const t=o&&a&&Vt.read(a);t&&s.set(o,t)}return e};var Zt="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){const i=Wt(t);let r=i.data;const o=It.from(i.headers).normalize();let a,s,l,u,h,{responseType:c,onUploadProgress:p,onDownloadProgress:f}=i;function d(){u&&u(),h&&h(),i.cancelToken&&i.cancelToken.unsubscribe(a),i.signal&&i.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const i=It.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Ot((function(t){e(t),d()}),(function(t){n(t),d()}),{data:c&&"text"!==c&&"json"!==c?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:i,config:t,request:g}),g=null}g.open(i.method.toUpperCase(),i.url,!0),g.timeout=i.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new J("Request aborted",J.ECONNABORTED,t,g)),g=null)},g.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,g)),g=null},g.ontimeout=function(){let e=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||ct;i.timeoutErrorMessage&&(e=i.timeoutErrorMessage),n(new J(e,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,g)),g=null},void 0===r&&o.setContentType(null),"setRequestHeader"in g&&$.forEach(o.toJSON(),(function(t,e){g.setRequestHeader(e,t)})),$.isUndefined(i.withCredentials)||(g.withCredentials=!!i.withCredentials),c&&"json"!==c&&(g.responseType=i.responseType),f&&([l,h]=Nt(f,!0),g.addEventListener("progress",l)),p&&g.upload&&([s,u]=Nt(p),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",u)),(i.cancelToken||i.signal)&&(a=e=>{g&&(n(!e||e.type?new Lt(null,t,g):e),g.abort(),g=null)},i.cancelToken&&i.cancelToken.subscribe(a),i.signal&&(i.signal.aborted?a():i.signal.addEventListener("abort",a)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(i.url);v&&-1===yt.protocols.indexOf(v)?n(new J("Unsupported protocol "+v+":",J.ERR_BAD_REQUEST,t)):g.send(r||null)}))};var Ut=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,i=new AbortController;const r=function(t){if(!n){n=!0,a();const e=t instanceof Error?t:this.reason;i.abort(e instanceof J?e:new Lt(e instanceof Error?e.message:e))}};let o=e&&setTimeout((()=>{o=null,r(new J(`timeout ${e} of ms exceeded`,J.ETIMEDOUT))}),e);const a=()=>{t&&(o&&clearTimeout(o),o=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(r):t.removeEventListener("abort",r)})),t=null)};t.forEach((t=>t.addEventListener("abort",r)));const{signal:s}=i;return s.unsubscribe=()=>$.asap(a),s}};const Xt=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let i,r=0;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},$t=async function*(t){if(t[Symbol.asyncIterator])return void(yield*t);const e=t.getReader();try{for(;;){const{done:t,value:n}=await e.read();if(t)break;yield n}}finally{await e.cancel()}},Yt=(t,e,n,i)=>{const r=async function*(t,e){for await(const n of $t(t))yield*Xt(n,e)}(t,e);let o,a=0,s=t=>{o||(o=!0,i&&i(t))};return new ReadableStream({async pull(t){try{const{done:e,value:i}=await r.next();if(e)return s(),void t.close();let o=i.byteLength;if(n){let t=a+=o;n(t)}t.enqueue(new Uint8Array(i))}catch(t){throw s(t),t}},cancel(t){return s(t),r.return()}},{highWaterMark:2})},qt="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,Kt=qt&&"function"==typeof ReadableStream,Jt=qt&&("function"==typeof TextEncoder?(Qt=new TextEncoder,t=>Qt.encode(t)):async t=>new Uint8Array(await new Response(t).arrayBuffer()));var Qt;const te=(t,...e)=>{try{return!!t(...e)}catch(t){return!1}},ee=Kt&&te((()=>{let t=!1;const e=new Request(yt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),ne=Kt&&te((()=>$.isReadableStream(new Response("").body))),ie={stream:ne&&(t=>t.body)};qt&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!ie[e]&&(ie[e]=$.isFunction(t[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})}))})(new Response);const re=async(t,e)=>{const n=$.toFiniteNumber(t.getContentLength());return null==n?(async t=>{if(null==t)return 0;if($.isBlob(t))return t.size;if($.isSpecCompliantForm(t)){const e=new Request(yt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return $.isArrayBufferView(t)||$.isArrayBuffer(t)?t.byteLength:($.isURLSearchParams(t)&&(t+=""),$.isString(t)?(await Jt(t)).byteLength:void 0)})(e):n};const oe={http:null,xhr:Zt,fetch:qt&&(async t=>{let{url:e,method:n,data:i,signal:r,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:h,withCredentials:c="same-origin",fetchOptions:p}=Wt(t);u=u?(u+"").toLowerCase():"text";let f,d=Ut([r,o&&o.toAbortSignal()],a);const g=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let m;try{if(l&&ee&&"get"!==n&&"head"!==n&&0!==(m=await re(h,i))){let t,n=new Request(e,{method:"POST",body:i,duplex:"half"});if($.isFormData(i)&&(t=n.headers.get("content-type"))&&h.setContentType(t),n.body){const[t,e]=Ft(m,Nt(Bt(l)));i=Yt(n.body,65536,t,e)}}$.isString(c)||(c=c?"include":"omit");const r="credentials"in Request.prototype;f=new Request(e,{...p,signal:d,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:i,duplex:"half",credentials:r?c:void 0});let o=await fetch(f);const a=ne&&("stream"===u||"response"===u);if(ne&&(s||a&&g)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=o[e]}));const e=$.toFiniteNumber(o.headers.get("content-length")),[n,i]=s&&Ft(e,Nt(Bt(s),!0))||[];o=new Response(Yt(o.body,65536,n,(()=>{i&&i(),g&&g()})),t)}u=u||"text";let v=await ie[$.findKey(ie,u)||"text"](o,t);return!a&&g&&g(),await new Promise(((e,n)=>{Ot(e,n,{data:v,headers:It.from(o.headers),status:o.status,statusText:o.statusText,config:t,request:f})}))}catch(e){if(g&&g(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,t,f),{cause:e.cause||e});throw J.from(e,e&&e.code,t,f)}})};$.forEach(oe,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const ae=t=>`- ${t}`,se=t=>$.isFunction(t)||null===t||!1===t;var le=t=>{t=$.isArray(t)?t:[t];const{length:e}=t;let n,i;const r={};for(let o=0;o<e;o++){let e;if(n=t[o],i=n,!se(n)&&(i=oe[(e=String(n)).toLowerCase()],void 0===i))throw new J(`Unknown adapter '${e}'`);if(i)break;r[e||"#"+o]=i}if(!i){const t=Object.entries(r).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(ae).join("\n"):" "+ae(t[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return i};function ue(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Lt(null,t)}function he(t){ue(t),t.headers=It.from(t.headers),t.data=Dt.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return le(t.adapter||bt.adapter)(t).then((function(e){return ue(t),e.data=Dt.call(t,t.transformResponse,e),e.headers=It.from(e.headers),e}),(function(e){return kt(e)||(ue(t),e&&e.response&&(e.response.data=Dt.call(t,t.transformResponse,e.response),e.response.headers=It.from(e.response.headers))),Promise.reject(e)}))}const ce="1.7.9",pe={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{pe[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const fe={};pe.transitional=function(t,e,n){return(i,r,o)=>{if(!1===t)throw new J(function(t,e){return"[Axios v1.7.9] Transitional option '"+t+"'"+e+(n?". "+n:"")}(r," has been removed"+(e?" in "+e:"")),J.ERR_DEPRECATED);return e&&!fe[r]&&(fe[r]=!0),!t||t(i,r,o)}},pe.spelling=function(t){return(t,e)=>!0};var de={assertOptions:function(t,e,n){if("object"!=typeof t)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const i=Object.keys(t);let r=i.length;for(;r-- >0;){const o=i[r],a=e[o];if(a){const e=t[o],n=void 0===e||a(e,o,t);if(!0!==n)throw new J("option "+o+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+o,J.ERR_BAD_OPTION)}},validators:pe};const ge=de.validators;class me{constructor(t){this.defaults=t,this.interceptors={request:new ht,response:new ht}}async request(t,e){try{return await this._request(t,e)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;
vendor: 3,215 bytes, line 1
1const n=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?n&&!String(t.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+n):t.stack=n}catch(t){}}throw t}}_request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=Ht(this.defaults,e);const{transitional:n,paramsSerializer:i,headers:r}=e;void 0!==n&&de.assertOptions(n,{silentJSONParsing:ge.transitional(ge.boolean),forcedJSONParsing:ge.transitional(ge.boolean),clarifyTimeoutError:ge.transitional(ge.boolean)},!1),null!=i&&($.isFunction(i)?e.paramsSerializer={serialize:i}:de.assertOptions(i,{encode:ge.function,serialize:ge.function},!0)),de.assertOptions(e,{baseUrl:ge.spelling("baseURL"),withXsrfToken:ge.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=r&&$.merge(r.common,r[e.method]);r&&$.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete r[t]})),e.headers=It.concat(o,r);const a=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(t){l.push(t.fulfilled,t.rejected)}));let h,c=0;if(!s){const t=[he.bind(this),void 0];for(t.unshift.apply(t,a),t.push.apply(t,l),h=t.length,u=Promise.resolve(e);c<h;)u=u.then(t[c++],t[c++]);return u}h=a.length;let p=e;for(c=0;c<h;){const t=a[c++],e=a[c++];try{p=t(p)}catch(t){e.call(this,t);break}}try{u=he.call(this,p)}catch(t){return Promise.reject(t)}for(c=0,h=l.length;c<h;)u=u.then(l[c++],l[c++]);return u}getUri(t){return ut(jt((t=Ht(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}$.forEach(["delete","get","head","options"],(function(t){me.prototype[t]=function(e,n){return this.request(Ht(n||{},{method:t,url:e,data:(n||{}).data}))}})),$.forEach(["post","put","patch"],(function(t){function e(e){return function(n,i,r){return this.request(Ht(r||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}me.prototype[t]=e(),me.prototype[t+"Form"]=e(!0)}));var ve=me;class ye{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const i=new Promise((t=>{n.subscribe(t),e=t})).then(t);return i.cancel=function(){n.unsubscribe(e)},i},t((function(t,i,r){n.reason||(n.reason=new Lt(t,i,r),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new ye((function(e){t=e})),cancel:t}}}var _e=ye;const xe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
1alContent: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(xe).forEach((([t,e])=>{xe[e]=t}));var be=xe;const we=function t(e){const n=new ve(e),i=r(ve.prototype.request,n);return $.extend(i,ve.prototype,n,{allOwnKeys:!0}),$.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return t(Ht(e,n))},i}(bt);we.Axios=ve,we.CanceledError=Lt,we.CancelToken=_e,we.isCancel=kt,we.VERSION=ce,we.toFormData=it,we.AxiosError=J,we.Cancel=we.CanceledError,we.all=function(t){return Promise.all(t)},we.spread=function(t){return function(e){return t.apply(null,e)}},we.isAxiosError=function(t){return $.isObject(t)&&!0===t.isAxiosError},we.mergeConfig=Ht,we.AxiosHeaders=It,we.formToJSON=t=>_t($.isHTMLForm(t)?new FormData(t):t),we.getAdapter=le,we.HttpStatusCode=be,we.default=we;var Se=we},5941:function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{Z:function(){return o}});n(1703);function r(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}function o(t,e,n){return(e=r(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},4602:function(t,e,n){"use strict";n.d(e,{$:function(){return s},Ce:function(){return O},IV:function(){return u},Kz:function(){return k},Lj:function(){return p},Od:function(){return H},Pb:function(){return b},R3:function(){return L},S1:function(){return v},S6:function(){return T},Vj:function(){return h},W2:function(){return S},X$:function(){return y},cn:function(){return l},cv:function(){return w},dy:function(){return A},eG:function(){return R},eR:function(){return g},eq:function(){return P},fL:function(){return I},hX:function(){return C},iO:function(){return x},is:function(){return D},iv:function(){return M},ld:function(){return _},lp:function(){return E},mp:function(){return N},on:function(){return m},oq:function(){return V},pI:function(){return G},pJ:function(){return F},pv:function(){return c},qm:function(){return B},sE:function(){return j},uV:function(){return f},vs:function(){return d},wV:function(){return z}});var i=n(7628);class r extends Array{constructor(t){"number"==typeof t?super(t):(super(...t||[]),function(t){const e=t.__proto__;Object.defineProperty(t,"__proto__",{get(){return e},set(t){e.__proto__=t}})}(this))}}function o(t=[]){const e=[];return t.forEach((t=>{Array.isArray(t)?e.push(...o(t)):e.push(t)})),e}function a(t,e){return Array.prototype.filter.call(t,e)}function s(t,e){const n=(0,i.Jj)(),o=(0,i.Me)();let a=[];if(!e&&t instanceof r)return t;if(!t)return new r(a);if("string"==typeof t){const n=t.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let t="div";0===n.indexOf("<li")&&(t="ul"),0===n.indexOf("<tr")&&(t="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(t="tr"),0===n.indexOf("<tbody")&&(t="table"),0===n.indexOf("<option")&&(t="select");const e=o.createElement(t);e.innerHTML=n;for(let t=0;t<e.childNodes.length;t+=1)a.push(e.childNodes[t])}else a=function(t,e){if("string"!=typeof t)return[t];const n=[],i=e.querySelectorAll(t);for(let t=0;t<i.length;t+=1)n.push(i[t]);return n}(t.trim(),e||o)}else if(t.nodeType||t===n||t===o)a.push(t);else if(Array.isArray(t)){if(t instanceof r)return t;a=t}return new r(function(t){const e=[];for(let n=0;n<t.length;n+=1)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(a))}function l(...t){const e=o(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.add(...e)})),this}function u(...t){const e=o(t.map((t=>t.split(" "))));return this.forEach((t=>{t.classList.remove(...e)})),this}function h(...t){const e=o(t.map((t=>t.split(" "))));this.forEach((t=>{e.forEach((e=>{t.classList.toggle(e)}))}))}function c(...t){const e=o(t.map((t=>t.split(" "))));return a(this,(t=>e.filter((e=>t.classList.contains(e))).length>0)).length>0}function p(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(t,e);else for(const e in t)this[n][e]=t[e],this[n].setAttribute(e,t[e]);return this}function f(t){for(let e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function d(t){for(let e=0;e<this.length;e+=1)this[e].style.transform=t;return this}function g(t){for(let e=0;e<this.length;e+=1)this[e].style.transitionDuration="string"!=typeof t?`${t}ms`:t;return this}function m(...t){let[e,n,i,r]=t;function o(t){const e=t.target;if(!e)return;const r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),s(e).is(n))i.apply(e,r);else{const t=s(e).parents();for(let e=0;e<t.length;e+=1)s(t[e]).is(n)&&i.apply(t[e],r)}}function a(t){const e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),i.apply(this,e)}"function"==typeof t[1]&&([e,i,r]=t,n=void 0),r||(r=!1);const l=e.split(" ");let u;for(let t=0;t<this.length;t+=1){const e=this[t];if(n)for(u=0;
vendor: 6,981 bytes, line 1
1u<l.length;u+=1){const t=l[u];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:i,proxyListener:o}),e.addEventListener(t,o,r)}else for(u=0;u<l.length;u+=1){const t=l[u];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:i,proxyListener:a}),e.addEventListener(t,a,r)}}return this}function v(...t){let[e,n,i,r]=t;"function"==typeof t[1]&&([e,i,r]=t,n=void 0),r||(r=!1);const o=e.split(" ");for(let t=0;t<o.length;t+=1){const e=o[t];for(let t=0;t<this.length;t+=1){const o=this[t];let a;if(!n&&o.dom7Listeners?a=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(a=o.dom7LiveListeners[e]),a&&a.length)for(let t=a.length-1;t>=0;t-=1){const n=a[t];i&&n.listener===i||i&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===i?(o.removeEventListener(e,n.proxyListener,r),a.splice(t,1)):i||(o.removeEventListener(e,n.proxyListener,r),a.splice(t,1))}}}return this}function y(...t){const e=(0,i.Jj)(),n=t[0].split(" "),r=t[1];for(let i=0;i<n.length;i+=1){const o=n[i];for(let n=0;n<this.length;n+=1){const i=this[n];if(e.CustomEvent){const n=new e.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});i.dom7EventData=t.filter(((t,e)=>e>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this}function _(t){const e=this;return t&&e.on("transitionend",(function n(i){i.target===this&&(t.call(this,i),e.off("transitionend",n))})),this}function x(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function b(t){if(this.length>0){if(t){const t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function w(){if(this.length>0){const t=(0,i.Jj)(),e=(0,i.Me)(),n=this[0],r=n.getBoundingClientRect(),o=e.body,a=n.clientTop||o.clientTop||0,s=n.clientLeft||o.clientLeft||0,l=n===t?t.scrollY:n.scrollTop,u=n===t?t.scrollX:n.scrollLeft;return{top:r.top+l-a,left:r.left+u-s}}return null}function S(){const t=(0,i.Jj)();return this[0]?t.getComputedStyle(this[0],null):{}}function M(t,e){const n=(0,i.Jj)();let r;if(1===arguments.length){if("string"!=typeof t){for(r=0;r<this.length;r+=1)for(const e in t)this[r].style[e]=t[e];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(r=0;r<this.length;r+=1)this[r].style[t]=e;return this}return this}function T(t){return t?(this.forEach(((e,n)=>{t.apply(e,[e,n])})),this):this}function C(t){return s(a(this,t))}function A(t){if(void 0===t)return this[0]?this[0].innerHTML:null;for(let e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function I(t){if(void 0===t)return this[0]?this[0].textContent.trim():null;for(let e=0;e<this.length;e+=1)this[e].textContent=t;return this}function D(t){const e=(0,i.Jj)(),n=(0,i.Me)(),o=this[0];let a,l;if(!o||void 0===t)return!1;if("string"==typeof t){if(o.matches)return o.matches(t);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(t);if(o.msMatchesSelector)return o.msMatchesSelector(t);for(a=s(t),l=0;l<a.length;l+=1)if(a[l]===o)return!0;return!1}if(t===n)return o===n;if(t===e)return o===e;if(t.nodeType||t instanceof r){for(a=t.nodeType?[t]:t,l=0;l<a.length;l+=1)if(a[l]===o)return!0;return!1}return!1}function k(){let t,e=this[0];if(e){for(t=0;null!==(e=e.previousSibling);)1===e.nodeType&&(t+=1);return t}}function P(t){if(void 0===t)return this;const e=this.length;if(t>e-1)return s([]);if(t<0){const n=e+t;return s(n<0?[]:[this[n]])}return s([this[t]])}function L(...t){let e;const n=(0,i.Me)();for(let i=0;i<t.length;i+=1){e=t[i];for(let t=0;t<this.length;t+=1)if("string"==typeof e){const i=n.createElement("div");for(i.innerHTML=e;i.firstChild;)this[t].appendChild(i.firstChild)}else if(e instanceof r)for(let n=0;n<e.length;n+=1)this[t].appendChild(e[n]);else this[t].appendChild(e)}return this}function O(t){const e=(0,i.Me)();let n,o;for(n=0;n<this.length;n+=1)if("string"==typeof t){const i=e.createElement("div");for(i.innerHTML=t,o=i.childNodes.length-1;o>=0;o-=1)this[n].insertBefore(i.childNodes[o],this[n].childNodes[0])}else if(t instanceof r)for(o=0;o<t.length;o+=1)this[n].insertBefore(t[o],this[n].childNodes[0]);else this[n].insertBefore(t,this[n].childNodes[0]);return this}function E(t){return this.length>0?t?this[0].nextElementSibling&&s(this[0].nextElementSibling).is(t)?s([this[0].nextElementSibling]):s([]):this[0].nextElementSibling?s([this[0].nextElementSibling]):s([]):s([])}function R(t){const e=[];let n=this[0];if(!n)return s([]);for(;n.nextElementSibling;){const i=n.nextElementSibling;t?s(i).is(t)&&e.push(i):e.push(i),n=i}return s(e)}function N(t){if(this.length>0){const e=this[0];return t?e.previousElementSibling&&s(e.previousElementSibling).is(t)?s([e.previousElementSibling]):s([]):e.previousElementSibling?s([e.previousElementSibling]):s([])}return s([])}function F(t){const e=[];let n=this[0];if(!n)return s([]);for(;n.previousElementSibling;){const i=n.previousElementSibling;t?s(i).is(t)&&e.push(i):e.push(i),n=i}return s(e)}function B(t){const e=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(t?s(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return s(e)}function z(t){const e=[];for(let n=0;n<this.length;n+=1){let i=this[n].parentNode;for(;i;)t?s(i).is(t)&&e.push(i):e.push(i),i=i.parentNode}return s(e)}function V(t){let e=this;return void 0===t?s([]):(e.is(t)||(e=e.parents(t).eq(0)),e)}function j(t){const e=[];for(let n=0;n<this.length;n+=1){const i=this[n].querySelectorAll(t);for(let t=0;t<i.length;t+=1)e.push(i[t])}return s(e)}function G(t){const e=[];for(let n=0;n<this.length;n+=1){const i=this[n].children;for(let n=0;n<i.length;n+=1)t&&!s(i[n]).is(t)||e.push(i[n])}return s(e)}function H(){for(let t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}s.fn=r.prototype;const W="resize scroll".split(" ");function Z(t){return function(...e){if(void 0===e[0]){for(let e=0;e<this.length;e+=1)W.indexOf(t)<0&&(t in this[e]?this[e][t]():s(this[e]).trigger(t));return this}return this.on(t,...e)}}Z("click"),Z("blur"),Z("focus"),Z("focusin"),Z("focusout"),Z("keyup"),Z("keydown"),Z("keypress"),Z("submit"),Z("change"),Z("mousedown"),Z("mousemove"),Z("mouseup"),Z("mouseenter"),Z("mouseleave"),Z("mouseout"),Z("mouseover"),Z("touchstart"),Z("touchend"),Z("touchmove"),Z("resize"),Z("scroll")},4389:function(t,e,n){"use strict";n.d(e,{S1:function(){return r_}});var i={};n.r(i),n.d(i,{Arc:function(){return xg},BezierCurve:function(){return vg},BoundingRect:function(){return Ee},Circle:function(){return Od},CompoundPath:function(){return wg},Ellipse:function(){return Nd},Group:function(){return Ur},Image:function(){return Gs}
vendor: 4,864 bytes, line 1
1,IncrementalDisplayable:function(){return Eg},Line:function(){return pg},LinearGradient:function(){return Mg},OrientedBoundingRect:function(){return Pg},Path:function(){return Rs},Point:function(){return Me},Polygon:function(){return og},Polyline:function(){return lg},RadialGradient:function(){return Tg},Rect:function(){return qs},Ring:function(){return eg},Sector:function(){return Jd},Text:function(){return pl},applyTransform:function(){return Jg},clipPointsByRect:function(){return nm},clipRectByRect:function(){return im},createIcon:function(){return rm},extendPath:function(){return Vg},extendShape:function(){return Bg},getShapeClass:function(){return Gg},getTransform:function(){return Kg},groupTransition:function(){return em},initProps:function(){return _u},isElementRemoved:function(){return xu},lineLineIntersect:function(){return am},linePolygonIntersect:function(){return om},makeImage:function(){return Wg},makePath:function(){return Hg},mergePath:function(){return Ug},registerShape:function(){return jg},removeElement:function(){return bu},removeElementWithFadeOut:function(){return Su},resizePath:function(){return Xg},setTooltipConfig:function(){return lm},subPixelOptimize:function(){return qg},subPixelOptimizeLine:function(){return $g},subPixelOptimizeRect:function(){return Yg},transformDirection:function(){return Qg},traverseElements:function(){return hm},updateProps:function(){return yu}});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},r(t,e)};function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var a=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},s=new function(){this.browser=new a,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(s.wxa=!0,s.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?s.worker=!0:!s.hasGlobalWindow||"Deno"in window?(s.node=!0,s.svgSupported=!0):function(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,s);var l=s,u=12,h="sans-serif",c=u+"px "+h;var p,f,d=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),g={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!p){var n=g.createCanvas();p=n&&n.getContext("2d")}if(p)return f!==e&&(f=p.font=e||c),p.measureText(t);t=t||"";var i=/((?:\d+)?\.?\d*)px/.exec(e=e||c),r=i&&+i[1]||u,o=0;if(e.indexOf("mono")>=0)o=r*t.length;else for(var a=0;a<t.length;a++){var s=d[t[a]];o+=null==s?r:s*r}return{width:o}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};var m=V(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),v=V(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),y=Object.prototype.toString,_=Array.prototype,x=_.forEach,b=_.filter,w=_.slice,S=_.map,M=function(){}.constructor,T=M?M.prototype:null,C="__proto__",A=2311;function I(){return A++}function D(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e]}function k(t){if(null==t||"object"!=typeof t)return t;var e=t,n=y.call(t);if("[object Array]"===n){if(!ct(t)){e=[];for(var i=0,r=t.length;i<r;i++)e[i]=k(t[i])}}
vendor: 5,091 bytes, line 1
1else if(v[n]){if(!ct(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(i=0,r=t.length;i<r;i++)e[i]=t[i]}}}else if(!m[n]&&!ct(t)&&!Q(t))for(var a in e={},t)t.hasOwnProperty(a)&&a!==C&&(e[a]=k(t[a]));return e}function P(t,e,n){if(!q(e)||!q(t))return n?k(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==C){var r=t[i],o=e[i];!q(o)||!q(r)||Z(o)||Z(r)||Q(o)||Q(r)||K(o)||K(r)||ct(o)||ct(r)?!n&&i in t||(t[i]=k(e[i])):P(r,o,n)}return t}function L(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=P(n,t[i],e);return n}function O(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==C&&(t[n]=e[n]);return t}function E(t,e,n){for(var i=G(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}g.createCanvas;function R(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function N(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else E(t,e,n)}function F(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function B(t,e,n){if(t&&e)if(t.forEach&&t.forEach===x)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function z(t,e,n){if(!t)return[];if(!e)return ot(t);if(t.map&&t.map===S)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function V(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function j(t,e,n){if(!t)return[];if(!e)return ot(t);if(t.filter&&t.filter===b)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function G(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var H=T&&U(T.bind)?T.call.bind(T.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(w.call(arguments)))}};function W(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(w.call(arguments)))}}function Z(t){return Array.isArray?Array.isArray(t):"[object Array]"===y.call(t)}function U(t){return"function"==typeof t}function X(t){return"string"==typeof t}function $(t){return"[object String]"===y.call(t)}function Y(t){return"number"==typeof t}function q(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function K(t){return!!m[y.call(t)]}function J(t){return!!v[y.call(t)]}function Q(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function tt(t){return null!=t.colorStops}function et(t){return t!=t}function nt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function it(t,e){return null!=t?t:e}function rt(t,e,n){return null!=t?t:null!=e?e:n}function ot(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return w.apply(t,e)}function at(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function st(t,e){if(!t)throw new Error(e)}function lt(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ut="__ec_primitive__";function ht(t){t[ut]=!0}function ct(t){return t[ut]}var pt=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return G(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),ft="function"==typeof Map;var dt=function(){function t(e){var n=Z(e);this.data=ft?new Map:new pt;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&B(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return ft?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function gt(t){return new dt(t)}function mt(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function vt(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&O(n,e),n}function yt(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function _t(t,e){return t.hasOwnProperty(e)}
vendor: 27,248 bytes, line 1
1function xt(){}var bt=180/Math.PI,wt=function(t,e){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},wt(t,e)};function St(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}wt(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;function Mt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function Tt(t,e){return t[0]=e[0],t[1]=e[1],t}function Ct(t){return[t[0],t[1]]}function At(t,e,n){return t[0]=e,t[1]=n,t}function It(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function Dt(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function kt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Pt(t){return Math.sqrt(Lt(t))}function Lt(t){return t[0]*t[0]+t[1]*t[1]}function Ot(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Et(t,e){var n=Pt(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Rt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Nt=Rt;var Ft=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function Bt(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function zt(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function Vt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function jt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Gt=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Ht=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Gt(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new Gt(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new Gt(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new Gt(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Gt(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Gt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Wt=Ht,Zt=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}(),Ut=Zt,Xt=Math.log(2);function $t(t,e,n,i,r,o){var a=i+"-"+r,s=t.length;if(o.hasOwnProperty(a))return o[a];if(1===e){var l=Math.round(Math.log((1<<s)-1&~r)/Xt);return t[n][l]}for(var u=i|1<<n,h=n+1;i&1<<h;)h++;for(var c=0,p=0,f=0;p<s;p++){var d=1<<p;d&r||(c+=(f%2?-1:1)*t[n][p]*$t(t,e-1,h,u,r|d,o),f++)}return o[a]=c,c}function Yt(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=$t(n,8,0,0,0,i);if(0!==r){for(var o=[],a=0;a<8;a++)for(var s=0;s<8;s++)null==o[s]&&(o[s]=0),o[s]+=((a+s)%2?-1:1)*$t(n,7,0===a?1:0,1<<a,1<<s,i)/r*e[a];return function(t,e,n){var i=e*o[6]+n*o[7]+1;t[0]=(e*o[0]+n*o[1]+o[2])/i,t[1]=(e*o[3]+n*o[4]+o[5])/i}}}var qt="___zrEVENTSAVED",Kt=[];function Jt(t,e,n,i,r){if(e.getBoundingClientRect&&l.domSupported&&!Qt(e)){var o=e[qt]||(e[qt]={}),a=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=o%2,l=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[l]+":0",i[1-s]+":auto",r[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,o),s=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,f=h.top;a.push(p,f),l=l&&o&&p===o[c]&&f===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?Yt(s,a):Yt(a,s))}(a,o,r);if(s)return s(t,n,i),!0}return!1}function Qt(t){return"CANVAS"===t.nodeName.toUpperCase()}var te=/([&<>"'])/g,ee={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function ne(t){return null==t?"":(t+"").replace(te,(function(t,e){return ee[e]}))}var ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,re=[],oe=l.browser.firefox&&+l.browser.version.split(".")[0]<39;function ae(t,e,n,i){return n=n||{},i?se(t,e,n):oe&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):se(t,e,n),n}function se(t,e,n){if(l.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(Qt(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(Jt(re,t,i,r))return n.zrX=re[0],void(n.zrY=re[1])}n.zrX=n.zrY=0}function le(t){return t||window.event}function ue(t,e,n){if(null!=(e=le(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&ae(t,r,e,n)}else{ae(t,e,e,n);var o=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=o?o/120:-(e.detail||0)/3}var a=e.button;return null==e.which&&void 0!==a&&ie.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e}function he(t,e,n,i){t.addEventListener(e,n,i)}var ce=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function pe(t){return 2===t.which||3===t.which}var fe=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=ae(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in ge)if(ge.hasOwnProperty(e)){var n=ge[e](this._track,t);if(n)return n}},t}();function de(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var ge={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=de(r)/de(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function me(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ve(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ye(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function _e(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function xe(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function be(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function we(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}var Se=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Me=Se,Te=Math.min,Ce=Math.max,Ae=new Me,Ie=new Me,De=new Me,ke=new Me,Pe=new Me,Le=new Me,Oe=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Te(t.x,this.x),n=Te(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Ce(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Ce(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=[1,0,0,1,0,0];return _e(r,r,[-e.x,-e.y]),be(r,r,[n,i]),_e(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(o<l||u<r||s<h||c<a);if(n){var f=1/0,d=0,g=Math.abs(o-l),m=Math.abs(u-r),v=Math.abs(s-h),y=Math.abs(c-a),_=Math.min(g,m),x=Math.min(v,y);o<l||u<r?_>d&&(d=_,g<m?Me.set(Le,-g,0):Me.set(Le,m,0)):_<f&&(f=_,g<m?Me.set(Pe,g,0):Me.set(Pe,-m,0)),s<h||c<a?x>d&&(d=x,v<y?Me.set(Le,0,-v):Me.set(Le,0,y)):_<f&&(f=_,v<y?Me.set(Pe,0,v):Me.set(Pe,0,-y))}return n&&Me.copy(n,p?Pe:Le),p},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Ae.x=De.x=n.x,Ae.y=ke.y=n.y,Ie.x=ke.x=n.x+n.width,Ie.y=De.y=n.y+n.height,Ae.transform(i),ke.transform(i),Ie.transform(i),De.transform(i),e.x=Te(Ae.x,Ie.x,De.x,ke.x),e.y=Te(Ae.y,Ie.y,De.y,ke.y);var l=Ce(Ae.x,Ie.x,De.x,ke.x),u=Ce(Ae.y,Ie.y,De.y,ke.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Ee=Oe,Re="silent";function Ne(){ce(this.event)}var Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return St(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Ut),Be=function(t,e){this.x=t,this.y=e},ze=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ve=new Ee(0,0,0,0),je=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new Be(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new Fe,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new Wt(a),a}return St(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(B(ze,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=We(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new Be(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new Be(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:Ne}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new Be(t,e);if(He(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new Ee(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(Ve.copy(h.getBoundingRect()),h.transform&&Ve.applyTransform(h.transform),Ve.intersect(l)&&o.push(h))}if(o.length)for(var c=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=4)for(var d=0;d<p;d+=c){if(He(o,r,t+f*Math.cos(d),e+f*Math.sin(d),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new fe);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new Be;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(Ut);function Ge(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||Re}return!1}function He(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=Ge(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==Re)){e.target=a;break}}}function We(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}B(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){je.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=We(this,r,o);if("mouseup"===t&&a||(i=(n=this.findHover(r,o)).target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Nt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var Ze=je,Ue=32,Xe=7;function $e(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function Ye(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)r(a,t[o=s+l>>>1])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function qe(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&o(t,e[n+r-l])<=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function Ke(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){for(s=r+1;l<s&&o(t,e[n+r-l])<0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function Je(t,e){var n,i,r=Xe,o=0,a=[];function s(s){var l=n[s],u=i[s],h=n[s+1],c=i[s+1];i[s]=u+c,s===o-3&&(n[s+1]=n[s+2],i[s+1]=i[s+2]),o--;var p=Ke(t[h],t,l,u,0,e);l+=p,0!==(u-=p)&&0!==(c=qe(t[l+u-1],t,h,c,c-1,e))&&(u<=c?function(n,i,o,s){var l=0;for(l=0;l<i;l++)a[l]=t[n+l];var u=0,h=o,c=n;if(t[c++]=t[h++],0==--s){for(l=0;l<i;l++)t[c+l]=a[u+l];return}if(1===i){for(l=0;l<s;l++)t[c+l]=t[h+l];return void(t[c+s]=a[u])}var p,f,d,g=r;for(;;){p=0,f=0,d=!1;do{if(e(t[h],a[u])<0){if(t[c++]=t[h++],f++,p=0,0==--s){d=!0;break}}else if(t[c++]=a[u++],p++,f=0,1==--i){d=!0;break}}while((p|f)<g);if(d)break;do{if(0!==(p=Ke(t[h],a,u,i,0,e))){for(l=0;l<p;l++)t[c+l]=a[u+l];if(c+=p,u+=p,(i-=p)<=1){d=!0;break}}if(t[c++]=t[h++],0==--s){d=!0;break}if(0!==(f=qe(a[u],t,h,s,0,e))){for(l=0;l<f;l++)t[c+l]=t[h+l];if(c+=f,h+=f,0===(s-=f)){d=!0;break}}if(t[c++]=a[u++],1==--i){d=!0;break}g--}while(p>=Xe||f>=Xe);if(d)break;g<0&&(g=0),g+=2}if((r=g)<1&&(r=1),1===i){for(l=0;l<s;l++)t[c+l]=t[h+l];t[c+s]=a[u]}else{if(0===i)throw new Error;for(l=0;l<i;l++)t[c+l]=a[u+l]}}(l,u,h,c):function(n,i,o,s){var l=0;for(l=0;l<s;l++)a[l]=t[o+l];var u=n+i-1,h=s-1,c=o+s-1,p=0,f=0;if(t[c--]=t[u--],0==--i){for(p=c-(s-1),l=0;l<s;l++)t[p+l]=a[l];return}if(1===s){for(f=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[p+l];return void(t[c]=a[h])}var d=r;for(;;){var g=0,m=0,v=!1;do{if(e(a[h],t[u])<0){if(t[c--]=t[u--],g++,m=0,0==--i){v=!0;break}}else if(t[c--]=a[h--],m++,g=0,1==--s){v=!0;break}}while((g|m)<d);if(v)break;do{if(0!==(g=i-Ke(a[h],t,n,i,i-1,e))){for(i-=g,f=(c-=g)+1,p=(u-=g)+1,l=g-1;l>=0;l--)t[f+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1==--s){v=!0;break}if(0!==(m=s-qe(t[u],a,0,s,s-1,e))){for(s-=m,f=(c-=m)+1,p=(h-=m)+1,l=0;l<m;l++)t[f+l]=a[p+l];if(s<=1){v=!0;break}}if(t[c--]=t[u--],0==--i){v=!0;break}d--}while(g>=Xe||m>=Xe);if(v)break;d<0&&(d=0),d+=2}(r=d)<1&&(r=1);if(1===s){for(f=(c-=i)+1,p=(u-=i)+1,l=i-1;l>=0;l--)t[f+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l<s;l++)t[p+l]=a[l]}}(l,u,h,c))}return n=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;s(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,s(t)}},pushRun:function(t,e){n[o]=t,i[o]=e,o+=1}}}function Qe(t,e,n,i){n||(n=0),i||(i=t.length);var r=i-n;if(!(r<2)){var o=0;if(r<Ue)Ye(t,n,i,n+(o=$e(t,n,i,e)),e);else{var a=Je(t,e),s=function(t){for(var e=0;t>=Ue;)e|=1&t,t>>=1;return t+e}(r);do{if((o=$e(t,n,i,e))<s){var l=r;l>s&&(l=s),Ye(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}}var tn=1,en=4,nn=!1;function rn(){nn||(nn=!0)}function on(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var an=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=on}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,Qe(n,on)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=tn),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(rn(),u.z=0),isNaN(u.z2)&&(rn(),u.z2=0),isNaN(u.zlevel)&&(rn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=R(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),sn=an,ln=l.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},un={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-un.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*un.bounceIn(2*t):.5*un.bounceOut(2*t-1)+.5}},hn=un,cn=Math.pow,pn=Math.sqrt,fn=1e-8,dn=1e-4,gn=pn(3),mn=1/3,vn=Mt(),yn=Mt(),_n=Mt();function xn(t){return t>-fn&&t<fn}function bn(t){return t>fn||t<-fn}function wn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Sn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}
vendor: 9,244 bytes, line 1
1function Mn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,f=0;if(xn(h)&&xn(c)){if(xn(s))o[0]=0;else(M=-l/s)>=0&&M<=1&&(o[f++]=M)}else{var d=c*c-4*h*p;if(xn(d)){var g=c/h,m=-g/2;(M=-s/a+g)>=0&&M<=1&&(o[f++]=M),m>=0&&m<=1&&(o[f++]=m)}else if(d>0){var v=pn(d),y=h*s+1.5*a*(-c+v),_=h*s+1.5*a*(-c-v);(M=(-s-((y=y<0?-cn(-y,mn):cn(y,mn))+(_=_<0?-cn(-_,mn):cn(_,mn))))/(3*a))>=0&&M<=1&&(o[f++]=M)}else{var x=(2*h*s-3*a*c)/(2*pn(h*h*h)),b=Math.acos(x)/3,w=pn(h),S=Math.cos(b),M=(-s-2*w*S)/(3*a),T=(m=(-s+w*(S+gn*Math.sin(b)))/(3*a),(-s+w*(S-gn*Math.sin(b)))/(3*a));M>=0&&M<=1&&(o[f++]=M),m>=0&&m<=1&&(o[f++]=m),T>=0&&T<=1&&(o[f++]=T)}}return f}function Tn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(xn(a)){if(bn(o))(h=-s/o)>=0&&h<=1&&(r[l++]=h)}else{var u=o*o-4*a*s;if(xn(u))r[0]=-o/(2*a);else if(u>0){var h,c=pn(u),p=(-o-c)/(2*a);(h=(-o+c)/(2*a))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}function Cn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function An(t,e,n,i,r,o,a,s,l,u,h){var c,p,f,d,g,m=.005,v=1/0;vn[0]=l,vn[1]=u;for(var y=0;y<1;y+=.05)yn[0]=wn(t,n,r,a,y),yn[1]=wn(e,i,o,s,y),(d=Ft(vn,yn))<v&&(c=y,v=d);v=1/0;for(var _=0;_<32&&!(m<dn);_++)p=c-m,f=c+m,yn[0]=wn(t,n,r,a,p),yn[1]=wn(e,i,o,s,p),d=Ft(yn,vn),p>=0&&d<v?(c=p,v=d):(_n[0]=wn(t,n,r,a,f),_n[1]=wn(e,i,o,s,f),g=Ft(_n,vn),f<=1&&g<v?(c=f,v=g):m*=.5);return h&&(h[0]=wn(t,n,r,a,c),h[1]=wn(e,i,o,s,c)),pn(v)}function In(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,p=1/l,f=1;f<=l;f++){var d=f*p,g=wn(t,n,r,a,d),m=wn(e,i,o,s,d),v=g-u,y=m-h;c+=Math.sqrt(v*v+y*y),u=g,h=m}return c}function Dn(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function kn(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function Pn(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function Ln(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function On(t,e,n,i,r,o,a,s,l){var u,h=.005,c=1/0;vn[0]=a,vn[1]=s;for(var p=0;p<1;p+=.05){yn[0]=Dn(t,n,r,p),yn[1]=Dn(e,i,o,p),(m=Ft(vn,yn))<c&&(u=p,c=m)}c=1/0;for(var f=0;f<32&&!(h<dn);f++){var d=u-h,g=u+h;yn[0]=Dn(t,n,r,d),yn[1]=Dn(e,i,o,d);var m=Ft(yn,vn);if(d>=0&&m<c)u=d,c=m;else{_n[0]=Dn(t,n,r,g),_n[1]=Dn(e,i,o,g);var v=Ft(_n,vn);g<=1&&v<c?(u=g,c=v):h*=.5}}return l&&(l[0]=Dn(t,n,r,u),l[1]=Dn(e,i,o,u)),pn(c)}function En(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var p=c*h,f=Dn(t,n,r,p),d=Dn(e,i,o,p),g=f-s,m=d-l;u+=Math.sqrt(g*g+m*m),s=f,l=d}return u}var Rn=/cubic-bezier\(([0-9,\.e ]+)\)/;function Nn(t){var e=t&&Rn.exec(t);if(e){var n=e[1].split(","),i=+lt(n[0]),r=+lt(n[1]),o=+lt(n[2]),a=+lt(n[3]);if(isNaN(i+r+o+a))return;var s=[];return function(t){return t<=0?0:t>=1?1:Mn(0,i,o,1,t,s)&&wn(0,r,a,1,s[0])}}}var Fn=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||xt,this.ondestroy=t.ondestroy||xt,this.onrestart=t.onrestart||xt,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=U(t)?t:hn[t]||Nn(t)},t}(),Bn=function(t){this.value=t},zn=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Bn(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),Vn=function(){function t(t){this._list=new zn,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new Bn(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),jn=Vn,Gn={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 Hn(t){return(t=Math.round(t))<0?0:t>255?255:t}function Wn(t){return t<0?0:t>1?1:t}function Zn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Hn(parseFloat(e)/100*255):Hn(parseInt(e,10))}function Un(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Wn(parseFloat(e)/100):Wn(parseFloat(e))}function Xn(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function $n(t,e,n){return t+(e-t)*n}function Yn(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function qn(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Kn=new jn(20),Jn=null;function Qn(t,e){Jn&&qn(Jn,e),Jn=Kn.put(t,Jn||e.slice())}function ti(t,e){if(t){e=e||[];var n=Kn.get(t);
vendor: 53,755 bytes, line 1
1if(n)return qn(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in Gn)return qn(e,Gn[i]),Qn(t,e),e;var r,o=i.length;if("#"===i.charAt(0))return 4===o||5===o?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(Yn(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===o?parseInt(i.slice(4),16)/15:1),Qn(t,e),e):void Yn(e,0,0,0,1):7===o||9===o?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(Yn(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===o?parseInt(i.slice(7),16)/255:1),Qn(t,e),e):void Yn(e,0,0,0,1):void 0;var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===o){var l=i.substr(0,a),u=i.substr(a+1,s-(a+1)).split(","),h=1;switch(l){case"rgba":if(4!==u.length)return 3===u.length?Yn(e,+u[0],+u[1],+u[2],1):Yn(e,0,0,0,1);h=Un(u.pop());case"rgb":return u.length>=3?(Yn(e,Zn(u[0]),Zn(u[1]),Zn(u[2]),3===u.length?h:Un(u[3])),Qn(t,e),e):void Yn(e,0,0,0,1);case"hsla":return 4!==u.length?void Yn(e,0,0,0,1):(u[3]=Un(u[3]),ei(u,e),Qn(t,e),e);case"hsl":return 3!==u.length?void Yn(e,0,0,0,1):(ei(u,e),Qn(t,e),e);default:return}}Yn(e,0,0,0,1)}}function ei(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=Un(t[1]),r=Un(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return Yn(e=e||[],Hn(255*Xn(a,o,n+1/3)),Hn(255*Xn(a,o,n)),Hn(255*Xn(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function ni(t,e){var n=ti(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return si(n,4===n.length?"rgba":"rgb")}}function ii(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=Hn($n(a[0],s[0],l)),n[1]=Hn($n(a[1],s[1],l)),n[2]=Hn($n(a[2],s[2],l)),n[3]=Wn($n(a[3],s[3],l)),n}}function ri(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=ti(e[r]),s=ti(e[o]),l=i-r,u=si([Hn($n(a[0],s[0],l)),Hn($n(a[1],s[1],l)),Hn($n(a[2],s[2],l)),Wn($n(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}function oi(t,e,n,i){var r=ti(t);if(t)return r=function(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(r),null!=e&&(r[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(r[1]=Un(n)),null!=i&&(r[2]=Un(i)),si(ei(r),"rgba")}function ai(t,e){var n=ti(t);if(n&&null!=e)return n[3]=Wn(e),si(n,"rgba")}function si(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function li(t,e){var n=ti(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var ui=new jn(100);function hi(t){if(X(t)){var e=ui.get(t);return e||(e=ni(t,-.1),ui.put(t,e)),e}if(tt(t)){var n=O({},t);return n.colorStops=z(t.colorStops,(function(t){return{offset:t.offset,color:ni(t.color,-.1)}})),n}return t}var ci=Math.round;function pi(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=ti(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var fi=1e-4;function di(t){return t<fi&&t>-fi}function gi(t){return ci(1e3*t)/1e3}function mi(t){return ci(1e4*t)/1e4}var vi={left:"start",right:"end",center:"middle",middle:"middle"};function yi(t){return t&&!!t.image}function _i(t){return yi(t)||function(t){return t&&!!t.svgElement}(t)}function xi(t){return"linear"===t.type}function bi(t){return"radial"===t.type}function wi(t){return t&&("linear"===t.type||"radial"===t.type)}function Si(t){return"url(#"+t+")"}function Mi(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function Ti(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*bt,r=it(t.scaleX,1),o=it(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+ci(a*bt)+"deg, "+ci(s*bt)+"deg)"),l.join(" ")}var Ci=l.hasGlobalWindow&&U(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},Ai=Array.prototype.slice;function Ii(t,e,n){return(e-t)*n+t}function Di(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=Ii(e[o],n[o],i);return t}function ki(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function Pi(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function Li(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function Oi(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:Ai.call(r[s]));var l=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var u=0;u<l;u++)isNaN(i[s][u])&&(i[s][u]=r[s][u])}}function Ei(t){if(F(t)){var e=t.length;if(F(t[0])){for(var n=[],i=0;i<e;i++)n.push(Ai.call(t[i]));return n}return Ai.call(t)}return t}function Ri(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function Ni(t){return 4===t||5===t}function Fi(t){return 1===t||2===t}var Bi=[0,0,0,0],zi=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=6,s=e;if(F(e)){var l=function(t){return F(t&&t[0])?2:1}(e);a=l,(1===l&&!Y(e[0])||2===l&&!Y(e[0][0]))&&(o=!0)}else if(Y(e)&&!et(e))a=0;else if(X(e))if(isNaN(+e)){var u=ti(e);u&&(s=u,a=3)}else a=0;else if(tt(e)){var h=O({},s);h.colorStops=z(e.colorStops,(function(t){return{offset:t.offset,color:ti(t.color)}})),xi(e)?a=4:bi(e)&&(a=5),s=h}0===r?this.valType=a:a===this.valType&&6!==a||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=U(n)?n:hn[n]||Nn(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Fi(i),l=Ni(i),u=0;u<r;u++){var h=n[u],c=h.value,p=o.value;h.percent=h.time/t,a||(s&&u!==r-1?Oi(c,p,i):l&&Li(c.colorStops,p.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var f=n[0].value;for(u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-f:3===i?n[u].additiveValue=ki([],n[u].value,f,-1):Fi(i)&&(n[u].additiveValue=1===i?ki([],n[u].value,f,-1):Pi([],n[u].value,f,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,o=null!=this._additiveTrack,a=o?"additiveValue":"value",s=this.valType,l=this.keyframes,u=l.length,h=this.propName,c=3===s,p=this._lastFr,f=Math.min;if(1===u)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=f(p+1,u-1);n>=0&&!(l[n].percent<=e);n--);n=f(n,u-2)}else{for(n=p;n<u&&!(l[n].percent>e);n++);n=f(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var d=r.percent-i.percent,g=0===d?1:f((e-i.percent)/d,1);r.easingFunc&&(g=r.easingFunc(g));var m=o?this._additiveValue:c?Bi:t[h];if(!Fi(s)&&!c||m||(m=this._additiveValue=[]),this.discrete)t[h]=g<1?i.rawValue:r.rawValue;else if(Fi(s))1===s?Di(m,i[a],r[a],g):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=Ii(e[a][s],n[a][s],i)}}(m,i[a],r[a],g);else if(Ni(s)){var v=i[a],y=r[a],_=4===s;t[h]={type:_?"linear":"radial",x:Ii(v.x,y.x,g),y:Ii(v.y,y.y,g),colorStops:z(v.colorStops,(function(t,e){var n=y.colorStops[e];return{offset:Ii(t.offset,n.offset,g),color:Ri(Di([],t.color,n.color,g))}})),global:y.global},_?(t[h].x2=Ii(v.x2,y.x2,g),t[h].y2=Ii(v.y2,y.y2,g)):t[h].r=Ii(v.r,y.r,g)}else if(c)Di(m,i[a],r[a],g),o||(t[h]=Ri(m));else{var x=Ii(i[a],r[a],g);o?this._additiveValue=x:t[h]=x}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(ti(t[n],Bi),ki(Bi,Bi,i,1),t[n]=Ri(Bi)):1===e?ki(t[n],t[n],i,1):2===e&&Pi(t[n],t[n],i,1)},t}(),Vi=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?D("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,G(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new zi(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=Ri(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,Ei(l),i),this._trackKeys.push(a)}s.addKeyframe(t,Ei(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=l[u-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var c=new Fn({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&c.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return z(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=Ei(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||G(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var o=r.keyframes;if(o.length>1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),ji=Vi;function Gi(){return(new Date).getTime()}var Hi,Wi,Zi=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return St(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=Gi()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,ln((function e(){t._running&&(ln(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=Gi(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Gi(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Gi()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new ji(t,e.loop);return this.addAnimator(n),n},e}(Ut),Ui=Zi,Xi=l.domSupported,$i=(Wi={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:Hi=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:z(Hi,(function(t){var e=t.replace("mouse","pointer");return Wi.hasOwnProperty(e)?e:t}))}),Yi=["mousemove","mouseup"],qi=["pointermove","pointerup"],Ki=!1;function Ji(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Qi(t){t&&(t.zrByTouch=!0)}function tr(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var er=function(t,e){this.stopPropagation=xt,this.stopImmediatePropagation=xt,this.preventDefault=xt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},nr={mousedown:function(t){t=ue(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ue(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=ue(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){tr(this,(t=ue(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Ki=!0,t=ue(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Ki||(t=ue(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Qi(t=ue(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),nr.mousemove.call(this,t),nr.mousedown.call(this,t)},touchmove:function(t){Qi(t=ue(this.dom,t)),this.handler.processGesture(t,"change"),nr.mousemove.call(this,t)},touchend:function(t){Qi(t=ue(this.dom,t)),this.handler.processGesture(t,"end"),nr.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&nr.click.call(this,t)},pointerdown:function(t){nr.mousedown.call(this,t)},pointermove:function(t){Ji(t)||nr.mousemove.call(this,t)},pointerup:function(t){nr.mouseup.call(this,t)},pointerout:function(t){Ji(t)||nr.mouseout.call(this,t)}};B(["click","dblclick","contextmenu"],(function(t){nr[t]=function(e){e=ue(this.dom,e),this.trigger(t,e)}}));var ir={pointermove:function(t){Ji(t)||ir.mousemove.call(this,t)},pointerup:function(t){ir.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function rr(t,e){var n=e.domHandlers;l.pointerEventsSupported?B($i.pointer,(function(i){ar(e,i,(function(e){n[i].call(t,e)}))})):(l.touchEventsSupported&&B($i.touch,(function(i){ar(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),B($i.mouse,(function(i){ar(e,i,(function(r){r=le(r),e.touching||n[i].call(t,r)}))})))}function or(t,e){function n(n){ar(e,n,(function(i){i=le(i),tr(t,i.target)||(i=function(t,e){return ue(t.dom,new er(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}l.pointerEventsSupported?B(qi,n):l.touchEventsSupported||B(Yi,n)}function ar(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,he(t.domTarget,e,n,i)}function sr(t){var e,n,i,r,o=t.mounted;for(var a in o)o.hasOwnProperty(a)&&(e=t.domTarget,n=a,i=o[a],r=t.listenerOpts[a],e.removeEventListener(n,i,r));t.mounted={}}var lr=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},ur=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new lr(e,nr),Xi&&(i._globalHandlerScope=new lr(document,ir)),rr(i,i._localHandlerScope),i}return St(e,t),e.prototype.dispose=function(){sr(this._localHandlerScope),Xi&&sr(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,Xi&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?or(this,e):sr(e)}},e}(Ut),hr=1;l.hasGlobalWindow&&(hr=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var cr=hr,pr="#333",fr="#ccc",dr=me,gr=5e-5;function mr(t){return t>gr||t<-5e-5}var vr=[],yr=[],_r=[1,0,0,1,0,0],xr=Math.abs,br=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return mr(this.rotation)||mr(this.x)||mr(this.y)||mr(this.scaleX-1)||mr(this.scaleY-1)||mr(this.skewX)||mr(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):dr(n),t&&(e?ye(n,t,n):ve(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(dr(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(vr);var n=vr[0]<0?-1:1,i=vr[1]<0?-1:1,r=((vr[0]-n)*e+n)/vr[0]||0,o=((vr[1]-i)*e+i)/vr[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||[1,0,0,1,0,0],we(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||[1,0,0,1,0,0],ye(yr,t.invTransform,e),e=yr);var n=this.originX,i=this.originY;(n||i)&&(_r[4]=n,_r[5]=i,ye(yr,e,_r),yr[4]-=n,yr[5]-=i,e=yr),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&zt(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&zt(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&xr(t[0]-1)>1e-10&&xr(t[3]-1)>1e-10?Math.sqrt(xr(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){Sr(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var f=n+a,d=i+s;e[4]=-f*r-c*d*o,e[5]=-d*o-p*f*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&xe(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),wr=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Sr(t,e){for(var n=0;n<wr.length;n++){var i=wr[n];t[i]=e[i]}}var Mr=br,Tr={};function Cr(t,e){var n=Tr[e=e||c];n||(n=Tr[e]=new jn(500));var i=n.get(t);return null==i&&(i=g.measureText(t,e).width,n.put(t,i)),i}function Ar(t,e,n,i){var r=Cr(t,e),o=Pr(e),a=Dr(0,r,n),s=kr(0,o,i);return new Ee(a,s,r,o)}function Ir(t,e,n,i){var r=((t||"")+"").split("\n");if(1===r.length)return Ar(r[0],e,n,i);for(var o=new Ee(0,0,0,0),a=0;a<r.length;a++){var s=Ar(r[a],e,n,i);0===a?o.copy(s):o.union(s)}return o}function Dr(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function kr(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Pr(t){return Cr("国",t)}function Lr(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Or(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=Lr(i[0],n.width),u+=Lr(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom"}return(t=t||{}).x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var Er="__zr_normal__",Rr=wr.concat(["ignore"]),Nr=V(wr,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Fr={},Br=new Ee(0,0,0,0),zr=function(){function t(t){this.id=I(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Br;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Fr,n,u):Or(Fr,n,u),r.x=Fr.x,r.y=Fr.y,o=Fr.align,a=Fr.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=Lr(h[0],u.width),p=Lr(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],l||(r.originX=-f[0],r.originY=-f[1]));var d=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,v=void 0,y=void 0;d&&this.canBeInsideText()?(m=n.insideFill,v=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(m),y=!0)):(m=n.outsideFill,v=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(m),y=!0)),(m=m||"#000")===g.fill&&v===g.stroke&&y===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=m,g.stroke=v,g.autoStroke=y,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=tn,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?fr:pr},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&ti(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,si(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},O(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(q(t))for(var n=G(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==Er)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Rr)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Er,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Er;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!(R(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var u=this._textContent,h=this._textGuide;return u&&u.useState(t,e,n,l),h&&h.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~tn),s}D("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],c=!!(h&&h.hoverLayer||n);c&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var d=this._textContent,g=this._textGuide;d&&d.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~tn)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=R(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=R(i,t),o=R(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];O(n,r),r.textConfig&&O(e=e||{},r.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=O({},i?this.textConfig:n.textConfig),O(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,u=0;u<Rr.length;u++){var h=Rr[u],c=r&&Nr[h];e&&null!=e[h]?c?(l=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(c?(l=!0,s[h]=n[h]):this[h]=n[h])}if(!r)for(u=0;u<this.animators.length;u++){var p=this.animators[u],f=p.targetName;p.getLoop()||p.__changeFinalValue(f?(e||n)[f]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new Mr,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),O(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=tn;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var r=new ji(i,e,n);return t&&(r.targetName=t),this.addAnimator(r,t),r},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=R(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){Vr(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){Vr(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=Vr(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=tn;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function Vr(t,e,n,i,r){var o=[];Hr(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,h=function(){s=!0,--a<=0&&(s?l&&l():u&&u())},c=function(){--a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p<o.length;p++){var f=o[p];h&&f.done(h),c&&f.aborted(c),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function jr(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function Gr(t,e,n){if(F(e[n]))if(F(t[n])||(t[n]=[]),J(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),jr(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(F(r[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?jr(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else jr(o,r,a);o.length=r.length}else t[n]=e[n]}function Hr(t,e,n,i,r,o,a,s){for(var l=G(i),u=r.duration,h=r.delay,c=r.additive,p=r.setToFinal,f=!q(o),d=t.animators,g=[],m=0;m<l.length;m++){var v=l[m],y=i[v];if(null!=y&&null!=n[v]&&(f||o[v]))if(!q(y)||F(y)||tt(y))g.push(v);else{if(e){s||(n[v]=y,t.updateDuringAnimation(e));continue}Hr(t,v,n[v],y,r,o&&o[v],a,s)}else s||(n[v]=y,t.updateDuringAnimation(e),g.push(v))}var _=g.length;if(!c&&_)for(var x=0;x<d.length;x++){if((w=d[x]).targetName===e)if(w.stopTracks(g)){var b=R(d,w);d.splice(b,1)}}if(r.force||(g=j(g,(function(t){return e=i[t],r=n[t],!(e===r||F(e)&&F(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r})),_=g.length),_>0||r.force&&!a.length){var w,S=void 0,M=void 0,T=void 0;if(s){M={},p&&(S={});for(x=0;x<_;x++){M[v=g[x]]=n[v],p?S[v]=i[v]:n[v]=i[v]}}else if(p){T={};for(x=0;x<_;x++){T[v=g[x]]=Ei(n[v]),Gr(n,i,v)}}(w=new ji(n,!1,!1,c?j(d,(function(t){return t.targetName===e})):null)).targetName=e,r.scope&&(w.scope=r.scope),p&&S&&w.whenWithKeys(0,S,g),T&&w.whenWithKeys(0,T,g),w.whenWithKeys(null==u?500:u,s?M:i,g).delay(h||0),t.addAnimator(w,e),a.push(w)}}N(zr,Ut),N(zr,Mr);var Wr=zr,Zr=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return St(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=R(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=R(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new Ee(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var a=n[o];if(!a.ignore&&!a.invisible){var s=a.getBoundingRect(),l=a.getLocalTransform(i);l?(Ee.applyTransform(e,s,l),(r=r||e.clone()).union(e)):(r=r||s.clone()).union(s)}}return r||e},e}(Wr);Zr.prototype.type="group";var Ur=Zr,Xr={},$r={};var Yr,qr=function(){function t(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var r=new sn,o=n.renderer||"canvas";Xr[o]||(o=G(Xr)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var a=new Xr[o](e,r,n,t),s=n.ssr||a.ssrOnly;this.storage=r,this.painter=a;var u,h=l.node||l.worker||s?null:new ur(a.getViewportRoot(),a.root),c=n.useCoarsePointer;(null==c||"auto"===c?l.touchEventsSupported:!!c)&&(u=it(n.pointerSize,44)),this.handler=new Ze(r,a,h,a.root,u),this.animation=new Ui({stage:{update:s?null:function(){return i._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return li(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=li(e[r].color,1);return(n/=i)<.4}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=Gi();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Gi();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Ur&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete $r[t])},t}();function Kr(t,e){var n=new qr(I(),t,e);return $r[n.id]=n,n}var Jr=1e-4,Qr=20;function to(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function eo(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return X(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function no(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),Qr),t=(+t).toFixed(e),n?t:+t}function io(t){return t.sort((function(t,e){return t-e})),t}function ro(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}(t)}function oo(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function ao(t,e){var n=V(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var i=Math.pow(10,e),r=z(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=z(r,(function(t){return Math.floor(t)})),s=V(a,(function(t,e){return t+e}),0),l=z(r,(function(t,e){return t-a[e]}));s<o;){for(var u=Number.NEGATIVE_INFINITY,h=null,c=0,p=l.length;c<p;++c)l[c]>u&&(u=l[c],h=c);++a[h],l[h]=0,++s}return z(a,(function(t){return t/i}))}function so(t,e){var n=Math.max(ro(t),ro(e)),i=t+e;return n>Qr?i:no(i,n)}var lo=9007199254740991;function uo(t){var e=2*Math.PI;return(t%e+e)%e}function ho(t){return t>-Jr&&t<Jr}var co=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function po(t){if(t instanceof Date)return t;if(X(t)){var e=co.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function fo(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function go(t,e){var n=fo(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function mo(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function vo(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i<t.length;){for(var r=t[i].interval,o=t[i].close,a=0;a<2;a++)r[a]<=e&&(r[a]=e,o[a]=a?1:1-n),e=r[a],n=o[a];r[0]===r[1]&&o[0]*o[1]!=1?t.splice(i,1):i++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function yo(t){var e=parseFloat(t);return e==t&&(0!==e||!X(t)||t.indexOf("x")<=0)?e:NaN}function _o(t){return!isNaN(yo(t))}function xo(){return Math.round(9*Math.random())}function bo(t,e){return 0===e?t:bo(e,t%e)}function wo(t,e){return null==t?e:null==e?t:t*e/bo(t,e)}function So(t,e,n){return(e-t)*n+t}var Mo="series\0",To="\0_ec_\0";function Co(t){return t instanceof Array?t:null==t?[]:[t]}function Ao(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var Io=["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 Do(t){return!q(t)||Z(t)||t instanceof Date?t:t.value}function ko(t){return q(t)&&!(t instanceof Array)}function Po(t,e,n){var i="normalMerge"===n,r="replaceMerge"===n,o="replaceAll"===n;t=t||[],e=(e||[]).slice();var a=gt();B(e,(function(t,n){q(t)||(e[n]=null)}));var s,l,u=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||No(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,a,n);return(i||r)&&function(t,e,n,i){B(i,(function(r,o){if(r&&null!=r.id){var a=Oo(r.id),s=n.get(a);if(null!=s){var l=t[s];st(!l.newOption,'Duplicated option on id "'+a+'".'),l.newOption=r,l.existing=e[s],i[o]=null}}}))}(u,t,a,e),i&&function(t,e){B(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!No(n)&&!No(o)&&Lo("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}(u,e),i||r?function(t,e,n){B(e,(function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||No(i.existing)||i.existing&&null!=e.id&&!Lo("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(u,e,r):o&&function(t,e){B(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),s=u,l=gt(),B(s,(function(t){var e=t.existing;e&&l.set(e.id,t)})),B(s,(function(t){var e=t.newOption;st(!e||null==e.id||!l.get(e.id)||l.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&l.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),B(s,(function(t,e){var n=t.existing,i=t.newOption,r=t.keyInfo;if(q(i)){if(r.name=null!=i.name?Oo(i.name):n?n.name:Mo+e,n)r.id=Oo(n.id);else if(null!=i.id)r.id=Oo(i.id);else{var o=0;do{r.id="\0"+r.name+"\0"+o++}while(l.get(r.id))}l.set(r.id,t)}})),u}function Lo(t,e,n){var i=Eo(e[t],null),r=Eo(n[t],null);return null!=i&&null!=r&&i===r}function Oo(t){return Eo(t,"")}function Eo(t,e){return null==t?e:X(t)?t:Y(t)||$(t)?t+"":e}function Ro(t){var e=t.name;return!(!e||!e.indexOf(Mo))}function No(t){return t&&null!=t.id&&0===Oo(t.id).indexOf(To)}function Fo(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?Z(e.dataIndex)?z(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?Z(e.name)?z(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function Bo(){var t="__ec_inner_"+zo++;return function(e){return e[t]||(e[t]={})}}var zo=xo();function Vo(t,e,n){var i=jo(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,i){var r=Wo(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]})),a}function jo(t,e){var n;if(X(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=gt(),o={},a=!1;return B(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&R(e.includeMainTypes,s)<0))a=a||!!s,(r.get(s)||r.set(s,{}))[l]=t}else o[n]=t})),{mainTypeSpecified:a,queryOptionMap:r,others:o}}var Go={useDefault:!0,enableAll:!1,enableNone:!1},Ho={useDefault:!1,enableAll:!0,enableNone:!0};function Wo(t,e,n,i){i=i||Go;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||!1===r?(st(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(st(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function Zo(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function Uo(t,e){var n=gt(),i=[];return B(t,(function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)})),{keys:i,buckets:n}}function Xo(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if(Y(i))return no(d=So(n||0,i,r),o?Math.max(ro(n||0),ro(i)):e);if(X(i))return r<1?n:i;for(var a=[],s=n,l=i,u=Math.max(s?s.length:0,l.length),h=0;h<u;++h){var c=t.getDimensionInfo(h);if(c&&"ordinal"===c.type)a[h]=(r<1&&s?s:l)[h];else{var p=s&&s[h]?s[h]:0,f=l[h],d=So(p,f,r);a[h]=no(d,o?Math.max(ro(p),ro(f)):e)}}return a}var $o=".",Yo="___EC__COMPONENT__CONTAINER___",qo="___EC__EXTENDED_CLASS___";function Ko(t){var e={main:"",sub:""};if(t){var n=t.split($o);e.main=n[0]||"",e.sub=n[1]||""}return e}function Jo(t,e){t.$constructor=t,t.extend=function(t){var e,n,i=this;return U(n=i)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return o(e,t),e}(i):(e=function(){(t.$constructor||i).apply(this,arguments)},function(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}(e,this)),O(e.prototype,t),e[qo]=!0,e.extend=this.extend,e.superCall=ea,e.superApply=na,e.superClass=i,e}}function Qo(t,e){t.extend=e.extend}var ta=Math.round(10*Math.random());function ea(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function na(t,e,n){return this.superClass.prototype[e].apply(t,n)}function ia(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){st(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=i),'componentType "'+n+'" illegal'),t.prototype.type=i;var r=Ko(i);if(r.sub){if(r.sub!==Yo){var o=function(t){var n=e[t.main];
vendor: 5,474 bytes, line 1
1n&&n[Yo]||((n=e[t.main]={})[Yo]=!0);return n}(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[Yo]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=Ko(t),i=[],r=e[n.main];return r&&r[Yo]?B(r,(function(t,e){e!==Yo&&i.push(t)})):i.push(r),i},t.hasClass=function(t){var n=Ko(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return B(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=Ko(t),i=e[n.main];return i&&i[Yo]}}function ra(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,r){for(var o={},a=0;a<t.length;a++){var s=t[a][1];if(!(i&&R(i,s)>=0||r&&R(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var oa=ra([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),aa=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return oa(this,t,e)},t}(),sa=new jn(50);function la(t){if("string"==typeof t){var e=sa.get(t);return e&&e.image}return t}function ua(t,e,n,i,r){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=sa.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?!ca(e=o.image)&&o.pending.push(a):((e=g.loadImage(t,ha,ha)).__zrImageSrc=t,sa.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function ha(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function ca(t){return t&&t.width&&t.height}var pa=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function fa(t,e,n,i,r,o){if(!n)return t.text="",void(t.isTruncated=!1);var a=(e+"").split("\n");o=da(n,i,r,o);for(var s=!1,l={},u=0,h=a.length;u<h;u++)ga(l,a[u],o),a[u]=l.textLine,s=s||l.isTruncated;t.text=a.join("\n"),t.isTruncated=s}function da(t,e,n,i){var r=O({},i=i||{});r.font=e,n=it(n,"..."),r.maxIterations=it(i.maxIterations,2);var o=r.minChar=it(i.minChar,0);r.cnCharWidth=Cr("国",e);var a=r.ascCharWidth=Cr("a",e);r.placeholder=it(i.placeholder,"");for(var s=t=Math.max(0,t-1),l=0;l<o&&s>=a;l++)s-=a;var u=Cr(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function ga(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=Cr(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?ma(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;a=Cr(e=e.substr(0,l),r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function ma(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}var va=function(){},ya=function(t){this.tokens=[],t&&(this.tokens=t)},_a=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function xa(t,e,n,i,r){var o,a,s=""===e,l=r&&n.rich[r]||{},u=t.lines,h=l.font||n.font,c=!1;if(i){var p=l.padding,f=p?p[1]+p[3]:0;if(null!=l.width&&"auto"!==l.width){var d=Lr(l.width,i.width)+f;u.length>0&&d+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=d}else{var g=Sa(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+f,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var m=0;m<o.length;m++){var v=o[m],y=new va;if(y.styleName=r,y.text=v,y.isLineHolder=!v&&!s,"number"==typeof l.width?y.width=l.width:y.width=a?a[m]:Cr(v,h),m||c)u.push(new ya([y]));else{var _=(u[u.length-1]||(u[0]=new ya)).tokens,x=_.length;1===x&&_[0].isLineHolder?_[0]=y:(v||!x||s)&&_.push(y)}}}var ba=V(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function wa(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!ba[t]}function Sa(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;c<t.length;c++){var p=t.charAt(c);if("\n"!==p){var f=Cr(p,e),d=!i&&!wa(p);(o.length?h+f>n:r+h+f>n)?h?(s||l)&&(d?(s||(s=l,l="",h=u=0),o.push(s),a.push(h-u),l+=p,s="",h=u+=f):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=f)):d?(o.push(l),a.push(u),l=p,u=f):(o.push(p),a.push(f)):(h+=f,d?(l+=p,u+=f):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var Ma="__zr_style_"+Math.round(10*Math.random()),Ta={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ca={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Ta[Ma]=!0;var Aa=["z","z2","invisible"],Ia=["invisible"],Da=function(t){function e(e){return t.call(this,e)||this}var n;return St(e,t),e.prototype._init=function(e){for(var n=G(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){ka.copy(t.getBoundingRect
vendor: 19,104 bytes, line 1
1()),t.transform&&ka.applyTransform(t.transform);return Pa.width=e,Pa.height=n,!ka.intersect(Pa)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,o=i.shadowOffsetX||0,a=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Ee(0,0,0,0)),e?Ee.applyTransform(t,n,e):t.copy(n),(r||o||a)&&(t.width+=2*r+Math.abs(o),t.height+=2*r+Math.abs(a),t.x=Math.min(t.x,t.x+o-r),t.y=Math.min(t.y,t.y+a-r));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Ee(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:O(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return vt(Ta,t)},e.prototype.useStyle=function(t){t[Ma]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Ma]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,Aa)},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.style?o?r?s=n.style:(s=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(s,n.style)):l&&(s=i.style),s)if(o){var u=this.style;if(this.style=this.createStyle(l?{}:u),l)for(var h=G(u),c=0;c<h.length;c++){(f=h[c])in s&&(s[f]=s[f],this.style[f]=u[f])}var p=G(s);for(c=0;c<p.length;c++){var f=p[c];this.style[f]=this.style[f]}this._transitionState(e,{style:s},a,this.getAnimationStyleProps())}else this.useStyle(s);var d=this.__inHover?Ia:Aa;for(c=0;c<d.length;c++){f=d[c];n&&null!=n[f]?this[f]=n[f]:l&&null!=i[f]&&(this[f]=i[f])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return O(t,e),t},e.prototype.getAnimationStyleProps=function(){return Ca},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=2|tn)),e}(Wr),ka=new Ee(0,0,0,0),Pa=new Ee(0,0,0,0);var La=Da,Oa=Math.min,Ea=Math.max,Ra=Math.sin,Na=Math.cos,Fa=2*Math.PI,Ba=Mt(),za=Mt(),Va=Mt();function ja(t,e,n){if(0!==t.length){for(var i=t[0],r=i[0],o=i[0],a=i[1],s=i[1],l=1;l<t.length;l++)i=t[l],r=Oa(r,i[0]),o=Ea(o,i[0]),a=Oa(a,i[1]),s=Ea(s,i[1]);e[0]=r,e[1]=a,n[0]=o,n[1]=s}}function Ga(t,e,n,i,r,o){r[0]=Oa(t,n),r[1]=Oa(e,i),o[0]=Ea(t,n),o[1]=Ea(e,i)}var Ha=[],Wa=[];function Za(t,e,n,i,r,o,a,s,l,u){var h=Tn,c=wn,p=h(t,n,r,a,Ha);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var f=0;f<p;f++){var d=c(t,n,r,a,Ha[f]);l[0]=Oa(d,l[0]),u[0]=Ea(d,u[0])}p=h(e,i,o,s,Wa);for(f=0;f<p;f++){var g=c(e,i,o,s,Wa[f]);l[1]=Oa(g,l[1]),u[1]=Ea(g,u[1])}l[0]=Oa(t,l[0]),u[0]=Ea(t,u[0]),l[0]=Oa(a,l[0]),u[0]=Ea(a,u[0]),l[1]=Oa(e,l[1]),u[1]=Ea(e,u[1]),l[1]=Oa(s,l[1]),u[1]=Ea(s,u[1])}function Ua(t,e,n,i,r,o,a,s){var l=Pn,u=Dn,h=Ea(Oa(l(t,n,r),1),0),c=Ea(Oa(l(e,i,o),1),0),p=u(t,n,r,h),f=u(e,i,o,c);a[0]=Oa(t,r,p),a[1]=Oa(e,o,f),s[0]=Ea(t,r,p),s[1]=Ea(e,o,f)}function Xa(t,e,n,i,r,o,a,s,l){var u=Vt,h=jt,c=Math.abs(r-o);if(c%Fa<1e-4&&c>1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(Ba[0]=Na(r)*n+t,Ba[1]=Ra(r)*i+e,za[0]=Na(o)*n+t,za[1]=Ra(o)*i+e,u(s,Ba,za),h(l,Ba,za),(r%=Fa)<0&&(r+=Fa),(o%=Fa)<0&&(o+=Fa),r>o&&!a?o+=Fa:r<o&&a&&(r+=Fa),a){var p=o;o=r,r=p}for(var f=0;f<o;f+=Math.PI/2)f>r&&(Va[0]=Na(f)*n+t,Va[1]=Ra(f)*i+e,u(s,Va,s),h(l,Va,l))}var $a={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ya=[],qa=[],Ka=[],Ja=[],Qa=[],ts=[],es=Math.min,ns=Math.max,is=Math.cos,rs=Math.sin,os=Math.abs,as=Math.PI,ss=2*as,ls="undefined"!=typeof Float32Array,us=[];function hs(t){return Math.round(t/as*1e8)/1e8%2*as}function cs(t,e){var n=hs(t[0]);n<0&&(n+=ss);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=ss?r=n+ss:e&&n-r>=ss?r=n-ss:!e&&n>r?r=n+(ss-hs(n-r)):e&&n<r&&(r=n-(ss-hs(r-n))),t[0]=n,t[1]=r}var ps=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=os(n/cr/t)||0,this._uy=os(n/cr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData($a.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=os(t-this._xi),i=os(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData($a.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData($a.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData($a.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),us[0]=i,us[1]=r,cs(us,o),i=us[0];var a=(r=us[1])-i;return this.addData($a.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=is(r)*n+t,this._yi=rs(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData($a.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData($a.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!ls||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();ls&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,ls&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Ka[0]=Ka[1]=Qa[0]=Qa[1]=Number.MAX_VALUE,Ja[0]=Ja[1]=ts[0]=ts[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;t<this._len;){var a=e[t++],s=1===t;switch(s&&(r=n=e[t],o=i=e[t+1]),a){case $a.M:n=r=e[t++],i=o=e[t++],Qa[0]=r,Qa[1]=o,ts[0]=r,ts[1]=o;break;case $a.L:Ga(n,i,e[t],e[t+1],Qa,ts),n=e[t++],i=e[t++];break;case $a.C:Za(n,i,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Qa,ts),n=e[t++],i=e[t++];break;case $a.Q:Ua(n,i,e[t++],e[t++],e[t],e[t+1],Qa,ts),n=e[t++],i=e[t++];break;case $a.A:var l=e[t++],u=e[t++],h=e[t++],c=e[t++],p=e[t++],f=e[t++]+p;t+=1;var d=!e[t++];s&&(r=is(p)*h+l,o=rs(p)*c+u),Xa(l,u,h,c,p,f,d,Qa,ts),n=is(f)*h+l,i=rs(f)*c+u;break;case $a.R:Ga(r=n=e[t++],o=i=e[t++],r+e[t++],o+e[t++],Qa,ts);break;case $a.Z:n=r,i=o}Vt(Ka,Ka,Qa),jt(Ja,Ja,ts)}return 0===t&&(Ka[0]=Ka[1]=Ja[0]=Ja[1]=0),new Ee(Ka[0],Ka[1],Ja[0]-Ka[0],Ja[1]-Ka[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,a=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,u=0,h=0,c=0;c<e;){var p=t[c++],f=1===c;f&&(a=r=t[c],s=o=t[c+1]);var d=-1;switch(p){case $a.M:r=a=t[c++],o=s=t[c++];break;case $a.L:var g=t[c++],m=(_=t[c++])-o;(os(D=g-r)>n||os(m)>i||c===e-1)&&(d=Math.sqrt(D*D+m*m),r=g,o=_);break;case $a.C:var v=t[c++],y=t[c++],_=(g=t[c++],t[c++]),x=t[c++],b=t[c++];d=In(r,o,v,y,g,_,x,b,10),r=x,o=b;break;case $a.Q:d=En(r,o,v=t[c++],y=t[c++],g=t[c++],_=t[c++],10),r=g,o=_;break;case $a.A:var w=t[c++],S=t[c++],M=t[c++],T=t[c++],C=t[c++],A=t[c++],I=A+C;c+=1,f&&(a=is(C)*M+w,s=rs(C)*T+S),d=ns(M,T)*es(ss,Math.abs(A)),r=is(I)*M+w,o=rs(I)*T+S;break;case $a.R:a=r=t[c++],s=o=t[c++],d=2*t[c++]+2*t[c++];break;case $a.Z:var D=a-r;m=s-o;d=Math.sqrt(D*D+m*m),r=a,o=s}d>=0&&(l[h++]=d,u+=d)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p=this.data,f=this._ux,d=this._uy,g=this._len,m=e<1,v=0,y=0,_=0;if(!m||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var b=p[x++],w=1===x;switch(w&&(n=r=p[x],i=o=p[x+1]),b!==$a.L&&_>0&&(t.lineTo(h,c),_=0),b){case $a.M:n=r=p[x++],i=o=p[x++],t.moveTo(r,o);break;case $a.L:a=p[x++],s=p[x++];var S=os(a-r),M=os(s-o);if(S>f||M>d){if(m){if(v+($=l[y++])>u){var T=(u-v)/$;t.lineTo(r*(1-T)+a*T,o*(1-T)+s*T);break t}v+=$}t.lineTo(a,s),r=a,o=s,_=0}else{var C=S*S+M*M;C>_&&(h=a,c=s,_=C)}break;case $a.C:var A=p[x++],I=p[x++],D=p[x++],k=p[x++],P=p[x++],L=p[x++];if(m){if(v+($=l[y++])>u){Cn(r,A,D,P,T=(u-v)/$,Ya),Cn(o,I,k,L,T,qa),t.bezierCurveTo(Ya[1],qa[1],Ya[2],qa[2],Ya[3],qa[3]);break t}v+=$}t.bezierCurveTo(A,I,D,k,P,L),r=P,o=L;break;case $a.Q:A=p[x++],I=p[x++],D=p[x++],k=p[x++];if(m){if(v+($=l[y++])>u){Ln(r,A,D,T=(u-v)/$,Ya),Ln(o,I,k,T,qa),t.quadraticCurveTo(Ya[1],qa[1],Ya[2],qa[2]);break t}v+=$}t.quadraticCurveTo(A,I,D,k),r=D,o=k;break;case $a.A:var O=p[x++],E=p[x++],R=p[x++],N=p[x++],F=p[x++],B=p[x++],z=p[x++],V=!p[x++],j=R>N?R:N,G=os(R-N)>.001,H=F+B,W=!1;if(m)v+($=l[y++])>u&&(H=F+B*(u-v)/$,W=!0),v+=$;if(G&&t.ellipse?t.ellipse(O,E,R,N,z,F,H,V):t.arc(O,E,j,F,H,V),W)break t;w&&(n=is(F)*R+O,i=rs(F)*N+E),r=is(H)*R+O,o=rs(H)*N+E;break;case $a.R:n=r=p[x],i=o=p[x+1],a=p[x++],s=p[x++];var Z=p[x++],U=p[x++];if(m){if(v+($=l[y++])>u){var X=u-v;t.moveTo(a,s),t.lineTo(a+es(X,Z),s),(X-=Z)>0&&t.lineTo(a+Z,s+es(X,U)),(X-=U)>0&&t.lineTo(a+ns(Z-X,0),s+U),(X-=Z)>0&&t.lineTo(a,s+ns(U-X,0));break t}v+=$}t.rect(a,s,Z,U);break;case $a.Z:if(m){var $;if(v+($=l[y++])>u){T=(u-v)/$;t.lineTo(r*(1-T)+n*T,o*(1-T)+i*T);break t}v+=$}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=$a,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),fs=ps;function ds(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;var u=(l=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return u*u/(l*l+1)<=s/2*s/2}function gs(t,e,n,i,r,o,a,s,l,u,h){if(0===l)return!1;var c=l;return!(h>e+c&&h>i+c&&h>o+c&&h>s+c||h<e-c&&h<i-c&&h<o-c&&h<s-c||u>t+c&&u>n+c&&u>r+c&&u>a+c||u<t-c&&u<n-c&&u<r-c&&u<a-c)&&An(t,e,n,i,r,o,a,s,u,h,null)<=c/2}function ms(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;return!(l>e+u&&l>i+u&&l>o+u||l<e-u&&l<i-u&&l<o-u||s>t+u&&s>n+u&&s>r+u||s<t-u&&s<n-u&&s<r-u)&&On(t,e,n,i,r,o,s,l,null)<=u/2}var vs=2*Math.PI;function ys(t){return(t%=vs)<0&&(t+=vs),t}var _s=2*Math.PI;function xs(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var h=Math.sqrt(s*s+l*l);if(h-u>n||h+u<n)return!1;if(Math.abs(i-r)%_s<1e-4)return!0;if(o){var c=i;i=ys(r),r=ys(c)}else i=ys(i),r=ys(r);i>r&&(r+=_s);var p=Math.atan2(l,s);return p<0&&(p+=_s),p>=i&&p<=r||p+_s>=i&&p+_s<=r}function bs(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var ws=fs.CMD,Ss=2*Math.PI,Ms=1e-4;var Ts=[-1,-1,-1],Cs=[-1,-1];function As(t,e,n,i,r,o,a,s,l,u){if(u>e&&u>i&&u>o&&u>s||u<e&&u<i&&u<o&&u<s)return 0;var h,c=Mn(e,i,o,s,u,Ts);if(0===c)return 0;for(var p=0,f=-1,d=void 0,g=void 0,m=0;m<c;m++){var v=Ts[m],y=0===v||1===v?.5:1;wn(t,n,r,a,v)<l||(f<0&&(f=Tn(e,i,o,s,Cs),Cs[1]<Cs[0]&&f>1&&(h=void 0,h=Cs[0],Cs[0]=Cs[1],Cs[1]=h),d=wn(e,i,o,s,Cs[0]),f>1&&(g=wn(e,i,o,s,Cs[1]))),2===f?v<Cs[0]?p+=d<e?y:-y:v<Cs[1]?p+=g<d?y:-y:p+=s<g?y:-y:v<Cs[0]?p+=d<e?y:-y:p+=s<d?y:-y)}return p}function Is(t,e,n,i,r,o,a,s){if(s>e&&s>i&&s>o||s<e&&s<i&&s<o)return 0;var l=function(t,e,n,i,r){var o=t-2*e+n,a=2*(e-t),s=t-i,l=0;if(xn(o))bn(a)&&(h=-s/a)>=0&&h<=1&&(r[l++]=h);else{var u=a*a-4*o*s;if(xn(u))(h=-a/(2*o))>=0&&h<=1&&(r[l++]=h);else if(u>0){var h,c=pn(u),p=(-a-c)/(2*o);(h=(-a+c)/(2*o))>=0&&h<=1&&(r[l++]=h),p>=0&&p<=1&&(r[l++]=p)}}return l}(e,i,o,s,Ts);if(0===l)return 0;var u=Pn(e,i,o);if(u>=0&&u<=1){for(var h=0,c=Dn(e,i,o,u),p=0;p<l;p++){var f=0===Ts[p]||1===Ts[p]?.5:1;Dn(t,n,r,Ts[p])<a||(Ts[p]<u?h+=c<e?f:-f:h+=o<c?f:-f)}return h}f=0===Ts[0]||1===Ts[0]?.5:1;return Dn(t,n,r,Ts[0])<a?0:o<e?f:-f}function Ds(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);Ts[0]=-l,Ts[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=Ss-1e-4){i=0,r=Ss;var h=o?1:-1;return a>=Ts[0]+t&&a<=Ts[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=Ss,r+=Ss);for(var p=0,f=0;f<2;f++){var d=Ts[f];if(d+t>a){var g=Math.atan2(s,d);h=o?1:-1;g<0&&(g=Ss+g),(g>=i&&g<=r||g+Ss>=i&&g+Ss<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function ks(t,e,n,i,r){for(var o,a,s,l,u=t.data,h=t.len(),c=0,p=0,f=0,d=0,g=0,m=0;m<h;){var v=u[m++],y=1===m;switch(v===ws.M&&m>1&&(n||(c+=bs(p,f,d,g,i,r))),y&&(d=p=u[m],g=f=u[m+1]),v){case ws.M:p=d=u[m++],f=g=u[m++];break;case ws.L:if(n){if(ds(p,f,u[m],u[m+1],e,i,r))return!0}else c+=bs(p,f,u[m],u[m+1],i,r)||0;p=u[m++],f=u[m++];break;case ws.C:if(n){if(gs(p,f,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],e,i,r))return!0}else c+=As(p,f,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],i,r)||0;p=u[m++],f=u[m++];break;case ws.Q:if(n){if(ms(p,f,u[m++],u[m++],u[m],u[m+1],e,i,r))return!0}else c+=Is(p,f,u[m++],u[m++],u[m],u[m+1],i,r)||0;p=u[m++],f=u[m++];break;case ws.A:var _=u[m++],x=u[m++],b=u[m++],w=u[m++],S=u[m++],M=u[m++];m+=1;var T=!!(1-u[m++]);o=Math.cos(S)*b+_,a=Math.sin(S)*w+x,y?(d=o,g=a):c+=bs(p,f,o,a,i,r);var C=(i-_)*w/b+_;if(n){if(xs(_,x,w,S,S+M,T,e,C,r))return!0}else c+=Ds(_,x,w,S,S+M,T,C,r);p=Math.cos(S+M)*b+_,f=Math.sin(S+M)*w+x;break;case ws.R:if(d=p=u[m++],g=f=u[m++],o=d+u[m++],a=g+u[m++],n){if(ds(d,g,o,g,e,i,r)||ds(o,g,o,a,e,i,r)||ds(o,a,d,a,e,i,r)||ds(d,a,d,g,e,i,r))return!0}else c+=bs(o,g,o,a,i,r),c+=bs(d,a,d,g,i,r);break;case ws.Z:if(n){if(ds(p,f,d,g,e,i,r))return!0}else c+=bs(p,f,d,g,i,r);p=d,f=g}}return n||(s=f,l=g,Math.abs(s-l)<Ms)||(c+=bs(p,f,d,g,i,r)||0),0!==c}var Ps=E({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Ta),Ls={style:E({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Ca.style)},Os=wr.concat(["invisible","culling","z","z2","zlevel","parent"]),Es=function(t){function e(e){return t.call(this,e)||this}var n;return St(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<Os.length;++s)r[Os[s]]=this[Os[s]];r.__dirty|=tn}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=G(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?O(this.style,a):this.useStyle(a):"shape"===o?O(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(X(t)){var e=li(t,0);return e>.5?pr:e>.2?"#eee":fr}if(t)return fr}return pr},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(X(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===li(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~en},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new fs(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;
vendor: 5,111 bytes, line 1
1return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&en)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return ks(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return ks(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=en,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:O(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&en)},e.prototype.createStyle=function(t){return vt(Ps,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=O({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=O({},i.shape),O(s,n.shape)):(s=O({},r?this.shape:i.shape),O(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=O({},this.shape);for(var u={},h=G(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return Ls},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return St(n,e),n.prototype.getDefaultStyle=function(){return k(t.style)},n.prototype.getDefaultShape=function(){return k(t.shape)},n}(e);for(var i in t)"function"==typeof t[i]&&(n.prototype[i]=t[i]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=2|tn|en)),e}(La),Rs=Es,Ns=E({strokeFirst:!0,font:c,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Ps),Fs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return St(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return vt(Ns,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=Ir(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(La);Fs.prototype.type="tspan";var Bs=Fs,zs=E({x:0,y:0},Ta),Vs={style:E({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Ca.style)};var js=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return St(e,t),e.prototype.createStyle=function(t){return vt(zs,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!=typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Vs},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ee(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(La);js.prototype.type="image";var Gs=js;var Hs=Math.round;
vendor: 1,479 bytes, line 1
1function Ws(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Hs(2*i)===Hs(2*r)&&(t.x1=t.x2=Us(i,s,!0)),Hs(2*o)===Hs(2*a)&&(t.y1=t.y2=Us(o,s,!0)),t):t}}function Zs(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Us(i,s,!0),t.y=Us(r,s,!0),t.width=Math.max(Us(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Us(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Us(t,e,n){if(!e)return t;var i=Hs(2*t);return(i+Hs(e))%2==0?i/2:(i+(n?1:-1))/2}var Xs=function(){this.x=0,this.y=0,this.width=0,this.height=0},$s={},Ys=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Xs},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Zs($s,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"==typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(n*=u/(a=n+i),i*=u/a),r+o>u&&(r*=u/(a=r+o),o*=u/a),i+r>h&&(i*=h/(a=i+r),r*=h/a),n+o>h&&(n*=h/(a=n+o),o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l
vendor: 4,281 bytes, line 1
1+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Rs);Ys.prototype.type="rect";var qs=Ys,Ks={fill:"#000"},Js={style:E({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Ca.style)},Qs=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ks,n.attr(e),n}return St(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,al(t=this.style),B(t.rich,al),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new Ee(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Ks},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return O(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=G(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},O(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return Js},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||c,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,o=e.font,a="truncate"===i,s=Pr(o),l=it(e.lineHeight,s),u=!!e.backgroundColor,h="truncate"===e.lineOverflow,c=!1,p=e.width,f=(n=null==p||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?Sa(t,e.font,p,"breakAll"===i,0).lines:[]).length*l,d=it(e.height,f);if(f>d&&h){var g=Math.floor(d/l);c=c||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=p)for(var m=da(p,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v={},y=0;y<n.length;y++)ga(v,n[y],m),n[y]=v.textLine,c=c||v.isTruncated;var _=d,x=0;for(y=0;y<n.length;y++)x=Math.max(Cr(n[y],o),x);null==p&&(p=x);var b=x;return r&&(_+=r[0]+r[2],b+=r[1]+r[3],p+=r[1]+r[3]),u&&(b=p),{lines:n,height:d,outerWidth:b,outerHeight:_,lineHeight:l,calculatedLineHeight:s,contentWidth:x,contentHeight:f,width:p,isTruncated:c}}(hl(t),t),r=cl(t),o=!!t.backgroundColor,a=i.outerHeight,s=i.outerWidth,l=i.contentWidth,u=i.lines,h=i.lineHeight,p=this._defaultStyle;this.isTruncated=!!i.isTruncated;var f=t.x||0,d=t.y||0,g=t.align||p.align||"left",m=t.verticalAlign||p.verticalAlign||"top",v=f,y=kr(d,i.contentHeight,m);if(r||n){var _=Dr(f,s,g),x=kr(d,a,m);
vendor: 1,437 bytes, line 1
1r&&this._renderBackground(t,t,_,x,s,a)}y+=h/2,n&&(v=ul(f,g,n),"top"===m?y+=n[0]:"bottom"===m&&(y-=n[2]));for(var b=0,w=!1,S=(ll("fill"in t?t.fill:(w=!0,p.fill))),M=(sl("stroke"in t?t.stroke:o||p.autoStroke&&!w?null:(b=2,p.stroke))),T=t.textShadowBlur>0,C=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),A=i.calculatedLineHeight,I=0;I<u.length;I++){var D=this._getOrCreateChild(Bs),k=D.createStyle();D.useStyle(k),k.text=u[I],k.x=v,k.y=y,g&&(k.textAlign=g),k.textBaseline="middle",k.opacity=t.opacity,k.strokeFirst=!0,T&&(k.shadowBlur=t.textShadowBlur||0,k.shadowColor=t.textShadowColor||"transparent",k.shadowOffsetX=t.textShadowOffsetX||0,k.shadowOffsetY=t.textShadowOffsetY||0),k.stroke=M,k.fill=S,M&&(k.lineWidth=t.lineWidth||b,k.lineDash=t.lineDash,k.lineDashOffset=t.lineDashOffset||0),k.font=e,rl(k,t),y+=h,C&&D.setBoundingRect(new Ee(Dr(k.x,l,k.textAlign),kr(k.y,A,k.textBaseline),l,A))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new _a;if(null!=t&&(t+=""),!t)return n;for(var i,r=e.width,o=e.height,a=e.overflow,s="break"!==a&&"breakAll"!==a||null==r?null:{width:r,accumWidth:0,breakAll:"breakAll"===a},l=pa.lastIndex=0;null!=(i=pa.exec(t));){var u=i.index;u>l&&xa(n,t.substring(l,u),e,s),xa(n,i[2],e,s,i[1]),l=pa.lastIndex}l<t.length&&xa(n,t.substring(l,t.length),e,s);var h=[],c=0,p=0,f=e.padding,d="truncate"===a,g="truncate"===e.lineOverflow,m={};
vendor: 2,660 bytes, line 1
1function v(t,e,n){t.width=e,t.lineHeight=n,c+=n,p=Math.max(p,e)}t:for(var y=0;y<n.lines.length;y++){for(var _=n.lines[y],x=0,b=0,w=0;w<_.tokens.length;w++){var S=(E=_.tokens[w]).styleName&&e.rich[E.styleName]||{},M=E.textPadding=S.padding,T=M?M[1]+M[3]:0,C=E.font=S.font||e.font;E.contentHeight=Pr(C);var A=it(S.height,E.contentHeight);if(E.innerHeight=A,M&&(A+=M[0]+M[2]),E.height=A,E.lineHeight=rt(S.lineHeight,e.lineHeight,A),E.align=S&&S.align||e.align,E.verticalAlign=S&&S.verticalAlign||"middle",g&&null!=o&&c+E.lineHeight>o){var I=n.lines.length;w>0?(_.tokens=_.tokens.slice(0,w),v(_,b,x),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y),n.isTruncated=n.isTruncated||n.lines.length<I;break t}var D=S.width,k=null==D||"auto"===D;if("string"==typeof D&&"%"===D.charAt(D.length-1))E.percentWidth=D,h.push(E),E.contentWidth=Cr(E.text,C);else{if(k){var P=S.backgroundColor,L=P&&P.image;L&&ca(L=la(L))&&(E.width=Math.max(E.width,L.width*A/L.height))}var O=d&&null!=r?r-b:null;null!=O&&O<E.width?!k||O<T?(E.text="",E.width=E.contentWidth=0):(fa(m,E.text,O-T,C,e.ellipsis,{minChar:e.truncateMinChar}),E.text=m.text,n.isTruncated=n.isTruncated||m.isTruncated,E.width=E.contentWidth=Cr(E.text,C)):E.contentWidth=Cr(E.text,C)}E.width+=T,b+=E.width,S&&(x=Math.max(x,E.lineHeight))}v(_,b,x)}for(n.outerWidth=n.width=it(r,p),n.outerHeight=n.height=it(o,c),n.contentHeight=c,n.contentWidth=p,f&&(n.outerWidth+=f[1]+f[3],n.outerHeight+=f[0]+f[2]),y=0;y<h.length;y++){var E,R=(E=h[y]).percentWidth;E.width=parseInt(R,10)/100*n.width}return n}(hl(t),t),n=e.width,i=e.outerWidth,r=e.outerHeight,o=t.padding,a=t.x||0,s=t.y||0,l=this._defaultStyle,u=t.align||l.align,h=t.verticalAlign||l.verticalAlign;this.isTruncated=!!e.isTruncated;var c=Dr(a,i,u),p=kr(s,r,h),f=c,d=p;o&&(f+=o[3],d+=o[0]);var g=f+n;cl(t)&&this._renderBackground(t,t,c,p,i,r);for(var m=!!t.backgroundColor,v=0;v<e.lines.length;v++){for(var y=e.lines[v],_=y.tokens,x=_.length,b=y.lineHeight,w=y.width,S=0,M=f,T=g,C=x-1,A=void 0;S<x&&(!(A=_[S]).align||"left"===A.align);)this._placeToken(A,t,b,d,M,"left",m),w-=A.width,M+=A.width,S++;for(;C>=0&&"right"===(A=_[C]).align;)this._placeToken(A,t,b,d,T,"right",m),w-=A.width,T-=A.width,C--;for(M+=(n-(M-f)-(g-T)-w)/2;S<=C;)A=_[S],this._placeToken(A,t,b,d,M+A.width/2,"center",m),M+=A.width,S++;d+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2),!t.isLineHolder&&cl(s)&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var h=!!s.backgroundColor,p=t.textPadding;
vendor: 19,282 bytes, line 1
1p&&(r=ul(r,o,p),u-=t.height/2-p[0]-t.innerHeight/2);var f=this._getOrCreateChild(Bs),d=f.createStyle();f.useStyle(d);var g=this._defaultStyle,m=!1,v=0,y=ll("fill"in s?s.fill:"fill"in e?e.fill:(m=!0,g.fill)),_=sl("stroke"in s?s.stroke:"stroke"in e?e.stroke:h||a||g.autoStroke&&!m?null:(v=2,g.stroke)),x=s.textShadowBlur>0||e.textShadowBlur>0;d.text=t.text,d.x=r,d.y=u,x&&(d.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,d.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",d.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,d.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),d.textAlign=o,d.textBaseline="middle",d.font=t.font||c,d.opacity=rt(s.opacity,e.opacity,1),rl(d,s),_&&(d.lineWidth=rt(s.lineWidth,e.lineWidth,v),d.lineDash=it(s.lineDash,e.lineDash),d.lineDashOffset=e.lineDashOffset||0,d.stroke=_),y&&(d.fill=y);var b=t.contentWidth,w=t.contentHeight;f.setBoundingRect(new Ee(Dr(d.x,b,d.textAlign),kr(d.y,w,d.textBaseline),b,w))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,p=u&&u.image,f=u&&!p,d=t.borderRadius,g=this;if(f||t.lineHeight||h&&c){(a=this._getOrCreateChild(qs)).useStyle(a.createStyle()),a.style.fill=null;var m=a.shape;m.x=n,m.y=i,m.width=r,m.height=o,m.r=d,a.dirtyShape()}if(f)(l=a.style).fill=u||null,l.fillOpacity=it(t.fillOpacity,1);else if(p){(s=this._getOrCreateChild(Gs)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=u.image,v.x=n,v.y=i,v.width=r,v.height=o}h&&c&&((l=a.style).lineWidth=h,l.stroke=c,l.strokeOpacity=it(t.strokeOpacity,1),l.lineDash=t.borderDash,l.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(l.strokeFirst=!0,l.lineWidth*=2));var y=(a||s).style;y.shadowBlur=t.shadowBlur||0,y.shadowColor=t.shadowColor||"transparent",y.shadowOffsetX=t.shadowOffsetX||0,y.shadowOffsetY=t.shadowOffsetY||0,y.opacity=rt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return ol(t)&&(e=[t.fontStyle,t.fontWeight,il(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&lt(e)||t.textFont||t.font},e}(La),tl={left:!0,right:1,center:1},el={top:1,bottom:1,middle:1},nl=["fontStyle","fontWeight","fontSize","fontFamily"];function il(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?u+"px":t+"px":t}function rl(t,e){for(var n=0;n<nl.length;n++){var i=nl[n],r=e[i];null!=r&&(t[i]=r)}}function ol(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function al(t){if(t){t.font=Qs.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||tl[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||el[n]?n:"top",t.padding&&(t.padding=at(t.padding))}}function sl(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function ll(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function ul(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function hl(t){var e=t.text;return null!=e&&(e+=""),e}function cl(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var pl=Qs,fl=Bo(),dl=function(t,e,n,i){if(i){var r=fl(i);r.dataIndex=n,r.dataType=e,r.seriesIndex=t,r.ssrType="chart","group"===i.type&&i.traverse((function(i){var r=fl(i);r.seriesIndex=t,r.dataIndex=n,r.dataType=e,r.ssrType="chart"}))}},gl=1,ml={},vl=Bo(),yl=Bo(),_l=0,xl=1,bl=2,wl=["emphasis","blur","select"],Sl=["normal","emphasis","blur","select"],Ml=10,Tl=9,Cl="highlight",Al="downplay",Il="select",Dl="unselect",kl="toggleSelect";function Pl(t){return null!=t&&"none"!==t}function Ll(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Ol(t){Ll(t,"emphasis",bl)}function El(t){t.hoverState===bl&&Ll(t,"normal",_l)}function Rl(t){Ll(t,"blur",xl)}function Nl(t){t.hoverState===xl&&Ll(t,"normal",_l)}function Fl(t){t.selected=!0}function Bl(t){t.selected=!1}function zl(t,e,n){e(t,n)}function Vl(t,e,n){zl(t,e,n),t.isGroup&&t.traverse((function(t){zl(t,e,n)}))}function jl(t,e){switch(e){case"emphasis":t.hoverState=bl;break;case"normal":t.hoverState=_l;break;case"blur":t.hoverState=xl;break;case"select":t.selected=!0}}function Gl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var r=n&&R(n,"select")>=0,o=!1;if(t instanceof Rs){var a=vl(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(Pl(s)||Pl(l)){var u=(i=i||{}).style||{};"inherit"===u.fill?(o=!0,i=O({},i),(u=O({},u)).fill=s):!Pl(u.fill)&&Pl(s)?(o=!0,i=O({},i),(u=O({},u)).fill=hi(s)):!Pl(u.stroke)&&Pl(l)&&(o||(i=O({},i),u=O({},u)),u.stroke=hi(l)),i.style=u}}if(i&&null==i.z2){o||(i=O({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:Ml)}return i}(this,0,e,n);if("blur"===t)return function(t,e,n){var i=R(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),a=(n=n||{}).style||{};return null==a.opacity&&(n=O({},n),a=O({opacity:i?r:.1*o.opacity},a),n.style=a),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=O({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:Tl)}return n}(this,0,n)}return n}function Hl(t){t.stateProxy=Gl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Gl),n&&(n.stateProxy=Gl)}function Wl(t,e){!Jl(t,e)&&!t.__highByOuter&&Vl(t,Ol)}function Zl(t,e){!Jl(t,e)&&!t.__highByOuter&&Vl(t,El)}function Ul(t,e){t.__highByOuter|=1<<(e||0),Vl(t,Ol)}function Xl(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Vl(t,El)}function $l(t){Vl(t,Rl)}function Yl(t){Vl(t,Nl)}function ql(t){Vl(t,Fl)}function Kl(t){Vl(t,Bl)}function Jl(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Ql(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=yl(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){Nl(t)})),a&&n.push(r)),o.isBlured=!1})),B(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function tu(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&Yl(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var a=r.getSeriesByIndex(t),s=a.coordinateSystem;s&&s.master&&(s=s.master);var l=[];r.eachSeries((function(t){var r=a===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!r||"coordinateSystem"===n&&!(u&&s?u===s:r)||"series"===e&&r)){if(i.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&r&&"self"===e||Rl(t)})),F(e))o(t.getData(),e);else if(q(e))for(var h=G(e),c=0;c<h.length;c++)o(t.getData(h[c]),e[h[c]]);l.push(t),yl(t).isBlured=!0}})),r.eachComponent((function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,r)}}))}}function eu(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){yl(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){Rl(t)}))}}}function nu(t,e,n,i){var r={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return r;var o=i.getModel().getComponent(t,e);if(!o)return r;var a=i.getViewOfComponentModel(o);if(!a||!a.findHighDownDispatchers)return r;for(var s,l=a.findHighDownDispatchers(n),u=0;u<l.length;u++)if("self"===fl(l[u]).focus){s=!0;break}return{focusSelf:s,dispatchers:l}}function iu(t){B(t.getAllData(),(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?ql(e):Kl(e)}))}))}function ru(t){var e=[];return t.eachSeries((function(t){B(t.getAllData(),(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function ou(t,e,n){cu(t,!0),Vl(t,Hl),su(t,e,n)}function au(t,e,n,i){i?function(t){cu(t,!1)}(t):ou(t,e,n)}function su(t,e,n){var i=fl(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var lu=["emphasis","blur","select"],uu={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function hu(t,e,n,i){n=n||"itemStyle";for(var r=0;r<lu.length;r++){var o=lu[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[uu[n]]()}}function cu(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function pu(t){return!(!t||!t.__highDownDispatcher)}function fu(t){var e=t.type;return e===Il||e===Dl||e===kl}function du(t){var e=t.type;return e===Cl||e===Al}var gu=Bo();function mu(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,u=void 0,h=void 0;return i?(l=it(i.duration,200),u=it(i.easing,"cubicOut"),h=0):(l=e.getShallow(s?"animationDurationUpdate":"animationDuration"),u=e.getShallow(s?"animationEasingUpdate":"animationEasing"),h=e.getShallow(s?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(l=o.duration),null!=o.easing&&(u=o.easing),null!=o.delay&&(h=o.delay)),U(h)&&(h=h(n,r)),U(l)&&(l=l(n)),{duration:l||0,delay:h,easing:u}}return null}function vu(t,e,n,i,r,o,a){var s,l=!1;U(r)?(a=o,o=r,r=null):q(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="leave"===t;u||e.stopAnimation("leave");var h=mu(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(h&&h.duration>0){var c={duration:h.duration,delay:h.delay||0,easing:h.easing,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,c):e.animateTo(n,c)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function yu(t,e,n,i,r,o){vu("update",t,e,n,i,r,o)}function _u(t,e,n,i,r,o){vu("enter",t,e,n,i,r,o)}function xu(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function bu(t,e,n,i,r,o){xu(t)||vu("leave",t,e,n,i,r,o)}function wu(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),bu(t,{style:{opacity:0}},e,n,i)}function Su(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||wu(t,e,n,i)})):wu(t,e,n,i)}function Mu(t){gu(t).oldStyle=t.style}var Tu={};function Cu(t,e){for(var n=0;n<wl.length;n++){var i=wl[n],r=e[i],o=t.ensureState(i);o.style=o.style||{},o.style.text=r}var a=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(a,!0)}function Au(t,e,n){var i,r=t.labelFetcher,o=t.labelDataIndex,a=t.labelDimIndex,s=e.normal;r&&(i=r.getFormattedLabel(o,"normal",null,a,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=U(t.defaultText)?t.defaultText(o,t,n):t.defaultText);for(var l={normal:i},u=0;u<wl.length;u++){var h=wl[u],c=e[h];l[h]=it(r?r.getFormattedLabel(o,h,null,a,c&&c.get("formatter")):null,i)}return l}function Iu(t,e,n,i){n=n||Tu;for(var r=t instanceof pl,o=!1,a=0;a<Sl.length;a++){if((p=e[Sl[a]])&&p.getShallow("show")){o=!0;break}}var s=r?t:t.getTextContent();if(o){r||(s||(s=new pl,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var l=Au(n,e),u=e.normal,h=!!u.getShallow("show"),c=ku(u,i&&i.normal,n,!1,!r);c.text=l.normal,r||t.setTextConfig(Pu(u,n,!1));for(a=0;a<wl.length;a++){var p,f=wl[a];if(p=e[f]){var d=s.ensureState(f),g=!!it(p.getShallow("show"),h);if(g!==h&&(d.ignore=!g),d.style=ku(p,i&&i[f],n,!0,!r),d.style.text=l[f],!r)t.ensureState(f).textConfig=Pu(p,n,!0)}}s.silent=!!u.getShallow("silent"),null!=s.style.x&&(c.x=s.style.x),null!=s.style.y&&(c.y=s.style.y),s.ignore=!h,s.useStyle(c),s.dirty(),n.enableTextSetter&&(Fu(s).setLabelText=function(t){var i=Au(n,e,t);Cu(s,i)})}else s&&(s.ignore=!0);t.dirty()}function Du(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<wl.length;i++){var r=wl[i];n[r]=t.getModel([r,e])}return n}function ku(t,e,n,i,r){var o={};return function(t,e,n,i,r){n=n||Tu;var o,a=e.ecModel,s=a&&a.option.textStyle,l=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||Tu).rich;if(n){e=e||{};for(var i=G(n),r=0;r<i.length;r++){e[i[r]]=1}}t=t.parentModel}return e}(e);if(l)for(var u in o={},l)if(l.hasOwnProperty(u)){var h=e.getModel(["rich",u]);Ru(o[u]={},h,s,n,i,r,!1,!0)}o&&(t.rich=o);var c=e.get("overflow");c&&(t.overflow=c);var p=e.get("minMargin");null!=p&&(t.margin=p);Ru(t,e,s,n,i,r,!0,!1)}(o,t,n,i,r),e&&O(o,e),o}function Pu(t,e,n){e=e||{};var i,r={},o=t.getShallow("rotate"),a=it(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(r.position=i),null!=s&&(r.offset=s),null!=o&&(o*=Math.PI/180,r.rotation=o),null!=a&&(r.distance=a),r.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",r}var Lu=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Ou=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Eu=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ru(t,e,n,i,r,o,a,s){n=!r&&n||Tu;var l=i&&i.inheritColor,u=e.getShallow("color"),h=e.getShallow("textBorderColor"),c=it(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=l||null),"inherit"!==h&&"auto"!==h||(h=l||null),o||(u=u||n.color,h=h||n.textBorderColor),null!=u&&(t.fill=u),null!=h&&(t.stroke=h);var p=it(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=p&&(t.lineWidth=p);var f=it(e.getShallow("textBorderType"),n.textBorderType);null!=f&&(t.lineDash=f);var d=it(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=d&&(t.lineDashOffset=d),r||null!=c||s||(c=i&&i.defaultOpacity),null!=c&&(t.opacity=c),r||o||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var g=0;g<Lu.length;g++){var m=Lu[g];null!=(y=it(e.getShallow(m),n[m]))&&(t[m]=y)}for(g=0;g<Ou.length;g++){m=Ou[g];null!=(y=e.getShallow(m))&&(t[m]=y)}if(null==t.verticalAlign){var v=e.getShallow("baseline");null!=v&&(t.verticalAlign=v)}if(!a||!i.disableBox){for(g=0;g<Eu.length;g++){var y;m=Eu[g];null!=(y=e.getShallow(m))&&(t[m]=y)}var _=e.getShallow("borderType");null!=_&&(t.borderDash=_),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!l||(t.backgroundColor=l),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!l||(t.borderColor=l)}}function Nu(t,e){var n=e&&e.getModel("textStyle");return lt([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var Fu=Bo();function Bu(t,e,n,i){if(t){var r=Fu(t);r.prevValue=r.value,r.value=n;var o=e.normal;r.valueAnimation=o.get("valueAnimation"),r.valueAnimation&&(r.precision=o.get("precision"),r.defaultInterpolatedText=i,r.statesModels=e)}}function zu(t,e,n,i,r){var o=Fu(t);if(o.valueAnimation&&o.prevValue!==o.value){var a=o.defaultInterpolatedText,s=it(o.interpolatedValue,o.prevValue),l=o.value;t.percent=0,(null==o.prevValue?_u:yu)(t,{percent:1},i,e,null,(function(i){var u=Xo(n,o.precision,s,l,i);o.interpolatedValue=1===i?null:u;var h=Au({labelDataIndex:e,labelFetcher:r,defaultText:a?a(u):u+""},o.statesModels,u);Cu(t,h)}))}}var Vu,ju,Gu=["textStyle","color"],Hu=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Wu=new pl,Zu=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Gu):null)},t.prototype.getFont=function(){return Nu({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Hu.length;n++)e[Hu[n]]=this.getShallow(Hu[n]);return Wu.useStyle(e),Wu.update(),Wu.getBoundingRect()},t}(),Uu=Zu,Xu=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],$u=ra(Xu),Yu=function(){function t(){}return t.prototype.getLineStyle=function(t){return $u(this,t)},t}(),qu=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Ku=ra(qu),Ju=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Ku(this,t,e)},t}(),Qu=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){P(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(k(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!l.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();Jo(Qu),Vu=Qu,ju=["__\0is_clz",ta++].join("_"),Vu.prototype[ju]=!0,Vu.isInstance=function(t){return!(!t||!t[ju])},N(Qu,Yu),N(Qu,Ju),N(Qu,aa),N(Qu,Uu);var th=Qu,eh=Math.round(10*Math.random());function nh(t){return[t||"",eh++].join("_")}function ih(t,e){return P(P({},t,!0),e,!0)}var rh="ZH",oh="EN",ah=oh,sh={},lh={},uh=l.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||ah).toUpperCase().indexOf(rh)>-1?rh:ah;function hh(t,e){t=t.toUpperCase(),lh[t]=new th(e),sh[t]=e}function ch(t){return lh[t]}hh(oh,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),hh(rh,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},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:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}
1,",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var ph=1e3,fh=60*ph,dh=60*fh,gh=24*dh,mh=365*gh,vh={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},yh="{yyyy}-{MM}-{dd}",_h={year:"{yyyy}",month:"{yyyy}-{MM}",day:yh,hour:yh+" "+vh.hour,minute:yh+" "+vh.minute,second:yh+" "+vh.second,millisecond:vh.none},xh=["year","month","day","hour","minute","second","millisecond"],bh=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function wh(t,e){return"0000".substr(0,e-(t+="").length)+t}function Sh(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function Mh(t){return t===Sh(t)}function Th(t,e,n,i){var r=po(t),o=r[Ih(n)](),a=r[Dh(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[kh(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[Ph(n)](),c=(h-1)%12+1,p=r[Lh(n)](),f=r[Oh(n)](),d=r[Eh(n)](),g=h>=12?"pm":"am",m=g.toUpperCase(),v=(i instanceof th?i:ch(i||uh)||lh[ah]).getModel("time"),y=v.get("month"),_=v.get("monthAbbr"),x=v.get("dayOfWeek"),b=v.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,m+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,wh(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,y[a-1]).replace(/{MMM}/g,_[a-1]).replace(/{MM}/g,wh(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,wh(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,wh(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,wh(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,wh(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,wh(f,2)).replace(/{s}/g,f+"").replace(/{SSS}/g,wh(d,3)).replace(/{S}/g,d+"")}function Ch(t,e){var n=po(t),i=n[Dh(e)]()+1,r=n[kh(e)](),o=n[Ph(e)](),a=n[Lh(e)](),s=n[Oh(e)](),l=0===n[Eh(e)](),u=l&&0===s,h=u&&0===a,c=h&&0===o,p=c&&1===r;return p&&1===i?"year":p?"month":c?"day":h?"hour":u?"minute":l?"second":"millisecond"}function Ah(t,e,n){var i=Y(t)?po(t):t;switch(e=e||Ch(t,n)){case"year":return i[Ih(n)]();case"half-year":return i[Dh(n)]()>=6?1:0;case"quarter":return Math.floor((i[Dh(n)]()+1)/4);case"month":return i[Dh(n)]();case"day":return i[kh(n)]();case"half-day":return i[Ph(n)]()/24;case"hour":return i[Ph(n)]();case"minute":return i[Lh(n)]();case"second":return i[Oh(n)]();case"millisecond":return i[Eh(n)]()}}function Ih(t){return t?"getUTCFullYear":"getFullYear"}function Dh(t){return t?"getUTCMonth":"getMonth"}function kh(t){return t?"getUTCDate":"getDate"}function Ph(t){return t?"getUTCHours":"getHours"}function Lh(t){return t?"getUTCMinutes":"getMinutes"}function Oh(t){return t?"getUTCSeconds":"getSeconds"}function Eh(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Rh(t){return t?"setUTCFullYear":"setFullYear"}function Nh(t){return t?"setUTCMonth":"setMonth"}function Fh(t){return t?"setUTCDate":"setDate"}function Bh(t){return t?"setUTCHours":"setHours"}function zh(t){return t?"setUTCMinutes":"setMinutes"}function Vh(t){return t?"setUTCSeconds":"setSeconds"}function jh(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Gh(t){if(!_o(t))return X(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Hh(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Wh=at;function Zh(t,e,n){function i(t){return t&&lt(t)?t:"-"}function r(t){return!(null==t||isNaN(t)||!isFinite(t))}var o="time"===e,a=t instanceof Date;if(o||a){var s=o?po(t):t;if(!isNaN(+s))return Th(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(a)return"-"}if("ordinal"===e)return $(t)?i(t):Y(t)&&r(t)?t+"":"-";var l=yo(t);return r(l)?Gh(l):$(t)?i(t):"boolean"==typeof t?t+"":"-"}var Uh=["a","b","c","d","e","f","g"],Xh=function(t,e){return"{"+t+(null==e?"":e)+"}"};function $h(t,e,n){Z(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o<r.length;o++){var a=Uh[o];t=t.replace(Xh(a),Xh(a,0))}for(var s=0;s<i;s++)for(var l=0;l<r.length;l++){var u=e[s][r[l]];t=t.replace(Xh(Uh[l],s),n?ne(u):u)}return t}function Yh(t,e){return e=e||"transparent",X(t)?t:q(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function qh(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Kh=B,Jh=["left","right","top","bottom","width","height"],Qh=[["width","left","right"],["height","top","bottom"]];function tc(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;
vendor: 18,746 bytes, line 1
1e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),f=e.childAt(u+1),d=f&&f.getBoundingRect();if("horizontal"===t){var g=p.width+(d?-d.x+p.x:0);(h=o+g)>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var m=p.height+(d?-d.y+p.y:0);(c=a+m)>r||l.newline?(o+=s+n,a=0,c=m,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var ec=tc;W(tc,"vertical"),W(tc,"horizontal");function nc(t,e,n){n=Wh(n||0);var i=e.width,r=e.height,o=eo(t.left,i),a=eo(t.top,r),s=eo(t.right,i),l=eo(t.bottom,r),u=eo(t.width,i),h=eo(t.height,r),c=n[2]+n[0],p=n[1]+n[3],f=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=f&&(isNaN(u)&&isNaN(h)&&(f>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=f*h),isNaN(h)&&(h=u/f)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var d=new Ee(o+n[3],a+n[0],u,h);return d.margin=n,d}function ic(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if((o=o||t).x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new Ee(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(a=a.clone()).applyTransform(h)}var c=nc(E({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,f=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=f):(o.x+=p,o.y+=f),o===t&&t.markRedraw(),!0}function rc(t){var e=t.layoutMode||t.constructor.layoutMode;return q(e)?e:e?{type:e}:null}function oc(t,e,n){var i=n&&n.ignoreSize;!Z(i)&&(i=[i,i]);var r=a(Qh[0],0),o=a(Qh[1],1);function a(n,r){var o={},a=0,u={},h=0;if(Kh(n,(function(e){u[e]=t[e]})),Kh(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(2!==h&&a){if(a>=2)return o;for(var c=0;c<n.length;c++){var p=n[c];if(!s(o,p)&&s(t,p)){o[p]=t[p];break}}return o}return u}function s(t,e){return t.hasOwnProperty(e)}function l(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Kh(t,(function(t){e[t]=n[t]}))}u(Qh[0],t,r),u(Qh[1],t,o)}function ac(t){return sc({},t)}function sc(t,e){return e&&t&&Kh(Jh,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var lc=Bo(),uc=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=nh("ec_cpt_model"),r}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=rc(this),i=n?ac(t):{};P(t,e.getTheme().get(this.mainType)),P(t,this.getDefaultOption()),n&&oc(t,i,n)},e.prototype.mergeOption=function(t,e){P(this.option,t,!0);var n=rc(this);n&&oc(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[qo])}(t))return t.defaultOption;var e=lc(this);if(!e.defaultOption){for(var n=[],i=t;i;){var r=i.prototype.defaultOption;r&&n.push(r),i=i.superClass}for(var o={},a=n.length-1;a>=0;a--)o=P(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return Wo(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(th);Qo(uc,th),ia(uc),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=Ko(t);e[i.main]=n},t.determineSubType=function(n,i){var r=i.type;if(!r){var o=Ko(n).main;t.hasSubTypes(n)&&e[o]&&(r=e[o](i))}return r}}(uc),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,r,o){if(t.length){var a=function(t){var i={},r=[];return B(t,(function(o){var a=n(i,o),s=function(t,e){var n=[];return B(t,(function(t){R(e,t)>=0&&n.push(t)})),n}(a.originalDeps=e(o),t);a.entryCount=s.length,0===a.entryCount&&r.push(o),B(s,(function(t){R(a.predecessor,t)<0&&a.predecessor.push(t);var e=n(i,t);R(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:r}}(i),s=a.graph,l=a.noEntryList,u={};for(B(t,(function(t){u[t]=!0}));l.length;){var h=l.pop(),c=s[h],p=!!u[h];p&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),B(c.successor,p?d:f)}B(u,(function(){throw new Error("")}))}function f(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function d(t){u[t]=!0,f(t)}}}(uc,(function(t){var e=[];B(uc.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=z(e,(function(t){return Ko(t).main})),"dataset"!==t&&R(e,"dataset")<=0&&e.unshift("dataset");return e}));var hc=uc,cc="";"undefined"!=typeof navigator&&(cc=navigator.platform||"");var pc="rgba(0, 0, 0, 0.2)",fc={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:pc,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:pc,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:pc,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:pc,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:pc,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:pc,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:cc.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},dc=gt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),gc="original",mc="arrayRows",vc="objectRows",yc="keyedColumns",_c="typedArray",xc="unknown",bc="column",wc="row",Sc={Must:1,Might:2,Not:3},Mc=Bo();function Tc(t,e,n){var i={},r=Ac(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Mc(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;B(t=t.slice(),(function(e,n){var r=q(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=d(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function f(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function d(t){var e=t.dimsDef;return e?e.length:1}return B(t,(function(t,e){var n=t.name,r=d(t);if(null==o){var a=p.valueWayDim;f(i[n],a,r),f(l,a,r),p.valueWayDim+=r}else if(o===e)f(i[n],0,r),f(s,0,r);else{a=p.categoryWayDim;f(i[n],a,r),f(l,a,r),p.categoryWayDim+=r}})),s.length&&(i.itemName=s),l.length&&(i.seriesName=l),i}function Cc(t,e,n){var i={};if(!Ac(t))return i;var r,o=e.sourceFormat,a=e.dimensionsDefine;o!==vc&&o!==yc||B(a,(function(t,e){"name"===(q(t)?t.name:t)&&(r=e)}));var s=function(){for(var t={},i={},s=[],l=0,u=Math.min(5,n);l<u;l++){var h=Dc(e.data,o,e.seriesLayoutBy,a,e.startIndex,l);s.push(h);var c=h===Sc.Not;if(c&&null==t.v&&l!==r&&(t.v=l),(null==t.n||t.n===t.v||!c&&s[t.n]===Sc.Not)&&(t.n=l),p(t)&&s[t.n]!==Sc.Not)return t;c||(h===Sc.Might&&null==i.v&&l!==r&&(i.v=l),null!=i.n&&i.n!==i.v||(i.n=l))}function p(t){return null!=t.v&&null!=t.n}return p(t)?t:p(i)?i:null}();if(s){i.value=[s.v];var l=null!=r?r:s.n;i.itemName=[l],i.seriesName=[l]}return i}function Ac(t){if(!t.get("data",!0))return Wo(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Go).models[0]}function Ic(t,e){return Dc(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function Dc(t,e,n,i,r,o){var a,s,l;if(J(t))return Sc.Not;if(i){var u=i[o];q(u)?(s=u.name,l=u.type):X(u)&&(s=u)}if(null!=l)return"ordinal"===l?Sc.Must:Sc.Not;if(e===mc){var h=t;if(n===wc){for(var c=h[o],p=0;p<(c||[]).length&&p<5;p++)if(null!=(a=_(c[r+p])))return a}else for(p=0;p<h.length&&p<5;p++){var f=h[r+p];if(f&&null!=(a=_(f[o])))return a}}else if(e===vc){var d=t;if(!s)return Sc.Not;for(p=0;p<d.length&&p<5;p++){if((v=d[p])&&null!=(a=_(v[s])))return a}}else if(e===yc){var g=t;if(!s)return Sc.Not;if(!(c=g[s])||J(c))return Sc.Not;for(p=0;p<c.length&&p<5;p++)if(null!=(a=_(c[p])))return a}else if(e===gc){var m=t;for(p=0;p<m.length&&p<5;p++){var v,y=Do(v=m[p]);if(!Z(y))return Sc.Not;if(null!=(a=_(y[o])))return a}}function _(t){var e=X(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?Sc.Might:Sc.Not:e&&"-"!==t?Sc.Must:void 0}return Sc.Not}var kc=gt();var Pc,Lc,Oc,Ec=Bo(),Rc=Bo(),Nc=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var i=Co(this.get("color",!0)),r=this.get("colorLayer",!0);return Bc(this,Ec,i,r,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,Ec)},t}();function Fc(t,e,n,i){var r=Co(t.get(["aria","decal","decals"]));return Bc(t,Rc,r,null,e,n,i)}function Bc(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((h=h||n)&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}var zc="\0_ec_inner";var Vc=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new th(i),this._locale=new th(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=Hc(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Hc(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Oc(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&B(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=gt(),s=e&&e.replaceMergeMainTypeMap;Mc(this).datasetMap=gt(),B(t,(function(t,e){null!=t&&(hc.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?k(t):P(n[e],t,!0))})),s&&s.each((function(t,e){hc.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),hc.topologicalTravel(o,hc.getAllClassMainTypes(),(function(e){var o=function(t,e,n){var i=kc.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,Co(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Po(a,o,l);(function(t,e,n){B(t,(function(t){var i=t.newOption;q(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){return e.type?e.type:n?n.subType:i.determineSubType(t,e)}(e,i,t.existing,n))}))})(u,e,hc),n[e]=null,i.set(e,null),r.set(e,0);var h,c=[],p=[],f=0;B(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=hc.getClass(e,t.keyInfo.subType,!o);if(!a)return;if("tooltip"===e){if(h)return void 0;h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var s=O({componentIndex:n},t.keyInfo);O(i=new a(r,this,this,s),s),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(c.push(i.option),p.push(i),f++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,i.set(e,p),r.set(e,f),"series"===e&&Pc(this)}),this),this._seriesIndices||Pc(this)},e.prototype.getOption=function(){var t=k(this.option);return B(t,(function(e,n){if(hc.hasClass(n)){for(var i=Co(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!No(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[zc],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(e);return a&&a.length?(null!=i?(n=[],B(Co(i),(function(t){a[t]&&n.push(a[t])}))):n=null!=r?jc("id",r,a):null!=o?jc("name",o,a):j(a,(function(t){return!!t})),Gc(n,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o=t.query,a=t.mainType,s=(n=a+"Index",i=a+"Id",r=a+"Name",!(e=o)||null==e[n]&&null==e[i]&&null==e[r]?null:{mainType:a,index:e[n],id:e[i],name:e[r]});return function(e){return t.filter?j(e,t.filter):e}(Gc(s?this.queryComponents(s):j(this._componentsMap.get(a),(function(t){return!!t})),t))},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if(U(t)){var r=e,o=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&o.call(r,e,i,i.componentIndex)}}))}else for(var a=X(t)?i.get(t):q(t)?this.findComponents(t):null,s=0;a&&s<a.length;s++){var l=a[s];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Eo(t,null);return j(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return j(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return j(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){Lc(this),B(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){B(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){Lc(this),B(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return B(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return Lc(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){Lc(this);var n=[];B(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=gt(n)},e.prototype.restoreData=function(t){Pc(this);var e=this._componentsMap,n=[];e.each((function(t,e){hc.hasClass(e)&&n.push(e)})),hc.topologicalTravel(n,hc.getAllClassMainTypes(),(function(n){B(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(Pc=function(t){var e=t._seriesIndices=[];B(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=gt(e)},Lc=function(t){},void(Oc=function(t,e){t.option={},t.option[zc]=1,t._componentsMap=gt({series:[]}),t._componentsCount=gt();var n=e.aria;q(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;B(e,(function(e,i){"colorLayer"===i&&n||hc.hasClass(i)||("object"==typeof e?t[i]=t[i]?P(t[i],e,!1):k(e):null==t[i]&&(t[i]=e))}))}(e,t._theme.option),P(e,fc,!1),t._mergeOption(e,null)})),e}(th);function jc(t,e,n){if(Z(e)){var i=gt();return B(e,(function(t){null!=t&&(null!=Eo(t,null)&&i.set(t,!0))})),j(n,(function(e){return e&&i.get(e[t])}))}var r=Eo(e,null);return j(n,(function(e){return e&&null!=r&&e[t]===r}))}function Gc(t,e){return e.hasOwnProperty("subType")?j(t,(function(t){return t&&t.subType===e.subType})):t}function Hc(t){var e=gt();return t&&B(Co(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}N(Vc,Nc);var Wc=Vc,Zc=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Uc=function(t){B(Zc,(function(e){this[e]=H(t[e],t)}),this)},Xc={},$c=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];B(Xc,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){B(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){Xc[t]=e},t.get=function(t){return Xc[t]},t}(),Yc=$c,qc=/^(min|max)?(.+)$/,Kc=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(B(Co(t.series),(function(t){t&&t.data&&J(t.data)&&ht(t.data)})),B(Co(t.dataset),(function(t){t&&t.source&&J(t.source)&&ht(t.source)}))),t=k(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t);h&&Z(u)&&B(u,(function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}));function p(t){B(e,(function(e){e(t,n)}))}return p(r),B(l,(function(t){return p(t)})),B(o,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],k(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");
vendor: 5,673 bytes, line 1
1i&&(e=k(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)Jc(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=z(s,(function(t){return k(-1===t?a.option:o[t].option)}))),this._currentMediaIndices=s,l},t}();function Jc(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return B(t,(function(t,e){var n=e.match(qc);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}var Qc=Kc,tp=B,ep=q,np=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function ip(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=np.length;n<i;n++){var r=np[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?P(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?P(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function rp(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,E(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function op(t){rp(t,"itemStyle"),rp(t,"lineStyle"),rp(t,"areaStyle"),rp(t,"label"),rp(t,"labelLine"),rp(t,"upperLabel"),rp(t,"edgeLabel")}function ap(t,e){var n=ep(t)&&t[e],i=ep(n)&&n.textStyle;if(i){0;for(var r=0,o=Io.length;r<o;r++){var a=Io[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function sp(t){t&&(op(t),ap(t,"label"),t.emphasis&&ap(t.emphasis,"label"))}function lp(t){return Z(t)?t:t?[t]:[]}function up(t){return(Z(t)?t[0]:t)||{}}function hp(t,e){tp(lp(t.series),(function(t){ep(t)&&function(t){if(ep(t)){ip(t),op(t),ap(t,"label"),ap(t,"upperLabel"),ap(t,"edgeLabel"),t.emphasis&&(ap(t.emphasis,"label"),ap(t.emphasis,"upperLabel"),ap(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(ip(e),sp(e));var n=t.markLine;n&&(ip(n),sp(n));var i=t.markArea;i&&sp(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!J(o))for(var a=0;a<o.length;a++)sp(o[a]);B(t.categories,(function(t){op(t)}))}if(r&&!J(r))for(a=0;a<r.length;a++)sp(r[a]);if((e=t.markPoint)&&e.data){var s=e.data;for(a=0;a<s.length;a++)sp(s[a])}if((n=t.markLine)&&n.data){var l=n.data;for(a=0;a<l.length;a++)Z(l[a])?(sp(l[a][0]),sp(l[a][1])):sp(l[a])}"gauge"===t.type?(ap(t,"axisLabel"),ap(t,"title"),ap(t,"detail")):"treemap"===t.type?(rp(t.breadcrumb,"itemStyle"),B(t.levels,(function(t){op(t)}))):"tree"===t.type&&op(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),tp(n,(function(e){tp(lp(t[e]),(function(t){t&&(ap(t,"axisLabel"),ap(t.axisPointer,"label"))}))})),tp(lp(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;ap(e,"axisLabel"),ap(e&&e.axisPointer,"label")})),tp(lp(t.calendar),(function(t){rp(t,"itemStyle"),ap(t,"dayLabel"),ap(t,"monthLabel"),ap(t,"yearLabel")})),tp(lp(t.radar),(function(t){ap(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),tp(lp(t.geo),(function(t){ep(t)&&(sp(t),tp(lp(t.regions),(function(t){sp(t)})))})),tp(lp(t.timeline),(function(t){sp(t),rp(t,"label"),rp(t,"itemStyle"),rp(t,"controlStyle",!0);var e=t.data;Z(e)&&B(e,(function(t){q(t)&&(rp(t,"label"),rp(t,"itemStyle"))}))})),tp(lp(t.toolbox),(function(t){rp(t,"iconStyle"),tp(t.feature,(function(t){rp(t,"iconStyle")}))})),ap(up(t.axisPointer),"label"),ap(up(t.tooltip).axisPointer,"label")}function cp(t){t&&B(pp,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var pp=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],fp=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],dp=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function gp(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<dp.length;n++){var i=dp[n][1],r=dp[n][0];null!=e[i]&&(e[r]=e[i])}}function mp(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function vp(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function yp(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&yp(t[n].children,e)}function _p(t,e){hp(t,e),t.series=Co(t.series),B(t.series,(function(t){if(q(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),mp(t.label),(r=t.data)&&!J(r))for(var n=0;n<r.length;n++)mp(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=i&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){var r;if(gp(t),gp(t.backgroundStyle),gp(t.emphasis),(r=t.data)&&!J(r))for(n=0;n<r.length;n++)"object"==typeof r[n]&&(gp(r[n]),gp(r[n]&&r[n].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),vp(t),yp(t.data,vp)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}
vendor: 1,163 bytes, line 1
1(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&E(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),cp(t)}})),t.dataRange&&(t.visualMap=t.dataRange),B(fp,(function(e){var n=t[e];n&&(Z(n)||(n=[n]),B(n,(function(t){cp(t)})))}))}function xp(t){B(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,h){var c,p,f=a.get(e.stackedDimension,h);if(isNaN(f))return r;s?p=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var d=NaN,g=n-1;g>=0;g--){var m=t[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,c)),p>=0){var v=m.data.getByRawIndex(m.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&f>=0&&v>0||"samesign"===l&&f<=0&&v<0){f=so(f,v),d=v;break}}}return i[0]=f,i[1]=d,i}))}))}var bp,wp,Sp,Mp,Tp,Cp=function(t){this.data=t.data||(t.sourceFormat===yc?{}:[]),this.sourceFormat=t.sourceFormat||xc,this.seriesLayoutBy=t.seriesLayoutBy||bc,this.startIndex=t.startIndex||
vendor: 5,379 bytes, line 1
10,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&Ic(this,n)===Sc.Must&&(i.type="ordinal")}};function Ap(t){return t instanceof Cp}function Ip(t,e,n){n=n||kp(t);var i=e.seriesLayoutBy,r=function(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:Pp(r),startIndex:a,dimensionsDetectedCount:o};if(e===mc){var s=t;"auto"===i||null==i?Lp((function(t){null!=t&&"-"!==t&&(X(t)?null==a&&(a=1):a=0)}),n,s,10):a=Y(i)?i:i?1:0,r||1!==a||(r=[],Lp((function(t,e){r[e]=null!=t?t+"":""}),n,s,1/0)),o=r?r.length:n===wc?s.length:s[0]?s[0].length:null}else if(e===vc)r||(r=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return G(e)}(t));else if(e===yc)r||(r=[],B(t,(function(t,e){r.push(e)})));else if(e===gc){var l=Do(t[0]);o=Z(l)&&l.length||1}return{startIndex:a,dimensionsDefine:Pp(r),dimensionsDetectedCount:o}}(t,n,i,e.sourceHeader,e.dimensions);return new Cp({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:k(e)})}function Dp(t){return new Cp({data:t,sourceFormat:J(t)?_c:gc})}function kp(t){var e=xc;if(J(t))e=_c;else if(Z(t)){0===t.length&&(e=mc);for(var n=0,i=t.length;n<i;n++){var r=t[n];if(null!=r){if(Z(r)||J(r)){e=mc;break}if(q(r)){e=vc;break}}}}else if(q(t))for(var o in t)if(_t(t,o)&&F(t[o])){e=yc;break}return e}function Pp(t){if(t){var e=gt();return z(t,(function(t,n){var i={name:(t=q(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var r=e.get(i.name);return r?i.name+="-"+r.count++:e.set(i.name,{count:1}),i}))}}function Lp(t,e,n,i){if(e===wc)for(var r=0;r<n.length&&r<i;r++)t(n[r]?n[r][0]:null,r);else{var o=n[0]||[];for(r=0;r<o.length&&r<i;r++)t(o[r],r)}}function Op(t){var e=t.sourceFormat;return e===vc||e===yc}var Ep=function(){function t(t,e){var n=Ap(t)?t:Dp(t);this._source=n;var i=this._data=n.data;n.sourceFormat===_c&&(this._offset=0,this._dimSize=e,this._data=i),Tp(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Tp=function(t,r,o){var a=o.sourceFormat,s=o.seriesLayoutBy,l=o.startIndex,u=o.dimensionsDefine;if(O(t,Mp[Wp(a,s)]),a===_c)t.getItem=e,t.count=i,t.fillStorage=n;else{var h=Fp(a,s);t.getItem=H(h,null,r,l,u);var c=Vp(a,s);t.count=H(c,null,r,l,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],p=0;p<h;p++){var f=r[p*o+a];c[t+p]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[mc+"_"+bc]={pure:!0,appendData:r},t[mc+"_"+wc]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[vc]={pure:!0,appendData:r},t[yc]={pure:!0,appendData:function(t){var e=this._data;B(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[gc]={appendData:r},t[_c]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Mp=t}(),t}(),Rp=function(t,e,n,i){return t[i]},Np=((bp={})[mc+"_"+bc]=function(t,e,n,i){return t[i+e]},bp[mc+"_"+wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},bp[vc]=Rp,bp[yc]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){0;var s=t[n[a].name];o[a]=s?s[i]:null}return o},bp[gc]=Rp,bp);function Fp(t,e){return Np[Wp(t,e)]}var Bp=function(t,e,n){return t.length},zp=((wp={})[mc+"_"+bc]=function(t,e,n){return Math.max(0,t.length-e)},wp[mc+"_"+wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},wp[vc]=Bp,wp[yc]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},wp[gc]=Bp,wp);function Vp(t,e){return zp[Wp(t,e)]}var jp=function(t,e,n){return t[e]},Gp=((Sp={})[mc]=jp,Sp[vc]=function(t,e,n){return t[n]},Sp[yc]=jp,Sp[gc]=function(t,e,n){var i=Do(t);return i instanceof Array?i[e]:i},Sp[_c]=jp,Sp);function Hp(t){return Gp[t]}function Wp(t,e){return t===mc?t+"_"+e:t}function Zp(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return Hp(o)(i,a,s)}var l=i;return o===gc&&(l=Do(i)),l}}}var Up=/\{@(.+?)\}/g,Xp=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,
vendor: 13,722 bytes, line 1
1seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,i,r,o){e=e||"normal";var a=this.getData(n),s=this.getDataParams(t,n);(o&&(s.value=o.interpolatedValue),null!=i&&Z(s.value)&&(s.value=s.value[i]),r)||(r=a.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return U(r)?(s.status=e,s.dimensionIndex=i,r(s)):X(r)?$h(r,s).replace(Up,(function(e,n){var i=n.length,r=n;"["===r.charAt(0)&&"]"===r.charAt(i-1)&&(r=+r.slice(1,i-1));var s=Zp(a,t,r);if(o&&Z(o.interpolatedValue)){var l=a.getDimensionIndex(r);l>=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Zp(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function $p(t){var e,n;return q(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Yp(t){return new qp(t)}var qp=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,f=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p<f)){var d=this._progress;if(Z(d))for(var g=0;g<d.length;g++)this._doProgress(d[g],p,f,l,u);else this._doProgress(d,p,f,l,u)}this._dueIndex=f;var m=null!=this._settedOutputEnd?this._settedOutputEnd:f;0,this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){Kp.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Kp.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),Z(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),Kp=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,i=c,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}();"undefined"!=typeof console&&console.warn&&console.log;function Jp(t){0}function Qp(t){throw new Error(t)}function tf(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||Y(t)||null==t||"-"===t||(t=+po(t)),null==t||""===t?NaN:Number(t))}var ef=gt({number:function(t){return parseFloat(t)},time:function(t){return+po(t)},trim:function(t){return X(t)?lt(t):t}});function nf(t){return ef.get(t)}var rf={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},of=function(){function t(t,e){if(!Y(e)){0,Qp("")}this._opFn=rf[t],this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){return Y(t)?this._opFn(t,this._rvalFloat):this._opFn(yo(t),this._rvalFloat)},t}(),af=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=Y(t)?t:yo(t),i=Y(e)?e:yo(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=X(t),s=X(e);a&&(n=s?t:0),s&&(i=a?e:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),sf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=yo(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=yo(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function lf(t,e){return"eq"===t||"ne"===t?new sf("eq"===t,e):_t(rf,t)?new of(t,e):null}var uf=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return tf(t,e)},t}();function hf(t){if(!mf(t.sourceFormat)){0,Qp("")}return t.data}function cf(t){var e=t.sourceFormat,n=t.data;if(!mf(e)){0,Qp("")}if(e===mc){for(var i=[],r=0,o=n.length;r<o;r++)i.push(n[r].slice());return i}if(e===vc){for(i=[],r=0,o=n.length;r<o;r++)i.push(O({},n[r]));return i}}function pf(t,e,n){if(null!=n)return Y(n)||!isNaN(n)&&!_t(e,n)?t[n]:_t(e,n)?e[n]:void 0}function ff(t){return k(t)}var df=gt();function gf(t,e,n,i){e.length||Qp(""),q(t)||Qp("");var r=t.type,o=df.get(r);o||Qp("");var a=z(e,(function(t){return function(t,e){var n=new uf,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex;t.seriesLayoutBy!==bc&&Qp("");var a=[],s={},l=t.dimensionsDefine;if(l)B(l,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};a.push(i),null!=n&&(_t(s,n)&&Qp(""),s[n]=i)}));else for(var u=0;u<t.dimensionsDetectedCount;u++)a.push({index:u});var h=Fp(r,bc);e.__isBuiltIn&&(n.getRawDataItem=function(t){return h(i,o,a,t)},n.getRawData=H(hf,null,t)),n.cloneRawData=H(cf,null,t);var c=Vp(r,bc);n.count=H(c,null,i,o,a);var p=Hp(r);n.retrieveValue=function(t,e){var n=h(i,o,a,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=a[e];return n?p(t,e,n.name):void 0}};return n.getDimensionInfo=H(pf,null,a,s),n.cloneAllDimensionInfo=H(ff,null,a),n}(t,o)}));return z(Co(o.transform({upstream:a[0],upstreamList:a,config:k(t.config)})),(function(t,n){var i;q(t)||Qp(""),t.data||Qp(""),mf(kp(t.data))||Qp("");var r=e[0];if(r&&0===n&&!t.dimensions){var o=r.startIndex;o&&(t.data=r.data.slice(0,o).concat(t.data)),i={seriesLayoutBy:bc,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else i={seriesLayoutBy:bc,sourceHeader:0,dimensions:t.dimensions};return Ip(t.data,i,null)}))}function mf(t){return t===mc||t===vc}var vf,yf="undefined",_f=typeof Uint32Array===yf?Array:Uint32Array,xf=typeof Uint16Array===yf?Array:Uint16Array,bf=typeof Int32Array===yf?Array:Int32Array,wf=typeof Float64Array===yf?Array:Float64Array,Sf={float:wf,int:bf,ordinal:Array,number:Array,time:wf};function Mf(t){return t>65535?_f:xf}function Tf(t,e,n,i,r){var o=Sf[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var Cf=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=gt()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),r=this.defaultDimValueGetter=vf[i.sourceFormat];this._dimValueGetter=n||r,this._rawExtent=[];Op(i);this._dimensions=z(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new Sf[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,r=i.length,o=this._rawExtent,a=this.count(),s=a+Math.max(t.length,e||0),l=0;l<r;l++){Tf(n,l,(f=i[l]).type,s,!0)}for(var u=[],h=a;h<s;h++)for(var c=h-a,p=0;p<r;p++){var f=i[p],d=vf.arrayRows.call(this,t[c]||u,f.property,c,p);n[p][h]=d;var g=o[p];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=z(o,(function(t){return t.property})),u=0;u<a;u++){var h=o[u];s[u]||(s[u]=[1/0,-1/0]),Tf(r,u,h.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,r,s);else for(var c=[],p=t;p<e;p++){c=i.getItem(p,c);for(var f=0;f<a;f++){var d=r[f],g=this._dimValueGetter(c,l[f],p,f);d[p]=g;var m=s[f];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var h=e-i[this.getRawIndex(l)],c=Math.abs(h);c<=n&&((c<o||c===o&&h>=0&&a<0)&&(o=c,a=h,s=0),h===a&&(r[s++]=l))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=Mf(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(Mf(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,h=0;h<i;h++){var c=void 0,p=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a){c=e(u[l][p],h)}else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=G(t),r=i.length;if(!r)return this;var o=e.count(),a=new(Mf(e._rawCount))(o),s=0,l=i[0],u=t[l][0],h=t[l][1],c=e._chunks,p=!1;if(!e._indices){var f=0;if(1===r){for(var d=c[i[0]],g=0;g<n;g++){((_=d[g])>=u&&_<=h||isNaN(_))&&(a[s++]=f),f++}p=!0}else if(2===r){d=c[i[0]];var m=c[i[1]],v=t[i[1]][0],y=t[i[1]][1];for(g=0;g<n;g++){var _=d[g],x=m[g];(_>=u&&_<=h||isNaN(_))&&(x>=v&&x<=y||isNaN(x))&&(a[s++]=f),f++}p=!0}}if(!p)if(1===r)for(g=0;g<o;g++){var b=e.getRawIndex(g);((_=c[i[0]][b])>=u&&_<=h||isNaN(_))&&(a[s++]=b)}else for(g=0;g<o;g++){for(var w=!0,S=(b=e.getRawIndex(g),0);S<r;S++){var M=i[S];((_=c[M][b])<t[M][0]||_>t[M][1])&&(w=!1)}w&&(a[s++]=e.getRawIndex(g))}return s<o&&(e._indices=a),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=[1/0,-1/0];for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=i[e[p]][c];s[o]=h;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(r[0]=f,f=r);for(u=0;
vendor: 8,786 bytes, line 1
1u<f.length;u++){var d=e[u],g=f[u],m=l[d],v=i[d];v&&(v[c]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),h=this.getRawIndex(0),c=new(Mf(this._rawCount))(Math.min(2*(Math.ceil(s/u)+2),s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),d=Math.min(p+2*u,s),g=(d+f)/2,m=0,v=f;v<d;v++){var y=a[T=this.getRawIndex(v)];isNaN(y)||(m+=y)}m/=d-f;var _=p,x=Math.min(p+u,s),b=p-1,w=a[h];n=-1,r=_;var S=-1,M=0;for(v=_;v<x;v++){var T;y=a[T=this.getRawIndex(v)];isNaN(y)?(M++,S<0&&(S=T)):(i=Math.abs((b-g)*(y-w)-(b-v)*(m-w)))>n&&(n=i,r=T)}M>0&&M<x-_&&(c[l++]=Math.min(S,r),r=Math.max(S,r)),c[l++]=r,h=r}return c[l++]=this.getRawIndex(s-1),o._count=l,o._indices=c,o.getRawIndex=this._getRawIdx,o},t.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(Mf(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var h=u,c=o[this.getRawIndex(h)],p=u,f=o[this.getRawIndex(p)],d=r;u+r>a&&(d=a-u);for(var g=0;g<d;g++){var m=o[this.getRawIndex(u+g)];m<c&&(c=m,h=u+g),m>f&&(f=m,p=u+g)}var v=this.getRawIndex(h),y=this.getRawIndex(p);h<p?(s[l++]=v,s[l++]=y):(s[l++]=y,s[l++]=v)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=[1/0,-1/0],c=new(Mf(this._rawCount))(Math.ceil(u/s)),p=0,f=0;f<u;f+=s){s>u-f&&(s=u-f,a.length=s);for(var d=0;d<s;d++){var g=this.getRawIndex(f+d);a[d]=l[g]}var m=n(a),v=this.getRawIndex(Math.min(f+i(a,m)||0,u-1));l[v]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var l=e[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i,r,o=new t,a=this._chunks,s=e&&V(e,(function(t,e){return t[e]=!0,t}),{});if(s)for(var l=0;l<a.length;l++)o._chunks[l]=s[l]?(i=a[l],r=void 0,(r=i.constructor)===Array?i.slice():new r(i)):a[l];else o._chunks=a;return this._copyCommonProps(o),n||(o._indices=this._cloneIndices()),o._updateGetRawIdx(),o},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=k(this._extent),t._rawExtent=k(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return tf(t[i],this._dimensions[i])}vf={arrayRows:t,objectRows:function(t,e,n,i){return tf(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return tf(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),Af=Cf,If=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(kf(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),a=(l=u.getSource()).data,s=l.sourceFormat,e=[u._getVersionSign()]}else s=J(a=o.get("data",!0))?_c:gc,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=it(h.seriesLayoutBy,c.seriesLayoutBy)||null,f=it(h.sourceHeader,c.sourceHeader),d=it(h.dimensions,c.dimensions);t=p!==c.seriesLayoutBy||!!f!=!!c.sourceHeader||d?[Ip(a,{seriesLayoutBy:p,sourceHeader:f,dimensions:d},s)]:[]}else{var g=n;if(r){var m=this._applyTransform(i);t=m.sourceList,e=m.upstreamSignList}else{t=[Ip(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(null!=r){1!==t.length&&Pf("")}var o,a=[],s=[];return B(t,(function(t){t.prepareSource();var e=t.getSource(r||0);null==r||e||Pf(""),a.push(e),s.push(t._getVersionSign())})),i?e=function(t,e,n){var i=Co(t),r=i.length;r||Qp("");for(var o=0,a=r;o<a;o++)e=gf(i[o],e),o!==a-1&&(e.length=Math.max(e.length,1));return e}(i,a,n.componentIndex):null!=r&&(e=[(o=a[0],new Cp({data:o.data,sourceFormat:o.sourceFormat,seriesLayoutBy:o.seriesLayoutBy,dimensionsDefine:k(o.dimensionsDefine),startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];kf(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new Af).initData(new Ep(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(kf(t)){var e=Ac(t);return e?[e.getSourceManager()]:[]}return z(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Wo(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Go).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(kf(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function Df(t){t.option.transform&&ht(t.option.transform)}function kf(t){return"series"===t.mainType}function Pf(t){throw new Error(t)}var Lf="line-height:1";function Of(t){var e=t.lineHeight;return null==e?Lf:"line-height:"+ne(e+"")+"px"}function Ef(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,r=t.fontWeight||"400",o=t.color||"#464646",a=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+ne(i+"")+"px;color:"+ne(n)+";font-weight:"+ne(r+""),valueStyle:"font-size:"+ne(a+"")+"px;color:"+ne(o)+";font-weight:"+ne(s+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:r},valueStyle:{fontSize:a,fill:o,fontWeight:s}}}var Rf=[0,10,20,30],Nf=["","\n","\n\n","\n\n\n"];function Ff(t,e){return e.type=t,e}function Bf(t){return"section"===t.type}function zf(t){return Bf(t)?jf:Gf}function Vf(t){if(Bf(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return B(t.blocks,(function(t){var n=Vf(t);n>=e&&(e=n+ +(i&&(!n||Bf(t)&&!t.noHeader)))})),e}return 0}function jf(t,e,n,i){var r,o=e.noHeader,a=(r=Vf(e),{html:Rf[r],richText:Nf[r]}),s=[],l=e.blocks||[];st(!l||Z(l)),l=l||[];var u=t.orderMode;if(e.sortBlocks&&u){l=l.slice();var h={valueAsc:"asc",valueDesc:"desc"};
vendor: 37,613 bytes, line 1
1if(_t(h,u)){var c=new af(h[u],null);l.sort((function(t,e){return c.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===u&&l.reverse()}B(l,(function(n,r){var o=e.valueFormatter,l=zf(n)(o?O(O({},t),{valueFormatter:o}):t,n,r>0?a.html:0,i);null!=l&&s.push(l)}));var p="richText"===t.renderMode?s.join(a.richText):Wf(i,s.join(""),o?n:a.html);if(o)return p;var f=Zh(e.header,"ordinal",t.useUTC),d=Ef(i,t.renderMode).nameStyle,g=Of(i);return"richText"===t.renderMode?Zf(t,f,d)+a.richText+p:Wf(i,'<div style="'+d+";"+g+';">'+ne(f)+"</div>"+p,n)}function Gf(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return z(t=Z(t)?t:[t],(function(t,e){return Zh(t,Z(f)?f[e]:f,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":Zh(l,"ordinal",u),f=e.valueType,d=a?[]:h(e.value,e.dataIndex),g=!s||!o,m=!s&&o,v=Ef(i,r),y=v.nameStyle,_=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":Zf(t,p,y))+(a?"":function(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(Z(e)?e.join("  "):e,o)}(t,d,g,m,_)):Wf(i,(s?"":c)+(o?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+ne(t)+"</span>"}(p,!s,y))+(a?"":function(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=Z(t)?t:[t],'<span style="'+o+";"+i+'">'+z(t,(function(t){return ne(t)})).join("&nbsp;&nbsp;")+"</span>"}(d,g,m,_)),n)}}function Hf(t,e,n,i,r,o){if(t)return zf(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function Wf(t,e,n){return'<div style="'+("margin: "+n+"px 0 0")+";"+Of(t)+';">'+e+'<div style="clear:both"></div></div>'}function Zf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Uf(t,e){return Yh(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Xf(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var $f=function(){function t(){this.richTextStyles={},this._nextStyleNameId=xo()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=function(t,e){var n=X(t)?{color:t,extraCssText:e}:t||{},i=n.color,r=n.type;e=n.extraCssText;var o=n.renderMode||"html";return i?"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:'+ne(i)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ne(i)+";"+(e||"")+'"></span>':{renderMode:o,content:"{"+(n.markerId||"markerX")+"|}  ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}:""}({color:e,type:t,renderMode:n,markerId:i});return X(r)?r:(this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};Z(e)?B(e,(function(t){return O(n,t)})):O(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Yf(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=Z(c),f=Uf(o,a);if(h>1||p&&!h){var d=function(t,e,n,i,r){var o=e.getData(),a=V(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(Ff("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?B(i,(function(t){h(Zp(o,n,t),t)})):B(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}(c,o,a,u,f);e=d.inlineValues,n=d.inlineValueTypes,i=d.blocks,r=d.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=Zp(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var m=Ro(o),v=m&&o.name||"",y=l.getName(a),_=s?v:y;return Ff("section",{header:v,noHeader:s||!m,sortParam:r,blocks:[Ff("nameValue",{markerType:"item",markerColor:f,name:_,noName:!lt(_),value:e,valueType:n,dataIndex:a})].concat(i||[])})}var qf=Bo();function Kf(t,e){return t.getName(e)||t.getId(e)}var Jf="__universalTransitionEnabled",Qf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return o(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Yp({count:ed,reset:nd}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(qf(this).sourceManager=new If(this)).prepareSource();var i=this.getInitialData(t,n);rd(i,this),this.dataTask.context.data=i,qf(this).dataBeforeProcessed=i,td(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=rc(this),i=n?ac(t):{},r=this.subType;hc.hasClass(r)&&(r+="Series"),P(t,e.getTheme().get(this.subType)),P(t,this.getDefaultOption()),Ao(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&oc(t,i,n)},e.prototype.mergeOption=function(t,e){t=P(this.option,t,!0),this.fillDataTextStyle(t.data);var n=rc(this);n&&oc(this.option,t,n);var i=qf(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);rd(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,qf(this).dataBeforeProcessed=r,td(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!J(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&Ao(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=ad(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return qf(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=ad(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}qf(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return gt(t)},e.prototype.getSourceManager=function(){return qf(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return qf(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return Yf({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(l.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Nc.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=Kf(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=G(t),n=[],i=0;i<e.length;i++){var r=t[e[i]];r>=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Kf(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Jf])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){q(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l<a;l++){var u=e[l];s[c=Kf(t,u)]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(u)}}else if("single"===o||!0===o){var h=e[a-1],c=Kf(t,h);r.selectedMap=((n={})[c]=!0,n),this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(h),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return hc.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(hc);function td(t){var e=t.name;Ro(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return B(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function ed(t){return t.model.getRawData().count()}function nd(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),id}function id(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function rd(t,e){B(mt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,W(od,e))}))}function od(t,e){var n=ad(t);return n&&n.setOutputEnd((e||this).count()),e}function ad(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}N(Qf,Xp),N(Qf,Nc),Qo(Qf,hc);var sd=Qf,ld=function(){function t(){this.group=new Ur,this.uid=nh("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();Jo(ld),ia(ld);var ud=ld;function hd(){var t=Bo();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var cd=fs.CMD,pd=[[],[],[]],fd=Math.sqrt,dd=Math.atan2;function gd(t,e){if(e){var n,i,r,o,a,s,l=t.data,u=t.len(),h=cd.M,c=cd.C,p=cd.L,f=cd.R,d=cd.A,g=cd.Q;for(r=0,o=0;r<u;){switch(n=l[r++],o=r,i=0,n){case h:case p:i=1;break;case c:i=3;break;case g:i=2;break;case d:var m=e[4],v=e[5],y=fd(e[0]*e[0]+e[1]*e[1]),_=fd(e[2]*e[2]+e[3]*e[3]),x=dd(-e[1]/_,e[0]/y);l[r]*=y,l[r++]+=m,l[r]*=_,l[r++]+=v,l[r++]*=y,l[r++]*=_,l[r++]+=x,l[r++]+=x,o=r+=2;break;case f:s[0]=l[r++],s[1]=l[r++],zt(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[r++],s[1]+=l[r++],zt(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<i;a++){var b=pd[a];b[0]=l[r++],b[1]=l[r++],zt(b,b,e),l[o++]=b[0],l[o++]=b[1]}}t.increaseVersion()}}var md=Math.sqrt,vd=Math.sin,yd=Math.cos,_d=Math.PI;function xd(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function bd(t,e){return(t[0]*e[0]+t[1]*e[1])/(xd(t)*xd(e))}function wd(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(bd(t,e))}function Sd(t,e,n,i,r,o,a,s,l,u,h){var c=l*(_d/180),p=yd(c)*(t-n)/2+vd(c)*(e-i)/2,f=-1*vd(c)*(t-n)/2+yd(c)*(e-i)/2,d=p*p/(a*a)+f*f/(s*s);d>1&&(a*=md(d),s*=md(d));var g=(r===o?-1:1)*md((a*a*(s*s)-a*a*(f*f)-s*s*(p*p))/(a*a*(f*f)+s*s*(p*p)))||0,m=g*a*f/s,v=g*-s*p/a,y=(t+n)/2+yd(c)*m-vd(c)*v,_=(e+i)/2+vd(c)*m+yd(c)*v,x=wd([1,0],[(p-m)/a,(f-v)/s]),b=[(p-m)/a,(f-v)/s],w=[(-1*p-m)/a,(-1*f-v)/s],S=wd(b,w);if(bd(b,w)<=-1&&(S=_d),bd(b,w)>=1&&(S=0),S<0){var M=Math.round(S/_d*1e6)/1e6;S=2*_d+M%2*_d}h.addData(u,y,_,a,s,x,S,c,o)}var Md=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Td=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var Cd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return St(e,t),e.prototype.applyTransform=function(t){},e}(Rs);function Ad(t){return null!=t.setData}function Id(t,e){var n=function(t){var e=new fs;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=fs.CMD,l=t.match(Md);if(!l)return e;for(var u=0;u<l.length;u++){for(var h=l[u],c=h.charAt(0),p=void 0,f=h.match(Td)||[],d=f.length,g=0;g<d;g++)f[g]=parseFloat(f[g]);for(var m=0;m<d;){var v=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,M=i,T=r,C=void 0,A=void 0;switch(c){case"l":i+=f[m++],r+=f[m++],p=s.L,e.addData(p,i,r);break;case"L":i=f[m++],r=f[m++],p=s.L,e.addData(p,i,r);break;case"m":i+=f[m++],r+=f[m++],p=s.M,e.addData(p,i,r),o=i,a=r,c="l";break;case"M":i=f[m++],r=f[m++],p=s.M,e.addData(p,i,r),o=i,a=r,c="L";break;case"h":i+=f[m++],p=s.L,e.addData(p,i,r);break;case"H":i=f[m++],p=s.L,e.addData(p,i,r);break;case"v":r+=f[m++],p=s.L,e.addData(p,i,r);break;case"V":r=f[m++],p=s.L,e.addData(p,i,r);break;case"C":p=s.C,e.addData(p,f[m++],f[m++],f[m++],f[m++],f[m++],f[m++]),i=f[m-2],r=f[m-1];break;case"c":p=s.C,e.addData(p,f[m++]+i,f[m++]+r,f[m++]+i,f[m++]+r,f[m++]+i,f[m++]+r),i+=f[m-2],r+=f[m-1];break;case"S":v=i,y=r,C=e.len(),A=e.data,n===s.C&&(v+=i-A[C-4],y+=r-A[C-3]),p=s.C,M=f[m++],T=f[m++],i=f[m++],r=f[m++],e.addData(p,v,y,M,T,i,r);break;case"s":v=i,y=r,C=e.len(),A=e.data,n===s.C&&(v+=i-A[C-4],y+=r-A[C-3]),p=s.C,M=i+f[m++],T=r+f[m++],i+=f[m++],r+=f[m++],e.addData(p,v,y,M,T,i,r);break;case"Q":M=f[m++],T=f[m++],i=f[m++],r=f[m++],p=s.Q,e.addData(p,M,T,i,r);break;case"q":M=f[m++]+i,T=f[m++]+r,i+=f[m++],r+=f[m++],p=s.Q,e.addData(p,M,T,i,r);break;case"T":v=i,y=r,C=e.len(),A=e.data,n===s.Q&&(v+=i-A[C-4],y+=r-A[C-3]),i=f[m++],r=f[m++],p=s.Q,e.addData(p,v,y,i,r);break;case"t":v=i,y=r,C=e.len(),A=e.data,n===s.Q&&(v+=i-A[C-4],y+=r-A[C-3]),i+=f[m++],r+=f[m++],p=s.Q,e.addData(p,v,y,i,r);break;case"A":_=f[m++],x=f[m++],b=f[m++],w=f[m++],S=f[m++],Sd(M=i,T=r,i=f[m++],r=f[m++],w,S,_,x,b,p=s.A,e);break;case"a":_=f[m++],x=f[m++],b=f[m++],w=f[m++],S=f[m++],Sd(M=i,T=r,i+=f[m++],r+=f[m++],w,S,_,x,b,p=s.A,e)}}"z"!==c&&"Z"!==c||(p=s.Z,e.addData(p),i=o,r=a),n=p}return e.toStatic(),e}(t),i=O({},e);return i.buildPath=function(t){if(Ad(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){gd(n,t),this.dirtyShape()},i}function Dd(t,e){return new Cd(Id(t,e))}function kd(t,e){e=e||{};var n=new Rs;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?gd(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var Pd=function(){this.cx=0,this.cy=0,this.r=0},Ld=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Pd},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Rs);Ld.prototype.type="circle";var Od=Ld,Ed=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},Rd=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Ed},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(Rs);Rd.prototype.type="ellipse";var Nd=Rd,Fd=Math.PI,Bd=2*Fd,zd=Math.sin,Vd=Math.cos,jd=Math.acos,Gd=Math.atan2,Hd=Math.abs,Wd=Math.sqrt,Zd=Math.max,Ud=Math.min,Xd=1e-4;function $d(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/Wd(s*s+l*l),h=u*l,c=-u*s,p=t+h,f=e+c,d=n+h,g=i+c,m=(p+d)/2,v=(f+g)/2,y=d-p,_=g-f,x=y*y+_*_,b=r-o,w=p*g-d*f,S=(_<0?-1:1)*Wd(Zd(0,b*b*x-w*w)),M=(w*_-y*S)/x,T=(-w*y-_*S)/x,C=(w*_+y*S)/x,A=(-w*y+_*S)/x,I=M-m,D=T-v,k=C-m,P=A-v;return I*I+D*D>k*k+P*P&&(M=C,T=A),{cx:M,cy:T,x0:-h,y0:-c,x1:M*(r/b-1),y1:T*(r/b-1)}}function Yd(t,e){var n,i=Zd(e.r,0),r=Zd(e.r0||0,0),o=i>0;if(o||r>0){if(o||(i=r,r=0),r>i){var a=i;i=r,r=a}var s=e.startAngle,l=e.endAngle;if(!isNaN(s)&&!isNaN(l)){var u=e.cx,h=e.cy,c=!!e.clockwise,p=Hd(l-s),f=p>Bd&&p%Bd;if(f>Xd&&(p=f),i>Xd)if(p>Bd-Xd)t.moveTo(u+i*Vd(s),h+i*zd(s)),t.arc(u,h,i,s,l,!c),r>Xd&&(t.moveTo(u+r*Vd(l),h+r*zd(l)),t.arc(u,h,r,l,s,c));else{var d=void 0,g=void 0,m=void 0,v=void 0,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0,S=void 0,M=void 0,T=void 0,C=void 0,A=void 0,I=void 0,D=void 0,k=i*Vd(s),P=i*zd(s),L=r*Vd(l),O=r*zd(l),E=p>Xd;if(E){var R=e.cornerRadius;R&&(n=function(t){var e;if(Z(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(R),d=n[0],g=n[1],m=n[2],v=n[3]);var N=Hd(i-r)/2;if(y=Ud(N,m),_=Ud(N,v),x=Ud(N,d),b=Ud(N,g),M=w=Zd(y,_),T=S=Zd(x,b),(w>Xd||S>Xd)&&(C=i*Vd(l),A=i*zd(l),I=r*Vd(s),D=r*zd(s),p<Fd)){var F=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<Xd))return[t+(p=(h*(e-o)-c*(t-r))/p)*l,e+p*u]}(k,P,I,D,C,A,L,O);if(F){var B=k-F[0],z=P-F[1],V=C-F[0],j=A-F[1],G=1/zd(jd((B*V+z*j)/(Wd(B*B+z*z)*Wd(V*V+j*j)))/2),H=Wd(F[0]*F[0]+F[1]*F[1]);M=Ud(w,(i-H)/(G+1)),T=Ud(S,(r-H)/(G-1))}}}if(E)if(M>Xd){var W=Ud(m,M),U=Ud(v,M),X=$d(I,D,k,P,i,W,c),$=$d(C,A,L,O,i,U,c);t.moveTo(u+X.cx+X.x0,h+X.cy+X.y0),M<w&&W===U?t.arc(u+X.cx,h+X.cy,M,Gd(X.y0,X.x0),Gd($.y0,$.x0),!c):(W>0&&t.arc(u+X.cx,h+X.cy,W,Gd(X.y0,X.x0),Gd(X.y1,X.x1),!c),t.arc(u,h,i,Gd(X.cy+X.y1,X.cx+X.x1),Gd($.cy+$.y1,$.cx+$.x1),!c),U>0&&t.arc(u+$.cx,h+$.cy,U,Gd($.y1,$.x1),Gd($.y0,$.x0),!c))}else t.moveTo(u+k,h+P),t.arc(u,h,i,s,l,!c);else t.moveTo(u+k,h+P);if(r>Xd&&E)if(T>Xd){W=Ud(d,T),X=$d(L,O,C,A,r,-(U=Ud(g,T)),c),$=$d(k,P,I,D,r,-W,c);t.lineTo(u+X.cx+X.x0,h+X.cy+X.y0),T<S&&W===U?t.arc(u+X.cx,h+X.cy,T,Gd(X.y0,X.x0),Gd($.y0,$.x0),!c):(U>0&&t.arc(u+X.cx,h+X.cy,U,Gd(X.y0,X.x0),Gd(X.y1,X.x1),!c),t.arc(u,h,r,Gd(X.cy+X.y1,X.cx+X.x1),Gd($.cy+$.y1,$.cx+$.x1),c),W>0&&t.arc(u+$.cx,h+$.cy,W,Gd($.y1,$.x1),Gd($.y0,$.x0),!c))}else t.lineTo(u+L,h+O),t.arc(u,h,r,l,s,c);else t.lineTo(u+L,h+O)}else t.moveTo(u,h);t.closePath()}}}var qd=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},Kd=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new qd},e.prototype.buildPath=function(t,e){Yd(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Rs);Kd.prototype.type="sector";var Jd=Kd,Qd=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},tg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new Qd},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(Rs);tg.prototype.type="ring";var eg=tg;function ng(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i){var o=function(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,f=t.length;p<f;p++)Vt(a,a,t[p]),jt(s,s,t[p]);Vt(a,a,i[0]),jt(s,s,i[1])}for(p=0,f=t.length;p<f;p++){var d=t[p];if(n)r=t[p?p-1:f-1],o=t[(p+1)%f];else{if(0===p||p===f-1){l.push(Ct(t[p]));continue}r=t[p-1],o=t[p+1]}kt(u,o,r),Ot(u,u,e);var g=Rt(d,r),m=Rt(d,o),v=g+m;0!==v&&(g/=v,m/=v),Ot(h,u,-g),Ot(c,u,m);var y=It([],d,h),_=It([],d,c);i&&(jt(y,y,a),Vt(y,y,s),jt(_,_,a),Vt(_,_,s)),l.push(y),l.push(_)}return n&&l.push(l.shift()),l}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],h=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var c=r.length;s<c;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}var ig=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},rg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultShape=function(){return new ig},e.prototype.buildPath=function(t,e){ng(t,e,!0)},e}(Rs);rg.prototype.type="polygon";var og=rg,ag=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},sg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ag},e.prototype.buildPath=function(t,e){ng(t,e,!1)},e}(Rs);sg.prototype.type="polyline";var lg=sg,ug={},hg=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},cg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new hg},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Ws(ug,e,this.style);n=a.x1,i=a.y1,r=a.x2,o=a.y2}else n=e.x1,i=e.y1,r=e.x2,o=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,i),s<1&&(r=n*(1-s)+r*s,o=i*(1-s)+o*s),t.lineTo(r,o))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(Rs);cg.prototype.type="line";var pg=cg,fg=[],dg=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function gg(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Sn:wn)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Sn:wn)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?kn:Dn)(t.x1,t.cpx1,t.x2,e),(n?kn:Dn)(t.y1,t.cpy1,t.y2,e)]}var mg=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dg},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(h<1&&(Ln(n,a,r,h,fg),a=fg[1],r=fg[2],Ln(i,s,o,h,fg),s=fg[1],o=fg[2]),t.quadraticCurveTo(a,s,r,o)):(h<1&&(Cn(n,a,l,r,h,fg),a=fg[1],l=fg[2],r=fg[3],Cn(i,s,u,o,h,fg),s=fg[1],u=fg[2],o=fg[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return gg(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=gg(this.shape,t,!0);return Et(e,e)},e}(Rs);mg.prototype.type="bezier-curve";var vg=mg,yg=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},_g=function(t){function e(e){return t.call(this,e)||this}return St(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new yg},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(Rs);_g.prototype.type="arc";var xg=_g,bg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return St(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Rs.prototype.getBoundingRect.call(this)},e}(Rs),wg=bg,Sg=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Mg=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return St(e,t),e}(Sg),Tg=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return St(e,t),e}(Sg),Cg=[0,0],Ag=[0,0],Ig=new Me,Dg=new Me,kg=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Me;for(n=0;n<2;n++)this._axes[n]=new Me;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,r=t.x,o=t.y,a=r+t.width,s=o+t.height;if(n[0].set(r,o),n[1].set(a,o),n[2].set(a,s),n[3].set(r,s),e)for(var l=0;l<4;l++)n[l].transform(e);Me.sub(i[0],n[1],n[0]),Me.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return Ig.set(1/0,1/0),Dg.set(0,0),!this._intersectCheckOneSide(this,t,Ig,Dg,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Ig,Dg,i,-1)&&(n=!1,i)||i||Me.copy(e,n?Ig:Dg),n},t.prototype._intersectCheckOneSide=function(t,e,n,i,r,o){for(var a=!0,s=0;s<2;s++){var l=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Cg),this._getProjMinMaxOnAxis(s,e._corners,Ag),Cg[1]<Ag[0]||Cg[0]>Ag[1]){if(a=!1,r)return a;var u=Math.abs(Ag[0]-Cg[1]),h=Math.abs(Cg[0]-Ag[1]);Math.min(u,h)>i.len()&&(u<h?Me.scale(i,l,-u*o):Me.scale(i,l,h*o))}else if(n){u=Math.abs(Ag[0]-Cg[1]),h=Math.abs(Cg[0]-Ag[1]);Math.min(u,h)<n.len()&&(u<h?Me.scale(n,l,u*o):Me.scale(n,l,-h*o))}}return a},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}(),Pg=kg,Lg=[],Og=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return St(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new Ee(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(Lg)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(La),Eg=Og,Rg=Math.max,Ng=Math.min,Fg={};function Bg(t){return Rs.extend(t)}var zg=function(t,e){var n=Id(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return St(e,t),e}(Cd)};function Vg(t,e){return zg(t,e)}function jg(t,e){Fg[t]=e}function Gg(t){if(Fg.hasOwnProperty(t))return Fg[t]}function Hg(t,e,n,i){var r=Dd(t,e);return n&&("center"===i&&(n=Zg(n,r.getBoundingRect())),Xg(r,n)),r}function Wg(t,e,n){var i=new Gs({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(Zg(e,r))}}});return i}function Zg(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var Ug=function(t,e){for(var n=[],i=t.length,r=0;r<i;r++){var o=t[r];n.push(o.getUpdatedPathProxy(!0))}var a=new Rs(e);return a.createPathProxy(),a.buildPath=function(t){if(Ad(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function Xg(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function $g(t,e){return Ws(t,t,{lineWidth:e}),t}function Yg(t){return Zs(t.shape,t.shape,t.style),t}var qg=Us;function Kg(t,e){for(var n=me([]);t&&t!==e;)ye(n,t.getLocalTransform(),n),t=t.parent;return n}function Jg(t,e,n){return e&&!F(e)&&(e=Mr.getLocalTransform(e)),n&&(e=we([],e)),zt([],t,e)}function Qg(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Jg(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tm(t){return!t.isGroup}function em(t,e,n){if(t&&e){var i=function(t){var e={};return t.traverse((function(t){tm(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(tm(t)&&t.anid){var e=i[t.anid];if(e){var o=r(t);t.attr(r(e)),yu(t,o,n,fl(t).dataIndex)}}}))}function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=O({},t.shape)),e}}function nm(t,e){return z(t,(function(t){var n=t[0];n=Rg(n,e.x),n=Ng(n,e.x+e.width);var i=t[1];return i=Rg(i,e.y),[n,i=Ng(i,e.y+e.height)]}))}function im(t,e){var n=Rg(t.x,e.x),i=Ng(t.x+t.width,e.x+e.width),r=Rg(t.y,e.y),o=Ng(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function rm(t,e,n){var i=O({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),E(r,n),new Gs(i)):Hg(t.replace("path://",""),i,n,"center")}function om(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(am(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function am(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,f=sm(c,p,u,h);if((l=f)<=1e-6&&l>=-1e-6)return!1;var d=t-r,g=e-o,m=sm(d,g,u,h)/f;if(m<0||m>1)return!1;var v=sm(d,g,c,p)/f;return!(v<0||v>1)}function sm(t,e,n,i){return t*i-n*e}function lm(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=X(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&B(G(l),(function(t){_t(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=fl(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:E({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function um(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function hm(t,e){if(t)if(Z(t))for(var n=0;n<t.length;n++)um(t[n],e);else um(t,e)}jg("circle",Od),jg("ellipse",Nd),jg("sector",Jd),jg("ring",eg),jg("polygon",og),jg("polyline",lg),jg("rect",qs),jg("line",pg),jg("bezierCurve",vg),jg("arc",xg);var cm=Bo(),pm=hd(),fm=function(){function t(){this.group=new Ur,this.uid=nh("viewChart"),this.renderTask=Yp({plan:mm,reset:vm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&gm(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&gm(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){hm(this.group,t)},t.markUpdateMethod=function(t,e){cm(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function dm(t,e,n){t&&pu(t)&&("emphasis"===e?Ul:Xl)(t,n)}function gm(t,e,n){var i=Fo(t,e),r=e&&null!=e.highlightKey?function(t){var e=ml[t];return null==e&&gl<=32&&(e=ml[t]=gl++),e}(e.highlightKey):null;null!=i?B(Co(i),(function(e){dm(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){dm(t,n,r)}))}function mm(t){return pm(t.model)}function vm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&cm(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),ym[l]}Jo(fm),ia(fm);var ym={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},_m=fm,xm="\0__throttleOriginMethod",bm="\0__throttleRate",wm="\0__throttleType";function Sm(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=(new Date).getTime(),o=this,a=t;var f=s||e,d=s||n;s=null,r=i-(d?l:u)-f,clearTimeout(h),d?h=setTimeout(c,f):r>=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function Mm(t,e,n,i){var r=t[e];if(r){var o=r[xm]||r,a=r[wm];if(r[bm]!==n||a!==i){if(null==n||!i)return t[e]=o;(r=t[e]=Sm(o,n,"debounce"===i))[xm]=o,r[wm]=i,r[bm]=n}return r}}function Tm(t,e){var n=t[e];n&&n[xm]&&(n.clear&&n.clear(),t[e]=n[xm])}var Cm=Bo(),Am={itemStyle:ra(qu,!0),lineStyle:ra(Xu,!0)},Im={lineStyle:"stroke",itemStyle:"fill"};function Dm(t,e){var n=t.visualStyleMapper||Am[e];return n||Am.itemStyle}function km(t,e){var n=t.visualDrawType||Im[e];return n||"fill"}var Pm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=Dm(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=km(t,i),l=o[s],u=U(l)?l:null,h="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||h){var c=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=c,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||U(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||U(o.stroke)?c:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=O({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}},Lm=new th,Om={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Dm(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Lm.option=n[i];var a=r(Lm);O(t.ensureUniqueItemVisual(e,"style"),a),Lm.option.decal&&(t.setItemVisual(e,"decal",Lm.option.decal),Lm.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Em={performRawSeries:!0,overallReset:function(t){var e=gt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Cm(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Cm(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=km(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var l=r.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",h=n.count();l[s]=e.getColorFromPalette(u,o,h)}}))}}))}},Rm=Math.PI;var Nm=function(){function t(t,e,n,i){this._stageTaskMap=gt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;
vendor: 4,818 bytes, line 1
1t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=gt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;B(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});st(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}B(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var f=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(f)})),h.perform(f)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=gt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Yp({plan:jm,reset:Gm,count:Zm}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Yp({reset:Fm});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=gt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,Yp({reset:Bm,onDirty:Vm})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}st(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,B(n.getSeries(),p)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return U(t)&&(t={overallReset:t,seriesType:Um(t)}),t.uid=nh("stageHandler"),e&&(t.visualType=e),t},t}();function Fm(t){t.overallReset(t.ecModel,t.api,t.payload)}function Bm(t){return t.overallProgress&&zm}function zm(){this.agent.dirty(),this.getDownstream().dirty()}function Vm(){this.agent&&this.agent.dirty()}function jm(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Gm(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Co(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?z(e,(function(t,e){return Wm(e)})):Hm}var Hm=Wm(0);function Wm(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function Zm(t){return t.data.count()}function Um(t){Xm=null;try{t($m,Ym)}catch(t){}return Xm}var Xm,$m={},Ym={};function qm(t,e){for(var n in e.prototype)t[n]=xt}qm($m,Wc),qm(Ym,Uc),$m.eachSeriesByType=$m.eachRawSeriesByType=function(t){Xm=t},$m.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Xm=t.subType)};var Km=Nm,Jm=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Qm={color:Jm,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Jm]}
vendor: 44,976 bytes, line 1
1,tv="#B9B8CE",ev="#100C2A",nv=function(){return{axisLine:{lineStyle:{color:tv}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},iv=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],rv={darkMode:!0,color:iv,backgroundColor:ev,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:tv},pageTextStyle:{color:tv}},textStyle:{color:tv},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:tv}},dataZoom:{borderColor:"#71708A",textStyle:{color:tv},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:tv}},timeline:{lineStyle:{color:tv},label:{color:tv},controlStyle:{color:tv,borderColor:tv}},calendar:{itemStyle:{color:ev},dayLabel:{color:tv},monthLabel:{color:tv},yearLabel:{color:tv}},timeAxis:nv(),logAxis:nv(),valueAxis:nv(),categoryAxis:nv(),line:{symbol:"circle"},graph:{color:iv},gauge:{title:{color:tv},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:tv},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};rv.categoryAxis.splitLine.show=!1;var ov=rv,av=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(X(t)){var r=Ko(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};B(t,(function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),sv=["symbol","symbolSize","symbolRotate","symbolOffset"],lv=sv.concat(["symbolKeepAspect"]),uv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a<sv.length;a++){var s=sv[a],l=t.get(s);U(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual(O({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=G(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},hv={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<lv.length;i++){var r=lv[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};function cv(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function pv(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function fv(t,e,n,i){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=i,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=i;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,i)}}function dv(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}B([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,i,r){e=O({},e),r.dispatchAction(O(e,{type:t[1],seriesIndex:n(i,e)}))}))}))}function gv(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=Fo(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:Z(u)?l.getName(u[0]):l.getName(u),selected:X(i)?i:O({},i)})}}))}function mv(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}var vv=Math.round(9*Math.random()),yv="function"==typeof Object.defineProperty,_v=function(){function t(){this._id="__ec_inner_"+vv++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return yv?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),xv=_v,bv=Rs.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),wv=Rs.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),Sv=Rs.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),f=.6*a,d=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*f,l+s+p*f,n,i-d,n,i),t.bezierCurveTo(n,i-d,n-h+c*f,l+s+p*f,n-h,l+s),t.closePath()}}),Mv=Rs.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),Tv={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},Cv={};B({line:pg,rect:qs,roundRect:qs,square:qs,circle:Od,diamond:wv,pin:Sv,arrow:Mv,triangle:bv},(function(t,e){Cv[e]=new t}));var Av=Rs.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=Or(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=Cv[i];r||(r=Cv[i="rect"]),Tv[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function Iv(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function Dv(t,e,n,i,r,o,a){var s,l=0===t.indexOf("empty");return l&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?Wg(t.slice(8),new Ee(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?Hg(t.slice(7),{},new Ee(e,n,i,r),a?"center":"cover"):new Av({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=l,s.setColor=Iv,o&&s.setColor(o),s}function kv(t){return Z(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function Pv(t,e){if(null!=t)return Z(t)||(t=[t,t]),[eo(t[0],e[0])||0,eo(it(t[1],t[0]),e[1])||0]}function Lv(t){return isFinite(t)}function Ov(t,e,n){for(var i="radial"===e.type?function(t,e,n){var i=n.width,r=n.height,o=Math.min(i,r),a=null==e.x?.5:e.x,s=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(a=a*i+n.x,s=s*r+n.y,l*=o),a=Lv(a)?a:.5,s=Lv(s)?s:.5,l=l>=0&&Lv(l)?l:.5,t.createRadialGradient(a,s,0,a,s,l)}(t,e,n):function(t,e,n){var i=null==e.x?0:e.x,r=null==e.x2?1:e.x2,o=null==e.y?0:e.y,a=null==e.y2?0:e.y2;return e.global||(i=i*n.width+n.x,r=r*n.width+n.x,o=o*n.height+n.y,a=a*n.height+n.y),i=Lv(i)?i:0,r=Lv(r)?r:1,o=Lv(o)?o:0,a=Lv(a)?a:0,t.createLinearGradient(i,o,r,a)}(t,e,n),r=e.colorStops,o=0;o<r.length;o++)i.addColorStop(r[o].offset,r[o].color);return i}function Ev(t){return parseInt(t,10)}function Rv(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||Ev(s[i])||Ev(t.style[i]))-(Ev(s[o])||0)-(Ev(s[a])||0)|0}function Nv(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:Y(e)?[e]:Z(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=z(r,(function(t){return t/a})),o/=a)}return[r,o]}var Fv=new fs(!0);function Bv(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function zv(t){return"string"==typeof t&&"none"!==t}function Vv(t){var e=t.fill;return null!=e&&"none"!==e}function jv(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function Gv(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function Hv(t,e,n){var i=ua(e.image,e.__image,n);if(ca(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*bt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}var Wv=["shadowBlur","shadowOffsetX","shadowOffsetY"],Zv=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Uv(t,e,n,i,r){var o=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){Qv(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?Ta.opacity:a}(i||e.blend!==n.blend)&&(o||(Qv(t,r),o=!0),t.globalCompositeOperation=e.blend||Ta.blend);for(var s=0;s<Wv.length;s++){var l=Wv[s];(i||e[l]!==n[l])&&(o||(Qv(t,r),o=!0),t[l]=t.dpr*(e[l]||0))}return(i||e.shadowColor!==n.shadowColor)&&(o||(Qv(t,r),o=!0),t.shadowColor=e.shadowColor||Ta.shadowColor),o}function Xv(t,e,n,i,r){var o=ty(e,r.inHover),a=i?null:n&&ty(n,r.inHover)||{};if(o===a)return!1;var s=Uv(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(Qv(t,r),s=!0),zv(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(Qv(t,r),s=!0),zv(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(Qv(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(Qv(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<Zv.length;u++){var h=Zv[u],c=h[0];(i||o[c]!==a[c])&&(s||(Qv(t,r),s=!0),t[c]=o[c]||h[1])}return s}function $v(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}var Yv=1,qv=2,Kv=3,Jv=4;function Qv(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function ty(t,e){return e&&t.__hoverStyle||t.style}function ey(t,e){ny(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function ny(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~tn,void(e.__isRendered=!1);var o=e.__clipPaths,a=n.prevElClipPaths,s=!1,l=!1;if(a&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(o,a)||(a&&a.length&&(Qv(t,n),t.restore(),l=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(Qv(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),$v(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(o,t,n),s=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(l=s=!0);var h,p,f=e instanceof Rs&&e.autoBatch&&function(t){var e=Vv(t),n=Bv(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(h=r,p=u.transform,h&&p?h[0]!==p[0]||h[1]!==p[1]||h[2]!==p[2]||h[3]!==p[3]||h[4]!==p[4]||h[5]!==p[5]:h||p)?(Qv(t,n),$v(t,e)):f||Qv(t,n);var d=ty(e,n.inHover);e instanceof Rs?(n.lastDrawType!==Yv&&(l=!0,n.lastDrawType=Yv),Xv(t,e,u,l,n),f&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=Bv(n),a=Vv(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var h=e.path||Fv,c=e.__dirty;if(!i){var p=n.fill,f=n.stroke,d=a&&!!p.colorStops,g=o&&!!f.colorStops,m=a&&!!p.image,v=o&&!!f.image,y=void 0,_=void 0,x=void 0,b=void 0,w=void 0;(d||g)&&(w=e.getBoundingRect()),d&&(y=c?Ov(t,p,w):e.__canvasFillGradient,e.__canvasFillGradient=y),g&&(_=c?Ov(t,f,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),m&&(x=c||!e.__canvasFillPattern?Hv(t,p,e):e.__canvasFillPattern,e.__canvasFillPattern=x),v&&(b=c||!e.__canvasStrokePattern?Hv(t,f,e):e.__canvasStrokePattern,e.__canvasStrokePattern=x),d?t.fillStyle=y:m&&(x?t.fillStyle=x:a=!1),g?t.strokeStyle=_:v&&(b?t.strokeStyle=b:o=!1)}var S,M,T=e.getGlobalScale();h.setScale(T[0],T[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(r=Nv(e))[0],M=r[1]);var C=!0;(u||c&en)&&(h.setDPR(t.dpr),l?h.setContext(null):(h.setContext(t),C=!1),h.reset(),e.buildPath(h,e.shape,i),h.toStatic(),e.pathUpdated()),C&&h.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=M),i||(n.strokeFirst?(o&&Gv(t,n),a&&jv(t,n)):(a&&jv(t,n),o&&Gv(t,n))),S&&t.setLineDash([])}(t,e,d,f),f&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):e instanceof Bs?(n.lastDrawType!==Kv&&(l=!0,n.lastDrawType=Kv),Xv(t,e,u,l,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||c,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=Nv(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(Bv(n)&&t.strokeText(r,n.x,n.y),Vv(n)&&t.fillText(r,n.x,n.y)):(Vv(n)&&t.fillText(r,n.x,n.y),Bv(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,d)):e instanceof Gs?(n.lastDrawType!==qv&&(l=!0,n.lastDrawType=qv),function(t,e,n,i,r){Uv(t,ty(e,r.inHover),n&&ty(n,r.inHover),i,r)}(t,e,u,l,n),function(t,e,n){var i=e.__image=ua(n.image,e.__image,e,e.onload);if(i&&ca(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,h=n.sy||0;t.drawImage(i,u,h,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){var c=a-(u=n.sx),p=s-(h=n.sy);t.drawImage(i,u,h,c,p,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}(t,e,d)):e.getTemporalDisplayables&&(n.lastDrawType!==Jv&&(l=!0,n.lastDrawType=Jv),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(h=i[o]).beforeBrush&&h.beforeBrush(),h.innerBeforeBrush(),ny(t,h,s,o===a-1),h.innerAfterBrush(),h.afterBrush&&h.afterBrush(),s.prevEl=h}for(var l=0,u=r.length;l<u;l++){var h;(h=r[l]).beforeBrush&&h.beforeBrush(),h.innerBeforeBrush(),ny(t,h,s,l===u-1),h.innerAfterBrush(),h.afterBrush&&h.afterBrush(),s.prevEl=h}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),f&&i&&Qv(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var iy=new xv,ry=new jn(100),oy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function ay(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&iy.delete(t);var o=iy.get(t);if(o)return o;var a=E(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,o=[n],s=!0,l=0;l<oy.length;++l){var u=a[oy[l]];if(null!=u&&!Z(u)&&!X(u)&&!Y(u)&&"boolean"!=typeof u){s=!1;break}o.push(u)}if(s){e=o.join(",")+(r?"-svg":"");var h=ry.get(e);h&&(r?t.svgElement=h:t.image=h)}var c,p=ly(a.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(Y(t)){var e=Math.ceil(t);return[e,e]}var n=z(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(a.dashArrayY),d=sy(a.symbol),m=(b=p,z(b,(function(t){return uy(t)}))),v=uy(f),y=!r&&g.createCanvas(),_=r&&{tag:"g",attrs:{},key:"dcl",children:[]},x=function(){for(var t=1,e=0,n=m.length;e<n;++e)t=wo(t,m[e]);var i=1;for(e=0,n=d.length;e<n;++e)i=wo(i,d[e].length);t*=i;var r=v*m.length*d.length;0;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();var b;y&&(y.width=x.width*n,y.height=x.height*n,c=y.getContext("2d"));(function(){c&&(c.clearRect(0,0,y.width,y.height),a.backgroundColor&&(c.fillStyle=a.backgroundColor,c.fillRect(0,0,y.width,y.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(t<=0)return;var o=-v,s=0,l=0,u=0;for(;o<x.height;){if(s%2==0){for(var h=l/2%d.length,g=0,m=0,b=0;g<2*x.width;){var w=0;for(e=0;e<p[u].length;++e)w+=p[u][e];if(w<=0)break;if(m%2==0){var S=.5*(1-a.symbolSize),M=g+p[u][m]*S,T=o+f[s]*S,C=p[u][m]*a.symbolSize,A=f[s]*a.symbolSize,I=b/2%d[h].length;D(M,T,C,A,d[h][I])}g+=p[u][m],++b,++m===p[u].length&&(m=0)}++u===p.length&&(u=0)}o+=f[s],++l,++s===f.length&&(s=0)}function D(t,e,o,s,l){var u=r?1:n,h=Dv(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var p=i.painter.renderOneToVNode(h);p&&_.children.push(p)}else ey(c,h)}})(),s&&ry.put(e,y||_);t.image=y,t.svgElement=_,t.svgWidth=x.width,t.svgHeight=x.height}(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,iy.set(t,s),t.dirty=!1,s}function sy(t){if(!t||0===t.length)return[["rect"]];if(X(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!X(t[n])){e=!1;break}if(e)return sy([t]);var i=[];for(n=0;n<t.length;++n)X(t[n])?i.push([t[n]]):i.push(t[n]);return i}function ly(t){if(!t||0===t.length)return[[0,0]];if(Y(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!Y(t[n])){e=!1;break}if(e)return ly([t]);var i=[];for(n=0;n<t.length;++n)if(Y(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else{(r=z(t[n],(function(t){return Math.ceil(t)}))).length%2==1?i.push(r.concat(r)):i.push(r)}return i}function uy(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}var hy=new Ut,cy={};var py=2e3,fy=4500,dy={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:py,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:fy,ARIA:6e3,DECAL:7e3}},gy="__flagInMainProcess",my="__pendingUpdate",vy="__needsUpdateStatus",yy=/^[a-zA-Z0-9_]+$/,_y="__connectUpdateStatus";function xy(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return wy(this,t,e);Uy(this.id)}}function by(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return wy(this,t,e)}}function wy(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),Ut.prototype[e].apply(t,n)}var Sy,My,Ty,Cy,Ay,Iy,Dy,ky,Py,Ly,Oy,Ey,Ry,Ny,Fy,By,zy,Vy,jy=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Ut),Gy=jy.prototype;Gy.on=by("on"),Gy.off=by("off");var Hy=function(t){function e(e,n,i){var r=t.call(this,new av)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},X(n)&&(n=Jy[n]),r._dom=e;i.ssr&&(Yr=function(t){var e=fl(t),n=e.dataIndex;if(null!=n){var i=gt();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=Kr(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:it(i.useDirtyRect,!1),useCoarsePointer:it(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=Sm(H(o.flush,o),17),(n=k(n))&&_p(n,!0),r._theme=n,r._locale=function(t){if(X(t)){var e=sh[t.toUpperCase()]||{};return t===rh||t===oh?k(e):P(k(e),k(sh[ah]),!1)}return P(k(t),k(sh[ah]),!1)}(i.locale||uh),r._coordSysMgr=new Yc;var a=r._api=Fy(r);function s(t,e){return t.__prio-e.__prio}return Qe(Ky,s),Qe(Yy,s),r._scheduler=new Km(r,a,Yy,Ky),r._messageCenter=new jy,r._initEvents(),r.resize=H(r.resize,r),o.animation.on("frame",r._onframe,r),Ly(o,r),Oy(o,r),ht(r),r}return o(e,t),e.prototype._onframe=function(){if(!this._disposed){Vy(this);var t=this._scheduler;if(this[my]){var e=this[my].silent;this[gy]=!0;try{Sy(this),Cy.update.call(this,null,this[my].updateParams)}catch(t){throw this[gy]=!1,this[my]=null,t}this._zr.flush(),this[gy]=!1,this[my]=null,ky.call(this,e),Py.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),Iy(this,i),t.performVisualTasks(i),Ny(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[gy])if(this._disposed)Uy(this.id);else{var i,r,o;if(q(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[gy]=!0,!this._model||e){var a=new Qc(this._api),s=this._theme,l=this._model=new Wc;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},qy);var u={seriesTransition:o,optionChanged:!0};if(n)this[my]={silent:i,updateParams:u},this[gy]=!1,this.getZr().wakeUp();else{try{Sy(this),Cy.update.call(this,null,u)}catch(t){throw this[my]=null,this[gy]=!1,t}this._ssr||this._zr.flush(),this[my]=null,this[gy]=!1,ky.call(this,i),Py.call(this,i)}}},e.prototype.setTheme=function(){Jp()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||l.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(l.svgSupported){var t=this._zr;return B(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;B(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return B(i,(function(t){t.group.ignore=!1})),o}Uy(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(e_[n]){var a=o,s=o,l=-1/0,u=-1/0,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();B(t_,(function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(k(t)),f=o.getDom().getBoundingClientRect();a=i(f.left,a),s=i(f.top,s),l=r(f.right,l),u=r(f.bottom,u),h.push({dom:p,left:f.left,top:f.top})}}));var p=(l*=c)-(a*=c),f=(u*=c)-(s*=c),d=g.createCanvas(),m=Kr(d,{renderer:e?"svg":"canvas"});if(m.resize({width:p,height:f}),e){var v="";return B(h,(function(t){var e=t.left-a,n=t.top-s;v+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new qs({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),B(h,(function(t){var e=new Gs({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});m.add(e)})),m.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}Uy(this.id)},e.prototype.convertToPixel=function(t,e){return Ay(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Ay(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return B(Vo(this._model,t),(function(t,i){i.indexOf("Models")>=0&&B(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n;Uy(this.id)},e.prototype.getVisual=function(t,e){var n=Vo(this._model,t,{defaultMainType:"series"});var i=n.seriesModel.getData(),r=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?i.indexOfRawIndex(n.dataIndex):null;return null!=r?cv(i,r,e):pv(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;B(Zy,(function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&mv(o,(function(t){var e=fl(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return n=O({},e.eventData),!0}),!0),n){var a=n.componentType,s=n.componentIndex;"markLine"!==a&&"markPoint"!==a&&"markArea"!==a||(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),B($y,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),B(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(gv("map","selectchanged",e,i,t),gv("pie","selectchanged",e,i,t)):"select"===t.fromAction?(gv("map","selected",e,i,t),gv("pie","selected",e,i,t)):"unselect"===t.fromAction&&(gv("map","unselected",e,i,t),gv("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?Uy(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)Uy(this.id);else{this._disposed=!0,this.getDom()&&Zo(this.getDom(),i_,"");var t=this,e=t._api,n=t._model;B(t._componentsViews,(function(t){t.dispose(n,e)})),B(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete t_[t.id]}},e.prototype.resize=function(t){if(!this[gy])if(this._disposed)Uy(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[my]&&(null==i&&(i=this[my].silent),n=!0,this[my]=null),this[gy]=!0;try{n&&Sy(this),Cy.update.call(this,{type:"resize",animation:O({duration:0},t&&t.animation)})}catch(t){throw this[gy]=!1,t}this[gy]=!1,ky.call(this,i),Py.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)Uy(this.id);else if(q(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Qy[t]){var n=Qy[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?Uy(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=O({},t);return e.type=$y[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)Uy(this.id);else if(q(e)||(e={silent:!!e}),Xy[t.type]&&this._model)if(this[gy])this._pendingActions.push(t);else{var n=e.silent;Dy.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&l.browser.weChat&&this._throttledZrFlush(),ky.call(this,n),Py.call(this,n)}},e.prototype.updateLabelLayout=function(){hy.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)Uy(this.id);else{var e=t.seriesIndex;0,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===bl&&t.states.emphasis?e.push("emphasis"):t.hoverState===xl&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered((function(t){return i(t,n,r,-1/0),!0}))}}function i(t,e,n,r){var o=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),l=0;l<s.length;l++)r=Math.max(i(s[l],e,n,r),r);else t.z=e,t.zlevel=n,r=Math.max(t.z2,r);if(o&&(o.z=e,o.zlevel=n,isFinite(r)&&(o.z2=r+2)),a){var u=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}function r(t,e){e.eachRendered((function(t){if(!xu(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function a(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(xu(t))return;if(t instanceof Rs&&function(t){var e=vl(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Sy=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),My(t,!0),My(t,!1),e.plan()},My=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=Ko(t.type);0,(h=new(e?ud.getClass(c.main,c.sub):_m.getClass(c.sub))).init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(h,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var h=r[l];h.__alive?l++:(!e&&h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},Ty=function(t,e,n,i,r){var o=t._model;if(o.setUpdatePayload(n),i){var a={};a[i+"Id"]=n[i+"Id"],a[i+"Index"]=n[i+"Index"],a[i+"Name"]=n[i+"Name"];var s={mainType:i,query:a};r&&(s.subType=r);var l,u=n.excludeSeriesId;null!=u&&(l=gt(),B(Co(u),(function(t){var e=Eo(t,null);null!=e&&l.set(e,!0)}))),o&&o.eachComponent(s,(function(e){if(!(l&&null!=l.get(e.id)))if(du(n))if(e instanceof sd)n.type!==Cl||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var i=t.seriesIndex,r=t.getData(e.dataType);if(r){var o=Fo(r,e);o=(Z(o)?o[0]:o)||0;var a=r.getItemGraphicEl(o);if(!a)for(var s=r.count(),l=0;!a&&l<s;)a=r.getItemGraphicEl(l++);if(a){var u=fl(a);tu(i,u.focus,u.blurScope,n)}else{var h=t.get(["emphasis","focus"]),c=t.get(["emphasis","blurScope"]);null!=h&&tu(i,h,c,n)}}}(e,n,t._api);else{var i=nu(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,o=i.dispatchers;n.type===Cl&&r&&!n.notBlur&&eu(e.mainType,e.componentIndex,t._api),o&&B(o,(function(t){n.type===Cl?Ul(t):Xl(t)}))}else fu(n)&&e instanceof sd&&(!function(t,e,n){if(fu(e)){var i=e.dataType,r=Fo(t.getData(i),e);Z(r)||(r=[r]),t[e.type===kl?"toggleSelect":e.type===Il?"select":"unselect"](r,i)}}(e,n,t._api),iu(e),zy(t))}),t),o&&o.eachComponent(s,(function(e){l&&null!=l.get(e.id)||h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else B([].concat(t._componentsViews).concat(t._chartsViews),h);function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,o,t._api,n)}},Cy={prepareAndUpdate:function(t){Sy(this),Cy.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),Iy(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),Ey(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),hy.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent((function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}}));var a=gt();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),Ny(this,i,r,e,{},a),hy.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),_m.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),Ey(this,n,this._api,e,{}),hy.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),_m.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)})),hy.trigger("afterupdate",i,this._api))},updateLayout:function(t){Cy.update.call(this,t)}},Ay=function(t,e,n,i){if(t._disposed)Uy(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=Vo(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}0}},Iy=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},Dy=function(t,e){var n=this,i=this.getModel(),r=t.type,o=t.escapeConnect,a=Xy[r],s=a.actionInfo,l=(s.update||"update").split(":"),u=l.pop(),h=null!=l[0]&&Ko(l[0]);this[gy]=!0;var c=[t],p=!1;t.batch&&(p=!0,c=z(t.batch,(function(e){return(e=E(O({},e),t)).batch=null,e})));var f,d=[],g=fu(t),m=du(t);if(m&&Ql(this._api),B(c,(function(e){if((f=(f=a.action(e,n._model,n._api))||O({},e)).type=s.event||f.type,d.push(f),m){var i=jo(t),r=i.queryOptionMap,o=i.mainTypeSpecified?r.keys()[0]:"series";Ty(n,u,e,o),zy(n)}else g?(Ty(n,u,e,"series"),zy(n)):h&&Ty(n,u,e,h.main,h.sub)})),"none"!==u&&!m&&!g&&!h)try{this[my]?(Sy(this),Cy.update.call(this,t),this[my]=null):Cy[u].call(this,t)}catch(t){throw this[gy]=!1,t}if(f=p?{type:s.event||r,escapeConnect:o,batch:d}:d[0],this[gy]=!1,!e){var v=this._messageCenter;if(v.trigger(f.type,f),g){var y={type:"selectchanged",escapeConnect:o,selected:ru(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};v.trigger(y.type,y)}}},ky=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Dy.call(this,n,t)}},Py=function(t){!t&&this.trigger("updated")},Ly=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[my]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},Oy=function(t,e){t.on("mouseover",(function(t){var n=mv(t.target,pu);n&&(!function(t,e,n){var i=fl(t),r=nu(i.componentMainType,i.componentIndex,i.componentHighDownName,n),o=r.dispatchers,a=r.focusSelf;o?(a&&eu(i.componentMainType,i.componentIndex,n),B(o,(function(t){return Wl(t,e)}))):(tu(i.seriesIndex,i.focus,i.blurScope,n),"self"===i.focus&&eu(i.componentMainType,i.componentIndex,n),Wl(t,e))}(n,t,e._api),zy(e))})).on("mouseout",(function(t){var n=mv(t.target,pu);n&&(!function(t,e,n){Ql(n);var i=fl(t),r=nu(i.componentMainType,i.componentIndex,i.componentHighDownName,n).dispatchers;r?B(r,(function(t){return Zl(t,e)})):Zl(t,e)}(n,t,e._api),zy(e))})).on("click",(function(t){var n=mv(t.target,(function(t){return null!=fl(t).dataIndex}),!0);if(n){var i=n.selected?"unselect":"select",r=fl(n);e._api.dispatchAction({type:i,dataType:r.dataType,dataIndexInside:r.dataIndex,seriesIndex:r.seriesIndex,isFromClick:!0})}}))},Ey=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);Qe(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),B(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)}))}}(e),Ry(t,e,n,i,r),B(t._chartsViews,(function(t){t.__alive=!1})),Ny(t,e,n,i,r),B(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},Ry=function(t,e,i,o,s,l){B(l||t._componentsViews,(function(t){var s=t.__model;r(s,t),t.render(s,e,i,o),n(s,t),a(s,t)}))},Ny=function(t,e,i,o,s,u){var h=t._scheduler;s=O(s||{},{updatedSeries:e.getSeries()}),hy.trigger("series:beforeupdate",e,i,s);var c=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;h.updatePayload(i,o),r(e,n),u&&u.get(e.uid)&&i.dirty(),i.perform(h.getPerformArgs(i))&&(c=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}(e,n),iu(e)})),h.unfinished=c||h.unfinished,hy.trigger("series:layoutlabels",e,i,s),hy.trigger("series:transition",e,i,s),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];n(e,i),a(e,i)})),function(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!l.node&&!l.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),hy.trigger("series:afterupdate",e,i,s)},zy=function(t){t[vy]=!0,t.getZr().wakeUp()},Vy=function(t){t[vy]&&(t.getZr().storage.traverse((function(t){xu(t)||e(t)})),t[vy]=!1)},Fy=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return o(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){Ul(e,n),zy(t)},n.prototype.leaveEmphasis=function(e,n){Xl(e,n),zy(t)},n.prototype.enterBlur=function(e){$l(e),zy(t)},n.prototype.leaveBlur=function(e){Yl(e),zy(t)},n.prototype.enterSelect=function(e){ql(e),zy(t)},n.prototype.leaveSelect=function(e){Kl(e),zy(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(Uc))(t)},By=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][_y]=e}}B($y,(function(n,i){t._messageCenter.on(i,(function(n){if(e_[t.group]&&0!==t[_y]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];B(t_,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),B(r,(function(t){1!==t[_y]&&t.dispatchAction(i)})),e(r,2)}}))}))}}(),e}(Ut),Wy=Hy.prototype;Wy.on=xy("on"),Wy.off=xy("off"),Wy.one=function(t,e,n){var i=this;Jp(),this.on.call(this,t,(function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)}),n)};var Zy=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Uy(t){0}var Xy={},$y={},Yy=[],qy=[],Ky=[],Jy={},Qy={},t_={},e_={},n_=+new Date-0,i_=(new Date,"_echarts_instance_");function r_(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=o_(t);if(r)return r;0}var o=new Hy(t,e,n);return o.id="ec_"+n_++,t_[o.id]=o,i&&Zo(t,i_,o.id),By(o),hy.trigger("afterinit",o),o}function o_(t){return t_[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,i_)]}function a_(t,e){Jy[t]=e}function s_(t){R(qy,t)<0&&qy.push(t)}function l_(t,e){f_(Yy,t,e,2e3)}function u_(t,e){hy.on(t,e)}function h_(t,e,n){U(e)&&(n=e,e="");var i=q(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,$y[e]||(st(yy.test(i)&&yy.test(e)),Xy[i]||(Xy[i]={action:n,actionInfo:t}),$y[e]=i)}function c_(t,e){f_(Ky,t,e,3e3,"visual")}var p_=[];function f_(t,e,n,i,r){if((U(e)||q(e))&&(n=e,e=i),!(R(p_,n)>=0)){p_.push(n);var o=Km.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function d_(t,e){Qy[t]=e}var g_=function(t){var e=(t=k(t)).type;e||Qp("");var n=e.split(":");2!==n.length&&Qp("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,df.set(e,t)};c_(py,Pm),c_(fy,Om),c_(fy,Em),c_(py,uv),c_(fy,hv),c_(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=ay(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=ay(r,e)}}))})),s_(_p),l_(900,(function(t){var e=gt();t.eachSeries((function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}})),e.each(xp)})),d_("default",(function(t,e){E(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",
vendor: 4,608 bytes, line 1
1spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Ur,i=new qs({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new pl({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new qs({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&((r=new xg({shape:{startAngle:-Rm/2,endAngle:-Rm/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Rm/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Rm/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),h_({type:Cl,event:Cl,update:Cl},xt),h_({type:Al,event:Al,update:Al},xt),h_({type:Il,event:Il,update:Il},xt),h_({type:Dl,event:Dl,update:Dl},xt),h_({type:kl,event:kl,update:kl},xt),a_("light",Qm),a_("dark",ov);var m_=[],v_={registerPreprocessor:s_,registerProcessor:l_,registerPostInit:function(t){u_("afterinit",t)},registerPostUpdate:function(t){u_("afterupdate",t)},registerUpdateLifecycle:u_,registerAction:h_,registerCoordinateSystem:function(t,e){Yc.register(t,e)},registerLayout:function(t,e){f_(Ky,t,e,1e3,"layout")},registerVisual:c_,registerTransform:g_,registerLoading:d_,registerMap:function(t,e,n){var i=cy["registerMap"];i&&i(t,e,n)},registerImpl:function(t,e){cy[t]=e},PRIORITY:dy,ComponentModel:hc,ComponentView:ud,SeriesModel:sd,ChartView:_m,registerComponentModel:function(t){hc.registerClass(t)},registerComponentView:function(t){ud.registerClass(t)},registerSeriesModel:function(t){sd.registerClass(t)},registerChartView:function(t){_m.registerClass(t)},registerSubTypeDefaulter:function(t,e){hc.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,Xr[t]=n}};function y_(t){Z(t)?B(t,(function(t){y_(t)})):R(m_,t)>=0||(m_.push(t),U(t)&&(t={install:t}),t.install(v_))}var __=2*Math.PI,x_=fs.CMD,b_=["top","right","bottom","left"];function w_(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function S_(t,e,n,i,r,o,a,s,l){a-=t,s-=e;var u=Math.sqrt(a*a+s*s),h=(a/=u)*n+t,c=(s/=u)*n+e;if(Math.abs(i-r)%__<1e-4)return l[0]=h,l[1]=c,u-n;if(o){var p=i;i=ys(r),r=ys(p)}else i=ys(i),r=ys(r);i>r&&(r+=__);var f=Math.atan2(s,a);if(f<0&&(f+=__),f>=i&&f<=r||f+__>=i&&f+__<=r)return l[0]=h,l[1]=c,u-n;var d=n*Math.cos(i)+t,g=n*Math.sin(i)+e,m=n*Math.cos(r)+t,v=n*Math.sin(r)+e,y=(d-a)*(d-a)+(g-s)*(g-s),_=(m-a)*(m-a)+(v-s)*(v-s);return y<_?(l[0]=d,l[1]=g,Math.sqrt(y)):(l[0]=m,l[1]=v,Math.sqrt(_))}function M_(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,h=n-t,c=i-e,p=Math.sqrt(h*h+c*c),f=(l*(h/=p)+u*(c/=p))/p;s&&(f=Math.min(Math.max(f,0),1)),f*=p;var d=a[0]=t+f*h,g=a[1]=e+f*c;return Math.sqrt((d-r)*(d-r)+(g-o)*(g-o))}function T_(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),h=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(h-o)*(h-o))}var C_=[];function A_(t,e,n){var i=T_(e.x,e.y,e.width,e.height,t.x,t.y,C_);return n.set(C_[0],C_[1]),i}function I_(t,e,n){for(var i,r,o=0,a=0,s=0,l=0,u=1/0,h=e.data,c=t.x,p=t.y,f=0;f<h.length;){var d=h[f++];1===f&&(s=o=h[f],l=a=h[f+1]);var g=u;switch(d){case x_.M:o=s=h[f++],a=l=h[f++];break;case x_.L:g=M_(o,a,h[f],h[f+1],c,p,C_,!0),o=h[f++],a=h[f++];break;case x_.C:g=An(o,a,h[f++],h[f++],h[f++],h[f++],h[f],h[f+1],c,p,C_),o=h[f++],a=h[f++];break;case x_.Q:g=On(o,a,h[f++],h[f++],h[f],h[f+1],c,p,C_),o=h[f++],a=h[f++];break;case x_.A:var m=h[f++],v=h[f++],y=h[f++],_=h[f++],x=h[f++],b=h[f++];f+=1;var w=!!(1-h[f++]);i=Math.cos(x)*y+m,r=Math.sin(x)*_+v,f<=1&&(s=i,l=r),g=S_(m,v,_,x,x+b,w,(c-m)*_/y+m,p,C_),o=Math.cos(x+b)*y+m,a=Math.sin(x+b)*_+v;break;case x_.R:g=T_(s=o=h[f++],l=a=h[f++],h[f++],h[f++],c,p,C_);break;case x_.Z:g=M_(o,a,s,l,c,p,C_,!0),o=s,a=l}g<u&&(u=g,n.set(C_[0],C_[1]))}return u}var D_=new Me,k_=new Me,P_=new Me,L_=new Me,O_=new Me;function E_(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{}
vendor: 29,982 bytes, line 1
1,o=[[0,0],[0,0],[0,0]],a=r.candidates||b_,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var l=1/0,u=r.anchor,h=t.getComputedTransform(),c=h&&we([],h),p=e.get("length2")||0;u&&P_.copy(u);for(var f=0;f<a.length;f++){w_(a[f],0,s,D_,L_),Me.scaleAndAdd(k_,D_,L_,p),k_.transform(c);var d=t.getBoundingRect(),g=u?u.distance(k_):t instanceof Rs?I_(k_,t.path,P_):A_(k_,d,P_);g<l&&(l=g,k_.transform(h),P_.transform(h),P_.toArray(o[0]),k_.toArray(o[1]),D_.toArray(o[2]))}F_(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var R_=[],N_=new Me;function F_(t,e){if(e<=180&&e>0){e=e/180*Math.PI,D_.fromArray(t[0]),k_.fromArray(t[1]),P_.fromArray(t[2]),Me.sub(L_,D_,k_),Me.sub(O_,P_,k_);var n=L_.len(),i=O_.len();if(!(n<.001||i<.001)){L_.scale(1/n),O_.scale(1/i);var r=L_.dot(O_);if(Math.cos(e)<r){var o=M_(k_.x,k_.y,P_.x,P_.y,D_.x,D_.y,R_,!1);N_.fromArray(R_),N_.scaleAndAdd(O_,o/Math.tan(Math.PI-e));var a=P_.x!==k_.x?(N_.x-k_.x)/(P_.x-k_.x):(N_.y-k_.y)/(P_.y-k_.y);if(isNaN(a))return;a<0?Me.copy(N_,k_):a>1&&Me.copy(N_,P_),N_.toArray(t[1])}}}}function B_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,D_.fromArray(t[0]),k_.fromArray(t[1]),P_.fromArray(t[2]),Me.sub(L_,k_,D_),Me.sub(O_,P_,k_);var i=L_.len(),r=O_.len();if(!(i<.001||r<.001))if(L_.scale(1/i),O_.scale(1/r),L_.dot(e)<Math.cos(n)){var o=M_(k_.x,k_.y,P_.x,P_.y,D_.x,D_.y,R_,!1);N_.fromArray(R_);var a=Math.PI/2,s=a+Math.acos(O_.dot(e))-n;if(s>=a)Me.copy(N_,P_);else{N_.scaleAndAdd(O_,o/Math.tan(Math.PI/2-s));var l=P_.x!==k_.x?(N_.x-k_.x)/(P_.x-k_.x):(N_.y-k_.y)/(P_.y-k_.y);if(isNaN(l))return;l<0?Me.copy(N_,k_):l>1&&Me.copy(N_,P_)}N_.toArray(t[1])}}}function z_(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function V_(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=Nt(i[0],i[1]),o=Nt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Bt([],i[1],i[0],a/r),l=Bt([],i[1],i[2],a/o),u=Bt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h<i.length;h++)t.lineTo(i[h][0],i[h][1])}function j_(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,l=0;l<Sl.length;l++){var u=Sl[l],h=e[u],c="normal"===u;if(h){var p=h.get("show");if((c?s:it(r.states[u]&&r.states[u].ignore,s))||!it(p,a)){var f=c?i:i&&i.states[u];f&&(f.ignore=!0),i&&z_(i,!0,u,h);continue}i||(i=new lg,t.setTextGuideLine(i),c||!s&&a||z_(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),z_(i,!1,u,h)}}if(i){E(i.style,n),i.style.fill=null;var d=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=d||!1,i.buildPath=V_}}else i&&t.removeTextGuideLine()}function G_(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<wl.length;i++){var r=wl[i];n[r]=t.getModel([r,e])}return n}function H_(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var h=s?new Pg(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:h,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}function W_(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,h=[],c=0,p=0;p<a;p++){var f=t[p],d=f.rect;(s=d[e]-l)<0&&(d[e]-=s,f.label[e]-=s,u=!0);var g=Math.max(-s,0);h.push(g),c+=g,l=d[e]+d[n]}c>0&&o&&w(-c/a,0,a);var m,v,y=t[0],_=t[a-1];return x(),m<0&&S(-m,.8),v<0&&S(v,.8),x(),b(m,v,1),b(v,m,-1),x(),m<0&&M(-m),v<0&&M(v),u}function x(){m=y.rect[e]-i,v=r-_.rect[e]-_.rect[n]}function b(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&S(-r*n,1)}else S(-t*n,1)}}function w(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function S(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,h=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(h),s+=h}if(s){var c=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){w(o[l]*c,0,l+1)}else for(l=a-1;l>0;l--){w(-(o[l-1]*c),l,a)}}}function M(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?w(n,0,i+1):w(-n,a-i-1,a),(t-=n)<=0)return}}function Z_(t,e,n,i){return W_(t,"y","height",e,n,i)}function U_(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Ee(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,h=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var c=o.obb,p=!1,f=0;f<e.length;f++){var d=e[f];if(n.intersect(d.rect)){if(a&&d.axisAligned){p=!0;break}if(d.obb||(d.obb=new Pg(d.localRect,d.transform)),c||(c=new Pg(s,l)),c.intersect(d.obb)){p=!0;break}}}p?(i(u),h&&i(h)):(u.attr("ignore",o.defaultAttr.ignore),h&&h.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}function X_(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function $_(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:X_(i&&i.shape.points)}}var Y_=["align","verticalAlign","width","height","fontSize"],q_=new Mr,K_=Bo(),J_=Bo();function Q_(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var tx=["x","y","rotation"],ex=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),l=i.getBoundingRect().plain();Ee.applyTransform(l,l,s),s?q_.setLocalTransform(s):(q_.x=q_.y=q_.rotation=q_.originX=q_.originY=0,q_.scaleX=q_.scaleY=1),q_.rotation=ys(q_.rotation);var u,h=i.__hostTarget;if(h){u=h.getBoundingRect().plain();var c=h.getComputedTransform();Ee.applyTransform(u,u,c)}var p=u&&h.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:l,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:q_.x,y:q_.y,scaleX:q_.scaleX,scaleY:q_.scaleY,rotation:q_.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(U(i)||G(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=fl(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){E_(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,l=o.defaultAttr,u=void 0;u=(u=U(o.layoutOption)?o.layoutOption($_(o,s)):o.layoutOption)||{},o.computedLayoutOption=u;var h=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:l.attachedPos,rotation:null!=u.rotate?u.rotate*h:l.attachedRot,offset:[u.dx||0,u.dy||0]});var c=!1;if(null!=u.x?(a.x=eo(u.x,e),a.setStyle("x",0),c=!0):(a.x=l.x,a.setStyle("x",l.style.x)),null!=u.y?(a.y=eo(u.y,n),a.setStyle("y",0),c=!0):(a.y=l.y,a.setStyle("y",l.style.y)),u.labelLinePoints){var p=s.getTextGuideLine();p&&(p.setShape({points:u.labelLinePoints}),c=!1)}K_(a).needsUpdateLabelLine=c,a.rotation=null!=u.rotate?u.rotate*h:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<Y_.length;f++){var d=Y_[f];a.setStyle(d,null!=u[d]?u[d]:l.style[d])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),i=t.getHeight(),r=H_(this._labelList),o=j(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=j(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));W_(o,"x","width",0,n,e),Z_(a,0,i),U_(j(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;B(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=K_(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=fl(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style");if(l){var u=o.getVisual("drawType");s.stroke=l[u]}var h=a.getModel("labelLine");j_(t,G_(a),s),E_(t,h)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!xu(t))){var r=(f=K_(n)).oldLayout,o=fl(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},l=e.getData(o.dataType);if(r){n.attr(r);var u=t.prevStates;u&&(R(u,"select")>=0&&n.attr(f.oldLayoutSelect),R(u,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),yu(n,s,e,a)}else if(n.attr(s),!Fu(n).valueAnimation){var h=it(n.style.opacity,1);n.style.opacity=0,_u(n,{style:{opacity:h}},e,a)}if(f.oldLayout=s,n.states.select){var c=f.oldLayoutSelect={};Q_(c,s,tx),Q_(c,n.states.select,tx)}if(n.states.emphasis){var p=f.oldLayoutEmphasis={};Q_(p,s,tx),Q_(p,n.states.emphasis,tx)}zu(n,a,l,e,e)}if(i&&!i.ignore&&!i.invisible){r=(f=J_(i)).oldLayout;var f,d={points:i.shape.points};r?(i.attr({shape:r}),yu(i,{shape:d},e)):(i.setShape(d),i.style.strokePercent=0,_u(i,{style:{strokePercent:1}},e)),f.oldLayout=d}},t}(),nx=ex,ix=Bo();function rx(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=ix(e).labelManager;i||(i=ix(e).labelManager=new nx),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=ix(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}function ox(t,e,n){var i=g.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}y_(rx);var ax=function(t){function e(e,n,i){var r,o=t.call(this)||this;o.motionBlur=!1,o.lastFrameAlpha=.7,o.dpr=1,o.virtual=!1,o.config={},o.incremental=!1,o.zlevel=0,o.maxRepaintRectCount=5,o.__dirty=!0,o.__firstTimePaint=!0,o.__used=!1,o.__drawIndex=0,o.__startIndex=0,o.__endIndex=0,o.__prevStartIndex=null,o.__prevEndIndex=null,i=i||cr,"string"==typeof e?r=ox(e,n,i):q(e)&&(e=(r=e).id),o.id=e,o.dom=r;var a=r.style;return a&&(yt(r),r.onselectstart=function(){return!1},a.padding="0",a.margin="0",a.borderWidth="0"),o.painter=n,o.dpr=i,o}return St(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=ox("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new Ee(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===o.length){(e=new Ee(0,0,0,0)).copy(t),o.push(e)}else{for(var e,n=!1,i=1/0,r=0,u=0;u<o.length;++u){var h=o[u];if(h.intersect(t)){var c=new Ee(0,0,0,0);c.copy(h),c.union(t),o[u]=c,n=!0;break}if(s){l.copy(t),l.union(h);var p=t.width*t.height,f=h.width*h.height,d=l.width*l.height-p-f;d<i&&(i=d,r=u)}}if(s&&(o[r].union(t),n=!0),!n)(e=new Ee(0,0,0,0)).copy(t),o.push(e);s||(s=o.length>=a)}}for(var h=this.__startIndex;h<this.__endIndex;++h){if(f=t[h]){var c=f.shouldBePainted(n,i,!0,!0);(d=f.__isRendered&&(f.__dirty&tn||!c)?f.getPrevPaintRect():null)&&u(d);var p=c&&(f.__dirty&tn||!f.__isRendered)?f.getPaintRect():null;p&&u(p)}}for(h=this.__prevStartIndex;h<this.__prevEndIndex;++h){var f,d;c=(f=e[h])&&f.shouldBePainted(n,i,!0,!0);if(f&&(!c||!f.__zr)&&f.__isRendered)(d=f.getPrevPaintRect())&&u(d)}do{r=!1;for(h=0;h<o.length;)if(o[h].isZero())o.splice(h,1);else{for(var g=h+1;g<o.length;)o[h].intersect(o[g])?(r=!0,o[h].union(o[g]),o.splice(g,1)):g++;h++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,r=this.ctx,o=i.width,a=i.height;e=e||this.clearColor;var s=this.motionBlur&&!t,l=this.lastFrameAlpha,u=this.dpr,h=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,o/u,a/u));var c=this.domBack;function p(t,n,i,o){if(r.clearRect(t,n,i,o),e&&"transparent"!==e){var a=void 0;if(tt(e))a=(e.global||e.__width===i&&e.__height===o)&&e.__canvasGradient||Ov(r,e,{x:0,y:0,width:i,height:o}),e.__canvasGradient=a,e.__width=i,e.__height=o;else null!=e.image&&(e.scaleX=e.scaleX||u,e.scaleY=e.scaleY||u,a=Hv(r,e,{dirty:function(){h.setUnpainted(),h.painter.refresh()}}));r.save(),r.fillStyle=a||e,r.fillRect(t,n,i,o),r.restore()}s&&(r.save(),r.globalAlpha=l,r.drawImage(c,t,n,i,o),r.restore())}!n||s?p(0,0,o,a):n.length&&B(n,(function(t){p(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(Ut),sx=ax,lx=1e5,ux=314159,hx=.01;var cx=function(){function t(t,e,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var r=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=O({},n||{}),this.dpr=n.devicePixelRatio||cr,this._singleCanvas=r,this.root=t,t.style&&(yt(t),t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var a=this._layers;if(r){var s=t,l=s.width,u=s.height;null!=n.width&&(l=n.width),null!=n.height&&(u=n.height),this.dpr=n.devicePixelRatio||1,s.width=l*this.dpr,s.height=u*this.dpr,this._width=l,this._height=u;var h=new sx(s,this,this.dpr);h.__builtin__=!0,h.initContext(),a[314159]=h,h.zlevel=ux,o.push(ux),this._domRoot=t}else{this._width=Rv(t,0,n),this._height=Rv(t,1,n);var c=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(c)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(lx)),i||(i=n.ctx).save(),ny(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(lx)},t.prototype.paintOne=function(t,e){ey(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;ln((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(ux).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,r=[],o=this._opts.useDirtyRect,a=0;a<this._zlevelList.length;a++){var s=this._zlevelList[a],u=this._layers[s];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&r.push(u)}for(var h=!0,c=!1,p=function(a){var s,l=r[a],u=l.ctx,p=o&&l.createRepaintRects(t,e,f._width,f._height),d=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,m=g&&Date.now(),v=l.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,p);else if(d===l.__startIndex){var y=t[d];y.incremental&&y.notClear&&!n||l.clear(!1,v,p)}-1===d&&(d=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=d;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,o,e,n,s===l.__endIndex-1),g)if(Date.now()-m>15)break}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var x=f.dpr,b=0;b<p.length;++b){var w=p[b];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)},f=this,d=0;d<r.length;d++)p(d);return l.wxa&&B(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&(ny(a,t,r,o),t.setPrevPaintRect(s))}else ny(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=ux);var n=this._layers[t];return n||((n=new sx("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?P(n,this._layerConfig[t],!0):this._layerConfig[t-hx]&&P(n,this._layerConfig[t-hx],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(r>0&&t>i[0]){for(s=0;s<r-1&&!(i[s]<t&&i[s+1]>t);s++);a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){o&&(o.__endIndex!==t&&(o.__dirty=!0),o.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var i,r,o=null,a=0;for(r=0;r<t.length;r++){var s,l=(s=t[r]).zlevel,u=void 0;i!==l&&(i=l,a=0),s.incremental?((u=this.getLayer(l+.001,this._needsManuallyCompositing)).incremental=!0,a=1):u=this.getLayer(l+(a>0?hx:0),this._needsManuallyCompositing),u.__builtin__||D("ZLevel "+l+" has been used by unkown layer "+u.id),u!==o&&(u.__used=!0,u.__startIndex!==r&&(u.__dirty=!0),u.__startIndex=r,u.incremental?u.__drawIndex=-1:u.__drawIndex=r,e(r),o=u),s.__dirty&tn&&!s.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=r))}e(r),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,B(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?P(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var r=this._zlevelList[i];if(r===t||r===t+hx)P(this._layers[r],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(R(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=Rv(r,0,i),e=Rv(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(ux).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new sx("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,l=a.length;s<l;s++){var u=a[s];ny(n,u,o,s===l-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),px=cx;var fx=Math.sin,dx=Math.cos,gx=Math.PI,mx=2*Math.PI,vx=180/gx,yx=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=di(h-mx)||(u?l>=mx:-l>=mx),p=l>0?l%mx:l%mx+mx,f=!1;f=!!c||!di(h)&&p>=gx==!!u;var d=t+n*dx(o),g=e+i*fx(o);this._start&&this._add("M",d,g);var m=Math.round(r*vx);if(c){var v=1/this._p,y=(u?1:-1)*(mx-v);this._add("A",n,i,m,1,+u,t+n*dx(o+y),e+i*fx(o+y)),v>.01&&this._add("A",n,i,m,0,+u,d,g)}else{var _=t+n*dx(a),x=e+i*fx(a);this._add("A",n,i,m,+f,+u,_,x)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c<arguments.length;c++){var p=arguments[c];if(isNaN(p))return void(this._invalid=!0);u.push(Math.round(p*h)/h)}this._d.push(t+u.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),_x=yx,xx="none",bx=Math.round;var Sx=["lineCap","miterLimit","lineJoin"],Mx=z(Sx,(function(t){return"stroke-"+t.toLowerCase()}));function Tx(t,e,n,i){var r=null==e.opacity?1:e.opacity;if(n instanceof Gs)t("opacity",r);else{if(function(t){var e=t.fill;return null!=e&&e!==xx}(e)){var o=pi(e.fill);t("fill",o.color);var a=null!=e.fillOpacity?e.fillOpacity*o.opacity*r:o.opacity*r;(i||a<1)&&t("fill-opacity",a)}else t("fill",xx);if(function(t){var e=t.stroke;return null!=e&&e!==xx}(e)){var s=pi(e.stroke);t("stroke",s.color);var l=e.strokeNoScale?n.getLineScale():1,u=l?(e.lineWidth||0)/l:0,h=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*r:s.opacity*r,c=e.strokeFirst;if((i||1!==u)&&t("stroke-width",u),(i||c)&&t("paint-order",c?"stroke":"fill"),(i||h<1)&&t("stroke-opacity",h),e.lineDash){var p=Nv(n),f=p[0],d=p[1];f&&(d=bx(d||0),t("stroke-dasharray",f.join(",")),(d||i)&&t("stroke-dashoffset",d))}else i&&t("stroke-dasharray",xx);for(var g=0;g<Sx.length;g++){var m=Sx[g];if(i||e[m]!==Ps[m]){var v=e[m]||Ps[m];v&&t(Mx[g],v)}}}else i&&t("stroke",xx)}}var Cx="http://www.w3.org/2000/svg",Ax="http://www.w3.org/1999/xlink",Ix="http://www.w3.org/2000/xmlns/",Dx="http://www.w3.org/XML/1998/namespace",kx="ecmeta_";function Px(t){return document.createElementNS(Cx,t)}function Lx(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function Ox(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?ne(a):a||"")+(i?""+n+z(i,(function(e){return t(e)})).join(n)+n:"")+("</"+r+">")}(t)}function Ex(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Rx(t,e,n,i){return Lx("svg","root",{width:t,height:e,xmlns:Cx,"xmlns:xlink":Ax,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var Nx=0;function Fx(){return Nx++}var Bx={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},zx="transform-origin";function Vx(t,e,n){var i=O({},t.shape);O(i,e),t.buildPath(n,i);var r=new _x;return r.reset(Mi(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function jx(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[zx]=n+"px "+i+"px")}var Gx={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Hx(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function Wx(t){return X(t)?Bx[t]?"cubic-bezier("+Bx[t]+")":Nn(t)?t:"":""}function Zx(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof wg){var s=function(t,e,n){var i,r,o=t.shape.paths,a={};if(B(o,(function(t){var e=Ex(n.zrId);e.animation=!0,Zx(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=G(o),u=l.length;if(u){var h=o[r=l[u-1]];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var f in s){var d=s[f].animation;d.indexOf(r)>=0&&(i=d)}}})),i){e.d=!1;var s=Hx(a,n);return i.replace(r,s)}}(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u<o;u++){var h=r[u],c=[h.getMaxTime()/1e3+"s"],p=Wx(h.getClip().easing),f=h.getDelay();p?c.push(p):c.push("linear"),f&&c.push(f/1e3+"s"),h.getLoop()&&c.push("infinite");var d=c.join(" ");l[d]=l[d]||[d,[]],l[d][1].push(h)}function g(r){var o,a=r[1],s=a.length,l={},u={},h={},c="animation-timing-function";function p(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,l=a.propName;if(n&&(l=n(l)),l)for(var u=0;u<s.length;u++){var h=s[u],p=Math.round(h.time/r*100)+"%",f=Wx(h.easing),d=h.rawValue;(X(d)||Y(d))&&(e[p]=e[p]||{},e[p][l]=h.rawValue,f&&(e[p][c]=f))}}}}for(var f=0;f<s;f++){(S=(w=a[f]).targetName)?"shape"===S&&p(w,u):!i&&p(w,l)}for(var d in l){var g={};Sr(g,t),O(g,l[d]);var m=Ti(g),v=l[d][c];h[d]=m?{transform:m}:{},jx(h[d],g),v&&(h[d][c]=v)}var y=!0;for(var d in u){h[d]=h[d]||{};var _=!o;v=u[d][c];_&&(o=new fs);var x=o.len();o.reset(),h[d].d=Vx(t,u[d],o);var b=o.len();if(!_&&x!==b){y=!1;break}v&&(h[d][c]=v)}if(!y)for(var d in h)delete h[d].d;if(!i)for(f=0;f<s;f++){var w,S;"style"===(S=(w=a[f]).targetName)&&p(w,h,(function(t){return Gx[t]}))}var M,T=G(h),C=!0;for(f=1;f<T.length;f++){var A=T[f-1],I=T[f];if(h[A][zx]!==h[I][zx]){C=!1;break}M=h[A][zx]}if(C&&M){for(var d in h)h[d][zx]&&delete h[d][zx];e[zx]=M}if(j(T,(function(t){return G(h[t]).length>0})).length)return Hx(h,n)+" "+r[0]+" both"}for(var m in l){(s=g(l[m]))&&a.push(s)}
vendor: 1,361 bytes, line 1
1if(a.length){var v=n.zrId+"-cls-"+Fx();n.cssNodes["."+v]={animation:a.join(",")},e.class=v}}function Ux(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+Fx(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var Xx=Math.round;function $x(t){return t&&X(t.src)}function Yx(t){return t&&U(t.toDataURL)}function qx(t,e,n,i){Tx((function(r,o){var a="fill"===r||"stroke"===r;a&&wi(o)?sb(e,t,r,i):a&&_i(o)?lb(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")}),e,n,!1),function(t,e,n){var i=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(i)){var r=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),o=n.shadowCache,a=o[r];if(!a){var s=t.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var h=i.shadowOffsetX||0,c=i.shadowOffsetY||0,p=i.shadowBlur,f=pi(i.shadowColor),d=f.opacity,g=f.color,m=p/2/l+" "+p/2/u;a=n.zrId+"-s"+n.shadowIdx++,n.defs[a]=Lx("filter",a,{id:a,x:"-100%",y:"-100%",width:"300%",height:"300%"},[Lx("feDropShadow","",{dx:h/l,dy:c/u,stdDeviation:m,"flood-color":g,"flood-opacity":d})]),o[r]=a}e.filter=Si(a)}}(n,t,i)}function Kx(t,e){var n=function(t){if("function"==typeof Yr)return Yr(t)}(e);
vendor: 11,864 bytes, line 1
1n&&(n.each((function(e,n){null!=e&&(t[(kx+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[kx+"silent"]="true"))}function Jx(t){return di(t[0]-1)&&di(t[1])&&di(t[2])&&di(t[3]-1)}function Qx(t,e,n){if(e&&(!function(t){return di(t[4])&&di(t[5])}(e)||!Jx(e))){var i=n?10:1e4;t.transform=Jx(e)?"translate("+Xx(e[4]*i)/i+" "+Xx(e[5]*i)/i+")":function(t){return"matrix("+gi(t[0])+","+gi(t[1])+","+gi(t[2])+","+gi(t[3])+","+mi(t[4])+","+mi(t[5])+")"}(e)}}function tb(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push(Xx(i[o][0]*n)/n),r.push(Xx(i[o][1]*n)/n);e.points=r.join(" ")}function eb(t){return!t.smooth}var nb,ib,rb={circle:[(nb=["cx","cy","r"],ib=z(nb,(function(t){return"string"==typeof t?[t,t]:t})),function(t,e,n){for(var i=0;i<ib.length;i++){var r=ib[i],o=t[r[0]];null!=o&&(e[r[1]]=Xx(o*n)/n)}})],polyline:[tb,eb],polygon:[tb,eb]};function ob(t,e){var n=t.style,i=t.shape,r=rb[t.type],o={},a=e.animation,s="path",l=t.style.strokePercent,u=e.compress&&Mi(t)||4;if(!r||e.willUpdate||r[1]&&!r[1](i)||a&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var h=!t.path||t.shapeChanged();t.path||t.createPathProxy();var c=t.path;h&&(c.beginPath(),t.buildPath(c,t.shape),t.pathUpdated());var p=c.getVersion(),f=t,d=f.__svgPathBuilder;f.__svgPathVersion===p&&d&&l===f.__svgPathStrokePercent||(d||(d=f.__svgPathBuilder=new _x),d.reset(u),c.rebuildPath(d,l),d.generateStr(),f.__svgPathVersion=p,f.__svgPathStrokePercent=l),o.d=d.getStr()}else{s=t.type;var g=Math.pow(10,u);r[0](i,o,g)}return Qx(o,t.transform),qx(o,n,t,e),Kx(o,t),e.animation&&Zx(t,o,e),e.emphasis&&function(t,e,n){if(!t.ignore)if(t.isSilent())Ux(u={"pointer-events":"none"},e,n,!0);else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},r=i.fill;if(!r){var o=t.style&&t.style.fill,a=t.states.select&&t.states.select.style&&t.states.select.style.fill,s=t.currentStates.indexOf("select")>=0&&a||o;s&&(r=hi(s))}var l=i.lineWidth;l&&(l/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var u={cursor:"pointer"};r&&(u.fill=r),i.stroke&&(u.stroke=i.stroke),l&&(u["stroke-width"]=l),Ux(u,e,n,!0)}}(t,o,e),Lx(s,t.id+"",o)}function ab(t,e){return t instanceof Rs?ob(t,e):t instanceof Gs?function(t,e){var n=t.style,i=n.image;if(i&&!X(i)&&($x(i)?i=i.src:Yx(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),Qx(a,t.transform),qx(a,n,t,e),Kx(a,t),e.animation&&Zx(t,a,e),Lx("image",t.id+"",a)}}(t,e):t instanceof Bs?function(t,e){var n=t.style,i=n.text;if(null!=i&&(i+=""),i&&!isNaN(n.x)&&!isNaN(n.y)){var r=n.font||c,o=n.x||0,a=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,Pr(r),n.textBaseline),s={"dominant-baseline":"central","text-anchor":vi[n.textAlign]||n.textAlign};if(ol(n)){var l="",u=n.fontStyle,p=il(n.fontSize);if(!parseFloat(p))return;var f=n.fontFamily||h,d=n.fontWeight;l+="font-size:"+p+";font-family:"+f+";",u&&"normal"!==u&&(l+="font-style:"+u+";"),d&&"normal"!==d&&(l+="font-weight:"+d+";"),s.style=l}else s.style="font: "+r;return i.match(/\s/)&&(s["xml:space"]="preserve"),o&&(s.x=o),a&&(s.y=a),Qx(s,t.transform),qx(s,n,t,e),Kx(s,t),e.animation&&Zx(t,s,e),Lx("text",t.id+"",s,void 0,i)}}(t,e):void 0}function sb(t,e,n,i){var r,o=t[n],a={gradientUnits:o.global?"userSpaceOnUse":"objectBoundingBox"};if(xi(o))r="linearGradient",a.x1=o.x,a.y1=o.y,a.x2=o.x2,a.y2=o.y2;else{if(!bi(o))return void 0;r="radialGradient",a.cx=it(o.x,.5),a.cy=it(o.y,.5),a.r=it(o.r,.5)}for(var s=o.colorStops,l=[],u=0,h=s.length;u<h;++u){var c=100*mi(s[u].offset)+"%",p=pi(s[u].color),f=p.color,d=p.opacity,g={offset:c};g["stop-color"]=f,d<1&&(g["stop-opacity"]=d),l.push(Lx("stop",u+"",g))}var m=Ox(Lx(r,"",a,l)),v=i.gradientCache,y=v[m];y||(y=i.zrId+"-g"+i.gradientIdx++,v[m]=y,a.id=y,i.defs[y]=Lx(r,y,a,l)),e[n]=Si(y)}function lb(t,e,n,i){var r,o=t.style[n],a=t.getBoundingRect(),s={},l=o.repeat,u="no-repeat"===l,h="repeat-x"===l,c="repeat-y"===l;if(yi(o)){var p=o.imageWidth,f=o.imageHeight,d=void 0,g=o.image;if(X(g)?d=g:$x(g)?d=g.src:Yx(g)&&(d=g.toDataURL()),"undefined"==typeof Image){var m="Image width/height must been given explictly in svg-ssr renderer.";st(p,m),st(f,m)}else if(null==p||null==f){var v=function(t,e){if(t){var n=t.elm,i=p||e.width,r=f||e.height;"pattern"===t.tag&&(h?(r=1,i/=a.width):c&&(i=1,r/=a.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},y=ua(d,null,t,(function(t){u||v(w,t),v(r,t)}));y&&y.width&&y.height&&(p=p||y.width,f=f||y.height)}r=Lx("image","img",{href:d,width:p,height:f}),s.width=p,s.height=f}else o.svgElement&&(r=k(o.svgElement),s.width=o.svgWidth,s.height=o.svgHeight);if(r){var _,x;u?_=x=1:h?(x=1,_=s.width/a.width):c?(_=1,x=s.height/a.height):s.patternUnits="userSpaceOnUse",null==_||isNaN(_)||(s.width=_),null==x||isNaN(x)||(s.height=x);var b=Ti(o);b&&(s.patternTransform=b);var w=Lx("pattern","",s,[r]),S=Ox(w),M=i.patternCache,T=M[S];T||(T=i.zrId+"-p"+i.patternIdx++,M[S]=T,s.id=T,w=i.defs[T]=Lx("pattern",T,s,[r])),e[n]=Si(T)}}function ub(t,e,n){var i=n.clipPathCache,r=n.defs,o=i[t.id];if(!o){var a={id:o=n.zrId+"-c"+n.clipPathIdx++};i[t.id]=o,r[o]=Lx("clipPath",o,a,[ob(t,n)])}e["clip-path"]=Si(o)}function hb(t){return document.createTextNode(t)}function cb(t,e,n){t.insertBefore(e,n)}function pb(t,e){t.removeChild(e)}function fb(t,e){t.appendChild(e)}function db(t){return t.parentNode}function gb(t){return t.nextSibling}function mb(t,e){t.textContent=e}var vb=58,yb=120,_b=Lx("","");function xb(t){return void 0===t}function bb(t){return void 0!==t}function wb(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function Sb(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function Mb(t){var e,n=t.children,i=t.tag;if(bb(i)){var r=t.elm=Px(i);if(Ab(_b,t),Z(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&fb(r,Mb(o))}else bb(t.text)&&!q(t.text)&&fb(r,hb(t.text))}else t.elm=hb(t.text);return t.elm}function Tb(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&cb(t,Mb(o),e)}}function Cb(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(bb(r.tag))pb(db(r.elm),r.elm);else pb(t,r.elm)}}function Ab(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):"style"===n?i.style.cssText=a:n.charCodeAt(0)!==yb?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS(Ix,n,a):n.charCodeAt(3)===vb?i.setAttributeNS(Dx,n,a):n.charCodeAt(5)===vb?i.setAttributeNS(Ax,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function Ib(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(Ab(t,e),xb(e.text)?bb(i)&&bb(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,l=e.length-1,u=e[0],h=e[l],c=n.length-1,p=n[0],f=n[c];a<=l&&s<=c;)null==u?u=e[++a]:null==h?h=e[--l]:null==p?p=n[++s]:null==f?f=n[--c]:Sb(u,p)?(Ib(u,p),u=e[++a],p=n[++s]):Sb(h,f)?(Ib(h,f),h=e[--l],f=n[--c]):Sb(u,f)?(Ib(u,f),cb(t,u.elm,gb(h.elm)),u=e[++a],f=n[--c]):Sb(h,p)?(Ib(h,p),cb(t,h.elm,u.elm),h=e[--l],p=n[++s]):(xb(i)&&(i=wb(e,a,l)),xb(r=i[p.key])||(o=e[r]).tag!==p.tag?cb(t,Mb(p),u.elm):(Ib(o,p),e[r]=void 0,cb(t,o.elm,u.elm)),p=n[++s]);(a<=l||s<=c)&&(a>l?Tb(t,null==n[c+1]?null:n[c+1].elm,n,s,c):Cb(t,e,a,l))}(n,i,r):bb(r)?(bb(t.text)&&mb(n,""),Tb(n,null,r,0,r.length-1)):bb(i)?Cb(n,i,0,i.length-1):bb(t.text)&&mb(n,""):t.text!==e.text&&(bb(i)&&Cb(n,i,0,i.length-1),mb(n,e.text)))}var Db=0,kb=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=e,this._opts=n=O({},n),this.root=t,this._id="zr"+Db++,this._oldVNode=Rx(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=Px("svg");Ab(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(Sb(t,e))Ib(t,e);else{var n=t.elm,i=db(n);Mb(e),null!==i&&(cb(i,e.elm,gb(n)),Cb(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return ab(t,Ex(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=Ex(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=function(t,e,n,i){var r;if(n&&"none"!==n)if(r=Lx("rect","bg",{width:t,height:e,x:"0",y:"0"}),wi(n))sb({fill:n},r.attrs,"fill",i);else if(_i(n))lb({style:{fill:n},dirty:xt,getBoundingRect:function(){return{width:t,height:e}}},r.attrs,"fill",i);else{var o=pi(n),a=o.color,s=o.opacity;r.attrs.fill=a,s<1&&(r.attrs["fill-opacity"]=s)}return r}(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=Lx("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=z(G(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(Lx("defs","defs",{},l)),t.animation){var u=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=z(G(t),(function(e){return e+r+z(G(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=z(G(e),(function(t){return"@keyframes "+t+r+z(G(e[t]),(function(n){return n+r+z(G(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=Lx("style","stl",{},[],u);o.push(h)}}return Rx(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},Ox(this.renderToVNode({animation:it(t.cssAnimation,!0),emphasis:it(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:it(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u<o;u++){var h=t[u];if(!h.invisible){var c=h.__clipPaths,p=c&&c.length||0,f=r&&r.length||0,d=void 0;for(d=Math.max(p-1,f-1);d>=0&&(!c||!r||c[d]!==r[d]);d--);for(var g=f-1;g>d;g--)i=a[--s-1];for(var m=d+1;m<p;m++){var v={};ub(c[m],v,e);var y=Lx("g","clip-g-"+l++,v,[]);(i?i.children:n).push(y),a[s++]=y,i=y}r=c;var _=ab(h,e);_&&(i?i.children:n).push(_)}}},t.prototype.resize=function(t,e){var n=this._opts,i=this.root,r=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),i&&r&&(r.style.display="none",t=Rv(i,0,n),e=Rv(i,1,n),r.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,r){var o=r.style;o.width=t+"px",o.height=e+"px"}if(_i(this._backgroundColor))this.refresh();else{var a=this._svgDom;a&&(a.setAttribute("width",t),a.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=Ci(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();var Pb=kb;
vendor: 5,138 bytes, line 1
1function Lb(t){return null==t?0:t.length||1}function Ob(t){return t}var Eb=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Ob,this._newKeyGetter=i||Ob,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=Lb(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],h=Lb(l),c=Lb(u);if(h>1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p<h;p++)this._remove&&this._remove(l[p]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=Lb(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=Lb(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),Rb=Eb,Nb=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function Fb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Bb(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var zb=function(t){this.otherDims={},null!=t&&O(this,t)},Vb=Bo(),jb={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Gb=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Zb(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return it(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Op(this.source),n=!Ub(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,h=this.dimensions[a];if(h&&h.storeDimIndex===o)s=e?h.name:null,l=h.type,u=h.ordinalMeta,a++;else{var c=this.getSourceDimension(o);c&&(s=e?c.name:null,l=c.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||h&&h.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=jb[l]||"f",u&&(i+=u.uid),i+="$"}var p=this.source;return{dimensions:r,hash:[p.seriesLayoutBy,p.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Hb(t){return t instanceof Gb}function Wb(t){for(var e=gt(),n=0;n<(t||[]).length;n++){var i=t[n],r=q(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function Zb(t){var e=Vb(t);return e.dimNameMap||(e.dimNameMap=Wb(t.dimensionsDefine))}function Ub(t){return t>30}var Xb,$b,Yb,qb,Kb,Jb,Qb,tw=q,ew=z,nw="undefined"==typeof Int32Array?Array:Int32Array,iw=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],rw=["_approximateExtent"],ow=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual
vendor: 27,840 bytes, line 1
1={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;Hb(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var h=n[u],c=X(h)?new zb({name:h}):h instanceof zb?h:new zb(h),p=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=p,c.coordDimIndex=0);var f=c.otherDims=c.otherDims||{};o.push(p),r[p]=c,null!=l[p]&&(s=!0),c.createInvertedIndices&&(a[p]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(c.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var d=this._dimIdxToName=gt();B(o,(function(t){d.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(Y(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof Af&&(i=t),!i){var o=this.dimensions,a=Ap(t)||F(t)?new Ep(t,o.length):t;i=new Af;var s=ew(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=function(t,e){var n={},i=n.encode={},r=gt(),o=[],a=[],s={};B(t.dimensions,(function(e){var n,l=t.getDimensionInfo(e),u=l.coordDim;if(u){var h=l.coordDimIndex;Fb(i,u)[h]=e,l.isExtraCoord||(r.set(u,1),"ordinal"!==(n=l.type)&&"time"!==n&&(o[0]=e),Fb(s,u)[h]=t.getDimensionIndex(l.name)),l.defaultTooltip&&a.push(e)}dc.each((function(t,e){var n=Fb(i,e),r=l.otherDims[e];null!=r&&!1!==r&&(n[r]=l.name)}))}));var l=[],u={};r.each((function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)})),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=z(l,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var h=i.label;h&&h.length&&(o=h.slice());var c=i.tooltip;return c&&c.length?a=c.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new Nb(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&Qb(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==_c&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,r=this._idList;if(n.getSource().sourceFormat===gc&&!n.pure)for(var o=[],a=t;a<e;a++){var s=n.getItem(a,o);if(!this.hasItemOption&&ko(s)&&(this.hasItemOption=!0),s){var l=s.name;null==i[a]&&null!=l&&(i[a]=Eo(l,null));var u=s.id;null==r[a]&&null!=u&&(r[a]=Eo(u,null))}}if(this._shouldMakeIdFromName())for(a=t;a<e;a++)Qb(this,a);Xb(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){tw(t)?O(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=Yb(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return $b(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return Z(t)?i.getValues(ew(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){U(t)&&(n=e,e=t,t=[]);var i=n||this,r=ew(qb(t),this._getStoreDimIndex,this);this._store.each(r,i?H(e,i):e)},t.prototype.filterSelf=function(t,e,n){U(t)&&(n=e,e=t,t=[]);var i=n||this,r=ew(qb(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?H(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=G(t),r=[];return B(i,(function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){U(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=ew(qb(t),this._getStoreDimIndex,this),a=Jb(this);return a._store=this._store.map(o,r?H(e,r):e),a},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=ew(qb(t),this._getStoreDimIndex,this);this._store.modify(o,r?H(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=Jb(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=Jb(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=Jb(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new th(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Rb(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return $b(t,e)}),(function(t){return $b(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},tw(t)?O(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(Z(r=this.getVisual(e))?r=r.slice():tw(r)&&(r=O({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,tw(e)?O(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){tw(t)?O(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?O(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;dl(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){B(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:ew(this.dimensions,this._getDimInfo,this),this.hostModel)),Kb(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];U(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(ot(arguments)))})},t.internalField=(Xb=function(t){var e=t._invertedIndicesMap;B(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new nw(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},Yb=function(t,e,n){return Eo(t._getCategory(e,n),null)},$b=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=Yb(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},qb=function(t){return Z(t)||(t=null!=t?[t]:[]),t},Jb=function(e){var n=new t(e._schema?e._schema:ew(e.dimensions,e._getDimInfo,e),e.hostModel);return Kb(n,e),n},Kb=function(t,e){B(iw.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,B(rw,(function(n){t[n]=k(e[n])})),t._calculationInfo=O({},e._calculationInfo)},void(Qb=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=Yb(t,r,e)),null==s&&null!=o&&(i[e]=s=Yb(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),i[e]=s}})),t}(),aw=ow;function sw(t,e){Ap(t)||(t=Dp(t));var n=(e=e||{}).coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=gt(),o=[],a=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return B(e,(function(t){var e;q(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&Ub(a),l=i===t.dimensionsDefine,u=l?Zb(t):Wb(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=gt(h),p=new bf(a),f=0;f<p.length;f++)p[f]=-1;function d(t){var e=p[t];if(e<0){var n=i[t],r=q(n)?n:{name:n},a=new zb,s=r.name;null!=s&&null!=u.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=o.length;return p[t]=l,a.storeDimIndex=t,o.push(a),a}return o[e]}if(!s)for(f=0;f<a;f++)d(f);c.each((function(t,e){var n=Co(t).slice();if(1===n.length&&!X(n[0])&&n[0]<0)c.set(e,!1);else{var i=c.set(e,[]);B(n,(function(t,n){var r=X(t)?u.get(t):t;null!=r&&r<a&&(i[n]=r,m(d(r),e,n))}))}}));var g=0;function m(t,e,n){null!=dc.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}B(n,(function(t){var e,n,i,r;if(X(t))e=t,r={};else{e=(r=t).name;var o=r.ordinalMeta;r.ordinalMeta=null,(r=O({},r)).ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=c.get(e);if(!1!==s){if(!(s=Co(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<a&&null!=d(g).coordDim;)g++;g<a&&s.push(g++)}B(s,(function(t,o){var a=d(t);if(l&&null!=r.type&&(a.type=r.type),m(E(a,r),e,o),null==a.name&&n){var s=n[o];!q(s)&&(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}i&&E(a.otherDims,i)}))}}));var v=e.generateCoord,y=e.generateCoordCount,_=null!=y;y=v?y||1:0;var x=v||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(s)B(o,(function(t){b(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<a;w++){var S=d(w);null==S.coordDim&&(S.coordDim=lw(x,r,_),S.coordDimIndex=0,(!v||y<=0)&&(S.isExtraCoord=!0),y--),b(S),null!=S.type||Ic(t,w)!==Sc.Must&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=gt(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(o),new Gb({source:t,dimensions:o,fullDimensionCount:a,dimensionOmitted:s})}function lw(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}var uw=function(t){this.coordSysDims=[],this.axisMap=gt(),this.categoryAxisMap=gt(),this.coordSysName=t};var hw={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",Go).models[0],o=t.getReferringComponents("yAxis",Go).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),cw(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),cw(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",Go).models[0];e.coordSysDims=["single"],n.set("single",r),cw(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",Go).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),cw(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),cw(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();B(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),cw(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function cw(t){return"category"===t.get("type")}function pw(t,e,n){var i,r,o,a=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!Hb(t.schema)}(e)?(r=e.schema,i=r.dimensions,o=e.store):i=e;var l,u,h,c,p=!(!t||!t.get("stack"));if(B(i,(function(t,e){X(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var f=u.coordDim,d=u.type,g=0;B(i,(function(t){t.coordDim===f&&g++}));var m={name:h,coordDim:f,coordDimIndex:g,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:d,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(m.storeDimIndex=o.ensureCalculationDimension(c,d),v.storeDimIndex=o.ensureCalculationDimension(h,d)),r.appendCalculationDimension(m),r.appendCalculationDimension(v)):(i.push(m),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function fw(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function dw(t,e){return fw(t,e)?t.getCalculationInfo("stackResultDimension"):e}var gw=function(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=Dp(t)):o=(i=r.getSource()).sourceFormat===gc;var a=function(t){var e=t.get("coordinateSystem"),n=new uw(e),i=hw[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,i=t.get("coordinateSystem"),r=Yc.get(i);return e&&e.coordSysDims&&(n=z(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=Bb(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}(e,a),l=n.useEncodeDefaulter,u=U(l)?l:l?W(Tc,s,e):null,h=sw(i,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o}),c=function(t,e,n){var i,r;return n&&B(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}(h.dimensions,n.createInvertedIndices,a),p=o?null:r.getSharedDataStore(h),f=pw(e,{schema:h,store:p}),d=new aw(h,e);d.setCalculationInfo(f);var g=null!=c&&function(t){if(t.sourceFormat===gc){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!Z(Do(e))}}(i)?function(t,e,n,i){return i===c?n:this.defaultDimValueGetter(t,e,n,i)}:null;return d.hasItemOption=!1,d.initData(o?i:p,null,g),d},mw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Ur,n=Dv("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,a=.8*t.itemHeight,s=Dv(o,(t.itemWidth-a)/2,(t.itemHeight-a)/2,a,a,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var l="inherit"===t.iconRotate?r:t.iconRotate||0;return s.rotation=l*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},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,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(sd),vw=mw;function yw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Zp(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(Zp(t,e,n[a]));return o.join(" ")}}function _w(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!Z(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}var xw=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return o(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=Dv(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=bw,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Ul(this.childAt(0))},e.prototype.downplay=function(){Xl(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(p=this.childAt(0)).silent=!1;var c={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(c):yu(p,c,a,n),Mu(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){c={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,_u(p,c,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,f,d=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,f=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var m=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=m.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=m.getModel(["select","itemStyle"]).getItemStyle(),a=m.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=Du(m),p=v.getShallow("scale"),f=m.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");d.attr("rotation",(y||0)*Math.PI/180||0);var _=Pv(t.getItemVisual(e,"symbolOffset"),n);_&&(d.x=_[0],d.y=_[1]),f&&d.attr("cursor",f);var x=t.getItemVisual(e,"style"),b=x.fill;if(d instanceof Gs){var w=d.style;d.useStyle(O({image:w.image,x:w.x,y:w.y,width:w.width,height:w.height},x))}else d.__isEmptyBrush?d.useStyle(O({},x)):d.useStyle(x),d.style.decal=null,d.setColor(b,r&&r.symbolInnerColor),d.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=d.z2,d.z2+=S):null!=M&&(d.z2=M,this._z2=null);var T=r&&r.useNameLabel;Iu(d,c,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return T?t.getName(e):yw(t,e)},inheritColor:b,defaultOpacity:x.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=d.ensureState("emphasis");C.style=o,d.ensureState("select").style=s,d.ensureState("blur").style=a;var A=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;C.scaleX=this._sizeX*A,C.scaleY=this._sizeY*A,this.setSymbolScale(1),au(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=fl(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&bu(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();bu(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return kv(t.getItemVisual(e,"symbolSize"))},e}(Ur);function bw(t,e){this.parent.drift(t,e)}var ww=xw;function Sw(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function Mw(t){return null==t||q(t)||(t={isIgnore:t}),t||{}}function Tw(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Du(e),cursorStyle:e.get("cursor")}}var Cw=function(){function t(t){this.group=new Ur,this._SymbolCtor=t||ww}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=Mw(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=Tw(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(Sw(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),f=u(h);if(Sw(t,f,h,e)){var d=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==d)n.remove(p),(p=new o(t,h,s,l)).setPosition(f);else{p.updateData(t,h,s,l);var m={x:f[0],y:f[1]};a?p.attr(m):yu(p,m,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Tw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=Mw(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(Sw(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){hm(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}(),Aw=Cw;function Iw(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:Y(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,l=e.mapDimension(s),u=e.mapDimension(a),h="x"===s||"radius"===s?1:0,c=z(t.dimensions,(function(t){return e.mapDimension(t)})),p=!1,f=e.getCalculationInfo("stackResultDimension");return fw(e,c[0])&&(p=!0,c[0]=f),fw(e,c[1])&&(p=!0,c[1]=f),{dataDimsForPoint:c,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!p,valueDim:l,baseDim:u,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Dw(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}var kw="undefined"!=typeof Float32Array,Pw=kw?Float32Array:Array;function Lw(t){return Z(t)?kw?new Float32Array(t):t:new Pw(t)}var Ow=Math.min,Ew=Math.max;function Rw(t,e){return isNaN(t)||isNaN(e)}function Nw(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,f,d,g=n,m=0;m<i;m++){var v=e[2*g],y=e[2*g+1];if(g>=r||g<0)break;if(Rw(v,y)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,y),c=v,p=y;else{var _=v-u,x=y-h;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var b=g+o,w=e[2*b],S=e[2*b+1];w===v&&S===y&&m<i;)m++,g+=o,w=e[2*(b+=o)],S=e[2*b+1],_=(v=e[2*g])-u,x=(y=e[2*g+1])-h;var M=m+1;if(l)for(;Rw(w,S)&&M<i;)M++,w=e[2*(b+=o)],S=e[2*b+1];var T=.5,C=0,A=0,I=void 0,D=void 0;if(M>=i||Rw(w,S))f=v,d=y;else{C=w-u,A=S-h;var k=v-u,P=w-v,L=y-h,O=S-y,E=void 0,R=void 0;if("x"===s){var N=C>0?1:-1;f=v-N*(E=Math.abs(k))*a,d=y,I=v+N*(R=Math.abs(P))*a,D=y}else if("y"===s){var F=A>0?1:-1;f=v,d=y-F*(E=Math.abs(L))*a,I=v,D=y+F*(R=Math.abs(O))*a}
vendor: 1,135 bytes, line 1
1else E=Math.sqrt(k*k+L*L),f=v-C*a*(1-(T=(R=Math.sqrt(P*P+O*O))/(R+E))),d=y-A*a*(1-T),D=y+A*a*T,I=Ow(I=v+C*a*T,Ew(w,v)),D=Ow(D,Ew(S,y)),I=Ew(I,Ow(w,v)),d=y-(A=(D=Ew(D,Ow(S,y)))-y)*E/R,f=Ow(f=v-(C=I-v)*E/R,Ew(u,v)),d=Ow(d,Ew(h,y)),I=v+(C=v-(f=Ew(f,Ow(u,v))))*R/E,D=y+(A=y-(d=Ew(d,Ow(h,y))))*R/E}t.bezierCurveTo(c,p,f,d,v,y),c=I,p=D}else t.lineTo(v,y)}u=v,h=y,g+=o}return m}var Fw=function(){this.smooth=0,this.smoothConstraint=!0},Bw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Fw},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Rw(n[2*r-2],n[2*r-1]);r--);for(;i<r&&Rw(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=Nw(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=fs.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=void 0,h=void 0,c=void 0,p=void 0,f=void 0,d=void 0,g=void 0;
vendor: 101,549 bytes, line 1
1switch(r[l++]){case o.M:n=r[l++],i=r[l++];break;case o.L:if(u=r[l++],h=r[l++],(g=a?(t-n)/(u-n):(t-i)/(h-i))<=1&&g>=0){var m=a?(h-i)*g+i:(u-n)*g+n;return a?[t,m]:[m,t]}n=u,i=h;break;case o.C:u=r[l++],h=r[l++],c=r[l++],p=r[l++],f=r[l++],d=r[l++];var v=a?Mn(n,u,c,f,t,s):Mn(i,h,p,d,t,s);if(v>0)for(var y=0;y<v;y++){var _=s[y];if(_<=1&&_>=0){m=a?wn(i,h,p,d,_):wn(n,u,c,f,_);return a?[t,m]:[m,t]}}n=f,i=d}}},e}(Rs),zw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e}(Fw),Vw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return o(e,t),e.prototype.getDefaultShape=function(){return new zw},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&Rw(n[2*o-2],n[2*o-1]);o--);for(;r<o&&Rw(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=Nw(t,n,r,o,o,1,e.smooth,a,e.connectNulls);Nw(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(Rs);function jw(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,h=n.get(["lineStyle","width"])||0;a-=h/2,s-=h/2,l+=h,u+=h,l=Math.ceil(l),a!==Math.floor(a)&&(a=Math.floor(a),l++);var c=new qs({shape:{x:a,y:s,width:l,height:u}});if(e){var p=t.getBaseAxis(),f=p.isHorizontal(),d=p.inverse;f?(d&&(c.shape.x+=l),c.shape.width=0):(d||(c.shape.y+=u),c.shape.height=0);var g=U(r)?function(t){r(t,c)}:null;_u(c,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return c}function Gw(t,e,n){var i=t.getArea(),r=no(i.r0,1),o=no(i.r,1),a=new Jd({shape:{cx:no(t.cx,1),cy:no(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,_u(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}function Hw(t,e,n,i,r){return t?"polar"===t.type?Gw(t,e,n):"cartesian2d"===t.type?jw(t,e,n,i,r):null:null}function Ww(t,e){return t.type===e}function Zw(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function Uw(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function Xw(t,e){var n=Uw(t),i=n[0],r=n[1],o=Uw(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function $w(t){return Y(t)?t:t?.5:0}function Yw(t,e,n,i,r){var o=n.getBaseAxis(),a="x"===o.dim||"radius"===o.dim?0:1,s=[],l=0,u=[],h=[],c=[],p=[];if(r){for(l=0;l<t.length;l+=2){var f=e||t;isNaN(f[l])||isNaN(f[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(c[0]=t[l+2],c[1]=t[l+3],h[0]=t[l],h[1]=t[l+1],s.push(h[0],h[1]),i){case"end":u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1]);break;case"middle":var d=(h[a]+c[a])/2,g=[];u[a]=g[a]=d,u[1-a]=h[1-a],g[1-a]=c[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function qw(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=z(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord;return{coord:n,color:ri((n-i)/(e.coord-i),[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else{if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}(u,"x"===r?n.getWidth():n.getHeight()),f=p.length;if(!f&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var d=p[0].coord-10,g=p[f-1].coord+10,m=g-d;if(m<.001)return"transparent";B(p,(function(t){t.offset=(t.coord-d)/m})),p.push({offset:f?p[f-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:f?p[0].offset:.5,color:c[0]||"transparent"});var v=new Mg(0,0,0,0,p,!0);return v[r]=d,v[r+"2"]=g,v}}}function Kw(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;a<r;a+=o)if(1.5*ww.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return B(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function Jw(t,e){return[t[2*e],t[2*e+1]]}function Qw(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<wl.length;e++)if(t.get([wl[e],"endLabel","show"]))return!0;return!1}function tS(t,e,n,i){if(Ww(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=Qw(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),h=jw(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),l);if(!i.get("clip",!0)){var c=h.shape,p=Math.max(c.width,c.height);u?(c.y-=p,c.height+=2*p):(c.x-=p,c.width+=2*p)}return l&&l(1,h),h}return Gw(e,n,i)}var eS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(){var t=new Ur,e=new Aw;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=H(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i=t.coordinateSystem,r=this.group,o=t.getData(),a=t.getModel("lineStyle"),s=t.getModel("areaStyle"),l=o.getLayout("points")||[],u="polar"===i.type,h=this._coordSys,c=this._symbolDraw,p=this._polyline,f=this._polygon,d=this._lineGroup,g=!e.ssr&&t.get("animation"),m=!s.isEmpty(),v=s.get("origin"),y=Iw(i,o,v),_=m&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=Lw(2*i),o=0;o<i;o++){var a=Dw(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(i,o,y),x=t.get("showSymbol"),b=t.get("connectNulls"),w=x&&!u&&Kw(t,o,i),S=this._data;S&&S.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),S.setItemGraphicEl(e,null))})),x||c.remove(),r.add(d);var M,T=!u&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(M=i.getArea()).width?(M.x-=.1,M.y-=.1,M.width+=.2,M.height+=.2):M.r0&&(M.r0-=.5,M.r+=.5)),this._clipShapeForSymbol=M;var C=qw(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(p&&h.type===i.type&&T===this._step){m&&!f?f=this._newPolygon(l,_):f&&!m&&(d.remove(f),f=this._polygon=null),u||this._initOrUpdateEndLabel(t,i,Yh(C));var A=d.getClipPath();if(A)_u(A,{shape:tS(this,i,!1,t).shape},t);else d.setClipPath(tS(this,i,!0,t));x&&c.updateData(o,{isIgnore:w,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[l[2*t],l[2*t+1]]}}),Zw(this._stackedOnPoints,_)&&Zw(this._points,l)||(g?this._doUpdateAnimation(o,_,i,n,T,v,b):(T&&(_&&(_=Yw(_,l,i,T,b)),l=Yw(l,null,i,T,b)),p.setShape({points:l}),f&&f.setShape({points:l,stackedOnPoints:_})))}else x&&c.updateData(o,{isIgnore:w,clipShape:M,disableAnimation:!0,getSymbolPoint:function(t){return[l[2*t],l[2*t+1]]}}),g&&this._initSymbolLabelAnimation(o,i,M),T&&(_&&(_=Yw(_,l,i,T,b)),l=Yw(l,null,i,T,b)),p=this._newPolyline(l),m?f=this._newPolygon(l,_):f&&(d.remove(f),f=this._polygon=null),u||this._initOrUpdateEndLabel(t,i,Yh(C)),d.setClipPath(tS(this,i,!0,t));var I=t.getModel("emphasis"),D=I.get("focus"),k=I.get("blurScope"),P=I.get("disabled");(p.useStyle(E(a.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),hu(p,t,"lineStyle"),p.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(p.getState("emphasis").style.lineWidth=+p.style.lineWidth+1);fl(p).seriesIndex=t.seriesIndex,au(p,D,k,P);var L=$w(t.get("smooth")),O=t.get("smoothMonotone");if(p.setShape({smooth:L,smoothMonotone:O,connectNulls:b}),f){var R=o.getCalculationInfo("stackedOnSeries"),N=0;f.useStyle(E(s.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),R&&(N=$w(R.get("smooth"))),f.setShape({smooth:L,stackedOnSmooth:N,smoothMonotone:O,connectNulls:b}),hu(f,t,"areaStyle"),fl(f).seriesIndex=t.seriesIndex,au(f,D,k,P)}var F=this._changePolyState;o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=F)})),this._polyline.onHoverStateChange=F,this._data=o,this._coordSys=i,this._stackedOnPoints=_,this._points=l,this._step=T,this._valueOrigin=v,t.get("triggerLineEvent")&&(this.packEventData(t,p),f&&this.packEventData(t,f))},e.prototype.packEventData=function(t,e){fl(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=Fo(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new ww(r,o)).x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else _m.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=Fo(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else _m.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;jl(this._polyline,t),e&&jl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Bw({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new Vw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");U(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=U(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,f=void 0,d=void 0;if(n)if(r){var g=n,m=e.pointToCoord(c);i?(p=g.startAngle,f=g.endAngle,d=-m[1]/180*Math.PI):(p=g.r0,f=g.r,d=m[0])}else{var v=n;i?(p=v.x,f=v.x+v.width,d=t.x):(p=v.y+v.height,f=v.y,d=t.y)}var y=f===p?0:(d-p)/(f-p);a&&(y=1-y);var _=U(u)?u(o):l*y+h,x=s.getSymbolPath(),b=x.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:_}),b&&b.animateFrom({style:{opacity:0}},{duration:300,delay:_}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Qw(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new pl({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);l>=0&&(Iu(o,Du(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?_w(r,n):yw(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,d=a.getBaseAxis(),g=d.isHorizontal(),m=d.inverse,v=e.shape,y=m?g?v.x:v.y+v.height:g?v.x+v.width:v.y,_=(g?f:0)*(m?-1:1),x=(g?0:-f)*(m?-1:1),b=g?"x":"y",w=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u<o;u++)if(r=t[2*u+a],!isNaN(r)&&!isNaN(t[2*u+1-a]))if(0!==u){if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}(u,y,b),S=w.range,M=S[1]-S[0],T=void 0;if(M>=1){if(M>1&&!c){var C=Jw(u,S[0]);s.attr({x:C[0]+_,y:C[1]+x}),r&&(T=h.getRawValue(S[0]))}else{(C=l.getPointOn(y,b))&&s.attr({x:C[0]+_,y:C[1]+x});var A=h.getRawValue(S[0]),I=h.getRawValue(S[1]);r&&(T=Xo(n,p,A,I,w.t))}i.lastFrameIndex=S[0]}else{var D=1===t||i.lastFrameIndex>0?S[0]:0;C=Jw(u,D);r&&(T=h.getRawValue(D)),s.attr({x:C[0]+_,y:C[1]+x})}if(r){var k=Fu(s);"function"==typeof k.setLabelText&&k.setLabelText(T)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=function(t,e,n,i,r,o,a,s){for(var l=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],h=[],c=[],p=[],f=[],d=[],g=[],m=Iw(r,e,a),v=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_<l.length;_++){var x=l[_],b=!0,w=void 0,S=void 0;switch(x.cmd){case"=":w=2*x.idx,S=2*x.idx1;var M=v[w],T=v[w+1],C=y[S],A=y[S+1];(isNaN(M)||isNaN(T))&&(M=C,T=A),u.push(M,T),h.push(C,A),c.push(n[w],n[w+1]),p.push(i[S],i[S+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var I=x.idx,D=m.dataDimsForPoint,k=r.dataToPoint([e.get(D[0],I),e.get(D[1],I)]);S=2*I,u.push(k[0],k[1]),h.push(y[S],y[S+1]);var P=Dw(m,r,e,I);c.push(P[0],P[1]),p.push(i[S],i[S+1]),g.push(e.getRawIndex(I));break;case"-":b=!1}b&&(f.push(x),d.push(d.length))}d.sort((function(t,e){return g[t]-g[e]}));var L=u.length,O=Lw(L),E=Lw(L),R=Lw(L),N=Lw(L),F=[];for(_=0;_<d.length;_++){var B=d[_],z=2*_,V=2*B;O[z]=u[V],O[z+1]=u[V+1],E[z]=h[V],E[z+1]=h[V+1],R[z]=c[V],R[z+1]=c[V+1],N[z]=p[V],N[z+1]=p[V+1],F[_]=f[B]}return{current:O,next:E,stackedOnCurrent:R,stackedOnNext:N,status:F}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),c=h.current,p=h.stackedOnCurrent,f=h.next,d=h.stackedOnNext;if(r&&(p=Yw(h.stackedOnCurrent,h.current,n,r,a),c=Yw(h.current,null,n,r,a),d=Yw(h.stackedOnNext,h.next,n,r,a),f=Yw(h.next,null,n,r,a)),Xw(c,f)>3e3||l&&Xw(p,d)>3e3)return s.stopAnimation(),s.setShape({points:f}),void(l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:d})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:f}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),yu(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),yu(l,{shape:{stackedOnPoints:d}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var m=[],v=h.status,y=0;y<v.length;y++){if("="===v[y].cmd){var _=t.getItemGraphicEl(v[y].idx1);_&&m.push({el:_,ptIdx:y})}}s.animators&&s.animators.length&&s.animators[0].during((function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<m.length;e++){var n=m[e].el,i=2*m[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(_m),nS=eS;function iS(t,e){return{seriesType:t,plan:hd(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=z(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,l=n.getCalculationInfo("stackResultDimension");fw(n,a[0])&&(a[0]=l),fw(n,a[1])&&(a[1]=l);var u=n.getStore(),h=n.getDimensionIndex(a[0]),c=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&Lw(n*s),a=[],l=[],p=t.start,f=0;p<t.end;p++){var d=void 0;if(1===s){var g=u.get(h,p);d=i.dataToPoint(g,null,l)}else a[0]=u.get(h,p),a[1]=u.get(c,p),d=i.dataToPoint(a,null,l);o?(r[f++]=d[0],r[f++]=d[1]):e.setItemLayout(p,d.slice())}o&&e.setLayout("points",r)}}}}}}var rS={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)isNaN(t[i])||(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},oS=function(t){return Math.round(t.length/2)};function aS(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/p));var f=void 0;X(r)?f=rS[r]:U(r)&&(f=r),f&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,f,oS))}}}}}var sS="__ec_stack_";function lS(t){return t.get("stack")||sS+t.seriesIndex}function uS(t){return t.dim+t.index}function hS(t,e){var n=[];return e.eachSeriesByType(t,(function(t){gS(t)&&n.push(t)})),n}function cS(t){var e=function(t){var e={};B(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}}));var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];if(r){r.sort((function(t,e){return t-e}));for(var o=null,a=1;a<r.length;++a){var s=r[a]-r[a-1];s>0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}(t),n=[];return B(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,s=e[a],l=Math.abs(o[1]-o[0]),u=r.scale.getExtent(),h=Math.abs(u[1]-u[0]);i=s?l/h*s:l}else{var c=t.getData();i=Math.abs(o[1]-o[0])/c.count()}var p=eo(t.get("barWidth"),i),f=eo(t.get("barMaxWidth"),i),d=eo(t.get("barMinWidth")||(mS(t)?.5:1),i),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:p,barMaxWidth:f,barMinWidth:d,barGap:g,barCategoryGap:m,axisKey:uS(r),stackId:lS(t)})})),pS(n)}function pS(t){var e={};B(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return B(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=G(i).length;o=Math.max(35-4*a,15)+"%"}var s=eo(o,r),l=eo(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),B(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&e<i&&(i=Math.min(e,u)),n&&n>i&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,f=0;B(i,(function(t,e){t.width||(t.width=c),p=t,f+=t.width*(1+l)})),p&&(f-=p.width*l);var d=-f/2;B(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:d,width:t.width},d+=t.width*(1+l)}))})),n}function fS(t,e){var n=hS(t,e),i=cS(n);B(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=lS(t),o=i[uS(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})}))}function dS(t){return{seriesType:t,plan:hd(),reset:function(t){if(gS(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=fw(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=function(t,e){var n=e.model.get("startValue");n||(n=0);return e.toGlobalCoord(e.dataToCoord("log"===e.type?n>0?n:1:n))}(0,r),f=mS(t),d=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),m=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var i,r=t.count,l=f&&Lw(3*r),u=f&&s&&Lw(3*r),y=f&&Lw(r),_=n.master.getRect(),x=c?_.width:_.height,b=e.getStore(),w=0;null!=(i=t.next());){var S=b.get(h?g:o,i),M=b.get(a,i),T=p,C=void 0;h&&(C=+S-b.get(o,i));var A=void 0,I=void 0,D=void 0,k=void 0;if(c){var P=n.dataToPoint([S,M]);if(h)T=n.dataToPoint([C,M])[0];A=T,I=P[1]+v,D=P[0]-T,k=m,Math.abs(D)<d&&(D=(D<0?-1:1)*d)}else{P=n.dataToPoint([M,S]);if(h)T=n.dataToPoint([M,C])[1];A=P[0]+v,I=T,D=m,k=P[1]-T,Math.abs(k)<d&&(k=(k<=0?-1:1)*d)}f?(l[w]=A,l[w+1]=I,l[w+2]=c?D:k,u&&(u[w]=c?_.x:A,u[w+1]=c?I:_.y,u[w+2]=x),y[i]=i):e.setItemLayout(i,{x:A,y:I,width:D,height:k}),w+=3}f&&e.setLayout({largePoints:l,largeDataIndices:y,largeBackgroundPoints:u,valueAxisHorizontal:c})}}}}}}function gS(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function mS(t){return t.pipelineContext&&t.pipelineContext.large}var vS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)B(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;p<i.length;p++){var f=i[p].coord,d=p===i.length-1?i[p-1].tickValue+c:i[p].tickValue;if(d===s){h=f;break}if(d<s)u=f;else if(null!=u&&d>s){h=(f+u)/2;break}1===p&&(c=d-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(sd);sd.registerClass(vS);var yS=vS,_S=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(){return gw(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=ih(yS.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},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(yS),xS=_S,bS=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},wS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return o(e,t),e.prototype.getDefaultShape=function(){return new bS},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-l<c:l-u<c;p||(l=u-(h?c:-c));var f=Math.cos(l),d=Math.sin(l),g=Math.cos(u),m=Math.sin(u);p?(t.moveTo(f*r+n,d*r+i),t.arc(f*s+n,d*s+i,a,-Math.PI+l,l,!h)):t.moveTo(f*o+n,d*o+i),t.arc(n,i,o,l,u,!h),t.arc(g*s+n,m*s+i,a,u-2*Math.PI,u-Math.PI,!h),0!==r&&t.arc(n,i,r,u,l,h)},e}(Rs),SS=wS;function MS(t,e,n){return e*Math.sin(t)*(n?-1:1)}function TS(t,e,n){return e*Math.cos(t)*(n?1:-1)}function CS(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;Z(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:z(i,(function(t){return Lr(t,r)}))}}var AS=Math.max,IS=Math.min;var DS=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return o(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){hm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var h=t.isAnimationEnabled()?t:null,c=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();0;if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);c&&this._enableRealtimeSort(c,a,n);var p=t.get("clip",!0)||c,f=function(t,e){var n=t.getArea&&t.getArea();if(Ww(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var d=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),v=m.get("borderRadius")||0,y=[],_=this._backgroundEls,x=i&&i.isInitSort,b=i&&"changeAxisOrder"===i.type;function w(t){var e=FS[l.type](a,t),n=function(t,e,n){var i="polar"===t.type?Jd:qs;return new i({shape:WS(e,n,t),silent:!0,z2:0})}(l,r,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),y[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=FS[l.type](a,e,n);if(g&&w(e),a.hasValue(e)&&NS[l.type](i)){var s=!1;p&&(s=kS[l.type](f,i));var m=PS[l.type](t,a,e,i,r,h,u.model,!1,d);c&&(m.forceLabelAnimation=!0),zS(m,a,e,n,i,t,r,"polar"===l.type),x?m.attr({shape:i}):c?LS(c,h,m,i,e,r,!1,!1):_u(m,{shape:i},t,e),a.setItemGraphicEl(e,m),o.add(m),m.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),S=FS[l.type](a,e,i);if(g){var M=void 0;0===_.length?M=w(n):((M=_[n]).useStyle(m.getItemStyle()),"cartesian2d"===l.type?M.setShape("r",v):M.setShape("cornerRadius",v),y[e]=M);var T=FS[l.type](a,e);yu(M,{shape:WS(r,T,l)},h,e)}var C=s.getItemGraphicEl(n);if(a.hasValue(e)&&NS[l.type](S)){var A=!1;if(p&&(A=kS[l.type](f,S))&&o.remove(C),C?Mu(C):C=PS[l.type](t,a,e,S,r,h,u.model,!!C,d),c&&(C.forceLabelAnimation=!0),b){var I=C.getTextContent();if(I){var D=Fu(I);null!=D.prevValue&&(D.prevValue=D.value)}}else zS(C,a,e,i,S,t,r,"polar"===l.type);x?C.attr({shape:S}):c?LS(c,h,C,S,e,r,!0,b):yu(C,{shape:S},t,e,null),a.setItemGraphicEl(e,C),C.ignore=A,o.add(C)}else o.remove(C)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Su(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new Ur);S.removeAll();for(var M=0;M<y.length;++M)S.add(y[M]);o.add(S),this._backgroundEls=y,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),GS(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),GS(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&Hw(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var i=[];return t.each(t.mapDimension(e.dim),(function(t,e){var r=n(e);r=null==r?NaN:r,i.push({dataIndex:e,mappedValue:r,ordinalNumber:t})})),i.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:z(i,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Su(e,t,fl(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(_m),kS={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=AS(e.x,t.x),s=IS(e.x+e.width,r),l=AS(e.y,t.y),u=IS(e.y+e.height,o),h=s<a,c=u<l;return e.x=h&&a>r?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=IS(e.r,t.r),o=AS(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},PS={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new qs({shape:O({},i),z2:1});(u.__dataIndex=n,u.name="item",o)&&(u.shape[r?"height":"width"]=0);return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?SS:Jd,h=new u({shape:i,z2:1});h.name="item";var c,p,f=BS(r);if(h.calculateTextPosition=(c=f,p=({isRoundCap:u===SS}||{}).isRoundCap,function(t,e,n){var i=e.position;if(!i||i instanceof Array)return Or(t,e,n);var r=c(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,u=a.r,h=a.r0,f=(u+h)/2,d=a.startAngle,g=a.endAngle,m=(d+g)/2,v=p?Math.abs(u-h)/2:0,y=Math.cos,_=Math.sin,x=s+u*y(d),b=l+u*_(d),w="left",S="top";switch(r){case"startArc":x=s+(h-o)*y(m),b=l+(h-o)*_(m),w="center",S="top";break;case"insideStartArc":x=s+(h+o)*y(m),b=l+(h+o)*_(m),w="center",S="bottom";break;case"startAngle":x=s+f*y(d)+MS(d,o+v,!1),b=l+f*_(d)+TS(d,o+v,!1),w="right",S="middle";break;case"insideStartAngle":x=s+f*y(d)+MS(d,-o+v,!1),b=l+f*_(d)+TS(d,-o+v,!1),w="left",S="middle";break;case"middle":x=s+f*y(m),b=l+f*_(m),w="center",S="middle";break;case"endArc":x=s+(u+o)*y(m),b=l+(u+o)*_(m),w="center",S="bottom";break;case"insideEndArc":x=s+(u-o)*y(m),b=l+(u-o)*_(m),w="center",S="top";break;case"endAngle":x=s+f*y(g)+MS(g,o+v,!0),b=l+f*_(g)+TS(g,o+v,!0),w="left",S="middle";break;case"insideEndAngle":x=s+f*y(g)+MS(g,-o+v,!0),b=l+f*_(g)+TS(g,-o+v,!0),w="right",S="middle";break;default:return Or(t,e,n)}return(t=t||{}).x=x,t.y=b,t.align=w,t.verticalAlign=S,t}),o){var d=r?"r":"endAngle",g={};h.shape[d]=r?i.r0:i.startAngle,g[d]=i[d],(s?yu:_u)(h,{shape:g},o)}return h}};function LS(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?yu:_u)(n,{shape:l},e,r,null),(a?yu:_u)(n,{shape:u},e?t.baseAxis.model:null,r)}function OS(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var ES=["x","y","width","height"],RS=["cx","cy","r","startAngle","endAngle"],NS={cartesian2d:function(t){return!OS(t,ES)},polar:function(t){return!OS(t,RS)}},FS={cartesian2d:function(t,e,n){var i=t.getItemLayout(e),r=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,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(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function BS(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function zS(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape;O(u,CS(i.getModel("itemStyle"),u,!0)),t.setShape(u)}}else{var h=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",h)}t.useStyle(l);var c=i.getShallow("cursor");c&&t.attr("cursor",c);var p=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",f=Du(i);Iu(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:yw(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var d=t.getTextContent();if(s&&d){var g=i.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,i){if(Y(i))t.setTextConfig({rotation:i});else if(Z(e))t.setTextConfig({rotation:0});else{var r,o=t.shape,a=o.clockwise?o.startAngle:o.endAngle,s=o.clockwise?o.endAngle:o.startAngle,l=(a+s)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":r=l;break;case"startAngle":case"insideStartAngle":r=a;break;case"endAngle":case"insideEndAngle":r=s;break;default:return void t.setTextConfig({rotation:0})}var h=1.5*Math.PI-r;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}(t,"outside"===g?p:g,BS(a),i.get(["label","rotate"]))}Bu(d,f,o.getRawValue(n),(function(t){return _w(e,t)}));var m=i.getModel(["emphasis"]);au(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),hu(t,i),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(r)&&(t.style.fill="none",t.style.stroke="none",B(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var VS=function(){},jS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return o(e,t),e.prototype.getDefaultShape=function(){return new VS},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(Rs);function GS(t,e,n,i){var r=t.getData(),o=r.getLayout("valueAxisHorizontal")?1:0,a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var h=new jS({shape:{points:u},incremental:!!i,silent:!0,z2:0});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,h.useStyle(l.getItemStyle()),e.add(h),n&&n.push(h)}var c=new jS({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,e.add(c),c.useStyle(r.getVisual("style")),c.style.stroke=null,fl(c).seriesIndex=t.seriesIndex,t.get("silent")||(c.on("mousedown",HS),c.on("mousemove",HS)),n&&n.push(c)}var HS=Sm((function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,h=0,c=o.length/3;h<c;h++){var p=3*h;if(l[i]=u,l[r]=o[p+2],s[i]=o[p+i],s[r]=o[p+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}(this,t.offsetX,t.offsetY);fl(this).dataIndex=e>=0?e:null}),30,!1);function WS(t,e,n){if(Ww(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}var o=e;return{cx:(r=n.getArea()).cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}var ZS=DS;var US=2*Math.PI,XS=Math.PI/180;function $S(t,e){return nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function YS(t,e){var n=$S(t,e),i=t.get("center"),r=t.get("radius");Z(r)||(r=[0,r]);var o,a,s=eo(n.width,e.getWidth()),l=eo(n.height,e.getHeight()),u=Math.min(s,l),h=eo(r[0],u/2),c=eo(r[1],u/2),p=t.coordinateSystem;if(p){var f=p.dataToPoint(i);o=f[0]||0,a=f[1]||0}else Z(i)||(i=[i,i]),o=eo(i[0],s)+n.x,a=eo(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function qS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=$S(t,n),o=YS(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*XS,c=t.get("endAngle"),p=t.get("padAngle")*XS;c="auto"===c?h-US:-c*XS;var f=t.get("minAngle")*XS+p,d=0;e.each(i,(function(t){!isNaN(t)&&d++}));var g=e.getSum(i),m=Math.PI/(g||d)*2,v=t.get("clockwise"),y=t.get("roseType"),_=t.get("stillShowZeroSum"),x=e.getDataExtent(i);x[0]=0;var b=v?1:-1,w=[h,c],S=b*p/2;cs(w,!v),h=w[0],c=w[1];var M=KS(t);M.startAngle=h,M.endAngle=c,M.clockwise=v;var T=Math.abs(c-h),C=T,A=0,I=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:v,cx:a,cy:s,r0:u,r:y?NaN:l});else{(i="area"!==y?0===g&&_?m:t*m:T/d)<f?(i=f,C-=f):A+=t;var r=I+b*i,o=0,h=0;p>i?h=o=I+b*i/2:(o=I+S,h=r-S),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:v,cx:a,cy:s,r0:u,r:y?to(t,x,[u,l]):l}),I=r}})),C<US&&d)if(C<=.001){var D=T/d;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=D;var r=0,o=0;D<p?o=r=h+b*(n+.5)*D:(r=h+b*n*D+S,o=h+b*(n+1)*D-S),i.startAngle=r,i.endAngle=o}}))}else m=C/A,I=h,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===f?f:t*m,o=0,a=0;r<p?a=o=I+b*r/2:(o=I+S,a=I+b*r-S),i.startAngle=o,i.endAngle=a,I+=b*r}}))}))}var KS=Bo();function JS(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var QS=Math.PI/180;function tM(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var h=t.length,c=0;c<h;c++)if("outer"===t[c].position&&"labelLine"===t[c].labelAlignTo){var p=t[c].label.x-u;t[c].linePoints[1][0]+=p,t[c].label.x=u}Z_(t,l,l+a)&&function(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,d=Math.abs(c)<p?Math.sqrt(h*h/(1-c*c/p/p)):p;u.rB=d,u.maxY=h}u.list.push(l)}f(o),f(a)}(t)}function f(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),h=i+l.len,c=h*h,p=Math.sqrt(Math.abs((1-u*u/a)*c)),f=e+(p+l.len2)*r,d=f-l.label.x;eM(l,l.targetTextWidth-d*r,!0),l.label.x=f}}}function eM(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,h=o.width+(a?0:l);if(e<h||n){var c=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var p=i.getBoundingRect();i.setStyle("width",Math.ceil(p.width)),i.setStyle("backgroundColor",a)}else{var f=e-l,d=e<h?f:n?f>t.unconstrainedWidth?null:f:null;i.setStyle("width",d)}var g=i.getBoundingRect();o.width=g.width;var m=(i.style.margin||0)+2.1;o.height=g.height+m,o.y-=(o.height-c)/2}}}function nM(t){return"center"===t.position}function iM(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*QS,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function f(t){t.ignore=!0}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),d=s.getTextGuideLine(),g=i.getItemModel(t),m=g.getModel("label"),v=m.get("position")||g.get(["emphasis","label","position"]),y=m.get("distanceToLabelLine"),_=m.get("alignTo"),x=eo(m.get("edgeDistance"),u),b=m.get("bleedMargin"),w=g.getModel("labelLine"),S=w.get("length");S=eo(S,u);var M=w.get("length2");if(M=eo(M,u),Math.abs(c.endAngle-c.startAngle)<a)return B(p.states,f),p.ignore=!0,void(d&&(B(d.states,f),d.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(p)){var T,C,A,I,D=(c.startAngle+c.endAngle)/2,k=Math.cos(D),P=Math.sin(D);e=c.cx,n=c.cy;var L="inside"===v||"inner"===v;if("center"===v)T=c.cx,C=c.cy,I="center";else{var O=(L?(c.r+c.r0)/2*k:c.r*k)+e,E=(L?(c.r+c.r0)/2*P:c.r*P)+n;if(T=O+3*k,C=E+3*P,!L){var R=O+k*(S+l-c.r),N=E+P*(S+l-c.r),F=R+(k<0?-1:1)*M;T="edge"===_?k<0?h+x:h+u-x:F+(k<0?-y:y),C=N,A=[[O,E],[R,N],[F,N]]}I=L?"center":"edge"===_?k>0?"right":"left":k>0?"left":"right"}var z=Math.PI,V=0,j=m.get("rotate");if(Y(j))V=j*(z/180);else if("center"===v)V=0;else if("radial"===j||!0===j){V=k<0?-D+z:-D}else if("tangential"===j&&"outside"!==v&&"outer"!==v){var G=Math.atan2(k,P);G<0&&(G=2*z+G),P>0&&(G=z+G),V=G-z}if(o=!!V,p.x=T,p.y=C,p.rotation=V,p.setStyle({verticalAlign:"middle"}),L){p.setStyle({align:I});var H=p.states.select;H&&(H.x+=p.x,H.y+=p.y)}else{var W=p.getBoundingRect().clone();W.applyTransform(p.getComputedTransform());var Z=(p.style.margin||0)+2.1;W.y-=Z/2,W.height+=Z,r.push({label:p,labelLine:d,position:v,len:S,len2:M,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new Me(k,P),linePoints:A,textAlign:I,labelDistance:y,labelAlignTo:_,edgeDistance:x,bleedMargin:b,rect:W,unconstrainedWidth:W.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:L})}})),!o&&t.get("avoidLabelOverlap")&&function(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,p=0;p<t.length;p++){var f=t[p].label;nM(t[p])||(f.x<e?(h=Math.min(h,f.x),l.push(t[p])):(c=Math.max(c,f.x),u.push(t[p])))}for(p=0;p<t.length;p++)if(!nM(m=t[p])&&m.linePoints){if(null!=m.labelStyleWidth)continue;f=m.label;var d=m.linePoints,g=void 0;g="edge"===m.labelAlignTo?f.x<e?d[2][0]-m.labelDistance-a-m.edgeDistance:a+r-m.edgeDistance-d[2][0]-m.labelDistance:"labelLine"===m.labelAlignTo?f.x<e?h-a-m.bleedMargin:a+r-c-m.bleedMargin:f.x<e?f.x-a-m.bleedMargin:a+r-f.x-m.bleedMargin,m.targetTextWidth=g,eM(m,g)}for(tM(u,e,n,i,1,0,o,0,s,c),tM(l,e,n,i,-1,0,o,0,s,h),p=0;p<t.length;p++){var m;if(!nM(m=t[p])&&m.linePoints){f=m.label,d=m.linePoints;var v="edge"===m.labelAlignTo,y=f.style.padding,_=y?y[1]+y[3]:0,x=f.style.backgroundColor?0:_,b=m.rect.width+x,w=d[1][0]-d[2][0];v?f.x<e?d[2][0]=a+m.edgeDistance+b+m.labelDistance:d[2][0]=a+r-m.edgeDistance-b-m.labelDistance:(f.x<e?d[2][0]=f.x+m.labelDistance:d[2][0]=f.x-m.labelDistance,d[1][0]=d[2][0]+w),d[1][1]=d[2][1]=f.y}}}(r,e,n,l,u,p,h,c);for(var d=0;d<r.length;d++){var g=r[d],m=g.label,v=g.labelLine,y=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),y&&(B(m.states,f),m.ignore=!0);var _=m.states.select;_&&(_.x+=m.x,_.y+=m.y)}if(v){var x=g.linePoints;y||!x?(B(v.states,f),v.ignore=!0):(F_(x,g.minTurnAngle),B_(x,g.surfaceNormal,g.maxSurfaceAngle),v.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new Me(x[0][0],x[0][1])})}}}var rM=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new pl;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return o(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,a=t.getItemModel(e),s=a.getModel("emphasis"),l=t.getItemLayout(e),u=O(CS(a.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))r.setShape(u);else{if(i){r.setShape(u);var h=o.getShallow("animationType");o.ecModel.ssr?(_u(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=u.cx,r.originY=u.cy):"scale"===h?(r.shape.r=l.r0,_u(r,{shape:{r:l.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),_u(r,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},o,e)):(r.shape.endAngle=l.startAngle,yu(r,{shape:{endAngle:l.endAngle}},o,e))}else Mu(r),yu(r,{shape:u},o,e);r.useStyle(t.getItemVisual(e,"style")),hu(r,a);var c=(l.startAngle+l.endAngle)/2,p=o.get("selectedOffset"),f=Math.cos(c)*p,d=Math.sin(c)*p,g=a.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=O({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},CS(s.getModel("itemStyle"),l)),O(r.ensureState("select"),{x:f,y:d,shape:CS(a.getModel(["select","itemStyle"]),l)}),O(r.ensureState("blur"),{shape:CS(a.getModel(["blur","itemStyle"]),l)});var m=r.getTextGuideLine(),v=r.getTextContent();m&&O(m.ensureState("select"),{x:f,y:d}),O(v.ensureState("select"),{x:f,y:d}),au(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),a=e.getItemVisual(n,"style"),s=a&&a.fill,l=a&&a.opacity;Iu(i,Du(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:l,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=i.getTextContent();i.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var h=t.get(["label","position"]);if("outside"!==h&&"outer"!==h)i.removeTextGuideLine();else{var c=this.getTextGuideLine();c||(c=new lg,this.setTextGuideLine(c)),j_(this,G_(r),{stroke:s,opacity:rt(o.get(["lineStyle","opacity"]),l,1)})}},e}(Jd),oM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return o(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),a=this._data,s=this.group;if(!a&&o.count()>0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u<o.count();++u)l=o.getItemLayout(u);l&&(r=l.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var h=KS(t),c=new Jd({shape:O(YS(t,n),h)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,s.add(c)}o.diff(a).add((function(t){var e=new rM(o,t,r);o.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=a.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),s.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){Su(a.getItemGraphicEl(e),t,e)})).execute(),iM(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="pie",e}(_m),aM=oM;function sM(t,e,n){e=Z(e)&&{coordDimensions:e}||O({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=sw(i,e).dimensions,o=new aw(r,t);return o.initData(i,n),o}var lM=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}(),uM=lM,hM=Bo(),cM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uM(H(this.getData,this),H(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return sM(this,{coordDimensions:["value"],encodeDefaulter:W(Cc,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=hM(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=ao(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Ao(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(sd),pM=cM;var fM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(sd),dM=fM,gM=function(){},mM=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return o(e,t),e.prototype.getDefaultShape=function(){return new gM},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]<4,u=this.softClipShape;if(l)this._ctx=s;else{for(this._ctx=null,n=this._off;n<i.length;){var h=i[n++],c=i[n++];isNaN(h)||isNaN(c)||(u&&!u.contain(h,c)||(a.x=h-r[0]/2,a.y=c-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(t,a,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,i=e.size,r=this._ctx,o=this.softClipShape;if(r){for(t=this._off;t<n.length;){var a=n[t++],s=n[t++];isNaN(a)||isNaN(s)||(o&&!o.contain(a,s)||r.fillRect(a-i[0]/2,s-i[1]/2,i[0],i[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){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,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h<n.length;){var c=n[h++],p=n[h++];a=Math.min(c,a),l=Math.max(c,l),s=Math.min(p,s),u=Math.max(p,u)}t=this._rect=new Ee(a-r/2,s-o/2,l-a+r,u-s+o)}return t},e}(Rs),vM=function(){function t(){this.group=new Ur}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),i=4*t.startIndex*2;e=new Float32Array(e.buffer,i,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var i=this._newAdded[0],r=e.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),i.endIndex=t.end,i.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new mM({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;n=n||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=n.clipShape||null,t.symbolProxy=Dv(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<4;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=e.getVisual("style"),s=a&&a.fill;s&&t.setColor(s);var l=fl(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){l.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),yM=vM,_M=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateSymbolDraw(i,t).incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=iS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext.large;return n&&i===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=i?new yM:new Aw,this._isLargeDraw=i,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(_m),xM=_M,bM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(hc),wM=bM,SM=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),MM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Go).models[0]},e.type="cartesian2dAxis",e}(hc);N(MM,SM);var TM={show:!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:"#6E7079",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,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},CM=P({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},TM),AM=P({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},TM),IM={category:CM,value:AM,time:P({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},AM),log:E({logBase:10},AM)},DM=0;function kM(t){return q(t)&&null!=t.value?t.value:t+""}var PM=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++DM}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&z(i,kM);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!X(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return null==(e=i.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=gt(this.categories))},t}(),LM={value:1,category:1,time:1,log:1};function OM(t,e,n,i){B(LM,(function(r,a){var s=P(P({},IM[a],!0),i,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return o(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=rc(this),i=n?ac(t):{};P(t,e.getTheme().get(a+"Axis")),P(t,this.getDefaultOption()),t.type=EM(t),n&&oc(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=PM.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",EM)}function EM(t){return t.type||(t.data?"category":"value")}var RM=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();ia(RM);var NM=RM;function FM(t){return"interval"===t.type||"log"===t.type}function BM(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=go(o/e,!0);null!=n&&a<n&&(a=r.interval=n),null!=i&&a>i&&(a=r.interval=i);var s=r.intervalPrecision=VM(a);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),jM(t,0,e),jM(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(r.niceTickExtent=[no(Math.ceil(t[0]/a)*a,s),no(Math.floor(t[1]/a)*a,s)],t),r}function zM(t){var e=Math.pow(10,fo(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,no(n*e)}function VM(t){return ro(t)+2}function jM(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function GM(t,e){return t>=e[0]&&t<=e[1]}function HM(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function WM(t,e){return t*(e[1]-e[0])+e[0]}var ZM=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new PM({})),Z(i)&&(i=new PM({categories:z(i,(function(t){return q(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return o(e,t),e.prototype.parse=function(t){return null==t?NaN:X(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return GM(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return HM(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(WM(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(NM);NM.registerClass(ZM);var UM=ZM,XM=no,$M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return o(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return GM(t,this._extent)},e.prototype.normalize=function(t){return HM(t,this._extent)},e.prototype.scale=function(t){return WM(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=VM(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:XM(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=XM(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:XM(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],u=(o.value-a.value)/t;s<t-1;){var h=XM(a.value+(s+1)*u);h>i[0]&&h<i[1]&&l.push(h),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=ro(t.value)||0:"auto"===n&&(n=this._intervalPrecision),Gh(XM(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=BM(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var i=e[1]-e[0];isFinite(i)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=XM(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=XM(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(NM);NM.registerClass($M);var YM=$M,qM=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return o(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return Th(t.value,_h[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(Sh(this._minLevelUnit))]||_h.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC");return function(t,e,n,i,r){var o=null;if(X(n))o=n;else if(U(n))o=n(t.value,e,{level:t.level});else{var a=O({},vh);if(t.level>0)for(var s=0;s<xh.length;++s)a[xh[s]]="{primary|"+a[xh[s]]+"}";var l=n?!1===n.inherit?n:E(n,a):a,u=Ch(t.value,r);if(l[u])o=l[u];else if(l.inherit){for(s=bh.indexOf(u)-1;s>=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(Z(o)){var h=null==t.level?0:t.level>=0?t.level:o.length+t.level;o=o[h=Math.min(h,o.length-1)]}}return Th(new Date(t.value),o,r,i)}(t,e,n,this.getSetting("locale"),i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,i){var r=1e4,o=bh,a=0;function s(t,e,n,r,o,a,s){for(var l=new Date(e),u=e,h=l[r]();u<n&&u<=i[1];)s.push({value:u}),h+=t,l[o](h),u=l.getTime();s.push({value:u,notAdd:!0})}function l(t,r,o){var a=[],l=!r.length;if(!function(t,e,n,i){var r=po(e),o=po(n),a=function(t){return Ah(r,t,i)===Ah(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},p=function(){return c()&&a("second")},f=function(){return p()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return p();case"millisecond":return f()}}(Sh(t),i[0],i[1],n)){l&&(r=[{value:iT(new Date(i[0]),t,n)},{value:i[1]}]);for(var u=0;u<r.length-1;u++){var h=r[u].value,c=r[u+1].value;if(h!==c){var p=void 0,f=void 0,d=void 0,g=!1;switch(t){case"year":p=Math.max(1,Math.round(e/gh/365)),f=Ih(n),d=Rh(n);break;case"half-year":case"quarter":case"month":p=QM(e),f=Dh(n),d=Nh(n);break;case"week":case"half-week":case"day":p=JM(e,31),f=kh(n),d=Fh(n),g=!0;break;case"half-day":case"quarter-day":case"hour":p=tT(e),f=Ph(n),d=Bh(n);break;case"minute":p=eT(e,!0),f=Lh(n),d=zh(n);break;case"second":p=eT(e,!1),f=Oh(n),d=Vh(n);break;case"millisecond":p=nT(e),f=Eh(n),d=jh(n)}s(p,h,c,f,d,g,a),"year"===t&&o.length>1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u<a.length;u++)o.push(a[u]);return a}}for(var u=[],h=[],c=0,p=0,f=0;f<o.length&&a++<r;++f){var d=Sh(o[f]);if(Mh(o[f]))if(l(o[f],u[u.length-1]||[],h),d!==(o[f+1]?Sh(o[f+1]):null)){if(h.length){p=c,h.sort((function(t,e){return t.value-e.value}));for(var g=[],m=0;m<h.length;++m){var v=h[m].value;0!==m&&h[m-1].value===v||(g.push(h[m]),v>=i[0]&&v<=i[1]&&c++)}var y=(i[1]-i[0])/e;if(c>1.5*y&&p>y/1.5)break;if(u.push(g),c>y||t===o[f])break}h=[]}}0;var _=j(z(u,(function(t){return j(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],b=_.length-1;for(f=0;f<_.length;++f)for(var w=_[f],S=0;S<w.length;++S)x.push({value:w[S].value,level:b-f});x.sort((function(t,e){return t.value-e.value}));var M=[];for(f=0;f<x.length;++f)0!==f&&x[f].value===x[f-1].value||M.push(x[f]);return M}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(r)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=gh,e[1]+=gh),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-gh}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=KM.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(KM,this._approxInterval,0,o),o-1);this._interval=KM[a][1],this._minLevelUnit=KM[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return Y(t)?t:+po(t)},e.prototype.contain=function(t){return GM(this.parse(t),this._extent)},e.prototype.normalize=function(t){return HM(this.parse(t),this._extent)},e.prototype.scale=function(t){return WM(t,this._extent)},e.type="time",e}(YM),KM=[["second",ph],["minute",fh],["hour",dh],["quarter-day",6*dh],["half-day",12*dh],["day",1.2*gh],["half-week",3.5*gh],["week",7*gh],["month",31*gh],["quarter",95*gh],["half-year",mh/2],["year",mh]];function JM(t,e){return(t/=gh)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function QM(t){return(t/=30*gh)>6?6:t>3?3:t>2?2:1}function tT(t){return(t/=dh)>12?12:t>6?6:t>3.5?4:t>2?2:1}function eT(t,e){return(t/=e?fh:ph)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function nT(t){return go(t,!0)}function iT(t,e,n){var i=new Date(t);switch(Sh(e)){case"year":case"month":i[Nh(n)](0);case"day":i[Fh(n)](1);case"hour":i[Bh(n)](0);case"minute":i[zh(n)](0);case"second":i[Vh(n)](0),i[jh(n)](0)}return i.getTime()}NM.registerClass(qM);var rT=qM,oT=NM.prototype,aT=YM.prototype,sT=no,lT=Math.floor,uT=Math.ceil,hT=Math.pow,cT=Math.log,pT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new YM,e._interval=0,e}return o(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,i=e.getExtent();return z(aT.getTicks.call(this,t),(function(t){var e=t.value,r=no(hT(this.base,e));return r=e===n[0]&&this._fixMin?dT(r,i[0]):r,{value:r=e===n[1]&&this._fixMax?dT(r,i[1]):r}}),this)},e.prototype.setExtent=function(t,e){var n=cT(this.base);t=cT(Math.max(0,t))/n,e=cT(Math.max(0,e))/n,aT.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=oT.getExtent.call(this);e[0]=hT(t,e[0]),e[1]=hT(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=dT(e[0],n[0])),this._fixMax&&(e[1]=dT(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=cT(t[0])/cT(e),t[1]=cT(t[1])/cT(e),oT.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i,r=(i=n,Math.pow(10,fo(i)));for(t/n*r<=.5&&(r*=10);!isNaN(r)&&Math.abs(r)<1&&Math.abs(r)>0;)r*=10;var o=[no(uT(e[0]/r)*r),no(lT(e[1]/r)*r)];this._interval=r,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){aT.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return GM(t=cT(t)/cT(this.base),this._extent)},e.prototype.normalize=function(t){return HM(t=cT(t)/cT(this.base),this._extent)},e.prototype.scale=function(t){return t=WM(t,this._extent),hT(this.base,t)},e.type="log",e}(NM),fT=pT.prototype;function dT(t,e){return sT(t,ro(e))}fT.getMinorTicks=aT.getMinorTicks,fT.getLabel=aT.getLabel,NM.registerClass(pT);var gT=pT,mT=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var r=e.get("min",!0);null==r&&(r=e.get("startValue",!0));var o=this._modelMinRaw=r;U(o)?this._modelMinNum=xT(t,o({min:n[0],max:n[1]})):"dataMin"!==o&&(this._modelMinNum=xT(t,o));var a=this._modelMaxRaw=e.get("max",!0);if(U(a)?this._modelMaxNum=xT(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=xT(t,a)),i)this._axisDataLen=e.getCategories().length;else{var s=e.get("boundaryGap"),l=Z(s)?s:[s||0,s||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Lr(l[0],1),Lr(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,i=this._axisDataLen,r=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),a="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=a,u=null!=s;null==a&&(a=t?i?0:NaN:e-r[0]*o),null==s&&(s=t?i?i-1:NaN:n+r[1]*o),(null==a||!isFinite(a))&&(a=NaN),(null==s||!isFinite(s))&&(s=NaN);var h=et(a)||et(s)||t&&!i;this._needCrossZero&&(a>0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[yT[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[vT[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),vT={min:"_determinedMin",max:"_determinedMax"},yT={min:"_dataMin",max:"_dataMax"};function _T(t,e,n){var i=t.rawExtentInfo;return i||(i=new mT(t,e,n),t.rawExtentInfo=i,i)}function xT(t,e){return null==e?null:et(e)?NaN:t.parse(e)}function bT(t,e){var n=t.type,i=_T(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=hS("bar",a),l=!1;if(B(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=cS(s),h=function(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=function(t,e,n){if(t&&e){var i=t[uS(e)];return null!=i&&null!=n?i[lS(n)]:i}}(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;B(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;B(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=h/(1-(s+l)/o)-h;return e+=c*(l/u),t-=c*(s/u),{min:t,max:e}}(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function wT(t,e){var n=e,i=bT(t,n),r=i.extent,o=n.get("splitNumber");t instanceof gT&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function ST(t,e){if(e=e||t.get("type"))switch(e){case"category":return new UM({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new rT({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(NM.getClass(e)||YM)}}function MT(t){var e,n,i=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=i,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):X(i)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(i):U(i)?(e=i,function(n,i){return null!=r&&(i=n.value-r),e(TT(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function TT(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function CT(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new Ee(t.x,t.y,o,a)}function AT(t){var e=t.get("interval");return null==e?"auto":e}function IT(t){return"category"===t.type&&0===AT(t.getLabelModel())}function DT(t,e){var n={};return B(t.mapDimensionsAll(e),(function(e){n[dw(t,e)]=!0})),G(n)}var kT=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return z(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),j(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),PT=["x","y"];function LT(t){return"interval"===t.type||"time"===t.type}var OT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=PT,e}return o(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(LT(t)&&LT(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=we([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return zt(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return zt(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new Ee(i,r,o,a)},e}(kT),ET=OT,RT=Bo();function NT(t,e){var n=z(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function FT(t){var e=t.getLabelModel().get("customValues");if(e){var n=MT(t),i=t.scale.getExtent();return{labels:z(j(NT(t,e),(function(t){return t>=i[0]&&t<=i[1]})),(function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=zT(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=MT(t);return{labels:z(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function BT(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent();return{ticks:j(NT(t,n),(function(t){return t>=i[0]&&t<=i[1]}))}}return"category"===t.type?function(t,e){var n,i,r=VT(t,"ticks"),o=AT(e),a=jT(r,o);if(a)return a;e.get("show")&&!t.scale.isBlank()||(n=[]);if(U(o))n=WT(t,o,!0);else if("auto"===o){var s=zT(t,t.getLabelModel());i=s.labelCategoryInterval,n=z(s.labels,(function(t){return t.tickValue}))}else n=HT(t,i=o,!0);return GT(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:z(t.scale.getTicks(),(function(t){return t.value}))}}function zT(t,e){var n,i,r=VT(t,"labels"),o=AT(e),a=jT(r,o);return a||(U(o)?n=WT(t,o):(i="auto"===o?function(t){var e=RT(t).autoInterval;return null!=e?e:RT(t).autoInterval=t.calculateCategoryInterval()}(t):o,n=HT(t,i)),GT(r,o,{labels:n,labelCategoryInterval:i}))}function VT(t,e){return RT(t)[e]||(RT(t)[e]=[])}function jT(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function GT(t,e,n){return t.push({key:e,value:n}),n}function HT(t,e,n){var i=MT(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=IT(t),p=a.get("showMinLabel")||c,f=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var d=u;d<=o[1];d+=l)g(d);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return f&&d-l!==o[1]&&g(o[1]),s}function WT(t,e,n){var i=t.scale,r=MT(t),o=[];return B(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var ZT=[0,1],UT=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return oo(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&XT(n=n.slice(),i.count()),to(t,ZT,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&XT(n=n.slice(),i.count());var r=to(t,n,ZT,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=z(BT(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,i){var r=e.length;if(!t.onBand||n||!r)return;var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;B(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:h[1]+1},e.push(o)}var c=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift());i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]});p(s[1],o.coord)&&(i?o.coord=s[1]:e.pop());i&&p(o.coord,s[1])&&e.push({coord:s[1]});function p(t,e){return t=no(t),e=no(e),c?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),z(this.scale.getMinorTicks(t),(function(t){return z(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return FT(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=MT(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,o=r.getExtent(),a=r.count();if(o[1]-o[0]<1)return 0;var s=1;a>40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,f=0;l<=o[1];l+=s){var d,g,m=Ir(n({value:l}),e.font,"center","top");d=1.3*m.width,g=1.3*m.height,p=Math.max(p,d,7),f=Math.max(f,g,7)}var v=p/h,y=f/c;isNaN(v)&&(v=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(v,y))),x=RT(t.model),b=t.getExtent(),w=x.lastAutoInterval,S=x.lastTickCount;return null!=w&&null!=S&&Math.abs(w-_)<=1&&Math.abs(S-a)<=1&&w>_&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?_=w:(x.lastTickCount=a,x.lastAutoInterval=_,x.axisExtent0=b[0],x.axisExtent1=b[1]),_}(this)},t}();function XT(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var $T=UT,YT=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}($T),qT=YT;function KT(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,d="x"===u?[c[2]-f,c[3]+f]:[c[0]-f,c[1]+f];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));d[p.onZero]=Math.max(Math.min(g,d[1]),d[0])}o.position=["y"===u?d[p[l]]:c[0],"x"===u?d[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);o.labelDirection=o.tickDirection=o.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],o.labelOffset=a?d[p[s]]-d[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),nt(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var m=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-m:m,o.z2=1,o}function JT(t){return"cartesian2d"===t.get("coordinateSystem")}function QT(t){var e={xAxisModel:null,yAxisModel:null};return B(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,Go).models[0];e[i]=o})),e}var tC=Math.log;function eC(t,e,n){var i=YM.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=bT(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=tC(t.base);u=[tC(u[0])/p,tC(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var f=i.getExtent.call(t);h&&(u[0]=f[0]),c&&(u[1]=f[1]);var d=i.getInterval.call(t),g=u[0],m=u[1];if(h&&c)d=(m-g)/a;else if(h)for(m=u[0]+d*a;m<u[1]&&isFinite(m)&&isFinite(u[1]);)d=zM(d),m=u[0]+d*a;else if(c)for(g=u[1]-d*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)d=zM(d),g=u[1]-d*a;else{t.getTicks().length-1>a&&(d=zM(d));var v=d*a;(g=no((m=Math.ceil(u[1]/d)*d)-v))<0&&u[0]>=0?(g=0,m=no(v)):m>0&&u[1]<=0&&(m=0,g=-no(v))}var y=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+d*y,m+d*_),i.setInterval.call(t,d),(y||_)&&i.setNiceExtent.call(t,g+d,m-d)}var nC=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=PT,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=G(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;FM(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):(wT(l,s),FM(l)&&(e=a))}r.length&&(e||wT((e=r.pop()).scale,e.model),B(r,(function(t){eC(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};B(n.x,(function(t){rC(n,"y",t,r)})),B(n.y,(function(t){rC(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=nc(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){B(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(t,e){var n=t.getExtent(),i=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return i-t+e}}(t,e?o.x:o.y)}))}s(),r&&(B(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();r=n instanceof UM?n.count():(i=n.getTicks()).length;var a,s=t.getLabelModel(),l=MT(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;h<r;h+=u){var c=l(i?i[h]:{value:o[0]+h},h),p=CT(s.getTextRect(c),s.get("rotate")||0);a?a.union(p):a=p}return a}}(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),B(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}q(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",Go).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",Go).models[0],a=t.gridModel,s=this._coordsList;if(i)R(s,e=i.coordinateSystem)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(iC(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new qT(e,ST(n),[0,0],n.get("type"),l),h="category"===u.type;u.onBand=h&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,B(a.x,(function(e,n){B(a.y,(function(r,o){var a="x"+n+"y"+o,s=new ET(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){B(DT(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}B(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(JT(t)){var i=QT(t),r=i.xAxisModel,o=i.yAxisModel;if(!iC(r,e)||!iC(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return B(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);R(e,r)<0&&e.push(r),R(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if(JT(t)){var e=QT(t),n=e.xAxisModel,i=e.yAxisModel;0;var r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=PT,t}();function iC(t,e){return t.getCoordSysModel()===e}function rC(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)oC(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&oC(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function oC(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}(t)}var aC=nC,sC=Math.PI,lC=function(){function t(t,e){this.group=new Ur,this.opt=e,this.axisModel=t,E(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Ur({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!uC[t]},t.prototype.add=function(t){uC[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=uo(e-t);return ho(o)?(r=n>0?"top":"bottom",i="center"):ho(o-sC)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<sC?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),uC={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(zt(s,s,a),zt(l,l,a));var h=O({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new pg({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});$g(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var f=e.get(["axisLine","symbolSize"]);X(p)&&(p=[p,p]),(X(f)||Y(f))&&(f=[f,f]);var d=Pv(e.get(["axisLine","symbolOffset"])||0,f),g=f[0],m=f[1];B([{rotate:t.rotation+Math.PI/2,offset:d[0],r:0},{rotate:t.rotation-Math.PI/2,offset:d[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=Dv(p[i],-g/2,-m/2,g,m,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=function(t,e,n,i){var r=n.axis,o=n.getModel("axisTick"),a=o.get("show");"auto"===a&&i.handleAutoShown&&(a=i.handleAutoShown("axisTick"));if(!a||r.scale.isBlank())return;for(var s=o.getModel("lineStyle"),l=i.tickDirection*o.get("length"),u=fC(r.getTicksCoords(),e.transform,l,E(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<u.length;h++)t.add(u[h]);return u}(n,i,e,t),o=function(t,e,n,i){var r=n.axis,o=nt(i.axisLabelShow,n.get(["axisLabel","show"]));if(!o||r.scale.isBlank())return;var a=n.getModel("axisLabel"),s=a.get("margin"),l=r.getViewLabels(),u=(nt(i.labelRotate,a.get("rotate"))||0)*sC/180,h=lC.innerTextLayout(i.rotation,u,i.labelDirection),c=n.getCategories&&n.getCategories(!0),p=[],f=lC.isLabelSilent(n),d=n.get("triggerEvent");return B(l,(function(o,u){var g="ordinal"===r.scale.type?r.scale.getRawOrdinalNumber(o.tickValue):o.tickValue,m=o.formattedLabel,v=o.rawLabel,y=a;if(c&&c[g]){var _=c[g];q(_)&&_.textStyle&&(y=new th(_.textStyle,a,n.ecModel))}var x=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),b=r.dataToCoord(g),w=y.getShallow("align",!0)||h.textAlign,S=it(y.getShallow("alignMinLabel",!0),w),M=it(y.getShallow("alignMaxLabel",!0),w),T=y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||h.textVerticalAlign,C=it(y.getShallow("verticalAlignMinLabel",!0),T),A=it(y.getShallow("verticalAlignMaxLabel",!0),T),I=new pl({x:b,y:i.labelOffset+i.labelDirection*s,rotation:h.rotation,silent:f,z2:10+(o.level||0),style:ku(y,{text:m,align:0===u?S:u===l.length-1?M:w,verticalAlign:0===u?C:u===l.length-1?A:T,fill:U(x)?x("category"===r.type?v:"value"===r.type?g+"":g,u):x})});if(I.anid="label_"+g,lm({el:I,componentModel:n,itemName:m,formatterParamsExtra:{isTruncated:function(){return I.isTruncated},value:v,tickIndex:u}}),d){var D=lC.makeAxisEventDataBase(n);D.targetType="axisLabel",D.value=v,D.tickIndex=u,"category"===r.type&&(D.dataIndex=g),fl(I).eventData=D}e.add(I),I.updateTransform(),p.push(I),t.add(I),I.decomposeTransform()})),p}(n,i,e,t);(function(t,e,n){if(IT(t.axis))return;var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(hC(o),hC(u)):cC(o,a)&&(i?(hC(a),hC(h)):(hC(o),hC(u)));!1===r?(hC(s),hC(c)):cC(l,s)&&(r?(hC(l),hC(p)):(hC(s),hC(c)))}(e,o,r),function(t,e,n,i){var r=n.axis,o=n.getModel("minorTick");if(!o.get("show")||r.scale.isBlank())return;var a=r.getMinorTicksCoords();if(!a.length)return;for(var s=o.getModel("lineStyle"),l=i*o.get("length"),u=E(s.getLineStyle(),E(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),h=0;h<a.length;h++)for(var c=fC(a[h],e.transform,l,u,"minorticks_"+h),p=0;p<c.length;p++)t.add(c[p])}(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&U_(H_(z(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,i){var r=nt(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,c=e.axis.getExtent(),p=c[0]>c[1]?-1:1,f=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,pC(s)?t.labelOffset+l*h:0],d=e.get("nameRotate");null!=d&&(d=d*sC/180),pC(s)?o=lC.innerTextLayout(t.rotation,null!=d?d:t.rotation,l):(o=function(t,e,n,i){var r,o,a=uo(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;ho(a-sC/2)?(o=l?"bottom":"top",r="center"):ho(a-1.5*sC)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*sC&&a>sC/2?l?"left":"right":l?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,s,d||0,c),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),m=e.get("nameTruncate",!0)||{},v=m.ellipsis,y=nt(t.nameTruncateMaxWidth,m.maxWidth,a),_=new pl({x:f[0],y:f[1],rotation:o.rotation,silent:lC.isLabelSilent(e),style:ku(u,{text:r,font:g,overflow:"truncate",width:y,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(lm({el:_,componentModel:e,itemName:r}),_.__fullText=r,_.anid="name",e.get("triggerEvent")){var x=lC.makeAxisEventDataBase(e);x.targetType="axisName",x.name=r,fl(_).eventData=x}i.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function hC(t){t&&(t.ignore=!0)}
vendor: 8,282 bytes, line 1
1function cC(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=me([]);return xe(r,r,-t.rotation),n.applyTransform(ye([],r,t.getLocalTransform())),i.applyTransform(ye([],r,e.getLocalTransform())),n.intersect(i)}}function pC(t){return"middle"===t||"center"===t}function fC(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&(zt(a,a,e),zt(s,s,e));var h=new pg({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});$g(h.shape,h.style.lineWidth),h.anid=r+"_"+t[l].tickValue,o.push(h)}return o}var dC=lC;function gC(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),o=r.get("link",!0)||[],a=[];B(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=_C(n.model),l=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var u=n.model.getModel("tooltip",i);if(B(n.getAxes(),W(f,!1,null)),n.getTooltipAxes&&i&&u.get("show")){var h="axis"===u.get("trigger"),c="cross"===u.get(["axisPointer","type"]),p=n.getTooltipAxes(u.get(["axisPointer","axis"]));(h||c)&&B(p.baseAxes,W(f,!c||"cross",h)),c&&B(p.otherAxes,W(f,"cross",!1))}}function f(i,s,h){var c=h.model.getModel("axisPointer",r),p=c.get("show");if(p&&("auto"!==p||i||yC(c))){null==s&&(s=c.get("triggerTooltip")),c=i?function(t,e,n,i,r,o){var a=e.getModel("axisPointer"),s={};B(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=k(a.get(t))})),s.snap="category"!==t.type&&!!o,"cross"===a.get("type")&&(s.type="line");var l=s.label||(s.label={});if(null==l.show&&(l.show=!1),"cross"===r){var u=a.get(["label","show"]);if(l.show=null==u||u,!o){var h=s.lineStyle=a.get("crossStyle");h&&E(l,h.textStyle)}}return t.model.getModel("axisPointer",new th(s,n,i))}(h,u,r,e,i,s):c;var f=c.get("snap"),d=c.get("triggerEmphasis"),g=_C(h.model),m=s||f||"category"===h.type,v=t.axesInfo[g]={key:g,axis:h,coordSys:n,axisPointerModel:c,triggerTooltip:s,triggerEmphasis:d,involveSeries:m,snap:f,useHandle:yC(c),seriesModels:[],linkGroup:null};l[g]=v,t.seriesInvolved=t.seriesInvolved||m;var y=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(mC(o[i+"AxisId"],n.id)||mC(o[i+"AxisIndex"],n.componentIndex)||mC(o[i+"AxisName"],n.name))return r}}(o,h);if(null!=y){var _=a[y]||(a[y]={axesInfo:{}});_.axesInfo[g]=v,_.mapper=o[y].mapper,v.linkGroup=_}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&B(t.coordSysAxesInfo[_C(n.model)],(function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function mC(t,e){return"all"===t||Z(t)&&R(t,e)>=0||t===e}function vC(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[_C(t)]}function yC(t){return!!t.get(["handle","show"])}function _C(t){return t.type+"||"+t.id}var xC={},bC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&function(t){var e=vC(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=yC(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=e.axis.scale.isBlank()?"hide":"show")}}(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=function(t){var e=vC(t);return e&&e.axisPointerModel}(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){xC[t]=e},e.getAxisPointerClass=function(t){return t&&xC[t]},e.type="axis",e}(ud),wC=bC,SC=Bo();function MC(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var h=s.length,c=SC(t).splitAreaColors,p=gt(),f=0;if(c)for(var d=0;d<u.length;d++){var g=c.get(u[d].tickValue);if(null!=g){f=(g+(h-1)*d)%h;break}}var m=r.toGlobalCoord(u[0].coord),v=a.getAreaStyle();s=Z(s)?s:[s];for(d=1;d<u.length;d++){var y=r.toGlobalCoord(u[d].coord),_=void 0,x=void 0,b=void 0,w=void 0;r.isHorizontal()?(_=m,x=l.y,b=y-_,w=l.height,m=_+b):(_=l.x,x=m,b=l.width,m=x+(w=y-x));var S=u[d-1].tickValue;null!=S&&p.set(S,f),e.add(new qs({anid:null!=S?"area_"+S:null,shape:{x:_,y:x,width:b,height:w},style:E({fill:s[f]},v),autoBatch:!0,silent:!0})),f=(f+1)%h}SC(t).splitAreaColors=p}}}function TC(t){SC(t).splitAreaColors=null}var CC=["axisLine","axisTickLabel","axisName"],AC=["splitArea","splitLine","minorSplitLine"],IC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return o(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Ur,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=KT(a,e),l=new dC(e,O({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if(FM(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));B(CC,l.add,l),this._axisGroup.add(l.getGroup()),B(AC,(function(t){e.get([t,"show"])&&DC[t](this,this._axisGroup,e,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||em(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){TC(this)},e.type="cartesianAxis",e}(wC),DC={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),l=!1!==o.get("showMinLine"),u=!1!==o.get("showMaxLine");s=Z(s)?s:[s];for(var h=i.coordinateSystem.getRect(),c=r.isHorizontal(),p=0,f=r.getTicksCoords({tickModel:o}),d=[],g=[],m=a.getLineStyle(),v=0;v<f.length;v++){var y=r.toGlobalCoord(f[v].coord);if((0!==v||l)&&(v!==f.length-1||u)){var _=f[v].tickValue;c?(d[0]=y,d[1]=h.y,g[0]=y,g[1]=h.y+h.height):(d[0]=h.x,d[1]=y,g[0]=h.x+h.width,g[1]=y);var x=p++%s.length,b=new pg({anid:null!=_?"line_"+_:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},style:E({stroke:s[x]},m),silent:!0});$g(b.shape,m.lineWidth),e.add(b)}}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],h=[],c=o.getLineStyle(),p=0;p<l.length;p++)for(var f=0;f<l[p].length;f++){var d=r.toGlobalCoord(l[p][f].coord);s?(u[0]=d,u[1]=a.y,h[0]=d,h[1]=a.y+a.height):(u[0]=a.x,u[1]=d,h[0]=a.x+a.width,h[1]=d);var g=new pg({anid:"minor_line_"+l[p][f].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,silent:!0});$g(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){MC(t,e,n,i)}},kC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="xAxis",e}(IC),PC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=kC.type,e}return o(e,t),e.type="yAxis",e}(IC),LC=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return o(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new qs({shape:t.coordinateSystem.getRect(),style:E({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}
vendor: 22,916 bytes, line 1
1))},e.type="grid",e}(ud),OC={offset:0};function EC(t){t.registerComponentView(LC),t.registerComponentModel(wM),t.registerCoordinateSystem("cartesian2d",aC),OM(t,"x",MM,OC),OM(t,"y",MM,OC),t.registerComponentView(kC),t.registerComponentView(PC),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function RC(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],i=t.coordinateSystem;if(i){var r=i.getIndicatorAxes();B(r,(function(t,o){e.each(e.mapDimension(r[o].dim),(function(t,e){n[e]=n[e]||[];var r=i.dataToPoint(t,o);n[e][o]=NC(r)?r:FC(i)}))})),e.each((function(t){var r=function(t,e,n){if(t&&e)for(var i=0,r=t.length;i<r;i++)if(e.call(n,t[i],i,t))return t[i]}(n[t],(function(t){return NC(t)}))||FC(i);n[t].push(r.slice()),e.setItemLayout(t,n[t])}))}}))}function NC(t){return!isNaN(t[0])&&!isNaN(t[1])}function FC(t){return[t.cx,t.cy]}function BC(t){var e=t.polar;if(e){Z(e)||(e=[e]);var n=[];B(e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],Z(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}B(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var zC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var r=t.coordinateSystem,o=this.group,a=t.getData(),s=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var i=kv(t.getItemVisual(e,"symbolSize")),r=Dv(n,-1,-1,2,2),o=t.getItemVisual(e,"symbolRotate")||0;return r.attr({style:{strokeNoScale:!0},z2:100,scaleX:i[0]/2,scaleY:i[1]/2,rotation:o*Math.PI/180||0}),r}}function u(e,n,r,o,a,s){r.removeAll();for(var u=0;u<n.length-1;u++){var h=l(o,a);h&&(h.__dimIdx=u,e[u]?(h.setPosition(e[u]),i[s?"initProps":"updateProps"](h,{x:n[u][0],y:n[u][1]},t,a)):h.setPosition(n[u]),r.add(h))}}function h(t){return z(t,(function(t){return[r.cx,r.cy]}))}a.diff(s).add((function(e){var n=a.getItemLayout(e);if(n){var i=new og,r=new lg,o={shape:{points:n}};i.shape.points=h(n),r.shape.points=h(n),_u(i,o,t,e),_u(r,o,t,e);var s=new Ur,l=new Ur;s.add(r),s.add(i),s.add(l),u(r.shape.points,n,l,a,e,!0),a.setItemGraphicEl(e,s)}})).update((function(e,n){var i=s.getItemGraphicEl(n),r=i.childAt(0),o=i.childAt(1),l=i.childAt(2),h={shape:{points:a.getItemLayout(e)}};h.shape.points&&(u(r.shape.points,h.shape.points,l,a,e,!1),Mu(o),Mu(r),yu(r,h,t),yu(o,h,t),a.setItemGraphicEl(e,i))})).remove((function(t){o.remove(s.getItemGraphicEl(t))})).execute(),a.eachItemGraphicEl((function(t,e){var n=a.getItemModel(e),i=t.childAt(0),r=t.childAt(1),s=t.childAt(2),l=a.getItemVisual(e,"style"),u=l.fill;o.add(t),i.useStyle(E(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),hu(i,n,"lineStyle"),hu(r,n,"areaStyle");var h=n.getModel("areaStyle"),c=h.isEmpty()&&h.parentModel.isEmpty();r.ignore=c,B(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),i=e.isEmpty()&&e.parentModel.isEmpty();r.ensureState(t).ignore=i&&c})),r.useStyle(E(h.getAreaStyle(),{fill:u,opacity:.7,decal:l.decal}));var p=n.getModel("emphasis"),f=p.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof Gs){var i=t.style;t.useStyle(O({image:i.image,x:i.x,y:i.y,width:i.width,height:i.height},l))}else t.useStyle(l),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=k(f);var r=a.getStore().get(a.getDimensionIndex(t.__dimIdx),e);(null==r||isNaN(r))&&(r=""),Iu(t,Du(n),{labelFetcher:a.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:r,inheritColor:u,defaultOpacity:l.opacity})})),au(t,p.get("focus"),p.get("blurScope"),p.get("disabled"))})),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(_m),VC=zC,jC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uM(H(this.getData,this),H(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return sM(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.coordinateSystem.getIndicatorAxes(),o=this.getData().getName(t),a=""===o?this.name:o,s=Uf(this,t);return Ff("section",{header:a,sortBlocks:!0,blocks:z(r,(function(e){var n=i.get(i.mapDimension(e.dim),t);return Ff("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,i=e.getValues(z(n.dimensions,(function(t){return e.mapDimension(t)})),t),r=0,o=i.length;r<o;r++)if(!isNaN(i[r])){var a=n.getIndicatorAxes();return n.coordToPoint(a[r].dataToCoord(i[r]),r)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(sd),GC=jC,HC=IM.value;function WC(t,e){return E({show:e},t)}var ZC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),i=this.get("axisLine"),r=this.get("axisTick"),o=this.get("axisLabel"),a=this.get("axisName"),s=this.get(["axisName","show"]),l=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),h=this.get("triggerEvent"),c=z(this.get("indicator")||[],(function(c){null!=c.max&&c.max>0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=E({color:c.color},a));var f=P(k(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(X(l)){var d=f.name;f.name=l.replace("{value}",null!=d?d:"")}else U(l)&&(f.name=l(f.name,f));var g=new th(f,null,this.ecModel);return N(g,SM.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:P({lineStyle:{color:"#bbb"}},HC.axisLine),axisLabel:WC(HC.axisLabel,!1),axisTick:WC(HC.axisTick,!1),splitLine:WC(HC.splitLine,!0),splitArea:WC(HC.splitArea,!0),indicator:[]},e}(hc),UC=ZC,XC=["axisLine","axisTickLabel","axisName"],$C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;B(z(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new dC(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){B(XC,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=Z(h)?h:[h],f=Z(c)?c:[c],d=[],g=[];if("circle"===i)for(var m=n[0].getTicksCoords(),v=e.cx,y=e.cy,_=0;_<m.length;_++){if(l)d[A(d,p,_)].push(new Od({shape:{cx:v,cy:y,r:m[_].coord}}));if(u&&_<m.length-1)g[A(g,f,_)].push(new eg({shape:{cx:v,cy:y,r0:m[_].coord,r:m[_+1].coord}}))}else{var x,b=z(n,(function(t,n){var i=t.getTicksCoords();return x=null==x?i.length-1:Math.min(i.length-1,x),z(i,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(_=0;_<=x;_++){for(var S=[],M=0;M<n.length;M++)S.push(b[M][_]);if(S[0]&&S.push(S[0].slice()),l)d[A(d,p,_)].push(new lg({shape:{points:S}}));if(u&&w)g[A(g,f,_-1)].push(new og({shape:{points:S.concat(w)}}));w=S.slice().reverse()}}var T=a.getLineStyle(),C=s.getAreaStyle();B(g,(function(t,e){this.group.add(Ug(t,{style:E({stroke:"none",fill:f[e%f.length]},C),silent:!0}))}),this),B(d,(function(t,e){this.group.add(Ug(t,{style:E({fill:"none",stroke:p[e%p.length]},T),silent:!0}))}),this)}function A(t,e,n){var i=n%e.length;return t[i]=t[i]||[],i}},e.type="radar",e}(ud),YC=$C,qC=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.type="value",r.angle=0,r.name="",r}return o(e,t),e}($T),KC=qC,JC=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=z(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,i=new KC(n,new YM);return i.name=t.get("name"),i.model=t,t.axis=i,this.dimensions.push(n),i}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=Math.sqrt(e*e+n*n);e/=i,n/=i;for(var r,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;l<this._indicatorAxes.length;l++){var u=this._indicatorAxes[l],h=Math.abs(o-u.angle);h<a&&(r=u,s=l,a=h)}return[s,+(r&&r.coordToData(i))]},t.prototype.resize=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r)/2;this.cx=eo(n[0],i),this.cy=eo(n[1],r),this.startAngle=t.get("startAngle")*Math.PI/180;var a=t.get("radius");(X(a)||Y(a))&&(a=[0,a]),this.r0=eo(a[0],o),this.r=eo(a[1],o),B(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,i=this._model;B(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,r){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===i){var o=e.getData();B(n,(function(t){t.scale.unionExtentFromData(o,o.mapDimension(t.dim))}))}}),this);var r=i.get("splitNumber"),o=new YM;o.setExtent(0,r),o.setInterval(1),B(n,(function(t,e){eC(t.scale,t.model,o)}))},t.prototype.convertToPixel=function(t,e,n){return null},t.prototype.convertFromPixel=function(t,e,n){return null},t.prototype.containPoint=function(t){return!1},t.create=function(e,n){var i=[];return e.eachComponent("radar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("radarIndex")||0])})),i},t.dimensions=[],t}(),QC=JC;function tA(t){t.registerCoordinateSystem("radar",QC),t.registerComponentModel(UC),t.registerComponentView(YC),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}var eA="\0_ec_interaction_mutex";function nA(t,e){return!!iA(t)[e]}function iA(t){return t[eA]||(t[eA]={})}h_({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},xt);var rA=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var i=H(n._mousedownHandler,n),r=H(n._mousemoveHandler,n),o=H(n._mouseupHandler,n),a=H(n._mousewheelHandler,n),s=H(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=E(k(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",i),e.on("mousemove",r),e.on("mouseup",o)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",a),e.on("pinch",s))},n.disable=function(){e.off("mousedown",i),e.off("mousemove",r),e.off("mouseup",o),e.off("mousewheel",a),e.off("pinch",s)},n}return o(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!pe(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,i=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,i)&&(this._x=n,this._y=i,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&sA("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!nA(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,i=this._x,r=this._y,o=e-i,a=n-r;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&ce(t.event),aA(this,"pan","moveOnMouseMove",t,{dx:o,dy:a,oldX:i,oldY:r,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){pe(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=sA("zoomOnMouseWheel",t,this._opt),n=sA("moveOnMouseWheel",t,this._opt),i=t.wheelDelta,r=Math.abs(i),o=t.offsetX,a=t.offsetY;if(0!==i&&(e||n)){if(e){var s=r>3?1.4:r>1?1.2:1.1;oA(this,"zoom","zoomOnMouseWheel",t,{scale:i>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(n){var l=Math.abs(i);oA(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(i>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){nA(this._zr,"globalPan")||oA(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Ut);function oA(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ce(i.event),aA(t,e,n,i,r))}function aA(t,e,n,i,r){r.isAvailableBehavior=H(sA,null,n,i),t.trigger(e,r)}function sA(t,e,n){var i=n[t];return!t||i&&(!X(i)||e.event[i+"Key"])}var lA=rA;function uA(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function hA(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var cA,pA={axisPointer:1,tooltip:1,brush:1};function fA(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!pA.hasOwnProperty(i.mainType)&&r&&r.model!==n}function dA(t){X(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var gA={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-anchor":"textAlign",visibility:"visibility",display:"display"},mA=G(gA),vA={"alignment-baseline":"textBaseline","stop-color":"stopColor"},yA=G(vA),_A=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=dA(t);this._defsUsePending=[];var i=new Ur;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),TA(n,i,null,!0,!1);for(var l,u,h=n.firstChild;h;)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var i=e[n];i[0].style[i[1]]=t[i[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],o){var c=DA(o);c.length>=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=EA(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;(i=new Ur).add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new qs({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=cA[s];if(u&&_t(cA,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=xA[s];if(p&&_t(xA,s)){var f=p.call(this,t),d=t.getAttribute("id");d&&(this._defs[d]=f)}}if(a&&a.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Bs({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});SA(e,n),TA(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var i=n.textBaseline,r=i;i&&"auto"!==i?"baseline"===i?r="alphabetic":"before-edge"===i||"text-before-edge"===i?r="top":"after-edge"===i||"text-after-edge"===i?r="bottom":"central"!==i&&"mathematical"!==i||(r="middle"):r="alphabetic",t.style.textBaseline=r}var o=e.__inheritedStyle;if(o){var a=o.textAlign,s=a;a&&("middle"===a&&(s="center"),t.style.textAlign=s)}}(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=void(cA={g:function(t,e){var n=new Ur;return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new qs;return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new Od;return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new pg;return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Nd;return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=MA(i));var r=new og({shape:{points:n||[]},silent:!0});return SA(e,r),TA(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=MA(i));var r=new lg({shape:{points:n||[]},silent:!0});return SA(e,r),TA(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Gs;return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new Ur;return SA(e,a),TA(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new Ur;return SA(e,a),TA(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=Dd(t.getAttribute("d")||"");return SA(e,n),TA(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),xA={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new Mg(e,n,i,r);return bA(t,o),wA(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Tg(e,n,i);return bA(t,r),wA(t,r),r}};function bA(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function wA(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};OA(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function SA(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),E(e.__inheritedStyle,t.__inheritedStyle))}function MA(t){for(var e=DA(t),n=[],i=0;i<e.length;i+=2){var r=parseFloat(e[i]),o=parseFloat(e[i+1]);n.push([r,o])}return n}function TA(t,e,n,i,r){var o=e,a=o.__inheritedStyle=o.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var i=[],r=null;n.replace(kA,(function(t,e,n){return i.push(e,n),""}));for(var o=i.length-1;o>0;o-=2){var a=i[o],s=i[o-1],l=DA(a);switch(r=r||[1,0,0,1,0,0],s){case"translate":_e(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":be(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":xe(r,r,-parseFloat(l[0])*PA,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":ye(r,[1,0,Math.tan(parseFloat(l[0])*PA),1,0,0],r);break;case"skewY":ye(r,[1,Math.tan(parseFloat(l[0])*PA),0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5])}}e.setLocalTransform(r)}}(t,e),OA(t,a,s),i||function(t,e,n){for(var i=0;i<mA.length;i++){var r=mA[i];null!=(o=t.getAttribute(r))&&(e[gA[r]]=o)}for(i=0;i<yA.length;i++){var o;r=yA[i];null!=(o=t.getAttribute(r))&&(n[vA[r]]=o)}}(t,a,s)),o.style=o.style||{},null!=a.fill&&(o.style.fill=AA(o,"fill",a.fill,n)),null!=a.stroke&&(o.style.stroke=AA(o,"stroke",a.stroke,n)),B(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=a[t]&&(o.style[t]=parseFloat(a[t]))})),B(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=a[t]&&(o.style[t]=a[t])})),r&&(o.__selfStyle=s),a.lineDash&&(o.style.lineDash=z(DA(a.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==a.visibility&&"collapse"!==a.visibility||(o.invisible=!0),"n
1one"===a.display&&(o.ignore=!0)}var CA=/^url\(\s*#(.*?)\)/;function AA(t,e,n,i){var r=n&&n.match(CA);if(!r)return"none"===n&&(n=null),n;var o=lt(r[1]);i.push([t,e,o])}var IA=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function DA(t){return t.match(IA)||[]}var kA=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,PA=Math.PI/180;var LA=/([^\s:;]+)\s*:\s*([^:;]+)/g;function OA(t,e,n){var i,r=t.getAttribute("style");if(r)for(LA.lastIndex=0;null!=(i=LA.exec(r));){var o=i[1],a=_t(gA,o)?gA[o]:null;a&&(e[a]=i[2]);var s=_t(vA,o)?vA[o]:null;s&&(n[s]=i[2])}}function EA(t,e){var n=e.width/t.width,i=e.height/t.height,r=Math.min(n,i);return{scale:r,x:-(t.x+t.width/2)*r+(e.x+e.width/2),y:-(t.y+t.height/2)*r+(e.y+e.height/2)}}var RA=1e-8;function NA(t,e){return Math.abs(t-e)<RA}function FA(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=bs(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return NA(r[0],s[0])&&NA(r[1],s[1])||(i+=bs(r[0],r[1],s[0],s[1],e,n)),0!==i}var BA=[];function zA(t,e){for(var n=0;n<t.length;n++)zt(t[n],t[n],e)}function VA(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(Vt(e,e,o),jt(n,n,o))}}var jA=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),GA=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},HA=function(t){this.type="linestring",this.points=t},WA=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return o(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var l=t[s][0],u=t[s][1],h=o*u-l*a;e+=h,n+=(o+l)*h,i+=(a+u)*h,o=l,a=u}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0];return B(this.geometries,(function(e){"polygon"===e.type?VA(e.exterior,n,i,t):B(e.points,(function(e){VA(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i<r;i++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(FA(a,t[0],t[1])){for(var l=0;l<(s?s.length:0);l++)if(FA(s[l],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new Ee(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++){var h=l[u];"polygon"===h.type?(zA(h.exterior,s),B(h.interiors,(function(t){zA(t,s)}))):B(h.points,(function(t){zA(t,s)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(jA),ZA=function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return o(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=me(BA),r=t;r&&!r.isGeoSVGGraphicRoot;)ye(i,r.getLocalTransform(),i),r=r.parent;return we(i,i),zt(n,n,i),n},e}(jA),UA=gt(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),XA=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=gt(),this._freedGraphics=[],this._mapName=t,this._parsedXML=dA(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=gt();return B(t,(function(t){if(null==t.namedFrom){var i=new ZA(t.name,t.el);e.push(i),n.set(t.name,i)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,i=e.regionsMap;this._regions=n,this._regionsMap=i}
vendor: 5,034 bytes, line 1
1return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,i,r;try{st(null!=(n=(e=t&&(i=t,r={ignoreViewBox:!0,ignoreRootClip:!0},(new _A).parse(i,r))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var o=new Ur;o.add(n),o.isGeoSVGGraphicRoot=!0;var a=e.width,s=e.height,l=e.viewBoxRect,u=this._boundingRect;if(!u){var h=void 0,c=void 0,p=void 0,f=void 0;if(null!=a?(h=0,p=a):l&&(h=l.x,p=l.width),null!=s?(c=0,f=s):l&&(c=l.y,f=l.height),null==h||null==c){var d=n.getBoundingRect();null==h&&(h=d.x,p=d.width),null==c&&(c=d.y,f=d.height)}u=this._boundingRect=new Ee(h,c,p,f)}if(l){var g=EA(l,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}o.setClipPath(new qs({shape:u.plain()}));var m=[];return B(e.named,(function(t){var e;null!=UA.get(t.svgNodeTagLower)&&(m.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:o,boundingRect:u,named:m}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function $A(t,e,n){for(var i=0;i<t.length;i++)t[i]=YA(t[i],e[i],n)}function YA(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),r=s+=r,o=l+=o,i.push([s/n,l/n])}return i}function qA(t,e){return z(j((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),B(e.features,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=YA(r,i,n);break;case"Polygon":case"MultiLineString":$A(r,i,n);break;case"MultiPolygon":B(r,(function(t,e){return $A(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new GA(o[0],o.slice(1)));break;case"MultiPolygon":B(i.coordinates,(function(t){t[0]&&r.push(new GA(t[0],t.slice(1)))}));break;case"LineString":r.push(new HA([i.coordinates]));break;case"MultiLineString":r.push(new HA(i.coordinates))}var a=new WA(n[e||"name"],r,n.cp);return a.properties=n,a}))}for(var KA=[126,25],JA="南海诸岛",QA=[[[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]]],tI=0;tI<QA.length;tI++)for(var eI=0;eI<QA[tI].length;eI++)QA[tI][eI][0]/=10.5,QA[tI][eI][1]/=-14,QA[tI][eI][0]+=KA[0],QA[tI][eI][1]+=KA[1];var nI={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var iI=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var rI=function(){function t(t,e,n){var i;this.type="geoJSON",this._parsedMap=gt(),this._mapName=t,this._specialAreas=n,this._geoJSON=X(i=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(i):new Function("return ("+i+");")():i}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var i=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:i,boundingRect:oI(i)})}var r=gt(),o=[];return B(n.regions,(function(e){var n=e.name;t&&_t(t,n)&&(e=e.cloneShallow(n=t[n])),o.push(e),r.set(n,e)})),{regions:o,boundingRect:n.boundingRect||new Ee(0,0,0,0),regionsMap:r}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,i=this._geoJSON;try{e=i?qA(i,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===JA)return;e.push(new WA(JA,z(QA,(function(t){return{type:"polygon",exterior:t}})),KA))}}(n,e),B(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=nI[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:iI[0]})}(n,t);var i=this._specialAreas&&this._specialAreas[e];i&&t.transformTo(i.left,i.top,i.width,i.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function oI(t){for(var e,n=0;n<t.length;
vendor: 7,082 bytes, line 1
1n++){var i=t[n].getBoundingRect();(e=e||i.clone()).union(i)}return e}var aI=gt(),sI={registerMap:function(t,e,n){if(e.svg){var i=new XA(t,e.svg);aI.set(t,i)}else{var r=e.geoJson||e.geoJSON;r&&!e.features?n=e.specialAreas:r=e;i=new rI(t,r,n);aI.set(t,i)}},getGeoResource:function(t){return aI.get(t)},getMapForUser:function(t){var e=aI.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},load:function(t,e,n){var i=aI.get(t);if(i)return i.load(e,n)}},lI=["rect","circle","line","ellipse","polygon","polyline","path"],uI=gt(lI),hI=gt(lI.concat(["g"])),cI=gt(lI.concat(["g"])),pI=Bo();function fI(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function dI(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var gI=function(){function t(t){var e=new Ur;this.uid=nh("ec_map_draw"),this._controller=new lA(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Ur),e.add(this._svgGroup=new Ur)}return t.prototype.draw=function(t,e,n,i,r){var o="geo"===t.mainType,a=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},(function(e){a||e.getHostGeoModel()!==t||(a=e.getData())}));var s=t.coordinateSystem,l=this._regionsGroup,u=this.group,h=s.getTransformInfo(),c=h.raw,p=h.roam;!l.childAt(0)||r?(u.x=p.x,u.y=p.y,u.scaleX=p.scaleX,u.scaleY=p.scaleY,u.dirty()):yu(u,p,t);var f=a&&a.getVisual("visualMeta")&&a.getVisual("visualMeta").length>0,d={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(d):"geoSVG"===s.resourceType&&this._buildSVG(d),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=gt(),n=gt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i<t.length;++i){var r=u(t[i],n);r&&e.push(r)}return e}function c(t){return{shape:{points:h(t)}}}i.removeAll(),B(t.geo.regions,(function(r){var h=r.name,p=e.get(h),f=n.get(h)||{},d=f.dataIdx,g=f.regionModel;if(!p){p=e.set(h,new Ur),i.add(p),d=a?a.indexOfName(h):null;var m=(g=t.isGeo?o.getRegionModel(h):a?a.getItemModel(d):null).get("silent",!0);null!=m&&(p.silent=m),n.set(h,{dataIdx:d,regionModel:g})}var v=[],y=[];B(r.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);l&&(e=bI(e,l)),B(e,(function(t){v.push(new og(c(t)))}))}else{var n=t.points;l&&(n=bI(n,l,!0)),B(n,(function(t){y.push(new lg(c(t)))}))}}));var _=u(r.getCenter(),s&&s.project);function x(e,n){if(e.length){var i=new wg({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});p.add(i),mI(t,i,d,g),vI(t,i,h,g,o,d,_),n&&(dI(i),B(i.states,dI))}}x(v),x(y,!0)})),e.each((function(e,i){var r=n.get(i),a=r.dataIdx,s=r.regionModel;yI(t,e,i,s,o,a),_I(t,e,i,s,o),xI(t,e,i,s,o)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var i=this._svgDispatcherMap=gt(),r=!1;B(this._svgGraphicRecord.named,(function(e){var n=e.name,o=t.mapOrGeoModel,a=t.data,s=e.svgNodeTagLower,l=e.el,u=a?a.indexOfName(n):null,h=o.getRegionModel(n);null!=uI.get(s)&&l instanceof La&&mI(t,l,u,h),l instanceof La&&(l.culling=!0);var c=h.get("silent",!0);(null!=c&&(l.silent=c),l.z2EmphasisLift=0,e.namedFrom)||(null!=cI.get(s)&&vI(t,l,n,h,o,u,null),yI(t,l,n,h,o,u),_I(t,l,n,h,o),null!=hI.get(s)&&("self"===xI(t,l,n,h,o)&&(r=!0),(i.get(n)||i.set(n,[])).push(l)))}),this),this._enableBlurEntireSVG(r,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){Hl(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var i=this._regionsGroupByName;if(i){var r=i.get(t);return r?[r]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=sI.getGeoResource(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=sI.getGeoResource(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var i=t.coordinateSystem,r=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),r.enable(t.get("roam")||!1);var a=t.mainType;function s(){var e={type:"geoRoam",componentType:a};return e[a+"Id"]=t.id,e}r.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,uA(o,t.dx,t.dy),n.dispatchAction(O(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),r.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,hA(o,t.scale,t.originX,t.originY),n.dispatchAction(O(s(),{totalZoom:o.zoom,zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),r.setPointerChecker((function(e,r,o){return i.containPoint([r,o])&&!fA(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=pI(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,i){var r=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){r._mouseDownFlag=!0})),e.on("click",(function(t){r._mouseDownFlag&&(r._mouseDownFlag=!1)})))},t}();function mI(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=fI(r),u=fI(o),h=fI(s),c=fI(a),p=t.data;if(p){var f=p.getItemVisual(n,"style"),d=p.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&f.fill&&(l.fill=f.fill),d&&(l.decal=ay(d,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=h,e.ensureState("blur").style=c,Hl(e)}function vI(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),h=s&&s.getItemLayout(o);if(l||u||h&&h.showLabel){var c=l?n:o,p=void 0;(!s||o>=0)&&(p=r);var f=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Iu(e,Du(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},f);var d=e.getTextContent();if(d&&(pI(d).ignore=d.ignore,e.textConfig&&a)){var g=e.getBoundingRect
vendor: 80,791 bytes, line 1
1().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function yI(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):fl(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function _I(t,e,n,i,r){t.data||lm({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function xI(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return au(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&function(t,e,n){var i=fl(t);i.componentMainType=e.mainType,i.componentIndex=e.componentIndex,i.componentHighDownName=n}(e,r,n),a}function bI(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),B(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),r}var wI=gI,SI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){if(!i||"mapToggleSelect"!==i.type||i.from!==this.uid){var r=this.group;if(r.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&i&&"geoRoam"===i.type&&this._mapDraw.resetForLabelLayout(),i&&"geoRoam"===i.type&&"series"===i.componentType&&i.seriesId===t.id)(o=this._mapDraw)&&r.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new wI(n);r.add(o.group),o.draw(t,e,n,this,i),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var i=t.originalData,r=this.group;i.each(i.mapDimension("value"),(function(e,n){if(!isNaN(e)){var o=i.getItemLayout(n);if(o&&o.point){var a=o.point,s=o.offset,l=new Od({style:{fill:t.getData().getVisual("style").fill},shape:{cx:a[0]+9*s,cy:a[1],r:3},silent:!0,z2:8+(s?0:Ml+1)});if(!s){var u=t.mainSeries.getData(),h=i.getName(n),c=u.indexOfName(h),p=i.getItemModel(n),f=p.getModel("label"),d=u.getItemGraphicEl(c);Iu(l,Du(p),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(c,n)}},defaultText:h}),l.disableLabelAnimation=!0,f.get("position")||l.setTextConfig({position:"bottom"}),d.onHoverStateChange=function(t){jl(l,t)}}r.add(l)}}}))},e.type="map",e}(_m),MI=SI,TI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,i=n.getRegion(e);return i&&n.dataToPoint(i.getCenter())}},n}return o(e,t),e.prototype.getInitialData=function(t){for(var e=sM(this,{coordDimensions:["value"],encodeDefaulter:W(Cc,this)}),n=gt(),i=[],r=0,o=e.count();r<o;r++){var a=e.getName(r);n.set(a,r)}return B(sI.load(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var r,o=t.name,a=n.get(o),s=t.properties&&t.properties.echartsStyle;null==a?(r={name:o},i.push(r)):r=e.getRawDataItem(a),s&&P(r,s)})),e.appendData(i),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData(),r=this.getRawValue(t),o=i.getName(t),a=this.seriesGroup,s=[],l=0;l<a.length;l++){var u=a[l].originalData.indexOfName(o),h=i.mapDimension("value");isNaN(a[l].originalData.get(h,u))||s.push(a[l].name)}return Ff("section",{header:s.join(", "),noHeader:!s.length,blocks:[Ff("nameValue",{name:o,value:r})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=Dv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,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)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(sd),CI=TI;function AI(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)})),B(e,(function(t,e){for(var n,i,r,o=(n=z(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),r={},B(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var i="ec-"+t.getName(n);r[i]=r[i]||[],isNaN(e)||r[i].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var o="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,u=r[o].length,h=0;h<u;h++)s=Math.min(s,r[o][h]),l=Math.max(l,r[o][h]),a+=r[o][h];return 0===u?NaN:"min"===i?s:"max"===i?l:"average"===i?a/u:a}))),a=0;a<t.length;a++)t[a].originalData=t[a].getData();for(a=0;a<t.length;a++)t[a].seriesGroup=t,t[a].needsDrawMap=0===a&&!t[a].getHostGeoModel(),t[a].setData(o.cloneShallow()),t[a].mainSeries=t[0]}))}function II(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};B(n.seriesGroup,(function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),(function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)})),e[i]=!0}}))}var DI=zt,kI=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Mr,n._rawTransformable=new Mr,n.name=e,n}return o(e,t),e.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new Ee(t,e,n,i),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new Ee(t,e,n,i)},e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new Ee(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[eo(t[0],e.getWidth()),eo(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=zt([],i,t),n=zt([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),ve(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],we(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Mr;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?DI(n,t,i):Tt(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?DI([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var i=PI(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=PI(e);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Mr);function PI(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var LI=kI,OI={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},EI=["lng","lat"],RI=function(t){function e(e,n,i){var r=t.call(this,e)||this;r.dimensions=EI,r.type="geo",r._nameCoordMap=gt(),r.map=n;var o,a=i.projection,s=sI.load(n,i.nameMap,i.nameProperty),l=sI.getGeoResource(n),u=(r.resourceType=l?l.type:null,r.regions=s.regions),h=OI[l.type];if(r._regionsMap=s.regionsMap,r.regions=s.regions,r.projection=a,a)for(var c=0;c<u.length;c++){var p=u[c].getBoundingRect(a);(o=o||p.clone()).union(p)}else o=s.boundingRect;return r.setBoundingRect(o.x,o.y,o.width,o.height),r.aspectScale=a?1:it(i.aspectScale,h.aspectScale),r._invertLongitute=!a&&h.invertLongitute,r}return o(e,t),e.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._invertLongitute;r=r.clone(),o&&(r.y=-r.y-r.height);var a=this._rawTransformable;a.transform=r.calculateTransform(new Ee(t,e,n,i));var s=a.parent;a.parent=null,a.decomposeTransform(),a.parent=s,o&&(a.scaleY=-a.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var i=e[n];if("geoJSON"===i.type&&i.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(X(t)&&(t=this.getGeoCoord(t)),t){var i=this.projection;return i&&(t=i.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,i){return t.prototype.dataToPoint.call(this,e,n,i)},e.prototype.convertToPixel=function(t,e,n){var i=NI(e);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var i=NI(e);return i===this?i.pointToData(n):null},e}(LI);function NI(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Go).models[0]||{}).coordinateSystem:null}N(RI,LI);var FI=RI;function BI(t,e){var n=t.get("boundingCoords");if(null!=n){var i=n[0],r=n[1];if(isFinite(i[0])&&isFinite(i[1])&&isFinite(r[0])&&isFinite(r[1])){var o=this.projection;if(o){var a=i[0],s=i[1],l=r[0],u=r[1];i=[1/0,1/0],r=[-1/0,-1/0];var h=function(t,e,n,a){for(var s=n-t,l=a-e,u=0;u<=100;u++){var h=u/100,c=o.project([t+s*h,e+l*h]);Vt(i,i,c),jt(r,r,c)}};h(a,s,l,s),h(l,s,l,u),h(l,u,a,u),h(a,u,l,s)}this.setBoundingRect(i[0],i[1],r[0]-i[0],r[1]-i[1])}else 0}var c,p,f,d=this.getBoundingRect(),g=t.get("layoutCenter"),m=t.get("layoutSize"),v=e.getWidth(),y=e.getHeight(),_=d.width/d.height*this.aspectScale,x=!1;if(g&&m&&(c=[eo(g[0],v),eo(g[1],y)],p=eo(m,Math.min(v,y)),isNaN(c[0])||isNaN(c[1])||isNaN(p)||(x=!0)),x)f={},_>1?(f.width=p,f.height=p/_):(f.height=p,f.width=p*_),f.y=c[1]-f.height/2,f.x=c[0]-f.width/2;else{var b=t.getBoxLayoutParams();b.aspect=_,f=nc(b,{width:v,height:y})}this.setViewRect(f.x,f.y,f.width,f.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var zI=function(){function t(){this.dimensions=EI}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new FI(o+r,o,O({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=BI,a.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),B(r,(function(t,r){var o=z(t,(function(t){return t.get("nameMap")})),a=new FI(r,r,O({nameMap:L(o)},i(t[0])));a.zoomLimit=nt.apply(null,z(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=BI,a.resize(t[0],e),B(t,(function(t){t.coordinateSystem=a,function(t,e){B(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=gt(),a=0;a<r.length;a++)o.set(r[a].name,r[a]);return B(sI.load(e,n,i).regions,(function(t){var e=t.name,n=o.get(e),i=t.properties&&t.properties.echartsStyle;n||(n={name:e},r.push(n)),i&&P(n,i)})),r},t}(),VI=new zI,jI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e,n){var i=sI.getGeoResource(t.map);if(i&&"geoJSON"===i.type){var r=t.itemStyle=t.itemStyle||{};"color"in r||(r.color="#eee")}this.mergeDefaultAndTheme(t,n),Ao(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=VI.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=V(e.regions||[],(function(e,i){var r=i.name;return r&&(e.set(r,new th(i,t,t.ecModel)),i.selected&&(n[r]=!0)),e}),gt()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new th(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),i="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),r={name:t};return U(i)?(r.status=e,i(r)):X(i)?i.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={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"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(hc),GI=jI;function HI(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function WI(t,e,n,i){var r=t.getZoom(),o=t.getCenter(),a=e.zoom,s=t.projectedToPoint?t.projectedToPoint(o):t.dataToPoint(o);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(HI(t,s),i)),null!=a){if(n){var l=n.min||0,u=n.max||1/0;a=Math.max(Math.min(r*a,u),l)/r}t.scaleX*=a,t.scaleY*=a;var h=(e.originX-t.x)*(a-1),c=(e.originY-t.y)*(a-1);t.x-=h,t.y-=c,t.updateTransform(),t.setCenter(HI(t,s),i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}var ZI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return o(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,i){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new wI(n));var r=this._mapDraw;r.draw(t,e,n,this,i),r.group.on("click",this._handleRegionClick,this),r.group.silent=t.get("silent"),this.group.add(r.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;mv(t.target,(function(t){return null!=(e=fl(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var i=this;this._mapDraw.group.traverse((function(t){var e=fl(t).eventData;if(e)return i._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(ud),UI=ZI;function XI(t,e,n){sI.registerMap(t,e,n)}function $I(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var i={},r=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),B(n.coordinateSystem.regions,(function(t){i[t.name]=n.isSelected(t.name)||!1}));var o=[];B(i,(function(t,e){i[e]&&o.push(e)})),r.push({geoIndex:n.componentIndex,name:o})})),{selected:i,allSelected:r,name:t.name}}))}t.registerCoordinateSystem("geo",VI),t.registerComponentModel(GI),t.registerComponentView(UI),t.registerImpl("registerMap",XI),t.registerImpl("getMap",(function(t){return sI.getMapForUser(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var i=t.componentType||"series";e.eachComponent({mainType:i,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var o=WI(r,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(o.center),e.setZoom&&e.setZoom(o.zoom),"series"===i&&B(e.seriesGroup,(function(t){t.setCenter(o.center),t.setZoom(o.zoom)}))}}))}))}function YI(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,i=0,r=0;for(;--n>=0;){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=function(t,e,n,i){if(e){for(var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;s=QI(s),o=tD(o),s&&o;){r=QI(r),a=tD(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(nD(eD(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!QI(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!tD(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function qI(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function KI(t){return arguments.length?t:iD}function JI(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function QI(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function tD(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function eD(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function nD(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function iD(t,e){return t.parentNode===e.parentNode?1:2}var rD=function(){this.parentPoint=[],this.childPoints=[]},oD=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rD},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=eo(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;p<i-1;p++){var f=n[p];t.moveTo(f[0],f[1]),c[l]=f[l],t.lineTo(c[0],c[1])}},e}(Rs),aD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new Ur,n}return o(e,t),e.prototype.init=function(t,e){this._controller=new lA(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var i=t.getData(),r=t.layoutInfo,o=this._mainGroup;"radial"===t.get("layout")?(o.x=r.x+r.width/2,o.y=r.y+r.height/2):(o.x=r.x,o.y=r.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var a=this._data;i.diff(a).add((function(e){sD(i,e)&&lD(i,e,null,o,t)})).update((function(e,n){var r=a.getItemGraphicEl(n);sD(i,e)?lD(i,e,r,o,t):r&&cD(a,n,r,o,t)})).remove((function(e){var n=a.getItemGraphicEl(e);n&&cD(a,e,n,o,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&i.eachItemGraphicEl((function(e,i){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:i})}))})),this._data=i},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),i=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||i.push([+e.x,+e.y])}));var r=[],o=[];ja(i,r,o);var a=this._min,s=this._max;o[0]-r[0]==0&&(r[0]=a?a[0]:r[0]-1,o[0]=s?s[0]:o[0]+1),o[1]-r[1]==0&&(r[1]=a?a[1]:r[1]-1,o[1]=s?s[1]:o[1]+1);var l=t.coordinateSystem=new LI;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(r[0],r[1],o[0]-r[0],o[1]-r[1]),l.setCenter(t.get("center"),e),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=r,this._max=o},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!fA(e,n,t)})),r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){uA(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){hA(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,i=e.scaleX||1;return((e.getZoom()-1)*n+1)/i},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(_m);function sD(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function lD(t,e,n,i,r){var o=!n,a=t.tree.getNodeByDataIndex(e),s=a.getModel(),l=a.getVisual("style").fill,u=!1===a.isExpand&&0!==a.children.length?l:"#fff",h=t.tree.root,c=a.parentNode===h?a:a.parentNode||a,p=t.getItemGraphicEl(c.dataIndex),f=c.getLayout(),d=p?{x:p.__oldX,y:p.__oldY,rawX:p.__radialOldRawX,rawY:p.__radialOldRawY}:f,g=a.getLayout();o?((n=new ww(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=d.x,n.y=d.y):n.updateData(t,e,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,i.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,yu(n,{x:g.x,y:g.y},r);var m=n.getSymbolPath();if("radial"===r.get("layout")){var v=h.children[0],y=v.getLayout(),_=v.children.length,x=void 0,b=void 0;if(g.x===y.x&&!0===a.isExpand&&v.children.length){var w={x:(v.children[0].getLayout().x+v.children[_-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[_-1].getLayout().y)/2};(x=Math.atan2(w.y-y.y,w.x-y.x))<0&&(x=2*Math.PI+x),(b=w.x<y.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-y.y,g.x-y.x))<0&&(x=2*Math.PI+x),0===a.children.length||0!==a.children.length&&!1===a.isExpand?(b=g.x<y.x)&&(x-=Math.PI):(b=g.x>y.x)||(x-=Math.PI);var S=b?"left":"right",M=s.getModel("label"),T=M.get("rotate"),C=T*(Math.PI/180),A=m.getTextContent();A&&(m.setTextConfig({position:M.get("position")||S,rotation:null==T?-x:C,origin:"center"}),A.setStyle("verticalAlign","middle"))}var I=s.get(["emphasis","focus"]),D="relative"===I?mt(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===I?a.getAncestorsIndices():"descendant"===I?a.getDescendantIndices():null;D&&(fl(n).focus=D),function(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),f=t.get("edgeForkPosition"),d=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new vg({shape:pD(h,c,p,r,r)})),yu(g,{shape:pD(h,c,p,o,a)},t));else if("polyline"===u)if("orthogonal"===h){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,v=[],y=0;y<m.length;y++){var _=m[y].getLayout();v.push([_.x,_.y])}g||(g=i.__edge=new oD({shape:{parentPoint:[a.x,a.y],childPoints:[[a.x,a.y]],orient:c,forkPosition:f}})),yu(g,{shape:{parentPoint:[a.x,a.y],childPoints:v}},t)}}else 0;g&&("polyline"!==u||e.isExpand)&&(g.useStyle(E({strokeNoScale:!0,fill:null},d)),hu(g,l,"lineStyle"),Hl(g),s.add(g))}(r,a,h,n,d,f,g,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===xl||jl(n.__edge,e)}})}function uD(t,e,n,i,r){var o=hD(e.tree.root,t),a=o.source,s=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var u=e.getItemGraphicEl(a.dataIndex).__edge,h=l.__edge||(!1===a.isExpand||1===a.children.length?u:void 0),c=i.get("edgeShape"),p=i.get("layout"),f=i.get("orient"),d=i.get(["lineStyle","curveness"]);h&&("curve"===c?bu(h,{shape:pD(p,f,d,s,s),style:{opacity:0}},i,{cb:function(){n.remove(h)},removeOpt:r}):"polyline"===c&&"orthogonal"===i.get("layout")&&bu(h,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},i,{cb:function(){n.remove(h)},removeOpt:r}))}}function hD(t,e){for(var n,i=e.parentNode===t?e:e.parentNode||e;null==(n=i.getLayout());)i=i.parentNode===t?i:i.parentNode||i;return{source:i,sourceLayout:n}}function cD(t,e,n,i,r){var o=t.tree.getNodeByDataIndex(e),a=hD(t.tree.root,o).sourceLayout,s={duration:r.get("animationDurationUpdate"),easing:r.get("animationEasingUpdate")};bu(n,{x:a.x+1,y:a.y+1},r,{cb:function(){i.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),o.children.forEach((function(e){uD(e,t,i,r,s)})),uD(o,t,i,r,s)}function pD(t,e,n,i,r){var o,a,s,l,u,h,c,p;if("radial"===t){u=i.rawX,c=i.rawY,h=r.rawX,p=r.rawY;var f=JI(u,c),d=JI(u,c+(p-c)*n),g=JI(h,p+(c-p)*n),m=JI(h,p);return{x1:f.x||0,y1:f.y||0,x2:m.x||0,y2:m.y||0,cpx1:d.x||0,cpy1:d.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=i.x,c=i.y,h=r.x,p=r.y,"LR"!==e&&"RL"!==e||(o=u+(h-u)*n,a=c,s=h+(u-h)*n,l=p),"TB"!==e&&"BT"!==e||(o=u,a=c+(p-c)*n,s=h,l=p+(c-p)*n),{x1:u,y1:c,x2:h,y2:p,cpx1:o,cpy1:a,cpx2:s,cpy2:l}}var fD=aD,dD=Bo();function gD(t,e){if(dD(i=this).mainData===i){var n=O({},dD(this).datas);n[this.dataType]=e,xD(e,n,t)}else bD(e,this.dataType,dD(this).mainData,t);var i;return e}function mD(t,e){return t.struct&&t.struct.update(),e}function vD(t,e){return B(dD(e).datas,(function(n,i){n!==e&&bD(n.cloneShallow(),i,e,t)})),e}function yD(t){var e=dD(this).mainData;return null==t||null==e?e:dD(e).datas[t]}function _D(){var t=dD(this).mainData;return null==t?[{data:t}]:z(G(dD(t).datas),(function(e){return{type:e,data:dD(t).datas[e]}}))}function xD(t,e,n){dD(t).datas={},B(e,(function(e,i){bD(e,i,t,n)}))}function bD(t,e,n,i){dD(n).datas[e]=t,dD(t).mainData=n,t.dataType=e,i.struct&&(t[i.structAttr]=i.struct,i.struct[i.datasAttr[e]]=t),t.getLinkedData=yD,t.getLinkedDataAll=_D}var wD=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,xD(e,n,t),B(n,(function(n){B(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,W(gD,t))}))})),e.wrapMethod("cloneShallow",W(vD,t)),B(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,W(mD,t))})),st(n[e.dataType]===e)},SD=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){U(t)&&(n=e,e=t,t=null),X(t=t||{})&&(t={order:t});var i,r=t.order||"preorder",o=this[t.attr||"children"];"preorder"===r&&(i=e.call(n,this));for(var a=0;!i&&a<o.length;a++)o[a].eachNode(t,e,n);"postorder"===r&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>e&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].getNodeById(t);if(r)return r}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,i=n.length;e<i;e++){var r=n[e].contains(t);if(r)return r}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),MD=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,i=e.length;n<i;n++)e[n].dataIndex=-1;for(n=0,i=t.count();n<i;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,i){var r=new t(n),o=[],a=1;!function t(e,n){var i=e.value;a=Math.max(a,Z(i)?i.length:1),o.push(e);var s=new SD(Eo(e.name,""),r);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):r.root=s,r._nodes.push(s);var l=e.children;if(l)for(var u=0;u<l.length;u++)t(l[u],s)}(e),r.root.updateDepthAndHeight(0);var s=sw(o,{coordDimensions:["value"],dimensionsCount:a}).dimensions,l=new aw(s,n);return l.initData(o),i&&i(l),wD({mainData:l,struct:r,structAttr:"tree"}),r.update(),r},t}();var TD=MD;function CD(t,e,n){if(t&&R(e,t.type)>=0){var i=n.getData().tree.root,r=t.targetNode;if(X(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function AD(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function ID(t,e){return R(AD(t),e)>=0}function DD(t,e){for(var n=[];t;){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var kD=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return o(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new th(n,this,this.ecModel),r=TD.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}));var o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;o&&o!==r;)s=o.parentNode.name+"."+s,o=o.parentNode;return Ff("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=DD(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={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",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(sd),PD=kD;function LD(t,e){for(var n,i=[t];n=i.pop();)if(e(n),n.isExpand){var r=n.children;if(r.length)for(var o=r.length-1;o>=0;o--)i.push(r[o])}}function OD(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=KI((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=KI());var s=t.getData().tree.root,l=s.children[0];if(l){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,i,r=[e];n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var o=i.length-1;o>=0;o--){var a=i[o];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(a)}}(s),function(t,e,n){for(var i,r=[t],o=[];i=r.pop();)if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s<a.length;s++)r.push(a[s])}for(;i=o.pop();)e(i,n)}(l,YI,a),s.hierNode.modifier=-l.hierNode.prelim,LD(l,qI);var u=l,h=l,c=l;LD(l,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>h.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,f=p-u.getLayout().x,d=0,g=0,m=0,v=0;if("radial"===i)d=r/(h.getLayout().x+p+f),g=o/(c.depth-1||1),LD(l,(function(t){m=(t.getLayout().x+f)*d,v=(t.depth-1)*g;var e=JI(m,v);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:v},!0)}));else{var y=t.getOrient();"RL"===y||"LR"===y?(g=o/(h.getLayout().x+p+f),d=r/(c.depth-1||1),LD(l,(function(t){v=(t.getLayout().x+f)*g,m="LR"===y?(t.depth-1)*d:r-(t.depth-1)*d,t.setLayout({x:m,y:v},!0)}))):"TB"!==y&&"BT"!==y||(d=r/(h.getLayout().x+p+f),g=o/(c.depth-1||1),LD(l,(function(t){m=(t.getLayout().x+f)*d,v="TB"===y?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:m,y:v},!0)})))}}}(t,e)}))}function ED(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();O(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var RD=["treemapZoomToNode","treemapRender","treemapMove"];function ND(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var i=e;i&&i.depth>1;)i=i.parentNode;var r=Fc(t.ecModel,i.name||i.dataIndex+"",n);e.setVisual("decal",r)}))}var FD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};BD(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new th({itemStyle:r},this,e);i=t.levels=function(t,e){var n,i,r=Co(e.get("color")),o=Co(e.get(["aria","decal","decals"]));if(!r)return;t=t||[],B(t,(function(t){var e=new th(t),r=e.get("color"),o=e.get("decal");(e.get(["itemStyle","color"])||r&&"none"!==r)&&(n=!0),(e.get(["itemStyle","decal"])||o&&"none"!==o)&&(i=!0)}));var a=t[0]||(t[0]={});n||(a.color=r.slice());!i&&o&&(a.decal=o.slice());return t}(i,e);var a=z(i||[],(function(t){return new th(t,o,e)}),this),s=TD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t);return Ff("nameValue",{name:i.getName(t),value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=DD(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},O(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=gt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){ND(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,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)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(sd);function BD(t){var e=0;B(t.children,(function(t){BD(t);var n=t.value;Z(n)&&(n=n[0]),e+=n}));var n=t.value;Z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Z(t.value)?t.value[0]=n:t.value=n}var zD=FD,VD=function(){function t(t){this.group=new Ur,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),ic(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=Eo(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+16,e.emptyItemWidth);e.totalWidth+=a+8,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s,l,u,h,c,p,f,d,g,m=0,v=e.emptyItemWidth,y=t.get(["breadcrumb","height"]),_=(s=e.pos,l=e.box,h=l.width,c=l.height,p=eo(s.left,h),f=eo(s.top,c),d=eo(s.right,h),g=eo(s.bottom,c),(isNaN(p)||isNaN(parseFloat(s.left)))&&(p=0),(isNaN(d)||isNaN(parseFloat(s.right)))&&(d=h),(isNaN(f)||isNaN(parseFloat(s.top)))&&(f=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=c),u=Wh(u||0),{width:Math.max(d-p-u[1]-u[3],0),height:Math.max(g-f-u[0]-u[2],0)}),x=e.totalWidth,b=e.renderList,w=i.getModel("itemStyle").getItemStyle(),S=b.length-1;S>=0;S--){var M=b[S],T=M.node,C=M.width,A=M.text;x>_.width&&(x-=C-v,C=v,A=null);var I=new og({shape:{points:jD(m,0,C,y,S===b.length-1,0===S)},style:E(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new pl({style:ku(r,{text:A})}),textConfig:{position:"inside"},z2:1e4*Ml,onclick:W(a,T)});I.disableLabelAnimation=!0,I.getTextContent().ensureState("emphasis").style=ku(o,{text:A}),I.ensureState("emphasis").style=w,au(I,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(I),GD(I,t,T),m+=C+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function jD(t,e,n,i,r,o){var a=[[r?t:t-5,e],[t+n,e],[t+n,e+i],[r?t:t-5,e+i]];return!o&&a.splice(2,0,[t+n+5,e+i/2]),!r&&a.push([t,e+i/2]),a}function GD(t,e,n){fl(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&DD(n,e)}}var HD=VD,WD=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;i<r;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var ZD=Ur,UD=qs,XD="label",$D="upperLabel",YD=10*Ml,qD=2*Ml,KD=3*Ml,JD=ra([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),QD=function(t){var e=JD(t);return e.stroke=e.fill=e.lineWidth=null,e},tk=Bo(),ek=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return o(e,t),e.prototype.render=function(t,e,n,i){if(!(R(e.findComponents({mainType:"series",subType:"treemap",query:i}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var r=CD(i,["treemapZoomToNode","treemapRootToNode"],t),o=i&&i.type,a=t.layoutInfo,s=!this._oldTree,l=this._storage,u="treemapRootToNode"===o&&r&&l?{rootNodeGroup:l.nodeGroup[r.node.getRawIndex()],direction:i.direction}:null,h=this._giveContainerGroup(a),c=t.get("animation"),p=this._doRender(h,t,u);!c||s||o&&"treemapZoomToNode"!==o&&"treemapRootToNode"!==o?p.renderFinally():this._doAnimation(h,p,t,u),this._resetController(n),this._renderBreadcrumb(t,n,r)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new ZD,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var i=e.getData().tree,r=this._oldTree,o={nodeGroup:[],background:[],content:[]},a={nodeGroup:[],background:[],content:[]},s=this._storage,l=[];function u(t,i,r,u){return function(t,e,n,i,r,o,a,s,l,u){if(!a)return;var h=a.getLayout(),c=t.getData(),p=a.getModel();if(c.setItemGraphicEl(a.dataIndex,null),!h||!h.isInView)return;var f=h.width,d=h.height,g=h.borderWidth,m=h.invisible,v=a.getRawIndex(),y=s&&s.getRawIndex(),_=a.viewChildren,x=h.upperHeight,b=_&&_.length,w=p.getModel("itemStyle"),S=p.getModel(["emphasis","itemStyle"]),M=p.getModel(["blur","itemStyle"]),T=p.getModel(["select","itemStyle"]),C=w.get("borderRadius")||0,A=G("nodeGroup",ZD);if(!A)return;if(l.add(A),A.x=h.x||0,A.y=h.y||0,A.markRedraw(),tk(A).nodeWidth=f,tk(A).nodeHeight=d,h.isAboveViewRoot)return A;var I=G("background",UD,u,qD);I&&F(A,I,b&&h.upperLabelHeight);var D=p.getModel("emphasis"),k=D.get("focus"),P=D.get("blurScope"),L=D.get("disabled"),E="ancestor"===k?a.getAncestorsIndices():"descendant"===k?a.getDescendantIndices():k;if(b)pu(A)&&cu(A,!1),I&&(cu(I,!L),c.setItemGraphicEl(a.dataIndex,I),su(I,E,P));else{var R=G("content",UD,u,KD);R&&B(A,R),I.disableMorphing=!0,I&&pu(I)&&cu(I,!1),cu(A,!L),c.setItemGraphicEl(a.dataIndex,A);var N=p.getShallow("cursor");N&&R.attr("cursor",N),su(A,E,P)}return A;function F(e,n,i){var r=fl(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:f,height:d,r:C}),m)z(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=QD(w);l.fill=s;var u=JD(S);u.fill=S.get("borderColor");var h=JD(M);h.fill=M.get("borderColor");var c=JD(T);if(c.fill=T.get("borderColor"),i){var p=f-2*g;V(n,s,o.opacity,{x:g,y:0,width:p,height:x})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=h,n.ensureState("select").style=c,Hl(n)}e.add(n)}function B(e,n){var i=fl(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(f-2*g,0),o=Math.max(d-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:C}),m)z(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=QD(w);u.fill=l,u.decal=s.decal;var h=JD(S),c=JD(M),p=JD(T);V(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=h,n.ensureState("blur").style=c,n.ensureState("select").style=p,Hl(n)}e.add(n)}function z(t){!t.invisible&&o.push(t)}function V(e,n,i,r){var o=p.getModel(r?$D:XD),s=Eo(p.get("name"),null),l=o.getShallow("show");Iu(e,Du(p,r?$D:XD),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var c=u.style,f=at(c.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-f[1]-f[3],0),n=Math.max((r?r.height:e.shape.height)-f[0]-f[2],0);c.width===t&&c.height===n||u.setStyle({width:t,height:n})},c.truncateMinChar=2,c.lineOverflow="truncate",j(c,r,h);var d=u.getState("emphasis");j(d?d.style:null,r,h)}}function j(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function G(t,i,o,a){var s=null!=y&&n[t][y],l=r[t];return s?(n[t][y]=null,H(l,s)):m||((s=new i)instanceof La&&(s.z2=function(t,e){return t*YD+e}(o,a)),W(l,s)),e[t][v]=s}function H(t,e){var n=t[v]={};e instanceof ZD?(n.oldX=e.x,n.oldY=e.y):n.oldShape=O({},e.shape)}function W(t,e){var n=t[v]={},o=a.parentNode,s=e instanceof Ur;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,h=r.background[o.getRawIndex()];!i&&h&&h.oldShape&&(l=h.oldShape.width,u=h.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}(e,a,s,n,o,l,t,i,r,u)}!function t(e,n,i,r,o){r?(n=e,B(e,(function(t,e){!t.isRemoved()&&s(e,e)}))):new Rb(n,e,a,a).add(s).update(s).remove(W(s,null)).execute();function a(t){return t.getId()}function s(a,s){var l=null!=a?e[a]:null,h=null!=s?n[s]:null,c=u(l,h,i,o);c&&t(l&&l.viewChildren||[],h&&h.viewChildren||[],c,r,o+1)}}(i.root?[i.root]:[],r&&r.root?[r.root]:[],t,i===r||!r,0);var h=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&B(t,(function(t,n){var i=e[n];B(t,(function(t){t&&(i.push(t),tk(t).willDelete=!0)}))})),e}(s);if(this._oldTree=i,this._storage=a,this._controllerHost){var c=this.seriesModel.layoutInfo,p=i.root.getLayout();p.width===c.width&&p.height===c.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:o,willDeleteEls:h,renderFinally:function(){B(h,(function(t){B(t,(function(t){t.parent&&t.parent.remove(t)}))})),B(l,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,i){var r=n.get("animationDurationUpdate"),o=n.get("animationEasing"),a=(U(r)?0:r)||0,s=(U(o)?null:o)||"cubicOut",l=new WD;B(e.willDeleteEls,(function(t,e){B(t,(function(t,n){if(!t.invisible){var r,o=t.parent,u=tk(o);if(i&&"drillDown"===i.direction)r=o===i.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var h=0,c=0;u.willDelete||(h=u.nodeWidth/2,c=u.nodeHeight/2),r="nodeGroup"===e?{x:h,y:c,style:{opacity:0}}:{shape:{x:h,y:c,width:0,height:0},style:{opacity:0}}}r&&l.add(t,r,a,0,s)}}))})),B(this._storage,(function(t,n){B(t,(function(t,i){var r=e.lastsForAnimation[n][i],o={};r&&(t instanceof Ur?null!=r.oldX&&(o.x=t.x,o.y=t.y,t.x=r.oldX,t.y=r.oldY):(r.oldShape&&(o.shape=O({},t.shape),t.setShape(r.oldShape)),r.fadein?(t.setStyle("opacity",0),o.style={opacity:1}):1!==t.style.opacity&&(o.style={opacity:1})),l.add(t,o,a,0,s))}))}),this),this._state="animating",l.finished(H((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller,n=this._controllerHost;n||(this._controllerHost={target:this.group},n=this._controllerHost),e||((e=this._controller=new lA(t.getZr())).enable(this.seriesModel.get("roam")),n.zoomLimit=this.seriesModel.get("scaleLimit"),n.zoom=this.seriesModel.get("zoom"),e.on("pan",H(this._onPan,this)),e.on("zoom",H(this._onZoom,this)));var i=new Ee(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,n){return i.contain(e,n)}))},e.prototype._clearController=function(){var t=this._controller;this._controllerHost=null,t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a,s=new Ee(o.x,o.y,o.width,o.height),l=this._controllerHost;a=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,a){var h=a.min||0,c=a.max||1/0;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var f=this.seriesModel.layoutInfo,d=[1,0,0,1,0,0];_e(d,d,[-(e-=f.x),-(n-=f.y)]),be(d,d,[p,p]),_e(d,d,[e,n]),s.applyTransform(d),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&qh(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new HD(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(ID(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(_m);var nk=ek,ik=B,rk=q,ok=-1,ak=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=k(e);this.type=i,this.mappingMethod=n,this._normalizeData=mk[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(sk(r),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,B(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(r)):"category"===n?r.categories?function(t){var e=t.categories,n=t.categoryMap={},i=t.visual;if(ik(e,(function(t,e){n[t]=e})),!Z(i)){var r=[];q(i)?ik(i,(function(t,e){var i=n[e];r[null!=i?i:ok]=t})):r[ok]=i,i=gk(t,r)}for(var o=e.length-1;o>=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}(r):sk(r,!0):(st("linear"!==n||r.dataExtent),sk(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return H(this._normalizeData,this)},t.listVisualTypes=function(){return G(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){q(t)?B(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=Z(e)?[]:q(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&ik(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(Z(t))t=t.slice();else{if(!rk(t))return[];var e=[];ik(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o<a;o++){var s=e[o].value;if(null!=s){if(s===t||X(s)&&s===t+"")return o;n&&c(s,o)}}for(o=0,a=e.length;o<a;o++){var l=e[o],u=l.interval,h=l.close;if(u){if(u[0]===-1/0){if(vk(h[1],t,u[1]))return o}else if(u[1]===1/0){if(vk(h[0],u[0],t))return o}else if(vk(h[0],u[0],t)&&vk(h[1],t,u[1]))return o;n&&c(u[0],o),n&&c(u[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:i;function c(e,n){var o=Math.abs(e-t);o<r&&(r=o,i=n)}},t.visualHandlers={color:{applyVisual:hk("color"),getColorMapper:function(){var t=this.option;return H("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),ck.call(this,t)}:function(e,n,i){var r=!!i;return!n&&(e=this._normalizeData(e)),i=ii(e,t.parsedVisual,i),r?i:si(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return si(ii(t,this.option.parsedVisual),"rgba")},category:ck,piecewise:function(t,e){var n=dk.call(this,e);return null==n&&(n=si(ii(t,this.option.parsedVisual),"rgba")),n},fixed:pk}},colorHue:lk((function(t,e){return oi(t,e)})),colorSaturation:lk((function(t,e){return oi(t,null,e)})),colorLightness:lk((function(t,e){return oi(t,null,null,e)})),colorAlpha:lk((function(t,e){return ai(t,e)})),decal:{applyVisual:hk("decal"),_normalizedToVisual:{linear:null,category:ck,piecewise:null,fixed:null}},opacity:{applyVisual:hk("opacity"),_normalizedToVisual:fk([0,1])},liftZ:{applyVisual:hk("liftZ"),_normalizedToVisual:{linear:pk,category:pk,piecewise:pk,fixed:pk}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:uk,category:ck,piecewise:function(t,e){var n=dk.call(this,e);return null==n&&(n=uk.call(this,t)),n},fixed:pk}},symbolSize:{applyVisual:hk("symbolSize"),_normalizedToVisual:fk([0,1])}},t}();function sk(t,e){var n=t.visual,i=[];q(n)?ik(n,(function(t){i.push(t)})):null!=n&&i.push(n);e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),gk(t,i)}function lk(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:fk([0,1])}}function uk(t){var e=this.option.visual;return e[Math.round(to(t,[0,1],[0,e.length-1],!0))]||{}}function hk(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function ck(t){var e=this.option.visual;return e[this.option.loop&&t!==ok?t%e.length:t]}function pk(){return this.option.visual[0]}function fk(t){return{linear:function(e){return to(e,t,this.option.visual,!0)},category:ck,piecewise:function(e,n){var i=dk.call(this,n);return null==i&&(i=to(e,t,this.option.visual,!0)),i},fixed:pk}}function dk(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=n[ak.findPieceIndex(t,n)];if(i&&i.visual)return i.visual[this.type]}}function gk(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=z(e,(function(t){var e=ti(t);return e||[0,0,0,1]}))),e}var mk={linear:function(t){return to(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=ak.findPieceIndex(t,e,!0);if(null!=n)return to(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?ok:e},fixed:xt};function vk(t,e,n){return t?e<=n:e<n}var yk=ak,_k=Bo(),xk={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||bk(e,{},t.getViewRoot().getAncestors(),t)}};function bk(t,e,n,i){var r=t.getModel(),o=t.getLayout(),a=t.hostTree.data;if(o&&!o.invisible&&o.isInView){var s,l=r.getModel("itemStyle"),u=function(t,e,n){var i=O({},e),r=n.designatedVisualItemStyle;return B(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}(l,e,i),h=a.ensureUniqueItemVisual(t.dataIndex,"style"),c=l.get("borderColor"),p=l.get("borderColorSaturation");null!=p&&(c=function(t,e){return null!=e?oi(e,null,null,t):null}(p,s=wk(u))),h.stroke=c;var f=t.viewChildren;if(f&&f.length){var d=function(t,e,n,i,r,o){if(!o||!o.length)return;var a=Mk(e,"color")||null!=r.color&&"none"!==r.color&&(Mk(e,"colorAlpha")||Mk(e,"colorSaturation"));if(!a)return;var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&s<u[0]&&(u[0]=s),null!=l&&l>u[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new yk(c);return _k(p).drColorMappingBy=h,p}(0,r,o,0,u,f);B(f,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var o=function(t,e,n,i,r,o){var a=O({},e);if(r){var s=r.type,l="color"===s&&_k(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}(r,u,t,e,d,i);bk(t,o,n,i)}}))}else s=wk(u),h.fill=s}}function wk(t){var e=Sk(t,"color");if(e){var n=Sk(t,"colorAlpha"),i=Sk(t,"colorSaturation");return i&&(e=oi(e,null,null,i)),n&&(e=ai(e,n)),e}}function Sk(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function Mk(t,e){var n=t.get(e);return Z(n)&&n.length?{name:e,range:n}:null}var Tk=Math.max,Ck=Math.min,Ak=nt,Ik=B,Dk=["itemStyle","borderWidth"],kk=["itemStyle","gapWidth"],Pk=["upperLabel","show"],Lk=["upperLabel","height"],Ok={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=nc(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=eo(Ak(s.width,l[0]),r),h=eo(Ak(s.height,l[1]),o),c=i&&i.type,p=CD(i,["treemapZoomToNode","treemapRootToNode"],t),f="treemapRender"===c||"treemapMove"===c?i.rootRect:null,d=t.getViewRoot(),g=AD(d);if("treemapMove"!==c){var m="treemapZoomToNode"===c?function(t,e,n,i,r){var o,a=(e||{}).node,s=[i,r];if(!a||a===n)return s;var l=i*r,u=l*t.option.zoomToNodeRatio;for(;o=a.parentNode;){for(var h=0,c=o.children,p=0,f=c.length;p<f;p++)h+=c[p].getValue();var d=a.getValue();if(0===d)return s;u*=h/d;var g=o.getModel(),m=g.get(Dk);(u+=4*m*m+(3*m+Math.max(m,Bk(g)))*Math.pow(u,.5))>lo&&(u=lo),a=o}u<l&&(u=l);var v=Math.pow(u/l,.5);return[i*v,r*v]}(t,p,d,u,h):f?[f.width,f.height]:[u,h],v=a.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var y={squareRatio:a.squareRatio,sort:v,leafDepth:a.leafDepth};d.hostTree.clearLayouts();var _={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};d.setLayout(_),Ek(d,y,!1,0),_=d.getLayout(),Ik(g,(function(t,e){var n=(g[e+1]||d).getValue();t.setLayout(O({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var i={x:0,y:0};if(!n)return i;var r=n.node,o=r.getLayout();if(!o)return i;var a=[o.width/2,o.height/2],s=r;for(;s;){var l=s.getLayout();a[0]+=l.x,a[1]+=l.y,s=s.parentNode}return{x:t.width/2-a[0],y:t.height/2-a[1]}}(s,f,p),!0),t.setLayoutInfo(s),Fk(x,new Ee(-s.x,-s.y,r,o),g,d,0)}};function Ek(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(Dk),u=s.get(kk)/2,h=Bk(s),c=Math.max(l,h),p=l-u,f=c-u;t.setLayout({borderWidth:l,upperHeight:c,upperLabelHeight:h},!0);var d=(r=Tk(r-2*p,0))*(o=Tk(o-p-f,0)),g=function(t,e,n,i,r,o){var a=t.children||[],s=i.sort;"asc"!==s&&"desc"!==s&&(s=null);var l=null!=i.leafDepth&&i.leafDepth<=o;if(r&&!l)return t.viewChildren=[];a=j(a,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var i="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===i?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:i}))}(a,s);var u=function(t,e,n){for(var i=0,r=0,o=e.length;r<o;r++)i+=e[r].getValue();var a,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(a=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&a.reverse()):(a=[1/0,-1/0],Ik(e,(function(t){var e=t.getValue(s);e<a[0]&&(a[0]=e),e>a[1]&&(a[1]=e)}))):a=[NaN,NaN];return{sum:i,dataExtent:a}}(e,a,s);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,i,r){if(!i)return n;for(var o=t.get("visibleMin"),a=r.length,s=a,l=a-1;l>=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*e<o&&(s=l,n-=u)}return"asc"===i?r.splice(0,a-s):r.splice(s,a-s),n}(e,n,u.sum,s,a),0===u.sum)return t.viewChildren=[];for(var h=0,c=a.length;h<c;h++){var p=a[h].getValue()/u.sum*n;a[h].setLayout({area:p})}l&&(a.length&&t.setLayout({isLeafRoot:!0},!0),a.length=0);return t.viewChildren=a,t.setLayout({dataExtent:u.dataExtent},!0),a}(t,s,d,e,n,i);if(g.length){var m={x:p,y:f,width:r,height:o},v=Ck(r,o),y=1/0,_=[];_.area=0;for(var x=0,b=g.length;x<b;){var w=g[x];_.push(w),_.area+=w.getLayout().area;var S=Rk(_,v,e.squareRatio);S<=y?(x++,y=S):(_.area-=_.pop().getLayout().area,Nk(_,v,m,u,!1),v=Ck(m.width,m.height),_.length=_.area=0,y=1/0)}if(_.length&&Nk(_,v,m,u,!0),!n){var M=s.get("childrenVisibleMin");null!=M&&d<M&&(n=!0)}for(x=0,b=g.length;x<b;x++)Ek(g[x],e,n,i+1)}}}function Rk(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;o<s;o++)(a=t[o].getLayout().area)&&(a<r&&(r=a),a>i&&(i=a));var l=t.area*t.area,u=e*e*n;return l?Tk(u*i/l,l/(u*r)):1/0}function Nk(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;c<p;c++){var f=t[c],d={},g=h?f.getLayout().area/h:0,m=d[l[a]]=Tk(h-2*i,0),v=n[s[o]]+n[l[o]]-u,y=c===p-1||v<g?v:g,_=d[l[o]]=Tk(y-2*i,0);d[s[a]]=n[s[a]]+Ck(i,m/2),d[s[o]]=u+Ck(i,_/2),u+=y,f.setLayout(d,!0)}n[s[a]]+=h,n[l[a]]-=h}function Fk(t,e,n,i,r){var o=t.getLayout(),a=n[r],s=a&&a===t;if(!(a&&!s||r===n.length&&t!==i)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(o),isAboveViewRoot:s},!0);var l=new Ee(e.x-o.x,e.y-o.y,e.width,e.height);Ik(t.viewChildren||[],(function(t){Fk(t,l,n,i,r+1)}))}}function Bk(t){return t.get(Pk)?t.get(Lk):0}function zk(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getGraph().data,r=n.mapArray(n.getName);i.filterSelf((function(t){var n=i.getItemModel(t).getShallow("category");if(null!=n){Y(n)&&(n=r[n]);for(var o=0;o<e.length;o++)if(!e[o].isSelected(n))return!1}return!0}))}))}function Vk(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),i=t.getData(),r={};n.each((function(i){var o=n.getName(i);r["ec-"+o]=i;var a=n.getItemModel(i),s=a.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(o,e)),n.setItemVisual(i,"style",s);for(var l=["symbol","symbolSize","symbolKeepAspect"],u=0;u<l.length;u++){var h=a.getShallow(l[u],!0);null!=h&&n.setItemVisual(i,l[u],h)}})),n.count()&&i.each((function(t){var e=i.getItemModel(t).getShallow("category");if(null!=e){X(e)&&(e=r["ec-"+e]);var o=n.getItemVisual(e,"style");O(i.ensureUniqueItemVisual(t,"style"),o);for(var a=["symbol","symbolSize","symbolKeepAspect"],s=0;s<a.length;s++)i.setItemVisual(t,a[s],n.getItemVisual(e,a[s]))}}))}))}function jk(t){return t instanceof Array||(t=[t,t]),t}function Gk(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),i=jk(t.get("edgeSymbol")),r=jk(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var i=n.getItemModel(t),r=e.getEdgeByIndex(t),o=jk(i.getShallow("symbol",!0)),a=jk(i.getShallow("symbolSize",!0)),s=i.getModel("lineStyle").getLineStyle(),l=n.ensureUniqueItemVisual(t,"style");switch(O(l,s),l.stroke){case"source":var u=r.node1.getVisual("style");l.stroke=u&&u.fill;break;case"target":u=r.node2.getVisual("style");l.stroke=u&&u.fill}o[0]&&r.setVisual("fromSymbol",o[0]),o[1]&&r.setVisual("toSymbol",o[1]),a[0]&&r.setVisual("fromSymbolSize",a[0]),a[1]&&r.setVisual("toSymbolSize",a[1])}))}))}var Hk="--\x3e",Wk=function(t){return t.get("autoCurveness")||null},Zk=function(t,e){var n=Wk(t),i=20,r=[];if(Y(n))i=n;else if(Z(n))return void(t.__curvenessList=n);e>i&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a<o;a++)r.push((a%2?a+1:a)/10*(a%2?-1:1));t.__curvenessList=r},Uk=function(t,e,n){var i=[t.id,t.dataIndex].join("."),r=[e.id,e.dataIndex].join(".");return[n.uid,i,r].join(Hk)},Xk=function(t){var e=t.split(Hk);return[e[0],e[2],e[1]].join(Hk)},$k=function(t,e){var n=Uk(t.node1,t.node2,e);return e.__edgeMap[n]},Yk=function(t,e){return qk(Uk(t.node1,t.node2,e),e)+qk(Uk(t.node2,t.node1,e),e)},qk=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function Kk(t,e,n,i){var r=Wk(e),o=Z(r);if(!r)return null;var a=$k(t,e);if(!a)return null;for(var s=-1,l=0;l<a.length;l++)if(a[l]===n){s=l;break}var u=Yk(t,e);Zk(e,u),t.lineStyle=t.lineStyle||{};var h=Uk(t.node1,t.node2,e),c=e.__curvenessList,p=o||u%2?0:1;if(a.isForward)return c[p+s];var f=Xk(h),d=qk(f,e),g=c[s+d+p];return i?o?r&&0===r[0]?(d+p)%2?g:-g:((d%2?0:1)+p)%2?g:-g:(d+p)%2?g:-g:c[s+d+p]}function Jk(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),Qk(n,t)}}function Qk(t,e){t.eachEdge((function(t,n){var i=rt(t.getModel().get(["lineStyle","curveness"]),-Kk(t,e,n,!0),0),r=Ct(t.node1.getLayout()),o=Ct(t.node2.getLayout()),a=[r,o];+i&&a.push([(r[0]+o[0])/2-(r[1]-o[1])*i,(r[1]+o[1])/2-(o[0]-r[0])*i]),t.setLayout(a)}))}function tP(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var i=t.getData(),r=[];B(n.dimensions,(function(t){r=r.concat(i.mapDimensionsAll(t))}));for(var o=0;o<i.count();o++){for(var a=[],s=!1,l=0;l<r.length;l++){var u=i.get(r[l],o);isNaN(u)||(s=!0),a.push(u)}s?i.setItemLayout(o,n.dataToPoint(a)):i.setItemLayout(o,[NaN,NaN])}Qk(i.graph,t)}else e&&"none"!==e||Jk(t)}))}function eP(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,i=e.scaleX;return((e.getZoom()-1)*n+1)/i}function nP(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var iP=Math.PI,rP=[];function oP(t,e,n,i){var r=t.coordinateSystem;if(!r||"view"===r.type){var o=r.getBoundingRect(),a=t.getData(),s=a.graph,l=o.width/2+o.x,u=o.height/2+o.y,h=Math.min(o.width,o.height)/2,c=a.count();if(a.setLayout({cx:l,cy:u}),c){if(n){var p=r.pointToData(i),f=p[0],d=p[1],g=[f-l,d-u];Et(g,g),Ot(g,g,h),n.setLayout([l+g[0],u+g[1]],!0),sP(n,t.get(["circular","rotateLabel"]),l,u)}aP[e](t,s,a,h,l,u,c),s.eachEdge((function(e,n){var i,r=rt(e.getModel().get(["lineStyle","curveness"]),Kk(e,t,n),0),o=Ct(e.node1.getLayout()),a=Ct(e.node2.getLayout()),s=(o[0]+a[0])/2,h=(o[1]+a[1])/2;+r&&(i=[l*(r*=3)+s*(1-r),u*r+h*(1-r)]),e.setLayout([o,a,i])}))}}}var aP={value:function(t,e,n,i,r,o,a){var s=0,l=n.getSum("value"),u=2*Math.PI/(l||a);e.eachNode((function(t){var e=t.getValue("value"),n=u*(l?e:1)/2;s+=n,t.setLayout([i*Math.cos(s)+r,i*Math.sin(s)+o]),s+=n}))},symbolSize:function(t,e,n,i,r,o,a){var s=0;rP.length=a;var l=eP(t);e.eachNode((function(t){var e=nP(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=l;var n=Math.asin(e/2/i);isNaN(n)&&(n=iP/2),rP[t.dataIndex]=n,s+=2*n}));var u=(2*iP-s)/a/2,h=0;e.eachNode((function(t){var e=u+rP[t.dataIndex];h+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([i*Math.cos(h)+r,i*Math.sin(h)+o]),h+=e}))}};function sP(t,e,n,i){var r=t.getGraphicEl();if(r){var o=t.getModel().get(["label","rotate"])||0,a=r.getSymbolPath();if(e){var s=t.getLayout(),l=Math.atan2(s[1]-i,s[0]-n);l<0&&(l=2*Math.PI+l);var u=s[0]<n;u&&(l-=Math.PI);var h=u?"left":"right";a.setTextConfig({rotation:-l,position:h,origin:"center"});var c=a.ensureState("emphasis");O(c.textConfig||(c.textConfig={}),{position:h})}else a.setTextConfig({rotation:o*=Math.PI/180})}}function lP(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&oP(t,"symbolSize")}))}var uP=Dt;function hP(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},i=t.getGraph(),r=i.data,o=i.edgeData,a=t.getModel("force"),s=a.get("initLayout");t.preservedPoints?r.each((function(t){var e=r.getId(t);r.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&oP(t,"value"):Jk(t);var l=r.getDataExtent("value"),u=o.getDataExtent("value"),h=a.get("repulsion"),c=a.get("edgeLength"),p=Z(h)?h:[h,h],f=Z(c)?c:[c,c];f=[f[1],f[0]];var d=r.mapArray("value",(function(t,e){var n=r.getItemLayout(e),i=to(t,l,p);return isNaN(i)&&(i=(p[0]+p[1])/2),{w:i,rep:i,fixed:r.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=o.mapArray("value",(function(e,n){var r=i.getEdgeByIndex(n),o=to(e,u,f);isNaN(o)&&(o=(f[0]+f[1])/2);var a=r.getModel(),s=rt(r.getModel().get(["lineStyle","curveness"]),-Kk(r,t,n,!0),0);return{n1:d[r.node1.dataIndex],n2:d[r.node2.dataIndex],d:o,curveness:s,ignoreForceLayout:a.get("ignoreForceLayout")}})),m=e.getBoundingRect(),v=function(t,e,n){for(var i=t,r=e,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,h=0;h<i.length;h++){var c=i[h];c.p||(c.p=Mt(a*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),c.pp=Ct(c.p),c.edges=null}var p,f,d=null==n.friction?.6:n.friction,g=d;return{warmUp:function(){g=.8*d},setFixed:function(t){i[t].fixed=!0},setUnfixed:function(t){i[t].fixed=!1},beforeStep:function(t){p=t},afterStep:function(t){f=t},step:function(t){p&&p(i,r);for(var e=[],n=i.length,o=0;o<r.length;o++){var a=r[o];if(!a.ignoreForceLayout){var s=a.n1;kt(e,(m=a.n2).p,s.p);var h=Pt(e)-a.d,c=m.w/(s.w+m.w);isNaN(c)&&(c=0),Et(e,e),!s.fixed&&uP(s.p,s.p,e,c*h*g),!m.fixed&&uP(m.p,m.p,e,-(1-c)*h*g)}}for(o=0;o<n;o++)(_=i[o]).fixed||(kt(e,l,_.p),uP(_.p,_.p,e,u*g));for(o=0;o<n;o++){s=i[o];for(var d=o+1;d<n;d++){var m;kt(e,(m=i[d]).p,s.p),0===(h=Pt(e))&&(At(e,Math.random()-.5,Math.random()-.5),h=1);var v=(s.rep+m.rep)/h/h;!s.fixed&&uP(s.pp,s.pp,e,v),!m.fixed&&uP(m.pp,m.pp,e,-v)}}var y=[];for(o=0;o<n;o++){var _;(_=i[o]).fixed||(kt(y,_.p,_.pp),uP(_.p,_.p,y,g),Tt(_.pp,_.p))}var x=(g*=.992)<.01;f&&f(i,r,x),t&&t(x)}}}(d,g,{rect:m,gravity:a.get("gravity"),friction:a.get("friction")});v.beforeStep((function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].fixed&&Tt(t[n].p,i.getNodeByIndex(n).getLayout())})),v.afterStep((function(t,e,o){for(var a=0,s=t.length;a<s;a++)t[a].fixed||i.getNodeByIndex(a).setLayout(t[a].p),n[r.getId(a)]=t[a].p;for(a=0,s=e.length;a<s;a++){var l=e[a],u=i.getEdgeByIndex(a),h=l.n1.p,c=l.n2.p,p=u.getLayout();(p=p?p.slice():[])[0]=p[0]||[],p[1]=p[1]||[],Tt(p[0],h),Tt(p[1],c),+l.curveness&&(p[2]=[(h[0]+c[0])/2-(h[1]-c[1])*l.curveness,(h[1]+c[1])/2-(c[0]-h[0])*l.curveness]),u.setLayout(p)}})),t.forceLayout=v,t.preservedPoints=n,v.step()}else t.forceLayout=null}))}function cP(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var i=t.get("coordinateSystem");if(!i||"view"===i){var r=t.getData(),o=[],a=[];ja(r.mapArray((function(t){var e=r.getItemModel(t);return[+e.get("x"),+e.get("y")]})),o,a),a[0]-o[0]==0&&(a[0]+=1,o[0]-=1),a[1]-o[1]==0&&(a[1]+=1,o[1]-=1);var s=(a[0]-o[0])/(a[1]-o[1]),l=function(t,e,n){return nc(O(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(o=[l.x,l.y],a=[l.x+l.width,l.y+l.height]);var u=a[0]-o[0],h=a[1]-o[1],c=l.width,p=l.height,f=t.coordinateSystem=new LI;f.zoomLimit=t.get("scaleLimit"),f.setBoundingRect(o[0],o[1],u,h),f.setViewRect(l.x,l.y,c,p),f.setCenter(t.get("center"),e),f.setZoom(t.get("zoom")),n.push(f)}})),n}var pP=pg.prototype,fP=vg.prototype,dP=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}o(e,t)}(dP);function gP(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var mP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return o(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dP},e.prototype.buildPath=function(t,e){gP(e)?pP.buildPath.call(this,t,e):fP.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return gP(this.shape)?pP.pointAt.call(this,t):fP.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=gP(e)?[e.x2-e.x1,e.y2-e.y1]:fP.tangentAt.call(this,t);return Et(n,n)},e}(Rs),vP=["fromSymbol","toSymbol"];function yP(t){return"_"+t+"Type"}function _P(t,e,n){var i=e.getItemVisual(n,t);if(!i||"none"===i)return i;var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=kv(r);return i+l+Pv(a||0,l)+(o||"")+(s||"")}function xP(t,e,n){var i=e.getItemVisual(n,t);if(i&&"none"!==i){var r=e.getItemVisual(n,t+"Size"),o=e.getItemVisual(n,t+"Rotate"),a=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),l=kv(r),u=Pv(a||0,l),h=Dv(i,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return h.__specifiedRotation=null==o||isNaN(o)?void 0:+o*Math.PI/180||0,h.name=t,h}}function bP(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var wP=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createLine(e,n,i),r}return o(e,t),e.prototype._createLine=function(t,e,n){var i=t.hostModel,r=function(t){var e=new mP({name:"line",subPixelOptimize:!0});return bP(e.shape,t),e}(t.getItemLayout(e));r.shape.percent=0,_u(r,{shape:{percent:1}},i,e),this.add(r),B(vP,(function(n){var i=xP(n,t,e);this.add(i),this[yP(n)]=_P(n,t,e)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=t.getItemLayout(e),a={shape:{}};bP(a.shape,o),yu(r,a,i,e),B(vP,(function(n){var i=_P(n,t,e),r=yP(n);if(this[r]!==i){this.remove(this.childOfName(n));var o=xP(n,t,e);this.add(o)}this[r]=i}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var i=t.hostModel,r=this.childOfName("line"),o=n&&n.emphasisLineStyle,a=n&&n.blurLineStyle,s=n&&n.selectLineStyle,l=n&&n.labelStatesModels,u=n&&n.emphasisDisabled,h=n&&n.focus,c=n&&n.blurScope;if(!n||t.hasItemOption){var p=t.getItemModel(e),f=p.getModel("emphasis");o=f.getModel("lineStyle").getLineStyle(),a=p.getModel(["blur","lineStyle"]).getLineStyle(),s=p.getModel(["select","lineStyle"]).getLineStyle(),u=f.get("disabled"),h=f.get("focus"),c=f.get("blurScope"),l=Du(p)}var d=t.getItemVisual(e,"style"),g=d.stroke;r.useStyle(d),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=o,r.ensureState("blur").style=a,r.ensureState("select").style=s,B(vP,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=d.opacity;for(var n=0;n<wl.length;n++){var i=wl[n],o=r.getState(i);if(o){var a=o.style||{},s=e.ensureState(i),l=s.style||(s.style={});null!=a.stroke&&(l[e.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}e.markRedraw()}}),this);var m=i.getRawValue(e);Iu(this,l,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return i.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:d.opacity,defaultText:(null==m?t.getName(e):isFinite(m)?no(m):m)+""});var v=this.getTextContent();if(v){var y=l.normal;v.__align=v.style.align,v.__verticalAlign=v.style.verticalAlign,v.__position=y.get("position")||"middle";var _=y.get("distance");Z(_)||(_=[_,_]),v.__labelDistance=_}this.setTextConfig({position:null,local:!0,inside:!1}),au(this,h,c,u)},e.prototype.highlight=function(){Ul(this)},e.prototype.downplay=function(){Xl(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");bP(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),i=t.getTextContent();if(e||n||i&&!i.ignore){for(var r=1,o=this.parent;o;)o.scaleX&&(r/=o.scaleX),o=o.parent;var a=t.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),h=kt([],u,l);if(Et(h,h),e&&(e.setPosition(l),S(e,0),e.scaleX=e.scaleY=r*s,e.markRedraw()),n&&(n.setPosition(u),S(n,1),n.scaleX=n.scaleY=r*s,n.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;
vendor: 2,227 bytes, line 1
1var c=void 0,p=void 0,f=i.__labelDistance,d=f[0]*r,g=f[1]*r,m=s/2,v=a.tangentAt(m),y=[v[1],-v[0]],_=a.pointAt(m);y[1]>0&&(y[0]=-y[0],y[1]=-y[1]);var x=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var b=-Math.atan2(v[1],v[0]);u[0]<l[0]&&(b=Math.PI+b),i.rotation=b}var w=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,p="top";break;default:w=0,p="middle"}switch(i.__position){case"end":i.x=h[0]*d+u[0],i.y=h[1]*g+u[1],c=h[0]>.8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*d+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=d*x+l[0],i.y=l[1]+w,c=v[0]<0?"right":"left",i.originX=-d*x,i.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=_[0],i.y=_[1]+w,c="center",i.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-d*x+u[0],i.y=u[1]+w,c=v[0]>=0?"right":"left",i.originX=d*x,i.originY=-w}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(Ur),SP=wP;function MP(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Du(e)}}function TP(t){return isNaN(t[0])||isNaN(t[1])}function CP(t){return t&&!TP(t[0])&&!TP(t[1])}var AP=function(){function t(t){this.group=new Ur,this._LineCtor=t||SP}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=MP(t);
vendor: 4,172 bytes, line 1
1t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=MP(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i<t.end;i++){if(CP(e.getItemLayout(i))){var r=new this._LineCtor(e,i,this._seriesScope);r.traverse(n),this.group.add(r),e.setItemGraphicEl(i,r),this._progressiveEls.push(r)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){hm(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(CP(t.getItemLayout(e))){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},t.prototype._doUpdate=function(t,e,n,i,r){var o=t.getItemGraphicEl(n);CP(e.getItemLayout(i))?(o?o.updateData(e,i,r):o=new this._LineCtor(e,i,r),e.setItemGraphicEl(i,o),this.group.add(o)):this.group.remove(o)},t}(),IP=[],DP=[],kP=[],PP=Dn,LP=Ft,OP=Math.abs;function EP(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,h=.1;h<=.9;h+=.1){IP[0]=PP(r[0],o[0],a[0],h),IP[1]=PP(r[1],o[1],a[1],h),(f=OP(LP(IP,e)-l))<s&&(s=f,i=h)}for(var c=0;c<32;c++){var p=i+u;DP[0]=PP(r[0],o[0],a[0],i),DP[1]=PP(r[1],o[1],a[1],i),kP[0]=PP(r[0],o[0],a[0],p),kP[1]=PP(r[1],o[1],a[1],p);var f=LP(DP,e)-l;if(OP(f)<.01)break;var d=LP(kP,e)-l;u/=2,f<0?d>=0?i+=u:i-=u:d>=0?i-=u:i+=u}return i}function RP(t,e){var n=[],i=Ln,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[Ct(l[0]),Ct(l[1])],l[2]&&l.__original.push(Ct(l[2])));var c=l.__original;if(null!=l[2]){if(Tt(r[0],c[0]),Tt(r[1],c[2]),Tt(r[2],c[1]),u&&"none"!==u){var p=nP(t.node1),f=EP(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],f,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],f,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=nP(t.node2),f=EP(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],f,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],f,n),r[1][1]=n[1],r[2][1]=n[2]}Tt(l[0],r[0]),Tt(l[1],r[2]),Tt(l[2],r[1])}else{if(Tt(o[0],c[0]),Tt(o[1],c[1]),kt(a,o[1],o[0]),Et(a,a),u&&"none"!==u){p=nP(t.node1);Dt(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=nP(t.node2);Dt(o[1],o[1],a,-p*e)}Tt(l[0],o[0]),Tt(l[1],o[1])}}))}function NP(t){return"view"===t.type}var FP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){var n=new Aw,i=new AP,r=this.group;this._controller=new lA(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(NP(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):yu(s,l,t)}RP(t.getGraph(),eP(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var f=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(f){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),oP(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;default:u.setItemLayout(n,[r.x,r.y]),Qk(t.getGraph(),t),i.updateLayout(t)}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor")),"adjacency"===o.get(["emp
1hasis","focus"])&&(fl(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(fl(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var d="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),m=u.getLayout("cy");u.graph.eachNode((function(t){sP(t,d,g,m)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))}()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!fA(e,n,t)})),NP(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){uA(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){hA(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),RP(t.getGraph(),eP(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=eP(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){RP(t.getGraph(),eP(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(_m),BP=FP;function zP(t){return"_EC_"+t}var VP=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[zP(t)]){var i=new jP(t,e);return i.hostGraph=this,this.nodes.push(i),n[zP(t)]=i,i}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[zP(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(Y(t)&&(t=this.nodes[t]),Y(e)&&(e=this.nodes[e]),t instanceof jP||(t=i[zP(t)]),e instanceof jP||(e=i[zP(e)]),t&&e){var o=t.id+"-"+e.id,a=new GP(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof jP&&(t=t.id),e instanceof jP&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r<i;r++)n[r].dataIndex>=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof jP||(e=this._nodesMap[zP(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(i,e,null))for(var a=[e];a.length;){var s=a.shift(),l=s[r];for(o=0;o<l.length;o++){var u=l[o],h=u.node1===s?u.node2:u.node1;if(!h.__visited){if(t.call(i,h,s))return;a.push(h),h.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,i=this.edges,r=0,o=n.length;r<o;r++)n[r].dataIndex=-1;for(r=0,o=t.count();r<o;r++)n[t.getRawIndex(r)].dataIndex=r;e.filterSelf((function(t){var n=i[e.getRawIndex(t)];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=e.count();r<o;r++)i[e.getRawIndex(r)].dataIndex=r},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,i=this.edges,r=0;r<n.length;r++)e.addNode(n[r].id,n[r].dataIndex);for(r=0;r<i.length;r++){var o=i[r];e.addEdge(o.node1.id,o.node2.id,o.dataIndex)}return e},t}(),jP=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];
vendor: 34,607 bytes, line 1
1n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t.prototype.getTrajectoryDataIndices=function(){for(var t=gt(),e=gt(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.set(i.dataIndex,!0);for(var r=[i.node1],o=[i.node2],a=0;a<r.length;){var s=r[a];a++,e.set(s.dataIndex,!0);for(var l=0;l<s.inEdges.length;l++)t.set(s.inEdges[l].dataIndex,!0),r.push(s.inEdges[l].node1)}for(a=0;a<o.length;){var u=o[a];a++,e.set(u.dataIndex,!0);for(l=0;l<u.outEdges.length;l++)t.set(u.outEdges[l].dataIndex,!0),o.push(u.outEdges[l].node2)}}}return{edge:t.keys(),node:e.keys()}},t}(),GP=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var t=gt(),e=gt();t.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],r=0;r<n.length;){var o=n[r];r++,e.set(o.dataIndex,!0);for(var a=0;a<o.inEdges.length;a++)t.set(o.inEdges[a].dataIndex,!0),n.push(o.inEdges[a].node1)}for(r=0;r<i.length;){var s=i[r];r++,e.set(s.dataIndex,!0);for(a=0;a<s.outEdges.length;a++)t.set(s.outEdges[a].dataIndex,!0),i.push(s.outEdges[a].node2)}return{edge:t.keys(),node:e.keys()}},t}();function HP(t,e){return{getValue:function(n){var i=this[t][e];return i.getStore().get(i.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,i){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}N(jP,HP("hostGraph","data")),N(GP,HP("hostGraph","edgeData"));var WP=VP;function ZP(t,e,n,i,r){for(var o=new WP(i),a=0;a<t.length;a++)o.addNode(nt(t[a].id,t[a].name,a),a);var s=[],l=[],u=0;for(a=0;a<e.length;a++){var h=e[a],c=h.source,p=h.target;o.addEdge(c,p,u)&&(l.push(h),s.push(nt(Eo(h.id,null),c+" > "+p)),u++)}var f,d=n.get("coordinateSystem");if("cartesian2d"===d||"polar"===d)f=gw(t,n);else{var g=Yc.get(d),m=g&&g.dimensions||[];R(m,"value")<0&&m.concat(["value"]);var v=sw(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(f=new aw(v,n)).initData(t)}var y=new aw(["value"],n);return y.initData(l,s),r&&r(f,y),wD({mainData:f,struct:o,structAttr:"graph",datas:{node:f,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}var UP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new uM(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Ao(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,i=t.edges||t.links||[],r=t.data||t.nodes||[],o=this;if(r&&i){Wk(n=this)&&(n.__curvenessList=[],n.__edgeMap={},Zk(n));var a=ZP(r,i,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=o._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=th.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=r,i}function r(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=r,t.getModel=i,t}))}));return B(a.edges,(function(t){!function(t,e,n,i){if(Wk(n)){var r=Uk(t,e,n),o=n.__edgeMap,a=o[Xk(r)];o[r]&&!a?o[r].isForward=!0:a&&o[r]&&(a.isForward=!0,o[r].isForward=!1),o[r]=o[r]||[],o[r].push(i)}}(t.node1,t.node2,this,t.dataIndex)}),this),a.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),Ff("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}return Yf({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=z(this.option.categories||[],(function(t){return null!=t.value?t:O({value:0},t)})),e=new aw(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,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:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(sd),XP=UP,$P={type:"graphRoam",event:"graphRoam",update:"none"};var YP=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},qP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return o(e,t),e.prototype.getDefaultShape=function(){return new YP},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(Rs),KP=qP;function JP(t,e){var n=null==t?"":t+"";return e&&(X(e)?n=e.replace("{value}",n):U(e)&&(n=e(t))),n}var QP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=function(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r);return{cx:eo(n[0],e.getWidth()),cy:eo(n[1],e.getHeight()),r:eo(t.get("radius"),o/2)}}(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap")?SS:Jd,c=u.get("show"),p=u.getModel("lineStyle"),f=p.get("width"),d=[s,l];cs(d,!a);for(var g=(l=d[1])-(s=d[0]),m=s,v=[],y=0;c&&y<i.length;y++){var _=new h({shape:{startAngle:m,endAngle:l=s+g*Math.min(Math.max(i[y][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-f,r:r.r},silent:!0});_.setStyle({fill:i[y][1]}),_.setStyle(p.getLineStyle(["color","width"])),v.push(_),m=l}v.reverse(),B(v,(function(t){return o.add(t)}));var x=function(t){if(t<=0)return i[0][1];var e;for(e=0;e<i.length;e++)if(i[e][0]>=t&&(0===e?0:i[e-1][0])<t)return i[e][1];return i[e-1][1]};this._renderTicks(t,e,n,x,r,s,l,a,f),this._renderTitleAndDetail(t,e,n,x,r),this._renderAnchor(t,r),this._renderPointer(t,e,n,x,r,s,l,a,f)},e.prototype._renderTicks=function(t,e,n,i,r,o,a,s,l){for(var u,h,c=this.group,p=r.cx,f=r.cy,d=r.r,g=+t.get("min"),m=+t.get("max"),v=t.getModel("splitLine"),y=t.getModel("axisTick"),_=t.getModel("axisLabel"),x=t.get("splitNumber"),b=y.get("splitNumber"),w=eo(v.get("length"),d),S=eo(y.get("length"),d),M=o,T=(a-o)/x,C=T/b,A=v.getModel("lineStyle").getLineStyle(),I=y.getModel("lineStyle").getLineStyle(),D=v.get("distance"),k=0;k<=x;k++){if(u=Math.cos(M),h=Math.sin(M),v.get("show")){var P=new pg({shape:{x1:u*(d-(L=D?D+l:l))+p,y1:h*(d-L)+f,x2:u*(d-w-L)+p,y2:h*(d-w-L)+f},style:A,silent:!0});"auto"===A.stroke&&P.setStyle({stroke:i(k/x)}),c.add(P)}if(_.get("show")){var L=_.get("distance")+D,O=JP(no(k/x*(m-g)+g),_.get("formatter")),E=i(k/x),R=u*(d-w-L)+p,N=h*(d-w-L)+f,F=_.get("rotate"),B=0;"radial"===F?(B=-M+2*Math.PI)>Math.PI/2&&(B+=Math.PI):"tangential"===F?B=-M-Math.PI/2:Y(F)&&(B=F*Math.PI/180),0===B?c.add(new pl({style:ku(_,{text:O,x:R,y:N,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:E}),silent:!0})):c.add(new pl({style:ku(_,{text:O,x:R,y:N,verticalAlign:"middle",align:"center"},{inheritColor:E}),silent:!0,originX:R,originY:N,rotation:B}))}if(y.get("show")&&k!==x){L=(L=y.get("distance"))?L+l:l;for(var z=0;z<=b;z++){u=Math.cos(M),h=Math.sin(M);var V=new pg({shape:{x1:u*(d-L)+p,y1:h*(d-L)+f,x2:u*(d-S-L)+p,y2:h*(d-S-L)+f},silent:!0,style:I});"auto"===I.stroke&&V.setStyle({stroke:i((k+z/b)/x)}),c.add(V),M+=C}M-=C}else M+=T}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],f=t.get(["pointer","show"]),d=t.getModel("progress"),g=d.get("show"),m=t.getData(),v=m.mapDimension("value"),y=+t.get("min"),_=+t.get("max"),x=[y,_],b=[o,a];function w(e,n){var i,o=m.getItemModel(e).getModel("pointer"),a=eo(o.get("width"),r.r),s=eo(o.get("length"),r.r),l=t.get(["pointer","icon"]),u=o.get("offsetCenter"),h=eo(u[0],r.r),c=eo(u[1],r.r),p=o.get("keepAspect");return(i=l?Dv(l,h-a/2,c-s,a,s,null,p):new KP({shape:{angle:-Math.PI/2,width:a,r:s,x:h,y:c}})).rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=d.get("roundCap")?SS:Jd,i=d.get("overlap"),a=i?d.get("width"):l/m.count(),u=i?r.r-a:r.r-(t+1)*a,h=i?r.r:r.r-t*a,c=new n({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:u,r:h}});return i&&(c.z2=to(m.get(v,t),[y,_],[100,0],!0)),c}(g||f)&&(m.diff(h).add((function(e){var n=m.get(v,e);if(f){var i=w(e,o);_u(i,{rotation:-((isNaN(+n)?b[0]:to(n,x,b,!0))+Math.PI/2)},t),u.add(i),m.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=d.get("clip");_u(r,{shape:{endAngle:to(n,x,b,a)}},t),u.add(r),dl(t.seriesIndex,m.dataType,e,r),p[e]=r}})).update((function(e,n){var i=m.get(v,e);if(f){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=w(e,a);s.rotation=a,yu(s,{rotation:-((isNaN(+i)?b[0]:to(i,x,b,!0))+Math.PI/2)},t),u.add(s),m.setItemGraphicEl(e,s)}if(g){var l=c[n],y=S(e,l?l.shape.endAngle:o),_=d.get("clip");yu(y,{shape:{endAngle:to(i,x,b,_)}},t),u.add(y),dl(t.seriesIndex,m.dataType,e,y),p[e]=y}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(f){var s=m.getItemGraphicEl(t),l=m.getItemVisual(t,"style"),u=l.fill;if(s instanceof Gs){var h=s.style;s.useStyle(O({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(to(m.get(v,t),x,[0,1],!0))),s.z2EmphasisLift=0,hu(s,e),au(s,r,o,a)}if(g){var c=p[t];c.useStyle(m.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,hu(c,e),au(c,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var i=n.get("size"),r=n.get("icon"),o=n.get("offsetCenter"),a=n.get("keepAspect"),s=Dv(r,e.cx-i/2+eo(o[0],e.r),e.cy-i/2+eo(o[1],e.r),i,i,null,a);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new Ur,c=[],p=[],f=t.isAnimationEnabled(),d=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new pl({silent:!0}),p[t]=new pl({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new Ur,m=i(to(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var y=v.get("offsetCenter"),_=r.cx+eo(y[0],r.r),x=r.cy+eo(y[1],r.r);(I=c[e]).attr({z2:d?0:2,style:ku(v,{x:_,y:x,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(I)}var b=n.getModel("detail");if(b.get("show")){var w=b.get("offsetCenter"),S=r.cx+eo(w[0],r.r),M=r.cy+eo(w[1],r.r),T=eo(b.get("width"),r.r),C=eo(b.get("height"),r.r),A=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:m,I=p[e],D=b.get("formatter");I.attr({z2:d?0:2,style:ku(b,{x:S,y:M,text:JP(o,D),width:isNaN(T)?null:T,height:isNaN(C)?null:C,align:"center",verticalAlign:"middle"},{inheritColor:A})}),Bu(I,{normal:b},o,(function(t){return JP(t,D)})),f&&zu(I,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return JP(a?a.interpolatedValue:o,D)}}),g.add(I)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(_m),tL=QP,eL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return o(e,t),e.prototype.getInitialData=function(t,e){return sM(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(sd),nL=eL;var iL=["itemStyle","opacity"],rL=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new lg,a=new pl;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return o(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(iL);l=null==l?1:l,n||Mu(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,_u(i,{style:{opacity:l}},r,e)):yu(i,{style:{opacity:l},shape:{points:a.points}},r,e),hu(i,o),this._updateLabel(t,e),au(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"style"),u=l.fill;Iu(r,Du(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:l.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:u,outsideFill:u});var h=s.linePoints;i.setShape({points:h}),n.textGuideLineConfig={anchor:h?new Me(h[0][0],h[0][1]):null},yu(r,{style:{x:s.x,y:s.y}},o,e),r.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),j_(n,G_(a),{stroke:u})},e}(og),oL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new rL(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){Su(r.getItemGraphicEl(e),t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(_m),aL=oL,sL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uM(H(this.getData,this),H(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return sM(this,{coordDimensions:["value"],encodeDefaulter:W(Cc,this)})},e.prototype._defaultLabelLine=function(t){Ao(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",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}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(sd),lL=sL;function uL(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=function(t,e){return nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),a=t.get("orient"),s=o.width,l=o.height,u=function(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a<s;a++)r[a]=a;return U(e)?r.sort(e):"none"!==e&&r.sort((function(t,e){return o?i[t]-i[e]:i[e]-i[t]})),r}(n,r),h=o.x,c=o.y,p="horizontal"===a?[eo(t.get("minSize"),l),eo(t.get("maxSize"),l)]:[eo(t.get("minSize"),s),eo(t.get("maxSize"),s)],f=n.getDataExtent(i),d=t.get("min"),g=t.get("max");null==d&&(d=Math.min(f[0],0)),null==g&&(g=f[1]);var m=t.get("funnelAlign"),v=t.get("gap"),y=(("horizontal"===a?s:l)-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=to(n.get(i,t)||0,[d,g],p,!0),o=void 0;switch(m){case"top":o=c;break;case"center":o=c+(l-r)/2;break;case"bottom":o=c+(l-r)}return[[e,o],[e,o+r]]}var u,f=to(n.get(i,t)||0,[d,g],p,!0);switch(m){case"left":u=h;break;case"center":u=h+(s-f)/2;break;case"right":u=h+s-f}return[[u,e],[u+f,e]]};"ascending"===r&&(y=-y,v=-v,"horizontal"===a?h+=s:c+=l,u=u.reverse());for(var x=0;x<u.length;x++){var b=u[x],w=u[x+1],S=n.getItemModel(b);if("horizontal"===a){var M=S.get(["itemStyle","width"]);null==M?M=y:(M=eo(M,s),"ascending"===r&&(M=-M));var T=_(b,h),C=_(w,h+M);h+=M+v,n.setItemLayout(b,{points:T.concat(C.slice().reverse())})}else{var A=S.get(["itemStyle","height"]);null==A?A=y:(A=eo(A,l),"ascending"===r&&(A=-A));T=_(b,c),C=_(w,c+A);c+=A+v,n.setItemLayout(b,{points:T.concat(C.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var i,r,o,a,s=t.getItemModel(n),l=s.getModel("label").get("position"),u=s.getModel("labelLine"),h=t.getItemLayout(n),c=h.points,p="inner"===l||"inside"===l||"center"===l||"insideLeft"===l||"insideRight"===l;if(p)"insideLeft"===l?(r=(c[0][0]+c[3][0])/2+5,o=(c[0][1]+c[3][1])/2,i="left"):"insideRight"===l?(r=(c[1][0]+c[2][0])/2-5,o=(c[1][1]+c[2][1])/2,i="right"):(r=(c[0][0]+c[1][0]+c[2][0]+c[3][0])/4,o=(c[0][1]+c[1][1]+c[2][1]+c[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var f=void 0,d=void 0,g=void 0,m=void 0,v=u.get("length");"left"===l?(f=(c[3][0]+c[0][0])/2,d=(c[3][1]+c[0][1])/2,r=(g=f-v)-5,i="right"):"right"===l?(f=(c[1][0]+c[2][0])/2,d=(c[1][1]+c[2][1])/2,r=(g=f+v)+5,i="left"):"top"===l?(f=(c[3][0]+c[0][0])/2,o=(m=(d=(c[3][1]+c[0][1])/2)-v)-5,i="center"):"bottom"===l?(f=(c[1][0]+c[2][0])/2,o=(m=(d=(c[1][1]+c[2][1])/2)+v)+5,i="center"):"rightTop"===l?(f="horizontal"===e?c[3][0]:c[1][0],d="horizontal"===e?c[3][1]:c[1][1],"horizontal"===e?(o=(m=d-v)-5,i="center"):(r=(g=f+v)+5,i="top")):"rightBottom"===l?(f=c[2][0],d=c[2][1],"horizontal"===e?(o=(m=d+v)+5,i="center"):(r=(g=f+v)+5,i="bottom")):"leftTop"===l?(f=c[0][0],d="horizontal"===e?c[0][1]:c[1][1],"horizontal"===e?(o=(m=d-v)-5,i="center"):(r=(g=f-v)-5,i="right")):"leftBottom"===l?(f="horizontal"===e?c[1][0]:c[3][0],d="horizontal"===e?c[1][1]:c[2][1],"horizontal"===e?(o=(m=d+v)+5,i="center"):(r=(g=f-v)-5,i="right")):(f=(c[1][0]+c[2][0])/2,d=(c[1][1]+c[2][1])/2,"horizontal"===e?(o=(m=d+v)+5,i="center"):(r=(g=f+v)+5,i="left")),"horizontal"===e?r=g=f:o=m=d,a=[[f,d],[g,m]]}h.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:p}}))}(n)}))}var hL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new Ur,n._initialized=!1,n}return o(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._dataGroup,o=t.getData(),a=this._data,s=t.coordinateSystem,l=s.dimensions,u=fL(t);if(o.diff(a).add((function(t){dL(pL(o,r,t,l,s),o,t,u)})).update((function(e,n){var i=a.getItemGraphicEl(n),r=cL(o,e,l,s);o.setItemGraphicEl(e,i),yu(i,{shape:{points:r}},t,e),Mu(i),dL(i,o,e,u)})).remove((function(t){var e=a.getItemGraphicEl(t);r.remove(e)})).execute(),!this._initialized){this._initialized=!0;var h=function(t,e,n){var i=t.model,r=t.getRect(),o=new qs({shape:{x:r.x,y:r.y,width:r.width,height:r.height}}),a="horizontal"===i.get("layout")?"width":"height";return o.setShape(a,0),_u(o,{shape:{width:r.width,height:r.height}},e,n),o}(s,t,(function(){setTimeout((function(){r.removeClipPath()}))}));r.setClipPath(h)}this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var i=e.getData(),r=e.coordinateSystem,o=r.dimensions,a=fL(e),s=this._progressiveEls=[],l=t.start;l<t.end;l++){var u=pL(i,this._dataGroup,l,o,r);u.incremental=!0,dL(u,i,l,a),s.push(u)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(_m);function cL(t,e,n,i){for(var r,o=[],a=0;a<n.length;a++){var s=n[a],l=t.get(t.mapDimension(s),e);r=l,("category"===i.getAxis(s).type?null==r:null==r||isNaN(r))||o.push(i.dataToPoint(l,s))}return o}function pL(t,e,n,i,r){var o=cL(t,n,i,r),a=new lg({shape:{points:o},z2:10});return e.add(a),t.setItemGraphicEl(n,a),a}function fL(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),et(e=yo(e))&&(e=0),{smooth:e}}function dL(t,e,n,i){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",i.smooth);var r=e.getItemModel(n),o=r.getModel("emphasis");hu(t,r,"lineStyle"),au(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}var gL=hL,mL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:H(vL,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),i=[];return e.eachActiveState(n,(function(e,r){t===e&&i.push(n.getRawIndex(r))})),i},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={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"},e}(sd);function vL(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return B(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}var yL=mL,_L=["lineStyle","opacity"],xL={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,i={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var r=i[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(n).get(_L,!0);null!=o&&(r=o)}e.ensureUniqueItemVisual(n,"style").opacity=r}),t.start,t.end)}}}};function bL(t){!function(t){if(t.parallel)return;var e=!1;B(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){var e=Co(t.parallelAxis);B(e,(function(e){if(q(e)){var n=e.parallelIndex||0,i=Co(t.parallel)[n];i&&i.parallelAxisDefault&&P(e,i.parallelAxisDefault,!1)}}))}(t)}var wL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},B(SL,(function(t,e){n.getZr().on(e,this._handlers[e]=H(t,this))}),this)),Mm(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){Tm(this,"_throttledDispatchExpand"),B(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(O({type:"parallelAxisExpand"},t))},e.type="parallel",e}(ud),SL={mousedown:function(t){ML(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(ML(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==i.behavior&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&ML(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function ML(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var TL=wL,CL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&P(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){B(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];B(j(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={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},e}(hc),AL=CL,IL=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return o(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}($T),DL=IL;function kL(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=LL(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=LL(s,[0,a]),r=o=LL(s,[r,o]),i=0}e[0]=LL(e[0],n),e[1]=LL(e[1],n);var l=PL(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=LL(e[i],c),u=PL(e,i),null!=r&&(u.sign!==l.sign||u.span<r)&&(e[1-i]=e[i]+l.sign*r),u=PL(e,i),null!=o&&u.span>o&&(e[1-i]=e[i]+u.sign*o),e}function PL(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function LL(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var OL=B,EL=Math.min,RL=Math.max,NL=Math.floor,FL=Math.ceil,BL=no,zL=Math.PI,VL=function(){function t(t,e,n){this.type="parallel",this._axesMap=gt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;OL(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new DL(t,ST(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();OL(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),wT(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=jL(e.get("axisExpandWidth"),l),c=jL(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,f=e.get("axisExpandWindow");f?(t=jL(f[1]-f[0],l),f[1]=f[0]+t):(t=jL(h*(c-1),l),(f=[h*(e.get("axisExpandCenter")||NL(u/2))-t/2])[1]=f[0]+t);var d=(s-t)/(u-c);d<3&&(d=0);var g=[NL(BL(f[0]/h,1))+1,FL(BL(f[1]/h,1))-1],m=d/h*f[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:d,axisExpandWindow:f,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),OL(n,(function(e,n){var o=(i.axisExpandable?HL:GL)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:zL/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=[1,0,0,1,0,0];xe(h,h,u),_e(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];B(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;u<i;u++){var h=void 0;if(l){h="active";for(var c=t.getValues(a,u),p=0,f=o.length;p<f;p++){if("inactive"===s[p].getActiveState(c[p])){h="inactive";break}}}else h="normal";e(h,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;i<r;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Jg([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return k(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),c=null!=h[0];if(u)c&&u&&s<r*h[0]?(l="jump",a=s-r*h[2]):c&&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*=e.axisExpandWidth/u)?kL(a,i,o,"all"):l="none";else{var p=i[1]-i[0];(i=[RL(0,o[1]*s/p-p/2)])[1]=EL(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function jL(t,e){return EL(RL(t,e[0]),e[1])}function GL(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function HL(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t<l[0]?(n=t*s,i=s):t<=l[1]?(n=e.axisExpandWindow0Pos+t*o-e.axisExpandWindow[0],u=o,h=!0):(n=r-(a-1-t)*s,i=s),{position:n,axisNameAvailableWidth:u,axisLabelShow:h,nameTruncateMaxWidth:i}}var WL=VL;var ZL={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(i,r){var o=new WL(i,t,e);o.name="parallel_"+r,o.resize(i,e),i.coordinateSystem=o,o.model=i,n.push(o)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Go).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},UL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return o(e,t),e.prototype.getAreaSelectStyle=function(){return ra([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["
1width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=k(t);if(e)for(var n=e.length-1;n>=0;n--)io(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;i<r;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},e}(hc);N(UL,SM);var XL=UL,$L=!0,YL=Math.min,qL=Math.max,KL=Math.pow,JL=1e4,QL=6,tO=6,eO="globalPan",nO={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},iO={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},rO={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},oO=0,aO=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new Ur,n._uid="brushController_"+oO++,B(OO,(function(t,e){this._handlers[e]=H(t,this)}),n),n}return o(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){iA(t)[e]=n}(e,eO,this._uid),B(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=P(k(rO),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=iA(t);i[e]===n&&(i[e]=null)}(t,eO,this._uid),B(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};B(t,(function(t){e[t.panelId]=k(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=z(t,(function(t){return P(k(rO),t,!0)}));var e="\0-brush-index-",n=this._covers,i=this._covers=[],r=this,o=this._creatingCover;return new Rb(n,t,(function(t,e){return a(t.__brushOption,e)}),a).add(s).update(s).remove((function(t){n[t]!==o&&r.group.remove(n[t])})).execute(),this;function a(t,n){return(null!=t.id?t.id:e+n)+"-"+t.brushType}function s(e,a){var s=t[e];if(null!=a&&n[a]===o)i[e]=n[a];else{var l=i[e]=null!=a?(n[a].__brushOption=s,n[a]):lO(r,sO(r,s));cO(r,l)}}},e.prototype.unmount=function(){return this.enableBrush(!1),gO(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Ut);function sO(t,e){var n=RO[e.brushType].createCover(t,e);return n.__brushOption=e,hO(n,e),t.group.add(n),n}function lO(t,e){var n=pO(e);return n.endCreating&&(n.endCreating(t,e),hO(e,e.__brushOption)),e}function uO(t,e){var n=e.__brushOption;pO(e).updateCoverShape(t,e,n.range,n)}function hO(t,e){var n=e.z;null==n&&(n=JL),t.traverse((function(t){t.z=n,t.z2=n}))}function cO(t,e){pO(e).updateCommon(t,e),uO(t,e)}function pO(t){return RO[t.__brushOption.brushType]}function fO(t,e,n){var i,r=t._panels;if(!r)return $L;var o=t._transform;return B(r,(function(t){t.isTargetByCursor(e,n,o)&&(i=t)})),i}function dO(t,e){var n=t._panels;if(!n)return $L;var i=e.__brushOption.panelId;return null!=i?n[i]:$L}function gO(t){var e=t._covers,n=e.length;return B(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function mO(t,e){var n=z(t._covers,(function(t){var e=t.__brushOption,n=k(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function vO(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function yO(t,e,n,i){var r=new Ur;return r.add(new qs({name:"main",style:wO(n),silent:!0,draggable:!0,cursor:"move",drift:W(TO,t,e,r,["n","s","w","e"]),ondragend:W(mO,e,{isEnd:!0})})),B(i,(function(n){r.add(new qs({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:W(TO,t,e,r,n),ondragend:W(mO,e,{isEnd:!0})}))})),r}function _O(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=qL(r,tO),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,h=n[0][1],c=n[1][1],p=h-o+r/2,f=c-o+r/2,d=h-a,g=c-s,m=d+r,v=g+r;bO(t,e,"main",a,s,d,g),i.transformable&&(bO(t,e,"w",l,u,o,v),bO(t,e,"e",p,u,o,v),bO(t,e,"n",l,u,m,o),bO(t,e,"s",l,f,m,o),bO(t,e,"nw",l,u,o,o),bO(t,e,"ne",p,u,o,o),bO(t,e,"sw",l,f,o,o),bO(t,e,"se",p,f,o,o))}function xO(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(wO(n)),r.attr({silent:!i,cursor:i?"move":"default"}),B([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?MO(t,n[0]):function(t,e){var n=[MO(t,e[0]),MO(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?iO[o]+"-resize":null})}))}function bO(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(function(t){var e=YL(t[0][0],t[1][0]),n=YL(t[0][1],t[1][1]),i=qL(t[0][0],t[1][0]),r=qL(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}(IO(t,e,[[i,r],[i+o,r+a]])))}function wO(t){return E({strokeNoScale:!0},t.brushStyle)}function SO(t,e,n,i){var r=[YL(t,n),YL(e,i)],o=[qL(t,n),qL(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function MO(t,e){var n=Qg({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return Kg(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function TO(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=AO(e,r,o);B(i,(function(t){var e=nO[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(SO(s[0][0],s[1][0],s[0][1],s[1][1])),cO(e,n),mO(e,{isEnd:!1})}function CO(t,e,n,i){var r=e.__brushOption.range,o=AO(t,n,i);B(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),cO(t,e),mO(t,{isEnd:!1})}function AO(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function IO(t,e,n){var i=dO(t,e);return i&&i!==$L?i.clipPath(n,t._transform):k(n)}function DO(t){var e=t.event;e.preventDefault&&e.preventDefault()}function kO(t,e,n){return t.childOfName("main").contain(e,n)}function PO(t,e,n,i){var r,o=t._creatingCover,a=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return KL(r*r+o*o,.5)>QL}
vendor: 22,054 bytes, line 1
1(t)||o){if(a&&!o){"single"===s.brushMode&&gO(t);var l=k(s);l.brushType=LO(l.brushType,a),l.panelId=a===$L?null:a.panelId,o=t._creatingCover=sO(t,l),t._covers.push(o)}if(o){var u=RO[LO(t._brushType,a)];o.__brushOption.range=u.getCreatingRange(IO(t,o,t._track)),i&&(lO(t,o),u.updateCommon(t,o)),uO(t,o),r={isEnd:i}}}else i&&"single"===s.brushMode&&s.removeOnClick&&fO(t,e,n)&&gO(t)&&(r={isEnd:i,removeOnClick:!0});return r}function LO(t,e){return"auto"===t?e.defaultBrushType:t}var OO={mousedown:function(t){if(this._dragging)EO(this,t);else if(!t.target||!t.target.draggable){DO(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=fO(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=fO(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===$L||s.panelId===o.panelId)&&RO[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){DO(t);var r=PO(this,t,i,!1);r&&mO(this,r)}},mouseup:function(t){EO(this,t)}};function EO(t,e){if(t._dragging){DO(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=PO(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&mO(t,o)}}var RO={lineX:NO(0),lineY:NO(1),rect:{createCover:function(t,e){function n(t){return t}return yO({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=vO(t);return SO(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){_O(t,e,n,i)},updateCommon:xO,contain:kO},polygon:{createCover:function(t,e){var n=new Ur;return n.add(new lg({name:"main",style:wO(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new og({name:"main",draggable:!0,drift:W(CO,t,e),ondragend:W(mO,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:IO(t,e,n)})},updateCommon:xO,contain:kO}};function NO(t){return{createCover:function(e,n){return yO({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=vO(e);return[YL(n[0][t],n[1][t]),qL(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=dO(e,n);if(a!==$L&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),_O(e,n,l,r)},updateCommon:xO,contain:kO}}var FO=aO;function BO(t){return t=jO(t),function(e){return nm(e,t)}}function zO(t,e){return t=jO(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function VO(t,e,n){var i=jO(t);return function(t,r){return i.contain(r[0],r[1])&&!fA(t,e,n)}}function jO(t){return Ee.create(t)}var GO=["axisLine","axisTickLabel","axisName"],HO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new FO(n.getZr())).on("brush",H(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Ur,this.group.add(this._axisGroup),t.get("show")){var o=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,h=O({strokeContainThreshold:l},a.getAxisLayout(u)),c=new dC(t,h);B(GO,c.add,c),this._axisGroup.add(c.getGroup()),this._refreshBrushController(h,s,t,o,l,n),em(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=Ee.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:BO(u),isTargetByCursor:VO(u,o,i),getLinearBrushOtherExtent:zO(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return z(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=z(e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(ud);var WO=HO,ZO={type:"axisAreaSelect",event:"axisAreaSelected"};var UO={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function XO(t){t.registerComponentView(TL),t.registerComponentModel(AL),t.registerCoordinateSystem("parallel",ZL),t.registerPreprocessor(bL),t.registerComponentModel(XL),t.registerComponentView(WO),OM(t,"parallel",XL,UO),function(t){t.registerAction(ZO,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var $O=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},YO=function(t){function e(e){return t.call(this,e)||this}return o(e,t),e.prototype.getDefaultShape=function(){return new $O},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){Ul(this)},e.prototype.downplay=function(){Xl(this)},e}(Rs),qO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),h=t.getData("edge"),c=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new YO,i=fl(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,u,p,f,d,g,m,v=e.getModel(),y=v.getModel("lineStyle"),_=y.get("curveness"),x=e.node1.getLayout(),b=e.node1.getModel(),w=b.get("localX"),S=b.get("localY"),M=e.node2.getLayout(),T=e.node2.getModel(),C=T.get("localX"),A=T.get("localY"),I=e.getLayout();n.shape.extent=Math.max(1,I.dy),n.shape.orient=c,"vertical"===c?(r=(null!=w?w*s:x.x)+I.sy,a=(null!=S?S*l:x.y)+x.dy,u=(null!=C?C*s:M.x)+I.ty,f=r,d=a*(1-_)+(p=null!=A?A*l:M.y)*_,g=u,m=a*_+p*(1-_)):(r=(null!=w?w*s:x.x)+x.dx,a=(null!=S?S*l:x.y)+I.sy,f=r*(1-_)+(u=null!=C?C*s:M.x)*_,d=a,g=r*_+u*(1-_),m=p=(null!=A?A*l:M.y)+I.ty),n.setShape({x1:r,y1:a,x2:u,y2:p,cpx1:f,cpy1:d,cpx2:g,cpy2:m}),n.useStyle(y.getItemStyle()),KO(n.style,c,e);var D=""+v.get("value"),k=Du(v,"edgeLabel");Iu(n,k,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,rt(o,k.normal&&k.normal.get("formatter"),D),a)}},labelDataIndex:e.dataIndex,defaultText:D}),n.setTextConfig({position:"inside"});var P=v.getModel("emphasis");hu(n,v,"lineStyle",(function(t){var n=t.getItemStyle();return KO(n,c,e),n})),o.add(n),h.setItemGraphicEl(e.dataIndex,n);var L=P.get("focus");au(n,"adjacency"===L?e.getAdjacentDataIndices():"trajectory"===L?e.getTrajectoryDataIndices():L,P.get("blurScope"),P.get("disabled"))})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),h=i.getModel("emphasis"),c=i.get(["itemStyle","borderRadius"])||0,p=new qs({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:c},style:i.getModel("itemStyle").getItemStyle(),z2:10});Iu(p,Du(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),p.disableLabelAnimation=!0,p.setStyle("fill",e.getVisual("color")),p.setStyle("decal",e.getVisual("style").decal),hu(p,i),o.add(p),u.setItemGraphicEl(e.dataIndex,p),fl(p).dataType="node";var f=h.get("focus");au(p,"adjacency"===f?e.getAdjacentDataIndices():"trajectory"===f?e.getTrajectoryDataIndices():f,h.get("blurScope"),h.get("disabled"))})),u.eachItemGraphicEl((function(e,r){u.getItemModel(r).get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(function(t,e,n){var i=new qs({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return _u(i,{shape:{width:t.width+20}},e,n),i}(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(_m);function KO(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");X(i)&&X(r)&&(t.fill=new Mg(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}var JO=qO,QO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=t.levels||[];this.levelModels=[];for(var o=this.levelModels,a=0;a<r.length;a++)null!=r[a].depth&&r[a].depth>=0&&(o[r[a].depth]=new th(r[a],this,e));var s=ZP(i,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t}))}));return s.data},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value;return Ff("nameValue",{name:o.source+" -- "+o.target,value:a,noValue:i(a)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,l=this.getDataParams(t,n).data.name;return Ff("nameValue",{name:null!=l?l+"":null,value:s,noValue:i(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e).getLayout().value;i.value=r}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(sd),tE=QO;function eE(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=function(t,e){return nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;!function(t){B(t,(function(t){var e=cE(t.outEdges,hE),n=cE(t.inEdges,hE),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}(l),function(t,e,n,i,r,o,a,s,l){(function(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p<e.length;p++)s[p]=1;for(p=0;p<t.length;p++)l[p]=t[p].inEdges.length,0===l[p]&&u.push(t[p]);var f=-1;for(;u.length;){for(var d=0;d<u.length;d++){var g=u[d],m=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=m.depth&&m.depth>=0;v&&m.depth>f&&(f=m.depth),g.setLayout({depth:v?m.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var y=0;y<g.outEdges.length;y++){var _=g.outEdges[y];s[e.indexOf(_)]=0;var x=_.node2;0==--l[t.indexOf(x)]&&h.indexOf(x)<0&&h.push(x)}}++c,u=h,h=[]}for(p=0;p<s.length;p++)if(1===s[p])throw new Error("Sankey is a DAG, the original data has cycle!");var b=f>c-1?f:c-1;a&&"left"!==a&&function(t,e,n,i){if("right"===e){for(var r=[],o=t,a=0;o.length;){for(var s=0;s<o.length;s++){var l=o[s];l.setLayout({skNodeHeight:a},!0);for(var u=0;u<l.inEdges.length;u++){var h=l.inEdges[u];r.indexOf(h.node1)<0&&r.push(h.node1)}}o=r,r=[],++a}B(t,(function(t){nE(t)||t.setLayout({depth:Math.max(0,i-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){B(t,(function(t){nE(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,i)}(t,a,0,b);var w="vertical"===o?(r-n)/b:(i-n)/b;!function(t,e,n){B(t,(function(t){var i=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:i},!0):t.setLayout({x:i},!0)}))}(t,w,o)})(t,e,n,r,o,s,l),function(t,e,n,i,r,o,a){var s=function(t,e){var n=[],i="vertical"===e?"y":"x",r=Uo(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),B(r.keys,(function(t){n.push(r.buckets.get(t))})),n}(t,a);(function(t,e,n,i,r,o){var a=1/0;B(t,(function(t){var e=t.length,s=0;B(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l<a&&(a=l)})),B(t,(function(t){B(t,(function(t,e){var n=t.getLayout().value*a;"vertical"===o?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),B(e,(function(t){var e=+t.getValue()*a;t.setLayout({dy:e},!0)}))})(s,e,n,i,r,a),iE(s,r,n,i,a);for(var l=1;o>0;o--)rE(s,l*=.99,a),iE(s,r,n,i,a),pE(s,l,a),iE(s,r,n,i,a)}(t,e,o,r,i,a,s),function(t,e){var n="vertical"===e?"x":"y";B(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),B(t,(function(t){var e=0,n=0;B(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),B(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(l,u,n,i,o,a,0!==j(l,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function nE(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function iE(t,e,n,i,r){var o="vertical"===r?"x":"y";B(t,(function(t){var a,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,h=t.length,c="vertical"===r?"dx":"dy",p=0;p<h;p++)(l=u-(s=t[p]).getLayout()[o])>0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;if((l=u-e-("vertical"===r?i:n))>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)(l=(s=t[p]).getLayout()[o]+s.getLayout()[c]+e-u)>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function rE(t,e,n){B(t.slice().reverse(),(function(t){B(t,(function(t){if(t.outEdges.length){var i=cE(t.outEdges,oE,n)/cE(t.outEdges,hE);if(isNaN(i)){var r=t.outEdges.length;i=r?cE(t.outEdges,aE,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-uE(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-uE(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function oE(t,e){return uE(t.node2,e)*t.getValue()}function aE(t,e){return uE(t.node2,e)}function sE(t,e){return uE(t.node1,e)*t.getValue()}function lE(t,e){return uE(t.node1,e)}function uE(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function hE(t){return t.getValue()}function cE(t,e,n){for(var i=0,r=t.length,o=-1;++o<r;){var a=+e(t[o],n);isNaN(a)||(i+=a)}return i}function pE(t,e,n){B(t,(function(t){B(t,(function(t){if(t.inEdges.length){var i=cE(t.inEdges,sE,n)/cE(t.inEdges,hE);if(isNaN(i)){var r=t.inEdges.length;i=r?cE(t.inEdges,lE,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-uE(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-uE(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function fE(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes,i=e.edges;if(n.length){var r=1/0,o=-1/0;B(n,(function(t){var e=t.getLayout().value;e<r&&(r=e),e>o&&(o=e)})),B(n,(function(e){var n=new yk({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),i=e.getModel().get(["itemStyle","color"]);null!=i?(e.setVisual("color",i),e.setVisual("style",{fill:i})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}i.length&&B(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var dE=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],f=p[u].get("type"),d=p[1-u].get("type"),g=t.data;if(g&&i){var m=[];B(g,(function(t,e){var n;Z(t)?(n=t.slice(),t.unshift(e)):Z(t.value)?((n=O({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var v=this.defaultValueDimensions,y=[{name:h,type:Bb(f),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:Bb(d),dimsDef:v.slice()}];return sM(this,{coordDimensions:y,dimensionsCount:v.length+1,encodeDefaulter:W(Tc,y,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),gE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return o(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(sd);N(gE,dE,!0);var mE=gE,vE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=xE(i.getItemLayout(t),i,t,a,!0);i.setItemGraphicEl(t,e),r.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Mu(n),bE(s,n,i,t)):n=xE(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(_m),yE=function(){},_E=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return o(e,t),e.prototype.getDefaultShape=function(){return new yE},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();i<n.length;i++)t.moveTo(n[i][0],n[i][1]),i++,t.lineTo(n[i][0],n[i][1])},e}(Rs);function xE(t,e,n,i,r){var o=t.ends,a=new _E({shape:{points:r?wE(o,i,t):o}});return bE(t,a,e,n,r),a}function bE(t,e,n,r,o){var a=n.hostModel;(0,i[o?"initProps":"updateProps"])(e,{shape:{points:t.ends}},a,r),e.useStyle(n.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.z2=100;var s=n.getItemModel(r),l=s.getModel("emphasis");hu(e,s),au(e,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function wE(t,e,n){return z(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}var SE=vE,ME=B;function TE(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),r=R(n,i);r<0&&(r=n.length,n[r]=i,e[r]={axis:i,seriesModels:[]}),e[r].seriesModels.push(t)})),e}(t);ME(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],a=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var l=0;ME(i,(function(t){l=Math.max(l,t.getData().count())}));var u=n.getExtent();e=Math.abs(u[1]-u[0])/l}ME(i,(function(t){var n=t.get("boxWidth");Z(n)||(n=[n,n]),s.push([eo(n[0],e)||0,eo(n[1],e)||0])}));var h=.8*e-2,c=h/r*.3,p=(h-c*(r-1))/r,f=p/2-h/2;
vendor: 7,721 bytes, line 1
1ME(i,(function(t,e){a.push(f),f+=c+p,o.push(Math.min(Math.max(p,s[e][0]),s[e][1]))}))}(t),ME(e,(function(e,n){!function(t,e,n){var i=t.coordinateSystem,r=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],u=r.mapDimension(l[a]),h=r.mapDimensionsAll(l[s]);if(null==u||h.length<5)return;for(var c=0;c<r.count();c++){var p=r.get(u,c),f=_(p,h[2],c),d=_(p,h[0],c),g=_(p,h[1],c),m=_(p,h[3],c),v=_(p,h[4],c),y=[];x(y,g,!1),x(y,m,!0),y.push(d,g,v,m),b(y,d),b(y,v),b(y,f),r.setItemLayout(c,{initBaseline:f[s],ends:y})}function _(t,n,o){var l,u=r.get(n,o),h=[];return h[a]=t,h[s]=u,isNaN(t)||isNaN(u)?l=[NaN,NaN]:(l=i.dataToPoint(h))[a]+=e,l}function x(t,e,n){var i=e.slice(),r=e.slice();i[a]+=o,r[a]-=o,n?t.push(i,r):t.push(r,i)}function b(t,e){var n=e.slice(),i=e.slice();n[a]-=o,i[a]+=o,t.push(n,i)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var CE={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==mc){0,Qp("")}var n=function(t,e){for(var n=[],i=[],r=(e=e||{}).boundIQR,o="none"===r||0===r,a=0;a<t.length;a++){var s=io(t[a].slice()),l=mo(s,.25),u=mo(s,.5),h=mo(s,.75),c=s[0],p=s[s.length-1],f=(null==r?1.5:r)*(h-l),d=o?c:Math.max(c,l-f),g=o?p:Math.min(p,h+f),m=e.itemNameFormatter,v=U(m)?m({value:a}):X(m)?m.replace("{value}",a+""):a+"";n.push([v,d,l,u,h,g]);for(var y=0;y<s.length;y++){var _=s[y];if(_<d||_>g){var x=[v,_];i.push(x)}}}return{boxData:n,outliers:i}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var AE=["itemStyle","borderColor"],IE=["itemStyle","borderColor0"],DE=["itemStyle","borderColorDoji"],kE=["itemStyle","color"],PE=["itemStyle","color0"];function LE(t,e){return e.get(t>0?kE:PE)}function OE(t,e){return e.get(0===t?DE:t>0?AE:IE)}var EE={seriesType:"candlestick",plan:hd(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var n;null!=(n=t.next());){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=LE(r,i),o.stroke=OE(r,i)||o.fill,O(e.ensureUniqueItemVisual(n,"style"),o)}}}}},RE=["color","borderColor"],NE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){hm(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&VE(s,a))return;var l=zE(a,n,!0);_u(l,{shape:{points:a.ends}},t,n),jE(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&VE(s,h)?i.remove(u):(u?(yu(u,{shape:{points:h.ends}},t,a),Mu(u)):u=zE(h,a),jE(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),ZE(t,this.group);var e=t.get("clip",!0)?Hw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,i=e.getData(),r=i.getLayout("isSimpleBox");null!=(n=t.next());){var o=zE(i.getItemLayout(n),n);jE(o,i,n,r),o.incremental=!0,this.group.add(o),this._progressiveEls.push(o)}},e.prototype._incrementalRenderLarge=function(t,e){ZE(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(_m),FE=function(){},BE=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return o(e,t),e.prototype.getDefaultShape=function(){return new FE},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(Rs);function zE(t,e,n){var i=t.ends;return new BE({shape:{points:n?GE(i,t):i},z2:100})}function VE(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function jE(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,hu(t,r);var o=e.getItemLayout(n).sign;B(t.states,(function(t,e){var n=r.getModel(e),i=LE(o,n),a=OE(o,n)||i,s=t.style||(t.style={});i&&(s.fill=i),a&&(s.stroke=a)}));var a=r.getModel("emphasis");au(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function GE(t,e){return z(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var HE=function(){},WE=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return o(e,t),e.prototype.getDefaultShape=function(){return new HE},e.prototype.buildPath=function(t,e){for(var n=e.points,i=0;i<n.length;)if(this.__sign===n[i++]){var r=n[i++];t.moveTo(r,n[i++]),t.lineTo(r,n[i++])}else i+=3},e}(Rs);function ZE(t,e,n,i){var r=t.getData(),o=r.getLayout("largePoints"),a=new WE({shape:{points:o},__sign:1,ignoreCoarsePointer:!0});e.add(a);var s=new WE({shape:{points:o},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var l=new WE({shape:{points:o},__sign:0,ignoreCoarsePointer:!0});e.add(l),UE(1,a,t,r),UE(-1,s,t,r),UE(0,l,t,r),i&&(a.incremental=!0,s.incremental=!0),n&&n.push(a,s)}function UE(t,e,n,i){var r=OE(t,n)||LE(t,n),o=n.getModel("itemStyle").getItemStyle(RE);e.useStyle(o),e.style.fill=null,e.style.stroke=r}var XE=NE,$E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return o(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var i=e.getItemLayout(t);return i&&n.rect(i.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(sd);N($E,dE,!0);var YE=$E;function qE(t){t&&Z(t.series)&&B(t.series,(function(t){q(t)&&"k"===t.type&&(t.type="candlestick")}))}var KE={seriesType:"candlestick",plan:hd(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),i=function(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=eo(it(t.get("barMaxWidth"),r),r),a=eo(it(t.get("barMinWidth"),
vendor: 42,878 bytes, line 1
11),r),s=t.get("barWidth");return null!=s?eo(s,r):Math.max(Math.min(r/2,o),a)}(t,n),r=["x","y"],o=n.getDimensionIndex(n.mapDimension(r[0])),a=z(n.mapDimensionsAll(r[1]),n.getDimensionIndex,n),s=a[0],l=a[1],u=a[2],h=a[3];if(n.setLayout({candleWidth:i,isSimpleBox:i<=1.3}),!(o<0||a.length<4))return{progress:t.pipelineContext.large?function(n,i){var r,a,c=Lw(4*n.count),p=0,f=[],d=[],g=i.getStore(),m=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(a=n.next());){var v=g.get(o,a),y=g.get(s,a),_=g.get(l,a),x=g.get(u,a),b=g.get(h,a);isNaN(v)||isNaN(x)||isNaN(b)?(c[p++]=NaN,p+=3):(c[p++]=JE(g,a,y,_,l,m),f[0]=v,f[1]=x,r=e.dataToPoint(f,null,d),c[p++]=r?r[0]:NaN,c[p++]=r?r[1]:NaN,f[1]=b,r=e.dataToPoint(f,null,d),c[p++]=r?r[1]:NaN)}i.setLayout("largePoints",c)}:function(t,n){var r,a=n.getStore();for(;null!=(r=t.next());){var c=a.get(o,r),p=a.get(s,r),f=a.get(l,r),d=a.get(u,r),g=a.get(h,r),m=Math.min(p,f),v=Math.max(p,f),y=M(m,c),_=M(v,c),x=M(d,c),b=M(g,c),w=[];T(w,_,0),T(w,y,1),w.push(A(b),A(_),A(x),A(y));var S=!!n.getItemModel(r).get(["itemStyle","borderColorDoji"]);n.setItemLayout(r,{sign:JE(a,r,p,f,l,S),initBaseline:p>f?_[1]:y[1],ends:w,brushRect:C(d,g,c)})}function M(t,n){var i=[];return i[0]=n,i[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function T(t,e,n){var r=e.slice(),o=e.slice();r[0]=qg(r[0]+i/2,1,!1),o[0]=qg(o[0]-i/2,1,!0),n?t.push(r,o):t.push(o,r)}function C(t,e,n){var r=M(t,n),o=M(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function A(t){return t[0]=qg(t[0],1),t}}}}};function JE(t,e,n,i,r,o){return n>i?-1:n<i?1:o?0:e>0?t.get(r,e-1)<=i?1:-1:1}var QE=KE;function tR(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var eR=function(t){function e(e,n){var i=t.call(this)||this,r=new ww(e,n),o=new Ur;return i.add(r),i.add(o),i.updateData(e,n),i}return o(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o<i;o++){var a=Dv(e,-1,-1,2,2,n);a.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-o/i*t.period+t.effectOffset;a.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),a.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),r.add(a)}tR(r,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],r=0;r<i.length;r++){var o=i[r];if(e[o]!==t[o])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}tR(n,t)},e.prototype.highlight=function(){Ul(this)},e.prototype.downplay=function(){Xl(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,i=t.hostModel;this.childAt(0).updateData(t,e);var r=this.childAt(1),o=t.getItemModel(e),a=t.getItemVisual(e,"symbol"),s=kv(t.getItemVisual(e,"symbolSize")),l=t.getItemVisual(e,"style"),u=l&&l.fill,h=o.getModel("emphasis");r.setScale(s),r.traverse((function(t){t.setStyle("fill",u)}));var c=Pv(t.getItemVisual(e,"symbolOffset"),s);c&&(r.x=c[0],r.y=c[1]);var p=t.getItemVisual(e,"symbolRotate");r.rotation=(p||0)*Math.PI/180||0;var f={};f.showEffectOn=i.get("showEffectOn"),f.rippleScale=o.get(["rippleEffect","scale"]),f.brushType=o.get(["rippleEffect","brushType"]),f.period=1e3*o.get(["rippleEffect","period"]),f.effectOffset=e/t.count(),f.z=i.getShallow("z")||0,f.zlevel=i.getShallow("zlevel")||0,f.symbolType=a,f.color=u,f.rippleEffectColor=o.get(["rippleEffect","color"]),f.rippleNumber=o.get(["rippleEffect","number"]),"render"===f.showEffectOn?(this._effectCfg?this.updateEffectAnimation(f):this.startEffectAnimation(f),this._effectCfg=f):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==f.showEffectOn&&n.startEffectAnimation(f):"normal"===t&&"render"!==f.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=f,au(this,h.get("focus"),h.get("blurScope"),h.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(Ur),nR=eR,iR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this._symbolDraw=new Aw(nR)},e.prototype.render=function(t,e,n){var i=t.getData(),r=this._symbolDraw;r.updateData(i,{clipShape:this._getClipShape(t)}),this.group.add(r.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var i=t.getData();this.group.dirty();var r=iS("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e,n,i=t.coordinateSystem;i&&i.getRoamTransform&&(this.group.transform=(e=i.getRoamTransform(),ve(n=[1,0,0,1,0,0],e),n),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(_m),rR=iR,oR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(sd),aR=oR;var sR=function(t){function e(e,n,i){var r=t.call(this)||this;return r.add(r.createLine(e,n,i)),r._updateEffectSymbol(e,n),r}return o(e,t),e.prototype.createLine=function(t,e,n){return new SP(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),i=n.get("symbolSize"),r=n.get("symbol");Z(i)||(i=[i,i]);var o=t.getItemVisual(e,"style"),a=n.get("color")||o&&o.stroke,s=this.childAt(1);this._symbolType!==r&&(this.remove(s),(s=Dv(r,-.5,-.5,1,1,a)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",a),s.setStyle(n.getItemStyle(["color"])),s.scaleX=i[0],s.scaleY=i[1],s.setColor(a),this._symbolType=r,this._symbolScale=i,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var i=this.childAt(1);if(i){var r=t.getItemLayout(n),o=1e3*e.get("period"),a=e.get("loop"),s=e.get("roundTrip"),l=e.get("constantSpeed"),u=nt(e.get("delay"),(function(e){return e/t.count()*o/3}));if(i.ignore=!0,this._updateAnimationPoints(i,r),l>0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=U(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return Nt(t.__p1,t.__cp1)+Nt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=Dn,l=kn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*Nt(a,o),1===r&&(o[0]=a[0]+(o[0]-a[0])/2,o[1]=a[1]+(o[1]-a[1])/2)):1===t.__lastT?t.scaleY=2*Nt(e,o):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=o[0],t.y=o[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(Ur),lR=sR,uR=function(t){function e(e,n,i){var r=t.call(this)||this;return r._createPolyline(e,n,i),r}return o(e,t),e.prototype._createPolyline=function(t,e,n){var i=t.getItemLayout(e),r=new lg({shape:{points:i}});this.add(r),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var i=t.hostModel;yu(this.childAt(0),{shape:{points:t.getItemLayout(e)}},i,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var i=this.childAt(0),r=t.getItemModel(e),o=n&&n.emphasisLineStyle,a=n&&n.focus,s=n&&n.blurScope,l=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var u=r.getModel("emphasis");o=u.getModel("lineStyle").getLineStyle(),l=u.get("disabled"),a=u.get("focus"),s=u.get("blurScope")}i.useStyle(t.getItemVisual(e,"style")),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=o,au(this,a,s,l)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(Ur),hR=uR,cR=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return o(e,t),e.prototype.createLine=function(t,e,n){return new hR(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],i=0,r=1;r<e.length;r++){var o=e[r-1],a=e[r];i+=Nt(o,a),n.push(i)}if(0!==i){for(r=0;r<n.length;r++)n[r]/=i;this._offsets=n,this._length=i}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,i=this._offsets,r=n.length;if(i){var o,a=this._lastFrame;if(e<this._lastFramePercent){for(o=Math.min(a+1,r-1);o>=0&&!(i[o]<=e);o--);o=Math.min(o,r-2)}else{for(o=a;o<r&&!(i[o]>e);o++);o=Math.min(o-1,r-2)}var s=(e-i[o])/(i[o+1]-i[o]),l=n[o],u=n[o+1];t.x=l[0]*(1-s)+s*u[0],t.y=l[1]*(1-s)+s*u[1];var h=t.__t<1?u[0]-l[0]:l[0]-u[0],c=t.__t<1?u[1]-l[1]:l[1]-u[1];t.rotation=-Math.atan2(c,h)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(lR),pR=cR,fR=function(){this.polyline=!1,this.curveness=0,this.segs=[]},dR=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return o(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fR},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n<i.length;){var o=i[n++];if(o>0){t.moveTo(i[n++],i[n++]);for(var a=1;a<o;a++)t.lineTo(i[n++],i[n++])}}else for(n=this._off;n<i.length;){var s=i[n++],l=i[n++],u=i[n++],h=i[n++];if(t.moveTo(s,l),r>0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],h=i[s++],c=1;c<l;c++){if(ds(u,h,p=i[s++],f=i[s++],o,t,e))return a}a++}else for(a=0,s=0;s<i.length;){u=i[s++],h=i[s++];var p=i[s++],f=i[s++];if(r>0){if(ms(u,h,(u+p)/2-(h-f)*r,(h+f)/2-(p-u)*r,p,f,o,t,e))return a}else if(ds(u,h,p,f,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return t=n[0],e=n[1],i.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,i=1/0,r=-1/0,o=-1/0,a=0;a<e.length;){var s=e[a++],l=e[a++];n=Math.min(s,n),r=Math.max(s,r),i=Math.min(l,i),o=Math.max(l,o)}t=this._rect=new Ee(n,i,r,o)}return t},e}(Rs),gR=function(){function t(){this.group=new Ur}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],i=e.getLayout("linesPoints"),r=n&&n.shape.segs;if(r&&r.length<2e4){var o=r.length,a=new Float32Array(o+i.length);a.set(r),a.set(i,o),n.setShape({segs:a})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:i}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new dR({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null);var o=fl(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){o.dataIndex=null;var n=t.hoverDataIdx;n>0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),mR={seriesType:"lines",plan:hd(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h<r.end;h++)u+=t.getLineCoordsCount(h);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);var c=0,p=[];for(h=r.start;h<r.end;h++){var f=t.getLineCoords(h,a);n&&(s[c++]=f);for(var d=0;d<f;d++)p=e.dataToPoint(a[d],!1,p),s[c++]=p[0],s[c++]=p[1]}o.setLayout("linesPoints",s)}else for(h=r.start;h<r.end;h++){var g=o.getItemModel(h),m=(f=t.getLineCoords(h,a),[]);if(n)for(var v=0;v<f;v++)m.push(e.dataToPoint(a[v]));else{m[0]=e.dataToPoint(a[0]),m[1]=e.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(h,m)}}}}}},vR=mR,yR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a>0&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&Hw(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData();this._updateLineDraw(i,t).incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=vR.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext.large;return n&&i===this._hasEffet&&r===this._isPolyline&&o===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=o?new gR:new AP(r?i?pR:hR:i?lR:SP),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=o),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(_m),_R=yR,xR="undefined"==typeof Uint32Array?Array:Uint32Array,bR="undefined"==typeof Float64Array?Array:Float64Array;function wR(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=z(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),L([e,t[0],t[1]])})))}var SR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return o(e,t),e.prototype.init=function(e){e.data=e.data||[],wR(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(wR(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=mt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=mt(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;r<i;r++)e[r]=e[r]||[],e[r][0]=this._flatCoords[n+2*r],e[r][1]=this._flatCoords[n+2*r+1];return i}var o=this._getCoordsFromItemModel(t);for(r=0;r<o.length;r++)e[r]=e[r]||[],e[r][0]=o[r][0],e[r][1]=o[r][1];return o.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),Y(t[0])){for(var n=t.length,i=new xR(n),r=new bR(n),o=0,a=0,s=0,l=0;l<n;){s++;var u=t[l++];i[a++]=o+e,i[a++]=u;for(var h=0;h<u;h++){var c=t[l++],p=t[l++];r[o++]=c,r[o++]=p}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new aw(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,i,r){if(t instanceof Array)return NaN;n.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().getItemModel(t),r=i.get("name");if(r)return r;var o=i.get("fromName"),a=i.get("toName"),s=[];return null!=o&&s.push(o),null!=a&&s.push(a),Ff("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!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}},e}(sd),MR=SR;function TR(t){return t instanceof Array||(t=[t,t]),t}var CR={seriesType:"lines",reset:function(t){var e=TR(t.get("symbol")),n=TR(t.get("symbolSize")),i=t.getData();return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?function(t,e){var n=t.getItemModel(e),i=TR(n.getShallow("symbol",!0)),r=TR(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}:null}}};var AR=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=g.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var f=0;f<p;++f){var d=t[f],g=d[0],m=d[1],v=i(d[2]);c.globalAlpha=v,c.drawImage(a,g-u,m-u)}if(!h.width||!h.height)return h;for(var y=c.getImageData(0,0,h.width,h.height),_=y.data,x=0,b=_.length,w=this.minOpacity,S=this.maxOpacity-w;x<b;){v=_[x+3]/256;var M=4*Math.floor(255*v);if(v>0){var T=o(v)?s:l;v>0&&(v=v*S+w),_[x++]=T[M],_[x++]=T[M+1],_[x++]=T[M+2],_[x++]=T[M+3]*v*256}else x+=4}return c.putImageData(y,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=g.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}(),IR=AR;function DR(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var kR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):DR(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(DR(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){hm(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=Ww(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");0,o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var f=this.group,d=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),m=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),y=t.get(["itemStyle","borderRadius"]),_=Du(t),x=t.getModel("emphasis"),b=x.get("focus"),w=x.get("blurScope"),S=x.get("disabled"),M=h?[d.mapDimension("x"),d.mapDimension("y"),d.mapDimension("value")]:[d.mapDimension("time"),d.mapDimension("value")],T=n;T<i;T++){var C=void 0,A=d.getItemVisual(T,"style");if(h){var I=d.get(M[0],T),D=d.get(M[1],T);if(isNaN(d.get(M[2],T))||isNaN(I)||isNaN(D)||I<s[0]||I>s[1]||D<l[0]||D>l[1])continue;var k=u.dataToPoint([I,D]);C=new qs({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:A})}else{if(isNaN(d.get(M[1],T)))continue;C=new qs({z2:1,shape:u.dataToRect([d.get(M[0],T)]).contentShape,style:A})}if(d.hasItemOption){var P=d.getItemModel(T),L=P.getModel("emphasis");g=L.getModel("itemStyle").getItemStyle(),m=P.getModel(["blur","itemStyle"]).getItemStyle(),v=P.getModel(["select","itemStyle"]).getItemStyle(),y=P.get(["itemStyle","borderRadius"]),b=L.get("focus"),w=L.get("blurScope"),S=L.get("disabled"),_=Du(P)}C.shape.r=y;var O=t.getRawValue(T),E="-";O&&null!=O[2]&&(E=O[2]+""),Iu(C,_,{labelFetcher:t,labelDataIndex:T,defaultOpacity:A.opacity,defaultText:E}),C.ensureState("emphasis").style=g,C.ensureState("blur").style=m,C.ensureState("select").style=v,au(C,b,w,S),C.incremental=r,r&&(C.states.emphasis.hoverLayer=!0),f.add(C),d.setItemGraphicEl(T,C),this._progressiveEls&&this._progressiveEls.push(C)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new IR;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),f=Math.min(l.height+l.y,i.getHeight()),d=p-h,g=f-c,m=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(m,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),y=n.getExtent(),_="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(y,n.option.range):function(t,e,n){var i=t[1]-t[0],r=(e=z(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}))).length,o=0;return function(t){var i;for(i=o;i<r;i++)if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}if(i===r)for(i=o-1;i>=0;i--){var a;if((a=e[i].interval)[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i<r&&n[i]}}(y,n.getPieceList(),n.option.selected);s.update(v,d,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},_);var x=new Gs({style:{width:d,height:g,x:h,y:c,image:s.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(_m),PR=kR,LR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getInitialData=function(t,e){return gw(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Yc.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(sd),OR=LR;var ER=["itemStyle","borderWidth"],RR=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],NR=new Od,FR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis().isHorizontal(),l=a.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[l.x,l.x+l.width],[l.y,l.y+l.height]],isHorizontal:s,valueDim:RR[+s],categoryDim:RR[1-+s]};r.diff(o).add((function(t){if(r.hasValue(t)){var e=ZR(r,t),n=BR(r,t,e,u),o=$R(r,u,n);r.setItemGraphicEl(t,o),i.add(o),QR(o,u,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=ZR(r,t),s=BR(r,t,a,u),l=qR(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;yu(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?jR(t,e,n,!0):GR(t,e,n,!0);HR(t,n,!0),WR(t,e,n,!0)}(n,u,s):n=$R(r,u,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),QR(n,u,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&YR(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute();var h=t.get("clip",!0)?Hw(t.coordinateSystem,!1,t):null;return h?i.setClipPath(h):i.removeClipPath(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){YR(i,fl(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(_m);function BR(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,h=n.isAnimationEnabled(),c={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:l,animationModel:h?n:null,hoverScale:h&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),h=1-+(n[a.wh]<=0);if(Z(s)){var c=[zR(l,s[0])-u,zR(l,s[1])-u];c[1]<c[0]&&c.reverse(),o=c[h]}else o=null!=s?zR(l,s)-u:e?i.coordSysExtent[a.index][h]-u:n[a.wh];r.boundingLength=o,e&&(r.repeatCutLength=n[a.wh]);var p="x"===a.xy,f=l.inverse;r.pxSign=p&&!f||!p&&f?o>=0?1:-1:o>0?1:-1}(n,o,r,i,c),function(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,f=Math.abs(n[p.wh]),d=t.getItemVisual(e,"symbolSize");h=Z(d)?d.slice():null==d?["100%","100%"]:[d,d];h[p.index]=eo(h[p.index],f),h[c.index]=eo(h[c.index],i?f:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}(t,e,r,o,0,c.boundingLength,c.pxSign,u,i,c),function(t,e,n,i,r){var o=t.get(ER)||0;o&&(NR.attr({scaleX:e[0],scaleY:e[1],rotation:n}),NR.updateTransform(),o/=NR.getLineScale(),o*=e[i.valueDim.index]);r.valueLineWidth=o||0}(n,c.symbolScale,l,i,c);var p=c.symbolSize,f=Pv(n.get("symbolOffset"),p);return function(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,f=h.valueDim,d=c.pxSign,g=Math.max(e[f.index]+s,0),m=g;if(i){var v=Math.abs(l),y=nt(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var x=eo(y,e[f.index]),b=Math.max(g+2*x,0),w=_?0:2*x,S=_o(i),M=S?i:tN((v+w)/b);b=g+2*(x=(v-M*g)/2/(_?M:Math.max(M-1,1))),w=_?0:2*x,S||"fixed"===i||(M=u?tN((Math.abs(u)+w)/b):0),m=M*b-w,c.repeatTimes=M,c.symbolMargin=x}var T=d*(m/2),C=c.pathPosition=[];C[p.index]=n[p.wh]/2,C[f.index]="start"===a?T:"end"===a?l-T:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var A=c.bundlePosition=[];A[p.index]=n[p.xy],A[f.index]=n[f.xy];var I=c.barRectShape=O({},n);I[f.wh]=d*Math.max(Math.abs(n[f.wh]),Math.abs(C[f.index]+T)),I[p.wh]=n[p.wh];var D=c.clipShape={};D[p.xy]=-n[p.xy],D[p.wh]=h.ecSize[p.wh],D[f.xy]=0,D[f.wh]=n[f.wh]}(n,p,r,o,0,f,s,c.valueLineWidth,c.boundingLength,c.repeatCutLength,i,c),c}function zR(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function VR(t){var e=t.symbolPatternSize,n=Dv(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function jR(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(KR(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h<u?JR(t,null,d(h),n,i):JR(t,null,{scaleX:0,scaleY:0},n,i,(function(){r.remove(t)})),h++}));h<u;h++){var p=VR(n);p.__pictorialAnimationIndex=h,p.__pictorialRepeatTimes=u,r.add(p);var f=d(h);JR(p,{x:f.x,y:f.y,scaleX:0,scaleY:0},{scaleX:f.scaleX,scaleY:f.scaleY,rotation:f.rotation},n,i)}function d(t){var e=s.slice(),i=n.pxSign,r=t;return("start"===n.symbolRepeatDirection?i>0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function GR(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?JR(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=VR(n),r.add(o),JR(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function HR(t,e,n){var i=O({},e.barRectShape),r=t.__pictorialBarRect;r?JR(r,null,{shape:i},e,n):((r=t.__pictorialBarRect=new qs({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(r))}function WR(t,e,n,r){if(n.symbolClip){var o=t.__pictorialClipPath,a=O({},n.clipShape),s=e.valueDim,l=n.animationModel,u=n.dataIndex;if(o)yu(o,{shape:a},l,u);else{a[s.wh]=0,o=new qs({shape:a}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[s.wh]=n.clipShape[s.wh],i[r?"updateProps":"initProps"](o,{shape:h},l,u)}}}function ZR(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=UR,n.isAnimationEnabled=XR,n}function UR(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function XR(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function $R(t,e,n,i){var r=new Ur,o=new Ur;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?jR(r,e,n):GR(r,0,n),HR(r,n,i),WR(r,e,n,i),r.__pictorialShapeStr=qR(t,n),r.__pictorialSymbolMeta=n,r}function YR(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];KR(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),B(o,(function(t){bu(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function qR(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function KR(t,e,n){B(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function JR(t,e,n,r,o,a){e&&t.attr(e),r.symbolClip&&!o?n&&t.attr(n):n&&i[o?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,a)}function QR(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");KR(t,(function(t){if(t instanceof Gs){var e=t.style;t.useStyle(O({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var f=e.valueDim.posDesc[+(n.boundingLength>0)],d=t.__pictorialBarRect;d.ignoreClip=!0,Iu(d,Du(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:yw(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:f}),au(t,h,c,o.get("disabled"))}function tN(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var eN=FR,nN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return o(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=ih(yS.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%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(yS),iN=nN;var rN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return o(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new Rb(this._layersSeries||[],a,h,h),p=[];function f(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],f=[],d=a[n].indices,g=0;g<d.length;g++){var m=i.getItemLayout(d[g]),v=m.x,y=m.y0,_=m.y;c.push(v,y),f.push(v,y+_),u=i.getItemVisual(d[g],"style")}var x=i.getItemLayout(d[0]),b=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var S=p[n]=new Ur;h=new Vw({shape:{points:c,stackedOnPoints:f,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(h),o.add(S),t.isAnimationEnabled()&&h.setClipPath(function(t,e,n){var i=new qs({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return _u(i,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),i}(h.getBoundingRect(),t,(function(){h.removeClipPath()})))}else{S=l[s];h=S.childAt(0),o.add(S),p[n]=S,yu(h,{shape:{points:c,stackedOnPoints:f}},t),Mu(h)}Iu(h,Du(t),{labelDataIndex:d[g-1],defaultText:i.getName(d[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),h.setTextConfig({position:null,local:!0});var M=h.getTextContent();M&&(M.x=x.x-b,M.y=x.y0+x.y/2),h.useStyle(u),i.setItemGraphicEl(n,h),hu(h,t),au(h,w.get("focus"),w.get("blurScope"),w.get("disabled"))}else o.remove(l[n])}c.add(H(f,this,"add")).update(H(f,this,"update")).remove(H(f,this,"remove")).execute(),this._layersSeries=a,this._layers=p},e.type="themeRiver",e}(_m);var oN=rN,aN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new uM(H(this.getData,this),H(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},i=Uo(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),r=[];i.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var o=r.length,a=0;a<o;++a){for(var s=r[a].name,l=0;l<r[a].dataList.length;++l){var u=r[a].dataList[l][0]+"";n[u]=a}for(var u in n)n.hasOwnProperty(u)&&n[u]!==a&&(n[u]=a,t[e]=[u,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",Go).models[0].get("type"),i=j(t.data,(function(t){return void 0!==t[2]})),r=this.fixData(i||[]),o=[],a=this.nameMap=gt(),s=0,l=0;l<r.length;++l)o.push(r[l][2]),a.get(r[l][2])||(a.set(r[l][2],s),s++);var u=sw(r,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Bb(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new aw(u,this);return h.initData(r),h},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],i=0;i<e;++i)n[i]=i;var r=t.mapDimension("single"),o=Uo(n,(function(e){return t.get("name",e)})),a=[];return o.buckets.each((function(e,n){e.sort((function(e,n){return t.get(r,e)-t.get(r,n)})),a.push({name:n,indices:e})})),a},e.prototype.getAxisTooltipData=function(t,e,n){Z(t)||(t=t?[t]:[]);for(var i,r=this.getData(),o=this.getLayerSeries(),a=[],s=o.length,l=0;l<s;++l){for(var u=Number.MAX_VALUE,h=-1,c=o[l].indices.length,p=0;p<c;++p){var f=r.get(t[0],o[l].indices[p]),d=Math.abs(f-e);d<=u&&(i=f,u=d,h=o[l].indices[p])}a.push(h)}return{dataIndices:a,nestestValue:i}},e.prototype.formatTooltip=function(t,e,n){var i=this.getData();return Ff("nameValue",{name:i.getName(t),value:i.get(i.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(sd),sN=aN;function lN(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,i={},r=n.getRect();i.rect=r;var o=t.get("boundaryGap"),a=n.getAxis();(i.boundaryGap=o,"horizontal"===a.orient)?(o[0]=eo(o[0],r.height),o[1]=eo(o[1],r.height),uN(e,t,r.height-o[0]-o[1])):(o[0]=eo(o[0],r.width),o[1]=eo(o[1],r.width),uN(e,t,r.width-o[0]-o[1]));e.setLayout("layoutInfo",i)}))}function uN(t,e,n){if(t.count())for(var i,r=e.coordinateSystem,o=e.getLayerSeries(),a=t.mapDimension("single"),s=t.mapDimension("value"),l=z(o,(function(e){return z(e.indices,(function(e){var n=r.dataToPoint(t.get(a,e));return n[1]=t.get(s,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,i=[],r=[],o=0,a=0;a<n;++a){for(var s=0,l=0;l<e;++l)s+=t[l][a][1];s>o&&(o=s),i.push(s)}for(var u=0;u<n;++u)r[u]=(o-i[u])/2;o=0;for(var h=0;h<n;++h){var c=i[h]+r[h];c>o&&(o=c)}return{y0:r,max:o}}(l),h=u.y0,c=n/u.max,p=o.length,f=o[0].indices.length,d=0;d<f;++d){i=h[d]*c,t.setItemLayout(o[0].indices[d],{layerIndex:0,x:l[0][d][0],y0:i,y:l[0][d][1]*c});for(var g=1;g<p;++g)i+=l[g-1][d][1]*c,t.setItemLayout(o[g].indices[d],{layerIndex:g,x:l[g][d][0],y0:i,y:l[g][d][1]*c})}}var hN=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=2,o.textConfig={inside:!0},fl(o).seriesIndex=n.seriesIndex;var a=new pl({z2:4,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return o(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;fl(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=O({},l);u.label=null;var h=e.getVisual("style");h.lineJoin="bevel";var c=e.getVisual("decal");c&&(h.decal=ay(c,r));var p=CS(a.getModel("itemStyle"),u,!0);O(u,p),B(wl,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=CS(n,u);i&&(e.shape=i)})),t?(o.setShape(u),o.shape.r=l.r0,_u(o,{shape:{r:l.r}},n,e.dataIndex)):(yu(o,{shape:u},n),Mu(o)),o.useStyle(h),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var d=s.get("focus");au(this,"relative"===d?mt(e.getAncestorsIndices(),e.getDescendantIndices()):"ancestor"===d?e.getAncestorsIndices():"descendant"===d?e.getDescendantIndices():d,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,h=u.getTextContent(),c=this.node.dataIndex,p=i.get("minA
1ngle")/180*Math.PI,f=i.get("show")&&!(null!=p&&Math.abs(o)<p);function d(t,e){var n=t.get(e);return null==n?i.get(e):n}h.ignore=!f,B(Sl,(function(i){var p="normal"===i?n.getModel("label"):n.getModel([i,"label"]),f="normal"===i,g=f?h:h.ensureState(i),m=t.getFormattedLabel(c,i);f&&(m=m||e.node.name),g.style=ku(p,{},null,"normal"!==i,!0),m&&(g.style.text=m);var v=p.get("show");null==v||f||(g.ignore=!v);var y,_=d(p,"position"),x=f?u:u.states[i],b=x.style.fill;x.textConfig={outsideFill:"inherit"===p.get("color")?b:null,inside:"outside"!==_};var w=d(p,"distance")||0,S=d(p,"align"),M=d(p,"rotate"),T=.5*Math.PI,C=1.5*Math.PI,A=ys("tangential"===M?Math.PI/2-a:a),I=A>T&&!ho(A-T)&&A<C;"outside"===_?(y=r.r+w,S=I?"right":"left"):S&&"center"!==S?"left"===S?(y=r.r0+w,S=I?"right":"left"):"right"===S&&(y=r.r-w,S=I?"left":"right"):(y=o===2*Math.PI&&0===r.r0?0:(r.r+r.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=d(p,"verticalAlign")||"middle",g.x=y*s+r.cx,g.y=y*l+r.cy;var D=0;"radial"===M?D=ys(-a)+(I?Math.PI:0):"tangential"===M?D=ys(Math.PI/2-a)+(I?Math.PI:0):Y(M)&&(D=M*Math.PI/180),g.rotation=ys(D)})),h.dirtyStyle()},e}(Jd),cN=hN,pN="sunburstRootToNode",fN="sunburstHighlight",dN="sunburstUnhighlight";var gN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){var r=this;this.seriesModel=t,this.api=n,this.ecModel=e;var o=t.getData(),a=o.tree.root,s=t.getViewRoot(),l=this.group,u=t.get("renderLabelForZeroData"),h=[];s.eachNode((function(t){h.push(t)}));var c=this._oldChildren||[];!function(i,r){if(0===i.length&&0===r.length)return;function s(t){return t.getId()}function h(s,h){!function(i,r){u||!i||i.getValue()||(i=null);if(i!==a&&r!==a)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),o.setItemGraphicEl(i.dataIndex,r.piece)):function(t){if(!t)return;t.piece&&(l.remove(t.piece),t.piece=null)}(r);else if(i){var s=new cN(i,t,e,n);l.add(s),o.setItemGraphicEl(i.dataIndex,s)}}(null==s?null:i[s],null==h?null:r[h])}new Rb(r,i,s,s).add(h).update(h).remove(W(h,null)).execute()}(h,c),function(i,o){o.depth>0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new cN(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a)qh(a,o.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:pN,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var i=t[0]-n.cx,r=t[1]-n.cy,o=Math.sqrt(i*i+r*r);return o<=n.r&&o>=n.r0}},e.type="sunburst",e}(_m),mN=gN,vN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return o(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};yN(n);var i=this._levelModels=z(t.levels||[],(function(t){return new th(t,this,e)}),this),r=TD.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}));return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=DD(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){ND(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,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},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}}
vendor: 5,267 bytes, line 1
1,animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(sd);function yN(t){var e=0;B(t.children,(function(t){yN(t);var n=t.value;Z(n)&&(n=n[0]),e+=n}));var n=t.value;Z(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),Z(t.value)?t.value[0]=n:t.value=n}var _N=vN,xN=Math.PI/180;function bN(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");Z(i)||(i=[0,i]),Z(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=eo(e[0],r),l=eo(e[1],o),u=eo(i[0],a/2),h=eo(i[1],a/2),c=-t.get("startAngle")*xN,p=t.get("minAngle")*xN,f=t.getData().tree.root,d=t.getViewRoot(),g=d.depth,m=t.get("sort");null!=m&&wN(d,m);var v=0;B(d.children,(function(t){!isNaN(t.getValue())&&v++}));var y=d.getValue(),_=Math.PI/(y||v)*2,x=d.depth>0,b=d.height-(x?-1:1),w=(h-u)/(b||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),T=S?1:-1,C=function(e,n){if(e){var i=n;if(e!==f){var r=e.getValue(),o=0===y&&M?_:r*_;o<p&&(o=p),i=n+T*o;var h=e.depth-g-(x?-1:1),c=u+w*h,d=u+w*(h+1),m=t.getLevelModel(e);if(m){var v=m.get("r0",!0),b=m.get("r",!0),A=m.get("radius",!0);null!=A&&(v=A[0],b=A[1]),null!=v&&(c=eo(v,a/2)),null!=b&&(d=eo(b,a/2))}e.setLayout({angle:o,startAngle:n,endAngle:i,clockwise:S,cx:s,cy:l,r0:c,r:d})}if(e.children&&e.children.length){var I=0;B(e.children,(function(t){I+=C(t,n+I)}))}return i-n}};if(x){var A=u,I=u+w,D=2*Math.PI;f.setLayout({angle:D,startAngle:c,endAngle:c+D,clockwise:S,cx:s,cy:l,r0:A,r:I})}C(d,c)}))}function wN(t,e){var n=t.children||[];t.children=function(t,e){if(U(e)){var n=z(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),z(n,(function(e){return t[e.index]}))}var i="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n}))}(n,e),n.length&&B(t.children,(function(t){wN(t,e)}))}function SN(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),i=n.tree;i.eachNode((function(r){var o=r.getModel().getModel("itemStyle").getItemStyle();o.fill||(o.fill=function(t,n,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&X(o)&&(o=ni(o,(t.depth-1)/(i-1)*.5)),o}(r,t,i.root.height)),O(n.ensureUniqueItemVisual(r.dataIndex,"style"),o)}))}))}var MN={color:"fill",borderColor:"stroke"},TN={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},CN=Bo(),AN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return gw(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=CN(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(sd),IN=AN;function DN(t,e){return e=e||[0,0],z(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function kN(t,e){return e=e||[0,0],z([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function PN(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function LN(t,e){return e=e||[0,0],z(["Radius","Angle"],(function(n,i){var r=this["get"+n+"Axis"](),o=e[i],a=t[i]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function ON(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||_t(t,"text")))}function EN(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},_t(a,"text")&&(o.text=a.text),_t(a,"rich")&&(o.rich=a.rich),_t(a,"textFill")&&(o.fill=a.textFill),_t(a,"textStroke")&&(o.stroke=a.textStroke),_t(a,"fontFamily")&&(o.fontFamily=a.fontFamily),_t(a,"fontSize")&&(o.fontSize=a.fontSize),_t(a,"fontStyle")&&(o.fontStyle=a.fontStyle),_t(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=_t(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),_t(a,"textPosition")&&(i.position=a.textPosition),_t(a,"textOffset")&&(i.offset=a.textOffset),_t(a,"textRotation")&&(i.rotation=a.textRotation),_t(a,"textDistance")&&(i.distance=a.textDistance)}return RN(o,t),B(o.rich,(function(t){RN(t,t)})),{textConfig:i,textContent:r}}function RN(t,e){e&&(e.font=e.textFont||e.font,_t(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),_t(e,"textAlign")&&(t.align=e.textAlign),_t(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),_t(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),_t(e,"textWidth")&&(t.width=e.textWidth),_t(e,"textHeight")&&(t.height=e.textHeight),_t(e,"textBackgroun
1dColor")&&(t.backgroundColor=e.textBackgroundColor),_t(e,"textPadding")&&(t.padding=e.textPadding),_t(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),_t(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),_t(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),_t(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),_t(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),_t(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),_t(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function NN(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";FN(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,B(e.rich,(function(t){FN(t,t)})),i}function FN(t,e){e&&(_t(e,"fill")&&(t.textFill=e.fill),_t(e,"stroke")&&(t.textStroke=e.fill),_t(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),_t(e,"font")&&(t.font=e.font),_t(e,"fontStyle")&&(t.fontStyle=e.fontStyle),_t(e,"fontWeight")&&(t.fontWeight=e.fontWeight),_t(e,"fontSize")&&(t.fontSize=e.fontSize),_t(e,"fontFamily")&&(t.fontFamily=e.fontFamily),_t(e,"align")&&(t.textAlign=e.align),_t(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),_t(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),_t(e,"width")&&(t.textWidth=e.width),_t(e,"height")&&(t.textHeight=e.height),_t(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),_t(e,"padding")&&(t.textPadding=e.padding),_t(e,"borderColor")&&(t.textBorderColor=e.borderColor),_t(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),_t(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),_t(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),_t(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),_t(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),_t(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),_t(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),_t(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),_t(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),_t(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var BN={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},zN=G(BN),VN=(V(wr,(function(t,e){return t[e]=1,t}),{}),wr.join(", "),["","style","shape","extra"]),jN=Bo();function GN(t,e,n,i,r){var o=t+"Animation",a=mu(t,i,r)||{},s=jN(e).userDuring;return a.duration>0&&(a.during=s?H(YN,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),O(a,n[o]),a}function HN(t,e,n,i){var r=(i=i||{}).dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=jN(t),u=e.style;l.userDuring=e.during;var h={},c={};if(function(t,e,n){for(var i=0;i<zN.length;i++){var r=zN[i],o=BN[r],a=e[r];a&&(n[o[0]]=a[0],n[o[1]]=a[1])}for(i=0;i<wr.length;i++){var s=wr[i];null!=e[s]&&(n[s]=e[s])}}(0,e,c),KN("shape",e,c),KN("extra",e,c),!o&&s&&(function(t,e,n){for(var i=e.transition,r=UN(i)?wr:Co(i||[]),o=0;o<r.length;o++){var a=r[o];if("style"!==a&&"shape"!==a&&"extra"!==a){var s=t[a];0,n[a]=s}}}(t,e,h),qN("shape",t,e,h),qN("extra",t,e,h),function(t,e,n,i){if(!n)return;var r,o=t.style;if(o){var a=n.transition,s=e.transition;if(a&&!UN(a)){var l=Co(a);!r&&(r=i.style={});for(var u=0;u<l.length;u++){var h=o[d=l[u]];r[d]=h}}else if(t.getAnimationStyleProps&&(UN(s)||UN(a)||R(s,"style")>=0)){var c=t.getAnimationStyleProps(),p=c?c.style:null;if(p){!r&&(r=i.style={});var f=G(n);for(u=0;u<f.length;u++){var d;if(p[d=f[u]]){h=o[d];r[d]=h}}}}}}(t,e,u,h)),c.style=u,function(t,e,n){var i=e.style;if(!t.isGroup&&i){if(n){t.useStyle({});for(var r=t.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(t.style)}}t.setStyle(i)}e&&(e.style=null,e&&t.attr(e),e.style=i)}(t,c,a),function(t,e){_t(e,"silent")&&(t.silent=e.silent),_t(e,"ignore")&&(t.ignore=e.ignore),t instanceof La&&_t(e,"invisible")&&(t.invisible=e.invisible);t instanceof Rs&&_t(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(o){var p={};B(VN,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(p[t]=p[t]||{}),O(t?p[t]:p,n.enterFrom))}));var f=GN("enter",t,e,n,r);f.duration>0&&t.animateFrom(p,f)}else!function(t,e,n,i,r){if(r){var o=GN("update",t,e,i,n);o.duration>0&&t.animateFrom(r,o)}}(t,e,r||0,n,h);WN(t,e),u?t.dirty():t.markRedraw()}function WN(t,e){for(var n=jN(t).leaveToProps,i=0;i<VN.length;i++){var r=VN[i],o=r?e[r]:e;o&&o.leaveTo&&(n||(n=jN(t).leaveToProps={}),r&&(n[r]=n[r]||{}),O(r?n[r]:n,o.leaveTo))}}function ZN(t,e,n,i){if(t){var r=t.parent,o=jN(t).leaveToProps;if(o){var a=GN("update",t,e,n,0);a.done=function(){r.remove(t),i&&i()},t.animateTo(o,a)}else r.remove(t),i&&i()}}function UN(t){return"all"===t}var XN={},$N={setTransform:function(t,e){return XN.el[t]=e,this},getTransform:function(t){return XN.el[t]},setShape:function(t,e){var n=XN.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=XN.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=XN.el,i=n.style;return i&&(i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=XN.el.style;if(e)return e[t]},setExtra:function(t,e){return(XN.el.extra||(XN.el.extra={}))[t]=e,this},getExtra:function(t){var e=XN.el.extra;if(e)return e[t]}};function YN(){var t=this,e=t.el;if(e){var n=jN(e).userDuring,i=t.userDuring;n===i?(XN.el=e,i($N)):t.el=t.userDuring=null}}function qN(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),UN(l))O(o,a);else for(var u=Co(l),h=0;h<u.length;h++){var c=a[f=u[h]];o[f]=c}else if(UN(s)||R(s,t)>=0){!o&&(o=i[t]={});var p=G(a);for(h=0;h<p.length;h++){var f;c=a[f=p[h]];JN(r[f],c)&&(o[f]=c)}}}}}function KN(t,e,n){var i=e[t];if(i)for(var r=n[t]={},o=G(i),a=0;a<o.length;a++){var s=o[a];r[s]=Ei(i[s])}}function JN(t,e){return F(t)?t!==e:null!=t&&isFinite(t)}
vendor: 21,130 bytes, line 1
1var QN=Bo(),tF=["percent","easing","shape","style","extra"];function eF(t){t.stopAnimation("keyframe"),t.attr(QN(t))}function nF(t,e,n){if(n.isAnimationEnabled()&&e)if(Z(e))B(e,(function(e){nF(t,e,n)}));else{var i=e.keyframes,r=e.duration;if(n&&null==r){var o=mu("enter",n,0);r=o&&o.duration}if(i&&r){var a=QN(t);B(VN,(function(n){if(!n||t[n]){var o;i.sort((function(t,e){return t.percent-e.percent})),B(i,(function(i){var s=t.animators,l=n?i[n]:i;if(l){var u=G(l);if(n||(u=j(u,(function(t){return R(tF,t)<0}))),u.length){o||((o=t.animate(n,e.loop,!0)).scope="keyframe");for(var h=0;h<s.length;h++)s[h]!==o&&s[h].targetName===o.targetName&&s[h].stopTracks(u);n&&(a[n]=a[n]||{});var c=n?a[n]:a;B(u,(function(e){c[e]=((n?t[n]:t)||{})[e]})),o.whenWithKeys(r*i.percent,l,u,i.easing)}}})),o&&o.delay(e.delay||0).duration(r).start(e.easing)}}))}}}var iF="emphasis",rF="normal",oF="blur",aF="select",sF=[rF,iF,oF,aF],lF={normal:["itemStyle"],emphasis:[iF,"itemStyle"],blur:[oF,"itemStyle"],select:[aF,"itemStyle"]},uF={normal:["label"],emphasis:[iF,"label"],blur:[oF,"label"],select:[aF,"label"]},hF=["x","y"],cF="e\0\0",pF={normal:{},emphasis:{},blur:{},select:{}},fF={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:H(DN,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:H(kN,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:H(PN,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:H(LN,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function dF(t){return t instanceof Rs}function gF(t){return t instanceof La}var mF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){this._progressiveEls=null;var r=this._data,o=t.getData(),a=this.group,s=wF(t,o,e,n);r||a.removeAll(),o.diff(r).add((function(e){MF(n,null,e,s(e,i),t,a,o)})).remove((function(e){var n=r.getItemGraphicEl(e);n&&ZN(n,CN(n).option,t)})).update((function(e,l){var u=r.getItemGraphicEl(l);MF(n,u,e,s(e,i),t,a,o)})).execute();var l=t.get("clip",!0)?Hw(t.coordinateSystem,!1,t):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,i,r){var o=e.getData(),a=wF(e,o,n,i),s=this._progressiveEls=[];function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var u=t.start;u<t.end;u++){var h=MF(null,null,u,a(u,r),e,this.group,o);h&&(h.traverse(l),s.push(h))}},e.prototype.eachRendered=function(t){hm(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,i){var r=e.element;if(null==r||n.name===r)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===r)return!0;return!1},e.type="custom",e}(_m),vF=mF;function yF(t){var e,n=t.type;if("path"===n){var i=t.shape,r=null!=i.width&&null!=i.height?{x:i.x||0,y:i.y||0,width:i.width,height:i.height}:null,o=EF(i);e=Hg(o,null,r,i.layout||"center"),CN(e).customPathData=o}else if("image"===n)e=new Gs({}),CN(e).customImagePath=t.style.image;else if("text"===n)e=new pl({});else if("group"===n)e=new Ur;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var a=Gg(n);if(!a){0,Qp("")}e=new a}return CN(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function _F(t,e,n,i,r,o,a){eF(e);var s=r&&r.normal.cfg;s&&e.setTextConfig(s),i&&null==i.transition&&(i.transition=hF);var l=i&&i.style;if(l){if("text"===e.type){var u=l;_t(u,"textFill")&&(u.fill=u.textFill),_t(u,"textStroke")&&(u.stroke=u.textStroke)}var h=void 0,c=dF(e)?l.decal:null;t&&c&&(c.dirty=!0,h=ay(c,t)),l.__decalPattern=h}gF(e)&&(l&&(h=l.__decalPattern)&&(l.decal=h));HN(e,i,o,{dataIndex:n,isInit:a,clearStyle:!0}),nF(e,i.keyframeAnimation,o)}function xF(t,e,n,i,r){var o=e.isGroup?null:e,a=r&&r[t].cfg;if(o){var s=o.ensureState(t);if(!1===i){var l=o.getState(t);l&&(l.style=null)}else s.style=i||null;a&&(s.textConfig=a),Hl(o)}}function bF(t,e,n){var i=n===rF,r=i?e:IF(e,n),o=r?r.z2:null;null!=o&&((i?t:t.ensureState(n)).z2=o||0)}function wF(t,e,n,i){var r=t.get("renderItem"),o=t.coordinateSystem,a={};o&&(a=o.prepareCustoms?o.prepareCustoms(o):fF[o.type](o));for(var s,l,u=E({getWidth:i.getWidth,getHeight:i.getHeight,getZr:i.getZr,getDevicePixelRatio:i.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,i){0;null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=y(i,rF).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:X(o)?o:"#000"},h=_(i,rF),c=ku(h,null,u,!1,!0);c.text=h.getShallow("show")?it(t.getFormattedLabel(i,rF),yw(e,i)):null;var p=Pu(h,u,!1);return b(n,l),l=NN(l,c,p),n&&x(l,n),l.legacy=!0,l},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var i=e.getDimensionInfo(t);if(!i){var r=e.getDimensionIndex(t);return r>=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o},styleEmphasis:function(n,i){0;null==i&&(i=s);var r=y(i,iF).getItemStyle(),o=_(i,iF),a=ku(o,null,null,!0,!0);a.text=o.getShallow("show")?rt(t.getFormattedLabel(i,iF),t.getFormattedLabel(i,rF),yw(e,i)):null;var l=Pu(o,null,!0);return b(n,r),r=NN(r,a,l),n&&x(r,n),r.legacy=!0,r},visual:function(t,n){if(null==n&&(n=s),_t(MN,t)){var i=e.getItemVisual(n,"style");return i?i[MN[t]]:null}if(_t(TN,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===o.type){return function(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var r=n.getBandWidth(),o=0;o<t.count;o++)e.push(E({bandWidth:r,axisKey:i,stackId:sS+o},t));var a=pS(e),s=[];for(o=0;o<t.count;o++){var l=a[i][sS+o];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}(E({axis:o.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Nu(t,n)}},a.api||{}),h={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:a.coordSys,dataInsideLength:e.count(),encode:SF(t.getData())},c={},p={},f={},d={},g=0;g<sF.length;g++){var m=sF[g];f[m]=t.getModel(lF[m]),d[m]=t.getModel(uF[m])}function v(t){return t===s?l||(l=e.getItemModel(t)):e.getItemModel(t)}function y(t,n){return e.hasItemOption?t===s?c[n]||(c[n]=v(t).getModel(lF[n])):v(t).getModel(lF[n]):f[n]}function _(t,n){return e.hasItemOption?t===s?p[n]||(p[n]=v(t).getModel(uF[n])):v(t).getModel(uF[n]):d[n]}return function(t,n){return s=t,l=null,c={},p={},r&&r(E({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},h),u)};function x(t,e){for(var n in e)_t(e,n)&&(t[n]=e[n])}function b(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function SF(t){var e={};return B(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim;(e[r]=e[r]||[])[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function MF(t,e,n,i,r,o,a){if(i){var s=TF(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&au(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function TF(t,e,n,i,r,o){var a=-1,s=e;e&&CF(e,i,r)&&(a=R(o.childrenRef(),e),e=null);var l,u,h=!e,c=e;c?c.clearStates():(c=yF(i),s&&(l=s,(u=c).copyTransform(l),gF(u)&&gF(l)&&(u.setStyle(l.style),u.z=l.z,u.z2=l.z2,u.zlevel=l.zlevel,u.invisible=l.invisible,u.ignore=l.ignore,dF(u)&&dF(l)&&u.setShape(l.shape)))),!1===i.morph?c.disableMorphing=!0:c.disableMorphing&&(c.disableMorphing=!1),pF.normal.cfg=pF.normal.conOpt=pF.emphasis.cfg=pF.emphasis.conOpt=pF.blur.cfg=pF.blur.conOpt=pF.select.cfg=pF.select.conOpt=null,pF.isLegacy=!1,function(t,e,n,i,r,o){if(t.isGroup)return;AF(n,null,o),AF(n,iF,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var h=t.getTextContent();if(!1===a)h&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},h?h.clearStates():(h=yF(a),t.setTextContent(h)),_F(null,h,e,a,null,i,r);for(var c=a&&a.style,p=0;p<sF.length;p++){var f=sF[p];if(f!==rF){var d=o[f].conOpt;xF(f,h,0,DF(a,d,f),null)}}c?h.dirty():h.markRedraw()}}}(c,n,i,r,h,pF),function(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&CF(a,o,i)&&(a=null),a||(a=yF(o),t.setClipPath(a)),_F(null,a,e,o,null,i,r)}}(c,n,i,r,h),_F(t,c,n,i,pF,r,h),_t(i,"info")&&(CN(c).info=i.info);for(var p=0;p<sF.length;p++){var f=sF[p];if(f!==rF){var d=IF(i,f);xF(f,c,0,DF(i,d,f),pF)}}return function(t,e,n){if(!t.isGroup){var i=t,r=n.currentZ,o=n.currentZLevel;i.z=r,i.zlevel=o;var a=e.z2;null!=a&&(i.z2=a||0);for(var s=0;s<sF.length;s++)bF(i,e,sF[s])}}(c,i,r),"group"===i.type&&function(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=!1===s;if(!a&&!l&&!u)return;if(l)return h={api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e},void new Rb(h.oldChildren,h.newChildren,PF,PF,h).add(LF).update(LF).remove(OF).execute();var h;u&&e.removeAll();for(var c=0;c<a;c++){var p=o[c],f=e.childAt(c);p?(null==p.ignore&&(p.ignore=!1),TF(t,f,n,p,r,e)):f.ignore=!0}for(var d=e.childCount()-1;d>=c;d--){var g=e.childAt(d);kF(e,g,r)}}(t,c,n,i,r),a>=0?o.replaceAt(c,a):o.add(c),c}function CF(t,e,n){var i,r=CN(t),o=e.type,a=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&((i=a)&&(_t(i,"pathData")||_t(i,"d")))&&EF(a)!==r.customPathData||"image"===o&&_t(s,"image")&&s.image!==r.customImagePath}function AF(t,e,n){var i=e?IF(t,e):t,r=e?DF(t,i,iF):t.style,o=t.type,a=i?i.textConfig:null,s=t.textContent,l=s?e?IF(s,e):s:null;if(r&&(n.isLegacy||ON(r,o,!!a,!!l))){n.isLegacy=!0;var u=EN(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function IF(t,e){return e?t?t[e]:null:t}function DF(t,e,n){var i=e&&e.style;return null==i&&n===iF&&t&&(i=t.styleEmphasis),i}function kF(t,e,n){e&&ZN(e,CN(t).option,n)}function PF(t,e){var n=t&&t.name;return null!=n?n:cF+e}function LF(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;TF(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function OF(t){var e=this.context,n=e.oldChildren[t];n&&ZN(n,CN(n).option,e.seriesModel)}function EF(t){return t&&(t.pathData||t.d)}var RF=Bo(),NF=k,FF=H,BF=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=W(zF,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new Ur,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);HF(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=vC(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,r){var o=e.pointer;if(o){var a=RF(t).pointerEl=new i[o.type](NF(e.pointer));t.add(a)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=RF(t).labelEl=new pl(NF(e.label));t.add(r),jF(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=RF(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=RF(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),jF(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=rm(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ce(t.event)},onmousedown:FF(this._onHandleDragMove,this,0,0),drift:FF(this._onHandleDragMove,this),ondragend:FF(this._onHandleDragEnd,this)}),i.add(r)),HF(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");Z(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,Mm(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){zF(this._axisPointerModel,!e&&this._moveAnimation,this._handle,GF(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(GF(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(GF(i)),RF(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),Tm(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function zF(t,e,n,i){VF(RF(n).lastProp,i)||(RF(n).lastProp=i,e?yu(n,i,t):(n.stopAnimation(),n.attr(i)))}function VF(t,e){if(q(t)&&q(e)){var n=!0;return B(e,(function(e,i){n=n&&VF(t[i],e)})),!!n}return t===e}function jF(t,e){t[e.get(["label","show"])?"show":"hide"]()}function GF(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function HF(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var WF=BF;function ZF(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function UF(t,e,n,i,r){var o=XF(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),a=n.getModel("label"),s=Wh(a.get("padding")||0),l=a.getFont(),u=Ir(o,l),h=r.position,c=u.width+s[1]+s[3],p=u.height+s[0]+s[2],f=r.align;"right"===f&&(h[0]-=c),"center"===f&&(h[0]-=c/2);var d=r.verticalAlign;"bottom"===d&&(h[1]-=p),"middle"===d&&(h[1]-=p/2),function(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(h,c,p,i);var g=a.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:h[0],y:h[1],style:ku(a,{text:o,font:l,fill:a.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function XF(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:TT(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};B(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),X(a)?o=a.replace("{value}",o):U(a)&&(o=a(s))}return o}function $F(t,e,n){var i=[1,0,0,1,0,0];return xe(i,i,n.rotation),_e(i,i,n.position),Jg([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function YF(t,e,n,i,r,o){var a=dC.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),UF(e,i,r,o,{position:$F(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function qF(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function KF(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function JF(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var QF=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=tB(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=ZF(i),c=eB[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}YF(e,t,KT(a.model,n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=KT(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=$F(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=tB(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(WF);function tB(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var eB={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:qF([e,n[0]],[e,n[1]],nB(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:KF([e-i/2,n[0]],[i,r],nB(t))}}};function nB(t){return"x"===t.dim?0:1}var iB=QF,rB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},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}},e}(hc),oB=rB,aB=Bo(),sB=B;function lB(t,e,n){if(!l.node){var i=e.getZr();aB(i).records||(aB(i).records={}),function(t,e){if(aB(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}(e);sB(aB(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(r.pendings,e)}))}aB(t).initialized=!0,n("click",W(hB,"click")),n("mousemove",W(hB,"mousemove")),n("globalout",uB)}(i,e),(aB(i).records[t]||(aB(i).records[t]={})).handler=n}}function uB(t,e,n){t.handler("leave",null,n)}function hB(t,e,n,i){e.handler(t,n,i)}function cB(t,e){if(!l.node){var n=e.getZr();(aB(n).records||{})[t]&&(aB(n).records[t]=null)}}var pB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";lB("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>
vendor: 4,203 bytes, line 1
1=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){cB("axisPointer",e)},e.prototype.dispose=function(t,e){cB("axisPointer",e)},e.type="axisPointer",e}(ud),fB=pB;function dB(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=Fo(o,t);if(null==a||a<0||Z(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u).dim,c=u.dim,p="x"===h||"radius"===h?1:0,f=o.mapDimension(c),d=[];d[p]=o.get(f,a),d[1-p]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(d)||[]}else i=l.dataToPoint(o.getValues(z(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),i=[g.x+g.width/2,g.y+g.height/2]}return{point:i,el:s}}var gB=Bo();function mB(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||H(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){bB(r)&&(r=dB({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=bB(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||bB(r),p={},f={},d={list:[],map:{}},g={showPointer:W(yB,f),showTooltip:W(_B,d)};B(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);B(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&vB(t,a,g,!1,p)}}))}));var m={};return B(h,(function(t,e){var n=t.linkGroup;n&&!f[e]&&B(n.axesInfo,(function(e,i){var r=f[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,xB(e),xB(t)))),m[t.key]=o}}))})),B(m,(function(t,e){vB(h[e],t,g,!0,p)})),function(t,e,n){var i=n.axesInfo=[];B(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}(f,h,p),function(t,e,n,i){if(bB(e)||!t.list.length)return void i({type:"hideTip"});var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}(d,r,t,a),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=gB(i)[r]||{},a=gB(i)[r]={};B(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&B(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];B(o,(function(t,e){!a[e]&&l.push(t)})),B(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(h,0,n),p}}function vB(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=function(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return B(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(!(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var f=t-u,d=Math.abs(f);d<=a&&((d<a||f>=0&&s<0)&&(a=d,s=f,r=u,o.length=0),B(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&O(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function yB(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function _B(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;
vendor: 12,656 bytes, line 1
1if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=_C(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function xB(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function bB(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function wB(t){wC.registerAxisPointerClass("CartesianAxisPointer",iB),t.registerComponentModel(oB),t.registerComponentView(fB),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!Z(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=gC(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},mB)}var SB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o).getExtent(),l=o.dataToCoord(e),u=i.get("type");if(u&&"none"!==u){var h=ZF(i),c=MB[u](o,a,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=function(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=[1,0,0,1,0,0];xe(p,p,s),_e(p,p,[i.cx,i.cy]),l=Jg([a,-r],p);var f=e.getModel("axisLabel").get("rotate")||0,d=dC.innerTextLayout(s,f*Math.PI/180,-1);u=d.textAlign,h=d.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var m=i.cx,v=i.cy;u=Math.abs(l[0]-m)/g<.3?"center":l[0]>m?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}(e,n,0,a,i.get(["label","margin"]));UF(t,n,i,r,p)},e}(WF);var MB={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:qF(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:JF(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:JF(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},TB=SB,CB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(hc),AB=CB,IB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Go).models[0]},e.type="polarAxis",e}(hc);N(IB,SM);var DB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="angleAxis",e}(IB),kB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="radiusAxis",e}(IB),PB=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}($T);PB.prototype.dataToRadius=$T.prototype.dataToCoord,PB.prototype.radiusToData=$T.prototype.coordToData;var LB=PB,OB=Bo(),EB=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return o(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=Ir(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7)/s;isNaN(u)&&(u=1/0);var h=Math.max(0,Math.floor(u)),c=OB(t.model),p=c.lastAutoInterval,f=c.lastTickCount;return null!=p&&null!=f&&Math.abs(p-h)<=1&&Math.abs(f-r)<=1&&p>h?h=p:(c.lastTickCount=r,c.lastAutoInterval=h),h},e}($T);EB.prototype.dataToAngle=$T.prototype.dataToCoord,EB.prototype.angleToData=$T.prototype.coordToData;var RB=EB,NB=["radius","angle"],FB=function(){function t(t){this.dimensions=NB,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new LB,this._angleAxis=new RB,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var l=Math.atan2(-n,e)/Math.PI*180,u=l<o?1:-1;l<o||l>a;)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),i=Math.PI/180,r=1e-4;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*i,endAngle:-n[1]*i,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,o=n*n+i*i,a=this.r,s=this.r0;return a!==s&&o-r<=a*a&&o+r>=s*s}}},t.prototype.convertToPixel=function(t,e,n){return BB(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return BB(e)===this?this.pointToData(n):null},t}();function BB(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var zB=FB;function VB(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();B(DT(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),B(DT(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),wT(i.scale,i.model),wT(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function jB(t,e){var n;if(t.type=e.get("type"),t.scale=ST(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var GB={dimensions:NB,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new zB(i+"");r.update=VB;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");jB(o,s),jB(a,l),function(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=eo(i[0],r),t.cy=eo(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:Z(l)||(l=[0,l]);var u=[eo(l[0],s),eo(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Go).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}},HB=GB,WB=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function ZB(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function UB(t){return t.getRadiusAxis().inverse?0:1}function XB(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var $B=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=z(n.getViewLabels(),(function(t){t=k(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));XB(s),XB(o),B(WB,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||YB[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(wC),YB={axisLine:function(t,e,n,r,o,a){var s,l=e.getModel(["axisLine","lineStyle"]),u=n.getAngleAxis(),h=Math.PI/180,c=u.getExtent(),p=UB(n),f=p?0:1,d=360===Math.abs(c[1]-c[0])?"Circle":"Arc";(s=0===a[f]?new i[d]({shape:{cx:n.cx,cy:n.cy,r:a[p],startAngle:-c[0]*h,endAngle:-c[1]*h,clockwise:u.inverse},style:l.getLineStyle(),z2:1,silent:!0}):new eg({shape:{cx:n.cx,cy:n.cy,r:a[p],r0:a[f]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(s)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[UB(n)],u=z(i,(function(t){return new pg({shape:ZB(n,[l,l+s],t.coord)})}));t.add(Ug(u,{style:E(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[UB(n)],h=[],c=0;c<r.length;c++)for(var p=0;p<r[c].length;p++)h.push(new pg({shape:ZB(n,[u,u+l],r[c][p].coord)}));t.add(Ug(h,{style:E(s.getModel("lineStyle").getLineStyle(),E(a.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,i,r,o,a){var s=e.getCategories(!0),l=e.getModel("axisLabel"),u=l.get("margin"),h=e.get("triggerEvent");B(a,(function(i,r){var a=l,c=i.tickValue,p=o[UB(n)],f=n.coordToPoint([p+u,i.coord]),d=n.cx,g=n.cy,m=Math.abs(f[0]-d)/p<.3?"center":f[0]>d?"left":"right",v=Math.abs(f[1]-g)/p<.3?"middle":f[1]>g?"top":"bottom";if(s&&s[c]){var y=s[c];q(y)&&y.textStyle&&(a=new th(y.textStyle,l,l.ecModel))}var _=new pl({silent:dC.isLabelSilent(e),style:ku(a,{x:f[0],y:f[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:m,verticalAlign:v})});if(t.add(_),h){var x=dC.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=i.rawLabel,fl(_).eventData=x}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine").getModel("lineStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=0;h<i.length;h++){var c=l++%s.length;u[c]=u[c]||[],u[c].push(new pg({shape:ZB(n,o,i[h].coord)}))}for(h=0;h<u.length;h++)t.add(Ug(u[h],{style:E({stroke:s[h%s.length]},a.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],l=0;l<r.length;l++)for(var u=0;u<r[l].length;u++)s.push(new pg({shape:ZB(n,o,r[l][u].coord)}));t.add(Ug(s,{style:a.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,i,r,o){if(i.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=Math.PI/180,c=-i[0].coord*h,p=Math.min(o[0],o[1]),f=Math.max(o[0],o[1]),d=e.get("
1clockwise"),g=1,m=i.length;g<=m;g++){var v=g===m?i[0].coord:i[g].coord,y=l++%s.length;u[y]=u[y]||[],u[y].push(new Jd({shape:{cx:n.cx,cy:n.cy,r0:p,r:f,startAngle:c,endAngle:-v*h,clockwise:d},silent:!0})),c=-v*h}for(g=0;g<u.length;g++)t.add(Ug(u[g],{style:E({fill:s[g%s.length]},a.getAreaStyle()),silent:!0}))}}},qB=$B,KB=["axisLine","axisTickLabel","axisName"],JB=["splitLine","splitArea","minorSplitLine"],QB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return o(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,i=this._axisGroup=new Ur;this.group.add(i);var r=t.axis,o=r.polar,a=o.getAngleAxis(),s=r.getTicksCoords(),l=r.getMinorTicksCoords(),u=a.getExtent()[0],h=r.getExtent(),c=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(o,t,u),p=new dC(t,c);B(KB,p.add,p),i.add(p.getGroup()),em(n,i,t),B(JB,(function(e){t.get([e,"show"])&&!r.scale.isBlank()&&tz[e](this.group,t,o,u,h,s,l)}),this)}},e.type="radiusAxis",e}(wC),tz={splitLine:function(t,e,n,r,o,a){var s=e.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0,h=n.getAngleAxis(),c=Math.PI/180,p=h.getExtent(),f=360===Math.abs(p[1]-p[0])?"Circle":"Arc";l=l instanceof Array?l:[l];for(var d=[],g=0;g<a.length;g++){var m=u++%l.length;d[m]=d[m]||[],d[m].push(new i[f]({shape:{cx:n.cx,cy:n.cy,r:Math.max(a[g].coord,0),startAngle:-p[0]*c,endAngle:-p[1]*c,clockwise:h.inverse}}))}for(g=0;g<d.length;g++)t.add(Ug(d[g],{style:E({stroke:l[g%l.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,i,r,o,a){if(a.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var h=0;h<a[u].length;h++)l.push(new Od({shape:{cx:n.cx,cy:n.cy,r:a[u][h].coord}}));t.add(Ug(l,{style:E({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,i,r,o){if(o.length){var a=e.getModel("splitArea").getModel("areaStyle"),s=a.get("color"),l=0;s=s instanceof Array?s:[s];for(var u=[],h=o[0].coord,c=1;c<o.length;c++){var p=l++%s.length;u[p]=u[p]||[],u[p].push(new Jd({shape:{cx:n.cx,cy:n.cy,r0:h,r:o[c].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),h=o[c].coord}for(c=0;c<u.length;c++)t.add(Ug(u[c],{style:E({fill:s[c%s.length]},a.getAreaStyle()),silent:!0}))}}};var ez=QB;function nz(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function iz(t,e){return e.dim+t.model.componentIndex}var rz=function(t,e,n){var i={},r=function(t){var e={};B(t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=iz(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=u.stacks;e[a]=u;var c=nz(t);h[c]||u.autoWidthCount++,h[c]=h[c]||{width:0,maxWidth:0};var p=eo(t.get("barWidth"),l),f=eo(t.get("barMaxWidth"),l),d=t.get("barGap"),g=t.get("barCategoryGap");p&&!h[c].width&&(p=Math.min(u.remainedWidth,p),h[c].width=p,u.remainedWidth-=p),f&&(h[c].maxWidth=f),null!=d&&(u.gap=d),null!=g&&(u.categoryGap=g)}));var n={};return B(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=eo(t.categoryGap,r),a=eo(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),B(i,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,l--)})),u=(s-o)/(l+(l-1)*a),u=Math.max(u,0);var h,c=0;B(i,(function(t,e){t.width||(t.width=u),h=t,c+=t.width*(1+a)})),h&&(c-=h.width*a);var p=-c/2;B(i,(function(t,i){n[e][i]=n[e][i]||{offset:p,width:t.width},p+=t.width*(1+a)}))})),n}(j(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,o=n.getBaseAxis(),a=iz(n,o),s=nz(t),l=r[a][s],u=l.offset,h=l.width,c=n.getOtherAxis(o),p=t.coordinateSystem.cx,f=t.coordinateSystem.cy,d=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;i[s]=i[s]||[];for(var m=e.mapDimension(c.dim),v=e.mapDimension(o.dim),y=fw(e,m),_="radius"!==o.dim||!t.get("roundCap",!0),x=c.model.get("startValue"),b=c.dataToCoord(x||0),w=0,S=e.count();w<S;
vendor: 39,274 bytes, line 1
1w++){var M=e.get(m,w),T=e.get(v,w),C=M>=0?"p":"n",A=b;y&&(i[s][T]||(i[s][T]={p:b,n:b}),A=i[s][T][C]);var I=void 0,D=void 0,k=void 0,P=void 0;if("radius"===c.dim){var L=c.dataToCoord(M)-b,O=o.dataToCoord(T);Math.abs(L)<d&&(L=(L<0?-1:1)*d),I=A,D=A+L,P=(k=O-u)-h,y&&(i[s][T][C]=D)}else{var E=c.dataToCoord(M,_)-b,R=o.dataToCoord(T);Math.abs(E)<g&&(E=(E<0?-1:1)*g),D=(I=R+u)+h,k=A,P=A+E,y&&(i[s][T][C]=P)}e.setItemLayout(w,{cx:p,cy:f,r0:I,r:D,startAngle:-k*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:k>=P})}}}))},oz={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},az={splitNumber:5},sz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="polar",e}(ud);function lz(t,e){e=e||{};var n=t.coordinateSystem,i=t.axis,r={},o=i.position,a=i.orient,s=n.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};r.position=["vertical"===a?u.vertical[o]:l[0],"horizontal"===a?u.horizontal[o]:l[3]];r.rotation=Math.PI/2*{horizontal:0,vertical:1}[a];r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),nt(e.labelInside,t.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var h=e.rotate;return null==h&&(h=t.get(["axisLabel","rotate"])),r.labelRotation="top"===o?-h:h,r.z2=1,r}var uz=["axisLine","axisTickLabel","axisName"],hz=["splitArea","splitLine"],cz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return o(e,t),e.prototype.render=function(e,n,i,r){var o=this.group;o.removeAll();var a=this._axisGroup;this._axisGroup=new Ur;var s=lz(e),l=new dC(e,s);B(uz,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),B(hz,(function(t){e.get([t,"show"])&&pz[t](this,this.group,this._axisGroup,e)}),this),em(a,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)},e.prototype.remove=function(){TC(this)},e.type="singleAxis",e}(wC),pz={splitLine:function(t,e,n,i){var r=i.axis;if(!r.scale.isBlank()){var o=i.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=s instanceof Array?s:[s];for(var l=a.get("width"),u=i.coordinateSystem.getRect(),h=r.isHorizontal(),c=[],p=0,f=r.getTicksCoords({tickModel:o}),d=[],g=[],m=0;m<f.length;++m){var v=r.toGlobalCoord(f[m].coord);h?(d[0]=v,d[1]=u.y,g[0]=v,g[1]=u.y+u.height):(d[0]=u.x,d[1]=v,g[0]=u.x+u.width,g[1]=v);var y=new pg({shape:{x1:d[0],y1:d[1],x2:g[0],y2:g[1]},silent:!0});$g(y.shape,l);var _=p++%s.length;c[_]=c[_]||[],c[_].push(y)}var x=a.getLineStyle(["color"]);for(m=0;m<c.length;++m)e.add(Ug(c[m],{style:E({stroke:s[m%s.length]},x),silent:!0}))}},splitArea:function(t,e,n,i){MC(t,n,i,i)}},fz=cz,dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={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}}},e}(hc);N(dz,SM.prototype);var gz=dz,mz=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.position=o||"bottom",a}return o(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}($T),vz=mz,yz=["single"],_z=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=yz,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=this.dimension,r=new vz(i,ST(t),[0,0],t.get("type"),t.get("position")),o="category"===r.type;r.onBand=o&&t.get("boundaryGap"),r.inverse=t.get("inverse"),r.orient=t.get("orient"),t.axis=r,r.model=t,r.coordinateSystem=this,this._axis=r},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();B(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),wT(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=nc({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),i=n?[0,t.width]:[0,t.height],r=e.inverse?1:0;e.setExtent(i[r],i[1-r]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),i=n[0]+n[1],r=t.isHorizontal();t.toGlobalCoord=r?function(t){return t+e}:function(t){return i-t+e},t.toLocalCoord=r?function(t){return t-e}:function(t){return i-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){return xz(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return xz(e)===this?this.pointToData(n):null},t}();function xz(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var bz=_z;var wz={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new bz(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Go).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:yz},Sz=["x","y"],Mz=["width","height"],Tz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=Iz(a,1-Az(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=ZF(i),c=Cz[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}YF(e,t,lz(n),n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=lz(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=$F(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=Az(r),s=Iz(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=Iz(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(WF),Cz={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:qF([e,n[0]],[e,n[1]],Az(t))}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:KF([e-i/2,n[0]],[i,r],Az(t))}}};function Az(t){return t.isHorizontal()?0:1}function Iz(t,e){var n=t.getRect();return[n[Sz[e]],n[Sz[e]]+n[Mz[e]]]}var Dz=Tz,kz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="single",e}(ud);var Pz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(e,n,i){var r=ac(e);t.prototype.init.apply(this,arguments),Lz(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),Lz(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={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%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(hc);function Lz(t,e){var n,i=t.cellSize;1===(n=Z(i)?i:t.cellSize=[i,i]).length&&(n[1]=n[0]);var r=z([0,1],(function(t){return function(t,e){return null!=t[Qh[e][0]]||null!=t[Qh[e][1]]&&null!=t[Qh[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));oc(t,e,{type:"box",ignoreSize:r})}var Oz=Pz,Ez=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new qs({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new lg({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return X(t)&&t?(n=t,B(e,(function(t,e){n=n.replace("{"+e+"}",i?ne(t):t)})),n):U(t)?t(e):e.nameMap;var n,i},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var f=r.get("formatter"),d={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(f,d),m=new pl({z2:30,style:ku(r,{text:g}),silent:r.get("silent")});m.attr(this._yearTextPositionControl(m,c[a],n,a,o)),i.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!X(o)||(o&&(e=ch(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,f=r.get("silent"),d=0;d<u[h].length-1;d++){var g=u[h][d].slice(),m=this._firstDayOfMonth[d];if(p){var v=this._firstDayPoints[d];g[c]=(v[c]+u[0][d+1][c])/2}var y=r.get("formatter"),_=o[+m.m-1],x={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:_},b=this._formatterLabel(y,x),w=new pl({z2:30,style:O(ku(r,{text:b}),this._monthTextPositionControl(g,p,n,s,a)),silent:f});i.add(w)}}},e.prototype._weekTextPositionControl=function(t,e,n,i,r){var o="center",a="middle",s=t[0],l=t[1],u="start"===n;return"horizontal"===e?(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,align:o,verticalAlign:a}},e.prototype._renderWeekText=function(t,e,n,i,r){var o=t.getModel("dayLabel");if(o.get("show")){var a=t.coordinateSystem,s=o.get("position"),l=o.get("nameMap"),u=o.get("margin"),h=a.getFirstDayOfWeek();if(!l||X(l))l&&(e=ch(l)||e),l=e.get(["time","dayOfWeekShort"])||z(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}));var c=a.getNextNDay(n.end.time,7-n.lweek).time,p=[a.getCellWidth(),a.getCellHeight()];u=eo(u,Math.min(p[1],p[0])),"start"===s&&(c=a.getNextNDay(n.start.time,-(7+n.fweek)).time,u=-u);for(var f=o.get("silent"),d=0;d<7;d++){var g,m=a.getNextNDay(c,d),v=a.dataToRect([m.time],!1).center;g=Math.abs((d+h)%7);var y=new pl({z2:30,style:O(ku(o,{text:l[g]}),this._weekTextPositionControl(v,i,s,u,p)),silent:f});r.add(y)}}},e.type="calendar",e}(ud),Rz=Ez,Nz=864e5,Fz=function(){function t(e,n,i){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=po(t)).getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,r=t.getDate(),o=r<10?"0"+r:""+r,a=t.getDay();return{y:e+"",m:i,d:o,day:a=Math.abs((a+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+i+"-"+o,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],r=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),a="horizontal"===this._orient?[n,7]:[7,n];B([0,1],(function(t){u(r,t)&&(o[i[t]]=r[t]*a[t])}));var s={width:e.getWidth(),height:e.getHeight()},l=this._rect=nc(o,s);function u(t,e){return null!=t[e]&&"auto"!==t[e]}B([0,1],(function(t){u(r,t)||(r[t]=l[i[t]]/a[t])})),this._sw=r[0],this._sh=r[1]},t.prototype.dataToPoint=function(t,e){Z(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo,r=n.formatedDate;if(e&&!(n.time>=i.start.time&&n.time<i.end.time+Nz))return[NaN,NaN];var o=n.day,a=this._getRangeInfo([i.start.time,r]).nthWeek;return"vertical"===this._orient?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]:[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);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]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,i):this._getDateByWeeksAndDay(e,n-1,i)},t.prototype.convertToPixel=function(t,e,n){var i=Bz(e);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=Bz(e);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(t){return!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(Z(e)&&1===e.length&&(e=e[0]),Z(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),r=i.date;r.setMonth(r.getMonth()+1);var o=this.getNextNDay(r,-1);t=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var a=this._getRangeInfo(t);return a.start.time>a.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/Nz)-Math.floor(n[0].time/Nz)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a)for(var l=r.getTime()-n[1].time>0?1:-1;(s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0;)i-=l,r.setDate(s-l);var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&e<i.fweek||t===i.weeks&&e>i.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function Bz(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var zz=Fz;function Vz(t,e){var n;return B(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var jz=["transition","enterFrom","leaveTo"],Gz=jz.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Hz(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?jz:Gz,r=0;r<i.length;r++){var o=i[r];null==t[o]&&null!=e[o]&&(t[o]=e[o])}}var Wz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return o(e,t),e.prototype.mergeOption=function(e,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=i},e.prototype.optionUpdated=function(t,e){var n=this.option,i=(e?n:t).elements,r=n.elements=e?[]:n.elements,o=[];this._flatten(i,o,null);var a=Po(r,o,"normalMerge"),s=this._elOptionsToUpdate=[];B(a,(function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var i=O({},n),r=t[e],o=n.$action||"merge";"merge"===o?r?(P(r,i,!0),oc(r,i,{ignoreSize:!0}),sc(n,r),Hz(n,r),Hz(n,r,"shape"),Hz(n,r,"style"),Hz(n,r,"extra"),n.clipPath=r.clipPath):t[e]=i:"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}(r,e,n),function(t,e){if(t&&(t.hv=e.hv=[Vz(e,["left","right"]),Vz(e,["top","bottom"])],"group"===t.type)){var n=t,i=e;null==n.width&&(n.width=i.width=0),null==n.height&&(n.height=i.height=0)}}(r[e],n))}),this),n.elements=j(r,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){B(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var i=t.children;i&&i.length&&this._flatten(i,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(hc),Zz={path:null,compoundPath:null,group:Ur,image:Gs,text:pl},Uz=Bo(),Xz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this._elMap=gt()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,i=this.group,r=t.get("z"),o=t.get("zlevel");B(e,(function(e){var a=Eo(e.id,null),s=null!=a?n.get(a):null,l=Eo(e.parentId,null),u=null!=l?n.get(l):i,h=e.type,c=e.style;"text"===h&&c&&e.hv&&e.hv[1]&&(c.textVerticalAlign=c.textBaseline=c.verticalAlign=c.align=null);var p=e.textContent,f=e.textConfig;if(c&&ON(c,h,!!f,!!p)){var d=EN(c,h,!0);!f&&d.textConfig&&(f=e.textConfig=d.textConfig),!p&&d.textContent&&(p=d.textContent)}var g=function(t){return t=O({},t),B(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(Jh),(function(e){delete t[e]})),t}(e);var m=e.$action||"merge",v="merge"===m,y="replace"===m;if(v){var _=s;(C=!s)?_=Yz(a,u,e.type,n):(_&&(Uz(_).isNew=!1),eF(_)),_&&(HN(_,g,t,{isInit:C}),Kz(_,e,r,o))}else if(y){qz(s,e,n,t);var x=Yz(a,u,e.type,n);x&&(HN(x,g,t,{isInit:!0}),Kz(x,e,r,o))}else"remove"===m&&(WN(s,e),qz(s,e,n,t));var b=n.get(a);if(b&&p)if(v){var w=b.getTextContent();w?w.attr(p):b.setTextContent(new pl(p))}else y&&b.setTextContent(new pl(p));if(b){var S=e.clipPath;if(S){var M=S.type,T=void 0,C=!1;if(v){var A=b.getClipPath();T=(C=!A||Uz(A).type!==M)?$z(M):A}else y&&(C=!0,T=$z(M));b.setClipPath(T),HN(T,S,t,{isInit:C}),nF(T,S.keyframeAnimation,t)}var I=Uz(b);b.setTextConfig(f),I.option=e,function(t,e,n){var i=fl(t).eventData;t.silent||t.ignore||i||(i=fl(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});i&&(i.info=n.info)}(b,t,e),lm({el:b,componentModel:t,itemName:b.name,itemTooltipOption:e.tooltip}),nF(b,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,i=this.group,r=this._elMap,o=e.getWidth(),a=e.getHeight(),s=["x","y"],l=0;l<n.length;l++){if((d=null!=(f=Eo((p=n[l]).id,null))?r.get(f):null)&&d.isGroup){var u=(g=d.parent)===i,h=Uz(d),c=Uz(g);h.width=eo(h.option.width,u?o:c.width)||0,h.height=eo(h.option.height,u?a:c.height)||0}}for(l=n.length-1;l>=0;l--){var p,f,d;if(d=null!=(f=Eo((p=n[l]).id,null))?r.get(f):null){var g=d.parent,m=(c=Uz(g),{}),v=ic(d,p,g===i?{width:o,height:a}:{width:c.width,height:c.height},null,{hv:p.hv,boundingMode:p.bounding},m);if(!Uz(d).isNew&&v){for(var y=p.transition,_={},x=0;x<s.length;x++){var b=s[x],w=m[b];y&&(UN(y)||R(y,b)>=0)?_[b]=w:d[b]=w}yu(d,_,t,0)}else d.attr(m)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){qz(n,Uz(n).option,e,t._lastGraphicModel)})),this._elMap=gt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(ud);function $z(t){var e=new(_t(Zz,t)?Zz[t]:Gg(t))({});return Uz(e).type=t,e}function Yz(t,e,n,i){var r=$z(n);return e.add(r),i.set(t,r),Uz(r).id=t,Uz(r).isNew=!0,r}function qz(t,e,n,i){t&&t.parent&&("group"===t.type&&t.traverse((function(t){qz(t,e,n,i)})),ZN(t,e,i),n.removeKey(Uz(t).id))}function Kz(t,e,n,i){t.isGroup||B([["cursor",La.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];_t(e,i)?t[i]=it(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),B(G(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=U(i)?i:null}})),_t(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var Jz=["x","y","radius","angle","single"],Qz=["cartesian2d","polar","singleAxis"];function tV(t){return t+"Axis"}function eV(t,e){var n,i=gt(),r=[],o=gt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function nV(t){var e=t.ecModel,n={infoList:[],infoMap:gt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(tV(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var iV=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),rV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return o(e,t),e.prototype.init=function(t,e,n){var i=oV(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=oV(t);P(this.option,t,!0),P(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;B([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=gt();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return B(Jz,(function(n){var i=this.getReferringComponents(tV(n),Ho);if(i.specified){e=!0;var r=new iV;B(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";o(n.findComponents({mainType:r+"Axis"}),r)}i&&o(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function o(e,n){var r=e[0];if(r){var o=new iV;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",Go).models[0];a&&B(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",Go).models[0]&&o.add(t.componentIndex)}))}}}i&&B(Jz,(function(e){if(i){var r=n.findComponents({mainType:tV(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new iV;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");B([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(tV(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){B(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(tV(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;B([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;B(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(hc);function oV(t){var e={};return B(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var aV=rV,sV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.select",e}(aV),lV=sV,uV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(ud),hV=uV,cV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.select",e}(hV),pV=cV,fV=B,dV=io,gV=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return R(Qz,e)>=0}(e)){var n=tV(this._dimName),i=e.getReferringComponents(n,Go).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return k(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];fV(["start","end"],(function(l,u){var h=t[l],c=t[l+"Value"];"percent"===r[u]?(null==h&&(h=o[u]),c=i.parse(to(h,o,n))):(e=!0,h=to(c=null==c?n[u]:i.parse(c),n,o)),s[u]=null==c||isNaN(c)?n[u]:c,a[u]=null==h||isNaN(h)?o[u]:h})),dV(s),dV(a);var l=this._minMaxSpan;function u(t,e,n,r,o){var a=o?"Span":"ValueSpan";kL(0,t,n,"all",l["min"+a],l["max"+a]);for(var s=0;s<2;s++)e[s]=to(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?u(s,a,n,o,!1):u(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];fV(n,(function(t){!function(t,e,n){e&&B(DT(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}(i,t.getData(),e)}));var r=t.getAxisModel(),o=_T(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),o=this._valueWindow;"none"!==r&&fV(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var a=e.getStore(),s=z(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,l=0;l<i.length;l++){var u=a.get(s[l],t),h=!isNaN(u),c=u<o[0],p=u>o[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else fV(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));fV(i,(function(t){e.setApproximateExtent(o,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;fV(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=to(n[0]+o,n,[0,100],!0):null!=r&&(o=to(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=oo(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();var mV=gV,vV={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(tV(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new mV(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=gt();return B(n,(function(t){B(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var yV=!1;function _V(t){yV||(yV=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,vV),function(t){t.registerAction("dataZoom",(function(t,e){B(eV(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function xV(t){t.registerComponentModel(lV),t.registerComponentView(pV),_V(t)}var bV=function(){},wV={};function SV(t,e){wV[t]=e}function MV(t){return wV[t]}var TV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;B(this.option.feature,(function(t,n){var i=MV(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),P(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,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,position:"bottom"}},e}(hc),CV=TV;function AV(t,e){var n=Wh(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new qs({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1})}var IV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];B(s,(function(t,e){u.push(e)})),new Rb(this._featureNames||[],u).add(h).update(h).remove(W(h,null)).execute(),this._featureNames=u,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=nc(i,o,r);ec(e.get("orient"),t,e.get("itemGap"),a.width,a.height),ic(t,i,o,r)}(r,t,n),r.add(AV(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!U(l)&&e){var u=l.style||(l.style={}),h=Ir(e,pl.makeFont(u)),c=t.x+r.x,p=!1;t.y+r.y+o+h.height>n.getHeight()&&(a.position="top",p=!0);var f=p?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",f],u.align="right"):c-h.width/2<0&&(a.position=[0,f],u.align="left")}}))}function h(h,c){var p,f=u[h],d=u[c],g=s[f],m=new th(g,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===f&&(g.title=i.newTitle),f&&!d){if(function(t){return 0===t.indexOf("my")}(f))p={onclick:m.option.onclick,featureName:f};else{var v=MV(f);if(!v)return;p=new v}l[f]=p}else if(!(p=l[d]))return;p.uid=nh("toolbox-feature"),p.model=m,p.ecModel=e,p.api=n;var y=p instanceof bV;f||!d?!m.get("show")||y&&p.unusable?y&&p.remove&&p.remove(e,n):(!function(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),f=s instanceof bV&&s.getIcons?s.getIcons():i.get("icon"),d=i.get("title")||{};X(f)?(u={})[l]=f:u=f;X(d)?(h={})[l]=d:h=d;var g=i.iconPaths={};B(u,(function(l,u){var f=rm(l,{},{x:-o/2,y:-o/2,width:o,height:o});f.setStyle(c.getItemStyle()),f.ensureState("emphasis").style=p.getItemStyle();var d=new pl({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:Nu({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});f.setTextContent(d),lm({el:f,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),f.__title=h[u],f.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";d.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroun
1dColor")}),f.setTextConfig({position:p.get("textPosition")||i}),d.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),d.hide()})),("emphasis"===i.get(["iconStatus",u])?Ul:Xl)(f),r.add(f),f.on("click",H(s.onclick,s,e,n,u)),g[u]=f}))}(m,p,f),m.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Ul:Xl)(i[t])},p instanceof bV&&p.render&&p.render(m,e,n,i)):y&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){B(this._features,(function(t){t instanceof bV&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){B(this._features,(function(n){n instanceof bV&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){B(this._features,(function(n){n instanceof bV&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(ud);var DV=IV,kV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=l.browser;if("function"!=typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=a.split(","),h=u[0].indexOf("base64")>-1,c=r?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var f=c.length,d=new Uint8Array(f);f--;)d[f]=c.charCodeAt(f);var g=new Blob([d]);window.navigator.msSaveOrOpenBlob(g,p)}else{var m=document.createElement("iframe");document.body.appendChild(m);var v=m.contentWindow,y=v.document;y.open("image/svg+xml","replace"),y.write(c),y.close(),v.focus(),y.execCommand("SaveAs",!0,p),document.body.removeChild(m)}}else{var _=n.get("lang"),x='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(_&&_[0]||"")+'" /></body>',b=window.open();b.document.write(x),b.document.title=i}else{var w=document.createElement("a");w.download=i+"."+o,w.target="_blank",w.href=a;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});w.dispatchEvent(S)}},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",n
vendor: 88,068 bytes, line 1
1ame:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(bV),PV=kV,LV="__ec_magicType_stack__",OV=[["line","bar"],["stack"]],EV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return B(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(RV[n]){var o,a={series:[]};B(OV,(function(t){R(t,n)>=0&&B(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,o=RV[n](e,r,t,i);o&&(E(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim+"Axis",h=t.getReferringComponents(u,Go).models[0].componentIndex;a[u]=a[u]||[];for(var c=0;c<=h;c++)a[u][h]=a[u][h]||{};a[u][h].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(o=P({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:o,featureName:"magicType"})}},e}(bV),RV={line:function(t,e,n,i){if("bar"===t)return P({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return P({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===LV;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),P({id:e,stack:r?"":LV},i.get(["option","stack"])||{},!0)}};h_({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var NV=EV,FV=new Array(60).join("-"),BV="\t";function zV(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var VV=new RegExp("["+BV+"]+","g");function jV(t,e){var n=t.split(new RegExp("\n*"+FV+"\n*","g")),i={series:[]};return B(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(BV)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=[],i=z(zV(e.shift()).split(VV),(function(t){return{name:t,data:[]}})),r=0;r<e.length;r++){var o=zV(e[r]).split(VV);n.push(o.shift());for(var a=0;a<o.length;a++)i[a]&&(i[a].data[r]=o[a])}return{series:i,categories:n}}(t),o=e[n],a=o.axisDim+"Axis";o&&(i[a]=i[a]||[],i[a][o.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=zV(e.shift()),i=[],r=0;r<e.length;r++){var o=zV(e[r]);if(o){var a=o.split(VV),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},l=i[r].value):l=i[r]=[];for(var h=0;h<a.length;h++)l.push(+a[h]);1===l.length&&(u?i[r].value=l[0]:i[r]=l[0])}}return{name:n,data:i}}(t);i.series.push(r)}})),i}var GV=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var o=document.createElement("h4"),a=i.get("lang")||[];o.innerHTML=a[0]||i.get("title"),o.style.cssText="margin:10px 20px",o.style.color=i.get("textColor");var s=document.createElement("div"),l=document.createElement("textarea");s.style.cssText="overflow:auto";var u=i.get("optionToContent"),h=i.get("contentToOption"),c=function(t){var e,n,i,r=function(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}(t);return{value:j([(n=r.seriesGroupByCategoryAxis,i=[],B(n,(function(t,e){var n=t.categoryAxis,r=t.valueAxis.dim,o=[" "].concat(z(t.series,(function(t){return t.name}))),a=[n.model.getCategories()];B(t.series,(function(t){var e=t.getRawData();a.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var s=[o.join(BV)],l=0;l<a[0].length;l++){for(var u=[],h=0;h<a.length;h++)u.push(a[h][l]);s.push(u.join(BV))}i.push(s.join("\n"))})),i.join("\n\n"+FV+"\n\n")),(e=r.other,z(e,(function(t){var e=t.getRawData(),n=[t.name],i=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,r=arguments[t-1],o=e.getName(r),a=0;a<t-1;a++)i[a]=arguments[a];n.push((o?o+BV:"")+i.join(BV))})),n.join("\n")})).join("\n\n"+FV+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+FV+"\n\n"),meta:r.meta}}(t);if(U(u)){var p=u(e.getOption());X(p)?s.innerHTML=p:Q(p)&&s.appendChild(p)}else{l.readOnly=i.get("readOnly");var f=l.style;f.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",f.color=i.get("textColor"),f.borderColor=i.get("textareaBorderColor"),f.backgroundColor=i.get("textareaColor"),l.value=c.value,s.appendChild(l)}var d=c.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),y=document.createElement("div");m+=";background-color:"+i.get("buttonColor"),m+=";color:"+i.get("buttonTextColor");var _=this;function x(){n.removeChild(r),_._dom=null}he(v,"click",x),he(y,"click",(function(){if(null==h&&null!=u||null!=h&&null==u)x();else{var t;try{t=U(h)?h(s,e.getOption()):jV(l.value,d)}catch(t){throw x(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),x()}})),v.innerHTML=a[1],y.innerHTML=a[2],y.style.cssText=v.style.cssText=m,!i.get("readOnly")&&g.appendChild(y),g.appendChild(v),r.appendChild(o),r.appendChild(s),r.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(bV);function HV(t,e){return z(t,(function(t,n){var i=e&&e[n];if(q(i)&&!Z(i)){q(t)&&!Z(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=E(t,i),r&&delete t.name,t}return t}))}h_({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];B(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:HV(t.data,r)})}else n.push(O({type:"scatter"},t))})),e.mergeOption(E({series:n},t.newOption))}));var WV=GV,ZV=B,UV=Bo();function XV(t){var e=UV(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var $V=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.onclick=function(t,e){!function(t){UV(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(bV);h_({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var YV=$V,qV=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],KV=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=QV(e,t);B(tj,(function(t,e){(!n||!n.include||R(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=ij[t.brushType](0,n,e);t.__rangeOffset={offset:oj[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){B(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&B(i.coordSyses,(function(i){var r=ij[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){B(t,(function(t){var n,i,r,o,a,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var l=ij[t.brushType](0,s.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?oj[t.brushType](l.values,u.offset,(n=l.xyMinMax,i=u.xyMinMax,r=sj(n),o=sj(i),a=[r[0]/o[0],r[1]/o[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):l.values}}),this)},t.prototype.makePanelOpts=function(t,e){return z(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:BO(i),isTargetByCursor:VO(i,t,n.coordSysModel),getLinearBrushOtherExtent:zO(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&R(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=QV(e,t),r=0;r<n.length;r++){var o=n[r],a=t.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<ej.length;s++)if(ej[s](i,o))return o}return!0},t}();function JV(t){return t[0]>t[1]&&t.reverse(),t}function QV(t,e){return Vo(t,e,{includeMainTypes:qV})}var tj={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=gt(),a={},s={};(n||i||r)&&(B(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),B(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),B(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];B(r.getCartesians(),(function(t,e){(R(n,t.getAxis("x").model)>=0||R(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:nj.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){B(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:nj.geo})}))}},ej=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],nj={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Kg(t)),e}},ij={lineX:W(rj,0),lineY:W(rj,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[JV([r[0],o[0]]),JV([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:z(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function rj(t,e,n,i){var r=n.getAxis(["x","y"][t]),o=JV(z([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var oj={lineX:W(aj,0),lineY:W(aj,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return z(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function aj(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function sj(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var lj,uj,hj=KV,cj=B,pj=To+"toolbox-dataZoom_",fj=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new FO(n.getZr()),this._brushController.on("brush",H(this._onBrush,this)).mount()),function(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive);n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new hj(gj(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return XV(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){dj[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new hj(gj(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=XV(t);ZV(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),l=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==l.minValueSpan&&null==l.maxValueSpan||(r=kL(0,r.slice(),o.scale.getExtent(),0,l.minValueSpan,l.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];cj(t,(function(t,n){e.push(k(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(bV),dj={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=XV(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return ZV(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function gj(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}lj="dataZoom",uj=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Vo(t,gj(i));return cj(o.xAxisModels,(function(t){return a(t,"xAxis","xAxisIndex")})),cj(o.yAxisModels,(function(t){return a(t,"yAxis","yAxisIndex")})),r}function a(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:pj+e+o};a[n]=o,r.push(a)}},st(null==kc.get(lj)&&uj),kc.set(lj,uj);var mj=fj;var vj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(hc),yj=vj;function _j(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function xj(t){if(l.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var bj=xj(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function wj(t,e){if(!t)return e;e=Hh(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var Sj=wj(xj(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),Mj=wj(bj,"transform"),Tj="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.transform3dSupported?"will-change:transform;":"");function Cj(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=l.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+Mj+":"+a+";":[["top",0],["left",0],[bj,a]]}function Aj(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),h=t.get("shadowOffsetY"),c=t.getModel("textStyle"),p=Xf(t,"html"),f=u+"px "+h+"px "+a+"px "+s;return i.push("box-shadow:"+f),e&&r&&i.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=l.transformSupported?","+Mj+i:",left"+i+",top"+i),Sj+":"+r}(r,n)),o&&i.push("background-color:"+o),B(["width","color","radius"],(function(e){var n="border-"+e,r=Hh(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=it(t.get("lineHeight"),Math.round(3*n/2));n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),B(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(c)),null!=p&&i.push("padding:"+Wh(p).join("px ")+"px"),i.join(";")+";"}function Ij(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&function(t,e,n,i,r){Jt(Kt,e,i,r,!0)&&Jt(t,n,Kt[0],Kt[1])}(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var Dj=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&(X(r)?document.querySelector(r):Q(r)?r:U(r)&&r(t.getDom()));Ij(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler;ue(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=(o="position",(a=(r=e).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r))?o?a[o]:a:null),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r,o,a,s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=Tj+Aj(t,!this._firstShow,this._longHide)+Cj(r[0],r[1],!0)+"border-color:"+Yh(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(X(r)&&"item"===n.get("trigger")&&!_j(n)&&(a=function(t,e,n){if(!X(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=Yh(e);var o,a,s="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),u="",h=Mj+":";R(["left","right"],s)>-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,p=l+r,f=p*Math.abs(Math.cos(c))+p*Math.abs(Math.sin(c)),d=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(u+=";"+s+":-"+Math.round(100*((f-Math.SQRT2*r)/2+Math.SQRT2*r-(f-p)/2))/100+"px")+";"+h+";","border-bottom:"+d,"border-right:"+d,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),X(t))o.innerHTML=t+a;else if(t){o.innerHTML="",Z(t)||(t=[t]);for(var s=0;s<t.length;s++)Q(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(Ij(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style;B(Cj(n[0],n[1]),(function(t){i[t[0]]=t[1]}))}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(H(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),kj=Dj;function Pj(t){return Math.max(0,t)}function Lj(t){var e=Pj(t.shadowBlur||0),n=Pj(t.shadowOffsetX||0),i=Pj(t.shadowOffsetY||0);return{left:Pj(e-n),right:Pj(e+n),top:Pj(e-i),bottom:Pj(e+i)}}function Oj(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var Ej=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),Oj(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;q(t)&&Qp(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new pl({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:Xf(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),B(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),B(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=Lj(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;Oj(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=Pj(r.borderWidth||0),a=Lj(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(H(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}(),Rj=new qs({shape:{x:-1,y:-1,width:2,height:2}}),Nj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){if(!l.node&&e.getDom()){var n,i=t.getComponent("tooltip"),r=this._renderMode="auto"===(n=i.get("renderMode"))?l.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===r?new Ej(e):new kj(e,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?Mm(this,"_updatePosition",50,"fixRate"):Tm(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");lB("itemTooltip",this._api,H((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!l.node&&n.getDom()){var r=Bj(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=jo(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=Wo(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,l=n.getViewOfComponentModel(a);if(l.group.traverse((function(e){var n=fl(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=Rj;u.x=i.x,u.y=i.y,u.update(),fl(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=dB(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},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))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Bj(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s)if("axis"===Fj([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===fl(n).ssrType)return;this._lastDataByCoordSys=null,mv(n,(function(t){return null!=fl(t).dataIndex?(r=t,!0):null!=fl(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=H(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Fj([e.tooltipOption],i),a=this._renderMode,s=[],l=Ff("section",{blocks:[],noHeader:!0}),u=[],h=new $f;B(t,(function(t){B(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=XF(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=Ff("section",{header:o,noHeader:!lt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),B(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),f=l.dataIndexInside,d=p.getDataParams(f);if(!(d.dataIndex<0)){d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=TT(e.axis,{value:r}),d.axisValueLabel=o,d.marker=h.makeTooltipMarker("item",Yh(d.color),a);var g=$p(p.formatTooltip(f,!0,null)),m=g.frag;if(m){var v=Fj([p],i).get("valueFormatter");c.blocks.push(v?O({valueFormatter:v},m):m)}g.text&&u.push(g.text),s.push(d)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),f=Hf(l,h,a,p,n.get("useUTC"),o.get("textStyle"));f&&u.unshift(f);var d="richText"===a?"\n\n":"<br/>",g=u.join(d);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=fl(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,f=Fj([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),d=f.get("trigger");if(null==d||"item"===d){var g=s.getDataParams(l,u),m=new $f;g.marker=m.makeTooltipMarker("item",Yh(g.color),c);var v=$p(s.formatTooltip(l,!1,u)),y=f.get("order"),_=f.get("valueFormatter"),x=v.frag,b=x?Hf(_?O({valueFormatter:_},x):x,m,c,y,i.get("useUTC"),f.get("textStyle")):v.text,w="item_"+s.name+"_"+l;this._showOrMove(f,(function(){this._showTooltipContent(f,b,g,w,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=fl(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if(X(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=k(o)).content=ne(o.content));var s=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&s.push(l),s.push({formatter:o.content});var u=t.positionDefault,h=Fj(s,this._tooltipModel,u?{position:u}:null),c=h.get("content"),p=Math.random()+"",f=new $f;this._showOrMove(h,(function(){var n=k(h.get("formatterParams")||{});this._showTooltipContent(h,c,n,p,t.offsetX,t.offsetY,t.position,e,f)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(h)if(X(h)){var f=t.ecModel.get("useUTC"),d=Z(n)?n[0]:n;c=h,d&&d.axisType&&d.axisType.indexOf("time")>=0&&(c=Th(d.axisValue,c,f)),c=$h(c,n,!0)}else if(U(h)){var g=H((function(e,i){e===this._ticket&&(u.setContent(i,l,t,p,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,g)}else c=h;u.setContent(c,l,t,p,a),u.show(t,p),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||Z(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:Z(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),U(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),Z(e))n=eo(e[0],s),i=eo(e[1],l);else if(q(e)){var f=e;f.width=u[0],f.height=u[1];var d=nc(f,{width:s,height:l});n=d.x,i=d.y,h=null,c=null}else if(X(e)&&a){var g=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=function(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];null!=o&&(t+l+o+2>i?t-=l+o:t+=o);null!=a&&(e+u+a>r?e-=u+a:e+=a);return[t,e]}(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=zj(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=zj(c)?u[1]/2:"bottom"===c?u[1]:0),_j(t)){g=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&B(n,(function(n,o){var a=n.dataByAxis||[],s=(t[o]||{}).dataByAxis||[];(r=r&&a.length===s.length)&&B(a,(function(t,n){var o=s[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&B(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&B(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!l.node&&e.getDom()&&(Tm(this,"_updatePosition"),this._tooltipContent.dispose(),cB("itemTooltip",e))},e.type="tooltip",e}(ud);function Fj(t,e,n){var i,r=e.ecModel;n?(i=new th(n,r,r),i=new th(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof th&&(a=a.get("tooltip",!0)),X(a)&&(a={formatter:a}),a&&(i=new th(a,i,r)))}return i}function Bj(t,e){return t.dispatchAction||H(e.dispatchAction,e)}function zj(t){return"center"===t||"middle"===t}var Vj=Nj;var jj=["rect","polygon","keep","clear"];function Gj(t,e){var n=Co(t?t.brush:[]);if(n.length){var i=[];B(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;Z(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),function(t){var e={};B(t,(function(t){e[t]=1})),t.length=0,B(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,jj)}}var Hj=B;function Wj(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Zj(t,e,n){var i={};return Hj(e,(function(e){var r,o=i[e]=((r=function(){}).prototype.__hidden=r.prototype,new r);Hj(t[e],(function(t,i){if(yk.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new yk(r),"opacity"===i&&((r=k(r)).type="colorAlpha",o.__hidden.__alphaForOpacity=new yk(r))}}))})),i}function Uj(t,e,n){var i;B(n,(function(t){e.hasOwnProperty(t)&&Wj(e[t])&&(i=!0)})),i&&B(n,(function(n){e.hasOwnProperty(n)&&Wj(e[n])?t[n]=k(e[n]):delete t[n]}))}var Xj={lineX:$j(0),lineY:$j(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&FA(n.range,t[0],t[1])},rect:function(t,e,n){var i=n.range;if(!t||i.length<=1)return!1;var r=t.x,o=t.y,a=t.width,s=t.height,l=i[0];return!!(FA(i,r,o)||FA(i,r+a,o)||FA(i,r,o+s)||FA(i,r+a,o+s)||Ee.create(t).contain(l[0],l[1])||om(r,o,r+a,o,i)||om(r,o,r,o+s,i)||om(r+a,o,r+a,o+s,i)||om(r,o+s,r+a,o+s,i))||void 0}}};function $j(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,i){if(e){var r=i.range;return Yj(e[t],r)}},rect:function(i,r,o){if(i){var a=o.range,s=[i[e[t]],i[e[t]]+i[n[t]]];return s[1]<s[0]&&s.reverse(),Yj(s[0],a)||Yj(s[1],a)||Yj(a[0],s)||Yj(a[1],s)}}}}function Yj(t,e){return e[0]<=t&&t<=e[1]}var qj=["inBrush","outOfBrush"],Kj="__ecBrushSelect",Jj="__ecInBrushSelectEvent";function Qj(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new hj(e.option,t)).setInputRanges(e.areas,t)}))}function tG(t,e,n){var i,r,o=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),Qj(t),t.eachComponent({mainType:"brush"},(function(e,n){var a={brushId:e.id,brushIndex:n,brushName:e.name,areas:k(e.areas),selected:[]};o.push(a);var s=e.option,l=s.brushLink,u=[],h=[],c=[],p=!1;n||(i=s.throttleType,r=s.throttleDelay);var f=z(e.areas,(function(t){var e=iG[t.brushType],n=E({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(i){return Xj[e].point(i,n,t)},rect:function(i){return Xj[e].rect(i,n,t)}};return n}(n),n})),d=Zj(e.option,qj,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===l||!!u[t]}function m(t){return!!t.length}Z(l)&&B(l,(function(t){u[t]=1})),t.eachSeries((function(n,i){var r=c[i]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;p=p||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(h[e]=1)}))}(n,i):function(n,i,r){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(Z(n)?R(n,e)<0:e!==n)}(e,i))return;if(B(f,(function(i){e.brushTargetManager.controlSeries(i,n,t)&&r.push(i),p=p||m(r)})),g(i)&&m(r)){var o=n.getData();o.each((function(t){nG(n,r,o,t)&&(h[t]=1)}))}}(n,i,r)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};a.selected.push(n);var i=c[e],r=t.getData(),o=g(e)?function(t){return h[t]?(n.dataIndex.push(r.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return nG(t,i,r,e)?(n.dataIndex.push(r.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?p:m(i))&&function(t,e,n,i,r,o){var a,s={};function l(t){return cv(n,a,t)}function u(t,e){fv(n,a,t,e)}function h(t,h){a=null==o?t:h;var c=n.getRawDataItem(a);if(!c||!1!==c.visualMap)for(var p=i.call(r,t),f=e[p],d=s[p],g=0,m=d.length;g<m;g++){var v=d[g];f[v]&&f[v].applyVisual(t,l,u)}}B(t,(function(t){var n=yk.prepareVisualTypes(e[t]);s[t]=n})),null==o?n.each(h):n.each([o],h)}(qj,d,r,o)}))})),function(t,e,n,i,r){if(!r)return;var o=t.getZr();if(o[Jj])return;o[Kj]||(o[Kj]=eG);var a=Mm(o,Kj,n,e);a(t,i)}(e,i,r,o,n)}function eG(t,e){if(!t.isDisposed()){var n=t.getZr();n[Jj]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[Jj]=!1}}function nG(t,e,n,i){for(var r=0,o=e.length;r<o;r++){var a=e[r];if(t.brushSelector(i,n,a.selectors,a))return!0}}var iG={rect:function(t){return rG(t.range)},polygon:function(t){for(var e,n=t.range,i=0,r=n.length;i<r;i++){e=e||[[1/0,-1/0],[1/0,-1/0]];var o=n[i];o[0]<e[0][0]&&(e[0][0]=o[0]),o[0]>e[0][1]&&(e[0][1]=o[0]),o[1]<e[1][0]&&(e[1][0]=o[1]),o[1]>e[1][1]&&(e[1][1]=o[1])}return e&&rG(e)}};function rG(t){return new Ee(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var oG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new FO(e.getZr())).on("brush",H(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){Qj(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:k(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:k(n),$from:e})},e.type="brush",e}(ud),aG=oG,sG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return o(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Uj(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=z(t,(function(t){return lG(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=lG(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(hc);function lG(t,e){return P({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new th(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var uG=sG,hG=["rect","polygon","lineX","lineY","keep","clear"],cG=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,B(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return B(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){return{show:!0,type:hG.slice(),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:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(bV),pG=cG;var fG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return o(e,t),e.type="title",e.defaultOption={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:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(hc),dG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=it(t.get("textBaseline"),t.get("textVerticalAlign")),l=new pl({style:ku(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new pl({style:ku(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),f=t.get("sublink"),d=t.get("triggerEvent",!0);l.silent=!p&&!d,c.silent=!f&&!d,p&&l.on("click",(function(){qh(p,"_"+t.get("target"))})),f&&c.on("click",(function(){qh(f,"_"+t.get("subtarget"))})),fl(l).eventData=fl(c).eventData=d?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var v=nc(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||("middle"===(a=t.get("left")||t.get("right"))&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var y={align:a,verticalAlign:s};l.setStyle(y),c.setStyle(y),g=i.getBoundingRect();var _=v.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var b=new qs({shape:{x:g.x-_[3],y:g.y-_[0],width:g.width+_[1]+_[3],height:g.height+_[0]+_[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});i.add(b)}},e.type="title",e}(ud);var gG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],B(n,(function(e,n){var i,o=Eo(Do(e),"");q(e)?(i=k(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new aw([{name:"value",type:o}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={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:[]},e}(hc),mG=gG,vG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="timeline.slider",e.defaultOption=ih(mG.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,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:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(mG);N(vG,Xp.prototype);var yG=vG,_G=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="timeline",e}(ud),xG=_G,bG=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return o(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}($T),wG=bG,SG=Math.PI,MG=Bo(),TG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){return Ff("nameValue",{noName:!0,value:a.scale.getLabel({value:t})})},B(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,a=t.get(["label","position"]),s=t.get("orient"),l=function(t,e){return nc(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==a||"auto"===a?"horizontal"===s?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":X(a)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][a]:a)>=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:SG/2},p="vertical"===s?l.height:l.width,f=t.getModel("controlStyle"),d=f.get("show",!0),g=d?f.get("itemSize"):0,m=d?f.get("itemGap"):0,v=g+m,y=t.get(["label","rotate"])||0;y=y*SG/180;var _=f.get("position",!0),x=d&&f.get("showPlayBtn",!0),b=d&&f.get("showPrevBtn",!0),w=d&&f.get("showNextBtn",!0),S=0,M=p;"left"===_||"bottom"===_?(x&&(i=[0,0],S+=v),b&&(r=[S,0],S+=v),w&&(o=[M-g,0],M-=v)):(x&&(i=[M-g,0],M-=v),b&&(r=[0,0],S+=v),w&&(o=[M-g,0],M-=v));var T=[S,M];return t.get("inverse")&&T.reverse(),{viewRect:l,mainLength:p,orient:s,rotation:c[s],labelRotation:y,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[s],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:T,controlSize:g,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=[1,0,0,1,0,0],a=r.x,s=r.y+r.height;_e(o,o,[-a,-s]),xe(o,o,-SG/2),_e(o,o,[a,s]),(r=r.clone()).applyTransform(o)}var l=m(r),u=m(n.getBoundingRect()),h=m(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var f,d=t.labelPosOpt;null==d||X(d)?(v(c,u,l,1,f="+"===d?0:1),v(p,h,l,1,1-f)):(v(c,u,l,1,f=d>=0?0:1),p[1]=c[1]+d);function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new UM({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new rT({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new YM}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new wG("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new Ur;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new pg({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:O({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new pg({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:E({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],B(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:H(r._changeTimeline,r,t.value)},p=CG(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),ou(p);var f=fl(p);s.get("tooltip")?(f.dataIndex=t.value,f.dataModel=i):f.dataIndex=f.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),a=n.getViewLabels();this._tickLabels=[],B(a,(function(i){var a=i.tickValue,s=o.getItemModel(a),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new pl({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:H(r._changeTimeline,r,a),silent:!1,style:ku(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=ku(u),p.ensureState("progress").style=ku(h),e.add(p),ou(p),MG(p).dataIndex=a,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=Lr(it(i.get(["controlStyle",n+"BtnSize"]),r),r),c=function(t,e,n,i){var r=i.style,o=rm(t.get(["controlStyle",e]),i||{},new Ee(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});c.ensureState("emphasis").style=s,e.add(c),ou(c)}}h(t.nextBtnPosition,"next",H(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",H(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",H(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=H(s._handlePointerDrag,s),t.ondragend=H(s._handlePointerDragend,s),AG(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){AG(t,s._progressLine,o,n,i)}};this._currentPointer=CG(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=io(this._axis.getExtent().slice());n>i[1]&&(n=i[1]),n<i[0]&&(n=i[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var r=this._progressLine;r&&(r.shape.x2=n,r.dirty());var o=this._findNearestTick(n),a=this.model;(e||o!==a.getCurrentIndex()&&a.get("realtime"))&&this._changeTimeline(o)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return Jg(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),i=1/0,r=this._axis;return n.each(["value"],(function(n,o){var a=r.dataToCoord(n),s=Math.abs(a-t);s<i&&(i=s,e=o)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",MG(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(xG);function CG(t,e,n,i,r,o){var a=e.get("color");r?(r.setColor(a),n.add(r),o&&o.onUpdate(r)):((r=Dv(t.get("symbol"),-1,-1,2,2,a)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r));var s=e.getItemStyle(["color"]);r.setStyle(s),i=P({rectHover:!0,z2:100},i,!0);var l=kv(t.get("symbolSize"));i.scaleX=l[0]/2,i.scaleY=l[1]/2;var u=Pv(t.get("symbolOffset"),l);u&&(i.x=(i.x||0)+u[0],i.y=(i.y||0)+u[1]);var h=t.get("symbolRotate");return i.rotation=(h||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function AG(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var l={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},l),e&&e.animateTo({shape:{x2:s}},l)}}}var IG=TG;function DG(t){var e=t&&t.timeline;Z(e)||(e=e?[e]:[]),B(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(kG(t),PG(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});PG(i,"position")||(i.position=t.controlPosition),"none"!==i.position||PG(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}B(t.data||[],(function(t){q(t)&&!Z(t)&&(!PG(t,"value")&&PG(t,"name")&&(t.value=t.name),kG(t))}))}(t)}))}function kG(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};B(i,(function(t,e){o[e]||PG(r,e)||(r[e]=t)})),n.label&&!PG(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function PG(t,e){return t.hasOwnProperty(e)}function LG(t,e){if(!t)return!1;for(var n=Z(t)?t:[t],i=0;i<n.length;i++)if(n[i]&&n[i][e])return!0;return!1}function OG(t){Ao(t,"label",["show"])}var EG=Bo(),RG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(l.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,i){var r=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),o=EG(t)[r];n&&n.data?(o?o._mergeOption(n,e,!0):(i&&OG(n),B(n.data,(function(t){t instanceof Array?(OG(t[0]),OG(t[1])):OG(t)})),O(o=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),o.__hostSeries=t),EG(t)[r]=o):EG(t)[r]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return Ff("section",{header:this.name,blocks:[Ff("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.prototype.getDataParams=function(t,e){var n=Xp.prototype.getDataParams.call(this,t,e),i=this.__hostSeries;return i&&(n.seriesId=i.id,n.seriesName=i.name,n.seriesType=i.subType),n},e.getMarkerModelFromSeries=function(t,e){return EG(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(hc);N(RG,Xp.prototype);var NG=RG,FG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(NG),BG=FG;function zG(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function VG(t,e,n,i,r,o){var a=[],s=fw(e,i)?e.getCalculationInfo("stackResultDimension"):i,l=UG(e,s,t),u=e.indicesOfNearest(s,l)[0];a[r]=e.get(n,u),a[o]=e.get(s,u);var h=e.get(i,u),c=ro(e.get(i,u));return(c=Math.min(c,20))>=0&&(a[o]=+a[o].toFixed(c)),[a,h]}var jG={min:W(VG,"min"),max:W(VG,"max"),average:W(VG,"average"),median:W(VG,"median")};function GG(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!Z(e.coord)&&Z(r)){var o=HG(e,n,i,t);if((e=k(e)).type&&jG[e.type]&&o.baseAxis&&o.valueAxis){var a=R(r,o.baseAxis.dim),s=R(r,o.valueAxis.dim),l=jG[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&Z(r))for(var u=e.coord,h=0;h<2;h++)jG[u[h]]&&(u[h]=UG(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function HG(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function WG(t,e){return!(t&&t.containData&&e.coord&&!zG(e))||t.containData(e.coord)}function ZG(t,e){return t?function(t,n,i,r){return tf(r<2?t.coord&&t.coord[r]:t.value,e[r])}:function(t,n,i,r){return tf(t.value,e[r])}}function UG(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var XG=Bo(),$G=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.init=function(){this.markerGroupMap=gt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){XG(t).keep=!1})),e.eachSeries((function(t){var r=NG.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!XG(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){XG(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;B(t,(function(t){var i=NG.getMarkerModelFromSeries(t,n.type);i&&i.getData().eachItemGraphicEl((function(t){t&&(e?$l(t):Yl(t))}))}))},e.type="marker",e}(ud),YG=$G;function qG(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=eo(a.get("x"),n.getWidth()),l=eo(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var KG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=NG.getMarkerModelFromSeries(t,"markPoint");e&&(qG(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new Aw),u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return O(O({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new aw(i,n),o=z(n.get("data"),W(GG,e));t&&(o=j(o,W(WG,t)));var a=ZG(!!t,i);return r.initData(o,null,a),r}(r,t,e);e.setData(u),qG(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if(U(i)||U(r)||U(o)||U(s)){var h=e.getRawValue(t),c=e.getDataParams(t);U(i)&&(i=i(h,c)),U(r)&&(r=r(h,c)),U(o)&&(o=o(h,c)),U(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),f=pv(a,"color");p.fill||(p.fill=f),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){fl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(YG);var JG=KG;var QG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,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}(NG),tH=QG,eH=Bo(),nH=function(t,e,n,i){var r,o=t.getData();if(Z(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=nt(i.yAxis,i.xAxis);else{var u=HG(i,o,e,t);s=u.valueAxis,l=UG(o,dw(o,u.valueDataDim),a)}var h="x"===s.dim?0:1,c=1-h,p=k(i),f={coord:[]};p.type=null,p.coord=[],p.coord[c]=-1/0,f.coord[c]=1/0;var d=n.get("precision");d>=0&&Y(l)&&(l=+l.toFixed(Math.min(d,20))),p.coord[h]=f.coord[h]=l,r=[p,f,{type:a,valueIndex:i.valueIndex,value:l}]}else r=[]}var g=[GG(t,r[0]),GG(t,r[1]),O({},r[2])];return g[2].type=g[2].type||null,P(g[2],g[0]),P(g[2],g[1]),g};function iH(t){return!isNaN(t)&&!isFinite(t)}function rH(t,e,n,i){var r=1-t,o=i.dimensions[t];return iH(e[r])&&iH(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function oH(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(rH(1,n,i,t)||rH(0,n,i,t)))return!0}return WG(t,e[0])&&WG(t,e[1])}function aH(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=eo(s.get("x"),r.getWidth()),u=eo(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(Ww(a,"cartesian2d")){var f=a.getAxis("x"),d=a.getAxis("y");h=a.dimensions;iH(t.get(h[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[n?0:1]):iH(t.get(h[1],e))&&(o[1]=d.toGlobalCoord(d.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var sH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=NG.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=eH(e).from,o=eH(e).to;r.each((function(e){aH(r,e,!0,t,n),aH(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new AP);this.group.add(l.group);var u=function(t,e,n){var i;i=t?z(t&&t.dimensions,(function(t){return O(O({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new aw(i,n),o=new aw(i,n),a=new aw([],n),s=z(n.get("data"),W(nH,e,t,n));t&&(s=j(s,W(oH,t)));var l=ZG(!!t,i);return r.initData(z(s,(function(t){return t[0]})),null,l),o.initData(z(s,(function(t){return t[1]})),null,l),a.initData(z(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}(r,t,e),h=u.from,c=u.to,p=u.line;eH(e).from=h,eH(e).to=c,e.setData(p);var f=e.get("symbol"),d=e.get("symbolSize"),g=e.get("symbolRotate"),m=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);aH(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=pv(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:it(o.get("symbolOffset",!0),m[r?0:1]),symbolRotate:it(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:it(o.get("symbolSize"),d[r?0:1]),symbol:it(o.get("symbol",!0),f[r?0:1]),style:s})}Z(f)||(f=[f,f]),Z(d)||(d=[d,d]),Z(g)||(g=[g,g]),Z(m)||(m=[m,m]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){fl(t).dataModel=e,t.traverse((function(t){fl(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(YG);var lH=sH;var uH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(NG),hH=uH,cH=Bo(),pH=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=GG(t,r),s=GG(t,o),l=a.coord,u=s.coord;l[0]=nt(l[0],-1/0),l[1]=nt(l[1],-1/0),u[0]=nt(u[0],1/0),u[1]=nt(u[1],1/0);var h=L([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function fH(t){return!isNaN(t)&&!isFinite(t)}function dH(t,e,n,i){var r=1-t;return fH(e[r])&&fH(n[r])}function gH(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return Ww(t,"cartesian2d")?!(!n||!i||!dH(1,n,i)&&!dH(0,n,i))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!zG(e)&&!zG(n))||t.containZone(e.coord,n.coord)}(t,r,o):WG(t,r)||WG(t,o)}function mH(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=eo(s.get(n[0]),r.getWidth()),u=eo(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),f=a.clampData(c),d=[];"x0"===n[0]?d[0]=p[0]>f[0]?c[0]:h[0]:d[0]=p[0]>f[0]?h[0]:c[0],"y0"===n[1]?d[1]=p[1]>f[1]?c[1]:h[1]:d[1]=p[1]>f[1]?h[1]:c[1],o=i.getMarkerPosition(d,n,!0)}else{var g=[y=t.get(n[0],e),_=t.get(n[1],e)];a.clampData&&a.clampData(g,g),o=a.dataToPoint(g,!0)}if(Ww(a,"cartesian2d")){var m=a.getAxis("x"),v=a.getAxis("y"),y=t.get(n[0],e),_=t.get(n[1],e);fH(y)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):fH(_)&&(o[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var vH=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],yH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=NG.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=z(vH,(function(r){return mH(i,e,r,t,n)}));i.setItemLayout(e,r),i.getItemGraphicEl(e).setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new Ur});this.group.add(l.group),this.markKeep(l);var u=function(t,e,n){var i,r,o=["x0","y0","x1","y1"];if(t){var a=z(t&&t.dimensions,(function(t){var n=e.getData();return O(O({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));r=z(o,(function(t,e){return{name:t,type:a[e%2].type}})),i=new aw(r,n)}else i=new aw(r=[{name:"value",type:"float"}],n);var s=z(n.get("data"),W(pH,e,t,n));t&&(s=j(s,W(gH,t)));var l=t?function(t,e,n,i){return tf(t.coord[Math.floor(i/2)][i%2],r[i])}:function(t,e,n,i){return tf(t.value,r[i])};return i.initData(s,null,l),i.hasItemOption=!0,i}(r,t,e);e.setData(u),u.each((function(e){var n=z(vH,(function(n){return mH(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];io(c),io(p);var f=!!(l[0]>c[1]||l[1]<c[0]||h[0]>p[1]||h[1]<p[0]);u.setItemLayout(e,{points:n,allClipped:f});var d=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=pv(a,"color");d.fill||(d.fill=g,X(d.fill)&&(d.fill=ai(d.fill,.4))),d.stroke||(d.stroke=g),u.setItemVisual(e,"style",d)})),u.diff(cH(l).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new og({shape:{points:e.points}});u.setItemGraphicEl(t,n),l.group.add(n)}})).update((function(t,n){var i=cH(l).data.getItemGraphicEl(n),r=u.getItemLayout(t);r.allClipped?i&&l.group.remove(i):(i?yu(i,{shape:{points:r.points}},e,t):i=new og({shape:{points:r.points}}),u.setItemGraphicEl(t,i),l.group.add(i))})).remove((function(t){var e=cH(l).data.getItemGraphicEl(t);l.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var i=u.getItemModel(n),r=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),Iu(t,Du(i),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:X(r.fill)?ai(r.fill,1):"#000"}),hu(t,i),au(t,null,null,i.get(["emphasis","disabled"])),fl(t).dataModel=e})),cH(l).data=u,l.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(YG);var _H=yH;var xH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),Z(e)&&B(e,(function(t,i){X(t)&&(t={type:t}),e[i]=P(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&Ro(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=gt(),o=z(i,(function(t){return(X(t)||Y(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new th(t,this,this.ecModel))}),this);this._data=j(o,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&B(this._data,(function(t){e[t.get("name")]=!1}));e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;B(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;B(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&R(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={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,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},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}},e}(hc),bH=xH,wH=W,SH=B,MH=Ur,TH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return o(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new MH),this.group.add(this._selectorGroup=new MH),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=nc(l,u,h),p=this.layoutInner(t,r,c,i,a,s),f=nc(E({width:p.width,height:p.height},l),u,h);this.group.x=f.x-p.x,this.group.y=f.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=AV(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=gt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),SH(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new MH;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var f=p.getData(),d=f.getVisual("legendLineStyle")||{},g=f.getVisual("legendIcon"),m=f.getVisual("style"),v=this._createItem(p,a,o,r,e,t,d,m,g,u,i);v.on("click",wH(CH,a,null,i,h)).on("mouseover",wH(IH,p.name,null,i,h)).on("mouseout",wH(DH,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=fl(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),f=c.getItemVisual(p,"style"),d=c.getItemVisual(p,"legendIcon"),g=ti(f.fill);g&&0===g[3]&&(g[3]=.2,f=O(O({},f),{fill:si(g,"rgba")}));var m=this._createItem(s,a,o,r,e,t,{},f,d,u,i);m.on("click",wH(CH,null,a,i,h)).on("mouseover",wH(IH,null,a,i,h)).on("mouseout",wH(DH,null,a,i,h)),n.ssr&&m.eachChild((function(t){var e=fl(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();SH(t,(function(t){var i=t.type,r=new pl({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r),Iu(r,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),ou(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),f=r.get("itemHeight"),d=r.isSelected(e),g=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),v=i.get("icon"),y=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),SH(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?ay(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]);"inherit"===u.stroke&&(u.stroke=i[h]);"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity);s(u,i);var p=e.getModel("lineStyle"),f=p.getLineStyle();if(s(f,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===f.stroke&&(f.stroke=i.fill),!o){var d=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===d?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),f.stroke=p.get("inactiveColor"),f.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}(l=v||l||"roundRect",i,a,s,c,d,h),_=new MH,x=i.getModel("textStyle");if(!U(t.getLegendIcon)||v&&"inherit"!==v){var b="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;_.add(function(t){var e=t.icon||"roundRect",n=Dv(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:p,itemHeight:f,icon:l,iconRotate:b,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:m}))}else _.add(t.getLegendIcon({itemWidth:p,itemHeight:f,icon:l,iconRotate:g,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:m}));var w="left"===o?p+5:-5,S=o,M=r.get("formatter"),T=e;X(M)&&M?T=M.replace("{name}",null!=e?e:""):U(M)&&(T=M(e));
vendor: 5,226 bytes, line 1
1var C=d?x.getTextColor():i.get("inactiveColor");_.add(new pl({style:ku(x,{text:T,x:w,y:f/2,fill:C,align:S,verticalAlign:"middle"},{inheritColor:C})}));var A=new qs({shape:_.getBoundingRect(),style:{fill:"transparent"}}),I=i.getModel("tooltip");return I.get("show")&&lm({el:A,componentModel:r,itemName:e,itemTooltipOption:I.option}),_.add(A),_.eachChild((function(t){t.silent=!0})),A.silent=!u,this.getContentGroup().add(_),ou(_),_.__legendDataIndex=n,_},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();ec(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){ec("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),f=t.getOrient().index,d=0===f?"width":"height",g=0===f?"height":"width",m=0===f?"y":"x";"end"===o?c[f]+=l[d]+p:u[f]+=h[d]+p,c[1-f]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[d]=l[d]+p+h[d],v[g]=Math.max(l[g],h[g]),v[m]=Math.min(0,h[m]+c[1-f]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(ud);function CH(t,e,n,i){DH(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),IH(t,e,n,i)}function AH(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function IH(t,e,n,i){AH(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function DH(t,e,n,i){AH(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var kH=TH;function PH(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function LH(t,e,n){var i="allSelect"===t||"inverseSelect"===t,r={},o=[];n.eachComponent({mainType:"legend",query:e},(function(n){i?n[t]():n[t](e.name),OH(n,r),o.push(n.componentIndex)}));var a={};return n.eachComponent("legend",(function(t){B(r,(function(e,n){t[e?"select":"unSelect"](n)})),OH(t,a)})),i?{selected:a,legendIndex:o}:{name:e.name,selected:a}}function OH(t,e){var n=e||{};return B(t.getData(),(function(e){var i=e.get("name");if("\n"!==i&&""!==i){var r=t.isSelected(i);_t(n,i)?n[i]=n[i]&&r:n[i]=r}})),n}function EH(t){t.registerComponentModel(bH),t.registerComponentView(kH),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,PH),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",W(LH,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",W(LH,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",W(LH,"inverseSelect")),t.registerAction("legendSelect","legendselected",W(LH,"select")),t.registerAction("legendUnSelect","legendunselected",W(LH,"unSelect"))}(t)}var RH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=ac(e);t.prototype.init.call(this,e,n,i),NH(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),NH(this,this.option,e)},e.type="legend.scroll",e.defaultOption=ih(bH.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}),e}(bH);function NH(t,e,n){var i=[1,1];i[t.getOrient().index]=0,oc(e,n,{type:"box",ignoreSize:!!i})}var FH=RH,BH=Ur,zH=["width","height"],VH=["x","y"],jH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return o(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new BH),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new BH)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,o,a,s){var l=this;t.prototype.renderInner.call(this,e,n,i,r,o,a,s);var u=this._controllerGroup,h=n.get("pageIconSize",!0),c=Z(h)?h:[h,h];f("pagePrev",0);var p=n.getModel("pageTextStyle");function f(t,e){var i=t+"DataIndex",o=rm(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:H(l._pageGo,l,i,n,r)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});o.name=t,u.add(o)}u.add(new pl({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),f("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getSelectorGroup(),s=t.getOrient().index,l=zH[s],u=VH[s],h=zH[1-s],c=VH[1-s];r&&ec("horizontal",a,t.get("selectorItemGap",!0));
vendor: 6,563 bytes, line 1
1var p=t.get("selectorButtonGap",!0),f=a.getBoundingRect(),d=[-f.x,-f.y],g=k(n);r&&(g[l]=n[l]-f[l]-p);var m=this._layoutContentAndController(t,i,g,s,l,h,c,u);if(r){if("end"===o)d[s]+=m[l]+p;else{var v=f[l]+p;d[s]-=v,m[u]-=v}m[l]+=f[l]+p,d[1-s]+=m[c]+m[h]/2-f[h]/2,m[h]=Math.max(m[h],f[h]),m[c]=Math.min(m[c],f[c]+d[1-s]),a.x=d[0],a.y=d[1],a.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup;ec(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),ec("horizontal",h,t.get("pageButtonItemGap",!0));var c=l.getBoundingRect(),p=h.getBoundingRect(),f=this._showController=c[r]>n[r],d=[-c.x,-c.y];e||(d[i]=l[s]);var g=[0,0],m=[-p.x,-p.y],v=it(t.get("pageButtonGap",!0),t.get("itemGap",!0));f&&("end"===t.get("pageButtonPosition",!0)?m[i]+=n[r]-p[r]:g[i]+=p[r]+v);m[1-i]+=c[o]/2-p[o]/2,l.setPosition(d),u.setPosition(g),h.setPosition(m);var y={x:0,y:0};if(y[r]=f?n[r]:c[r],y[o]=Math.max(c[o],p[o]),y[a]=Math.min(0,p[a]+m[1-i]),u.__rectSize=n[r],f){var _={x:0,y:0};_[r]=Math.max(n[r]-p[r]-v,0),_[o]=y[o],u.setClipPath(new qs({shape:_})),u.__rectSize=_[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&yu(l,{x:x.contentPosition[0],y:x.contentPosition[1]},f?t:null),this._updatePageInfoView(t,x),y},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;B(["pagePrev","pageNext"],(function(i){var r=null!=e[i+"DataIndex"],o=n.childOfName(i);o&&(o.setStyle("fill",r?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",X(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=zH[r],a=VH[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var f=y(u);p.contentPosition[r]=-f.s;for(var d=s+1,g=f,m=f,v=null;d<=h;++d)(!(v=y(l[d]))&&m.e>g.s+i||v&&!_(v,g.s))&&(g=m.i>g.i?m:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),m=v;for(d=s-1,g=f,m=f,v=null;d>=-1;--d)(v=y(l[d]))&&_(m,v.s)||!(g.i<m.i)||(m=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=v;return p;function y(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(kH),GH=jH;function HH(t){y_(EH),t.registerComponentModel(FH),t.registerComponentView(GH),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}var WH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.inside",e.defaultOption=ih(aV.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(aV),ZH=WH,UH=Bo();function XH(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function $H(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function YH(t,e,n,i){return t.coordinateSystem.containPoint([n,i])}function qH(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=UH(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=gt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){B(nV(t).infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,function(t,e){var n={model:e,containsPoint:W(YH,e),dispatchAction:W($H,t),dataZoomInfoMap:null,controller:null},i=n.controller=new lA(t.getZr());return B(["pan","zoom","scrollMove"],(function(t){i.on(t,(function(e){var i=[];n.dataZoomInfoMap.each((function(r){if(e.isAvailableBehavior(r.model.option)){var o=(r.getRange||{})[t],a=o&&o(r.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!r.model.get("disabled",!0)&&a&&i.push({dataZoomId:r.model.id,start:a[0],end:a[1]})}})),i.length&&n.dispatchAction(i)}))})),n}(e,n.model));(o.dataZoomInfoMap||(o.dataZoomInfoMap=gt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=function(t){var e,n="type_",i={type_true:2,type_move:1,type_false:0,type_undefined:-1},r=!0;return t.each((function(t){var o=t.model,a=!o.get("disabled",!0)&&(!o.get("zoomLock",!0)||"move");i[n+a]>i[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),Mm(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else XH(i,t)}))}))}var KH=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return o(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),function(t,e,n){UH(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}(i,e,{pan:H(JH.pan,this),zoom:H(JH.zoom,this),scrollMove:H(JH.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=UH(t).coordSysRecordMap,i=n.keys(),r=0;r<i.length;r++){var o=i[r],a=n.get(o),s=a.dataZoomInfoMap;if(s){var l=e.uid;s.get(l)&&(s.removeKey(l),s.keys().length||XH(n,a))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(hV),JH={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];
vendor: 4,595 bytes, line 1
1if(a){var s=tW[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return kL(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:QH((function(t,e,n,i,r,o){var a=tW[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:QH((function(t,e,n,i,r,o){return tW[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n).signal*(t[1]-t[0])*o.scrollDelta}))};function QH(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s)return kL(t(a,s,e,n,i,r),a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}var tW={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},eW=KH;function nW(t){_V(t),t.registerComponentModel(ZH),t.registerComponentView(eW),qH(t)}var iW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=ih(aV.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(aV),rW=iW,oW=qs,aW="horizontal",sW="vertical",lW=["line","bar","candlestick","scatter"],uW={easing:"cubicOut",duration:100,delay:0},hW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return o(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=H(this._onBrush,this),this._onBrushEnd=H(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),Mm(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Tm(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new Ur;
vendor: 4,225 bytes, line 1
1this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,i=this._findCoordRect(),r={width:e.getWidth(),height:e.getHeight()},o=this._orient===aW?{right:r.width-i.x-i.width,top:r.height-30-7-n,width:i.width,height:30}:{right:7,top:i.y,width:30,height:i.height},a=ac(t.option);B(["right","top","width","height"],(function(t){"ph"===a[t]&&(a[t]=o[t])}));var s=nc(a,r);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===sW&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==aW||r?n===aW&&r?{scaleY:a?1:-1,scaleX:-1}:n!==sW||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new oW({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new oW({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:H(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],f=[0,e[0]],d=[[e[0],0],[0,0]],g=[],m=f[1]/(r.count()-1),v=0,y=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(y>0&&e%y)v+=m;else{var n=null==t||isNaN(t)||""===t,i=n?0:to(t,u,p,!0);n&&!c&&e?(d.push([d[d.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(d.push([v,0]),g.push([v,0])),d.push([v,i]),g.push([v,i]),v+=m,c=n}})),s=this._shadowPolygonPts=d,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var _=this.dataZoomModel,x=0;x<3;x++){var b=w(1===x);this._displayables.sliderGroup.add(b),this._displayables.dataShadowSegs.push(b)}}}function w(t){var e=_.getModel(t?"selectedDataBackground":"dataBackground"),n=new Ur,i=new og({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new lg({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){B(t.getAxisProxy(r,o).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&R(lW,t.get("type"))<0)){var a,s=i.getComponent(tV(r),o).axis,l=function(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new oW({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new oW({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[
vendor: 4,670 bytes, line 1
11],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),B([0,1],(function(e){var o=a.get("handleIcon");!Cv[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o);var s=Dv(o,-1,0,2,2,null,!0);s.attr({cursor:cW(this._orient),draggable:!0,drift:H(this._onDragMove,this,e),ondragend:H(this._onDragEnd,this),onmouseover:H(this._showDataInfo,this,!0),onmouseout:H(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=eo(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),ou(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle"),p=(a.get("handleLabel")||{}).show||!1;t.add(i[e]=new pl({silent:!0,invisible:!p,style:ku(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=eo(a.get("moveHandleSize"),o[1]),f=e.moveHandle=new qs({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),d=.8*p,g=e.moveHandleIcon=Dv(a.get("moveHandleIcon"),-d/2,-d/2,d,d,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,f.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(o[1]/2,Math.max(p,10));(c=e.moveZone=new qs({invisible:!0,shape:{y:o[1]-m,height:p+m}})).on("mouseover",(function(){s.enterEmphasis(f)})).on("mouseout",(function(){s.leaveEmphasis(f)})),r.add(f),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:cW(this._orient),drift:H(this._onDragMove,this,"all"),ondragstart:H(this._showDataInfo,this,!0),ondragend:H(this._onDragEnd,this),onmouseover:H(this._showDataInfo,this,!0),onmouseout:H(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[to(t[0],[0,100],e,!0),to(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];kL(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?to(o.minSpan,a,r,!0):null,null!=o.maxSpan?to(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=io([to(i[0],r,a,!0),to(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=io(n.slice()),r=this._size;B([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;l<a.length;l++){var u=a[l],h=u.getClipPath();h||(h=new qs,u.setClipPath(h)),h.setShape({x:s[l],y:0,width:s[l+1]-s[l],height:r[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,i=n.handleLabels,r=this._orient,o=["",""];if(e.get("showDetail")){var a=e.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=t?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var h=io(this._handleEnds.slice());function c(t){var e=Kg(n.handles[t].parent,this.group),a=Qg(0===t?"right":"left",e),s=this._handleWidth/2+5,l=Jg([h[t]+(0===t?-s:s),this._size[1]/2],e);i[t].setStyle({x:l[0],y:l[1],verticalAlign:r===aW?"middle":a,align:r===aW?a:"center",text:o[t]})}c.call(this,0),c.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),r=n.get("labelPrecision");null!=r&&"auto"!==r||(r=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(r,20));return U(i)?i(t,o):X(i)?i.replace("{value}",o):o},e.prototype._showDataInfo=function(t){var e=(this.dataZoomModel.get("handleLabel")||{}).show||!1,n=this.dataZoomModel.getModel(["emphasis","handleLabel"]).get("show")||!1,i=t||this._dragging?n:e,r=this._displayables,o=r.handleLabels;o[0].attr("invisible",!i),o[1].attr("invisible",!i),r.moveHandle&&this.api[i?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,i){this._dragging=!0,ce(i.event);
vendor: 12,678 bytes, line 1
1var r=Jg([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),o=this._updateInterval(t,r[0]),a=this.dataZoomModel.get("realtime");this._updateView(!a),o&&a&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Me(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var i=this._getViewExtent(),r=[0,100];this._range=io([to(n.x,i,r,!0),to(n.x+n.width,i,r,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ce(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new oW({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?uW:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=nV(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(hV);function cW(t){return"vertical"===t?"ns-resize":"ew-resize"}var pW=hW;function fW(t){t.registerComponentModel(rW),t.registerComponentView(pW),_V(t)}var dW={get:function(t,e,n){var i=k((gW[t]||{})[e]);return n&&Z(i)?i[i.length-1]:i}},gW={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]}},mW=dW,vW=yk.mapVisual,yW=yk.eachVisual,_W=Z,xW=B,bW=io,wW=to,SW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return o(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Uj(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=H(t,this),this.controllerVisuals=Zj(this.option.controller,e,t),this.targetVisuals=Zj(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Co(t),e},e.prototype.eachTargetSeries=function(t,e){B(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],Z(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return X(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):U(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=bW([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});P(i,n),P(r,n);var o=this.isCategory();function a(n){_W(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}a.call(this,i),a.call(this,r),function(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},xW(i,(function(t,e){if(yk.isValidType(e)){var n=mW.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}.call(this,i,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol()||"roundRect";xW(this.stateList,(function(a){var s=this.itemSize,l=t[a];l||(l=t[a]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&k(e)||(o?r:[r])),null==l.symbolSize&&(l.symbolSize=n&&k(n)||(o?s[0]:[s[0],s[0]])),l.symbol=vW(l.symbol,(function(t){return"none"===t?r:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;yW(u,(function(t){t>h&&(h=t)})),l.symbolSize=vW(u,(function(t){return wW(t,[0,h],[0,s[0]],!0)}))}}),this)}.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,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,textStyle:{color:"#333"}},e}(hc),MW=SW,TW=[20,140],CW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=TW[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=TW[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):Z(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),B(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=io((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=AW(this,"outOfRange",this.getExtent()),n=AW(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;a<l&&(!n.length||e[a]<=n[0]);a++)e[a]<n[o]&&r(e[a],"outOfRange");for(var u=1;o<s;o++,u=0)u&&i.length&&r(n[o],"outOfRange"),r(n[o],"inRange");for(u=1;a<l;a++)(!n.length||n[n.length-1]<e[a])&&(u&&(i.length&&r(i[i.length-1].value,"outOfRange"),u=0),r(e[a],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=ih(MW.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(MW);function AW(t,e,n){if(n[0]===n[1])return n.slice();for(var i=(n[1]-n[0])/200,r=n[0],o=[],a=0;a<=200&&r<n[1];a++)o.push(r),r+=i;return o.push(n[1]),o}var IW=CW,DW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return o(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,i){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,i):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=Wh(e.get("padding")||0),i=t.getBoundingRect();t.add(new qs({z2:-1,silent:!0,shape:{x:i.x-n[3],y:i.y-n[0],width:i.width+n[3]+n[1],height:i.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var i=(n=n||{}).forceState,r=this.visualMapModel,o={};if("color"===e){var a=r.get("contentColor");o.color=a}function s(t){return o[t]}function l(t,e){o[t]=e}var u=r.controllerVisuals[i||r.getValueState(t)];return B(yk.prepareVisualTypes(u),(function(i){var r=u[i];n.convertOpacityToAlpha&&"opacity"===i&&(i="colorAlpha",r=u.__alphaForOpacity),yk.dependsOn(i,e)&&r&&r.applyVisual(t,s,l)})),o[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;ic(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,i){},e.type="visualMap",e}(ud),kW=DW,PW=[["left","right","width"],["top","bottom","height"]];function LW(t,e,n){var i=t.option,r=i.align;if(null!=r&&"auto"!==r)return r;for(var o={width:e.getWidth(),height:e.getHeight()},a="horizontal"===i.orient?1:0,s=PW[a],l=[0,null,10],u={},h=0;h<3;h++)u[PW[1-a][h]]=l[h],u[s[h]]=2===h?n[0]:i[s[h]];var c=[["x","width",3],["y","height",0]][a],p=nc(u,o,i.padding);return s[(p.margin[c[2]]||0)+p[c[0]]+.5*p[c[1]]<.5*o[c[1]]?0:1]}function OW(t,e){return B(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var EW=to,RW=B,NW=Math.min,FW=Math.max,BW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return o(e,t),e.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=H(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=H(this._hideIndicator,this)},e.prototype.doRender=function(t,e,n,i){i&&"selectDataRange"===i.type&&i.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackgroun
vendor: 7,136 bytes, line 1
1d(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var i=e[1-n];i=null!=i?i+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===n?-o:a[1]+o],s),u=this._applyTransform(0===n?"bottom":"top",s),h=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new pl({style:ku(c,{x:l[0],y:l[1],verticalAlign:"horizontal"===h?"middle":u,align:"horizontal"===h?u:"center",text:i})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,i=e.itemSize,r=this._orient,o=this._useHandle,a=LW(e,this.api,i),s=n.mainGroup=this._createBarGroup(a),l=new Ur;s.add(l),l.add(n.outOfRange=zW()),l.add(n.inRange=zW(null,o?jW(this._orient):null,H(this._dragHandle,this,"all",!1),H(this._dragHandle,this,"all",!0))),l.setClipPath(new qs({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),h=FW(u.width,u.height);o&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,i,h,r),this._createHandle(e,s,1,i,h,r)),this._createIndicator(e,s,i,h,r),t.add(s)},e.prototype._createHandle=function(t,e,n,i,r,o){var a=H(this._dragHandle,this,n,!1),s=H(this._dragHandle,this,n,!0),l=Lr(t.get("handleSize"),i[0]),u=Dv(t.get("handleIcon"),-l/2,-l/2,l,l,null,!0),h=jW(this._orient);u.attr({cursor:h,draggable:!0,drift:a,ondragend:s,onmousemove:function(t){ce(t.event)}}),u.x=i[0]/2,u.useStyle(t.getModel("handleStyle").getItemStyle()),u.setStyle({strokeNoScale:!0,strokeFirst:!0}),u.style.lineWidth*=2,u.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),cu(u,!0),e.add(u);var c=this.visualMapModel.textStyleModel,p=new pl({cursor:h,draggable:!0,drift:a,onmousemove:function(t){ce(t.event)},ondragend:s,style:ku(c,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var f=[l,0],d=this._shapes;d.handleThumbs[n]=u,d.handleLabelPoints[n]=f,d.handleLabels[n]=p},e.prototype._createIndicator=function(t,e,n,i,r){var o=Lr(t.get("indicatorSize"),n[0]),a=Dv(t.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);a.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(a instanceof Gs){var l=a.style;a.useStyle(O({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},s))}else a.useStyle(s);e.add(a);var u=this.visualMapModel.textStyleModel,h=new pl({silent:!0,invisible:!0,style:ku(u,{x:0,y:0,text:""})});this.group.add(h);var c=[("horizontal"===r?i/2:6)+n[0]/2,0],p=this._shapes;p.indicator=a,p.indicatorLabel=h,p.indicatorLabelPoint=c,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,i){if(this._useHandle){if(this._dragging=!e,!e){var r=this._applyTransform([n,i],this._shapes.mainGroup,!0);this._updateInterval(t,r[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():VW(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),i=[0,t.itemSize[1]];this._handleEnds=[EW(e[0],n,i,!0),EW(e[1],n,i,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,i=this._handleEnds,r=[0,n.itemSize[1]];kL(e,i,r,t,0);var o=n.getExtent();this._dataInterval=[EW(i[0],r,o,!0),EW(i[1],r,o,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),i=this._shapes,r=[0,e.itemSize[1]],o=t?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,n,o,"inRange"),s=this._createBarVisual(n,n,r,"outOfRange");i.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),i.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},e.prototype._createBarVisual=function(t,e,n,i){var r={forceState:i,convertOpacityToAlpha:!0},o=this._makeColorGradient(t,r),a=[this.getControllerVisual(t[0],"symbolSize",r),this.getControllerVisual(t[1],"symbolSize",r)],s=this._createBarPoints(n,a);return{barColor:new Mg(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],i=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var r=1;r<100;r++){var o=t[0]+i*r;if(o>t[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:r/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new Ur("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);RW([0,1],(function(u){var h=r[u];h.setStyle("fill",e.handlesColor[u]),h.y=t[u];var c=EW(t[u],[0,a[1]],s,!0),p=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=p/a[0],h.x=a[0]-p/2;var f=Jg(n.handleLabelPoints[u],Kg(h,this.group));if("horizontal"===this._orient){var d="left"===l||"top"===l?(a[0]-p)/2:(a[0]-p)/-2;f[1]+=d}o[u].setStyle({x:f[0],y:f[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(t,"symbolSize"),p=EW(t,o,s,!0),f=a[0]-c/2,d={x:u.x,y:u.y};u.y=p,u.x=f;var g=Jg(l.indicatorLabelPoint,Kg(u,this.group)),m=l.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",l.mainGroup),y="horizontal"===this._orient;m.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:y?v:"middle",align:y?"center":v});var _={x:f,y:p,style:{fill:h}},x={style:{x:g[0],y:g[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=d.x,u.y=d.y,u.animateTo(_,b),m.animateTo(x,b)}else u.attr(_),m.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var S=0;S<w.length;S++)this.api.enterBlur(w[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,i=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,
vendor: 47,381 bytes, line 1
1!0);i[1]=NW(FW(0,i[1]),n[1]),t._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,i=n.itemSize;if(n.option.hoverLink){var r=[0,i[1]],o=n.getExtent();t=NW(FW(r[0],t),r[1]);var a=function(t,e,n){var i=6,r=t.get("hoverLinkDataSize");r&&(i=EW(r,e,n,!0)/2);return i}(n,o,r),s=[t-a,t+a],l=EW(t,r,o,!0),u=[EW(s[0],r,o,!0),EW(s[1],r,o,!0)];s[0]<r[0]&&(u[0]=-1/0),s[1]>r[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||VW(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=function(t,e){var n={},i={};return r(t||[],n),r(e||[],i,n),[o(n),o(i)];function r(t,e,n){for(var i=0,r=t.length;i<r;i++){var o=Eo(t[i].seriesId,null);if(null==o)return;for(var a=Co(t[i].dataIndex),s=n&&n[o],l=0,u=a.length;l<u;l++){var h=a[l];s&&s[h]?s[h]=null:(e[o]||(e[o]={}))[h]=1}}}function o(t,e){var n=[];for(var i in t)if(t.hasOwnProperty(i)&&null!=t[i])if(e)n.push(+i);else{var r=o(t[i],!0);r.length&&n.push({seriesId:i,dataIndex:r})}return n}}(h,c);this._dispatchHighDown("downplay",OW(p[0],n)),this._dispatchHighDown("highlight",OW(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(mv(t.target,(function(t){var n=fl(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this.api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",OW(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,i){var r=Kg(e,i?null:this.group);return Z(t)?Jg(t,r,n):Qg(t,r,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(kW);function zW(t,e,n,i){return new og({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){ce(t.event)},ondragend:i})}function VW(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function jW(t){return"vertical"===t?"ns-resize":"ew-resize"}var GW=BW,HW={type:"selectDataRange",event:"dataRangeSelected",update:"update"},WW=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},ZW=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var i,r,o,a,s,l=t.pipelineContext;!e.isTargetSeries(t)||l&&l.large||n.push((i=e.stateList,r=e.targetVisuals,o=H(e.getValueState,e),a=e.getDataDimensionIndex(t.getData()),s={},B(i,(function(t){var e=yk.prepareVisualTypes(r[t]);s[t]=e})),{progress:function(t,e){var n,i;function l(t){return cv(e,i,t)}function u(t,n){fv(e,i,t,n)}null!=a&&(n=e.getDimensionIndex(a));for(var h=e.getStore();null!=(i=t.next());){var c=e.getRawDataItem(i);if(!c||!1!==c.visualMap)for(var p=null!=a?h.get(n,i):i,f=o(p),d=r[f],g=s[f],m=0,v=g.length;m<v;m++){var y=g[m];d[y]&&d[y].applyVisual(p,l,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),i=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var r=e.getVisualMeta(H(UW,null,t,e))||{stops:[],outerColors:[]},o=e.getDataDimensionIndex(n);o>=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function UW(t,e,n,i){for(var r=e.targetVisuals[i],o=yk.prepareVisualTypes(r),a={color:pv(t.getData(),"color")},s=0,l=o.length;s<l;s++){var u=o[s],h=r["opacity"===u?"__alphaForOpacity":u];h&&h.applyVisual(n,c,p)}return a.color;function c(t){return a[t]}function p(t,e){a[t]=e}}var XW=B;function $W(t){var e=t&&t.visualMap;Z(e)||(e=e?[e]:[]),XW(e,(function(t){if(t){YW(t,"splitList")&&!YW(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&Z(e)&&XW(e,(function(t){q(t)&&(YW(t,"start")&&!YW(t,"min")&&(t.min=t.start),YW(t,"end")&&!YW(t,"max")&&(t.max=t.end))}))}}))}function YW(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var qW=!1;function KW(t){qW||(qW=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(HW,WW),B(ZW,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor($W))}function JW(t){t.registerComponentModel(IW),t.registerComponentView(GW),KW(t)}var QW=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return o(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],tZ[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=k(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=z(this._pieceList,(function(t){return t=k(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=yk.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}B(e.pieces,(function(t){B(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),B(n,(function(t,n){var i=!1;B(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&B(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=mW.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,B(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;B(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=k(t)},e.prototype.getValueState=function(t){var e=yk.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){yk.findPieceIndex(e,n)===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),(o=r[r.length-1].interval[1])!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return B(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=ih(MW.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(MW),tZ={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;for(var o=(i[1]-i[0])/r;+o.toFixed(n)!==o&&n<5;)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];a<r;s+=o,a++){var l=a===r-1?i[1]:s+o;t.push({interval:[s,l],close:[1,1]})}e.maxOpen&&t.push({interval:[i[1],1/0],close:[0,0]}),vo(t),B(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;B(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),eZ(e,t)},pieces:function(t){var e=this.option;B(e.pieces,(function(e,n){q(e)||(e={value:e});var i={text:"",index:n};if(null!=e.label&&(i.text=e.label),e.hasOwnProperty("value")){var r=i.value=e.value;i.interval=[r,r],i.close=[1,1]}else{for(var o=i.interval=[],a=i.close=[0,0],s=[1,0,1],l=[-1/0,1/0],u=[],h=0;h<2;h++){for(var c=[["gte","gt","min"],["lte","lt","max"]][h],p=0;p<3&&null==o[h];p++)o[h]=e[c[p]],a[h]=s[p],u[h]=2===p;null==o[h]&&(o[h]=l[h])}u[0]&&o[1]===1/0&&(a[0]=0),u[1]&&o[0]===-1/0&&(a[1]=0),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=yk.retrieveVisuals(e),t.push(i)}),this),eZ(e,t),vo(t),B(t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function eZ(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var nZ=QW,iZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return o(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=nt(e.get("showLabel",!0),!u),c=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,h,a),B(l.viewPieceList,(function(i){var l=i.piece,u=new Ur;u.onclick=H(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var p=e.getRepresentValue(l);if(this._createItemSymbol(u,p,[0,0,s[0],s[1]],c),h){var f=this.visualMapModel.getValueState(p);u.add(new pl({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===f?.5:1},silent:c}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),ec(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:OW(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return LW(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new Ur,a=this.visualMapModel.textStyleModel;o.add(new pl({style:ku(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=z(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=Dv(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=k(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,B(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(kW),rZ=iZ;function oZ(t){t.registerComponentModel(nZ),t.registerComponentView(rZ),KW(t)}var aZ={label:{enabled:!0},decal:{show:!1}},sZ=Bo(),lZ={};function uZ(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=k(aZ);P(i.label,t.getLocaleModel().get("aria"),!1),P(n.option,i,!1),function(){if(n.getModel("decal").get("show")){var e=gt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),sZ(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(U(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=Fc(e.ecModel,e.name,lZ,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=sZ(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=Fc(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?O(O({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var i=e.getZr().dom;if(!i)return;var o=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=E(a.option,o),!a.get("enabled"))return;if(i.setAttribute("role","img"),a.get("description"))return void i.setAttribute("aria-label",a.get("description"));var s,l=t.getSeriesCount(),u=a.get(["data","maxCount"])||10,h=a.get(["series","maxCount"])||10,c=Math.min(l,h);if(l<1)return;var p=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();s=p?r(a.get(["general","withTitle"]),{title:p}):a.get(["general","withoutTitle"]);var f=[];s+=r(l>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]),{seriesCount:l}),t.eachSeries((function(e,n){if(n<c){var i=void 0,o=e.get("name")?"withName":"withoutName";i=r(i=l>1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(x=e.subType,b=t.getLocaleModel().get(["series","typeNames"]),b[x]||b.chart)});var s=e.getData();if(s.count()>u)i+=r(a.get(["data","partialData"]),{displayCnt:u});else i+=a.get(["data","allData"]);for(var h=a.get(["data","separator","middle"]),p=a.get(["data","separator","end"]),d=a.get(["data","excludeDimensionId"]),g=[],m=0;m<s.count();m++)if(m<u){var v=s.getName(m),y=d?j(s.getValues(m),(function(t,e){return-1===R(d,e)})):s.getValues(m),_=a.get(["data",v?"withName":"withoutName"]);g.push(r(_,{name:v,value:y.join(h)}))}i+=g.join(h)+p,f.push(i)}var x,b}));var d=a.getModel(["series","multiple","separator"]),g=d.get("middle"),m=d.get("end");s+=f.join(g)+m,i.setAttribute("aria-label",s)}()}function r(t,e){if(!X(t))return t;var n=t;return B(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}}function hZ(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},B(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var cZ={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},pZ=function(){function t(t){var e;if(null==(this._condVal=X(t)?new RegExp(t):(e=t,"[object RegExp]"===y.call(e)?t:null))){0,Qp("")}}return t.prototype.evaluate=function(t){var e=typeof t;return X(e)?this._condVal.test(t):!!Y(e)&&this._condVal.test(t+"")},t}(),fZ=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),dZ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),gZ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),mZ=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),vZ=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function yZ(t,e){if(!0===t||!1===t){var n=new fZ;return n.value=t,n}return xZ(t)||Qp(""),t.and?_Z("and",t,e):t.or?_Z("or",t,e):t.not?function(t,e){var n=t.not,i="";0;xZ(n)||Qp(i);var r=new mZ;r.child=yZ(n,e),r.child||Qp(i);return r}(t,e):function(t,e){for(var n="",i=e.prepareGetValue(t),r=[],o=G(t),a=t.parser,s=a?nf(a):null,l=0;l<o.length;l++){var u=o[l];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var h=_t(cZ,u)?cZ[u]:u,c=t[u],p=s?s(c):c,f=lf(h,p)||"reg"===h&&new pZ(p);f||Qp(n),r.push(f)}}r.length||Qp(n);var d=new vZ;return d.valueGetterParam=i,d.valueParser=s,d.getValue=e.getValue,d.subCondList=r,d}(t,e)}function _Z(t,e,n){var i=e[t];Z(i)||Qp(""),i.length||Qp("");var r="and"===t?new dZ:new gZ;return r.children=z(i,(function(t){return yZ(t,n)})),r.children.length||Qp(""),r}function xZ(t){return q(t)&&!F(t)}var bZ=function(){function t(t,e){this._cond=yZ(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var wZ={type:"echarts:filter",transform:function(t){for(var e,n,i,r=t.upstream,o=(n=t.config,i={valueGetterAttrMap:gt({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;_t(t,"dimension")||Qp("");var n=r.getDimensionInfo(e);return n||Qp(""),{dimIdx:n.index}},getValue:function(t){return r.retrieveValueFromItem(e,t.dimIdx)}},new bZ(n,i)),a=[],s=0,l=r.count();s<l;s++)e=r.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}};var SZ={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,i="",r=Co(n);r.length||Qp(i);var o=[];B(r,(function(t){var n=t.dimension,r=t.order,a=t.parser,s=t.incomparable;if(null==n&&Qp(i),"asc"!==r&&"desc"!==r&&Qp(i),s&&"min"!==s&&"max"!==s){0,Qp("")}if("asc"!==r&&"desc"!==r){0,Qp("")}var l=e.getDimensionInfo(n);l||Qp(i);var u=a?nf(a):null;a&&!u&&Qp(i),o.push({dimIdx:l.index,parser:u,comparator:new af(r,s)})}));var a=e.sourceFormat;a!==mc&&a!==vc&&Qp(i);for(var s=[],l=0,u=e.count();l<u;l++)s.push(e.getRawDataItem(l));return s.sort((function(t,n){for(var i=0;i<o.length;i++){var r=o[i],a=e.retrieveValueFromItem(t,r.dimIdx),s=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(a=r.parser(a),s=r.parser(s));var l=r.comparator.evaluate(a,s);if(0!==l)return l}return 0})),{data:s}}};var MZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new If(this),Df(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),Df(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:bc},e}(hc),TZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return o(e,t),e.type="dataset",e}(ud);var CZ=fs.CMD;function AZ(t,e){return Math.abs(t-e)<1e-5}function IZ(t){var e,n,i,r,o,a=t.data,s=t.len(),l=[],u=0,h=0,c=0,p=0;function f(t,n){e&&e.length>2&&l.push(e),e=[t,n]}function d(t,n,i,r){AZ(t,i)&&AZ(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=n<t?-1:1,h=Math.cos(t),c=Math.sin(t),p=Math.cos(n),f=Math.sin(n),d=h*o+i,g=c*a+r,m=p*o+i,v=f*a+r,y=o*l*u,_=a*l*u;e.push(d-y*c,g+_*h,m+y*f,v-_*p,m,v)}for(var m=0;m<s;){var v=a[m++],y=1===m;switch(y&&(c=u=a[m],p=h=a[m+1],v!==CZ.L&&v!==CZ.C&&v!==CZ.Q||(e=[c,p])),v){case CZ.M:u=c=a[m++],h=p=a[m++],f(c,p);break;case CZ.L:d(u,h,n=a[m++],i=a[m++]),u=n,h=i;break;case CZ.C:e.push(a[m++],a[m++],a[m++],a[m++],u=a[m++],h=a[m++]);break;case CZ.Q:n=a[m++],i=a[m++],r=a[m++],o=a[m++],e.push(u+2/3*(n-u),h+2/3*(i-h),r+2/3*(n-r),o+2/3*(i-o),r,o),u=r,h=o;break;case CZ.A:var _=a[m++],x=a[m++],b=a[m++],w=a[m++],S=a[m++],M=a[m++]+S;m+=1;var T=!a[m++];n=Math.cos(S)*b+_,i=Math.sin(S)*w+x,y?f(c=n,p=i):d(u,h,n,i),u=Math.cos(M)*b+_,h=Math.sin(M)*w+x;for(var C=(T?-1:1)*Math.PI/2,A=S;T?A>M:A<M;A+=C){g(A,T?Math.max(A+C,M):Math.min(A+C,M),_,x,b,w)}break;case CZ.R:c=u=a[m++],p=h=a[m++],n=c+a[m++],i=p+a[m++],f(n,p),d(n,p,n,i),d(n,i,c,i),d(c,i,c,p),d(c,p,n,p);break;case CZ.Z:e&&d(u,h,c,p),u=c,h=p}}return e&&e.length>2&&l.push(e),l}function DZ(t,e,n,i,r,o,a,s,l,u){if(AZ(t,n)&&AZ(e,i)&&AZ(r,a)&&AZ(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,f=s-e,d=Math.sqrt(p*p+f*f);p/=d,f/=d;var g=n-t,m=i-e,v=r-a,y=o-s,_=g*g+m*m,x=v*v+y*y;if(_<c&&x<c)l.push(a,s);else{var b=p*g+f*m,w=-p*v-f*y;if(_-b*b<c&&b>=0&&x-w*w<c&&w>=0)l.push(a,s);else{var S=[],M=[];Cn(t,n,r,a,.5,S),Cn(e,i,o,s,.5,M),DZ(S[0],M[0],S[1],M[1],S[2],M[2],S[3],M[3],l,u),DZ(S[4],M[4],S[5],M[5],S[6],M[6],S[7],M[7],l,u)}}}}function kZ(t,e,n){var i=t[e],r=t[1-e],o=Math.abs(i/r),a=Math.ceil(Math.sqrt(o*n)),s=Math.floor(n/a);0===s&&(s=1,a=n);for(var l=[],u=0;u<a;u++)l.push(s);var h=n-a*s;if(h>0)for(u=0;u<h;u++)l[u%a]+=1;return l}function PZ(t,e,n){for(var i=t.r0,r=t.r,o=t.startAngle,a=t.endAngle,s=Math.abs(a-o),l=s*r,u=r-i,h=l>Math.abs(u),c=kZ([l,u],h?0:1,e),p=(h?s:u)/c.length,f=0;f<c.length;f++)for(var d=(h?u:s)/c[f],g=0;g<c[f];g++){var m={};h?(m.startAngle=o+p*f,m.endAngle=o+p*(f+1),m.r0=i+d*g,m.r=i+d*(g+1)):(m.startAngle=o+d*g,m.endAngle=o+d*(g+1),m.r0=i+p*f,m.r=i+p*(f+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function LZ(t,e,n,i){return t*i-n*e}function OZ(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=LZ(h,c,l,u);if(Math.abs(p)<1e-6)return null;var f=LZ(t-r,e-o,h,c)/p;return f<0||f>1?null:new Me(f*l+t,f*u+e)}function EZ(t,e,n){var i=new Me;Me.sub(i,n,e),i.normalize();var r=new Me;return Me.sub(r,t,e),r.dot(i)}function RZ(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function NZ(t){var e=t.points,n=[],i=[];ja(e,n,i);var r=new Ee(n[0],n[1],i[0]-n[0],i[1]-n[1]),o=r.width,a=r.height,s=r.x,l=r.y,u=new Me,h=new Me;return o>a?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),function(t,e,n){for(var i=t.length,r=[],o=0;o<i;o++){var a=t[o],s=t[(o+1)%i],l=OZ(a[0],a[1],s[0],s[1],e.x,e.y,n.x,n.y);l&&r.push({projPt:EZ(l,e,n),pt:l,idx:o})}if(r.length<2)return[{points:t},{points:t}];r.sort((function(t,e){return t.projPt-e.projPt}));var u=r[0],h=r[r.length-1];if(h.idx<u.idx){var c=u;u=h,h=c}var p=[u.pt.x,u.pt.y],f=[h.pt.x,h.pt.y],d=[p],g=[f];for(o=u.idx+1;o<=h.idx;o++)RZ(d,t[o].slice());for(RZ(d,f),RZ(d,p),o=h.idx+1;o<=u.idx+i;o++)RZ(g,t[o%i].slice());return RZ(g,p),RZ(g,f),[{points:d},{points:g}]}(e,u,h)}function FZ(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);FZ(t,o[0],r,i),FZ(t,o[1],n-r,i)}return i}function BZ(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function zZ(t,e){var n,i=[],r=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var i=t.width,r=t.height,o=i>r,a=kZ([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p<a.length;p++)for(var f=t[l]/a[p],d=0;d<a[p];d++){var g={};g[u]=p*c,g[h]=d*f,g[s]=c,g[l]=f,g.x+=t.x,g.y+=t.y,n.push(g)}}(r,e,i),n=qs;break;case"sector":PZ(r,e,i),n=Jd;break;case"circle":PZ({r0:0,r:r.r,startAngle:0,endAngle:2*Math.PI,cx:r.cx,cy:r.cy},e,i),n=Jd;break;default:var o=t.getComputedTransform(),a=o?Math.sqrt(Math.max(o[0]*o[0]+o[1]*o[1],o[2]*o[2]+o[3]*o[3])):1,s=z(function(t,e){var n=IZ(t),i=[];e=e||1;for(var r=0;r<n.length;r++){var o=n[r],a=[],s=o[0],l=o[1];a.push(s,l);for(var u=2;u<o.length;){var h=o[u++],c=o[u++],p=o[u++],f=o[u++],d=o[u++],g=o[u++];DZ(s,l,h,c,p,f,d,g,a,e),s=d,l=g}i.push(a)}return i}(t.getUpdatedPathProxy(),a),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),l=s.length;if(0===l)FZ(NZ,{points:s[0]},e,i);else if(l===e)for(var u=0;u<l;u++)i.push({points:s[u]});else{var h=0,c=z(s,(function(t){var e=[],n=[];ja(t,e,n);var i=(n[1]-e[1])*(n[0]-e[0]);return h+=i,{poly:t,area:i}}));c.sort((function(t,e){return e.area-t.area}));var p=e;for(u=0;u<l;u++){var f=c[u];if(p<=0)break;var d=u===l-1?p:Math.ceil(f.area/h*e);d<0||(FZ(NZ,{points:f.poly},d,i),p-=d)}}n=og}if(!n)return function(t,e){for(var n=[],i=0;i<e;i++)n.push(kd(t));return n}(t,e);var g=[];for(u=0;u<i.length;u++){var m=new n;m.setShape(i[u]),BZ(t,m),g.push(m)}return g}function VZ(t,e){var n=t.length,i=e.length;if(n===i)return[t,e];for(var r=[],o=[],a=n<i?t:e,s=Math.min(n,i),l=Math.abs(i-n)/6,u=(s-2)/6,h=Math.ceil(l/u)+1,c=[a[0],a[1]],p=l,f=2;f<s;){var d=a[f-2],g=a[f-1],m=a[f++],v=a[f++],y=a[f++],_=a[f++],x=a[f++],b=a[f++];if(p<=0)c.push(m,v,y,_,x,b);else{for(var w=Math.min(p,h-1)+1,S=1;S<=w;S++){var M=S/w;Cn(d,m,y,x,M,r),Cn(g,v,_,b,M,o),d=r[3],g=o[3],c.push(r[1],o[1],r[2],o[2],d,g),m=r[5],v=o[5],y=r[6],_=o[6]}p-=w-1}}return a===t?[c,e]:[t,c]}function jZ(t,e){for(var n=t.length,i=t[n-2],r=t[n-1],o=[],a=0;a<e.length;)o[a++]=i,o[a++]=r;return o}function GZ(t){for(var e=0,n=0,i=0,r=t.length,o=0,a=r-2;o<r;a=o,o+=2){var s=t[a],l=t[a+1],u=t[o],h=t[o+1],c=s*h-u*l;e+=c,n+=(s+u)*c,i+=(l+h)*c}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,i/e/3,e]}function HZ(t,e,n,i){for(var r=(t.length-2)/6,o=1/0,a=0,s=t.length,l=s-2,u=0;u<r;u++){for(var h=6*u,c=0,p=0;p<s;p+=2){var f=0===p?h:(h+p-2)%l+2,d=t[f]-n[0],g=t[f+1]-n[1],m=e[p]-i[0]-d,v=e[p+1]-i[1]-g;c+=m*m+v*v}c<o&&(o=c,a=u)}return a}function WZ(t){for(var e=[],n=t.length,i=0;i<n;i+=2)e[i]=t[n-i-2],e[i+1]=t[n-i-1];return e}function ZZ(t){return t.__isCombineMorphing}var UZ="__mOriginal_";function XZ(t,e,n){var i=UZ+e,r=t[i]||t[e];t[i]||(t[i]=t[e]);var o=n.replace,a=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=o?o.apply(this,e):r.apply(this,e),a&&a.apply(this,e),t}}function $Z(t,e){var n=UZ+e;t[n]&&(t[e]=t[n],t[n]=null)}function YZ(t,e){for(var n=0;n<t.length;n++)for(var i=t[n],r=0;r<i.length;){var o=i[r],a=i[r+1];i[r++]=e[0]*o+e[2]*a+e[4],i[r++]=e[1]*o+e[3]*a+e[5]}}function qZ(t,e){var n=t.getUpdatedPathProxy(),i=e.getUpdatedPathProxy(),r=function(t,e){for(var n,i,r,o=[],a=[],s=0;s<Math.max(t.length,e.length);s++){var l=t[s],u=e[s],h=void 0,c=void 0;l?u?(i=h=(n=VZ(l,u))[0],r=c=n[1]):(c=jZ(r||l,l),h=l):(h=jZ(i||u,u),c=u),o.push(h),a.push(c)}return[o,a]}(IZ(n),IZ(i)),o=r[0],a=r[1],s=t.getComputedTransform(),l=e.getComputedTransform();s&&YZ(o,s),l&&YZ(a,l),XZ(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,i){for(var r,o=[],a=0;a<t.length;a++){var s=t[a],l=e[a],u=GZ(s),h=GZ(l);null==r&&(r=u[2]<0!=h[2]<0);var c=[],p=[],f=0,d=1/0,g=[],m=s.length;r&&(s=WZ(s));for(var v=6*HZ(s,l,u,h),y=m-2,_=0;_<y;_+=2){var x=(v+_)%y+2;c[_+2]=s[x]-u[0],c[_+3]=s[x+1]-u[1]}if(c[0]=s[v]-u[0],c[1]=s[v+1]-u[1],n>0)for(var b=i/n,w=-i/2;w<=i/2;w+=b){var S=Math.sin(w),M=Math.cos(w),T=0;for(_=0;_<s.length;_+=2){var C=c[_],A=c[_+1],I=l[_]-h[0],D=l[_+1]-h[1],k=I*M-D*S,P=I*S+D*M;g[_]=k,g[_+1]=P;var L=k-C,O=P-A;T+=L*L+O*O}if(T<d){d=T,f=w;for(var E=0;E<g.length;E++)p[E]=g[E]}}else for(var R=0;R<m;R+=2)p[R]=l[R]-h[0],p[R+1]=l[R+1]-h[1];o.push({from:c,to:p,fromCp:u,toCp:h,rotation:-f})}return o}(o,a,10,Math.PI),h=[];XZ(e,"buildPath",{replace:function(t){for(var n=e.__morphT,i=1-n,r=[],o=0;o<u.length;o++){var a=u[o],s=a.from,l=a.to,c=a.rotation*n,p=a.fromCp,f=a.toCp,d=Math.sin(c),g=Math.cos(c);Bt(r,p,f,n);for(var m=0;m<s.length;m+=2){var v=s[m],y=s[m+1],_=v*i+(S=l[m])*n,x=y*i+(M=l[m+1])*n;h[m]=_*g-x*d+r[0],h[m+1]=_*d+x*g+r[1]}var b=h[0],w=h[1];t.moveTo(b,w);for(m=2;m<s.length;){var S=h[m++],M=h[m++],T=h[m++],C=h[m++],A=h[m++],I=h[m++];b===S&&w===M&&T===A&&C===I?t.lineTo(A,I):t.bezierCurveTo(S,M,T,C,A,I),b=A,w=I}}}})}function KZ(t,e,n){if(!t||!e)return e;var i=n.done,r=n.during;return qZ(t,e),e.__morphT=0,e.animateTo({__morphT:1},E({during:function(t){e.dirtyShape(),r&&r(t)},done:function(){$Z(e,"buildPath"),$Z(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),i&&i()}},n)),e}function JZ(t,e,n,i,r,o){t=r===n?0:Math.round(32767*(t-n)/(r-n)),e=o===i?0:Math.round(32767*(e-i)/(o-i));for(var a,s=0,l=32768;l>0;l/=2){var u=0,h=0;(t&l)>0&&(u=1),(e&l)>0&&(h=1),s+=l*l*(3*u^h),0===h&&(1===u&&(t=l-1-t,e=l-1-e),a=t,t=e,e=a)}return s}function QZ(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=z(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]}));return z(o,(function(o,a){return{cp:o,z:JZ(o[0],o[1],e,n,i,r),path:t[a]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function tU(t){return zZ(t.path,t.count)}function eU(t){return Z(t[0])}function nU(t,e){for(var n=[],i=t.length,r=0;r<i;r++)n.push({one:t[r],many:[]});for(r=0;r<e.length;r++){var o=e[r].length,a=void 0;for(a=0;a<o;a++)n[a%i].many.push(e[r][a])}var s=0;for(r=i-1;r>=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var iU={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i<t.count;i++){var r=kd(t.path);r.setStyle("opacity",n),e.push(r)}return e},split:null};function rU(t,e,n,i,r,o){if(t.length&&e.length){var a=mu("update",i,r);if(a&&a.duration>0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);eU(t)&&(s=t,l=e),eU(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?nU(l,s):nU(c?e:t,[c?t:e]),f=0,d=0;d<p.length;d++)f+=p[d].many.length;var g=0;for(d=0;d<p.length;d++)m(p[d],c,g,f),g+=p[d].many.length}}function m(t,e,i,r,a){var s=t.many,l=t.one;if(1!==s.length||a)for(var c=E({dividePath:iU[n],individualDelay:u&&function(t,e,n,o){return u(t+i,r)}},h),p=e?function(t,e,n){var i=[];!function t(e){for(var n=0;n<e.length;n++){var r=e[n];ZZ(r)?t(r.childrenRef()):r instanceof Rs&&i.push(r)}}(t);var r=i.length;if(!r)return{fromIndividuals:[],toIndividuals:[],count:0};var o=(n.dividePath||tU)({path:e,count:r});if(o.length!==r)return{fromIndividuals:[],toIndividuals:[],count:0};i=QZ(i),o=QZ(o);for(var a=n.done,s=n.during,l=n.individualDelay,u=new Mr,h=0;h<r;h++){var c=i[h],p=o[h];p.parent=e,p.copyTransform(u),l||qZ(c,p)}function f(t){for(var e=0;e<o.length;e++)o[e].addSelfToZr(t)}function d(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,$Z(e,"addSelfToZr"),$Z(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return o},XZ(e,"addSelfToZr",{after:function(t){f(t)}}),XZ(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<o.length;e++)o[e].removeSelfFromZr(t)}});var g=o.length;if(l){var m=g,v=function(){0==--m&&(d(),a&&a())};for(h=0;h<g;h++){var y=l?E({delay:(n.delay||0)+l(h,g,i[h],o[h]),done:v},n):n;KZ(i[h],o[h],y)}}else e.__morphT=0,e.animateTo({__morphT:1},E({during:function(t){for(var n=0;n<g;n++){var i=o[n];i.__morphT=e.__morphT,i.dirtyShape()}s&&s(t)},done:function(){d();for(var e=0;e<t.length;e++)$Z(t[e],"updateTransform");a&&a()}},n));return e.__zr&&f(e.__zr),{fromIndividuals:i,toIndividuals:o,count:g}}(s,l,c):function(t,e,n){var i=e.length,r=[],o=n.dividePath||tU;if(ZZ(t)){!function t(e){for(var n=0;n<e.length;n++){var i=e[n];ZZ(i)?t(i.childrenRef()):i instanceof Rs&&r.push(i)}}(t.childrenRef());var a=r.length;if(a<i)for(var s=0,l=a;l<i;l++)r.push(kd(r[s++%a]));r.length=i}else{r=o({path:t,count:i});var u=t.getComputedTransform();for(l=0;l<r.length;l++)r[l].setLocalTransform(u);if(r.length!==i)return{fromIndividuals:[],toIndividuals:[],count:0}}r=QZ(r),e=QZ(e);var h=n.individualDelay;for(l=0;l<i;l++){var c=h?E({delay:(n.delay||0)+h(l,i,r[l],e[l])},n):n;KZ(r[l],e[l],c)}return{fromIndividuals:r,toIndividuals:e,count:e.length}}(l,s,c),f=p.fromIndividuals,d=p.toIndividuals,g=f.length,v=0;v<g;v++){y=u?E({delay:u(v,g)},h):h;o(f[v],d[v],e?s[v]:t.one,e?t.one:s[v],y)}else{var y,_=e?s[0]:l,x=e?l:s[0];if(ZZ(_))m({many:[_],one:x},!0,i,r,!0);else KZ(_,x,y=u?E({delay:u(i,r)},h):h),o(_,x,_,x,y)}}}function oU(t){if(!t)return[];if(Z(t)){for(var e=[],n=0;n<t.length;n++)e.push(oU(t[n]));return e}var i=[];return t.traverse((function(t){t instanceof Rs&&!t.disableMorphing&&!t.invisible&&!t.ignore&&i.push(t)})),i}var aU=1e4,sU=0,lU=1,uU=2,hU=Bo();function cU(t,e,n,i){var r=function(t,e){for(var n=t.dimensions,i=0;i<n.length;i++){var r=t.getDimensionInfo(n[i]);if(r&&0===r.otherDims[e])return n[i]}}(t,i?"itemChildGroupId":"itemGroupId");if(r){var o=function(t,e,n){var i=t.getDimensionInfo(n),r=i&&i.ordinalMeta;if(i){var o=t.get(i.name,e);return r&&r.categories[o]||o+""}}(t,e,r);return o}var a=t.getRawDataItem(e),s=i?"childGroupId":"groupId";return a&&a[s]?a[s]+"":i?void 0:n||t.getId(e)}function pU(t){var e=[];return B(t,(function(t){var n=t.data,i=t.dataGroupId;if(!(n.count()>aU))for(var r=n.getIndices(),o=0;o<r.length;o++)e.push({data:n,groupId:cU(n,o,i,!1),childGroupId:cU(n,o,i,!0),divide:t.divide,dataIndex:o})})),e}function fU(t,e,n){t.traverse((function(t){t instanceof Rs&&_u(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function dU(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function gU(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function mU(t,e,n){var i=mu("update",n,e);i&&t.traverse((function(t){if(t instanceof La){var e=function(t){return gu(t).oldStyle}(t);e&&t.animateFrom({style:e},i)}}))}function vU(t,e,n){var i=pU(t),r=pU(e);function o(t,e,n,i,r){(n||t)&&e.animateFrom({style:n&&n!==t?O(O({},n.style),t.style):t.style},r)}var a=!1,s=sU,l=gt(),u=gt();i.forEach((function(t){t.groupId&&l.set(t.groupId,!0),t.childGroupId&&u.set(t.childGroupId,!0)}));for(var h=0;h<r.length;h++){var c=r[h].groupId;if(u.get(c)){s=lU;break}var p=r[h].childGroupId;if(p&&l.get(p)){s=uU;break}}function f(t,e){return function(n){var i=n.data,r=n.dataIndex;return e?i.getId(r):t?s===lU?n.childGroupId:n.groupId:s===uU?n.childGroupId:n.groupId}}var d=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++){var r=t[i],o=e[i];if(r.data.getId(r.dataIndex)!==o.data.getId(o.dataIndex))return!1}return!0}(i,r),g={};if(!d)for(h=0;h<r.length;h++){var m=r[h],v=m.data.getItemGraphicEl(m.dataIndex);v&&(g[v.id]=!0)}function y(t,e){var n=i[e],s=r[t],l=s.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),h=s.data.getItemGraphicEl(s.dataIndex);u!==h?u&&g[u.id]||h&&(gU(h),u?(gU(u),dU(u),a=!0,rU(oU(u),oU(h),s.divide,l,t,o)):fU(h,l,t)):h&&mU(h,s.dataIndex,l)}new Rb(i,r,f(!0,d),f(!1,d),null,"multiple").update(y).updateManyToOne((function(t,e){var n=r[t],s=n.data,l=s.hostModel,u=s.getItemGraphicEl(n.dataIndex),h=j(z(e,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==u&&!g[t.id]}));u&&(gU(u),h.length?(B(h,(function(t){gU(t),dU(t)})),a=!0,rU(oU(h),oU(u),n.divide,l,t,o)):fU(u,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=i[e],s=n.data.getItemGraphicEl(n.dataIndex);if(!s||!g[s.id]){var l=j(z(t,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==s})),u=r[t[0]].data.hostModel;l.length&&(B(l,(function(t){return gU(t)})),s?(gU(s),dU(s),a=!0,rU(oU(s),oU(l),n.divide,u,t[0],o)):B(l,(function(e){return fU(e,u,t[0])})))}})).updateManyToMany((function(t,e){new Rb(e,t,(function(t){return i[t].data.getId(i[t].dataIndex)}),(function(t){return r[t].data.getId(r[t].dataIndex)})).update((function(n,i){y(t[n],e[i])})).execute()})).execute(),a&&B(e,(function(t){var e=t.data.hostModel,i=e&&n.getViewOfSeriesModel(e),r=mu("update",e,0);i&&e.isAnimationEnabled()&&r&&r.duration>0&&i.group.traverse((function(t){t instanceof Rs&&!t.animators.length&&t.animateFrom({style:{opacity:0}},r)}))}))}function yU(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function _U(t){return Z(t)?t.sort().join(","):t}function xU(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function bU(t,e){var n=gt(),i=gt(),r=gt();return B(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=yU(e),l=_U(s);i.set(l,{dataGroupId:o,data:a}),Z(s)&&B(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),B(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),o=t.getData(),a=yU(t),s=_U(a),l=i.get(s);if(l)n.set(s,{oldSeries:[{dataGroupId:l.dataGroupId,divide:xU(l.data),data:l.data}],newSeries:[{dataGroupId:e,divide:xU(o),data:o}]});else if(Z(a)){0;var u=[];B(a,(function(t){var e=i.get(t);e.data&&u.push({dataGroupId:e.dataGroupId,divide:xU(e.data),data:e.data})})),u.length&&n.set(s,{oldSeries:u,newSeries:[{dataGroupId:e,data:o,divide:xU(o)}]})}else{var h=r.get(a);if(h){var c=n.get(h.key);c||(c={oldSeries:[{dataGroupId:h.dataGroupId,data:h.data,divide:xU(h.data)}],newSeries:[]},n.set(h.key,c)),c.newSeries.push({dataGroupId:e,data:o,divide:xU(o)})}}}})),n}function wU(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}y_([function(t){t.registerPainter("canvas",px)}]),y_([function(t){t.registerPainter("svg",Pb)}]),y_([function(t){t.registerChartView(nS),t.registerSeriesModel(vw),t.registerLayout(iS("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,aS("line"))},function(t){t.registerChartView(ZS),t.registerSeriesModel(xS),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,W(fS,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,dS("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,aS("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))},function(t){t.registerChartView(aM),t.registerSeriesModel(pM),dv("pie",t.registerAction),t.registerLayout(W(qS,"pie")),t.registerProcessor(JS("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(Y(i)&&!isNaN(i)&&i<0)}))}}}("pie"))},function(t){y_(EC),t.registerSeriesModel(dM),t.registerChartView(xM),t.registerLayout(iS("scatter"))},function(t){y_(tA),t.registerChartView(VC),t.registerSeriesModel(GC),t.registerLayout(RC),t.registerProcessor(JS("radar")),t.registerPreprocessor(BC)},function(t){y_($I),t.registerChartView(MI),t.registerSeriesModel(CI),t.registerLayout(II),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,AI),dv("map",t.registerAction)},function(t){t.registerChartView(fD),t.registerSeriesModel(PD),t.registerLayout(OD),t.registerVisual(ED),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree.getNodeByDataIndex(n);i.isExpand=!i.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=WI(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))}(t)},function(t){t.registerSeriesModel(zD),t.registerChartView(nk),t.registerVisual(xk),t.registerLayout(Ok),function(t){for(var e=0;e<RD.length;e++)t.registerAction({type:RD[e],update:"updateView"},xt);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var i=CD(t,["treemapZoomToNode","treemapRootToNode"],e);if(i){var r=e.getViewRoot();r&&(t.direction=ID(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))}))}(t)},function(t){t.registerChartView(BP),t.registerSeriesModel(XP),t.registerProcessor(zk),t.registerVisual(Vk),t.registerVisual(Gk),t.registerLayout(tP),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,lP),t.registerLayout(hP),t.registerCoordinateSystem("graphView",{dimensions:LI.dimensions,create:cP}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},xt),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},xt),t.registerAction($P,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=WI(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom)}))}))},function(t){t.registerChartView(tL),t.registerSeriesModel(nL)},function(t){t.registerChartView(aL),t.registerSeriesModel(lL),t.registerLayout(uL),t.registerProcessor(JS("funnel"))},function(t){y_(XO),t.registerChartView(gL),t.registerSeriesModel(yL),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,xL)},function(t){t.registerChartView(JO),t.registerSeriesModel(tE),t.registerLayout(eE),t.registerVisual(fE),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(mE),t.registerChartView(SE),t.registerLayout(TE),t.registerTransform(CE)},function(t){t.registerChartView(XE),t.registerSeriesModel(YE),t.registerPreprocessor(qE),t.registerVisual(EE),t.registerLayout(QE)},function(t){t.registerChartView(rR),t.registerSeriesModel(aR),t.registerLayout(iS("effectScatter"))},function(t){t.registerChartView(_R),t.registerSeriesModel(MR),t.registerLayout(vR),t.registerVisual(CR)},function(t){t.registerChartView(PR),t.registerSeriesModel(OR)},function(t){t.registerChartView(eN),t.registerSeriesModel(iN),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,W(fS,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,dS("pictorialBar"))},function(t){t.registerChartView(oN),t.registerSeriesModel(sN),t.registerLayout(lN),t.registerProcessor(JS("themeRiver"))},function(t){t.registerChartView(mN),t.registerSeriesModel(_N),t.registerLayout(W(bN,"sunburst")),t.registerProcessor(W(JS,"sunburst")),t.registerVisual(SN),function(t){t.registerAction({type:pN,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var i=CD(t,[pN],e);if(i){var r=e.getViewRoot();r&&(t.direction=ID(r,i.node)?"rollUp":"drillDown"),e.resetViewRoot(i.node)}}))})),t.registerAction({type:fN,update:"none"},(function(t,e,n){t=O({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=CD(t,[fN],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(O(t,{type:"highlight"}))})),t.registerAction({type:dN,update:"updateView"},(function(t,e,n){t=O({},t),n.dispatchAction(O(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(vF),t.registerSeriesModel(IN)}]),y_((function(t){y_(EC),y_(wB)})),y_((function(t){y_(wB),wC.registerAxisPointerClass("PolarAxisPointer",TB),t.registerCoordinateSystem("polar",HB),t.registerComponentModel(AB),t.registerComponentView(sz),OM(t,"angle",DB,oz),OM(t,"radius",kB,az),t.registerComponentView(qB),t.registerComponentView(ez),t.registerLayout(W(rz,"bar"))})),y_($I),y_((function(t){y_(wB),wC.registerAxisPointerClass("SingleAxisPointer",Dz),t.registerComponentView(kz),t.registerComponentView(fz),t.registerComponentModel(gz),OM(t,"single",gz,gz.defaultOption),t.registerCoordinateSystem("single",wz)})),y_(XO),y_((function(t){t.registerComponentModel(Oz),t.registerComponentView(Rz),t.registerCoordinateSystem("calendar",zz)})),y_((function(t){t.registerComponentModel(Wz),t.registerComponentView(Xz),t.registerPreprocessor((function(t){var e=t.graphic;Z(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))})),y_((function(t){t.registerComponentModel(CV),t.registerComponentView(DV),SV("saveAsImage",PV),SV("magicType",NV),SV("dataView",WV),SV("dataZoom",mj),SV("restore",YV),y_(xV)})),y_((function(t){y_(wB),t.registerComponentModel(yj),t.registerComponentView(Vj),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},xt),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},xt)})),y_(wB),y_((function(t){t.registerComponentView(aG),t.registerComponentModel(uG),t.registerPreprocessor(Gj),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,tG),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},xt),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},xt),SV("brush",pG)})),y_((function(t){t.registerComponentModel(fG),t.registerComponentView(dG)})),y_((function(t){t.registerComponentModel(yG),t.registerComponentView(IG),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),E({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(DG)})),y_((function(t){t.registerComponentModel(BG),t.registerComponentView(JG),t.registerPreprocessor((function(t){LG(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),y_((function(t){t.registerComponentModel(tH),t.registerComponentView(lH),t.registerPreprocessor((function(t){LG(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),y_((function(t){t.registerComponentModel(hH),t.registerComponentView(_H),t.registerPreprocessor((function(t){LG(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),y_((function(t){y_(EH),y_(HH)})),y_((function(t){y_(nW),y_(fW)})),y_(nW),y_(fW),y_((function(t){y_(JW),y_(oZ)})),y_(JW),y_(oZ),y_((function(t){t.registerPreprocessor(hZ),t.registerVisual(t.PRIORITY.VISUAL.ARIA,uZ)})),y_((function(t){t.registerTransform(wZ),t.registerTransform(SZ)})),y_((function(t){t.registerComponentModel(MZ),t.registerComponentView(TZ)})),y_((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){B(Co(n.seriesTransition),(function(t){B(Co(t.to),(function(t){for(var e=n.updatedSeries,i=0;i<e.length;
1i++)(null!=t.seriesIndex&&t.seriesIndex===e[i].seriesIndex||null!=t.seriesId&&t.seriesId===e[i].id)&&(e[i][Jf]=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var i=hU(e);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var r=n.seriesTransition;if(r)B(Co(r),(function(t){!function(t,e,n,i){var r=[],o=[];B(Co(t.from),(function(t){var n=wU(e.oldSeries,t);n>=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:xU(e.oldData[n]),groupIdDim:t.dimension})})),B(Co(t.to),(function(t){var i=wU(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:xU(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&vU(r,o,i)}(t,i,n,e)}));else{var o=bU(i,n);B(o.keys(),(function(t){var n=o.get(t);vU(n.oldSeries,n.newSeries,e)}))}B(n.updatedSeries,(function(t){t[Jf]&&(t[Jf]=!1)}))}for(var a=t.getSeries(),s=i.oldSeries=[],l=i.oldDataGroupIds=[],u=i.oldData=[],h=0;h<a.length;h++){var c=a[h].getData();c.count()<aU&&(s.push(a[h]),l.push(a[h].get("dataGroupId")),u.push(c))}}))})),y_(rx)},7308:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=function(){this.__data__=[],this.size=0},r=n(9651);var o=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return-1},a=Array.prototype.splice;var s=function(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():a.call(e,n,1),--this.size,!0)};var l=function(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]};var u=function(t){return o(this.__data__,t)>-1};var h=function(t,e){var n=this.__data__,i=o(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=i,c.prototype.delete=s,c.prototype.get=l,c.prototype.has=u,c.prototype.set=h;var p=c},6183:function(t,e,n){"use strict";var i=n(2508),r=n(6092),o=(0,i.Z)(r.Z,"Map");e.Z=o},7834:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var i=(0,n(2508).Z)(Object,"create");var r=function(){this.__data__=i?i(null):{},this.size=0};var o=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},a=Object.prototype.hasOwnProperty;var s=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return a.call(e,t)?e[t]:void 0},l=Object.prototype.hasOwnProperty;var u=function(t){var e=this.__data__;return i?void 0!==e[t]:l.call(e,t)};var h=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};function c(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=s,c.prototype.has=u,c.prototype.set=h;var p=c,f=n(7308),d=n(6183);var g=function(){this.size=0,this.__data__={hash:new p,map:new(d.Z||f.Z),string:new p}};var m=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var v=function(t,e){var n=t.__data__;return m(e)?n["string"==typeof e?"string":"hash"]:n.map};var y=function(t){var e=v(this,t).delete(t);return this.size-=e?1:0,e};var _=function(t){return v(this,t).get(t)};var x=function(t){return v(this,t).has(t)};var b=function(t,e){var n=v(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function w(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}w.prototype.clear=g,w.prototype.delete=y,w.prototype.get=_,w.prototype.has=x,w.prototype.set=b;var S=w},1667:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(7308);var r=function(){this.__data__=new i.Z,this.size=0};var o=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};var a=function(t){return this.__data__.get(t)};var s=function(t){return this.__data__.has(t)},l=n(6183),u=n(7834);var h=function(t,e){var n=this.__data__;if(n instanceof i.Z){var r=n.__data__;if(!l.Z||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new u.Z(r)}return n.set(t,e),this.size=n.size,this};function c(t){var e=this.__data__=new i.Z(t);this.size=e.size}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=h;var p=c},7685:function(t,e,n){"use strict";var i=n(6092).Z.Symbol;e.Z=i},7623:function(t,e,n){"use strict";var i=n(6092).Z.Uint8Array;e.Z=i},7668:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i},r=n(9169),o=n(7771),a=n(7008),s=n(6009),l=n(8843),u=Object.prototype.hasOwnProperty;var h=function(t,e){var n=(0,o.Z)(t),h=!n&&(0,r.Z)(t),c=!n&&!h&&(0,a.Z)(t),p=!n&&!h&&!c&&(0,l.Z)(t),f=n||h||c||p,d=f?i(t.length,String):[],g=d.length;for(var m in t)!e&&!u.call(t,m)||f&&("length"==m||c&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.Z)(m,g))||d.push(m);return d}},4073:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},8694:function(t,e){"use strict";e.Z=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},2954:function(t,e,n){"use strict";var i=n(4752),r=n(9651),o=Object.prototype.hasOwnProperty;e.Z=function(t,e,n){var a=t[e];o.call(t,e)&&(0,r.Z)(a,n)&&(void 0!==n||e in t)||(0,i.Z)(t,e,n)}},4752:function(t,e,n){"use strict";var i=n(7904);e.Z=function(t,e,n){"__proto__"==e&&i.Z?(0,i.Z)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},3327:function(t,e,n){"use strict";var i=n(8694),r=n(7771);e.Z=function(t,e,n){var o=e(t);return(0,r.Z)(t)?o:(0,i.Z)(o,n(t))}},3589:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(7685),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i.Z?i.Z.toStringTag:void 0;var l=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=a.call(t);return i&&(e?t[s]=n:delete t[s]),r},u=Object.prototype.toString;var h=function(t){return u.call(t)},c=i.Z?i.Z.toStringTag:void 0;
1var p=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):h(t)}},1162:function(t,e){"use strict";e.Z=function(t){return function(e){return t(e)}}},134:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(7771),r=n(9365),o=n(7834);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(a.Cache||o.Z),n}a.Cache=o.Z;var s=a;var l=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,h=function(t){var e=s(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(l,(function(t,n,i,r){e.push(i?r.replace(u,"$1"):n||t)})),e})),c=n(751);var p=function(t,e){return(0,i.Z)(t)?t:(0,r.Z)(t,e)?[t]:h((0,c.Z)(t))}},1899:function(t,e,n){"use strict";var i=n(2954),r=n(4752);e.Z=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,l=e.length;++s<l;){var u=e[s],h=o?o(n[u],t[u],u,n,t):void 0;void 0===h&&(h=t[u]),a?(0,r.Z)(n,u,h):(0,i.Z)(n,u,h)}return n}},7904:function(t,e,n){"use strict";var i=n(2508),r=function(){try{var t=(0,i.Z)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();e.Z=r},3413:function(t,e){"use strict";var n="object"==typeof global&&global&&global.Object===Object&&global;e.Z=n},1808:function(t,e,n){"use strict";var i=n(3327),r=n(1574),o=n(4329);e.Z=function(t){return(0,i.Z)(t,o.Z,r.Z)}},4403:function(t,e,n){"use strict";var i=n(3327),r=n(7502),o=n(2957);e.Z=function(t){return(0,i.Z)(t,o.Z,r.Z)}},2508:function(t,e,n){"use strict";n.d(e,{Z:function(){return y}});var i,r=n(3234),o=n(6092).Z["__core-js_shared__"],a=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var s=function(t){return!!a&&a in t},l=n(7226),u=n(19),h=/^\[object .+?Constructor\]$/,c=Function.prototype,p=Object.prototype,f=c.toString,d=p.hasOwnProperty,g=RegExp("^"+f.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var m=function(t){return!(!(0,l.Z)(t)||s(t))&&((0,r.Z)(t)?g:h).test((0,u.Z)(t))};var v=function(t,e){return null==t?void 0:t[e]};var y=function(t,e){var n=v(t,e);return m(n)?n:void 0}},2513:function(t,e,n){"use strict";var i=(0,n(1851).Z)(Object.getPrototypeOf,Object);e.Z=i},1574:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o},r=n(532),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),i(a(t),(function(e){return o.call(t,e)})))}:r.Z},7502:function(t,e,n){"use strict";var i=n(8694),r=n(2513),o=n(1574),a=n(532),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,i.Z)(e,(0,o.Z)(t)),t=(0,r.Z)(t);return e}:a.Z;e.Z=s},5964:function(t,e,n){"use strict";n.d(e,{Z:function(){return S}});var i=n(2508),r=n(6092),o=(0,i.Z)(r.Z,"DataView"),a=n(6183),s=(0,i.Z)(r.Z,"Promise"),l=(0,i.Z)(r.Z,"Set"),u=(0,i.Z)(r.Z,"WeakMap"),h=n(3589),c=n(19),p="[object Map]",f="[object Promise]",d="[object Set]",g="[object WeakMap]",m="[object DataView]",v=(0,c.Z)(o),y=(0,c.Z)(a.Z),_=(0,c.Z)(s),x=(0,c.Z)(l),b=(0,c.Z)(u),w=h.Z;(o&&w(new o(new ArrayBuffer(1)))!=m||a.Z&&w(new a.Z)!=p||s&&w(s.resolve())!=f||l&&w(new l)!=d||u&&w(new u)!=g)&&(w=function(t){var e=(0,h.Z)(t),n="[object Object]"==e?t.constructor:void 0,i=n?(0,c.Z)(n):"";if(i)switch(i){case v:return m;case y:return p;case _:return f;case x:return d;case b:return g}return e});var S=w},6174:function(t,e,n){"use strict";var i=n(134),r=n(9169),o=n(7771),a=n(6009),s=n(1656),l=n(2281);e.Z=function(t,e,n){for(var u=-1,h=(e=(0,i.Z)(e,t)).length,c=!1;++u<h;){var p=(0,l.Z)(e[u]);if(!(c=null!=t&&n(t,p)))break;t=t[p]}return c||++u!=h?c:!!(h=null==t?0:t.length)&&(0,s.Z)(h)&&(0,a.Z)(p,h)&&((0,o.Z)(t)||(0,r.Z)(t))}},6009:function(t,e){"use strict";var n=/^(?:0|[1-9]\d*)$/;e.Z=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&n.test(t))&&t>-1&&t%1==0&&t<e}},9365:function(t,e,n){"use strict";var i=n(7771),r=n(2714),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.Z=function(t,e){if((0,i.Z)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,r.Z)(t))||(a.test(t)||!o.test(t)||null!=e&&t in Object(e))}},2764:function(t,e){"use strict";var n=Object.prototype;e.Z=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},8351:function(t,e,n){"use strict";var i=n(3413),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=r&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===r&&i.Z.process,s=function(){try{var t=o&&o.require&&o.require("util").t
1ypes;return t||a&&a.binding&&a.binding("util")}catch(t){}}();e.Z=s},1851:function(t,e){"use strict";e.Z=function(t,e){return function(n){return t(e(n))}}},6092:function(t,e,n){"use strict";var i=n(3413),r="object"==typeof self&&self&&self.Object===Object&&self,o=i.Z||r||Function("return this")();e.Z=o},2281:function(t,e,n){"use strict";var i=n(2714);e.Z=function(t){if("string"==typeof t||(0,i.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},19:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},7527:function(t,e,n){"use strict";n.d(e,{Z:function(){return w}});var i=n(1899),r=n(9203);var o=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)},a=Math.max;var s=function(t,e,n){return e=a(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,s=a(i.length-e,0),l=Array(s);++r<s;)l[r]=i[e+r];r=-1;for(var u=Array(e+1);++r<e;)u[r]=i[r];return u[e]=n(l),o(t,this,u)}};var l=function(t){return function(){return t}},u=n(7904),h=u.Z?function(t,e){return(0,u.Z)(t,"toString",{configurable:!0,enumerable:!1,value:l(e),writable:!0})}:r.Z,c=Date.now;var p=function(t){var e=0,n=0;return function(){var i=c(),r=16-(i-n);if(n=i,r>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},f=p(h);var d=function(t,e){return f(s(t,e,r.Z),t+"")},g=n(9651),m=n(585),v=n(6009),y=n(7226);var _=function(t,e,n){if(!(0,y.Z)(n))return!1;var i=typeof e;return!!("number"==i?(0,m.Z)(n)&&(0,v.Z)(e,n.length):"string"==i&&e in n)&&(0,g.Z)(n[e],t)};var x=function(t){return d((function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,a&&_(n[0],n[1],a)&&(o=r<3?void 0:o,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e}))},b=n(4329),w=x((function(t,e,n,r){(0,i.Z)(e,(0,b.Z)(e),t,r)}))},8731:function(t,e,n){"use strict";n.d(e,{Z:function(){return at}});var i=n(1667);var r=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t},o=n(2954),a=n(1899),s=n(4329);var l=function(t,e){return t&&(0,a.Z)(e,(0,s.Z)(e),t)},u=n(2957);var h=function(t,e){return t&&(0,a.Z)(e,(0,u.Z)(e),t)},c=n(6092),p="object"==typeof exports&&exports&&!exports.nodeType&&exports,f=p&&"object"==typeof module&&module&&!module.nodeType&&module,d=f&&f.exports===p?c.Z.Buffer:void 0,g=d?d.allocUnsafe:void 0;var m=function(t,e){if(e)return t.slice();var n=t.length,i=g?g(n):new t.constructor(n);return t.copy(i),i};var v=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e},y=n(1574);var _=function(t,e){return(0,a.Z)(t,(0,y.Z)(t),e)},x=n(7502);var b=function(t,e){return(0,a.Z)(t,(0,x.Z)(t),e)},w=n(1808),S=n(4403),M=n(5964),T=Object.prototype.hasOwnProperty;var C=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&T.call(t,"index")&&(n.index=t.index,n.input=t.input),n},A=n(7623);var I=function(t){var e=new t.constructor(t.byteLength);return new A.Z(e).set(new A.Z(t)),e};var D=function(t,e){var n=e?I(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)},k=/\w*$/;var P=function(t){var e=new t.constructor(t.source,k.exec(t));return e.lastIndex=t.lastIndex,e},L=n(7685),O=L.Z?L.Z.prototype:void 0,E=O?O.valueOf:void 0;var R=function(t){return E?Object(E.call(t)):{}};var N=function(t,e){var n=e?I(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)};var F=function(t,e,n){var i=t.constructor;switch(e){case"[object ArrayBuffer]":return I(t);case"[object Boolean]":case"[object Date]":return new i(+t);case"[object DataView]":return D(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return N(t,n);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(t);case"[object RegExp]":return P(t);case"[object Symbol]":return R(t)}},B=n(7226),z=Object.create,V=function(){function t(){}return function(e){if(!(0,B.Z)(e))return{};if(z)return z(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}(),j=n(2513),G=n(2764);var H=function(t){return"function"!=typeof t.constructor||(0,G.Z)(t)?{}:V((0,j.Z)(t))},W=n(7771),Z=n(7008),U=n(8533);var X=function(t){return(0,U.Z)(t)&&"[object Map]"==(0,M.Z)(t)},$=n(1162),Y=n(8351),q=Y.Z&&Y.Z.isMap,K=q?(0,$.Z)(q):X;var J=function(t){return(0,U.Z)(t)&&"[object Set]"==(0,M.Z)(t)},Q=Y.Z&&Y.Z.isSet,tt=Q?(0,$.Z)(Q):J,et="[object Arguments]",nt="[object Function]",it="[object Object]",rt={};rt[et]=rt["[object Array]"]=rt["[object ArrayBuffer]"]=rt["[object DataView]"]=rt["[object Boolean]"]=rt["[object Date]"]=rt["[object Float32Array]"]=rt["[object Float64Array
1]"]=rt["[object Int8Array]"]=rt["[object Int16Array]"]=rt["[object Int32Array]"]=rt["[object Map]"]=rt["[object Number]"]=rt[it]=rt["[object RegExp]"]=rt["[object Set]"]=rt["[object String]"]=rt["[object Symbol]"]=rt["[object Uint8Array]"]=rt["[object Uint8ClampedArray]"]=rt["[object Uint16Array]"]=rt["[object Uint32Array]"]=!0,rt["[object Error]"]=rt[nt]=rt["[object WeakMap]"]=!1;var ot=function t(e,n,a,c,p,f){var d,g=1&n,y=2&n,x=4&n;if(a&&(d=p?a(e,c,p,f):a(e)),void 0!==d)return d;if(!(0,B.Z)(e))return e;var T=(0,W.Z)(e);if(T){if(d=C(e),!g)return v(e,d)}else{var A=(0,M.Z)(e),I=A==nt||"[object GeneratorFunction]"==A;if((0,Z.Z)(e))return m(e,g);if(A==it||A==et||I&&!p){if(d=y||I?{}:H(e),!g)return y?b(e,h(d,e)):_(e,l(d,e))}else{if(!rt[A])return p?e:{};d=F(e,A,g)}}f||(f=new i.Z);var D=f.get(e);if(D)return D;f.set(e,d),tt(e)?e.forEach((function(i){d.add(t(i,n,a,i,e,f))})):K(e)&&e.forEach((function(i,r){d.set(r,t(i,n,a,r,e,f))}));var k=x?y?S.Z:w.Z:y?u.Z:s.Z,P=T?void 0:k(e);return r(P||e,(function(i,r){P&&(i=e[r=i]),(0,o.Z)(d,r,t(i,n,a,r,e,f))})),d};var at=function(t){return ot(t,5)}},9651:function(t,e){"use strict";e.Z=function(t,e){return t===e||t!=t&&e!=e}},3925:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(8694),r=n(7685),o=n(9169),a=n(7771),s=r.Z?r.Z.isConcatSpreadable:void 0;var l=function(t){return(0,a.Z)(t)||(0,o.Z)(t)||!!(s&&t&&t[s])};var u=function t(e,n,r,o,a){var s=-1,u=e.length;for(r||(r=l),a||(a=[]);++s<u;){var h=e[s];n>0&&r(h)?n>1?t(h,n-1,r,o,a):(0,i.Z)(a,h):o||(a[a.length]=h)}return a};var h=function(t){return(null==t?0:t.length)?u(t,Infinity):[]}},7452:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var i=Object.prototype.hasOwnProperty;var r=function(t,e){return null!=t&&i.call(t,e)},o=n(6174);var a=function(t,e){return null!=t&&(0,o.Z)(t,e,r)}},5487:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=function(t,e){return null!=t&&e in Object(t)},r=n(6174);var o=function(t,e){return null!=t&&(0,r.Z)(t,e,i)}},9203:function(t,e){"use strict";e.Z=function(t){return t}},9169:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(3589),r=n(8533);var o=function(t){return(0,r.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)},a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable,u=o(function(){return arguments}())?o:function(t){return(0,r.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")},h=u},7771:function(t,e){"use strict";var n=Array.isArray;e.Z=n},585:function(t,e,n){"use strict";var i=n(3234),r=n(1656);e.Z=function(t){return null!=t&&(0,r.Z)(t.length)&&!(0,i.Z)(t)}},7008:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(6092);var r=function(){return!1},o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,s=a&&a.exports===o?i.Z.Buffer:void 0,l=(s?s.isBuffer:void 0)||r},3234:function(t,e,n){"use strict";var i=n(3589),r=n(7226);e.Z=function(t){if(!(0,r.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1656:function(t,e){"use strict";e.Z=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7226:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},6378:function(t,e,n){"use strict";var i=n(3589),r=n(7771),o=n(8533);e.Z=function(t){return"string"==typeof t||!(0,r.Z)(t)&&(0,o.Z)(t)&&"[object String]"==(0,i.Z)(t)}},2714:function(t,e,n){"use strict";var i=n(3589),r=n(8533);e.Z=function(t){return"symbol"==typeof t||(0,r.Z)(t)&&"[object Symbol]"==(0,i.Z)(t)}},8843:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var i=n(3589),r=n(1656),o=n(8533),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=function(t){return(0,o.Z)(t)&&(0,r.Z)(t.length)&&!!a[(0,i.Z)(t)]},l=n(1162),u=n(8351),h=u.Z&&u.Z.isTypedArray,c=h?(0,l.Z)(h):s},9360:function(t,e){"use strict";e.Z=function(t){return void 0===t}},4329:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var i=n(7668),r=n(2764),o=(0,n(1851).Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;var s=function(t){if(!(0,r.Z)(t))return o(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e},l=n(585);var u=function(t){return(0,l.Z)(t)?(0,i.Z)(t):s(t)}},2957:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(7668),r=n(7226),o=n(2764);var a=function(t){var e=[];
vendor: 3,393 bytes, line 1
1if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty;var l=function(t){if(!(0,r.Z)(t))return a(t);var e=(0,o.Z)(t),n=[];for(var i in t)("constructor"!=i||!e&&s.call(t,i))&&n.push(i);return n},u=n(585);var h=function(t){return(0,u.Z)(t)?(0,i.Z)(t,!0):l(t)}},6458:function(t,e,n){"use strict";n.d(e,{Z:function(){return ot}});var i=n(4073),r=n(1667),o=n(7834);var a=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};var s=function(t){return this.__data__.has(t)};function l(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new o.Z;++e<n;)this.add(t[e])}l.prototype.add=l.prototype.push=a,l.prototype.has=s;var u=l;var h=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1};var c=function(t,e){return t.has(e)};var p=function(t,e,n,i,r,o){var a=1&n,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var p=o.get(t),f=o.get(e);if(p&&f)return p==e&&f==t;var d=-1,g=!0,m=2&n?new u:void 0;for(o.set(t,e),o.set(e,t);++d<s;){var v=t[d],y=e[d];if(i)var _=a?i(y,v,d,e,t,o):i(v,y,d,t,e,o);if(void 0!==_){if(_)continue;g=!1;break}if(m){if(!h(e,(function(t,e){if(!c(m,e)&&(v===t||r(v,t,n,i,o)))return m.push(e)}))){g=!1;break}}else if(v!==y&&!r(v,y,n,i,o)){g=!1;break}}return o.delete(t),o.delete(e),g},f=n(7685),d=n(7623),g=n(9651);var m=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n};var v=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n},y=f.Z?f.Z.prototype:void 0,_=y?y.valueOf:void 0;var x=function(t,e,n,i,r,o,a){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new d.Z(t),new d.Z(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,g.Z)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=m;case"[object Set]":var l=1&i;if(s||(s=v),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=2,a.set(t,e);var h=p(s(t),s(e),i,r,o,a);return a.delete(t),h;case"[object Symbol]":if(_)return _.call(t)==_.call(e)}return!1},b=n(1808),w=Object.prototype.hasOwnProperty;var S=function(t,e,n,i,r,o){var a=1&n,s=(0,b.Z)(t),l=s.length;if(l!=(0,b.Z)(e).length&&!a)return!1;for(var u=l;u--;){var h=s[u];if(!(a?h in e:w.call(e,h)))return!1}var c=o.get(t),p=o.get(e);if(c&&p)return c==e&&p==t;var f=!0;o.set(t,e),o.set(e,t);for(var d=a;++u<l;){var g=t[h=s[u]],m=e[h];if(i)var v=a?i(m,g,h,e,t,o):i(g,m,h,t,e,o);if(!(void 0===v?g===m||r(g,m,n,i,o):v)){f=!1;break}d||(d="constructor"==h)}if(f&&!d){var y=t.constructor,_=e.constructor;y==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _||(f=!1)}return o.delete(t),o.delete(e),f},M=n(5964),T=n(7771),C=n(7008),A=n(8843),I="[object Arguments]",D="[object Array]",k="[object Object]",P=Object.prototype.hasOwnProperty;var L=function(t,e,n,i,o,a){var s=(0,T.Z)(t),l=(0,T.Z)(e),u=s?D:(0,M.Z)(t),h=l?D:(0,M.Z)(e),c=(u=u==I?k:u)==k,f=(h=h==I?k:h)==k,d=u==h;if(d&&(0,C.Z)(t)){if(!(0,C.Z)(e))return!1;s=!0,c=!1}if(d&&!c)return a||(a=new r.Z),s||(0,A.Z)(t)?p(t,e,n,i,o,a):x(t,e,u,n,i,o,a);if(!(1&n)){var g=c&&P.call(t,"__wrapped__"),m=f&&P.call(e,"__wrapped__");
1if(g||m){var v=g?t.value():t,y=m?e.value():e;return a||(a=new r.Z),o(v,y,n,i,a)}}return!!d&&(a||(a=new r.Z),S(t,e,n,i,o,a))},O=n(8533);var E=function t(e,n,i,r,o){return e===n||(null==e||null==n||!(0,O.Z)(e)&&!(0,O.Z)(n)?e!=e&&n!=n:L(e,n,i,r,t,o))};var R=function(t,e,n,i){var o=n.length,a=o,s=!i;if(null==t)return!a;for(t=Object(t);o--;){var l=n[o];if(s&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++o<a;){var u=(l=n[o])[0],h=t[u],c=l[1];if(s&&l[2]){if(void 0===h&&!(u in t))return!1}else{var p=new r.Z;if(i)var f=i(h,c,u,t,e,p);if(!(void 0===f?E(c,h,3,i,p):f))return!1}}return!0},N=n(7226);var F=function(t){return t==t&&!(0,N.Z)(t)},B=n(4329);var z=function(t){for(var e=(0,B.Z)(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,F(r)]}return e};var V=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};var j=function(t){var e=z(t);return 1==e.length&&e[0][2]?V(e[0][0],e[0][1]):function(n){return n===t||R(n,t,e)}},G=n(134),H=n(2281);var W=function(t,e){for(var n=0,i=(e=(0,G.Z)(e,t)).length;null!=t&&n<i;)t=t[(0,H.Z)(e[n++])];return n&&n==i?t:void 0};var Z=function(t,e,n){var i=null==t?void 0:W(t,e);return void 0===i?n:i},U=n(5487),X=n(9365);var $=function(t,e){return(0,X.Z)(t)&&F(e)?V((0,H.Z)(t),e):function(n){var i=Z(n,t);return void 0===i&&i===e?(0,U.Z)(n,t):E(e,i,3)}},Y=n(9203);var q=function(t){return function(e){return null==e?void 0:e[t]}};var K=function(t){return function(e){return W(e,t)}};var J=function(t){return(0,X.Z)(t)?q((0,H.Z)(t)):K(t)};var Q=function(t){return"function"==typeof t?t:null==t?Y.Z:"object"==typeof t?(0,T.Z)(t)?$(t[0],t[1]):j(t):J(t)},tt=n(2954),et=n(6009);var nt=function(t,e,n,i){if(!(0,N.Z)(t))return t;for(var r=-1,o=(e=(0,G.Z)(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=(0,H.Z)(e[r]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(r!=a){var h=s[l];void 0===(u=i?i(h,l,s):void 0)&&(u=(0,N.Z)(h)?h:(0,et.Z)(e[r+1])?[]:{})}(0,tt.Z)(s,l,u),s=s[l]}return t};var it=function(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=W(t,a);n(s,a)&&nt(o,(0,G.Z)(a,t),s)}return o},rt=n(4403);var ot=function(t,e){if(null==t)return{};var n=(0,i.Z)((0,rt.Z)(t),(function(t){return[t]}));return e=Q(e),it(t,n,(function(t,n){return e(t,n[0])}))}},532:function(t,e){"use strict";e.Z=function(){return[]}},751:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(7685),r=n(4073),o=n(7771),a=n(2714),s=i.Z?i.Z.prototype:void 0,l=s?s.toString:void 0;var u=function t(e){if("string"==typeof e)return e;if((0,o.Z)(e))return(0,r.Z)(e,t)+"";if((0,a.Z)(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var h=function(t){return null==t?"":u(t)}},6749:function(t,e,n){"use strict";var i=n(751),r=0;e.Z=function(t){var e=++r;return(0,i.Z)(t)+e}},3652:function(t,e,n){"use strict";function i(t,e){if(_(t))for(let n=0;n<t.length&&!1!==e(t[n],n,t);n++);else t&&i(Object.keys(t),(n=>e(t[n],n,t)));return t}function r(t,e){const n=d(e);if(v(e)||n){let i=n?"":{};if(t){const r=window.getComputedStyle(t,null);i=n?At(t,r,e):e.reduce(((e,n)=>(e[n]=At(t,r,n),e)),i)}return i}t&&i(D(e),(n=>It(t,n,e[n])))}n.d(e,{UN:function(){return Gn},ZA:function(){return Ve}});const o=(t,e)=>{const{o:n,u:i,_:r}=t;let o,a=n;const s=(t,e)=>{const n=a,s=t,l=e||(i?!i(n,s):n!==s);return(l||r)&&(a=s,o=n),[a,l,o]};return[e?t=>s(e(a,o),t):s,t=>[a,!!t,o]]},a=()=>"undefined"!=typeof window,s=a()&&Node.ELEMENT_NODE,{toString:l,hasOwnProperty:u}=Object.prototype,h=t=>void 0===t,c=t=>null===t,p=t=>h(t)||c(t)?`${t}`:l.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase(),f=t=>"number"==typeof t,d=t=>"string"==typeof t,g=t=>"boolean"==typeof t,m=t=>"function"==typeof t,v=t=>Array.isArray(t),y=t=>"object"==typeof t&&!v(t)&&!c(t),_=t=>{const e=!!t&&t.length,n=f(e)&&e>-1&&e%1==0;return!!(v(t)||!m(t)&&n)&&(!(e>0&&y(t))||e-1 in t)},x=t=>{if(!t||!y(t)||"object"!==p(t))return!1;let e;const n="constructor",i=t[n],r=i&&i.prototype,o=u.call(t,n),a=r&&u.call(r,"isPrototypeOf");if(i&&!o&&!a)return!1;for(e in t);return h(e)||u.call(t,e)},b=t=>{const e=HTMLElement;return!!t&&(e?t instanceof e:t.nodeType===s)},w=t=>{const e=Element;return!!t&&(e?t instanceof e:t.nodeType===s)},S=(t,e,n)=>t.indexOf(e,n),M=(t,e,n)=>(n||d(e)||!_(e)?t.push(e):Array.prototype.push.apply(t,e),t),T=t=>{const e=Array.from,n=[];return e&&t?e(t):(t instanceof Set?t.forEach((t=>{M(n,t)})):i(t,(t=>{M(n,t)})),n)},C=t=>!!t&&0===t.length,A=(t,e,n)=>{i(t,(t=>t&&t.apply(void 0,e||[]))),!n&&(t.length=0)},I=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),D=t=>t?Object.keys(t):[],k=(t,e,n,r,o,a,s)=>{const l=[e,n,r,o,a,s];return"object"==typeof t&&!c(t)||m(t)||(t={}),i(l,(e=>{i(D(e),(n=>{const i=e[n];if(t===i)return!0;const r=v(i);if(i&&(x(i)||r)){const e=t[n];let o=e;r&&!v(e)?o=[]:r||x(e)||(o={}),t[n]=k(o,i)}else t[n]=i}))})),t},P=t=>{for(const e in t)return!1;return!0},L=(t,e,n,i)=>{if(h(i))return n?n[t]:e;n&&(d(i)||f(i))&&(n[t]=i)}
1,O=(t,e,n)=>{if(h(n))return t?t.getAttribute(e):null;t&&t.setAttribute(e,n)},E=(t,e)=>{t&&t.removeAttribute(e)},R=(t,e,n,i)=>{if(n){const r=O(t,e)||"",o=new Set(r.split(" "));o[i?"add":"delete"](n);const a=T(o).join(" ").trim();O(t,e,a)}},N=(t,e)=>L("scrollLeft",0,t,e),F=(t,e)=>L("scrollTop",0,t,e),B=a()&&Element.prototype,z=(t,e)=>{const n=[],i=e?w(e)?e:null:document;return i?M(n,i.querySelectorAll(t)):n},V=(t,e)=>{if(w(t)){return(B.matches||B.msMatchesSelector).call(t,e)}return!1},j=t=>t?T(t.childNodes):[],G=t=>t?t.parentElement:null,H=(t,e)=>{if(w(t)){const n=B.closest;if(n)return n.call(t,e);do{if(V(t,e))return t;t=G(t)}while(t)}return null},W=(t,e,n)=>{const i=t&&H(t,e),r=t&&((t,e)=>{const n=e?w(e)?e:null:document;return n?n.querySelector(t):null})(n,i),o=H(r,e)===i;return!(!i||!r)&&(i===t||r===t||o&&H(H(t,n),e)!==i)},Z=(t,e,n)=>{if(n&&t){let r,o=e;_(n)?(r=document.createDocumentFragment(),i(n,(t=>{t===o&&(o=t.previousSibling),r.appendChild(t)}))):r=n,e&&(o?o!==e&&(o=o.nextSibling):o=t.firstChild),t.insertBefore(r,o||null)}},U=(t,e)=>{Z(t,null,e)},X=(t,e)=>{Z(G(t),t&&t.nextSibling,e)},$=t=>{if(_(t))i(T(t),(t=>$(t)));else if(t){const e=G(t);e&&e.removeChild(t)}},Y=t=>{const e=document.createElement("div");return t&&O(e,"class",t),e},q=t=>{const e=Y();return e.innerHTML=t.trim(),i(j(e),(t=>$(t)))},K=t=>t.charAt(0).toUpperCase()+t.slice(1),J=["-webkit-","-moz-","-o-","-ms-"],Q=["WebKit","Moz","O","MS","webkit","moz","o","ms"],tt={},et={},nt=t=>{let e=et[t];if(I(et,t))return e;const n=K(t),r=Y().style;return i(J,(i=>{const o=i.replace(/-/g,""),a=[t,i+t,o+n,K(o)+n];return!(e=a.find((t=>void 0!==r[t])))})),et[t]=e||""},it=t=>{if(a()){let e=tt[t]||window[t];return I(tt,t)||(i(Q,(n=>(e=e||window[n+K(t)],!e))),tt[t]=e),e}},rt=it("MutationObserver"),ot=it("IntersectionObserver"),at=it("ResizeObserver"),st=it("cancelAnimationFrame"),lt=it("requestAnimationFrame"),ut=a()&&window.setTimeout,ht=a()&&window.clearTimeout,ct=/[^\x20\t\r\n\f]+/g,pt=(t,e,n)=>{const i=t&&t.classList;let r,o=0,a=!1;if(i&&e&&d(e)){const t=e.match(ct)||[];for(a=t.length>0;r=t[o++];)a=!!n(i,r)&&a}return a},ft=(t,e)=>{pt(t,e,((t,e)=>t.remove(e)))},dt=(t,e)=>(pt(t,e,((t,e)=>t.add(e))),ft.bind(0,t,e)),{max:gt}=Math,mt=()=>performance.now(),vt=(t,e,n,r)=>{if(t&&e){let o=!0;return i(n,(n=>{(r?r(t[n]):t[n])!==(r?r(e[n]):e[n])&&(o=!1)})),o}return!1},yt=(t,e)=>vt(t,e,["w","h"]),_t=(t,e)=>vt(t,e,["x","y"]),xt=(t,e)=>vt(t,e,["t","r","b","l"]),bt=(t,e,n)=>vt(t,e,["width","height"],n&&(t=>Math.round(t))),wt=()=>{},St=t=>{let e;const n=t?ut:lt,i=t?ht:st;return[r=>{i(e),e=n(r,m(t)?t():t)},()=>i(e)]},Mt=(t,e)=>{let n,i,r,o=wt;const{v:a,g:s,p:l}=e||{},u=function(e){o(),ht(n),n=i=void 0,o=wt,t.apply(this,e)},h=t=>l&&i?l(i,t):t,c=()=>{o!==wt&&u(h(r)||r)},p=function(){const t=T(arguments),e=m(a)?a():a;if(f(e)&&e>=0){const a=m(s)?s():s,l=f(a)&&a>=0,p=e>0?ut:lt,d=e>0?ht:st,g=h(t)||t,v=u.bind(0,g);o();const y=p(v,e);o=()=>d(y),l&&!n&&(n=ut(c,a)),i=r=g}else u(t)};return p.m=c,p},Tt={opacity:1,zindex:1},Ct=(t,e)=>{const n=e?parseFloat(t):parseInt(t,10);return n==n?n:0},At=(t,e,n)=>null!=e?e[n]||e.getPropertyValue(n):t.style[n],It=(t,e,n)=>{try{const{style:i}=t;h(i[e])?i.setProperty(e,n):i[e]=((t,e)=>!Tt[t.toLowerCase()]&&f(e)?`${e}px`:e)(e,n)}catch(t){}},Dt=t=>"rtl"===r(t,"direction"),kt=(t,e,n)=>{const i=e?`${e}-`:"",o=n?`-${n}`:"",a=`${i}top${o}`,s=`${i}right${o}`,l=`${i}bottom${o}`,u=`${i}left${o}`,h=r(t,[a,s,l,u]);return{t:Ct(h[a],!0),r:Ct(h[s],!0),b:Ct(h[l],!0),l:Ct(h[u],!0)}},{round:Pt}=Math,Lt={w:0,h:0},Ot=t=>t?{w:t.offsetWidth,h:t.offsetHeight}:Lt,Et=t=>t?{w:t.clientWidth,h:t.clientHeight}:Lt,Rt=t=>t?{w:t.scrollWidth,h:t.scrollHeight}:Lt,Nt=t=>{const e=parseFloat(r(t,"height"))||0,n=parseFloat(r(t,"width"))||0;return{w:n-Pt(n),h:e-Pt(e)}},Ft=t=>t.getBoundingClientRect();let Bt;const zt=t=>t.split(" "),Vt=(t,e,n,r)=>{i(zt(e),(e=>{t.removeEventListener(e,n,r)}))},jt=(t,e,n,r)=>{var o;const a=(()=>{if(h(Bt)){Bt=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get(){Bt=!0}}))}catch(t){}}return Bt})(),s=null!=(o=a&&r&&r.S)?o:a,l=r&&r.$||!1,u=r&&r.C||!1,c=[],p=a?{passive:s,capture:l}:l;return i(zt(e),(e=>{const i=u?r=>{t.removeEventListener(e,i,l),n&&n(r)}:n;M(c,Vt.bind(null,t,e,i,l)),t.addEventListener(e,i,p)})),A.bind(0,c)},Gt=t=>t.stopPropagation(),Ht=t=>t.preventDefault(),Wt={x:0,y:0},Zt=t=>{const e=t?Ft(t):0;return e?{x:e.left+window.pageYOffset,y:e.top+window.pageXOffset}:Wt},Ut=(t,e)=>{i(v(e)?e:[e],t)},Xt=t=>{const e=new Map,n=(t,n)=>{if(t){const i=e.get(t);Ut((t=>{i&&i[t?"delete":"clear"](t)}),n)}else e.forEach((t=>{t.clear()}
1)),e.clear()},r=(t,o)=>{if(d(t)){const i=e.get(t)||new Set;return e.set(t,i),Ut((t=>{m(t)&&i.add(t)}),o),n.bind(0,t,o)}g(o)&&o&&n();const a=D(t),s=[];return i(a,(e=>{const n=t[e];n&&M(s,r(e,n))})),A.bind(0,s)};return r(t||{}),[r,n,(t,n)=>{const r=e.get(t);i(T(r),(t=>{n&&!C(n)?t.apply(0,n):t()}))}]},$t=t=>JSON.stringify(t,((t,e)=>{if(m(e))throw new Error;return e})),Yt={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},qt=(t,e)=>{const n={};return i(D(e).concat(D(t)),(i=>{const r=t[i],o=e[i];if(y(r)&&y(o))k(n[i]={},qt(r,o)),P(n[i])&&delete n[i];else if(I(e,i)&&o!==r){let t=!0;if(v(r)||v(o))try{$t(r)===$t(o)&&(t=!1)}catch(t){}t&&(n[i]=o)}})),n},Kt="os-environment",Jt=`${Kt}-flexbox-glue`,Qt=`${Jt}-max`,te="os-scrollbar-hidden",ee="data-overlayscrollbars-initialize",ne="data-overlayscrollbars",ie=`${ne}-overflow-x`,re=`${ne}-overflow-y`,oe="overflowVisible",ae="scrollbarPressed",se="updating",le="data-overlayscrollbars-viewport",ue="arrange",he="scrollbarHidden",ce=oe,pe="data-overlayscrollbars-padding",fe=ce,de="data-overlayscrollbars-content",ge="os-size-observer",me=`${ge}-appear`,ve=`${ge}-listener`,ye="os-scrollbar",_e=`${ye}-rtl`,xe=`${ye}-horizontal`,be=`${ye}-vertical`,we=`${ye}-track`,Se=`${ye}-handle`,Me=`${ye}-visible`,Te=`${ye}-cornerless`,Ce=`${ye}-transitionless`,Ae=`${ye}-interaction`,Ie=`${ye}-unusable`,De=`${ye}-auto-hidden`,ke=`${ye}-wheel`,Pe=`${we}-interactive`,Le=`${Se}-interactive`,Oe={},Ee=()=>Oe,Re="__osSizeObserverPlugin";const{round:Ne,abs:Fe}=Math,Be="__osScrollbarsHidingPlugin",ze="__osClickScrollPlugin",Ve=(()=>({[ze]:{O:(t,e,n,i,r)=>{let o=0,a=wt;const s=l=>{a=((t,e,n,i,r)=>{let o=0;const a=mt(),s=gt(0,n),l=n=>{const u=mt(),h=u-a>=s,c=n?1:1-(gt(0,a+s-u)/s||0),p=(e-t)*(m(r)?r(c,c*s,0,1,s):c)+t,f=h||1===c;i&&i(p,c,f),o=f?0:lt((()=>l()))};return l(),t=>{st(o),t&&l(t)}})(l,l+i*Math.sign(n),133,((n,l,u)=>{t(n);const h=e();if(u&&!(r>=h&&r<=h+i)){if(o)s(n);else{const t=setTimeout((()=>{s(n)}),222);a=()=>{clearTimeout(t)}}o++}}))};return s(0),()=>a()}}}))();let je;const Ge=(t,e,n,i)=>{U(t,e);const r=Et(e),o=Ot(e),a=Nt(n);return i&&$(e),{x:o.h-r.h+a.h,y:o.w-r.w+a.w}},He=(t,e)=>{const n="hidden";r(t,{overflowX:n,overflowY:n,direction:"rtl"}),N(t,0);const i=Zt(t),o=Zt(e);N(t,-999);const a=Zt(e);return{i:i.x===o.x,n:o.x!==a.x}},We=(t,e)=>{const n=dt(t,Jt),i=Ft(t),r=Ft(e),o=bt(r,i,!0),a=dt(t,Qt),s=Ft(t),l=Ft(e),u=bt(l,s,!0);return n(),a(),o&&u},Ze=()=>{const{body:t}=document,e=q(`<div class="${Kt}"><div></div></div>`)[0],n=e.firstChild,[i,,a]=Xt(),[s,l]=o({o:Ge(t,e,n),u:_t},Ge.bind(0,t,e,n,!0)),[u]=l(),h=(t=>{let e=!1;const n=dt(t,te);try{e="none"===r(t,nt("scrollbar-width"))||"none"===window.getComputedStyle(t,"::-webkit-scrollbar").getPropertyValue("display")}catch(t){}return n(),e})(e),c={x:0===u.x,y:0===u.y},p={elements:{host:null,padding:!h,viewport:t=>h&&t===t.ownerDocument.body&&t,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},f=k({},Yt),d=k.bind(0,{},f),g=k.bind(0,{},p),m={k:u,A:c,I:h,L:"-1"===r(e,"zIndex"),B:He(e,n),V:We(e,n),Y:i.bind(0,"z"),j:i.bind(0,"r"),N:g,q:t=>k(p,t)&&g(),F:d,G:t=>k(f,t)&&d(),X:k({},p),U:k({},f)},v=window.addEventListener,y=Mt((t=>a(t?"z":"r")),{v:33,g:99});if(E(e,"style"),$(e),v("resize",y.bind(0,!1)),!(h||c.x&&c.y)){let t;v("resize",(()=>{const e=Ee()[Be];t=t||e&&e.R(),t&&t(m,s,y.bind(0,!0))}))}return m},Ue=()=>(je||(je=Ze()),je),Xe=(t,e)=>m(e)?e.apply(0,t):e,$e=(t,e,n,i)=>{const r=h(i)?n:i;return Xe(t,r)||e.apply(0,t)},Ye=(t,e,n,i)=>{const r=h(i)?n:i,o=Xe(t,r);return!!o&&(b(o)?o:e.apply(0,t))},qe=new WeakMap,Ke=t=>qe.get(t),Je=(t,e)=>t?e.split(".").reduce(((t,e)=>t&&I(t,e)?t[e]:void 0),t):void 0,Qe=(t,e,n)=>i=>[Je(t,i),n||void 0!==Je(e,i)],tn=t=>{let e=t;return[()=>e,t=>{e=k({},e,t)}]},en="tabindex",nn=Y.bind(0,""),rn=t=>{U(G(t),j(t)),$(t)},on=t=>{const e=Ue(),{N:n,I:i}=e,r=Ee()[Be],o=r&&r.T,{elements:a}=n(),{host:s,padding:l,viewport:u,content:h}=a,c=b(t),p=c?{}:t,{elements:f}=p,{host:d,padding:g,viewport:m,content:v}=f||{},y=c?t:p.target,_=V(y,"textarea"),x=y.ownerDocument,w=x.documentElement,T=y===x.body,C=x.defaultView,I=$e.bind(0,[y]),k=Ye.bind(0,[y]),P=Xe.bind(0,[y]),L=I.bind(0,nn,u),N=k.bind(0,nn,h),F=L(m),B=F===y,z=B&&T,H=!B&&N(v),W=!B&&b(F)&&F===H,Y=W&&!!P(h),q=Y?L():F,K=Y?H:N(),J=z?w:W?q:F,Q=_?I(nn,s,d):y,tt=z?J:Q,et=W?K:H,nt=x.activeElement,it=!B&&C.top===C&&nt===y,rt={W:y,Z:tt,J:J,K:!B&&k(nn,l,g),tt:et,nt:!B&&!i&&o&&o(e),ot:z?w:J,st:z?x:J,et:C,ct:x,rt:_,it:T,lt:c,ut:B,dt:W,ft:(t,e)=>((t,e,n)=>{const i=O(t,e)||"";return new Set(i.split(" ")).has(n)})(J,B?ne:le,B?e:t),_t:(t,e,n)=>R(J,B?ne:le,B?e:t,n)},ot=D(rt).reduce(((t,e)=>{const n=rt[e];return M(t,!(!n||G(n))&&n)}),[]),at=t=>t?S(ot,t)>-1:null,{W:st,Z:lt,K:ut,J:ht,tt:ct,nt:pt}=rt,ft=[()=>{E(lt,ne),E(lt,ee),E(st,ee),T&&(E(w,ne),E(w,ee))}],gt=_&&at(lt);let mt=_?st:j([ct,ht,ut,lt,st].find((t=>!1===at(t))));const vt=z?st:ct||ht;return[rt,()=>{O(lt,ne,B?"viewport":"host"),O(ut,pe,""),O(ct,de,""),B||O(ht,le,"");const t=T&&!B?dt(G(y),te):wt;if(gt&&(X(st,lt),M(ft,(()=>{X(lt,st),$(lt)}))),U(vt,mt),U(lt,ut),U(ut||lt,!B&&ht),U(ht,ct),M(ft,(()=>{t(),E(ut,pe),E(ct,de),E(ht,ie),E(ht,re),E(ht,le),at(ct)&&rn(ct),at(ht)&&rn(ht),at(ut)&&rn(ut)})),i&&!B&&(R(ht,le,he,!0),M(ft,E.bind(0,ht,le))),pt&&(((t,e)=>{Z(G(t),t,e)}
1)(ht,pt),M(ft,$.bind(0,pt))),it){const t=O(ht,en);O(ht,en,"-1"),ht.focus();const e=()=>t?O(ht,en,t):E(ht,en),n=jt(x,"pointerdown keydown",(()=>{e(),n()}));M(ft,[e,n])}else nt&&nt.focus&&nt.focus();mt=0},A.bind(0,ft)]},an=(t,e)=>{const{tt:n}=t,[i]=e;return t=>{const{V:e}=Ue(),{ht:o}=i(),{vt:a}=t,s=(n||!e)&&a;return s&&r(n,{height:o?"":"100%"}),{gt:s,wt:s}}},sn=(t,e)=>{const[n,i]=e,{Z:a,K:s,J:l,ut:u}=t,[h,c]=o({u:xt,o:kt()},kt.bind(0,a,"padding",""));return(t,e,o)=>{let[a,p]=c(o);const{I:f,V:d}=Ue(),{bt:g}=n(),{gt:m,wt:v,yt:y}=t,[_,x]=e("paddingAbsolute");(m||p||!d&&v)&&([a,p]=h(o));const b=!u&&(x||y||p);if(b){const t=!_||!s&&!f,e=a.r+a.l,n=a.t+a.b,o={marginRight:t&&!g?-e:0,marginBottom:t?-n:0,marginLeft:t&&g?-e:0,top:t?-a.t:0,right:t?g?-a.r:"auto":0,left:t?g?"auto":-a.l:0,width:t?`calc(100% + ${e}px)`:""},u={paddingTop:t?a.t:0,paddingRight:t?a.r:0,paddingBottom:t?a.b:0,paddingLeft:t?a.l:0};r(s||l,o),r(l,u),i({K:a,St:!t,P:s?u:k({},o,u)})}return{xt:b}}},{max:ln}=Math,un=ln.bind(0,0),hn="visible",cn="hidden",pn={u:yt,o:{w:0,h:0}},fn={u:_t,o:{x:cn,y:cn}},dn=t=>0===t.indexOf(hn),gn=(t,e)=>{const[n,i]=e,{Z:a,K:s,J:l,nt:u,ut:h,_t:c,it:p,et:f}=t,{k:d,V:g,I:m,A:v}=Ue(),y=Ee()[Be],_=!h&&!m&&(v.x||v.y),x=p&&h,[b,w]=o(pn,Nt.bind(0,l)),[S,M]=o(pn,Rt.bind(0,l)),[T,C]=o(pn),[A,I]=o(pn),[D]=o(fn),k=(t,e)=>{if(r(l,{height:""}),e){const{St:e,K:i}=n(),{$t:o,D:s}=t,u=Nt(a),h=Et(a),c="content-box"===r(l,"boxSizing"),p=e||c?i.b+i.t:0,f=!(v.x&&c);r(l,{height:h.h+u.h+(o.x&&f?s.x:0)-p})}},P=(t,e)=>{const n=m||t?0:42,i=(t,i,o)=>{const a=r(l,t),s="scroll"===(e?e[t]:a);return[a,s,s&&!m?i?n:o:0,i&&!!n]},[o,a,s,u]=i("overflowX",v.x,d.x),[h,c,p,f]=i("overflowY",v.y,d.y);return{Ct:{x:o,y:h},$t:{x:a,y:c},D:{x:s,y:p},M:{x:u,y:f}}},L=(t,e,i,r)=>{const{D:o,M:a}=t,{x:s,y:l}=a,{x:u,y:h}=o,{P:c}=n(),p=e?"marginLeft":"marginRight",f=e?"paddingLeft":"paddingRight",d=c[p],g=c.marginBottom,m=c[f],v=c.paddingBottom;r.width=`calc(100% + ${h+-1*d}px)`,r[p]=-h+d,r.marginBottom=-u+g,i&&(r[f]=m+(l?h:0),r.paddingBottom=v+(s?u:0))},[E,N]=y?y.H(_,g,l,u,n,P,L):[()=>_,()=>[wt]];return(t,e,o)=>{const{gt:u,Ot:p,wt:d,xt:y,vt:_,yt:F}=t,{ht:B,bt:z}=n(),[V,j]=e("showNativeOverlaidScrollbars"),[G,H]=e("overflow"),W=V&&v.x&&v.y,Z=!h&&!g&&(u||d||p||j||_),U=dn(G.x),X=dn(G.y),$=U||X;let Y,q=w(o),K=M(o),J=C(o),Q=I(o);if(j&&m&&c(he,"scrollbarHidden",!W),Z&&(Y=P(W),k(Y,B)),u||y||d||F||j){$&&c(ce,oe,!1);const[t,e]=N(W,z,Y),[n,i]=q=b(o),[r,a]=K=S(o),s=Et(l);let u=r,h=s;t(),(a||i||j)&&e&&!W&&E(e,r,n,z)&&(h=Et(l),u=Rt(l));const p={w:un(ln(r.w,u.w)+n.w),h:un(ln(r.h,u.h)+n.h)},d={w:un((x?f.innerWidth:h.w+un(s.w-r.w))+n.w),h:un((x?f.innerHeight+n.h:h.h+un(s.h-r.h))+n.h)};Q=A(d),J=T(((t,e)=>{const n=window.devicePixelRatio%1!=0?1:0,i={w:un(t.w-e.w),h:un(t.h-e.h)};return{w:i.w>n?i.w:0,h:i.h>n?i.h:0}})(p,d),o)}const[tt,et]=Q,[nt,it]=J,[rt,ot]=K,[at,st]=q,lt={x:nt.w>0,y:nt.h>0},ut=U&&X&&(lt.x||lt.y)||U&&lt.x&&!lt.y||X&&lt.y&&!lt.x;if(y||F||st||ot||et||it||H||j||Z){const t={marginRight:0,marginBottom:0,marginLeft:0,width:"",overflowY:"",overflowX:""},e=((t,e,n,i)=>{const r=(t,e)=>{const n=dn(t),i=e&&n&&t.replace(`${hn}-`,"")||"";return[e&&!n?t:"",dn(i)?"hidden":i]},[o,a]=r(n.x,e.x),[s,l]=r(n.y,e.y);return i.overflowX=a&&s?a:o,i.overflowY=l&&o?l:s,P(t,i)})(W,lt,G,t),n=E(e,rt,at,z);h||L(e,z,n,t),Z&&k(e,B),h?(O(a,ie,t.overflowX),O(a,re,t.overflowY)):r(l,t)}R(a,ne,oe,ut),R(s,pe,fe,ut),h||R(l,le,ce,$);const[ht,ct]=D(P(W).Ct);return i({Ct:ht,zt:{x:tt.w,y:tt.h},Tt:{x:nt.w,y:nt.h},Et:lt}),{It:ct,At:et,Lt:it}}},mn=(t,e,n)=>{const r={},o=e||{};return i(D(t).concat(D(o)),(e=>{const i=t[e],a=o[e];r[e]=!!(n||i||a)})),r},vn=(t,e,n,r)=>{let o=!1;const{Ht:a,Pt:s,Dt:l,Mt:u,Rt:h,kt:c}=r||{},p=Mt((()=>{o&&n(!0)}),{v:33,g:99}),[f,g]=((t,e,n)=>{let r,o=!1;const a=a=>{if(n){const s=n.reduce(((e,n)=>{if(n){const[i,r]=n,o=r&&i&&(a?a(i):z(i,t));o&&o.length&&r&&d(r)&&M(e,[o,r.trim()],!0)}return e}),[]);i(s,(n=>i(n[0],(i=>{const a=n[1],s=r.get(i)||[];if(t.contains(i)){const t=jt(i,a,(n=>{o?(t(),r.delete(i)):e(n)}));r.set(i,M(s,t))}else A(s),r.delete(i)}))))}};return n&&(r=new WeakMap,a()),[()=>{o=!0},a]})(t,p,l),m=s||[],v=(a||[]).concat(m),y=(o,a)=>{const s=h||wt,l=c||wt,p=new Set,f=new Set;let v=!1,y=!1;if(i(o,(n=>{const{attributeName:o,target:a,type:h,oldValue:c,addedNodes:g,removedNodes:_}=n,x="attributes"===h,b="childList"===h,w=t===a,M=x&&d(o)?O(a,o):0,T=0!==M&&c!==M,C=S(m,o)>-1&&T;if(e&&(b||!w)){const e=!x,h=x&&T,f=h&&u&&V(a,u),d=(f?!s(a,o,c,M):e||h)&&!l(n,!!f,t,r);i(g,(t=>p.add(t))),i(_,(t=>p.add(t))),y=y||d}!e&&w&&T&&!s(a,o,c,M)&&(f.add(o),v=v||C)}
1)),p.size>0&&g((t=>T(p).reduce(((e,n)=>(M(e,z(t,n)),V(n,t)?M(e,n):e)),[]))),e)return!a&&y&&n(!1),[!1];if(f.size>0||v){const t=[T(f),v];return!a&&n.apply(0,t),t}},_=new rt((t=>y(t)));return _.observe(t,{attributes:!0,attributeOldValue:!0,attributeFilter:v,subtree:e,childList:e,characterData:e}),o=!0,[()=>{o&&(f(),_.disconnect(),o=!1)},()=>{if(o){p.m();const t=_.takeRecords();return!C(t)&&y(t,!0)}}]},yn=3333333,_n=t=>t&&(t.height||t.width),xn=(t,e,n)=>{const{Bt:i=!1,Vt:r=!1}=n||{},a=Ee()[Re],{B:s}=Ue(),l=q(`<div class="${ge}"><div class="${ve}"></div></div>`)[0],u=l.firstChild,h=Dt.bind(0,t),[c]=o({o:void 0,_:!0,u:(t,e)=>!(!t||!_n(t)&&_n(e))}),p=t=>{const n=v(t)&&t.length>0&&y(t[0]),r=!n&&g(t[0]);let o=!1,a=!1,u=!0;if(n){const[e,,n]=c(t.pop().contentRect),i=_n(e);o=!n||!i,a=!_n(n)&&i,u=!o}else r?[,u]=t:a=!0===t;if(i&&u){const e=r?t[0]:Dt(l);N(l,e?s.n?-yn:s.i?0:yn:yn),F(l,yn)}o||e({gt:!r,Yt:r?t:void 0,Vt:!!a})},f=[];let d=!!r&&p;return[()=>{A(f),$(l)},()=>{if(at){const t=new at(p);t.observe(u),M(f,(()=>{t.disconnect()}))}else if(a){const[t,e]=a.O(u,p,r);d=t,M(f,e)}if(i){const[t]=o({o:void 0},h);M(f,jt(l,"scroll",(e=>{const n=t(),[i,r,o]=n;r&&(ft(u,"ltr rtl"),dt(u,i?"rtl":"ltr"),p([!!i,r,o])),Gt(e)})))}d&&(dt(l,me),M(f,jt(l,"animationstart",d,{C:!!at}))),(at||a)&&U(t,l)}]},bn=(t,e)=>{let n;const i=Y("os-trinsic-observer"),r=[],[a]=o({o:!1}),s=(t,n)=>{if(t){const i=a((t=>0===t.h||t.isIntersecting||t.intersectionRatio>0)(t)),[,r]=i;if(r)return!n&&e(i),[i]}},l=(t,e)=>{if(t&&t.length>0)return s(t.pop(),e)};return[()=>{A(r),$(i)},()=>{if(ot)n=new ot((t=>l(t)),{root:t}),n.observe(i),M(r,(()=>{n.disconnect()}));else{const t=()=>{const t=Ot(i);s(t)},[e,n]=xn(i,t);M(r,e),n(),t()}U(t,i)},()=>{if(n)return l(n.takeRecords(),!0)}]},wn=`[${ne}]`,Sn=`[${le}]`,Mn=["tabindex"],Tn=["wrap","cols","rows"],Cn=["id","class","style","open"],An=(t,e,n)=>{let r,a,s;const{Z:l,J:u,tt:h,rt:c,ut:p,ft:g,_t:y}=t,{V:_}=Ue(),[x]=o({u:yt,o:{w:0,h:0}},(()=>{const t=g(ce,oe),e=g(ue,""),n=e&&N(u),i=e&&F(u);y(ce,oe),y(ue,""),y("",se,!0);const r=Rt(h),o=Rt(u),a=Nt(u);return y(ce,oe,t),y(ue,"",e),y("",se),N(u,n),F(u,i),{w:o.w+r.w+a.w,h:o.h+r.h+a.h}})),b=c?Tn:Cn.concat(Tn),w=Mt(n,{v:()=>r,g:()=>a,p(t,e){const[n]=t,[i]=e;return[D(n).concat(D(i)).reduce(((t,e)=>(t[e]=n[e]||i[e],t)),{})]}}),T=t=>{i(t||Mn,(t=>{if(S(Mn,t)>-1){const e=O(l,t);d(e)?O(u,t,e):E(u,t)}}))},C=(t,i)=>{const[r,o]=t,a={vt:o};return e({ht:r}),!i&&n(a),a},A=({gt:t,Yt:i,Vt:r})=>{const o=!t||r?n:w;let a=!1;if(i){const[t,n]=i;a=n,e({bt:t})}o({gt:t,yt:a})},I=(t,e)=>{const[,i]=x(),r={wt:i};return i&&!e&&(t?n:w)(r),r},P=(t,e,n)=>{const i={Ot:e};return e?!n&&w(i):p||T(t),i},[L,R,B]=h||!_?bn(l,C):[wt,wt,wt],[z,V]=p?[wt,wt]:xn(l,A,{Vt:!0,Bt:!0}),[j,G]=vn(l,!1,P,{Pt:Cn,Ht:Cn.concat(Mn)}),Z=p&&at&&new at(A.bind(0,{gt:!0}));return Z&&Z.observe(l),T(),[()=>{L(),z(),s&&s[0](),Z&&Z.disconnect(),j()},()=>{V(),R()},()=>{const t={},e=G(),n=B(),i=s&&s[1]();return e&&k(t,P.apply(0,M(e,!0))),n&&k(t,C.apply(0,M(n,!0))),i&&k(t,I.apply(0,M(i,!0))),t},t=>{const[e]=t("update.ignoreMutation"),[n,i]=t("update.attributes"),[o,l]=t("update.elementEvents"),[c,d]=t("update.debounce"),g=t=>m(e)&&e(t);if((l||i)&&(s&&(s[1](),s[0]()),s=vn(h||u,!0,I,{Ht:b.concat(n||[]),Dt:o,Mt:wn,kt:(t,e)=>{const{target:n,attributeName:i}=t;return!(e||!i||p)&&W(n,wn,Sn)||!!H(n,`.${ye}`)||!!g(t)}})),d)if(w.m(),v(c)){const t=c[0],e=c[1];r=f(t)&&t,a=f(e)&&e}else f(c)?(r=c,a=!1):(r=!1,a=!1)}]},In={x:0,y:0},Dn=(t,e)=>{const n=Qe(e,{}),[r,o,a]=Xt(),[s,l,u]=on(t),h=tn((t=>({K:{t:0,r:0,b:0,l:0},St:!1,P:{marginRight:0,marginBottom:0,marginLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},zt:In,Tt:In,Ct:{x:"hidden",y:"hidden"},Et:{x:!1,y:!1},ht:!1,bt:Dt(t.Z)}))(s)),[c,p]=h,f=((t,e)=>{const{W:n,J:r,_t:o,ut:a}=t,{I:s,A:l,V:u}=Ue(),h=!s&&(l.x||l.y),c=[an(t,e),sn(t,e),gn(t,e)];return(t,e,s)=>{const l=mn(k({gt:!1,xt:!1,yt:!1,vt:!1,At:!1,Lt:!1,It:!1,Ot:!1,wt:!1},e),{},s),p=h||!u,f=p&&N(r),d=p&&F(r);o("",se,!0);let g=l;return i(c,(e=>{g=mn(g,e(g,t,!!s)||{},s)})),N(r,f),F(r,d),o("",se),a||(N(n,0),F(n,0)),g}})(s,h),d=(t,e,n)=>{const i=D(t).some((e=>t[e])),r=i||!P(e)||n;return r&&a("u",[t,e,n]),r},[g,m,v,y]=An(s,p,(t=>d(f(n,t),{},!1))),_=c.bind(0);return _.jt=t=>r("u",t),_.Nt=()=>{const{W:t,J:e}=s,n=N(t),i=F(t);m(),l(),N(e,n),F(e,i)},_.qt=s,[(t,n)=>{const i=Qe(e,t,n);return y(i),d(f(i,v(),n),t,!!n)},_,()=>{o(),g(),u()}]},{round:kn}=Math,Pn=(t,e)=>jt(t,"mousedown",jt.bind(0,e,"click",Gt,{C:!0,$:!0}),{$:!0}),Ln="pointerup pointerleave pointercancel lostpointercapture",On=(t,e,n,i,r,o,a)=>{const{B:s}=Ue(),{Ft:l,Gt:u,Xt:h}=i,c="scroll"+(a?"Left":"Top"),p="client"+(a?"X":"Y"),f=a?"width":"height",d=a?"left":"top",g=a?"w":"h",m=a?"x":"y",v=(t,e)=>n=>{const{Tt:i}=o(),p=Ot(u)[g]-Ot(l)[g],f=e*n/p*i[m],d=Dt(h)&&a?s.n||s.i?1:-1:1;r[c]=t+f*d};return jt(u,"pointerdown",(i=>{const o=H(i.target,`.${Se}`)===l,a=o?l:u;if(R(e,ne,ae,!0),((t,e,n)=>{const i=e.scrollbars,{button:r,isPrimary:o,pointerType:a}=t,{pointers:s}=i;return 0===r&&o&&i[n?"dragScroll":"clickScroll"]&&(s||[]).includes(a)})(i,t,o)){const t=!o&&i.shiftKey,s=()=>Ft(l),h=()=>Ft(u),g=(t,e)=>(t||s())[d]-(e||h())[d],y=v(r[c]||0,1/(t=>{const{width:e,height:n}=Ft(t),{w:i,h:r}=Ot(t);return{x:kn(e)/i||1,y:kn(n)/r||1}})(r)[m]),_=i[p],x=s(),b=h(),w=x[f],S=g(x,b)+w/2,T=_-b[d],C=o?0:T-S,I=t=>{A(D),a.releasePointerCapture(t.pointerId)},D=[R.bind(0,e,ne,ae),jt(n,Ln,I),jt(n,"selectstart",(t=>Ht(t)),{S:!1}),jt(u,Ln,I),jt(u,"pointermove",(e=>{const n=e[p]-_;(o||t)&&y(C+n)}))];if(t)y(C);else if(!o){const t=Ee()[ze];t&&M(D,t.O(y,g,C,w,T))}a.setPointerCapture(i.pointerId)}}))},{min:En,max:Rn,abs:Nn,round:Fn}=Math,Bn=(t,e,n,i)=>{if(i){const t=n?"x":"y",{Tt:e,zt:r}=i,o=r[t],a=e[t];return Rn(0,En(1,o/(o+a)))}const r=n?"width":"height",o=Ft(t)[r],a=Ft(e)[r];return Rn(0,En(1,o/a))},zn=(t,e,n)=>{const{N:o,L:a}=Ue(),{scrollbars:s}=o(),{slot:l}=s,{ct:u,W:h,Z:c,J:p,lt:f,ot:d,it:m,ut:v}=e,{scrollbars:y}=f?{}:t,{slot:_}=y||{},x=Ye([h,c,p],(()=>v&&m?h:c),l,_),b=(t,e,n)=>{const r=n?dt:ft;i(t,(t=>{r(t.Xt,e)}))},w=(t,e)=>{i(t,(t=>{const[n,i]=e(t);r(n,i)}))},S=(t,e,n)=>{w(t,(t=>
1{const{Ft:i,Gt:r}=t;return[i,{[n?"width":"height"]:`${(100*Bn(i,r,n,e)).toFixed(3)}%`}]}))},T=(t,e,n)=>{const i=n?"X":"Y";w(t,(t=>{const{Ft:r,Gt:o,Xt:a}=t,s=((t,e,n,i,r,o)=>{const{B:a}=Ue(),s=o?"x":"y",l=o?"Left":"Top",{Tt:u}=i,h=Fn(u[s]),c=Nn(n[`scroll${l}`]),p=o&&r,f=a.i?c:h-c,d=En(1,(p?f:c)/h),g=Bn(t,e,o);return 1/g*(1-g)*d})(r,o,d,e,Dt(a),n);return[r,{transform:s==s?`translate${i}(${(100*s).toFixed(3)}%)`:""}]}))},I=[],D=[],k=[],P=(t,e,n)=>{const i=g(n),r=!i||!n;(!i||n)&&b(D,t,e),r&&b(k,t,e)},L=t=>{const e=t?xe:be,i=t?D:k,r=C(i)?Ce:"",o=Y(`${ye} ${e} ${r}`),s=Y(we),l=Y(Se),h={Xt:o,Gt:s,Ft:l};return a||dt(o,"os-no-css-vars"),U(o,s),U(s,l),M(i,h),M(I,[$.bind(0,o),n(h,P,u,c,d,t)]),h},O=L.bind(0,!0),E=L.bind(0,!1);return O(),E(),[{Ut:t=>{S(D,t,!0),S(k,t)},Wt:t=>{T(D,t,!0),T(k,t)},Zt:P,Jt:{Kt:D,Qt:O,tn:w.bind(0,D)},nn:{Kt:k,Qt:E,tn:w.bind(0,k)}},()=>{U(x,D[0].Xt),U(x,k[0].Xt),ut((()=>{P(Ce)}),300)},A.bind(0,I)]},Vn=(t,e,n,i)=>{let r,o,a,s,l,u=0;const h=tn({}),[c]=h,[p,f]=St(),[d,g]=St(),[m,v]=St(100),[y,_]=St(100),[x,b]=St((()=>u)),[w,S,M]=zn(t,n.qt,((t,e)=>(n,i,r,o,a,s)=>{const{Xt:l}=n,[u,h]=St(333),c=!!a.scrollBy;let p=!0;return A.bind(0,[jt(l,"pointerenter",(()=>{i(Ae,!0)})),jt(l,"pointerleave pointercancel",(()=>{i(Ae)})),jt(l,"wheel",(t=>{const{deltaX:e,deltaY:n,deltaMode:r}=t;c&&p&&0===r&&G(l)===o&&a.scrollBy({left:e,top:n,behavior:"smooth"}),p=!1,i(ke,!0),u((()=>{p=!0,i(ke)})),Ht(t)}),{S:!1,$:!0}),Pn(l,r),On(t,o,r,n,a,e,s),h])})(e,n)),{Z:T,J:C,ot:I,st:D,ut:k,it:P}=n.qt,{Jt:L,nn:O,Zt:E,Ut:R,Wt:B}=w,{tn:z}=L,{tn:V}=O,j=t=>{const{Xt:e}=t,n=k&&!P&&G(e)===C&&e;return[n,{transform:n?`translate(${N(I)}px, ${F(I)}px)`:""}]},H=(t,e)=>{if(b(),t)E(De);else{const t=()=>E(De,!0);u>0&&!e?x(t):t()}},W=()=>{s=o,s&&H(!0)},Z=[v,b,_,g,f,M,jt(T,"pointerover",W,{C:!0}),jt(T,"pointerenter",W),jt(T,"pointerleave",(()=>{s=!1,o&&H(!1)})),jt(T,"pointermove",(()=>{r&&p((()=>{v(),H(!0),y((()=>{r&&H(!1)}))}))})),jt(D,"scroll",(t=>{d((()=>{B(n()),a&&H(!0),m((()=>{a&&!s&&H(!1)}))})),i(t),k&&z(j),k&&V(j)}))],U=c.bind(0);return U.qt=w,U.Nt=S,[(t,i,s)=>{const{At:h,Lt:c,It:p,yt:f}=s,{A:d}=Ue(),g=Qe(e,t,i),m=n(),{Tt:v,Ct:y,bt:_}=m,[x,b]=g("showNativeOverlaidScrollbars"),[w,S]=g("scrollbars.theme"),[M,T]=g("scrollbars.visibility"),[C,A]=g("scrollbars.autoHide"),[I]=g("scrollbars.autoHideDelay"),[D,k]=g("scrollbars.dragScroll"),[L,O]=g("scrollbars.clickScroll"),N=h||c||f,F=p||T,z=x&&d.x&&d.y,V=(t,e)=>{const n="visible"===M||"auto"===M&&"scroll"===t;return E(Me,n,e),n};if(u=I,b&&E("os-theme-none",z),S&&(E(l),E(w,!0),l=w),A&&(r="move"===C,o="leave"===C,a="never"!==C,H(!a,!0)),k&&E(Le,D),O&&E(Pe,L),F){const t=V(y.x,!0),e=V(y.y,!1);E(Te,!(t&&e))}N&&(R(m),B(m),E(Ie,!v.x,!0),E(Ie,!v.y,!1),E(_e,_&&!P))},U,A.bind(0,Z)]},jn=(t,e,n)=>{m(t)&&t(e||void 0,n||void 0)},Gn=(t,e,n)=>{const{F:r,N:o,Y:a,j:s}=Ue(),l=Ee(),u=b(t),p=u?t:t.target,f=Ke(p);if(e&&!f){let f=!1;const d=t=>{const e=Ee().__osOptionsValidationPlugin,n=e&&e.O;return n?n(t,!0):t},g=k({},r(),d(e)),[m,v,y]=Xt(n),[_,x,b]=Dn(t,g),[w,S,M]=Vn(t,g,x,(t=>y("scroll",[O,t]))),T=(t,e)=>_(t,!!e),C=T.bind(0,{},!0),A=a(C),I=s(C),L=t=>{(t=>{qe.delete(t)})(p),A(),I(),M(),b(),f=!0,y("destroyed",[O,!!t]),v()},O={options(t,e){if(t){const n=e?r():{},i=qt(g,k(n,d(t)));P(i)||(k(g,i),T(i))}return k({},g)},on:m,off:(t,e)=>{t&&e&&v(t,e)},state(){const{zt:t,Tt:e,Ct:n,Et:i,K:r,St:o,bt:a}=x();return k({},{overflowEdge:t,overflowAmount:e,overflowStyle:n,hasOverflow:i,padding:r,paddingAbsolute:o,directionRTL:a,destroyed:f})},elements(){const{W:t,Z:e,K:n,J:i,tt:r,ot:o,st:a}=x.qt,{Jt:s,nn:l}=S.qt,u=t=>{const{Ft:e,Gt:n,Xt:i}=t;return{scrollbar:i,track:n,handle:e}},h=t=>{const{Kt:e,Qt:n}=t,i=u(e[0]);return k({},i,{clone:()=>{const t=u(n());return w({},!0,{}),t}})};return k({},{target:t,host:e,padding:n||i,viewport:i,content:r||i,scrollOffsetElement:o,scrollEventElement:a,scrollbarHorizontal:h(s),scrollbarVertical:h(l)})},update:t=>T({},t),destroy:L.bind(0)};return x.jt(((t,e,n)=>{w(e,n,t)})),((t,e)=>{qe.set(t,e)})(p,O),i(D(l),(t=>jn(l[t],0,O))),((t,e,n)=>{const{nativeScrollbarsOverlaid:i,body:r}=n||{},{A:o,I:a}=Ue(),{nativeScrollbarsOverlaid:s,body:l}=e,u=null!=i?i:s,p=h(r)?l:r,f=(o.x||o.y)&&u,d=t&&(c(p)?!a:p);return!!f||!!d})(x.qt.it,o().cancel,!u&&t.cancel)?(L(!0),O):(x.Nt(),S.Nt(),y("initialized",[O]),x.jt(((t,e,n)=>{const{gt:i,yt:r,vt:o,At:a,Lt:s,It:l,wt:u,Ot:h}=t;y("updated",[O,{updateHints:{sizeChanged:i,directionChanged:r,heightIntrinsicChanged:o,overflowEdgeChanged:a,overflowAmountChanged:s,overflowStyleChanged:l,contentMutation:u,hostMutation:h},changedOptions:e,force:n}])})),O.update(!0),O)}return f};Gn.plugin=t=>{i((t=>{const e=[];return i(v(t)?t:[t],(t=>{i(D(t),(n=>{M(e,Oe[n]=t[n])}))})),e})(t),(t=>jn(t,Gn)))},Gn.valid=t=>
1{const e=t&&t.elements,n=m(e)&&e();return x(n)&&!!Ke(n.target)},Gn.env=()=>{const{k:t,A:e,I:n,B:i,V:r,L:o,X:a,U:s,N:l,q:u,F:h,G:c}=Ue();return k({},{scrollbarsSize:t,scrollbarsOverlaid:e,scrollbarsHiding:n,rtlScrollBehavior:i,flexboxGlue:r,cssCustomProperties:o,staticDefaultInitialization:a,staticDefaultOptions:s,getDefaultInitialization:l,setDefaultInitialization:u,getDefaultOptions:h,setDefaultOptions:c})}},7628:function(t,e,n){"use strict";function i(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function r(t={},e={}){Object.keys(e).forEach((n=>{void 0===t[n]?t[n]=e[n]:i(e[n])&&i(t[n])&&Object.keys(e[n]).length>0&&r(t[n],e[n])}))}n.d(e,{Jj:function(){return l},Me:function(){return a}});const o={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const t="undefined"!=typeof document?document:{};return r(t,o),t}const s={document:o,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function l(){const t="undefined"!=typeof window?window:{};return r(t,s),t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.