define(["react","gpui-style-inject","mobx"],(function(t,e,n){"use strict";function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function i(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var r=a(t),o=i(t),l=a(e),s=function(t,e){return s=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])},s(t,e)};function u(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}s(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var c=function(){return c=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},c.apply(this,arguments)};function p(t,e,n,a){return new(n||(n=Promise))((function(i,r){function o(t){try{s(a.next(t))}catch(t){r(t)}}function l(t){try{s(a.throw(t))}catch(t){r(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,l)}s((a=a.apply(t,e||[])).next())}))}function d(t,e,n){if(n||2===arguments.length)for(var a,i=0,r=e.length;i<r;i++)!a&&i in e||(a||(a=Array.prototype.slice.call(e,0,i)),a[i]=e[i]);return t.concat(a||Array.prototype.slice.call(e))}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function h(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function f(t){var e={exports:{}};return t(e,e.exports),e.exports
/*
    object-assign
    (c) Sindre Sorhus
    @license MIT
    */}Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;!function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(t){a[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(t){return!1}}()||Object.assign;
/** @license React v17.0.1
     * react-jsx-runtime.production.min.js
     *
     * Copyright (c) Facebook, Inc. and its affiliates.
     *
     * This source code is licensed under the MIT license found in the
     * LICENSE file in the root directory of this source tree.
     */
var g=f((function(t,e){var n=60103;if(e.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var a=Symbol.for;n=a("react.element"),e.Fragment=a("react.fragment")}var i=r.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function s(t,e,a){var r,s={},u=null,c=null;for(r in void 0!==a&&(u=""+a),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(c=e.ref),e)o.call(e,r)&&!l.hasOwnProperty(r)&&(s[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===s[r]&&(s[r]=e[r]);return{$$typeof:n,type:t,key:u,ref:c,props:s,_owner:i.current}}e.jsx=s,e.jsxs=s})),m=f((function(t){t.exports=g})),y=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},v=new function(){this.browser=new y,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(v.wxa=!0,v.canvasSupported=!0,v.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?(v.worker=!0,v.canvasSupported=!0):"undefined"==typeof navigator?(v.node=!0,v.canvasSupported=!0,v.svgSupported=!0):function(t,e){var n=e.browser,a=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);a&&(n.firefox=!0,n.version=a[1]);i&&(n.ie=!0,n.version=i[1]);r&&(n.edge=!0,n.version=r[1],n.newEdge=+r[1].split(".")[0]>18);o&&(n.weChat=!0);e.canvasSupported=!!document.createElement("canvas").getContext,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 l=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,v);var b=v,x={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},_={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},w=Object.prototype.toString,k=Array.prototype,S=k.forEach,M=k.filter,I=k.slice,T=k.map,C=function(){}.constructor,D=C?C.prototype:null,A="__proto__",L={};function P(t,e){L[t]=e}var z=2311;function O(){return z++}function R(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function N(t){if(null==t||"object"!=typeof t)return t;var e=t,n=w.call(t);if("[object Array]"===n){if(!wt(t)){e=[];for(var a=0,i=t.length;a<i;a++)e[a]=N(t[a])}}else if(_[n]){if(!wt(t)){var r=t.constructor;if(r.from)e=r.from(t);else{e=new r(t.length);for(a=0,i=t.length;a<i;a++)e[a]=N(t[a])}}}else if(!x[n]&&!wt(t)&&!st(t))for(var o in e={},t)t.hasOwnProperty(o)&&o!==A&&(e[o]=N(t[o]));return e}function E(t,e,n){if(!rt(e)||!rt(t))return n?N(e):t;for(var a in e)if(e.hasOwnProperty(a)&&a!==A){var i=t[a],r=e[a];!rt(r)||!rt(i)||tt(r)||tt(i)||st(r)||st(i)||ot(r)||ot(i)||wt(r)||wt(i)?!n&&a in t||(t[a]=N(e[a])):E(i,r,n)}return t}function B(t,e){for(var n=t[0],a=1,i=t.length;a<i;a++)n=E(n,t[a],e);return n}function V(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==A&&(t[n]=e[n]);return t}function F(t,e,n){for(var a=$(e),i=0;i<a.length;i++){var r=a[i];(n?null!=e[r]:null==t[r])&&(t[r]=e[r])}return t}var G=function(){return L.createCanvas()};function H(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,a=t.length;n<a;n++)if(t[n]===e)return n}return-1}function W(t,e){var n=t.prototype;function a(){}for(var i in a.prototype=e.prototype,t.prototype=new a,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function U(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var a=Object.getOwnPropertyNames(e),i=0;i<a.length;i++){var r=a[i];"constructor"!==r&&(n?null!=e[r]:null==t[r])&&(t[r]=e[r])}else F(t,e,n)}function Y(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function X(t,e,n){if(t&&e)if(t.forEach&&t.forEach===S)t.forEach(e,n);else if(t.length===+t.length)for(var a=0,i=t.length;a<i;a++)e.call(n,t[a],a,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function Z(t,e,n){if(!t)return[];if(!e)return mt(t);if(t.map&&t.map===T)return t.map(e,n);for(var a=[],i=0,r=t.length;i<r;i++)a.push(e.call(n,t[i],i,t));return a}function j(t,e,n,a){if(t&&e){for(var i=0,r=t.length;i<r;i++)n=e.call(a,n,t[i],i,t);return n}}function q(t,e,n){if(!t)return[];if(!e)return mt(t);if(t.filter&&t.filter===M)return t.filter(e,n);for(var a=[],i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t)&&a.push(t[i]);return a}function K(t,e,n){if(t&&e)for(var a=0,i=t.length;a<i;a++)if(e.call(n,t[a],a,t))return t[a]}function $(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}L.createCanvas=function(){return document.createElement("canvas")};var J=D&&et(D.bind)?D.call.bind(D.bind):function(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return function(){return t.apply(e,n.concat(I.call(arguments)))}};function Q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(I.call(arguments)))}}function tt(t){return Array.isArray?Array.isArray(t):"[object Array]"===w.call(t)}function et(t){return"function"==typeof t}function nt(t){return"string"==typeof t}function at(t){return"[object String]"===w.call(t)}function it(t){return"number"==typeof t}function rt(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function ot(t){return!!x[w.call(t)]}function lt(t){return!!_[w.call(t)]}function st(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function ut(t){return null!=t.colorStops}function ct(t){return null!=t.image}function pt(t){return"[object RegExp]"===w.call(t)}function dt(t){return t!=t}function ht(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,a=t.length;n<a;n++)if(null!=t[n])return t[n]}function ft(t,e){return null!=t?t:e}function gt(t,e,n){return null!=t?t:null!=e?e:n}function mt(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return I.apply(t,e)}function yt(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 vt(t,e){if(!t)throw new Error(e)}function bt(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var xt="__ec_primitive__";function _t(t){t[xt]=!0}function wt(t){return t[xt]}var kt=function(){function t(e){this.data={};var n=tt(e);this.data={};var a=this;function i(t,e){n?a.set(t,e):a.set(e,t)}e instanceof t?e.each(i):e&&X(e,i)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return $(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function St(t){return new kt(t)}function Mt(t,e){for(var n=new t.constructor(t.length+e.length),a=0;a<t.length;a++)n[a]=t[a];var i=t.length;for(a=0;a<e.length;a++)n[a+i]=e[a];return n}function It(t,e){var n;if(Object.create)n=Object.create(t);else{var a=function(){};a.prototype=t,n=new a}return e&&V(n,e),n}function Tt(t,e){return t.hasOwnProperty(e)}function Ct(){}var Dt=Object.freeze({__proto__:null,$override:P,guid:O,logError:R,clone:N,merge:E,mergeAll:B,extend:V,defaults:F,createCanvas:G,indexOf:H,inherits:W,mixin:U,isArrayLike:Y,each:X,map:Z,reduce:j,filter:q,find:K,keys:$,bind:J,curry:Q,isArray:tt,isFunction:et,isString:nt,isStringSafe:at,isNumber:it,isObject:rt,isBuiltInObject:ot,isTypedArray:lt,isDom:st,isGradientObject:ut,isImagePatternObject:ct,isRegExp:pt,eqNaN:dt,retrieve:ht,retrieve2:ft,retrieve3:gt,slice:mt,normalizeCssArray:yt,assert:vt,trim:bt,setAsPrimitive:_t,isPrimitive:wt,HashMap:kt,createHashMap:St,concatArray:Mt,createObject:It,hasOwn:Tt,noop:Ct});function At(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function Lt(t,e){return t[0]=e[0],t[1]=e[1],t}function Pt(t){return[t[0],t[1]]}function zt(t,e,n){return t[0]=e,t[1]=n,t}function Ot(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function Rt(t,e,n,a){return t[0]=e[0]+n[0]*a,t[1]=e[1]+n[1]*a,t}function Nt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function Et(t){return Math.sqrt(Vt(t))}var Bt=Et;function Vt(t){return t[0]*t[0]+t[1]*t[1]}var Ft=Vt;function Gt(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Ht(t,e){var n=Et(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function Wt(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Ut=Wt;function Yt(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Xt=Yt;function Zt(t,e,n,a){return t[0]=e[0]+a*(n[0]-e[0]),t[1]=e[1]+a*(n[1]-e[1]),t}function jt(t,e,n){var a=e[0],i=e[1];return t[0]=n[0]*a+n[2]*i+n[4],t[1]=n[1]*a+n[3]*i+n[5],t}function qt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Kt(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var $t=Object.freeze({__proto__:null,create:At,copy:Lt,clone:Pt,set:zt,add:Ot,scaleAndAdd:Rt,sub:Nt,len:Et,length:Bt,lenSquare:Vt,lengthSquare:Ft,mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:Gt,normalize:Ht,distance:Wt,dist:Ut,distanceSquare:Yt,distSquare:Xt,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:Zt,applyTransform:jt,min:qt,max:Kt}),Jt=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Qt=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&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Jt(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,i=n-this._x,r=a-this._y;this._x=n,this._y=a,e.drift(i,r,t),this.handler.dispatchToElement(new Jt(e,t),"drag",t.event);var o=this.handler.findHover(n,a,e).target,l=this._dropTarget;this._dropTarget=o,e!==o&&(l&&o!==l&&this.handler.dispatchToElement(new Jt(l,t),"dragleave",t.event),o&&o!==l&&this.handler.dispatchToElement(new Jt(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Jt(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Jt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),te=Qt,ee=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,a){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(a=n,n=e,e=null),!n||!t)return this;var r=this._$eventProcessor;null!=e&&r&&r.normalizeQuery&&(e=r.normalizeQuery(e)),i[t]||(i[t]=[]);for(var o=0;o<i[t].length;o++)if(i[t][o].h===n)return this;var l={h:n,query:e,ctx:a||this,callAtLast:n.zrEventfulCallAtLast},s=i[t].length-1,u=i[t][s];return u&&u.callAtLast?i[t].splice(s,0,l):i[t].push(l),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 a=[],i=0,r=n[t].length;i<r;i++)n[t][i].h!==e&&a.push(n[t][i]);n[t]=a}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 a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var r=e.length,o=a.length,l=0;l<o;l++){var s=a[l];if(!i||!i.filter||null==s.query||i.filter(t,s.query))switch(r){case 0:s.h.call(s.ctx);break;case 1:s.h.call(s.ctx,e[0]);break;case 2:s.h.call(s.ctx,e[0],e[1]);break;default:s.h.apply(s.ctx,e)}}return i&&i.afterTrigger&&i.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 a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var r=e.length,o=e[r-1],l=a.length,s=0;s<l;s++){var u=a[s];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(r){case 0:u.h.call(o);break;case 1:u.h.call(o,e[0]);break;case 2:u.h.call(o,e[0],e[1]);break;default:u.h.apply(o,e.slice(1,r-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}(),ne=ee,ae=Math.log(2);function ie(t,e,n,a,i,r){var o=a+"-"+i,l=t.length;if(r.hasOwnProperty(o))return r[o];if(1===e){var s=Math.round(Math.log((1<<l)-1&~i)/ae);return t[n][s]}for(var u=a|1<<n,c=n+1;a&1<<c;)c++;for(var p=0,d=0,h=0;d<l;d++){var f=1<<d;f&i||(p+=(h%2?-1:1)*t[n][d]*ie(t,e-1,c,u,i|f,r),h++)}return r[o]=p,p}function re(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]]],a={},i=ie(n,8,0,0,0,a);if(0!==i){for(var r=[],o=0;o<8;o++)for(var l=0;l<8;l++)null==r[l]&&(r[l]=0),r[l]+=((o+l)%2?-1:1)*ie(n,7,0===o?1:0,1<<o,1<<l,a)/i*e[o];return function(t,e,n){var a=e*r[6]+n*r[7]+1;t[0]=(e*r[0]+n*r[1]+r[2])/a,t[1]=(e*r[3]+n*r[4]+r[5])/a}}}var oe=[];function le(t,e,n,a,i){if(e.getBoundingClientRect&&b.domSupported&&!se(e)){var r=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),o=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var a=["left","right"],i=["top","bottom"],r=0;r<4;r++){var o=document.createElement("div"),l=r%2,s=(r>>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",i[s]+":0",a[1-l]+":auto",i[1-s]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}(e,r),l=function(t,e,n){for(var a=n?"invTrans":"trans",i=e[a],r=e.srcCoords,o=[],l=[],s=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),p=2*u,d=c.left,h=c.top;o.push(d,h),s=s&&r&&d===r[p]&&h===r[p+1],l.push(t[u].offsetLeft,t[u].offsetTop)}return s&&i?i:(e.srcCoords=o,e[a]=n?re(l,o):re(o,l))}(o,r,i);if(l)return l(t,n,a),!0}return!1}function se(t){return"CANVAS"===t.nodeName.toUpperCase()}var ue="undefined"!=typeof window&&!!window.addEventListener,ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,pe=[];function de(t,e,n,a){return n=n||{},a||!b.canvasSupported?he(t,e,n):b.browser.firefox&&b.browser.version<"39"&&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):he(t,e,n),n}function he(t,e,n){if(b.domSupported&&t.getBoundingClientRect){var a=e.clientX,i=e.clientY;if(se(t)){var r=t.getBoundingClientRect();return n.zrX=a-r.left,void(n.zrY=i-r.top)}if(le(pe,t,a,i))return n.zrX=pe[0],void(n.zrY=pe[1])}n.zrX=n.zrY=0}function fe(t){return t||window.event}function ge(t,e,n){if(null!=(e=fe(e)).zrX)return e;var a=e.type;if(a&&a.indexOf("touch")>=0){var i="touchend"!==a?e.targetTouches[0]:e.changedTouches[0];i&&de(t,i,e,n)}else{de(t,e,e,n);var r=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,a=t.deltaY;if(null==n||null==a)return e;return 3*(0!==a?Math.abs(a):Math.abs(n))*(a>0?-1:a<0?1:n>0?-1:1)}(e);e.zrDelta=r?r/120:-(e.detail||0)/3}var o=e.button;return null==e.which&&void 0!==o&&ce.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function me(t,e,n,a){ue?t.addEventListener(e,n,a):t.attachEvent("on"+e,n)}var ye=ue?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function ve(t){return 2===t.which||3===t.which}var be=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 a=t.touches;if(a){for(var i={points:[],touches:[],target:e,event:t},r=0,o=a.length;r<o;r++){var l=a[r],s=de(n,l,{});i.points.push([s.zrX,s.zrY]),i.touches.push(l)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in _e)if(_e.hasOwnProperty(e)){var n=_e[e](this._track,t);if(n)return n}},t}();function xe(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var _e={pinch:function(t,e){var n=t.length;if(n){var a,i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=xe(i)/xe(r);!isFinite(o)&&(o=1),e.pinchScale=o;var l=[((a=i)[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},we="silent";function ke(){ye(this.event)}var Se=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return u(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(ne),Me=function(t,e){this.x=t,this.y=e},Ie=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Te=function(t){function e(e,n,a,i){var r=t.call(this)||this;return r._hovered=new Me(0,0),r.storage=e,r.painter=n,r.painterRoot=i,a=a||new Se,r.proxy=null,r.setHandlerProxy(a),r._draggingMgr=new te(r),r}return u(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(X(Ie,(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,a=De(this,e,n),i=this._hovered,r=i.target;r&&!r.__zr&&(r=(i=this.findHover(i.x,i.y)).target);var o=this._hovered=a?new Me(e,n):this.findHover(e,n),l=o.target,s=this.proxy;s.setCursor&&s.setCursor(l?l.cursor:"default"),r&&l!==r&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(o,"mousemove",t),l&&l!==r&&this.dispatchToElement(o,"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 Me(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 a=(t=t||{}).target;if(!a||!a.silent){for(var i="on"+e,r=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:ke}}(e,t,n);a&&(a[i]&&(r.cancelBubble=!!a[i].call(a,r)),a.trigger(e,r),a=a.__hostTarget?a.__hostTarget:a.parent,!r.cancelBubble););r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,r),t.trigger&&t.trigger(e,r)})))}},e.prototype.findHover=function(t,e,n){for(var a=this.storage.getDisplayList(),i=new Me(t,e),r=a.length-1;r>=0;r--){var o=void 0;if(a[r]!==n&&!a[r].ignore&&(o=Ce(a[r],t,e))&&(!i.topTarget&&(i.topTarget=a[r]),o!==we)){i.target=a[r];break}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new be);var n=this._gestureMgr;"start"===e&&n.clear();var a=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),a){var i=a.type;t.gestureEvent=i;var r=new Me;r.target=a.target,this.dispatchToElement(r,i,a.event)}},e}(ne);function Ce(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var a=t,i=void 0,r=!1;a;){if(a.ignoreClip&&(r=!0),!r){var o=a.getClipPath();if(o&&!o.contain(e,n))return!1;a.silent&&(i=!0)}var l=a.__hostTarget;a=l||a.parent}return!i||we}return!1}function De(t,e,n){var a=t.painter;return e<0||e>a.getWidth()||n<0||n>a.getHeight()}X(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){Te.prototype[t]=function(e){var n,a,i=e.zrX,r=e.zrY,o=De(this,i,r);if("mouseup"===t&&o||(a=(n=this.findHover(i,r)).target),"mousedown"===t)this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if("mouseup"===t)this._upEl=a;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Ut(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var Ae=Te;function Le(t,e,n,a){var i=e+1;if(i===n)return 1;if(a(t[i++],t[e])<0){for(;i<n&&a(t[i],t[i-1])<0;)i++;!function(t,e,n){n--;for(;e<n;){var a=t[e];t[e++]=t[n],t[n--]=a}}(t,e,i)}else for(;i<n&&a(t[i],t[i-1])>=0;)i++;return i-e}function Pe(t,e,n,a,i){for(a===e&&a++;a<n;a++){for(var r,o=t[a],l=e,s=a;l<s;)i(o,t[r=l+s>>>1])<0?s=r:l=r+1;var u=a-l;switch(u){case 3:t[l+3]=t[l+2];case 2:t[l+2]=t[l+1];case 1:t[l+1]=t[l];break;default:for(;u>0;)t[l+u]=t[l+u-1],u--}t[l]=o}}function ze(t,e,n,a,i,r){var o=0,l=0,s=1;if(r(t,e[n+i])>0){for(l=a-i;s<l&&r(t,e[n+i+s])>0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),o+=i,s+=i}else{for(l=i+1;s<l&&r(t,e[n+i-s])<=0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var u=o;o=i-s,s=i-u}for(o++;o<s;){var c=o+(s-o>>>1);r(t,e[n+c])>0?o=c+1:s=c}return s}function Oe(t,e,n,a,i,r){var o=0,l=0,s=1;if(r(t,e[n+i])<0){for(l=i+1;s<l&&r(t,e[n+i-s])<0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var u=o;o=i-s,s=i-u}else{for(l=a-i;s<l&&r(t,e[n+i+s])>=0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),o+=i,s+=i}for(o++;o<s;){var c=o+(s-o>>>1);r(t,e[n+c])<0?s=c:o=c+1}return s}function Re(t,e){var n,a,i=7,r=0,o=[];function l(l){var s=n[l],u=a[l],c=n[l+1],p=a[l+1];a[l]=u+p,l===r-3&&(n[l+1]=n[l+2],a[l+1]=a[l+2]),r--;var d=Oe(t[c],t,s,u,0,e);s+=d,0!==(u-=d)&&0!==(p=ze(t[s+u-1],t,c,p,p-1,e))&&(u<=p?function(n,a,r,l){var s=0;for(s=0;s<a;s++)o[s]=t[n+s];var u=0,c=r,p=n;if(t[p++]=t[c++],0==--l){for(s=0;s<a;s++)t[p+s]=o[u+s];return}if(1===a){for(s=0;s<l;s++)t[p+s]=t[c+s];return void(t[p+l]=o[u])}var d,h,f,g=i;for(;;){d=0,h=0,f=!1;do{if(e(t[c],o[u])<0){if(t[p++]=t[c++],h++,d=0,0==--l){f=!0;break}}else if(t[p++]=o[u++],d++,h=0,1==--a){f=!0;break}}while((d|h)<g);if(f)break;do{if(0!==(d=Oe(t[c],o,u,a,0,e))){for(s=0;s<d;s++)t[p+s]=o[u+s];if(p+=d,u+=d,(a-=d)<=1){f=!0;break}}if(t[p++]=t[c++],0==--l){f=!0;break}if(0!==(h=ze(o[u],t,c,l,0,e))){for(s=0;s<h;s++)t[p+s]=t[c+s];if(p+=h,c+=h,0===(l-=h)){f=!0;break}}if(t[p++]=o[u++],1==--a){f=!0;break}g--}while(d>=7||h>=7);if(f)break;g<0&&(g=0),g+=2}if((i=g)<1&&(i=1),1===a){for(s=0;s<l;s++)t[p+s]=t[c+s];t[p+l]=o[u]}else{if(0===a)throw new Error;for(s=0;s<a;s++)t[p+s]=o[u+s]}}(s,u,c,p):function(n,a,r,l){var s=0;for(s=0;s<l;s++)o[s]=t[r+s];var u=n+a-1,c=l-1,p=r+l-1,d=0,h=0;if(t[p--]=t[u--],0==--a){for(d=p-(l-1),s=0;s<l;s++)t[d+s]=o[s];return}if(1===l){for(h=(p-=a)+1,d=(u-=a)+1,s=a-1;s>=0;s--)t[h+s]=t[d+s];return void(t[p]=o[c])}var f=i;for(;;){var g=0,m=0,y=!1;do{if(e(o[c],t[u])<0){if(t[p--]=t[u--],g++,m=0,0==--a){y=!0;break}}else if(t[p--]=o[c--],m++,g=0,1==--l){y=!0;break}}while((g|m)<f);if(y)break;do{if(0!==(g=a-Oe(o[c],t,n,a,a-1,e))){for(a-=g,h=(p-=g)+1,d=(u-=g)+1,s=g-1;s>=0;s--)t[h+s]=t[d+s];if(0===a){y=!0;break}}if(t[p--]=o[c--],1==--l){y=!0;break}if(0!==(m=l-ze(t[u],o,0,l,l-1,e))){for(l-=m,h=(p-=m)+1,d=(c-=m)+1,s=0;s<m;s++)t[h+s]=o[d+s];if(l<=1){y=!0;break}}if(t[p--]=t[u--],0==--a){y=!0;break}f--}while(g>=7||m>=7);if(y)break;f<0&&(f=0),f+=2}(i=f)<1&&(i=1);if(1===l){for(h=(p-=a)+1,d=(u-=a)+1,s=a-1;s>=0;s--)t[h+s]=t[d+s];t[p]=o[c]}else{if(0===l)throw new Error;for(d=p-(l-1),s=0;s<l;s++)t[d+s]=o[s]}}(s,u,c,p))}return n=[],a=[],{mergeRuns:function(){for(;r>1;){var t=r-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]<a[t+1]&&t--;else if(a[t]>a[t+1])break;l(t)}},forceMergeRuns:function(){for(;r>1;){var t=r-2;t>0&&a[t-1]<a[t+1]&&t--,l(t)}},pushRun:function(t,e){n[r]=t,a[r]=e,r+=1}}}function Ne(t,e,n,a){n||(n=0),a||(a=t.length);var i=a-n;if(!(i<2)){var r=0;if(i<32)Pe(t,n,a,n+(r=Le(t,n,a,e)),e);else{var o=Re(t,e),l=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(i);do{if((r=Le(t,n,a,e))<l){var s=i;s>l&&(s=l),Pe(t,n,n+s,n+r,e),r=s}o.pushRun(n,r),o.mergeRuns(),i-=r,n+=r}while(0!==i);o.forceMergeRuns()}}}var Ee=!1;function Be(){Ee||(Ee=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Ve(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Fe=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Ve}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,a=0,i=e.length;a<i;a++)this._updateAndAddDisplayable(e[a],null,t);n.length=this._displayListLen,b.canvasSupported&&Ne(n,Ve)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var a=t.getClipPath();if(t.ignoreClip)e=null;else if(a){e=e?e.slice():[];for(var i=a,r=t;i;)i.parent=r,i.updateTransform(),e.push(i),r=i,i=i.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),l=0;l<o.length;l++){var s=o[l];t.__dirty&&(s.__dirty|=1),this._updateAndAddDisplayable(s,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)&&(Be(),u.z=0),isNaN(u.z2)&&(Be(),u.z2=0),isNaN(u.zlevel)&&(Be(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextGuideLine();p&&this._updateAndAddDisplayable(p,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,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 a=H(this._roots,t);a>=0&&this._roots.splice(a,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}(),Ge=Fe,He="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},We={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,a=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=a*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.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-We.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*We.bounceIn(2*t):.5*We.bounceOut(2*t-1)+.5}},Ue=We,Ye=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),!this._paused){var n=(t-this._startTime-this._pausedTime)/this._life;n<0&&(n=0),n=Math.min(n,1);var a=this.easing,i="string"==typeof a?Ue[a]:a,r="function"==typeof i?i(n):n;if(this.onframe&&this.onframe(r),1===n){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1}this._pausedTime+=e},t.prototype._restart=function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}(),Xe=Ye,Ze=function(t){this.value=t},je=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Ze(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}(),qe=function(){function t(t){this._list=new je,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,a=this._map,i=null;if(null==a[t]){var r=n.len(),o=this._lastRemovedEntry;if(r>=this._maxSize&&r>0){var l=n.head;n.remove(l),delete a[l.key],i=l.value,this._lastRemovedEntry=l}o?o.value=e:o=new Ze(e),o.key=t,n.insertEntry(o),a[t]=o}return i},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}(),Ke=qe,$e={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 Je(t){return(t=Math.round(t))<0?0:t>255?255:t}function Qe(t){return t<0?0:t>1?1:t}function tn(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Je(parseFloat(e)/100*255):Je(parseInt(e,10))}function en(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Qe(parseFloat(e)/100):Qe(parseFloat(e))}function nn(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 an(t,e,n){return t+(e-t)*n}function rn(t,e,n,a,i){return t[0]=e,t[1]=n,t[2]=a,t[3]=i,t}function on(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var ln=new Ke(20),sn=null;function un(t,e){sn&&on(sn,e),sn=ln.put(t,sn||e.slice())}function cn(t,e){if(t){e=e||[];var n=ln.get(t);if(n)return on(e,n);var a=(t+="").replace(/ /g,"").toLowerCase();if(a in $e)return on(e,$e[a]),un(t,e),e;var i,r=a.length;if("#"===a.charAt(0))return 4===r||5===r?(i=parseInt(a.slice(1,4),16))>=0&&i<=4095?(rn(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===r?parseInt(a.slice(4),16)/15:1),un(t,e),e):void rn(e,0,0,0,1):7===r||9===r?(i=parseInt(a.slice(1,7),16))>=0&&i<=16777215?(rn(e,(16711680&i)>>16,(65280&i)>>8,255&i,9===r?parseInt(a.slice(7),16)/255:1),un(t,e),e):void rn(e,0,0,0,1):void 0;var o=a.indexOf("("),l=a.indexOf(")");if(-1!==o&&l+1===r){var s=a.substr(0,o),u=a.substr(o+1,l-(o+1)).split(","),c=1;switch(s){case"rgba":if(4!==u.length)return 3===u.length?rn(e,+u[0],+u[1],+u[2],1):rn(e,0,0,0,1);c=en(u.pop());case"rgb":return 3!==u.length?void rn(e,0,0,0,1):(rn(e,tn(u[0]),tn(u[1]),tn(u[2]),c),un(t,e),e);case"hsla":return 4!==u.length?void rn(e,0,0,0,1):(u[3]=en(u[3]),pn(u,e),un(t,e),e);case"hsl":return 3!==u.length?void rn(e,0,0,0,1):(pn(u,e),un(t,e),e);default:return}}rn(e,0,0,0,1)}}function pn(t,e){var n=(parseFloat(t[0])%360+360)%360/360,a=en(t[1]),i=en(t[2]),r=i<=.5?i*(a+1):i+a-i*a,o=2*i-r;return rn(e=e||[],Je(255*nn(o,r,n+1/3)),Je(255*nn(o,r,n)),Je(255*nn(o,r,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function dn(t,e){var n=cn(t);if(n){for(var a=0;a<3;a++)n[a]=e<0?n[a]*(1-e)|0:(255-n[a])*e+n[a]|0,n[a]>255?n[a]=255:n[a]<0&&(n[a]=0);return xn(n,4===n.length?"rgba":"rgb")}}function hn(t){var e=cn(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function fn(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var a=t*(e.length-1),i=Math.floor(a),r=Math.ceil(a),o=e[i],l=e[r],s=a-i;return n[0]=Je(an(o[0],l[0],s)),n[1]=Je(an(o[1],l[1],s)),n[2]=Je(an(o[2],l[2],s)),n[3]=Qe(an(o[3],l[3],s)),n}}var gn=fn;function mn(t,e,n){if(e&&e.length&&t>=0&&t<=1){var a=t*(e.length-1),i=Math.floor(a),r=Math.ceil(a),o=cn(e[i]),l=cn(e[r]),s=a-i,u=xn([Je(an(o[0],l[0],s)),Je(an(o[1],l[1],s)),Je(an(o[2],l[2],s)),Qe(an(o[3],l[3],s))],"rgba");return n?{color:u,leftIndex:i,rightIndex:r,value:a}:u}}var yn=mn;function vn(t,e,n,a){var i=cn(t);if(t)return i=function(t){if(t){var e,n,a=t[0]/255,i=t[1]/255,r=t[2]/255,o=Math.min(a,i,r),l=Math.max(a,i,r),s=l-o,u=(l+o)/2;if(0===s)e=0,n=0;else{n=u<.5?s/(l+o):s/(2-l-o);var c=((l-a)/6+s/2)/s,p=((l-i)/6+s/2)/s,d=((l-r)/6+s/2)/s;a===l?e=d-p:i===l?e=1/3+c-d:r===l&&(e=2/3+p-c),e<0&&(e+=1),e>1&&(e-=1)}var h=[360*e,n,u];return null!=t[3]&&h.push(t[3]),h}}(i),null!=e&&(i[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(i[1]=en(n)),null!=a&&(i[2]=en(a)),xn(pn(i),"rgba")}function bn(t,e){var n=cn(t);if(n&&null!=e)return n[3]=Qe(e),xn(n,"rgba")}function xn(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 _n(t,e){var n=cn(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var wn=Object.freeze({__proto__:null,parse:cn,lift:dn,toHex:hn,fastLerp:fn,fastMapToColor:gn,lerp:mn,mapToColor:yn,modifyHSL:vn,modifyAlpha:bn,stringify:xn,lum:_n,random:function(){return"rgb("+Math.round(255*Math.random())+","+Math.round(255*Math.random())+","+Math.round(255*Math.random())+")"}}),kn=Array.prototype.slice;function Sn(t,e,n){return(e-t)*n+t}function Mn(t,e,n,a){for(var i=e.length,r=0;r<i;r++)t[r]=Sn(e[r],n[r],a)}function In(t,e,n,a){for(var i=e.length,r=0;r<i;r++)t[r]=e[r]+n[r]*a;return t}function Tn(t,e,n,a){for(var i=e.length,r=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var l=0;l<r;l++)t[o][l]=e[o][l]+n[o][l]*a}return t}function Cn(t,e,n){var a=t,i=e;if(a.push&&i.push){var r=a.length,o=i.length;if(r!==o)if(r>o)a.length=o;else for(var l=r;l<o;l++)a.push(1===n?i[l]:kn.call(i[l]));var s=a[0]&&a[0].length;for(l=0;l<a.length;l++)if(1===n)isNaN(a[l])&&(a[l]=i[l]);else for(var u=0;u<s;u++)isNaN(a[l][u])&&(a[l][u]=i[l][u])}}function Dn(t,e){var n=t.length;if(n!==e.length)return!1;for(var a=0;a<n;a++)if(t[a]!==e[a])return!1;return!0}function An(t,e,n,a,i,r,o){var l=.5*(n-t),s=.5*(a-e);return(2*(e-n)+l+s)*o+(-3*(e-n)-2*l-s)*r+l*i+e}function Ln(t,e,n,a,i,r,o,l){for(var s=e.length,u=0;u<s;u++)t[u]=An(e[u],n[u],a[u],i[u],r,o,l)}function Pn(t){if(Y(t)){var e=t.length;if(Y(t[0])){for(var n=[],a=0;a<e;a++)n.push(kn.call(t[a]));return n}return kn.call(t)}return t}function zn(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}var On,Rn,Nn=[0,0,0,0],En=function(){function t(t){this.keyframes=[],this.maxTime=0,this.arrDim=0,this.interpolable=!0,this._needsSort=!1,this._isAllValueEqual=!0,this._lastFrame=0,this._lastFramePercent=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._isAllValueEqual&&this.keyframes.length>=2&&this.interpolable&&this.maxTime>0},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,a=n.length;if(this.interpolable)if(Y(e)){var i=function(t){return Y(t&&t[0])?2:1}(e);if(a>0&&this.arrDim!==i)return void(this.interpolable=!1);if(1===i&&"number"!=typeof e[0]||2===i&&"number"!=typeof e[0][0])return void(this.interpolable=!1);if(a>0){var r=n[a-1];this._isAllValueEqual&&(1===i&&Dn(e,r.value)||(this._isAllValueEqual=!1))}this.arrDim=i}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"==typeof e){var o=cn(e);o?(e=o,this.isValueColor=!0):this.interpolable=!1}else if("number"!=typeof e||isNaN(e))return void(this.interpolable=!1);if(this._isAllValueEqual&&a>0){r=n[a-1];(this.isValueColor&&!Dn(r.value,e)||r.value!==e)&&(this._isAllValueEqual=!1)}}var l={time:t,value:e,percent:0};return this.keyframes.push(l),l},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,a=e.length,i=e[a-1],r=0;r<a;r++)e[r].percent=e[r].time/this.maxTime,n>0&&r!==a-1&&Cn(e[r].value,i.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var o=e[0].value;for(r=0;r<a;r++)0===n?this.isValueColor?e[r].additiveValue=In([],e[r].value,o,-1):e[r].additiveValue=e[r].value-o:1===n?e[r].additiveValue=In([],e[r].value,o,-1):2===n&&(e[r].additiveValue=Tn([],e[r].value,o,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,a=null!=this._additiveTrack,i=a?"additiveValue":"value",r=this.keyframes,o=this.keyframes.length,l=this.propName,s=this.arrDim,u=this.isValueColor;if(e<0)n=0;else if(e<this._lastFramePercent){for(n=Math.min(this._lastFrame+1,o-1);n>=0&&!(r[n].percent<=e);n--);n=Math.min(n,o-2)}else{for(n=this._lastFrame;n<o&&!(r[n].percent>e);n++);n=Math.min(n-1,o-2)}var c=r[n+1],p=r[n];if(p&&c){this._lastFrame=n,this._lastFramePercent=e;var d=c.percent-p.percent;if(0!==d){var h=(e-p.percent)/d,f=a?this._additiveValue:u?Nn:t[l];if((s>0||u)&&!f&&(f=this._additiveValue=[]),this.useSpline){var g=r[n][i],m=r[0===n?n:n-1][i],y=r[n>o-2?o-1:n+1][i],v=r[n>o-3?o-1:n+2][i];if(s>0)1===s?Ln(f,m,g,y,v,h,h*h,h*h*h):function(t,e,n,a,i,r,o,l){for(var s=e.length,u=e[0].length,c=0;c<s;c++){t[c]||(t[1]=[]);for(var p=0;p<u;p++)t[c][p]=An(e[c][p],n[c][p],a[c][p],i[c][p],r,o,l)}}(f,m,g,y,v,h,h*h,h*h*h);else if(u)Ln(f,m,g,y,v,h,h*h,h*h*h),a||(t[l]=zn(f));else{var b=void 0;b=this.interpolable?An(m,g,y,v,h,h*h,h*h*h):y,a?this._additiveValue=b:t[l]=b}}else if(s>0)1===s?Mn(f,p[i],c[i],h):function(t,e,n,a){for(var i=e.length,r=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var l=0;l<r;l++)t[o][l]=Sn(e[o][l],n[o][l],a)}}(f,p[i],c[i],h);else if(u)Mn(f,p[i],c[i],h),a||(t[l]=zn(f));else{b=void 0;b=this.interpolable?Sn(p[i],c[i],h):function(t,e,n){return n>.5?e:t}(p[i],c[i],h),a?this._additiveValue=b:t[l]=b}a&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,a=this._additiveValue;0===e?this.isValueColor?(cn(t[n],Nn),In(Nn,Nn,a,1),t[n]=zn(Nn)):t[n]=t[n]+a:1===e?In(t[n],t[n],a,1):2===e&&Tn(t[n],t[n],a,1)},t}(),Bn=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?R("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,$(e))},t.prototype.whenWithKeys=function(t,e,n){for(var a=this._tracks,i=0;i<n.length;i++){var r=n[i],o=a[r];if(!o){o=a[r]=new En(r);var l=void 0,s=this._getAdditiveTrack(r);if(s){var u=s.keyframes[s.keyframes.length-1];l=u&&u.value,s.isValueColor&&l&&(l=zn(l))}else l=this._target[r];if(null==l)continue;0!==t&&o.addKeyframe(0,Pn(l)),this._trackKeys.push(r)}o.addKeyframe(t,Pn(e[r]))}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._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 a=0;a<n.length;a++){var i=n[a].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t,e){if(!(this._started>0)){this._started=1;for(var n=this,a=[],i=0;i<this._trackKeys.length;i++){var r=this._trackKeys[i],o=this._tracks[r],l=this._getAdditiveTrack(r),s=o.keyframes;if(o.prepare(l),o.needsAnimate())a.push(o);else if(!o.interpolable){var u=s[s.length-1];u&&(n._target[o.propName]=u.value)}}if(a.length||e){var c=new Xe({life:this._maxTime,loop:this._loop,delay:this._delay,onframe:function(t){n._started=2;var e=n._additiveAnimators;if(e){for(var i=!1,r=0;r<e.length;r++)if(e[r]._clip){i=!0;break}i||(n._additiveAnimators=null)}for(r=0;r<a.length;r++)a[r].step(n._target,t);var o=n._onframeCbs;if(o)for(r=0;r<o.length;r++)o[r](n._target,t)},ondestroy:function(){n._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&"spline"!==t&&(c.easing=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.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,a=this._trackKeys,i=0;i<t.length;i++){var r=n[t[i]];r&&(e?r.step(this._target,1):1===this._started&&r.step(this._target,0),r.setFinished())}var o=!0;for(i=0;i<a.length;i++)if(!n[a[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveFinalToTarget=function(t,e){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var a=e[n],i=this._tracks[a];if(i&&!i.isFinished()){var r=i.keyframes,o=r[r.length-1];if(o){var l=Pn(o.value);i.isValueColor&&(l=zn(l)),t[a]=l}}}}},t.prototype.__changeFinalValue=function(t,e){e=e||$(t);for(var n=0;n<e.length;n++){var a=e[n],i=this._tracks[a];if(i){var r=i.keyframes;if(r.length>1){var o=r.pop();i.addKeyframe(o.time,t[a]),i.prepare(i.getAdditiveTrack())}}}},t}(),Vn=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.onframe=e.onframe||function(){},n}return u(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=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._clipsHead=n,n?n.prev=e:this._clipsTail=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=(new Date).getTime()-this._pausedTime,n=e-this._time,a=this._clipsHead;a;){var i=a.next;a.step(e,n)?(a.ondestroy&&a.ondestroy(),this.removeClip(a),a=i):a=i}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,He((function e(){t._running&&(He(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._clipsHead;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new Bn(t,e.loop);return this.addAnimator(n),n},e}(ne),Fn=Vn,Gn=b.domSupported,Hn=(Rn={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:On=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:Z(On,(function(t){var e=t.replace("mouse","pointer");return Rn.hasOwnProperty(e)?e:t}))}),Wn=["mousemove","mouseup"],Un=["pointermove","pointerup"],Yn=!1;function Xn(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Zn(t){t&&(t.zrByTouch=!0)}function jn(t,e){for(var n=e,a=!1;n&&9!==n.nodeType&&!(a=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return a}var qn=function(t,e){this.stopPropagation=Ct,this.stopImmediatePropagation=Ct,this.preventDefault=Ct,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Kn={mousedown:function(t){t=ge(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=ge(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=ge(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){jn(this,(t=ge(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Yn=!0,t=ge(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Yn||(t=ge(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){Zn(t=ge(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Kn.mousemove.call(this,t),Kn.mousedown.call(this,t)},touchmove:function(t){Zn(t=ge(this.dom,t)),this.handler.processGesture(t,"change"),Kn.mousemove.call(this,t)},touchend:function(t){Zn(t=ge(this.dom,t)),this.handler.processGesture(t,"end"),Kn.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Kn.click.call(this,t)},pointerdown:function(t){Kn.mousedown.call(this,t)},pointermove:function(t){Xn(t)||Kn.mousemove.call(this,t)},pointerup:function(t){Kn.mouseup.call(this,t)},pointerout:function(t){Xn(t)||Kn.mouseout.call(this,t)}};X(["click","dblclick","contextmenu"],(function(t){Kn[t]=function(e){e=ge(this.dom,e),this.trigger(t,e)}}));var $n={pointermove:function(t){Xn(t)||$n.mousemove.call(this,t)},pointerup:function(t){$n.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 Jn(t,e){var n=e.domHandlers;b.pointerEventsSupported?X(Hn.pointer,(function(a){ta(e,a,(function(e){n[a].call(t,e)}))})):(b.touchEventsSupported&&X(Hn.touch,(function(a){ta(e,a,(function(i){n[a].call(t,i),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)}))})),X(Hn.mouse,(function(a){ta(e,a,(function(i){i=fe(i),e.touching||n[a].call(t,i)}))})))}function Qn(t,e){function n(n){ta(e,n,(function(a){a=fe(a),jn(t,a.target)||(a=function(t,e){return ge(t.dom,new qn(t,e),!0)}(t,a),e.domHandlers[n].call(t,a))}),{capture:!0})}b.pointerEventsSupported?X(Un,n):b.touchEventsSupported||X(Wn,n)}function ta(t,e,n,a){t.mounted[e]=n,t.listenerOpts[e]=a,me(t.domTarget,e,n,a)}function ea(t){var e,n,a,i,r=t.mounted;for(var o in r)r.hasOwnProperty(o)&&(e=t.domTarget,n=o,a=r[o],i=t.listenerOpts[o],ue?e.removeEventListener(n,a,i):e.detachEvent("on"+n,a));t.mounted={}}var na=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},aa=function(t){function e(e,n){var a=t.call(this)||this;return a.__pointerCapturing=!1,a.dom=e,a.painterRoot=n,a._localHandlerScope=new na(e,Kn),Gn&&(a._globalHandlerScope=new na(document,$n)),Jn(a,a._localHandlerScope),a}return u(e,t),e.prototype.dispose=function(){ea(this._localHandlerScope),Gn&&ea(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,Gn&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Qn(this,e):ea(e)}},e}(ne),ia=1;"undefined"!=typeof window&&(ia=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var ra=ia,oa="#333",la="#ccc";function sa(){return[1,0,0,1,0,0]}function ua(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function ca(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 pa(t,e,n){var a=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],r=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],l=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=a,t[1]=i,t[2]=r,t[3]=o,t[4]=l,t[5]=s,t}function da(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 ha(t,e,n){var a=e[0],i=e[2],r=e[4],o=e[1],l=e[3],s=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=a*c+o*u,t[1]=-a*u+o*c,t[2]=i*c+l*u,t[3]=-i*u+c*l,t[4]=c*r+u*s,t[5]=c*s-u*r,t}function fa(t,e,n){var a=n[0],i=n[1];return t[0]=e[0]*a,t[1]=e[1]*i,t[2]=e[2]*a,t[3]=e[3]*i,t[4]=e[4]*a,t[5]=e[5]*i,t}function ga(t,e){var n=e[0],a=e[2],i=e[4],r=e[1],o=e[3],l=e[5],s=n*o-r*a;return s?(s=1/s,t[0]=o*s,t[1]=-r*s,t[2]=-a*s,t[3]=n*s,t[4]=(a*l-o*i)*s,t[5]=(r*i-n*l)*s,t):null}function ma(t){var e=[1,0,0,1,0,0];return ca(e,t),e}var ya=Object.freeze({__proto__:null,create:sa,identity:ua,copy:ca,mul:pa,translate:da,rotate:ha,scale:fa,invert:ga,clone:ma}),va=ua,ba=5e-5;function xa(t){return t>ba||t<-5e-5}var _a,wa,ka=[],Sa=[],Ma=[1,0,0,1,0,0],Ia=Math.abs,Ta=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 xa(this.rotation)||xa(this.x)||xa(this.y)||xa(this.scaleX-1)||xa(this.scaleY-1)},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):va(n),t&&(e?pa(n,t,n):ca(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&va(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(ka);var n=ka[0]<0?-1:1,a=ka[1]<0?-1:1,i=((ka[0]-n)*e+n)/ka[0]||0,r=((ka[1]-a)*e+a)/ka[1]||0;t[0]*=i,t[1]*=i,t[2]*=r,t[3]*=r}this.invTransform=this.invTransform||[1,0,0,1,0,0],ga(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],a=Math.atan2(t[1],t[0]),i=Math.PI/2+a-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-a,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&&(pa(Sa,t.invTransform,e),e=Sa);var n=this.originX,a=this.originY;(n||a)&&(Ma[4]=n,Ma[5]=a,pa(Sa,e,Ma),Sa[4]-=n,Sa[5]-=a,e=Sa),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],a=this.invTransform;return a&&jt(n,n,a),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],a=this.transform;return a&&jt(n,n,a),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&Ia(t[0]-1)>1e-10&&Ia(t[3]-1)>1e-10?Math.sqrt(Ia(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){for(var e=0;e<Ca.length;e++){var n=Ca[e];this[n]=t[n]}},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,a=t.originY||0,i=t.scaleX,r=t.scaleY,o=t.rotation||0,l=t.x,s=t.y,u=t.skewX?Math.tan(t.skewX):0,c=t.skewY?Math.tan(-t.skewY):0;return n||a?(e[4]=-n*i-u*a*r,e[5]=-a*r-c*n*i):e[4]=e[5]=0,e[0]=i,e[3]=r,e[1]=c*i,e[2]=u*r,o&&ha(e,e,o),e[4]+=n+l,e[5]+=a+s,e},t.initDefaultProps=function(){var e=t.prototype;e.x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.skewX=0,e.skewY=0,e.rotation=0,e.globalScaleRatio=1}(),t}(),Ca=["x","y","originX","originY","rotation","scaleX","scaleY","skewX","skewY"],Da=Ta,Aa=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,a){t.x=e.x+n.x*a,t.y=e.y+n.y*a},t.lerp=function(t,e,n,a){var i=1-a;t.x=i*e.x+a*n.x,t.y=i*e.y+a*n.y},t}(),La=Aa,Pa=Math.min,za=Math.max,Oa=new La,Ra=new La,Na=new La,Ea=new La,Ba=new La,Va=new La,Fa=function(){function t(t,e,n,a){n<0&&(t+=n,n=-n),a<0&&(e+=a,a=-a),this.x=t,this.y=e,this.width=n,this.height=a}return t.prototype.union=function(t){var e=Pa(t.x,this.x),n=Pa(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=za(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=za(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,a=t.height/e.height,i=[1,0,0,1,0,0];return da(i,i,[-e.x,-e.y]),fa(i,i,[n,a]),da(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var a=this,i=a.x,r=a.x+a.width,o=a.y,l=a.y+a.height,s=e.x,u=e.x+e.width,c=e.y,p=e.y+e.height,d=!(r<s||u<i||l<c||p<o);if(n){var h=1/0,f=0,g=Math.abs(r-s),m=Math.abs(u-i),y=Math.abs(l-c),v=Math.abs(p-o),b=Math.min(g,m),x=Math.min(y,v);r<s||u<i?b>f&&(f=b,g<m?La.set(Va,-g,0):La.set(Va,m,0)):b<h&&(h=b,g<m?La.set(Ba,g,0):La.set(Ba,-m,0)),l<c||p<o?x>f&&(f=x,y<v?La.set(Va,0,-y):La.set(Va,0,v)):b<h&&(h=b,y<v?La.set(Ba,0,y):La.set(Ba,0,-v))}return n&&La.copy(n,d?Ba:Va),d},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,a){if(a){if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var i=a[0],r=a[3],o=a[4],l=a[5];return e.x=n.x*i+o,e.y=n.y*r+l,e.width=n.width*i,e.height=n.height*r,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}Oa.x=Na.x=n.x,Oa.y=Ea.y=n.y,Ra.x=Ea.x=n.x+n.width,Ra.y=Na.y=n.y+n.height,Oa.transform(a),Ea.transform(a),Ra.transform(a),Na.transform(a),e.x=Pa(Oa.x,Ra.x,Na.x,Ea.x),e.y=Pa(Oa.y,Ra.y,Na.y,Ea.y);var s=za(Oa.x,Ra.x,Na.x,Ea.x),u=za(Oa.y,Ra.y,Na.y,Ea.y);e.width=s-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),Ga=Fa,Ha={},Wa="12px sans-serif";var Ua={measureText:function(t,e){return _a||(_a=G().getContext("2d")),wa!==e&&(wa=_a.font=e||Wa),_a.measureText(t)}};function Ya(t,e){var n=Ha[e=e||Wa];n||(n=Ha[e]=new Ke(500));var a=n.get(t);return null==a&&(a=Ua.measureText(t,e).width,n.put(t,a)),a}function Xa(t,e,n,a){var i=Ya(t,e),r=Ka(e),o=ja(0,i,n),l=qa(0,r,a);return new Ga(o,l,i,r)}function Za(t,e,n,a){var i=((t||"")+"").split("\n");if(1===i.length)return Xa(i[0],e,n,a);for(var r=new Ga(0,0,0,0),o=0;o<i.length;o++){var l=Xa(i[o],e,n,a);0===o?r.copy(l):r.union(l)}return r}function ja(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function qa(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Ka(t){return Ya("国",t)}function $a(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Ja(t,e,n){var a=e.position||"inside",i=null!=e.distance?e.distance:5,r=n.height,o=n.width,l=r/2,s=n.x,u=n.y,c="left",p="top";if(a instanceof Array)s+=$a(a[0],n.width),u+=$a(a[1],n.height),c=null,p=null;else switch(a){case"left":s-=i,u+=l,c="right",p="middle";break;case"right":s+=i+o,u+=l,p="middle";break;case"top":s+=o/2,u-=i,c="center",p="bottom";break;case"bottom":s+=o/2,u+=r+i,c="center";break;case"inside":s+=o/2,u+=l,c="center",p="middle";break;case"insideLeft":s+=i,u+=l,p="middle";break;case"insideRight":s+=o-i,u+=l,c="right",p="middle";break;case"insideTop":s+=o/2,u+=i,c="center";break;case"insideBottom":s+=o/2,u+=r-i,c="center",p="bottom";break;case"insideTopLeft":s+=i,u+=i;break;case"insideTopRight":s+=o-i,u+=i,c="right";break;case"insideBottomLeft":s+=i,u+=r-i,p="bottom";break;case"insideBottomRight":s+=o-i,u+=r-i,c="right",p="bottom"}return(t=t||{}).x=s,t.y=u,t.align=c,t.verticalAlign=p,t}var Qa="__zr_normal__",ti=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],ei={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},ni={},ai=new Ga(0,0,0,0),ii=function(){function t(t){this.id=O(),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 a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[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,a=n.local,i=e.innerTransformable,r=void 0,o=void 0,l=!1;i.parent=a?this:null;var s=!1;if(i.copyTransform(e),null!=n.position){var u=ai;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),a||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(ni,n,u):Ja(ni,n,u),i.x=ni.x,i.y=ni.y,r=ni.align,o=ni.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var p=void 0,d=void 0;"center"===c?(p=.5*u.width,d=.5*u.height):(p=$a(c[0],u.width),d=$a(c[1],u.height)),s=!0,i.originX=-i.x+p+(a?0:u.x),i.originY=-i.y+d+(a?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var h=n.offset;h&&(i.x+=h[0],i.y+=h[1],s||(i.originX=-h[0],i.originY=-h[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,v=void 0;f&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(m),v=!0)):(m=n.outsideFill,y=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(m),v=!0)),(m=m||"#000")===g.fill&&y===g.stroke&&v===g.autoStroke&&r===g.align&&o===g.verticalAlign||(l=!0,g.fill=m,g.stroke=y,g.autoStroke=v,g.align=r,g.verticalAlign=o,e.setDefaultTextStyle(g)),e.__dirty|=1,l&&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()?la:oa},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&cn(e);n||(n=[255,255,255,1]);for(var a=n[3],i=this.__zr.isDarkMode(),r=0;r<3;r++)n[r]=n[r]*a+(i?0:255)*(1-a);return n[3]=1,xn(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||{},V(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(rt(t))for(var n=$(t),a=0;a<n.length;a++){var i=n[a];this.attrKV(i,t[i])}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 a=this.animators[n],i=a.__fromStateTransition;if(!i||i===Qa){var r=a.targetName,o=r?e[r]:e;a.saveFinalToTarget(o)}}},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,ti)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var a=0;a<n.length;a++){var i=n[a];null==t[i]||i in e||(e[i]=this[i])}},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(Qa,!1,t)},t.prototype.useState=function(t,e,n,a){var i=t===Qa;if(this.hasState()||!i){var r=this.currentStates,o=this.stateTransition;if(!(H(r,t)>=0)||!e&&1!==r.length){var l;if(this.stateProxy&&!i&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||i){i||this.saveCurrentToNormalState(l);var s=!!(l&&l.hoverLayer||a);s&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&o&&o.duration>0,o);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,s),c&&c.useState(t,e,n,s),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!s&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),l}R("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var a=[],i=this.currentStates,r=t.length,o=r===i.length;if(o)for(var l=0;l<r;l++)if(t[l]!==i[l]){o=!1;break}if(o)return;for(l=0;l<r;l++){var s=t[l],u=void 0;this.stateProxy&&(u=this.stateProxy(s,t)),u||(u=this.states[s]),u&&a.push(u)}var c=a[r-1],p=!!(c&&c.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(a),h=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&h&&h.duration>0,h);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,p),g&&g.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},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=H(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 a=this.currentStates.slice(),i=H(a,t),r=H(a,e)>=0;i>=0?r?a.splice(i,1):a[i]=e:n&&!r&&a.push(e),this.useStates(a)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},a=0;a<t.length;a++){var i=t[a];V(n,i),i.textConfig&&V(e=e||{},i.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,a,i,r){var o=!(e&&a);e&&e.textConfig?(this.textConfig=V({},a?this.textConfig:n.textConfig),V(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},s=!1,u=0;u<ti.length;u++){var c=ti[u],p=i&&ei[c];e&&null!=e[c]?p?(s=!0,l[c]=e[c]):this[c]=e[c]:o&&null!=n[c]&&(p?(s=!0,l[c]=n[c]):this[c]=n[c])}if(!i)for(u=0;u<this.animators.length;u++){var d=this.animators[u],h=d.targetName;d.__changeFinalValue(h?(e||n)[h]:e||n)}s&&this._transitionState(t,l,r)},t.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");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;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new Da,this._attachComponent(t),this._textContent=t,this.markRedraw()}},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),V(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|=1;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){var n=t?this[t]:this;if(n){var a=new Bn(n,e);return this.addAnimator(a,t),a}R('Property "'+t+'" is not existed in element '+this.id)},t.prototype.addAnimator=function(t,e){var n=this.__zr,a=this;t.during((function(){a.updateDuringAnimation(e)})).done((function(){var e=a.animators,n=H(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,a=n.length,i=[],r=0;r<a;r++){var o=n[r];t&&t!==o.scope?i.push(o):o.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){ri(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){ri(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,a){for(var i=ri(this,e,n,a),r=0;r<i.length;r++)i[r].__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=!1,e.silent=!1,e.isGroup=!1,e.draggable=!1,e.dragging=!1,e.ignoreClip=!1,e.__inHover=!1,e.__dirty=1;var n={};function a(t,e,a){n[t+e+a]||(console.warn("DEPRECATED: '"+t+"' has been deprecated. use '"+e+"', '"+a+"' instead"),n[t+e+a]=!0)}function i(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(){(a(t,i,r),this[n])||o(this,this[n]=[]);return this[n]},set:function(e){a(t,i,r),this[i]=e[0],this[r]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(!b.browser.ie||b.browser.version>8)&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function ri(t,e,n,a,i){var r=[];si(t,"",t,e,n=n||{},a,r,i);var o=r.length,l=!1,s=n.done,u=n.aborted,c=function(){l=!0,--o<=0&&(l?s&&s():u&&u())},p=function(){--o<=0&&(l?s&&s():u&&u())};o||s&&s(),r.length>0&&n.during&&r[0].during((function(t,e){n.during(e)}));for(var d=0;d<r.length;d++){var h=r[d];c&&h.done(c),p&&h.aborted(p),h.start(n.easing,n.force)}return r}function oi(t,e,n){for(var a=0;a<n;a++)t[a]=e[a]}function li(t,e,n){if(Y(e[n]))if(Y(t[n])||(t[n]=[]),lt(e[n])){var a=e[n].length;t[n].length!==a&&(t[n]=new e[n].constructor(a),oi(t[n],e[n],a))}else{var i=e[n],r=t[n],o=i.length;if(Y(i[0]))for(var l=i[0].length,s=0;s<o;s++)r[s]?oi(r[s],i[s],l):r[s]=Array.prototype.slice.call(i[s]);else oi(r,i,o);r.length=i.length}else t[n]=e[n]}function si(t,e,n,a,i,r,o,l){for(var s=[],u=[],c=$(a),p=i.duration,d=i.delay,h=i.additive,f=i.setToFinal,g=!rt(r),m=0;m<c.length;m++){if(null!=n[M=c[m]]&&null!=a[M]&&(g||r[M]))if(rt(a[M])&&!Y(a[M])){if(e){l||(n[M]=a[M],t.updateDuringAnimation(e));continue}si(t,M,n[M],a[M],i,r&&r[M],o,l)}else s.push(M),u.push(M);else l||(n[M]=a[M],t.updateDuringAnimation(e),u.push(M))}var y=s.length;if(y>0||i.force&&!o.length){for(var v=t.animators,b=[],x=0;x<v.length;x++)v[x].targetName===e&&b.push(v[x]);if(!h&&b.length)for(x=0;x<b.length;x++){if(b[x].stopTracks(u)){var _=H(v,b[x]);v.splice(_,1)}}var w=void 0,k=void 0,S=void 0;if(l){k={},f&&(w={});for(x=0;x<y;x++){k[M=s[x]]=n[M],f?w[M]=a[M]:n[M]=a[M]}}else if(f){S={};for(x=0;x<y;x++){var M;S[M=s[x]]=Pn(n[M]),li(n,a,M)}}var I=new Bn(n,!1,h?b:null);I.targetName=e,i.scope&&(I.scope=i.scope),f&&w&&I.whenWithKeys(0,w,s),S&&I.whenWithKeys(0,S,s),I.whenWithKeys(null==p?500:p,l?k:a,s).delay(d||0),t.addAnimator(I,e),o.push(I)}}U(ii,ne),U(ii,Da);var ui=ii,ci=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return u(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){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,a=n.indexOf(e);a>=0&&(n.splice(a,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=H(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,a=n[e];if(t&&t!==this&&t.parent!==this&&t!==a){n[e]=t,a.parent=null;var i=this.__zr;i&&a.removeSelfFromZr(i),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,a=H(n,t);return a<0||(n.splice(a,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 a=t[n];e&&a.removeSelfFromZr(e),a.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,a=0;a<n.length;a++){var i=n[a];t.call(e,i,a)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var a=this._children[n],i=t.call(e,a);a.isGroup&&!i&&a.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 Ga(0,0,0,0),n=t||this._children,a=[],i=null,r=0;r<n.length;r++){var o=n[r];if(!o.ignore&&!o.invisible){var l=o.getBoundingRect(),s=o.getLocalTransform(a);s?(Ga.applyTransform(e,l,s),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(ui);ci.prototype.type="group";var pi=ci,di=!b.canvasSupported,hi={},fi={};
/*!
    * ZRender, a high performance 2d drawing library.
    *
    * Copyright (c) 2013, Baidu Inc.
    * All rights reserved.
    *
    * LICENSE
    * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
    */var gi=function(){function t(t,e,n){var a=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 i=new Ge,r=n.renderer||"canvas";if(di)throw new Error("IE8 support has been dropped since 5.0");if(hi[r]||(r=$(hi)[0]),!hi[r])throw new Error("Renderer '"+r+"' is not imported. Please import it first.");n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var o=new hi[r](e,i,n,t);this.storage=i,this.painter=o;var l=b.node||b.worker?null:new aa(o.getViewportRoot(),o.root);this.handler=new Ae(i,o,l,o.root),this.animation=new Fn({stage:{update:function(){return a._flush(!0)}}}),this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){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 _n(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,a=e.length,i=0;i<a;i++)n+=_n(e[i].color,1);return(n/=a)<.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){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=(new Date).getTime();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var a=(new Date).getTime();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-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.animation.start(),this._stillFrameAccum=0},t.prototype.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof pi&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete fi[t]},t}();function mi(t,e){var n=new gi(O(),t,e);return fi[n.id]=n,n}function yi(t,e){hi[t]=e}var vi=Object.freeze({__proto__:null,init:mi,dispose:function(t){t.dispose()},disposeAll:function(){for(var t in fi)fi.hasOwnProperty(t)&&fi[t].dispose();fi={}},getInstance:function(t){return fi[t]},registerPainter:yi,version:"5.2.1"}),bi=1e-4;function xi(t,e,n,a){var i=e[0],r=e[1],o=n[0],l=n[1],s=r-i,u=l-o;if(0===s)return 0===u?o:(o+l)/2;if(a)if(s>0){if(t<=i)return o;if(t>=r)return l}else{if(t>=i)return o;if(t<=r)return l}else{if(t===i)return o;if(t===r)return l}return(t-i)/s*u+o}function _i(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function wi(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function ki(t){return t.sort((function(t,e){return t-e})),t}function Si(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 Mi(t)}function Mi(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),a=n>0?+e.slice(n+1):0,i=n>0?n:e.length,r=e.indexOf("."),o=r<0?0:i-1-r;return Math.max(0,o-a)}function Ii(t,e){var n=Math.log,a=Math.LN10,i=Math.floor(n(t[1]-t[0])/a),r=Math.round(n(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-i+r,0),20);return isFinite(o)?o:20}function Ti(t,e,n){if(!t[e])return 0;var a=j(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;for(var i=Math.pow(10,n),r=Z(t,(function(t){return(isNaN(t)?0:t)/a*i*100})),o=100*i,l=Z(r,(function(t){return Math.floor(t)})),s=j(l,(function(t,e){return t+e}),0),u=Z(r,(function(t,e){return t-l[e]}));s<o;){for(var c=Number.NEGATIVE_INFINITY,p=null,d=0,h=u.length;d<h;++d)u[d]>c&&(c=u[d],p=d);++l[p],u[p]=0,++s}return l[e]/i}function Ci(t,e){var n=Math.max(Si(t),Si(e)),a=t+e;return n>20?a:wi(a,n)}var Di=9007199254740991;function Ai(t){var e=2*Math.PI;return(t%e+e)%e}function Li(t){return t>-1e-4&&t<bi}var Pi=/^(?:(\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 zi(t){if(t instanceof Date)return t;if("string"==typeof t){var e=Pi.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 Oi(t){return Math.pow(10,Ri(t))}function Ri(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 Ni(t,e){var n=Ri(t),a=Math.pow(10,n),i=t/a;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*a,n>=-20?+t.toFixed(n<0?-n:0):t}function Ei(t,e){var n=(t.length-1)*e+1,a=Math.floor(n),i=+t[a-1],r=n-a;return r?i+r*(t[a]-i):i}function Bi(t){t.sort((function(t,e){return l(t,e,0)?-1:1}));for(var e=-1/0,n=1,a=0;a<t.length;){for(var i=t[a].interval,r=t[a].close,o=0;o<2;o++)i[o]<=e&&(i[o]=e,r[o]=o?1:1-n),e=i[o],n=r[o];i[0]===i[1]&&r[0]*r[1]!=1?t.splice(a,1):a++}return t;function l(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&&l(t,e,1))}}function Vi(t){var e=parseFloat(t);return e==t&&(0!==e||"string"!=typeof t||t.indexOf("x")<=0)?e:NaN}function Fi(t){return!isNaN(Vi(t))}function Gi(){return Math.round(9*Math.random())}function Hi(t,e){return 0===e?t:Hi(e,t%e)}function Wi(t,e){return null==t?e:null==e?t:t*e/Hi(t,e)}function Ui(t){throw new Error(t)}var Yi="series\0",Xi="\0_ec_\0";function Zi(t){return t instanceof Array?t:null==t?[]:[t]}function ji(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var a=0,i=n.length;a<i;a++){var r=n[a];!t.emphasis[e].hasOwnProperty(r)&&t[e].hasOwnProperty(r)&&(t.emphasis[e][r]=t[e][r])}}}var qi=["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 Ki(t){return!rt(t)||tt(t)||t instanceof Date?t:t.value}function $i(t){return rt(t)&&!(t instanceof Array)}function Ji(t,e,n){var a="normalMerge"===n,i="replaceMerge"===n,r="replaceAll"===n;t=t||[],e=(e||[]).slice();var o=St();X(e,(function(t,n){rt(t)||(e[n]=null)}));var l,s,u=function(t,e,n){var a=[];if("replaceAll"===n)return a;for(var i=0;i<t.length;i++){var r=t[i];r&&null!=r.id&&e.set(r.id,i),a.push({existing:"replaceMerge"===n||ar(r)?null:r,newOption:null,keyInfo:null,brandNew:null})}return a}(t,o,n);return(a||i)&&function(t,e,n,a){X(a,(function(i,r){if(i&&null!=i.id){var o=tr(i.id),l=n.get(o);if(null!=l){var s=t[l];vt(!s.newOption,'Duplicated option on id "'+o+'".'),s.newOption=i,s.existing=e[l],a[r]=null}}}))}(u,t,o,e),a&&function(t,e){X(e,(function(n,a){if(n&&null!=n.name)for(var i=0;i<t.length;i++){var r=t[i].existing;if(!t[i].newOption&&r&&(null==r.id||null==n.id)&&!ar(n)&&!ar(r)&&Qi("name",r,n))return t[i].newOption=n,void(e[a]=null)}}))}(u,e),a||i?function(t,e,n){X(e,(function(e){if(e){for(var a,i=0;(a=t[i])&&(a.newOption||ar(a.existing)||a.existing&&null!=e.id&&!Qi("id",e,a.existing));)i++;a?(a.newOption=e,a.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),i++}}))}(u,e,i):r&&function(t,e){X(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),l=u,s=St(),X(l,(function(t){var e=t.existing;e&&s.set(e.id,t)})),X(l,(function(t){var e=t.newOption;vt(!e||null==e.id||!s.get(e.id)||s.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&s.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),X(l,(function(t,e){var n=t.existing,a=t.newOption,i=t.keyInfo;if(rt(a)){if(i.name=null!=a.name?tr(a.name):n?n.name:Yi+e,n)i.id=tr(n.id);else if(null!=a.id)i.id=tr(a.id);else{var r=0;do{i.id="\0"+i.name+"\0"+r++}while(s.get(i.id))}s.set(i.id,t)}})),u}function Qi(t,e,n){var a=er(e[t],null),i=er(n[t],null);return null!=a&&null!=i&&a===i}function tr(t){return er(t,"")}function er(t,e){if(null==t)return e;var n=typeof t;return"string"===n?t:"number"===n||at(t)?t+"":e}function nr(t){var e=t.name;return!(!e||!e.indexOf(Yi))}function ar(t){return t&&null!=t.id&&0===tr(t.id).indexOf(Xi)}function ir(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?tt(e.dataIndex)?Z(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?tt(e.name)?Z(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function rr(){var t="__ec_inner_"+or++;return function(e){return e[t]||(e[t]={})}}var or=Gi();function lr(t,e,n){var a=sr(e,n),i=a.mainTypeSpecified,r=a.queryOptionMap,o=a.others,l=n?n.defaultMainType:null;return!i&&l&&r.set(l,{}),r.each((function(e,a){var i=pr(t,a,e,{useDefault:l===a,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});o[a+"Models"]=i.models,o[a+"Model"]=i.models[0]})),o}function sr(t,e){var n;if(nt(t)){var a={};a[t+"Index"]=0,n=a}else n=t;var i=St(),r={},o=!1;return X(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var a=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],s=(a[2]||"").toLowerCase();if(l&&s&&!(e&&e.includeMainTypes&&H(e.includeMainTypes,l)<0))o=o||!!l,(i.get(l)||i.set(l,{}))[s]=t}else r[n]=t})),{mainTypeSpecified:o,queryOptionMap:i,others:r}}var ur={useDefault:!0,enableAll:!1,enableNone:!1},cr={useDefault:!1,enableAll:!0,enableNone:!0};function pr(t,e,n,a){a=a||ur;var i=n.index,r=n.id,o=n.name,l={models:null,specified:null!=i||null!=r||null!=o};if(!l.specified){var s=void 0;return l.models=a.useDefault&&(s=t.getComponent(e))?[s]:[],l}return"none"===i||!1===i?(vt(a.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===i&&(vt(a.enableAll,'`"all"` is not a valid value on index option.'),i=r=o=null),l.models=t.queryComponents({mainType:e,index:i,id:r,name:o}),l)}function dr(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function hr(t,e){var n=St(),a=[];return X(t,(function(t){var i=e(t);(n.get(i)||(a.push(i),n.set(i,[]))).push(t)})),{keys:a,buckets:n}}function fr(t,e,n,a,i){var r=null==e||"auto"===e;if(null==a)return a;if("number"==typeof a)return wi(f=Sn(n||0,a,i),r?Math.max(Si(n||0),Si(a)):e);if("string"==typeof a)return i<1?n:a;for(var o=[],l=n,s=a,u=Math.max(l?l.length:0,s.length),c=0;c<u;++c){var p=t.getDimensionInfo(c);if(p&&"ordinal"===p.type)o[c]=(i<1&&l?l:s)[c];else{var d=l&&l[c]?l[c]:0,h=s[c],f=Sn(d,h,i);o[c]=wi(f,r?Math.max(Si(d),Si(h)):e)}}return o}var gr="___EC__COMPONENT__CONTAINER___",mr="___EC__EXTENDED_CLASS___";function yr(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function vr(t,e){t.$constructor=t,t.extend=function(t){var e=this;function n(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(t.$constructor)t.$constructor.apply(this,arguments);else{if(br(e)){var r=It(n.prototype,new(e.bind.apply(e,d([void 0],a))));return r}e.apply(this,arguments)}}return n[mr]=!0,V(n.prototype,t),n.extend=this.extend,n.superCall=wr,n.superApply=kr,W(n,this),n.superClass=e,n}}function br(t){return"function"==typeof t&&/^class\s/.test(Function.prototype.toString.call(t))}function xr(t,e){t.extend=e.extend}var _r=Math.round(10*Math.random());function wr(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return this.superClass.prototype[e].apply(t,n)}function kr(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Sr(t){var e={};t.registerClass=function(t){var n,a=t.type||t.prototype.type;if(a){vt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=a),'componentType "'+n+'" illegal'),t.prototype.type=a;var i=yr(a);if(i.sub){if(i.sub!==gr){var r=function(t){var n=e[t.main];n&&n[gr]||((n=e[t.main]={})[gr]=!0);return n}(i);r[i.sub]=t}}else e[i.main]=t}return t},t.getClass=function(t,n,a){var i=e[t];if(i&&i[gr]&&(i=n?i[n]:null),a&&!i)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=yr(t),a=[],i=e[n.main];return i&&i[gr]?X(i,(function(t,e){e!==gr&&a.push(t)})):a.push(i),a},t.hasClass=function(t){var n=yr(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return X(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=yr(t),a=e[n.main];return a&&a[gr]}}function Mr(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,a,i){for(var r={},o=0;o<t.length;o++){var l=t[o][1];if(!(a&&H(a,l)>=0||i&&H(i,l)<0)){var s=n.getShallow(l,e);null!=s&&(r[t[o][0]]=s)}}return r}}var Ir=Mr([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),Tr=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Ir(this,t,e)},t}(),Cr=new Ke(50);function Dr(t){if("string"==typeof t){var e=Cr.get(t);return e&&e.image}return t}function Ar(t,e,n,a,i){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var r=Cr.get(t),o={hostEl:n,cb:a,cbPayload:i};return r?!Pr(e=r.image)&&r.pending.push(o):((e=new Image).onload=e.onerror=Lr,Cr.put(t,e.__cachedImgObj={image:e,pending:[o]}),e.src=e.__zrImageSrc=t),e}return t}return e}function Lr(){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],a=n.cb;a&&a(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function Pr(t){return t&&t.width&&t.height}var zr=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Or(t,e,n,a,i){if(!e)return"";var r=(t+"").split("\n");i=Rr(e,n,a,i);for(var o=0,l=r.length;o<l;o++)r[o]=Nr(r[o],i);return r.join("\n")}function Rr(t,e,n,a){var i=V({},a=a||{});i.font=e,n=ft(n,"..."),i.maxIterations=ft(a.maxIterations,2);var r=i.minChar=ft(a.minChar,0);i.cnCharWidth=Ya("国",e);var o=i.ascCharWidth=Ya("a",e);i.placeholder=ft(a.placeholder,"");for(var l=t=Math.max(0,t-1),s=0;s<r&&l>=o;s++)l-=o;var u=Ya(n,e);return u>l&&(n="",u=0),l=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=l,i.containerWidth=t,i}function Nr(t,e){var n=e.containerWidth,a=e.font,i=e.contentWidth;if(!n)return"";var r=Ya(t,a);if(r<=n)return t;for(var o=0;;o++){if(r<=i||o>=e.maxIterations){t+=e.ellipsis;break}var l=0===o?Er(t,i,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*i/r):0;r=Ya(t=t.substr(0,l),a)}return""===t&&(t=e.placeholder),t}function Er(t,e,n,a){for(var i=0,r=0,o=t.length;r<o&&i<e;r++){var l=t.charCodeAt(r);i+=0<=l&&l<=127?n:a}return r}var Br=function(){},Vr=function(t){this.tokens=[],t&&(this.tokens=t)},Fr=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function Gr(t,e,n,a,i){var r,o,l=""===e,s=i&&n.rich[i]||{},u=t.lines,c=s.font||n.font,p=!1;if(a){var d=s.padding,h=d?d[1]+d[3]:0;if(null!=s.width&&"auto"!==s.width){var f=$a(s.width,a.width)+h;u.length>0&&f+a.accumWidth>a.width&&(r=e.split("\n"),p=!0),a.accumWidth=f}else{var g=Ur(e,c,a.width,a.breakAll,a.accumWidth);a.accumWidth=g.accumWidth+h,o=g.linesWidths,r=g.lines}}else r=e.split("\n");for(var m=0;m<r.length;m++){var y=r[m],v=new Br;if(v.styleName=i,v.text=y,v.isLineHolder=!y&&!l,"number"==typeof s.width?v.width=s.width:v.width=o?o[m]:Ya(y,c),m||p)u.push(new Vr([v]));else{var b=(u[u.length-1]||(u[0]=new Vr)).tokens,x=b.length;1===x&&b[0].isLineHolder?b[0]=v:(y||!x||l)&&b.push(v)}}}var Hr=j(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function Wr(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=255}(t)||!!Hr[t]}function Ur(t,e,n,a,i){for(var r=[],o=[],l="",s="",u=0,c=0,p=0;p<t.length;p++){var d=t.charAt(p);if("\n"!==d){var h=Ya(d,e),f=!a&&!Wr(d);(r.length?c+h>n:i+c+h>n)?c?(l||s)&&(f?(l||(l=s,s="",c=u=0),r.push(l),o.push(c-u),s+=d,l="",c=u+=h):(s&&(l+=s,c+=u,s="",u=0),r.push(l),o.push(c),l=d,c=h)):f?(r.push(s),o.push(u),s=d,u=h):(r.push(d),o.push(h)):(c+=h,f?(s+=d,u+=h):(s&&(l+=s,s="",u=0),l+=d))}else s&&(l+=s,c+=u),r.push(l),o.push(c),l="",s="",u=0,c=0}return r.length||l||(l=t,s="",u=0),s&&(l+=s),l&&(r.push(l),o.push(c)),1===r.length&&(c+=i),{accumWidth:c,lines:r,linesWidths:o}}var Yr="__zr_style_"+Math.round(10*Math.random()),Xr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Zr={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Xr[Yr]=!0;var jr=["z","z2","invisible"],qr=["invisible"],Kr=function(t){function e(e){return t.call(this,e)||this}var n;return u(e,t),e.prototype._init=function(e){for(var n=$(e),a=0;a<n.length;a++){var i=n[a];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}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,a){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){$r.copy(t.getBoundingRect()),t.transform&&$r.applyTransform(t.transform);return Jr.width=e,Jr.height=n,!$r.intersect(Jr)}(this,t,e)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var r=0;r<this.__clipPaths.length;++r)if(this.__clipPaths[r].isZeroArea())return!1;if(a&&this.parent)for(var o=this.parent;o;){if(o.ignore)return!1;o=o.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(),a=this.style,i=a.shadowBlur||0,r=a.shadowOffsetX||0,o=a.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new Ga(0,0,0,0)),e?Ga.applyTransform(t,n,e):t.copy(n),(i||r||o)&&(t.width+=2*i+Math.abs(r),t.height+=2*i+Math.abs(o),t.x=Math.min(t.x,t.x+r-i),t.y=Math.min(t.y,t.y+o-i));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new Ga(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:V(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 It(Xr,t)},e.prototype.useStyle=function(t){t[Yr]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[Yr]},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,jr)},e.prototype._applyStateObj=function(e,n,a,i,r,o){t.prototype._applyStateObj.call(this,e,n,a,i,r,o);var l,s=!(n&&i);if(n&&n.style?r?i?l=n.style:(l=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:a.style),this._mergeStyle(l,n.style)):s&&(l=a.style),l)if(r){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var c=$(u),p=0;p<c.length;p++){(h=c[p])in l&&(l[h]=l[h],this.style[h]=u[h])}var d=$(l);for(p=0;p<d.length;p++){var h=d[p];this.style[h]=this.style[h]}this._transitionState(e,{style:l},o,this.getAnimationStyleProps())}else this.useStyle(l);var f=this.__inHover?qr:jr;for(p=0;p<f.length;p++){h=f[p];n&&null!=n[h]?this[h]=n[h]:s&&null!=a[h]&&(this[h]=a[h])}},e.prototype._mergeStates=function(e){for(var n,a=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var r=e[i];r.style&&(n=n||{},this._mergeStyle(n,r.style))}return n&&(a.style=n),a},e.prototype._mergeStyle=function(t,e){return V(t,e),t},e.prototype.getAnimationStyleProps=function(){return Zr},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=3)),e}(ui),$r=new Ga(0,0,0,0),Jr=new Ga(0,0,0,0);var Qr=Kr,to=Math.pow,eo=Math.sqrt,no=1e-8,ao=1e-4,io=eo(3),ro=1/3,oo=At(),lo=At(),so=At();function uo(t){return t>-1e-8&&t<no}function co(t){return t>no||t<-1e-8}function po(t,e,n,a,i){var r=1-i;return r*r*(r*t+3*i*e)+i*i*(i*a+3*r*n)}function ho(t,e,n,a,i){var r=1-i;return 3*(((e-t)*r+2*(n-e)*i)*r+(a-n)*i*i)}function fo(t,e,n,a,i,r){var o=a+3*(e-n)-t,l=3*(n-2*e+t),s=3*(e-t),u=t-i,c=l*l-3*o*s,p=l*s-9*o*u,d=s*s-3*l*u,h=0;if(uo(c)&&uo(p)){if(uo(l))r[0]=0;else(S=-s/l)>=0&&S<=1&&(r[h++]=S)}else{var f=p*p-4*c*d;if(uo(f)){var g=p/c,m=-g/2;(S=-l/o+g)>=0&&S<=1&&(r[h++]=S),m>=0&&m<=1&&(r[h++]=m)}else if(f>0){var y=eo(f),v=c*l+1.5*o*(-p+y),b=c*l+1.5*o*(-p-y);(S=(-l-((v=v<0?-to(-v,ro):to(v,ro))+(b=b<0?-to(-b,ro):to(b,ro))))/(3*o))>=0&&S<=1&&(r[h++]=S)}else{var x=(2*c*l-3*o*p)/(2*eo(c*c*c)),_=Math.acos(x)/3,w=eo(c),k=Math.cos(_),S=(-l-2*w*k)/(3*o),M=(m=(-l+w*(k+io*Math.sin(_)))/(3*o),(-l+w*(k-io*Math.sin(_)))/(3*o));S>=0&&S<=1&&(r[h++]=S),m>=0&&m<=1&&(r[h++]=m),M>=0&&M<=1&&(r[h++]=M)}}return h}function go(t,e,n,a,i){var r=6*n-12*e+6*t,o=9*e+3*a-3*t-9*n,l=3*e-3*t,s=0;if(uo(o)){if(co(r))(c=-l/r)>=0&&c<=1&&(i[s++]=c)}else{var u=r*r-4*o*l;if(uo(u))i[0]=-r/(2*o);else if(u>0){var c,p=eo(u),d=(-r-p)/(2*o);(c=(-r+p)/(2*o))>=0&&c<=1&&(i[s++]=c),d>=0&&d<=1&&(i[s++]=d)}}return s}function mo(t,e,n,a,i,r){var o=(e-t)*i+t,l=(n-e)*i+e,s=(a-n)*i+n,u=(l-o)*i+o,c=(s-l)*i+l,p=(c-u)*i+u;r[0]=t,r[1]=o,r[2]=u,r[3]=p,r[4]=p,r[5]=c,r[6]=s,r[7]=a}function yo(t,e,n,a,i,r,o,l,s,u,c){var p,d,h,f,g,m=.005,y=1/0;oo[0]=s,oo[1]=u;for(var v=0;v<1;v+=.05)lo[0]=po(t,n,i,o,v),lo[1]=po(e,a,r,l,v),(f=Xt(oo,lo))<y&&(p=v,y=f);y=1/0;for(var b=0;b<32&&!(m<ao);b++)d=p-m,h=p+m,lo[0]=po(t,n,i,o,d),lo[1]=po(e,a,r,l,d),f=Xt(lo,oo),d>=0&&f<y?(p=d,y=f):(so[0]=po(t,n,i,o,h),so[1]=po(e,a,r,l,h),g=Xt(so,oo),h<=1&&g<y?(p=h,y=g):m*=.5);return c&&(c[0]=po(t,n,i,o,p),c[1]=po(e,a,r,l,p)),eo(y)}function vo(t,e,n,a,i,r,o,l,s){for(var u=t,c=e,p=0,d=1/s,h=1;h<=s;h++){var f=h*d,g=po(t,n,i,o,f),m=po(e,a,r,l,f),y=g-u,v=m-c;p+=Math.sqrt(y*y+v*v),u=g,c=m}return p}function bo(t,e,n,a){var i=1-a;return i*(i*t+2*a*e)+a*a*n}function xo(t,e,n,a){return 2*((1-a)*(e-t)+a*(n-e))}function _o(t,e,n){var a=t+n-2*e;return 0===a?.5:(t-e)/a}function wo(t,e,n,a,i){var r=(e-t)*a+t,o=(n-e)*a+e,l=(o-r)*a+r;i[0]=t,i[1]=r,i[2]=l,i[3]=l,i[4]=o,i[5]=n}function ko(t,e,n,a,i,r,o,l,s){var u,c=.005,p=1/0;oo[0]=o,oo[1]=l;for(var d=0;d<1;d+=.05){lo[0]=bo(t,n,i,d),lo[1]=bo(e,a,r,d),(m=Xt(oo,lo))<p&&(u=d,p=m)}p=1/0;for(var h=0;h<32&&!(c<ao);h++){var f=u-c,g=u+c;lo[0]=bo(t,n,i,f),lo[1]=bo(e,a,r,f);var m=Xt(lo,oo);if(f>=0&&m<p)u=f,p=m;else{so[0]=bo(t,n,i,g),so[1]=bo(e,a,r,g);var y=Xt(so,oo);g<=1&&y<p?(u=g,p=y):c*=.5}}return s&&(s[0]=bo(t,n,i,u),s[1]=bo(e,a,r,u)),eo(p)}function So(t,e,n,a,i,r,o){for(var l=t,s=e,u=0,c=1/o,p=1;p<=o;p++){var d=p*c,h=bo(t,n,i,d),f=bo(e,a,r,d),g=h-l,m=f-s;u+=Math.sqrt(g*g+m*m),l=h,s=f}return u}var Mo=Math.min,Io=Math.max,To=Math.sin,Co=Math.cos,Do=2*Math.PI,Ao=At(),Lo=At(),Po=At();function zo(t,e,n){if(0!==t.length){for(var a=t[0],i=a[0],r=a[0],o=a[1],l=a[1],s=1;s<t.length;s++)a=t[s],i=Mo(i,a[0]),r=Io(r,a[0]),o=Mo(o,a[1]),l=Io(l,a[1]);e[0]=i,e[1]=o,n[0]=r,n[1]=l}}function Oo(t,e,n,a,i,r){i[0]=Mo(t,n),i[1]=Mo(e,a),r[0]=Io(t,n),r[1]=Io(e,a)}var Ro=[],No=[];function Eo(t,e,n,a,i,r,o,l,s,u){var c=go,p=po,d=c(t,n,i,o,Ro);s[0]=1/0,s[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var h=0;h<d;h++){var f=p(t,n,i,o,Ro[h]);s[0]=Mo(f,s[0]),u[0]=Io(f,u[0])}d=c(e,a,r,l,No);for(h=0;h<d;h++){var g=p(e,a,r,l,No[h]);s[1]=Mo(g,s[1]),u[1]=Io(g,u[1])}s[0]=Mo(t,s[0]),u[0]=Io(t,u[0]),s[0]=Mo(o,s[0]),u[0]=Io(o,u[0]),s[1]=Mo(e,s[1]),u[1]=Io(e,u[1]),s[1]=Mo(l,s[1]),u[1]=Io(l,u[1])}function Bo(t,e,n,a,i,r,o,l){var s=_o,u=bo,c=Io(Mo(s(t,n,i),1),0),p=Io(Mo(s(e,a,r),1),0),d=u(t,n,i,c),h=u(e,a,r,p);o[0]=Mo(t,i,d),o[1]=Mo(e,r,h),l[0]=Io(t,i,d),l[1]=Io(e,r,h)}function Vo(t,e,n,a,i,r,o,l,s){var u=qt,c=Kt,p=Math.abs(i-r);if(p%Do<1e-4&&p>1e-4)return l[0]=t-n,l[1]=e-a,s[0]=t+n,void(s[1]=e+a);if(Ao[0]=Co(i)*n+t,Ao[1]=To(i)*a+e,Lo[0]=Co(r)*n+t,Lo[1]=To(r)*a+e,u(l,Ao,Lo),c(s,Ao,Lo),(i%=Do)<0&&(i+=Do),(r%=Do)<0&&(r+=Do),i>r&&!o?r+=Do:i<r&&o&&(i+=Do),o){var d=r;r=i,i=d}for(var h=0;h<r;h+=Math.PI/2)h>i&&(Po[0]=Co(h)*n+t,Po[1]=To(h)*a+e,u(l,Po,l),c(s,Po,s))}var Fo={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Go=[],Ho=[],Wo=[],Uo=[],Yo=[],Xo=[],Zo=Math.min,jo=Math.max,qo=Math.cos,Ko=Math.sin,$o=Math.sqrt,Jo=Math.abs,Qo=Math.PI,tl=2*Qo,el="undefined"!=typeof Float32Array,nl=[];function al(t){return Math.round(t/Qo*1e8)/1e8%2*Qo}function il(t,e){var n=al(t[0]);n<0&&(n+=tl);var a=n-t[0],i=t[1];i+=a,!e&&i-n>=tl?i=n+tl:e&&n-i>=tl?i=n-tl:!e&&n>i?i=n+(tl-al(n-i)):e&&n<i&&(i=n-(tl-al(i-n))),t[0]=n,t[1]=i}var rl=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=Jo(n/ra/t)||0,this._uy=Jo(n/ra/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._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Fo.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=Jo(t-this._xi),a=Jo(e-this._yi),i=n>this._ux||a>this._uy;if(this.addData(Fo.L,t,e),this._ctx&&i&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var r=n*n+a*a;r>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=r)}return this},t.prototype.bezierCurveTo=function(t,e,n,a,i,r){return this._drawPendingPt(),this.addData(Fo.C,t,e,n,a,i,r),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,a,i,r):this._ctx.bezierCurveTo(t,e,n,a,i,r)),this._xi=i,this._yi=r,this},t.prototype.quadraticCurveTo=function(t,e,n,a){return this._drawPendingPt(),this.addData(Fo.Q,t,e,n,a),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,a):this._ctx.quadraticCurveTo(t,e,n,a)),this._xi=n,this._yi=a,this},t.prototype.arc=function(t,e,n,a,i,r){this._drawPendingPt(),nl[0]=a,nl[1]=i,il(nl,r),a=nl[0];var o=(i=nl[1])-a;return this.addData(Fo.A,t,e,n,n,a,o,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,a,i,r),this._xi=qo(i)*n+t,this._yi=Ko(i)*n+e,this},t.prototype.arcTo=function(t,e,n,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,a,i),this},t.prototype.rect=function(t,e,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,a),this.addData(Fo.R,t,e,n,a),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Fo.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e,this._needsDash=!0}else this._lineDash=null,this._needsDash=!1;return this},t.prototype.setLineDashOffset=function(t){return this._dashOffset=t,this},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!el||(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,a=this._len,i=0;i<e;i++)n+=t[i].len();el&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+n));for(i=0;i<e;i++)for(var r=t[i].data,o=0;o<r.length;o++)this.data[a++]=r[o];this._len=a},t.prototype.addData=function(t,e,n,a,i,r,o,l,s){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},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._dashedLineTo=function(t,e){var n,a,i=this._dashSum,r=this._lineDash,o=this._ctx,l=this._dashOffset,s=this._xi,u=this._yi,c=t-s,p=e-u,d=$o(c*c+p*p),h=s,f=u,g=r.length;for(l<0&&(l=i+l),h-=(l%=i)*(c/=d),f-=l*(p/=d);c>0&&h<=t||c<0&&h>=t||0===c&&(p>0&&f<=e||p<0&&f>=e);)h+=c*(n=r[a=this._dashIdx]),f+=p*n,this._dashIdx=(a+1)%g,c>0&&h<s||c<0&&h>s||p>0&&f<u||p<0&&f>u||o[a%2?"moveTo":"lineTo"](c>=0?Zo(h,t):jo(h,t),p>=0?Zo(f,e):jo(f,e));c=h-t,p=f-e,this._dashOffset=-$o(c*c+p*p)},t.prototype._dashedBezierTo=function(t,e,n,a,i,r){var o,l,s,u,c,p=this._ctx,d=this._dashSum,h=this._dashOffset,f=this._lineDash,g=this._xi,m=this._yi,y=0,v=this._dashIdx,b=f.length,x=0;for(h<0&&(h=d+h),h%=d,o=0;o<1;o+=.1)l=po(g,t,n,i,o+.1)-po(g,t,n,i,o),s=po(m,e,a,r,o+.1)-po(m,e,a,r,o),y+=$o(l*l+s*s);for(;v<b&&!((x+=f[v])>h);v++);for(o=(x-h)/y;o<=1;)u=po(g,t,n,i,o),c=po(m,e,a,r,o),v%2?p.moveTo(u,c):p.lineTo(u,c),o+=f[v]/y,v=(v+1)%b;v%2!=0&&p.lineTo(i,r),l=i-u,s=r-c,this._dashOffset=-$o(l*l+s*s)},t.prototype._dashedQuadraticTo=function(t,e,n,a){var i=n,r=a;n=(n+2*t)/3,a=(a+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,a,i,r)},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,el&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Wo[0]=Wo[1]=Yo[0]=Yo[1]=Number.MAX_VALUE,Uo[0]=Uo[1]=Xo[0]=Xo[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,a=0,i=0,r=0;for(t=0;t<this._len;){var o=e[t++],l=1===t;switch(l&&(i=n=e[t],r=a=e[t+1]),o){case Fo.M:n=i=e[t++],a=r=e[t++],Yo[0]=i,Yo[1]=r,Xo[0]=i,Xo[1]=r;break;case Fo.L:Oo(n,a,e[t],e[t+1],Yo,Xo),n=e[t++],a=e[t++];break;case Fo.C:Eo(n,a,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],Yo,Xo),n=e[t++],a=e[t++];break;case Fo.Q:Bo(n,a,e[t++],e[t++],e[t],e[t+1],Yo,Xo),n=e[t++],a=e[t++];break;case Fo.A:var s=e[t++],u=e[t++],c=e[t++],p=e[t++],d=e[t++],h=e[t++]+d;t+=1;var f=!e[t++];l&&(i=qo(d)*c+s,r=Ko(d)*p+u),Vo(s,u,c,p,d,h,f,Yo,Xo),n=qo(h)*c+s,a=Ko(h)*p+u;break;case Fo.R:Oo(i=n=e[t++],r=a=e[t++],i+e[t++],r+e[t++],Yo,Xo);break;case Fo.Z:n=i,a=r}qt(Wo,Wo,Yo),Kt(Uo,Uo,Xo)}return 0===t&&(Wo[0]=Wo[1]=Uo[0]=Uo[1]=0),new Ga(Wo[0],Wo[1],Uo[0]-Wo[0],Uo[1]-Wo[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,a=this._uy,i=0,r=0,o=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var s=this._pathSegLen,u=0,c=0,p=0;p<e;){var d=t[p++],h=1===p;h&&(o=i=t[p],l=r=t[p+1]);var f=-1;switch(d){case Fo.M:i=o=t[p++],r=l=t[p++];break;case Fo.L:var g=t[p++],m=(b=t[p++])-r;(Jo(D=g-i)>n||Jo(m)>a||p===e-1)&&(f=Math.sqrt(D*D+m*m),i=g,r=b);break;case Fo.C:var y=t[p++],v=t[p++],b=(g=t[p++],t[p++]),x=t[p++],_=t[p++];f=vo(i,r,y,v,g,b,x,_,10),i=x,r=_;break;case Fo.Q:f=So(i,r,y=t[p++],v=t[p++],g=t[p++],b=t[p++],10),i=g,r=b;break;case Fo.A:var w=t[p++],k=t[p++],S=t[p++],M=t[p++],I=t[p++],T=t[p++],C=T+I;p+=1,t[p++],h&&(o=qo(I)*S+w,l=Ko(I)*M+k),f=jo(S,M)*Zo(tl,Math.abs(T)),i=qo(C)*S+w,r=Ko(C)*M+k;break;case Fo.R:o=i=t[p++],l=r=t[p++],f=2*t[p++]+2*t[p++];break;case Fo.Z:var D=o-i;m=l-r;f=Math.sqrt(D*D+m*m),i=o,r=l}f>=0&&(s[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,a,i,r,o,l,s,u,c,p,d=this.data,h=this._ux,f=this._uy,g=this._len,m=e<1,y=0,v=0,b=0;if(!m||(this._pathSegLen||this._calculateLength(),s=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var _=d[x++],w=1===x;switch(w&&(n=i=d[x],a=r=d[x+1]),_!==Fo.L&&b>0&&(t.lineTo(c,p),b=0),_){case Fo.M:n=i=d[x++],a=r=d[x++],t.moveTo(i,r);break;case Fo.L:o=d[x++],l=d[x++];var k=Jo(o-i),S=Jo(l-r);if(k>h||S>f){if(m){if(y+(j=s[v++])>u){var M=(u-y)/j;t.lineTo(i*(1-M)+o*M,r*(1-M)+l*M);break t}y+=j}t.lineTo(o,l),i=o,r=l,b=0}else{var I=k*k+S*S;I>b&&(c=o,p=l,b=I)}break;case Fo.C:var T=d[x++],C=d[x++],D=d[x++],A=d[x++],L=d[x++],P=d[x++];if(m){if(y+(j=s[v++])>u){mo(i,T,D,L,M=(u-y)/j,Go),mo(r,C,A,P,M,Ho),t.bezierCurveTo(Go[1],Ho[1],Go[2],Ho[2],Go[3],Ho[3]);break t}y+=j}t.bezierCurveTo(T,C,D,A,L,P),i=L,r=P;break;case Fo.Q:T=d[x++],C=d[x++],D=d[x++],A=d[x++];if(m){if(y+(j=s[v++])>u){wo(i,T,D,M=(u-y)/j,Go),wo(r,C,A,M,Ho),t.quadraticCurveTo(Go[1],Ho[1],Go[2],Ho[2]);break t}y+=j}t.quadraticCurveTo(T,C,D,A),i=D,r=A;break;case Fo.A:var z=d[x++],O=d[x++],R=d[x++],N=d[x++],E=d[x++],B=d[x++],V=d[x++],F=!d[x++],G=R>N?R:N,H=Jo(R-N)>.001,W=E+B,U=!1;if(m)y+(j=s[v++])>u&&(W=E+B*(u-y)/j,U=!0),y+=j;if(H&&t.ellipse?t.ellipse(z,O,R,N,V,E,W,F):t.arc(z,O,G,E,W,F),U)break t;w&&(n=qo(E)*R+z,a=Ko(E)*N+O),i=qo(W)*R+z,r=Ko(W)*N+O;break;case Fo.R:n=i=d[x],a=r=d[x+1],o=d[x++],l=d[x++];var Y=d[x++],X=d[x++];if(m){if(y+(j=s[v++])>u){var Z=u-y;t.moveTo(o,l),t.lineTo(o+Zo(Z,Y),l),(Z-=Y)>0&&t.lineTo(o+Y,l+Zo(Z,X)),(Z-=X)>0&&t.lineTo(o+jo(Y-Z,0),l+X),(Z-=Y)>0&&t.lineTo(o,l+jo(X-Z,0));break t}y+=j}t.rect(o,l,Y,X);break;case Fo.Z:if(m){var j;if(y+(j=s[v++])>u){M=(u-y)/j;t.lineTo(i*(1-M)+n*M,r*(1-M)+a*M);break t}y+=j}t.closePath(),i=n,r=a}}},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=Fo,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),ol=rl;function ll(t,e,n,a,i,r,o){if(0===i)return!1;var l=i,s=0;if(o>e+l&&o>a+l||o<e-l&&o<a-l||r>t+l&&r>n+l||r<t-l&&r<n-l)return!1;if(t===n)return Math.abs(r-t)<=l/2;var u=(s=(e-a)/(t-n))*r-o+(t*a-n*e)/(t-n);return u*u/(s*s+1)<=l/2*l/2}function sl(t,e,n,a,i,r,o,l,s,u,c){if(0===s)return!1;var p=s;return!(c>e+p&&c>a+p&&c>r+p&&c>l+p||c<e-p&&c<a-p&&c<r-p&&c<l-p||u>t+p&&u>n+p&&u>i+p&&u>o+p||u<t-p&&u<n-p&&u<i-p&&u<o-p)&&yo(t,e,n,a,i,r,o,l,u,c,null)<=p/2}function ul(t,e,n,a,i,r,o,l,s){if(0===o)return!1;var u=o;return!(s>e+u&&s>a+u&&s>r+u||s<e-u&&s<a-u&&s<r-u||l>t+u&&l>n+u&&l>i+u||l<t-u&&l<n-u&&l<i-u)&&ko(t,e,n,a,i,r,l,s,null)<=u/2}var cl=2*Math.PI;function pl(t){return(t%=cl)<0&&(t+=cl),t}var dl=2*Math.PI;function hl(t,e,n,a,i,r,o,l,s){if(0===o)return!1;var u=o;l-=t,s-=e;var c=Math.sqrt(l*l+s*s);if(c-u>n||c+u<n)return!1;if(Math.abs(a-i)%dl<1e-4)return!0;if(r){var p=a;a=pl(i),i=pl(p)}else a=pl(a),i=pl(i);a>i&&(i+=dl);var d=Math.atan2(s,l);return d<0&&(d+=dl),d>=a&&d<=i||d+dl>=a&&d+dl<=i}function fl(t,e,n,a,i,r){if(r>e&&r>a||r<e&&r<a)return 0;if(a===e)return 0;var o=(r-e)/(a-e),l=a<e?1:-1;1!==o&&0!==o||(l=a<e?.5:-.5);var s=o*(n-t)+t;return s===i?1/0:s>i?l:0}var gl=ol.CMD,ml=2*Math.PI;var yl=[-1,-1,-1],vl=[-1,-1];function bl(t,e,n,a,i,r,o,l,s,u){if(u>e&&u>a&&u>r&&u>l||u<e&&u<a&&u<r&&u<l)return 0;var c,p=fo(e,a,r,l,u,yl);if(0===p)return 0;for(var d=0,h=-1,f=void 0,g=void 0,m=0;m<p;m++){var y=yl[m],v=0===y||1===y?.5:1;po(t,n,i,o,y)<s||(h<0&&(h=go(e,a,r,l,vl),vl[1]<vl[0]&&h>1&&(c=void 0,c=vl[0],vl[0]=vl[1],vl[1]=c),f=po(e,a,r,l,vl[0]),h>1&&(g=po(e,a,r,l,vl[1]))),2===h?y<vl[0]?d+=f<e?v:-v:y<vl[1]?d+=g<f?v:-v:d+=l<g?v:-v:y<vl[0]?d+=f<e?v:-v:d+=l<f?v:-v)}return d}function xl(t,e,n,a,i,r,o,l){if(l>e&&l>a&&l>r||l<e&&l<a&&l<r)return 0;var s=function(t,e,n,a,i){var r=t-2*e+n,o=2*(e-t),l=t-a,s=0;if(uo(r))co(o)&&(c=-l/o)>=0&&c<=1&&(i[s++]=c);else{var u=o*o-4*r*l;if(uo(u))(c=-o/(2*r))>=0&&c<=1&&(i[s++]=c);else if(u>0){var c,p=eo(u),d=(-o-p)/(2*r);(c=(-o+p)/(2*r))>=0&&c<=1&&(i[s++]=c),d>=0&&d<=1&&(i[s++]=d)}}return s}(e,a,r,l,yl);if(0===s)return 0;var u=_o(e,a,r);if(u>=0&&u<=1){for(var c=0,p=bo(e,a,r,u),d=0;d<s;d++){var h=0===yl[d]||1===yl[d]?.5:1;bo(t,n,i,yl[d])<o||(yl[d]<u?c+=p<e?h:-h:c+=r<p?h:-h)}return c}h=0===yl[0]||1===yl[0]?.5:1;return bo(t,n,i,yl[0])<o?0:r<e?h:-h}function _l(t,e,n,a,i,r,o,l){if((l-=e)>n||l<-n)return 0;var s=Math.sqrt(n*n-l*l);yl[0]=-s,yl[1]=s;var u=Math.abs(a-i);if(u<1e-4)return 0;if(u>=ml-1e-4){a=0,i=ml;var c=r?1:-1;return o>=yl[0]+t&&o<=yl[1]+t?c:0}if(a>i){var p=a;a=i,i=p}a<0&&(a+=ml,i+=ml);for(var d=0,h=0;h<2;h++){var f=yl[h];if(f+t>o){var g=Math.atan2(l,f);c=r?1:-1;g<0&&(g=ml+g),(g>=a&&g<=i||g+ml>=a&&g+ml<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function wl(t,e,n,a,i){for(var r,o,l,s,u=t.data,c=t.len(),p=0,d=0,h=0,f=0,g=0,m=0;m<c;){var y=u[m++],v=1===m;switch(y===gl.M&&m>1&&(n||(p+=fl(d,h,f,g,a,i))),v&&(f=d=u[m],g=h=u[m+1]),y){case gl.M:d=f=u[m++],h=g=u[m++];break;case gl.L:if(n){if(ll(d,h,u[m],u[m+1],e,a,i))return!0}else p+=fl(d,h,u[m],u[m+1],a,i)||0;d=u[m++],h=u[m++];break;case gl.C:if(n){if(sl(d,h,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],e,a,i))return!0}else p+=bl(d,h,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],a,i)||0;d=u[m++],h=u[m++];break;case gl.Q:if(n){if(ul(d,h,u[m++],u[m++],u[m],u[m+1],e,a,i))return!0}else p+=xl(d,h,u[m++],u[m++],u[m],u[m+1],a,i)||0;d=u[m++],h=u[m++];break;case gl.A:var b=u[m++],x=u[m++],_=u[m++],w=u[m++],k=u[m++],S=u[m++];m+=1;var M=!!(1-u[m++]);r=Math.cos(k)*_+b,o=Math.sin(k)*w+x,v?(f=r,g=o):p+=fl(d,h,r,o,a,i);var I=(a-b)*w/_+b;if(n){if(hl(b,x,w,k,k+S,M,e,I,i))return!0}else p+=_l(b,x,w,k,k+S,M,I,i);d=Math.cos(k+S)*_+b,h=Math.sin(k+S)*w+x;break;case gl.R:if(f=d=u[m++],g=h=u[m++],r=f+u[m++],o=g+u[m++],n){if(ll(f,g,r,g,e,a,i)||ll(r,g,r,o,e,a,i)||ll(r,o,f,o,e,a,i)||ll(f,o,f,g,e,a,i))return!0}else p+=fl(r,g,r,o,a,i),p+=fl(f,o,f,g,a,i);break;case gl.Z:if(n){if(ll(d,h,f,g,e,a,i))return!0}else p+=fl(d,h,f,g,a,i);d=f,h=g}}return n||(l=h,s=g,Math.abs(l-s)<1e-4)||(p+=fl(d,h,f,g,a,i)||0),0!==p}var kl=F({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Xr),Sl={style:F({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Zr.style)},Ml=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],Il=function(t){function e(e){return t.call(this,e)||this}var n;return u(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var a=this.style;if(a.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var r=i.style;for(var o in a)r[o]!==a[o]&&(r[o]=a[o]);r.fill=a.fill?a.decal:null,r.decal=null,r.shadowColor=null,a.strokeFirst&&(r.stroke=null);for(var l=0;l<Ml.length;++l)i[Ml[l]]=this[Ml[l]];i.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=$(e);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var i=0;i<n.length;i++){var r=n[i],o=e[r];"style"===r?this.style?V(this.style,o):this.useStyle(o):"shape"===r?V(this.shape,o):t.prototype.attrKV.call(this,r,o)}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(nt(t)){var e=_n(t,0);return e>.5?oa:e>.2?"#eee":la}if(t)return la}return oa},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(nt(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===_n(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},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 ol(!1)},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.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var a=!1;this.path||(a=!0,this.createPathProxy());var i=this.path;(a||4&this.__dirty)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var o=e.strokeNoScale?this.getLineScale():1,l=e.lineWidth;if(!this.hasFill()){var s=this.strokeContainThreshold;l=Math.max(l,null==s?4:s)}o>1e-10&&(r.width+=l/o,r.height+=l/o,r.x-=l/o/2,r.y-=l/o/2)}return r}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),a=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],a.contain(t,e)){var r=this.path;if(this.hasStroke()){var o=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,a){return wl(t,e,!0,n,a)}(r,o/l,t,e)))return!0}if(this.hasFill())return function(t,e,n){return wl(t,0,!1,e,n)}(r,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,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:V(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return It(kl,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=V({},this.shape))},e.prototype._applyStateObj=function(e,n,a,i,r,o){t.prototype._applyStateObj.call(this,e,n,a,i,r,o);var l,s=!(n&&i);if(n&&n.shape?r?i?l=n.shape:(l=V({},a.shape),V(l,n.shape)):(l=V({},i?this.shape:a.shape),V(l,n.shape)):s&&(l=a.shape),l)if(r){this.shape=V({},this.shape);for(var u={},c=$(l),p=0;p<c.length;p++){var d=c[p];"object"==typeof l[d]?this.shape[d]=l[d]:u[d]=l[d]}this._transitionState(e,{shape:u},o)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,a=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var r=e[i];r.shape&&(n=n||{},this._mergeStyle(n,r.shape))}return n&&(a.shape=n),a},e.prototype.getAnimationStyleProps=function(){return Sl},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var a=e.call(this,n)||this;return t.init&&t.init.call(a,n),a}return u(n,e),n.prototype.getDefaultStyle=function(){return N(t.style)},n.prototype.getDefaultShape=function(){return N(t.shape)},n}(e);for(var a in t)"function"==typeof t[a]&&(n.prototype[a]=t[a]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),e}(Qr),Tl=Il,Cl=F({strokeFirst:!0,font:Wa,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},kl),Dl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(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 It(Cl,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=Za(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var a=t.lineWidth;n.x-=a/2,n.y-=a/2,n.width+=a,n.height+=a}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Qr);Dl.prototype.type="tspan";var Al=Dl,Ll=F({x:0,y:0},Xr),Pl={style:F({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Zr.style)};var zl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.createStyle=function(t){return It(Ll,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var a,i=(a=e.image)&&"string"!=typeof a&&a.width&&a.height?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Pl},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new Ga(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Qr);zl.prototype.type="image";var Ol=zl;var Rl=Math.round;function Nl(t,e,n){if(e){var a=e.x1,i=e.x2,r=e.y1,o=e.y2;t.x1=a,t.x2=i,t.y1=r,t.y2=o;var l=n&&n.lineWidth;return l?(Rl(2*a)===Rl(2*i)&&(t.x1=t.x2=Bl(a,l,!0)),Rl(2*r)===Rl(2*o)&&(t.y1=t.y2=Bl(r,l,!0)),t):t}}function El(t,e,n){if(e){var a=e.x,i=e.y,r=e.width,o=e.height;t.x=a,t.y=i,t.width=r,t.height=o;var l=n&&n.lineWidth;return l?(t.x=Bl(a,l,!0),t.y=Bl(i,l,!0),t.width=Math.max(Bl(a+r,l,!1)-t.x,0===r?0:1),t.height=Math.max(Bl(i+o,l,!1)-t.y,0===o?0:1),t):t}}function Bl(t,e,n){if(!e)return t;var a=Rl(2*t);return(a+Rl(e))%2==0?a/2:(a+(n?1:-1))/2}var Vl=function(){this.x=0,this.y=0,this.width=0,this.height=0},Fl={},Gl=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Vl},e.prototype.buildPath=function(t,e){var n,a,i,r;if(this.subPixelOptimize){var o=El(Fl,e,this.style);n=o.x,a=o.y,i=o.width,r=o.height,o.r=e.r,e=o}else n=e.x,a=e.y,i=e.width,r=e.height;e.r?function(t,e){var n,a,i,r,o,l=e.x,s=e.y,u=e.width,c=e.height,p=e.r;u<0&&(l+=u,u=-u),c<0&&(s+=c,c=-c),"number"==typeof p?n=a=i=r=p:p instanceof Array?1===p.length?n=a=i=r=p[0]:2===p.length?(n=i=p[0],a=r=p[1]):3===p.length?(n=p[0],a=r=p[1],i=p[2]):(n=p[0],a=p[1],i=p[2],r=p[3]):n=a=i=r=0,n+a>u&&(n*=u/(o=n+a),a*=u/o),i+r>u&&(i*=u/(o=i+r),r*=u/o),a+i>c&&(a*=c/(o=a+i),i*=c/o),n+r>c&&(n*=c/(o=n+r),r*=c/o),t.moveTo(l+n,s),t.lineTo(l+u-a,s),0!==a&&t.arc(l+u-a,s+a,a,-Math.PI/2,0),t.lineTo(l+u,s+c-i),0!==i&&t.arc(l+u-i,s+c-i,i,0,Math.PI/2),t.lineTo(l+r,s+c),0!==r&&t.arc(l+r,s+c-r,r,Math.PI/2,Math.PI),t.lineTo(l,s+n),0!==n&&t.arc(l+n,s+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,a,i,r)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Tl);Gl.prototype.type="rect";var Hl=Gl,Wl={fill:"#000"},Ul={style:F({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},Zr.style)},Yl=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Wl,n.attr(e),n}return u(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,jl(t=this.style),X(t.rich,jl),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 Ga(0,0,0,0),e=this._children,n=[],a=null,i=0;i<e.length;i++){var r=e[i],o=r.getBoundingRect(),l=r.getLocalTransform(n);l?(t.copy(o),t.applyTransform(l),(a=a||t.clone()).union(t)):(a=a||o.clone()).union(o)}this._rect=a||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||Wl},e.prototype.setTextContent=function(t){throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,a=t.rich||n&&{};return V(t,e),n&&a?(this._mergeRich(a,n),t.rich=a):a&&(t.rich=a),t},e.prototype._mergeRich=function(t,e){for(var n=$(e),a=0;a<n.length;a++){var i=n[a];t[i]=t[i]||{},V(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return Ul},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||Wa,n=t.padding,a=function(t,e){null!=t&&(t+="");var n,a=e.overflow,i=e.padding,r=e.font,o="truncate"===a,l=Ka(r),s=ft(e.lineHeight,l),u="truncate"===e.lineOverflow,c=e.width,p=(n=null!=c&&"break"===a||"breakAll"===a?t?Ur(t,e.font,c,"breakAll"===a,0).lines:[]:t?t.split("\n"):[]).length*s,d=ft(e.height,p);if(p>d&&u){var h=Math.floor(d/s);n=n.slice(0,h)}var f=d,g=c;if(i&&(f+=i[0]+i[2],null!=g&&(g+=i[1]+i[3])),t&&o&&null!=g)for(var m=Rr(c,r,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y<n.length;y++)n[y]=Nr(n[y],m);if(null==c){var v=0;for(y=0;y<n.length;y++)v=Math.max(Ya(n[y],r),v);c=v}return{lines:n,height:d,outerHeight:f,lineHeight:s,calculatedLineHeight:l,contentHeight:p,width:c}}(Jl(t),t),i=Ql(t),r=!!t.backgroundColor,o=a.outerHeight,l=a.lines,s=a.lineHeight,u=this._defaultStyle,c=t.x||0,p=t.y||0,d=t.align||u.align||"left",h=t.verticalAlign||u.verticalAlign||"top",f=c,g=qa(p,a.contentHeight,h);if(i||n){var m=a.width;n&&(m+=n[1]+n[3]);var y=ja(c,m,d),v=qa(p,o,h);i&&this._renderBackground(t,t,y,v,m,o)}g+=s/2,n&&(f=$l(c,d,n),"top"===h?g+=n[0]:"bottom"===h&&(g-=n[2]));for(var b=0,x=!1,_=(Kl("fill"in t?t.fill:(x=!0,u.fill))),w=(ql("stroke"in t?t.stroke:r||u.autoStroke&&!x?null:(b=2,u.stroke))),k=t.textShadowBlur>0,S=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),M=a.calculatedLineHeight,I=0;I<l.length;I++){var T=this._getOrCreateChild(Al),C=T.createStyle();T.useStyle(C),C.text=l[I],C.x=f,C.y=g,d&&(C.textAlign=d),C.textBaseline="middle",C.opacity=t.opacity,C.strokeFirst=!0,k&&(C.shadowBlur=t.textShadowBlur||0,C.shadowColor=t.textShadowColor||"transparent",C.shadowOffsetX=t.textShadowOffsetX||0,C.shadowOffsetY=t.textShadowOffsetY||0),w&&(C.stroke=w,C.lineWidth=t.lineWidth||b,C.lineDash=t.lineDash,C.lineDashOffset=t.lineDashOffset||0),_&&(C.fill=_),C.font=e,g+=s,S&&T.setBoundingRect(new Ga(ja(C.x,t.width,C.textAlign),qa(C.y,M,C.textBaseline),t.width,M))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new Fr;if(null!=t&&(t+=""),!t)return n;for(var a,i=e.width,r=e.height,o=e.overflow,l="break"!==o&&"breakAll"!==o||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===o},s=zr.lastIndex=0;null!=(a=zr.exec(t));){var u=a.index;u>s&&Gr(n,t.substring(s,u),e,l),Gr(n,a[2],e,l,a[1]),s=zr.lastIndex}s<t.length&&Gr(n,t.substring(s,t.length),e,l);var c=[],p=0,d=0,h=e.padding,f="truncate"===o,g="truncate"===e.lineOverflow;function m(t,e,n){t.width=e,t.lineHeight=n,p+=n,d=Math.max(d,e)}t:for(var y=0;y<n.lines.length;y++){for(var v=n.lines[y],b=0,x=0,_=0;_<v.tokens.length;_++){var w=(P=v.tokens[_]).styleName&&e.rich[P.styleName]||{},k=P.textPadding=w.padding,S=k?k[1]+k[3]:0,M=P.font=w.font||e.font;P.contentHeight=Ka(M);var I=ft(w.height,P.contentHeight);if(P.innerHeight=I,k&&(I+=k[0]+k[2]),P.height=I,P.lineHeight=gt(w.lineHeight,e.lineHeight,I),P.align=w&&w.align||e.align,P.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=r&&p+P.lineHeight>r){_>0?(v.tokens=v.tokens.slice(0,_),m(v,x,b),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var T=w.width,C=null==T||"auto"===T;if("string"==typeof T&&"%"===T.charAt(T.length-1))P.percentWidth=T,c.push(P),P.contentWidth=Ya(P.text,M);else{if(C){var D=w.backgroundColor,A=D&&D.image;A&&Pr(A=Dr(A))&&(P.width=Math.max(P.width,A.width*I/A.height))}var L=f&&null!=i?i-x:null;null!=L&&L<P.width?!C||L<S?(P.text="",P.width=P.contentWidth=0):(P.text=Or(P.text,L-S,M,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=Ya(P.text,M)):P.contentWidth=Ya(P.text,M)}P.width+=S,x+=P.width,w&&(b=Math.max(b,P.lineHeight))}m(v,x,b)}for(n.outerWidth=n.width=ft(i,d),n.outerHeight=n.height=ft(r,p),n.contentHeight=p,n.contentWidth=d,h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]),y=0;y<c.length;y++){var P,z=(P=c[y]).percentWidth;P.width=parseInt(z,10)/100*n.width}return n}(Jl(t),t),n=e.width,a=e.outerWidth,i=e.outerHeight,r=t.padding,o=t.x||0,l=t.y||0,s=this._defaultStyle,u=t.align||s.align,c=t.verticalAlign||s.verticalAlign,p=ja(o,a,u),d=qa(l,i,c),h=p,f=d;r&&(h+=r[3],f+=r[0]);var g=h+n;Ql(t)&&this._renderBackground(t,t,p,d,a,i);for(var m=!!t.backgroundColor,y=0;y<e.lines.length;y++){for(var v=e.lines[y],b=v.tokens,x=b.length,_=v.lineHeight,w=v.width,k=0,S=h,M=g,I=x-1,T=void 0;k<x&&(!(T=b[k]).align||"left"===T.align);)this._placeToken(T,t,_,f,S,"left",m),w-=T.width,S+=T.width,k++;for(;I>=0&&"right"===(T=b[I]).align;)this._placeToken(T,t,_,f,M,"right",m),w-=T.width,M-=T.width,I--;for(S+=(n-(S-h)-(g-M)-w)/2;k<=I;)T=b[k],this._placeToken(T,t,_,f,S+T.width/2,"center",m),S+=T.width,k++;f+=_}},e.prototype._placeToken=function(t,e,n,a,i,r,o){var l=e.rich[t.styleName]||{};l.text=t.text;var s=t.verticalAlign,u=a+n/2;"top"===s?u=a+t.height/2:"bottom"===s&&(u=a+n-t.height/2),!t.isLineHolder&&Ql(l)&&this._renderBackground(l,e,"right"===r?i-t.width:"center"===r?i-t.width/2:i,u-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(i=$l(i,r,p),u-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(Al),h=d.createStyle();d.useStyle(h);var f=this._defaultStyle,g=!1,m=0,y=Kl("fill"in l?l.fill:"fill"in e?e.fill:(g=!0,f.fill)),v=ql("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||o||f.autoStroke&&!g?null:(m=2,f.stroke)),b=l.textShadowBlur>0||e.textShadowBlur>0;h.text=t.text,h.x=i,h.y=u,b&&(h.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,h.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",h.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,h.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),h.textAlign=r,h.textBaseline="middle",h.font=t.font||Wa,h.opacity=gt(l.opacity,e.opacity,1),v&&(h.lineWidth=gt(l.lineWidth,e.lineWidth,m),h.lineDash=ft(l.lineDash,e.lineDash),h.lineDashOffset=e.lineDashOffset||0,h.stroke=v),y&&(h.fill=y);var x=t.contentWidth,_=t.contentHeight;d.setBoundingRect(new Ga(ja(h.x,x,h.textAlign),qa(h.y,_,h.textBaseline),x,_))},e.prototype._renderBackground=function(t,e,n,a,i,r){var o,l,s,u=t.backgroundColor,c=t.borderWidth,p=t.borderColor,d=u&&u.image,h=u&&!d,f=t.borderRadius,g=this;if(h||t.lineHeight||c&&p){(o=this._getOrCreateChild(Hl)).useStyle(o.createStyle()),o.style.fill=null;var m=o.shape;m.x=n,m.y=a,m.width=i,m.height=r,m.r=f,o.dirtyShape()}if(h)(s=o.style).fill=u||null,s.fillOpacity=ft(t.fillOpacity,1);else if(d){(l=this._getOrCreateChild(Ol)).onload=function(){g.dirtyStyle()};var y=l.style;y.image=u.image,y.x=n,y.y=a,y.width=i,y.height=r}c&&p&&((s=o.style).lineWidth=c,s.stroke=p,s.strokeOpacity=ft(t.strokeOpacity,1),s.lineDash=t.borderDash,s.lineDashOffset=t.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(s.strokeFirst=!0,s.lineWidth*=2));var v=(o||l).style;v.shadowBlur=t.shadowBlur||0,v.shadowColor=t.shadowColor||"transparent",v.shadowOffsetX=t.shadowOffsetX||0,v.shadowOffsetY=t.shadowOffsetY||0,v.opacity=gt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!=typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&bt(e)||t.textFont||t.font},e}(Qr),Xl={left:!0,right:1,center:1},Zl={top:1,bottom:1,middle:1};function jl(t){if(t){t.font=Yl.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||Xl[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||Zl[n]?n:"top",t.padding&&(t.padding=yt(t.padding))}}function ql(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function Kl(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function $l(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function Jl(t){var e=t.text;return null!=e&&(e+=""),e}function Ql(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var ts=Yl,es=rr(),ns=function(t,e,n,a){if(a){var i=es(a);i.dataIndex=n,i.dataType=e,i.seriesIndex=t,"group"===a.type&&a.traverse((function(a){var i=es(a);i.seriesIndex=t,i.dataIndex=n,i.dataType=e}))}},as=1,is={},rs=rr(),os=["emphasis","blur","select"],ls=["normal","emphasis","blur","select"],ss=10,us="highlight",cs="downplay",ps="select",ds="unselect",hs="toggleSelect";function fs(t){return null!=t&&"none"!==t}var gs=new Ke(100);function ms(t){if("string"!=typeof t)return t;var e=gs.get(t);return e||(e=dn(t,-.1),gs.put(t,e)),e}function ys(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function vs(t){ys(t,"emphasis",2)}function bs(t){2===t.hoverState&&ys(t,"normal",0)}function xs(t){ys(t,"blur",1)}function _s(t){1===t.hoverState&&ys(t,"normal",0)}function ws(t){t.selected=!0}function ks(t){t.selected=!1}function Ss(t,e,n){e(t,n)}function Ms(t,e,n){Ss(t,e,n),t.isGroup&&t.traverse((function(t){Ss(t,e,n)}))}function Is(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function Ts(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,a){var i=n&&H(n,"select")>=0,r=!1;if(t instanceof Tl){var o=rs(t),l=i&&o.selectFill||o.normalFill,s=i&&o.selectStroke||o.normalStroke;if(fs(l)||fs(s)){var u=(a=a||{}).style||{};"inherit"===u.fill?(r=!0,a=V({},a),(u=V({},u)).fill=l):!fs(u.fill)&&fs(l)?(r=!0,a=V({},a),(u=V({},u)).fill=ms(l)):!fs(u.stroke)&&fs(s)&&(r||(a=V({},a),u=V({},u)),u.stroke=ms(s)),a.style=u}}if(a&&null==a.z2){r||(a=V({},a));var c=t.z2EmphasisLift;a.z2=t.z2+(null!=c?c:ss)}return a}(this,0,e,n);if("blur"===t)return function(t,e,n){var a=H(t.currentStates,e)>=0,i=t.style.opacity,r=a?null:function(t,e,n,a){for(var i=t.style,r={},o=0;o<e.length;o++){var l=e[o],s=i[l];r[l]=null==s?a&&a[l]:s}for(o=0;o<t.animators.length;o++){var u=t.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveFinalToTarget(r,e)}return r}(t,["opacity"],e,{opacity:1}),o=(n=n||{}).style||{};return null==o.opacity&&(n=V({},n),o=V({opacity:a?i:.1*r.opacity},o),n.style=o),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=V({},n);var a=t.z2SelectLift;n.z2=t.z2+(null!=a?a:9)}return n}(this,0,n)}return n}function Cs(t){t.stateProxy=Ts;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Ts),n&&(n.stateProxy=Ts)}function Ds(t,e){!Es(t,e)&&!t.__highByOuter&&Ms(t,vs)}function As(t,e){!Es(t,e)&&!t.__highByOuter&&Ms(t,bs)}function Ls(t,e){t.__highByOuter|=1<<(e||0),Ms(t,vs)}function Ps(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Ms(t,bs)}function zs(t){Ms(t,xs)}function Os(t){Ms(t,_s)}function Rs(t){Ms(t,ws)}function Ns(t){Ms(t,ks)}function Es(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Bs(t){t.getModel().eachComponent((function(e,n){("series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n)).group.traverse((function(t){_s(t)}))}))}function Vs(t,e,n,a){var i=a.getModel();function r(t,e){for(var n=0;n<e.length;n++){var a=t.getItemGraphicEl(e[n]);a&&Os(a)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var o=i.getSeriesByIndex(t),l=o.coordinateSystem;l&&l.master&&(l=l.master);var s=[];i.eachSeries((function(t){var i=o===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!i||"coordinateSystem"===n&&!(u&&l?u===l:i)||"series"===e&&i)){if(a.getViewOfSeriesModel(t).group.traverse((function(t){xs(t)})),Y(e))r(t.getData(),e);else if(rt(e))for(var c=$(e),p=0;p<c.length;p++)r(t.getData(c[p]),e[c[p]]);s.push(t)}})),i.eachComponent((function(t,e){if("series"!==t){var n=a.getViewOfComponentModel(e);n&&n.blurSeries&&n.blurSeries(s,i)}}))}}function Fs(t,e,n){if(null!=t&&null!=e){var a=n.getModel().getComponent(t,e);if(a){var i=n.getViewOfComponentModel(a);i&&i.focusBlurEnabled&&i.group.traverse((function(t){xs(t)}))}}}function Gs(t,e,n,a){var i={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return i;var r=a.getModel().getComponent(t,e);if(!r)return i;var o=a.getViewOfComponentModel(r);if(!o||!o.findHighDownDispatchers)return i;for(var l,s=o.findHighDownDispatchers(n),u=0;u<s.length;u++)if("self"===es(s[u]).focus){l=!0;break}return{focusSelf:l,dispatchers:s}}function Hs(t){X(t.getAllData(),(function(e){var n=e.data,a=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,a)?Rs(e):Ns(e)}))}))}function Ws(t){var e=[];return t.eachSeries((function(t){X(t.getAllData(),(function(n){n.data;var a=n.type,i=t.getSelectedDataIndices();if(i.length>0){var r={dataIndex:i,seriesIndex:t.seriesIndex};null!=a&&(r.dataType=a),e.push(r)}}))})),e}function Us(t,e,n){qs(t,!0),Ms(t,Cs),Ys(t,e,n)}function Ys(t,e,n){var a=es(t);null!=e?(a.focus=e,a.blurScope=n):a.focus&&(a.focus=null)}var Xs=["emphasis","blur","select"],Zs={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function js(t,e,n,a){n=n||"itemStyle";for(var i=0;i<Xs.length;i++){var r=Xs[i],o=e.getModel([r,n]);t.ensureState(r).style=a?a(o):o[Zs[n]]()}}function qs(t,e){var n=!1===e,a=t;t.highDownSilentOnTouch&&(a.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!a.__highDownDispatcher||(a.__highByOuter=a.__highByOuter||0,a.__highDownDispatcher=!n)}function Ks(t){return!(!t||!t.__highDownDispatcher)}function $s(t){var e=t.type;return e===ps||e===ds||e===hs}function Js(t){var e=t.type;return e===us||e===cs}var Qs=ol.CMD,tu=[[],[],[]],eu=Math.sqrt,nu=Math.atan2;function au(t,e){if(e){var n,a,i,r,o,l,s=t.data,u=t.len(),c=Qs.M,p=Qs.C,d=Qs.L,h=Qs.R,f=Qs.A,g=Qs.Q;for(i=0,r=0;i<u;){switch(n=s[i++],r=i,a=0,n){case c:case d:a=1;break;case p:a=3;break;case g:a=2;break;case f:var m=e[4],y=e[5],v=eu(e[0]*e[0]+e[1]*e[1]),b=eu(e[2]*e[2]+e[3]*e[3]),x=nu(-e[1]/b,e[0]/v);s[i]*=v,s[i++]+=m,s[i]*=b,s[i++]+=y,s[i++]*=v,s[i++]*=b,s[i++]+=x,s[i++]+=x,r=i+=2;break;case h:l[0]=s[i++],l[1]=s[i++],jt(l,l,e),s[r++]=l[0],s[r++]=l[1],l[0]+=s[i++],l[1]+=s[i++],jt(l,l,e),s[r++]=l[0],s[r++]=l[1]}for(o=0;o<a;o++){var _=tu[o];_[0]=s[i++],_[1]=s[i++],jt(_,_,e),s[r++]=_[0],s[r++]=_[1]}}t.increaseVersion()}}var iu=Math.sqrt,ru=Math.sin,ou=Math.cos,lu=Math.PI;function su(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function uu(t,e){return(t[0]*e[0]+t[1]*e[1])/(su(t)*su(e))}function cu(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(uu(t,e))}function pu(t,e,n,a,i,r,o,l,s,u,c){var p=s*(lu/180),d=ou(p)*(t-n)/2+ru(p)*(e-a)/2,h=-1*ru(p)*(t-n)/2+ou(p)*(e-a)/2,f=d*d/(o*o)+h*h/(l*l);f>1&&(o*=iu(f),l*=iu(f));var g=(i===r?-1:1)*iu((o*o*(l*l)-o*o*(h*h)-l*l*(d*d))/(o*o*(h*h)+l*l*(d*d)))||0,m=g*o*h/l,y=g*-l*d/o,v=(t+n)/2+ou(p)*m-ru(p)*y,b=(e+a)/2+ru(p)*m+ou(p)*y,x=cu([1,0],[(d-m)/o,(h-y)/l]),_=[(d-m)/o,(h-y)/l],w=[(-1*d-m)/o,(-1*h-y)/l],k=cu(_,w);if(uu(_,w)<=-1&&(k=lu),uu(_,w)>=1&&(k=0),k<0){var S=Math.round(k/lu*1e6)/1e6;k=2*lu+S%2*lu}c.addData(u,v,b,o,l,x,k,p,r)}var du=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,hu=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var fu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.applyTransform=function(t){},e}(Tl);function gu(t){return null!=t.setData}function mu(t,e){var n=function(t){var e=new ol;if(!t)return e;var n,a=0,i=0,r=a,o=i,l=ol.CMD,s=t.match(du);if(!s)return e;for(var u=0;u<s.length;u++){for(var c=s[u],p=c.charAt(0),d=void 0,h=c.match(hu)||[],f=h.length,g=0;g<f;g++)h[g]=parseFloat(h[g]);for(var m=0;m<f;){var y=void 0,v=void 0,b=void 0,x=void 0,_=void 0,w=void 0,k=void 0,S=a,M=i,I=void 0,T=void 0;switch(p){case"l":a+=h[m++],i+=h[m++],d=l.L,e.addData(d,a,i);break;case"L":a=h[m++],i=h[m++],d=l.L,e.addData(d,a,i);break;case"m":a+=h[m++],i+=h[m++],d=l.M,e.addData(d,a,i),r=a,o=i,p="l";break;case"M":a=h[m++],i=h[m++],d=l.M,e.addData(d,a,i),r=a,o=i,p="L";break;case"h":a+=h[m++],d=l.L,e.addData(d,a,i);break;case"H":a=h[m++],d=l.L,e.addData(d,a,i);break;case"v":i+=h[m++],d=l.L,e.addData(d,a,i);break;case"V":i=h[m++],d=l.L,e.addData(d,a,i);break;case"C":d=l.C,e.addData(d,h[m++],h[m++],h[m++],h[m++],h[m++],h[m++]),a=h[m-2],i=h[m-1];break;case"c":d=l.C,e.addData(d,h[m++]+a,h[m++]+i,h[m++]+a,h[m++]+i,h[m++]+a,h[m++]+i),a+=h[m-2],i+=h[m-1];break;case"S":y=a,v=i,I=e.len(),T=e.data,n===l.C&&(y+=a-T[I-4],v+=i-T[I-3]),d=l.C,S=h[m++],M=h[m++],a=h[m++],i=h[m++],e.addData(d,y,v,S,M,a,i);break;case"s":y=a,v=i,I=e.len(),T=e.data,n===l.C&&(y+=a-T[I-4],v+=i-T[I-3]),d=l.C,S=a+h[m++],M=i+h[m++],a+=h[m++],i+=h[m++],e.addData(d,y,v,S,M,a,i);break;case"Q":S=h[m++],M=h[m++],a=h[m++],i=h[m++],d=l.Q,e.addData(d,S,M,a,i);break;case"q":S=h[m++]+a,M=h[m++]+i,a+=h[m++],i+=h[m++],d=l.Q,e.addData(d,S,M,a,i);break;case"T":y=a,v=i,I=e.len(),T=e.data,n===l.Q&&(y+=a-T[I-4],v+=i-T[I-3]),a=h[m++],i=h[m++],d=l.Q,e.addData(d,y,v,a,i);break;case"t":y=a,v=i,I=e.len(),T=e.data,n===l.Q&&(y+=a-T[I-4],v+=i-T[I-3]),a+=h[m++],i+=h[m++],d=l.Q,e.addData(d,y,v,a,i);break;case"A":b=h[m++],x=h[m++],_=h[m++],w=h[m++],k=h[m++],pu(S=a,M=i,a=h[m++],i=h[m++],w,k,b,x,_,d=l.A,e);break;case"a":b=h[m++],x=h[m++],_=h[m++],w=h[m++],k=h[m++],pu(S=a,M=i,a+=h[m++],i+=h[m++],w,k,b,x,_,d=l.A,e)}}"z"!==p&&"Z"!==p||(d=l.Z,e.addData(d),a=r,i=o),n=d}return e.toStatic(),e}(t),a=V({},e);return a.buildPath=function(t){if(gu(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},a.applyTransform=function(t){au(n,t),this.dirtyShape()},a}function yu(t,e){return new fu(mu(t,e))}function vu(t,e){e=e||{};var n=new Tl;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?au(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 bu=function(){this.cx=0,this.cy=0,this.r=0},xu=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new bu},e.prototype.buildPath=function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Tl);xu.prototype.type="circle";var _u=xu,wu=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},ku=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new wu},e.prototype.buildPath=function(t,e){var n=.5522848,a=e.cx,i=e.cy,r=e.rx,o=e.ry,l=r*n,s=o*n;t.moveTo(a-r,i),t.bezierCurveTo(a-r,i-s,a-l,i-o,a,i-o),t.bezierCurveTo(a+l,i-o,a+r,i-s,a+r,i),t.bezierCurveTo(a+r,i+s,a+l,i+o,a,i+o),t.bezierCurveTo(a-l,i+o,a-r,i+s,a-r,i),t.closePath()},e}(Tl);ku.prototype.type="ellipse";var Su=ku,Mu=Math.PI,Iu=2*Mu,Tu=Math.sin,Cu=Math.cos,Du=Math.acos,Au=Math.atan2,Lu=Math.abs,Pu=Math.sqrt,zu=Math.max,Ou=Math.min,Ru=1e-4;function Nu(t,e,n,a,i,r,o){var l=t-n,s=e-a,u=(o?r:-r)/Pu(l*l+s*s),c=u*s,p=-u*l,d=t+c,h=e+p,f=n+c,g=a+p,m=(d+f)/2,y=(h+g)/2,v=f-d,b=g-h,x=v*v+b*b,_=i-r,w=d*g-f*h,k=(b<0?-1:1)*Pu(zu(0,_*_*x-w*w)),S=(w*b-v*k)/x,M=(-w*v-b*k)/x,I=(w*b+v*k)/x,T=(-w*v+b*k)/x,C=S-m,D=M-y,A=I-m,L=T-y;return C*C+D*D>A*A+L*L&&(S=I,M=T),{cx:S,cy:M,x01:-c,y01:-p,x11:S*(i/_-1),y11:M*(i/_-1)}}function Eu(t,e){var n=zu(e.r,0),a=zu(e.r0||0,0),i=n>0;if(i||a>0){if(i||(n=a,a=0),a>n){var r=n;n=a,a=r}var o,l=!!e.clockwise,s=e.startAngle,u=e.endAngle;if(s===u)o=0;else{var c=[s,u];il(c,!l),o=Lu(c[0]-c[1])}var p=e.cx,d=e.cy,h=e.cornerRadius||0,f=e.innerCornerRadius||0;if(n>Ru)if(o>Iu-Ru)t.moveTo(p+n*Cu(s),d+n*Tu(s)),t.arc(p,d,n,s,u,!l),a>Ru&&(t.moveTo(p+a*Cu(u),d+a*Tu(u)),t.arc(p,d,a,u,s,l));else{var g=Lu(n-a)/2,m=Ou(g,h),y=Ou(g,f),v=y,b=m,x=n*Cu(s),_=n*Tu(s),w=a*Cu(u),k=a*Tu(u),S=void 0,M=void 0,I=void 0,T=void 0;if((m>Ru||y>Ru)&&(S=n*Cu(u),M=n*Tu(u),I=a*Cu(s),T=a*Tu(s),o<Mu)){var C=function(t,e,n,a,i,r,o,l){var s=n-t,u=a-e,c=o-i,p=l-r,d=p*s-c*u;if(!(d*d<Ru))return[t+(d=(c*(e-r)-p*(t-i))/d)*s,e+d*u]}(x,_,I,T,S,M,w,k);if(C){var D=x-C[0],A=_-C[1],L=S-C[0],P=M-C[1],z=1/Tu(Du((D*L+A*P)/(Pu(D*D+A*A)*Pu(L*L+P*P)))/2),O=Pu(C[0]*C[0]+C[1]*C[1]);v=Ou(y,(a-O)/(z-1)),b=Ou(m,(n-O)/(z+1))}}if(o>Ru)if(b>Ru){var R=Nu(I,T,x,_,n,b,l),N=Nu(S,M,w,k,n,b,l);t.moveTo(p+R.cx+R.x01,d+R.cy+R.y01),b<m?t.arc(p+R.cx,d+R.cy,b,Au(R.y01,R.x01),Au(N.y01,N.x01),!l):(t.arc(p+R.cx,d+R.cy,b,Au(R.y01,R.x01),Au(R.y11,R.x11),!l),t.arc(p,d,n,Au(R.cy+R.y11,R.cx+R.x11),Au(N.cy+N.y11,N.cx+N.x11),!l),t.arc(p+N.cx,d+N.cy,b,Au(N.y11,N.x11),Au(N.y01,N.x01),!l))}else t.moveTo(p+x,d+_),t.arc(p,d,n,s,u,!l);else t.moveTo(p+x,d+_);if(a>Ru&&o>Ru)if(v>Ru){R=Nu(w,k,S,M,a,-v,l),N=Nu(x,_,I,T,a,-v,l);t.lineTo(p+R.cx+R.x01,d+R.cy+R.y01),v<y?t.arc(p+R.cx,d+R.cy,v,Au(R.y01,R.x01),Au(N.y01,N.x01),!l):(t.arc(p+R.cx,d+R.cy,v,Au(R.y01,R.x01),Au(R.y11,R.x11),!l),t.arc(p,d,a,Au(R.cy+R.y11,R.cx+R.x11),Au(N.cy+N.y11,N.cx+N.x11),l),t.arc(p+N.cx,d+N.cy,v,Au(N.y11,N.x11),Au(N.y01,N.x01),!l))}else t.lineTo(p+w,d+k),t.arc(p,d,a,u,s,l);else t.lineTo(p+w,d+k)}else t.moveTo(p,d);t.closePath()}}var Bu=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,this.innerCornerRadius=0},Vu=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Bu},e.prototype.buildPath=function(t,e){Eu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Tl);Vu.prototype.type="sector";var Fu=Vu,Gu=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},Hu=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Gu},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,i=2*Math.PI;t.moveTo(n+e.r,a),t.arc(n,a,e.r,0,i,!1),t.moveTo(n+e.r0,a),t.arc(n,a,e.r0,0,i,!0)},e}(Tl);Hu.prototype.type="ring";var Wu=Hu;function Uu(t,e,n,a,i,r,o){var l=.5*(n-t),s=.5*(a-e);return(2*(e-n)+l+s)*o+(-3*(e-n)-2*l-s)*r+l*i+e}function Yu(t,e,n){var a=e.smooth,i=e.points;if(i&&i.length>=2){if(a&&"spline"!==a){var r=function(t,e,n,a){var i,r,o,l,s=[],u=[],c=[],p=[];if(a){o=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,h=t.length;d<h;d++)qt(o,o,t[d]),Kt(l,l,t[d]);qt(o,o,a[0]),Kt(l,l,a[1])}for(d=0,h=t.length;d<h;d++){var f=t[d];if(n)i=t[d?d-1:h-1],r=t[(d+1)%h];else{if(0===d||d===h-1){s.push(Pt(t[d]));continue}i=t[d-1],r=t[d+1]}Nt(u,r,i),Gt(u,u,e);var g=Wt(f,i),m=Wt(f,r),y=g+m;0!==y&&(g/=y,m/=y),Gt(c,u,-g),Gt(p,u,m);var v=Ot([],f,c),b=Ot([],f,p);a&&(Kt(v,v,o),qt(v,v,l),Kt(b,b,o),qt(b,b,l)),s.push(v),s.push(b)}return n&&s.push(s.shift()),s}(i,a,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,l=0;l<(n?o:o-1);l++){var s=r[2*l],u=r[2*l+1],c=i[(l+1)%o];t.bezierCurveTo(s[0],s[1],u[0],u[1],c[0],c[1])}}else{"spline"===a&&(i=function(t,e){for(var n=t.length,a=[],i=0,r=1;r<n;r++)i+=Wt(t[r-1],t[r]);var o=i/2;for(o=o<n?n:o,r=0;r<o;r++){var l=r/(o-1)*(e?n:n-1),s=Math.floor(l),u=l-s,c=void 0,p=t[s%n],d=void 0,h=void 0;e?(c=t[(s-1+n)%n],d=t[(s+1)%n],h=t[(s+2)%n]):(c=t[0===s?s:s-1],d=t[s>n-2?n-1:s+1],h=t[s>n-3?n-1:s+2]);var f=u*u,g=u*f;a.push([Uu(c[0],p[0],d[0],h[0],u,f,g),Uu(c[1],p[1],d[1],h[1],u,f,g)])}return a}(i,n)),t.moveTo(i[0][0],i[0][1]);l=1;for(var p=i.length;l<p;l++)t.lineTo(i[l][0],i[l][1])}n&&t.closePath()}}var Xu=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},Zu=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new Xu},e.prototype.buildPath=function(t,e){Yu(t,e,!0)},e}(Tl);Zu.prototype.type="polygon";var ju=Zu,qu=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},Ku=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new qu},e.prototype.buildPath=function(t,e){Yu(t,e,!1)},e}(Tl);Ku.prototype.type="polyline";var $u=Ku,Ju={},Qu=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},tc=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Qu},e.prototype.buildPath=function(t,e){var n,a,i,r;if(this.subPixelOptimize){var o=Nl(Ju,e,this.style);n=o.x1,a=o.y1,i=o.x2,r=o.y2}else n=e.x1,a=e.y1,i=e.x2,r=e.y2;var l=e.percent;0!==l&&(t.moveTo(n,a),l<1&&(i=n*(1-l)+i*l,r=a*(1-l)+r*l),t.lineTo(i,r))},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}(Tl);tc.prototype.type="line";var ec=tc,nc=[],ac=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function ic(t,e,n){var a=t.cpx2,i=t.cpy2;return null===a||null===i?[(n?ho:po)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?ho:po)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?xo:bo)(t.x1,t.cpx1,t.x2,e),(n?xo:bo)(t.y1,t.cpy1,t.y2,e)]}var rc=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new ac},e.prototype.buildPath=function(t,e){var n=e.x1,a=e.y1,i=e.x2,r=e.y2,o=e.cpx1,l=e.cpy1,s=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,a),null==s||null==u?(c<1&&(wo(n,o,i,c,nc),o=nc[1],i=nc[2],wo(a,l,r,c,nc),l=nc[1],r=nc[2]),t.quadraticCurveTo(o,l,i,r)):(c<1&&(mo(n,o,s,i,c,nc),o=nc[1],s=nc[2],i=nc[3],mo(a,l,u,r,c,nc),l=nc[1],u=nc[2],r=nc[3]),t.bezierCurveTo(o,l,s,u,i,r)))},e.prototype.pointAt=function(t){return ic(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=ic(this.shape,t,!0);return Ht(e,e)},e}(Tl);rc.prototype.type="bezier-curve";var oc=rc,lc=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},sc=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new lc},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,i=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,l=e.clockwise,s=Math.cos(r),u=Math.sin(r);t.moveTo(s*i+n,u*i+a),t.arc(n,a,i,r,o,!l)},e}(Tl);sc.prototype.type="arc";var uc=sc,cc=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return u(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||[],a=0;a<n.length;a++)n[a].buildPath(t,n[a].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),Tl.prototype.getBoundingRect.call(this)},e}(Tl),pc=cc,dc=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),hc=dc,fc=function(t){function e(e,n,a,i,r,o){var l=t.call(this,r)||this;return l.x=null==e?0:e,l.y=null==n?0:n,l.x2=null==a?1:a,l.y2=null==i?0:i,l.type="linear",l.global=o||!1,l}return u(e,t),e}(hc),gc=function(t){function e(e,n,a,i,r){var o=t.call(this,i)||this;return o.x=null==e?.5:e,o.y=null==n?.5:n,o.r=null==a?.5:a,o.type="radial",o.global=r||!1,o}return u(e,t),e}(hc),mc=[0,0],yc=[0,0],vc=new La,bc=new La,xc=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new La;for(n=0;n<2;n++)this._axes[n]=new La;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,a=this._axes,i=t.x,r=t.y,o=i+t.width,l=r+t.height;if(n[0].set(i,r),n[1].set(o,r),n[2].set(o,l),n[3].set(i,l),e)for(var s=0;s<4;s++)n[s].transform(e);La.sub(a[0],n[1],n[0]),La.sub(a[1],n[3],n[0]),a[0].normalize(),a[1].normalize();for(s=0;s<2;s++)this._origin[s]=a[s].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,a=!e;return vc.set(1/0,1/0),bc.set(0,0),!this._intersectCheckOneSide(this,t,vc,bc,a,1)&&(n=!1,a)||!this._intersectCheckOneSide(t,this,vc,bc,a,-1)&&(n=!1,a)||a||La.copy(e,n?vc:bc),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,i,r){for(var o=!0,l=0;l<2;l++){var s=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,mc),this._getProjMinMaxOnAxis(l,e._corners,yc),mc[1]<yc[0]||mc[0]>yc[1]){if(o=!1,i)return o;var u=Math.abs(yc[0]-mc[1]),c=Math.abs(mc[0]-yc[1]);Math.min(u,c)>a.len()&&(u<c?La.scale(a,s,-u*r):La.scale(a,s,c*r))}else if(n){u=Math.abs(yc[0]-mc[1]),c=Math.abs(mc[0]-yc[1]);Math.min(u,c)<n.len()&&(u<c?La.scale(n,s,u*r):La.scale(n,s,-c*r))}}return o},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var a=this._axes[t],i=this._origin,r=e[0].dot(a)+i[t],o=r,l=r,s=1;s<e.length;s++){var u=e[s].dot(a)+i[t];o=Math.min(u,o),l=Math.max(u,l)}n[0]=o,n[1]=l},t}(),_c=xc,wc=[],kc=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 u(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 Ga(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],a=n.getBoundingRect().clone();n.needLocalTransform()&&a.applyTransform(n.getLocalTransform(wc)),t.union(a)}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 a=0;a<this._displayables.length;a++){if(this._displayables[a].contain(t,e))return!0}return!1},e}(Qr),Sc=kc,Mc=rr();function Ic(t,e,n,a,i){var r;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();r=o&&o.animation}var l="update"===t;if(e&&e.isAnimationEnabled()){var s=void 0,u=void 0,c=void 0;return a?(s=ft(a.duration,200),u=ft(a.easing,"cubicOut"),c=0):(s=e.getShallow(l?"animationDurationUpdate":"animationDuration"),u=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),r&&(null!=r.duration&&(s=r.duration),null!=r.easing&&(u=r.easing),null!=r.delay&&(c=r.delay)),"function"==typeof c&&(c=c(n,i)),"function"==typeof s&&(s=s(n)),{duration:s||0,delay:c,easing:u}}return null}function Tc(t,e,n,a,i,r,o){var l,s=!1;"function"==typeof i?(o=r,r=i,i=null):rt(i)&&(r=i.cb,o=i.during,s=i.isFrom,l=i.removeOpt,i=i.dataIndex);var u="remove"===t;u||e.stopAnimation("remove");var c=Ic(t,a,i,u?l||{}:null,a&&a.getAnimationDelayParams?a.getAnimationDelayParams(e,i):null);if(c&&c.duration>0){var p={duration:c.duration,delay:c.delay||0,easing:c.easing,done:r,force:!!r||!!o,setToFinal:!u,scope:t,during:o};s?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!s&&e.attr(n),o&&o(1),r&&r()}function Cc(t,e,n,a,i,r){Tc("update",t,e,n,a,i,r)}function Dc(t,e,n,a,i,r){Tc("init",t,e,n,a,i,r)}function Ac(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("remove"===t.animators[e].scope)return!0}return!1}function Lc(t,e,n,a,i,r){Ac(t)||Tc("remove",t,e,n,a,i,r)}function Pc(t,e,n,a){t.removeTextContent(),t.removeTextGuideLine(),Lc(t,{style:{opacity:0}},e,n,a)}function zc(t,e,n){function a(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||Pc(t,e,n,a)})):Pc(t,e,n,a)}function Oc(t){Mc(t).oldStyle=t.style}var Rc=Math.max,Nc=Math.min,Ec={};function Bc(t){return Tl.extend(t)}var Vc=function(t,e){var n=mu(t,e);return function(t){function e(e){var a=t.call(this,e)||this;return a.applyTransform=n.applyTransform,a.buildPath=n.buildPath,a}return u(e,t),e}(fu)};function Fc(t,e){return Vc(t,e)}function Gc(t,e){Ec[t]=e}function Hc(t){if(Ec.hasOwnProperty(t))return Ec[t]}function Wc(t,e,n,a){var i=yu(t,e);return n&&("center"===a&&(n=Yc(n,i.getBoundingRect())),Zc(i,n)),i}function Uc(t,e,n){var a=new Ol({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};a.setStyle(Yc(e,i))}}});return a}function Yc(t,e){var n,a=e.width/e.height,i=t.height*a;return n=i<=t.width?t.height:(i=t.width)/a,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var Xc=function(t,e){for(var n=[],a=t.length,i=0;i<a;i++){var r=t[i];n.push(r.getUpdatedPathProxy(!0))}var o=new Tl(e);return o.createPathProxy(),o.buildPath=function(t){if(gu(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},o};function Zc(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var jc=Bl;function qc(t,e){for(var n=ua([]);t&&t!==e;)pa(n,t.getLocalTransform(),n),t=t.parent;return n}function Kc(t,e,n){return e&&!Y(e)&&(e=Da.getLocalTransform(e)),n&&(e=ga([],e)),jt([],t,e)}function $c(t,e,n){var a=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-a:"right"===t?a:0,"top"===t?-i:"bottom"===t?i:0];return r=Kc(r,e,n),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function Jc(t){return!t.isGroup}function Qc(t,e,n){if(t&&e){var a,i=(a={},t.traverse((function(t){Jc(t)&&t.anid&&(a[t.anid]=t)})),a);e.traverse((function(t){if(Jc(t)&&t.anid){var e=i[t.anid];if(e){var a=r(t);t.attr(r(e)),Cc(t,a,n,es(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=V({},t.shape)),e}}function tp(t,e){return Z(t,(function(t){var n=t[0];n=Rc(n,e.x),n=Nc(n,e.x+e.width);var a=t[1];return a=Rc(a,e.y),[n,a=Nc(a,e.y+e.height)]}))}function ep(t,e){var n=Rc(t.x,e.x),a=Nc(t.x+t.width,e.x+e.width),i=Rc(t.y,e.y),r=Nc(t.y+t.height,e.y+e.height);if(a>=n&&r>=i)return{x:n,y:i,width:a-n,height:r-i}}function np(t,e,n){var a=V({rectHover:!0},e),i=a.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),F(i,n),new Ol(a)):Wc(t.replace("path://",""),a,n,"center")}function ap(t,e,n,a,i){for(var r=0,o=i[i.length-1];r<i.length;r++){var l=i[r];if(ip(t,e,n,a,l[0],l[1],o[0],o[1]))return!0;o=l}}function ip(t,e,n,a,i,r,o,l){var s,u=n-t,c=a-e,p=o-i,d=l-r,h=rp(p,d,u,c);if((s=h)<=1e-6&&s>=-1e-6)return!1;var f=t-i,g=e-r,m=rp(f,g,u,c)/h;if(m<0||m>1)return!1;var y=rp(f,g,p,d)/h;return!(y<0||y>1)}function rp(t,e,n,a){return t*a-n*e}function op(t){var e=t.itemTooltipOption,n=t.componentModel,a=t.itemName,i=nt(e)?{formatter:e}:e,r=n.mainType,o=n.componentIndex,l={componentType:r,name:a,$vars:["name"]};l[r+"Index"]=o;var s=t.formatterParamsExtra;s&&X($(s),(function(t){Tt(l,t)||(l[t]=s[t],l.$vars.push(t))}));var u=es(t.el);u.componentMainType=r,u.componentIndex=o,u.tooltipConfig={name:a,option:F({content:a,formatterParams:l},i)}}Gc("circle",_u),Gc("ellipse",Su),Gc("sector",Fu),Gc("ring",Wu),Gc("polygon",ju),Gc("polyline",$u),Gc("rect",Hl),Gc("line",ec),Gc("bezierCurve",oc),Gc("arc",uc);var lp=Object.freeze({__proto__:null,updateProps:Cc,initProps:Dc,removeElement:Lc,removeElementWithFadeOut:zc,isElementRemoved:Ac,extendShape:Bc,extendPath:Fc,registerShape:Gc,getShapeClass:Hc,makePath:Wc,makeImage:Uc,mergePath:Xc,resizePath:Zc,subPixelOptimizeLine:function(t){return Nl(t.shape,t.shape,t.style),t},subPixelOptimizeRect:function(t){return El(t.shape,t.shape,t.style),t},subPixelOptimize:jc,getTransform:qc,applyTransform:Kc,transformDirection:$c,groupTransition:Qc,clipPointsByRect:tp,clipRectByRect:ep,createIcon:np,linePolygonIntersect:ap,lineLineIntersect:ip,setTooltipConfig:op,Group:pi,Image:Ol,Text:ts,Circle:_u,Ellipse:Su,Sector:Fu,Ring:Wu,Polygon:ju,Polyline:$u,Rect:Hl,Line:ec,BezierCurve:oc,Arc:uc,IncrementalDisplayable:Sc,CompoundPath:pc,LinearGradient:fc,RadialGradient:gc,BoundingRect:Ga,OrientedBoundingRect:_c,Point:La,Path:Tl}),sp={};function up(t,e){for(var n=0;n<os.length;n++){var a=os[n],i=e[a],r=t.ensureState(a);r.style=r.style||{},r.style.text=i}var o=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(o,!0)}function cp(t,e,n){var a,i=t.labelFetcher,r=t.labelDataIndex,o=t.labelDimIndex,l=e.normal;i&&(a=i.getFormattedLabel(r,"normal",null,o,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==a&&(a=et(t.defaultText)?t.defaultText(r,t,n):t.defaultText);for(var s={normal:a},u=0;u<os.length;u++){var c=os[u],p=e[c];s[c]=ft(i?i.getFormattedLabel(r,c,null,o,p&&p.get("formatter")):null,a)}return s}function pp(t,e,n,a){n=n||sp;for(var i=t instanceof ts,r=!1,o=0;o<ls.length;o++){if((d=e[ls[o]])&&d.getShallow("show")){r=!0;break}}var l=i?t:t.getTextContent();if(r){i||(l||(l=new ts,t.setTextContent(l)),t.stateProxy&&(l.stateProxy=t.stateProxy));var s=cp(n,e),u=e.normal,c=!!u.getShallow("show"),p=hp(u,a&&a.normal,n,!1,!i);p.text=s.normal,i||t.setTextConfig(fp(u,n,!1));for(o=0;o<os.length;o++){var d,h=os[o];if(d=e[h]){var f=l.ensureState(h),g=!!ft(d.getShallow("show"),c);if(g!==c&&(f.ignore=!g),f.style=hp(d,a&&a[h],n,!0,!i),f.style.text=s[h],!i)t.ensureState(h).textConfig=fp(d,n,!0)}}l.silent=!!u.getShallow("silent"),null!=l.style.x&&(p.x=l.style.x),null!=l.style.y&&(p.y=l.style.y),l.ignore=!c,l.useStyle(p),l.dirty(),n.enableTextSetter&&(xp(l).setLabelText=function(t){var a=cp(n,e,t);up(l,a)})}else l&&(l.ignore=!0);t.dirty()}function dp(t,e){e=e||"label";for(var n={normal:t.getModel(e)},a=0;a<os.length;a++){var i=os[a];n[i]=t.getModel([i,e])}return n}function hp(t,e,n,a,i){var r={};return function(t,e,n,a,i){n=n||sp;var r,o=e.ecModel,l=o&&o.option.textStyle,s=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||sp).rich;if(n){e=e||{};for(var a=$(n),i=0;i<a.length;i++){e[a[i]]=1}}t=t.parentModel}return e}(e);if(s)for(var u in r={},s)if(s.hasOwnProperty(u)){var c=e.getModel(["rich",u]);vp(r[u]={},c,l,n,a,i,!1,!0)}r&&(t.rich=r);var p=e.get("overflow");p&&(t.overflow=p);var d=e.get("minMargin");null!=d&&(t.margin=d);vp(t,e,l,n,a,i,!0,!1)}(r,t,n,a,i),e&&V(r,e),r}function fp(t,e,n){e=e||{};var a,i={},r=t.getShallow("rotate"),o=ft(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(a=t.getShallow("position")||(n?null:"inside"))&&(a=e.defaultOutsidePosition||"top"),null!=a&&(i.position=a),null!=l&&(i.offset=l),null!=r&&(r*=Math.PI/180,i.rotation=r),null!=o&&(i.distance=o),i.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",i}var gp=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],mp=["align","lineHeight","width","height","tag","verticalAlign"],yp=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function vp(t,e,n,a,i,r,o,l){n=!i&&n||sp;var s=a&&a.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),p=ft(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=s||null),"inherit"!==c&&"auto"!==c||(c=s||null),r||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var d=ft(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var h=ft(e.getShallow("textBorderType"),n.textBorderType);null!=h&&(t.lineDash=h);var f=ft(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),i||null!=p||l||(p=a&&a.defaultOpacity),null!=p&&(t.opacity=p),i||r||null==t.fill&&a.inheritColor&&(t.fill=a.inheritColor);for(var g=0;g<gp.length;g++){var m=gp[g];null!=(v=ft(e.getShallow(m),n[m]))&&(t[m]=v)}for(g=0;g<mp.length;g++){m=mp[g];null!=(v=e.getShallow(m))&&(t[m]=v)}if(null==t.verticalAlign){var y=e.getShallow("baseline");null!=y&&(t.verticalAlign=y)}if(!o||!a.disableBox){for(g=0;g<yp.length;g++){var v;m=yp[g];null!=(v=e.getShallow(m))&&(t[m]=v)}var b=e.getShallow("borderType");null!=b&&(t.borderDash=b),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!s||(t.backgroundColor=s),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!s||(t.borderColor=s)}}function bp(t,e){var n=e&&e.getModel("textStyle");return bt([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 xp=rr();function _p(t,e,n,a){if(t){var i=xp(t);i.prevValue=i.value,i.value=n;var r=e.normal;i.valueAnimation=r.get("valueAnimation"),i.valueAnimation&&(i.precision=r.get("precision"),i.defaultInterpolatedText=a,i.statesModels=e)}}function wp(t,e,n,a,i){var r=xp(t);if(r.valueAnimation){var o=r.defaultInterpolatedText,l=ft(r.interpolatedValue,r.prevValue),s=r.value;(null==r.prevValue?Dc:Cc)(t,{},a,e,null,(function(a){var u=fr(n,r.precision,l,s,a);r.interpolatedValue=1===a?null:u;var c=cp({labelDataIndex:e,labelFetcher:i,defaultText:o?o(u):u+""},r.statesModels,u);up(t,c)}))}}var kp,Sp,Mp=["textStyle","color"],Ip=new ts,Tp=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(Mp):null)},t.prototype.getFont=function(){return bp({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){return Ip.useStyle({text:t,fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily"),verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline"),padding:this.getShallow("padding"),lineHeight:this.getShallow("lineHeight"),rich:this.getShallow("rich")}),Ip.update(),Ip.getBoundingRect()},t}(),Cp=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Dp=Mr(Cp),Ap=function(){function t(){}return t.prototype.getLineStyle=function(t){return Dp(this,t)},t}(),Lp=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Pp=Mr(Lp),zp=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Pp(this,t,e)},t}(),Op=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 a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){E(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,a=null==n?n:n[t];if(null==a&&!e){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},t.prototype.getModel=function(e,n){var a=null!=e,i=a?this.parsePath(e):null;return new t(a?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(N(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(!b.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 a=0;a<t.length&&(!t[a]||null!=(n=n&&"object"==typeof n?n[t[a]]:null));a++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();vr(Op),kp=Op,Sp=["__\0is_clz",_r++].join("_"),kp.prototype[Sp]=!0,kp.isInstance=function(t){return!(!t||!t[Sp])},U(Op,Ap),U(Op,zp),U(Op,Tr),U(Op,Tp);var Rp=Math.round(10*Math.random());function Np(t){return[t||"",Rp++].join("_")}function Ep(t,e){return E(E({},t,!0),e,!0)}var Bp="ZH",Vp="EN",Fp=Vp,Gp={},Hp={},Wp=b.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(Bp)>-1?Bp:Fp;function Up(t,e){t=t.toUpperCase(),Hp[t]=new Op(e),Gp[t]=e}Up(Vp,{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","Friday","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"}},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:". "}}}}),Up(Bp,{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:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表，"},series:{single:{prefix:"",withName:"图表类型是{seriesType}，表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}，",withoutName:"第{seriesId}个系列是一个{seriesType}，",separator:{middle:"；",end:"。"}}},data:{allData:"其数据是——",partialData:"其中，前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"，",end:""}}}});var Yp=1e3,Xp=6e4,Zp=36e5,jp=864e5,qp=31536e6,Kp={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}"},$p="{yyyy}-{MM}-{dd}",Jp={year:"{yyyy}",month:"{yyyy}-{MM}",day:$p,hour:"{yyyy}-{MM}-{dd} "+Kp.hour,minute:"{yyyy}-{MM}-{dd} "+Kp.minute,second:"{yyyy}-{MM}-{dd} "+Kp.second,millisecond:Kp.none},Qp=["year","month","day","hour","minute","second","millisecond"],td=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ed(t,e){return"0000".substr(0,e-(t+="").length)+t}function nd(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 ad(t){return t===nd(t)}function id(t,e,n,a){var i=zi(t),r=i[ld(n)](),o=i[sd(n)]()+1,l=Math.floor((o-1)/4)+1,s=i[ud(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[cd(n)](),p=(c-1)%12+1,d=i[pd(n)](),h=i[dd(n)](),f=i[hd(n)](),g=a instanceof Op?a:function(t){return Hp[t]}(a||Wp)||Hp.EN,m=g.getModel("time"),y=m.get("month"),v=m.get("monthAbbr"),b=m.get("dayOfWeek"),x=m.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,r+"").replace(/{yy}/g,r%100+"").replace(/{Q}/g,l+"").replace(/{MMMM}/g,y[o-1]).replace(/{MMM}/g,v[o-1]).replace(/{MM}/g,ed(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ed(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,x[u]).replace(/{e}/g,u+"").replace(/{HH}/g,ed(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ed(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,ed(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,ed(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,ed(f,3)).replace(/{S}/g,f+"")}function rd(t,e){var n=zi(t),a=n[sd(e)]()+1,i=n[ud(e)](),r=n[cd(e)](),o=n[pd(e)](),l=n[dd(e)](),s=0===n[hd(e)](),u=s&&0===l,c=u&&0===o,p=c&&0===r,d=p&&1===i;return d&&1===a?"year":d?"month":p?"day":c?"hour":u?"minute":s?"second":"millisecond"}function od(t,e,n){var a="number"==typeof t?zi(t):t;switch(e=e||rd(t,n)){case"year":return a[ld(n)]();case"half-year":return a[sd(n)]()>=6?1:0;case"quarter":return Math.floor((a[sd(n)]()+1)/4);case"month":return a[sd(n)]();case"day":return a[ud(n)]();case"half-day":return a[cd(n)]()/24;case"hour":return a[cd(n)]();case"minute":return a[pd(n)]();case"second":return a[dd(n)]();case"millisecond":return a[hd(n)]()}}function ld(t){return t?"getUTCFullYear":"getFullYear"}function sd(t){return t?"getUTCMonth":"getMonth"}function ud(t){return t?"getUTCDate":"getDate"}function cd(t){return t?"getUTCHours":"getHours"}function pd(t){return t?"getUTCMinutes":"getMinutes"}function dd(t){return t?"getUTCSeconds":"getSeconds"}function hd(t){return t?"getUTCMilliseconds":"getMilliseconds"}function fd(t){return t?"setUTCFullYear":"setFullYear"}function gd(t){return t?"setUTCMonth":"setMonth"}function md(t){return t?"setUTCDate":"setDate"}function yd(t){return t?"setUTCHours":"setHours"}function vd(t){return t?"setUTCMinutes":"setMinutes"}function bd(t){return t?"setUTCSeconds":"setSeconds"}function xd(t){return t?"setUTCMilliseconds":"setMilliseconds"}function _d(t){if(!Fi(t))return nt(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function wd(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 kd=yt,Sd=/([&<>"'])/g,Md={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Id(t){return null==t?"":(t+"").replace(Sd,(function(t,e){return Md[e]}))}function Td(t,e,n){function a(t){return t&&bt(t)?t:"-"}function i(t){return!(null==t||isNaN(t)||!isFinite(t))}var r="time"===e,o=t instanceof Date;if(r||o){var l=r?zi(t):t;if(!isNaN(+l))return id(l,"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}",n);if(o)return"-"}if("ordinal"===e)return at(t)?a(t):it(t)&&i(t)?t+"":"-";var s=Vi(t);return i(s)?_d(s):at(t)?a(t):"-"}var Cd=["a","b","c","d","e","f","g"],Dd=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Ad(t,e,n){tt(e)||(e=[e]);var a=e.length;if(!a)return"";for(var i=e[0].$vars||[],r=0;r<i.length;r++){var o=Cd[r];t=t.replace(Dd(o),Dd(o,0))}for(var l=0;l<a;l++)for(var s=0;s<i.length;s++){var u=e[l][i[s]];t=t.replace(Dd(Cd[s],l),n?Id(u):u)}return t}function Ld(t,e){var n=nt(t)?{color:t,extraCssText:e}:t||{},a=n.color,i=n.type;e=n.extraCssText;var r=n.renderMode||"html";return a?"html"===r?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Id(a)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Id(a)+";"+(e||"")+'"></span>':{renderMode:r,content:"{"+(n.markerId||"markerX")+"|}  ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}:""}function Pd(t,e){return e=e||"transparent",nt(t)?t:rt(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function zd(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Od=X,Rd=["left","right","top","bottom","width","height"],Nd=[["width","left","right"],["height","top","bottom"]];function Ed(t,e,n,a,i){var r=0,o=0;null==a&&(a=1/0),null==i&&(i=1/0);var l=0;e.eachChild((function(s,u){var c,p,d=s.getBoundingRect(),h=e.childAt(u+1),f=h&&h.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(c=r+g)>a||s.newline?(r=0,c=g,o+=l+n,l=d.height):l=Math.max(l,d.height)}else{var m=d.height+(f?-f.y+d.y:0);(p=o+m)>i||s.newline?(r+=l+n,o=0,p=m,l=d.width):l=Math.max(l,d.width)}s.newline||(s.x=r,s.y=o,s.markRedraw(),"horizontal"===t?r=c+n:o=p+n)}))}var Bd=Ed;function Vd(t,e,n){n=kd(n||0);var a=e.width,i=e.height,r=_i(t.left,a),o=_i(t.top,i),l=_i(t.right,a),s=_i(t.bottom,i),u=_i(t.width,a),c=_i(t.height,i),p=n[2]+n[0],d=n[1]+n[3],h=t.aspect;switch(isNaN(u)&&(u=a-l-d-r),isNaN(c)&&(c=i-s-p-o),null!=h&&(isNaN(u)&&isNaN(c)&&(h>a/i?u=.8*a:c=.8*i),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(r)&&(r=a-l-u-d),isNaN(o)&&(o=i-s-c-p),t.left||t.right){case"center":r=a/2-u/2-n[3];break;case"right":r=a-u-d}switch(t.top||t.bottom){case"middle":case"center":o=i/2-c/2-n[0];break;case"bottom":o=i-c-p}r=r||0,o=o||0,isNaN(u)&&(u=a-d-r-(l||0)),isNaN(c)&&(c=i-p-o-(s||0));var f=new Ga(r+n[3],o+n[0],u,c);return f.margin=n,f}function Fd(t,e,n,a,i){var r=!i||!i.hv||i.hv[0],o=!i||!i.hv||i.hv[1],l=i&&i.boundingMode||"all";if(r||o){var s;if("raw"===l)s="group"===t.type?new Ga(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(s=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();(s=s.clone()).applyTransform(u)}var c=Vd(F({width:s.width,height:s.height},e),n,a),p=r?c.x-s.x:0,d=o?c.y-s.y:0;"raw"===l?(t.x=p,t.y=d):(t.x+=p,t.y+=d),t.markRedraw()}}function Gd(t){var e=t.layoutMode||t.constructor.layoutMode;return rt(e)?e:e?{type:e}:null}function Hd(t,e,n){var a=n&&n.ignoreSize;!tt(a)&&(a=[a,a]);var i=o(Nd[0],0),r=o(Nd[1],1);function o(n,i){var r={},o=0,u={},c=0;if(Od(n,(function(e){u[e]=t[e]})),Od(n,(function(t){l(e,t)&&(r[t]=u[t]=e[t]),s(r,t)&&o++,s(u,t)&&c++})),a[i])return s(e,n[1])?u[n[2]]=null:s(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&o){if(o>=2)return r;for(var p=0;p<n.length;p++){var d=n[p];if(!l(r,d)&&l(t,d)){r[d]=t[d];break}}return r}return u}function l(t,e){return t.hasOwnProperty(e)}function s(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Od(t,(function(t){e[t]=n[t]}))}u(Nd[0],t,i),u(Nd[1],t,r)}function Wd(t){return Ud({},t)}function Ud(t,e){return e&&t&&Od(Rd,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}Q(Ed,"vertical"),Q(Ed,"horizontal");var Yd=rr(),Xd=function(t){function e(e,n,a){var i=t.call(this,e,n,a)||this;return i.uid=Np("ec_cpt_model"),i}return u(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Gd(this),a=n?Wd(t):{};E(t,e.getTheme().get(this.mainType)),E(t,this.getDefaultOption()),n&&Hd(t,a,n)},e.prototype.mergeOption=function(t,e){E(this.option,t,!0);var n=Gd(this);n&&Hd(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[mr])}(t))return t.defaultOption;var e=Yd(this);if(!e.defaultOption){for(var n=[],a=t;a;){var i=a.prototype.defaultOption;i&&n.push(i),a=a.superClass}for(var r={},o=n.length-1;o>=0;o--)r=E(r,n[o],!0);e.defaultOption=r}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",a=t+"Id";return pr(this.ecModel,t,{index:this.get(n,!0),id:this.get(a,!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.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Op);xr(Xd,Op),Sr(Xd),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var a=yr(t);e[a.main]=n},t.determineSubType=function(n,a){var i=a.type;if(!i){var r=yr(n).main;t.hasSubTypes(n)&&e[r]&&(i=e[r](a))}return i}}(Xd),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,a,i,r){if(t.length){var o=function(t){var a={},i=[];return X(t,(function(r){var o=n(a,r),l=function(t,e){var n=[];return X(t,(function(t){H(e,t)>=0&&n.push(t)})),n}(o.originalDeps=e(r),t);o.entryCount=l.length,0===o.entryCount&&i.push(r),X(l,(function(t){H(o.predecessor,t)<0&&o.predecessor.push(t);var e=n(a,t);H(e.successor,t)<0&&e.successor.push(r)}))})),{graph:a,noEntryList:i}}(a),l=o.graph,s=o.noEntryList,u={};for(X(t,(function(t){u[t]=!0}));s.length;){var c=s.pop(),p=l[c],d=!!u[c];d&&(i.call(r,c,p.originalDeps.slice()),delete u[c]),X(p.successor,d?f:h)}X(u,(function(){throw new Error("")}))}function h(t){l[t].entryCount--,0===l[t].entryCount&&s.push(t)}function f(t){u[t]=!0,h(t)}}}(Xd,(function(t){var e=[];X(Xd.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=Z(e,(function(t){return yr(t).main})),"dataset"!==t&&H(e,"dataset")<=0&&e.unshift("dataset");return e}));var Zd="";"undefined"!=typeof navigator&&(Zd=navigator.platform||"");var jd="rgba(0, 0, 0, 0.2)",qd={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:jd,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:jd,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:jd,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:jd,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:jd,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:jd,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Zd.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},Kd=St(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),$d="original",Jd="arrayRows",Qd="objectRows",th="keyedColumns",eh="typedArray",nh="unknown",ah="column",ih="row",rh=1,oh=2,lh=3,sh=rr();function uh(t,e,n){var a={},i=ph(e);if(!i||!t)return a;var r,o,l=[],s=[],u=e.ecModel,c=sh(u).datasetMap,p=i.uid+"_"+n.seriesLayoutBy;X(t=t.slice(),(function(e,n){var i=rt(e)?e:t[n]={name:e};"ordinal"===i.type&&null==r&&(r=n,o=f(i)),a[i.name]=[]}));var d=c.get(p)||c.set(p,{categoryWayDim:o,valueWayDim:0});function h(t,e,n){for(var a=0;a<n;a++)t.push(e+a)}function f(t){var e=t.dimsDef;return e?e.length:1}return X(t,(function(t,e){var n=t.name,i=f(t);if(null==r){var o=d.valueWayDim;h(a[n],o,i),h(s,o,i),d.valueWayDim+=i}else if(r===e)h(a[n],0,i),h(l,0,i);else{o=d.categoryWayDim;h(a[n],o,i),h(s,o,i),d.categoryWayDim+=i}})),l.length&&(a.itemName=l),s.length&&(a.seriesName=s),a}function ch(t,e,n){var a={};if(!ph(t))return a;var i,r=e.sourceFormat,o=e.dimensionsDefine;r!==Qd&&r!==th||X(o,(function(t,e){"name"===(rt(t)?t.name:t)&&(i=e)}));var l=function(){for(var t={},a={},l=[],s=0,u=Math.min(5,n);s<u;s++){var c=hh(e.data,r,e.seriesLayoutBy,o,e.startIndex,s);l.push(c);var p=c===lh;if(p&&null==t.v&&s!==i&&(t.v=s),(null==t.n||t.n===t.v||!p&&l[t.n]===lh)&&(t.n=s),d(t)&&l[t.n]!==lh)return t;p||(c===oh&&null==a.v&&s!==i&&(a.v=s),null!=a.n&&a.n!==a.v||(a.n=s))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(a)?a:null}();if(l){a.value=[l.v];var s=null!=i?i:l.n;a.itemName=[s],a.seriesName=[s]}return a}function ph(t){if(!t.get("data",!0))return pr(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},ur).models[0]}function dh(t,e){return hh(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function hh(t,e,n,a,i,r){var o,l,s;if(lt(t))return lh;if(a){var u=a[r];rt(u)?(l=u.name,s=u.type):nt(u)&&(l=u)}if(null!=s)return"ordinal"===s?rh:lh;if(e===Jd){var c=t;if(n===ih){for(var p=c[r],d=0;d<(p||[]).length&&d<5;d++)if(null!=(o=v(p[i+d])))return o}else for(d=0;d<c.length&&d<5;d++){var h=c[i+d];if(h&&null!=(o=v(h[r])))return o}}else if(e===Qd){var f=t;if(!l)return lh;for(d=0;d<f.length&&d<5;d++){if((m=f[d])&&null!=(o=v(m[l])))return o}}else if(e===th){if(!l)return lh;if(!(p=t[l])||lt(p))return lh;for(d=0;d<p.length&&d<5;d++)if(null!=(o=v(p[d])))return o}else if(e===$d){var g=t;for(d=0;d<g.length&&d<5;d++){var m,y=Ki(m=g[d]);if(!tt(y))return lh;if(null!=(o=v(y[r])))return o}}function v(t){var e=nt(t);return null!=t&&isFinite(t)&&""!==t?e?oh:lh:e&&"-"!==t?rh:void 0}return lh}var fh=St();var gh,mh,yh,vh=rr(),bh=rr(),xh=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var a=Zi(this.get("color",!0)),i=this.get("colorLayer",!0);return wh(this,vh,a,i,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,vh)},t}();function _h(t,e,n,a){var i=Zi(t.get(["aria","decal","decals"]));return wh(t,bh,i,null,e,n,a)}function wh(t,e,n,a,i,r,o){var l=e(r=r||t),s=l.paletteIdx||0,u=l.paletteNameMap=l.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=o&&a?function(t,e){for(var n=t.length,a=0;a<n;a++)if(t[a].length>e)return t[a];return t[n-1]}(a,o):n;if((c=c||n)&&c.length){var p=c[s];return i&&(u[i]=p),l.paletteIdx=(s+1)%c.length,p}}var kh=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(t,e,n,a,i,r){a=a||{},this.option=null,this._theme=new Op(a),this._locale=new Op(i),this._optionManager=r},e.prototype.setOption=function(t,e,n){var a=Ih(e);this._optionManager.setOption(t,n,a),this._resetOption(null,a)},e.prototype.resetOption=function(t,e){return this._resetOption(t,Ih(e))},e.prototype._resetOption=function(t,e){var n=!1,a=this._optionManager;if(!t||"recreate"===t){var i=a.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):yh(this,i),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=a.getTimelineOption(this);r&&(n=!0,this._mergeOption(r,e))}if(!t||"recreate"===t||"media"===t){var o=a.getMediaOption(this);o.length&&X(o,(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,a=this._componentsMap,i=this._componentsCount,r=[],o=St(),l=e&&e.replaceMergeMainTypeMap;sh(this).datasetMap=St(),X(t,(function(t,e){null!=t&&(Xd.hasClass(e)?e&&(r.push(e),o.set(e,!0)):n[e]=null==n[e]?N(t):E(n[e],t,!0))})),l&&l.each((function(t,e){Xd.hasClass(e)&&!o.get(e)&&(r.push(e),o.set(e,!0))})),Xd.topologicalTravel(r,Xd.getAllClassMainTypes(),(function(e){var r=function(t,e,n){var a=fh.get(e);if(!a)return n;var i=a(t);return i?n.concat(i):n}(this,e,Zi(t[e])),o=a.get(e),s=o?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Ji(o,r,s);(function(t,e,n){X(t,(function(t){var a=t.newOption;rt(a)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,a){return e.type?e.type:n?n.subType:a.determineSubType(t,e)}(e,a,t.existing,n))}))})(u,e,Xd),n[e]=null,a.set(e,null),i.set(e,0);var c=[],p=[],d=0;X(u,(function(t,n){var a=t.existing,i=t.newOption;if(i){var r="series"===e,o=Xd.getClass(e,t.keyInfo.subType,!r);if(!o)return;if(a&&a.constructor===o)a.name=t.keyInfo.name,a.mergeOption(i,this),a.optionUpdated(i,!1);else{var l=V({componentIndex:n},t.keyInfo);V(a=new o(i,this,this,l),l),t.brandNew&&(a.__requireNewView=!0),a.init(i,this,this),a.optionUpdated(null,!0)}}else a&&(a.mergeOption({},this),a.optionUpdated({},!1));a?(c.push(a.option),p.push(a),d++):(c.push(void 0),p.push(void 0))}),this),n[e]=c,a.set(e,p),i.set(e,d),"series"===e&&gh(this)}),this),this._seriesIndices||gh(this)},e.prototype.getOption=function(){var t=N(this.option);return X(t,(function(e,n){if(Xd.hasClass(n)){for(var a=Zi(e),i=a.length,r=!1,o=i-1;o>=0;o--)a[o]&&!ar(a[o])?r=!0:(a[o]=null,!r&&i--);a.length=i,t[n]=a}})),delete t["\0_ec_inner"],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 a=n[e||0];if(a)return a;if(null==e)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,a=t.index,i=t.id,r=t.name,o=this._componentsMap.get(e);return o&&o.length?(null!=a?(n=[],X(Zi(a),(function(t){o[t]&&n.push(o[t])}))):n=null!=i?Sh("id",i,o):null!=r?Sh("name",r,o):q(o,(function(t){return!!t})),Mh(n,t)):[]},e.prototype.findComponents=function(t){var e,n,a,i,r,o=t.query,l=t.mainType,s=(n=l+"Index",a=l+"Id",i=l+"Name",!(e=o)||null==e[n]&&null==e[a]&&null==e[i]?null:{mainType:l,index:e[n],id:e[a],name:e[i]}),u=s?this.queryComponents(s):q(this._componentsMap.get(l),(function(t){return!!t}));return r=Mh(u,t),t.filter?q(r,t.filter):r},e.prototype.eachComponent=function(t,e,n){var a=this._componentsMap;if(et(t)){var i=e,r=t;a.each((function(t,e){for(var n=0;t&&n<t.length;n++){var a=t[n];a&&r.call(i,e,a,a.componentIndex)}}))}else for(var o=nt(t)?a.get(t):rt(t)?this.findComponents(t):null,l=0;o&&l<o.length;l++){var s=o[l];s&&e.call(n,s,s.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=er(t,null);return q(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 q(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return q(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){mh(this),X(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];t.call(e,a,n)}),this)},e.prototype.eachRawSeries=function(t,e){X(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){mh(this),X(this._seriesIndices,(function(a){var i=this._componentsMap.get("series")[a];i.subType===t&&e.call(n,i,a)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return X(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return mh(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){mh(this);var n=[];X(this._seriesIndices,(function(a){var i=this._componentsMap.get("series")[a];t.call(e,i,a)&&n.push(a)}),this),this._seriesIndices=n,this._seriesIndicesMap=St(n)},e.prototype.restoreData=function(t){gh(this);var e=this._componentsMap,n=[];e.each((function(t,e){Xd.hasClass(e)&&n.push(e)})),Xd.topologicalTravel(n,Xd.getAllClassMainTypes(),(function(n){X(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,a=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=a&&t.id!==a||null!=i&&t.name!==i}}(e,t)||e.restoreData()}))}))},e.internalField=(gh=function(t){var e=t._seriesIndices=[];X(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=St(e)},mh=function(t){},void(yh=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=St({series:[]}),t._componentsCount=St();var n=e.aria;rt(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;X(e,(function(e,a){"colorLayer"===a&&n||Xd.hasClass(a)||("object"==typeof e?t[a]=t[a]?E(t[a],e,!1):N(e):null==t[a]&&(t[a]=e))}))}(e,t._theme.option),E(e,qd,!1),t._mergeOption(e,null)})),e}(Op);function Sh(t,e,n){if(tt(e)){var a=St();return X(e,(function(t){null!=t&&(null!=er(t,null)&&a.set(t,!0))})),q(n,(function(e){return e&&a.get(e[t])}))}var i=er(e,null);return q(n,(function(e){return e&&null!=i&&e[t]===i}))}function Mh(t,e){return e.hasOwnProperty("subType")?q(t,(function(t){return t&&t.subType===e.subType})):t}function Ih(t){var e=St();return t&&X(Zi(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}U(kh,xh);var Th=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Ch=function(t){X(Th,(function(e){this[e]=J(t[e],t)}),this)},Dh={},Ah=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];X(Dh,(function(a,i){var r=a.create(t,e);n=n.concat(r||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){X(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){Dh[t]=e},t.get=function(t){return Dh[t]},t}(),Lh=/^(min|max)?(.+)$/,Ph=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(X(Zi(t.series),(function(t){t&&t.data&&lt(t.data)&&_t(t.data)})),X(Zi(t.dataset),(function(t){t&&t.source&&lt(t.source)&&_t(t.source)}))),t=N(t);var a=this._optionBackup,i=function(t,e,n){var a,i,r=[],o=t.baseOption,l=t.timeline,s=t.options,u=t.media,c=!!t.media,p=!!(s||l||o&&o.timeline);o?(i=o).timeline||(i.timeline=l):((p||c)&&(t.options=t.media=null),i=t);c&&tt(u)&&X(u,(function(t){t&&t.option&&(t.query?r.push(t):a||(a=t))}));function d(t){X(e,(function(e){e(t,n)}))}return d(i),X(s,(function(t){return d(t)})),X(r,(function(t){return d(t.option)})),{baseOption:i,timelineOptions:s||[],mediaDefault:a,mediaList:r}}(t,e,!a);this._newBaseOption=i.baseOption,a?(i.timelineOptions.length&&(a.timelineOptions=i.timelineOptions),i.mediaList.length&&(a.mediaList=i.mediaList),i.mediaDefault&&(a.mediaDefault=i.mediaDefault)):this._optionBackup=i},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],N(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var a=t.getComponent("timeline");a&&(e=N(n[a.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,a=this._api.getWidth(),i=this._api.getHeight(),r=this._mediaList,o=this._mediaDefault,l=[],s=[];if(!r.length&&!o)return s;for(var u=0,c=r.length;u<c;u++)zh(r[u].query,a,i)&&l.push(u);return!l.length&&o&&(l=[-1]),l.length&&(e=l,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(s=Z(l,(function(t){return N(-1===t?o.option:r[t].option)}))),this._currentMediaIndices=l,s},t}();function zh(t,e,n){var a={width:e,height:n,aspectratio:e/n},i=!0;return X(t,(function(t,e){var n=e.match(Lh);if(n&&n[1]&&n[2]){var r=n[1],o=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(a[o],t,r)||(i=!1)}})),i}var Oh=X,Rh=rt,Nh=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Eh(t){var e=t&&t.itemStyle;if(e)for(var n=0,a=Nh.length;n<a;n++){var i=Nh[n],r=e.normal,o=e.emphasis;r&&r[i]&&(t[i]=t[i]||{},t[i].normal?E(t[i].normal,r[i]):t[i].normal=r[i],r[i]=null),o&&o[i]&&(t[i]=t[i]||{},t[i].emphasis?E(t[i].emphasis,o[i]):t[i].emphasis=o[i],o[i]=null)}}function Bh(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var a=t[e].normal,i=t[e].emphasis;a&&(n?(t[e].normal=t[e].emphasis=null,F(t[e],a)):t[e]=a),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function Vh(t){Bh(t,"itemStyle"),Bh(t,"lineStyle"),Bh(t,"areaStyle"),Bh(t,"label"),Bh(t,"labelLine"),Bh(t,"upperLabel"),Bh(t,"edgeLabel")}function Fh(t,e){var n=Rh(t)&&t[e],a=Rh(n)&&n.textStyle;if(a)for(var i=0,r=qi.length;i<r;i++){var o=qi[i];a.hasOwnProperty(o)&&(n[o]=a[o])}}function Gh(t){t&&(Vh(t),Fh(t,"label"),t.emphasis&&Fh(t.emphasis,"label"))}function Hh(t){return tt(t)?t:t?[t]:[]}function Wh(t){return(tt(t)?t[0]:t)||{}}function Uh(t,e){Oh(Hh(t.series),(function(t){Rh(t)&&function(t){if(Rh(t)){Eh(t),Vh(t),Fh(t,"label"),Fh(t,"upperLabel"),Fh(t,"edgeLabel"),t.emphasis&&(Fh(t.emphasis,"label"),Fh(t.emphasis,"upperLabel"),Fh(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Eh(e),Gh(e));var n=t.markLine;n&&(Eh(n),Gh(n));var a=t.markArea;a&&Gh(a);var i=t.data;if("graph"===t.type){i=i||t.nodes;var r=t.links||t.edges;if(r&&!lt(r))for(var o=0;o<r.length;o++)Gh(r[o]);X(t.categories,(function(t){Vh(t)}))}if(i&&!lt(i))for(o=0;o<i.length;o++)Gh(i[o]);if((e=t.markPoint)&&e.data){var l=e.data;for(o=0;o<l.length;o++)Gh(l[o])}if((n=t.markLine)&&n.data){var s=n.data;for(o=0;o<s.length;o++)tt(s[o])?(Gh(s[o][0]),Gh(s[o][1])):Gh(s[o])}"gauge"===t.type?(Fh(t,"axisLabel"),Fh(t,"title"),Fh(t,"detail")):"treemap"===t.type?(Bh(t.breadcrumb,"itemStyle"),X(t.levels,(function(t){Vh(t)}))):"tree"===t.type&&Vh(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Oh(n,(function(e){Oh(Hh(t[e]),(function(t){t&&(Fh(t,"axisLabel"),Fh(t.axisPointer,"label"))}))})),Oh(Hh(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;Fh(e,"axisLabel"),Fh(e&&e.axisPointer,"label")})),Oh(Hh(t.calendar),(function(t){Bh(t,"itemStyle"),Fh(t,"dayLabel"),Fh(t,"monthLabel"),Fh(t,"yearLabel")})),Oh(Hh(t.radar),(function(t){Fh(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)})),Oh(Hh(t.geo),(function(t){Rh(t)&&(Gh(t),Oh(Hh(t.regions),(function(t){Gh(t)})))})),Oh(Hh(t.timeline),(function(t){Gh(t),Bh(t,"label"),Bh(t,"itemStyle"),Bh(t,"controlStyle",!0);var e=t.data;tt(e)&&X(e,(function(t){rt(t)&&(Bh(t,"label"),Bh(t,"itemStyle"))}))})),Oh(Hh(t.toolbox),(function(t){Bh(t,"iconStyle"),Oh(t.feature,(function(t){Bh(t,"iconStyle")}))})),Fh(Wh(t.axisPointer),"label"),Fh(Wh(t.tooltip).axisPointer,"label")}function Yh(t){t&&X(Xh,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var Xh=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Zh=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],jh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function qh(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<jh.length;n++){var a=jh[n][1],i=jh[n][0];null!=e[a]&&(e[i]=e[a])}}function Kh(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function $h(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function Jh(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&Jh(t[n].children,e)}function Qh(t,e){Uh(t,e),t.series=Zi(t.series),X(t.series,(function(t){if(rt(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),Kh(t.label),(i=t.data)&&!lt(i))for(var n=0;n<i.length;n++)Kh(i[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var a=function(t,e){for(var n=e.split(","),a=t,i=0;i<n.length&&null!=(a=a&&a[n[i]]);i++);return a}(t,"pointer.color");null!=a&&function(t,e,n,a){for(var i,r=e.split(","),o=t,l=0;l<r.length-1;l++)null==o[i=r[l]]&&(o[i]={}),o=o[i];(a||null==o[r[l]])&&(o[r[l]]=n)}(t,"itemStyle.color",a)}else if("bar"===e){var i;if(qh(t),qh(t.backgroundStyle),qh(t.emphasis),(i=t.data)&&!lt(i))for(n=0;n<i.length;n++)"object"==typeof i[n]&&(qh(i[n]),qh(i[n]&&i[n].emphasis))}else if("sunburst"===e){var r=t.highlightPolicy;r&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=r)),$h(t),Jh(t.data,$h)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&F(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),Yh(t)}})),t.dataRange&&(t.visualMap=t.dataRange),X(Zh,(function(e){var n=t[e];n&&(tt(n)||(n=[n]),X(n,(function(t){Yh(t)})))}))}function tf(t){X(t,(function(e,n){var a=[],i=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,l=e.isStackedByIndex;o.modify(r,(function(r,s,u){var c,p,d=o.get(e.stackedDimension,u);if(isNaN(d))return i;l?p=o.getRawIndex(u):c=o.get(e.stackedByDimension,u);for(var h=NaN,f=n-1;f>=0;f--){var g=t[f];if(l||(p=g.data.rawIndexOf(g.stackedByDimension,c)),p>=0){var m=g.data.getByRawIndex(g.stackResultDimension,p);if(d>=0&&m>0||d<=0&&m<0){d=Ci(d,m),h=m;break}}}return a[0]=d,a[1]=h,a}))}))}var ef,nf,af,rf,of,lf=function(t){this.data=t.data||(t.sourceFormat===th?{}:[]),this.sourceFormat=t.sourceFormat||nh,this.seriesLayoutBy=t.seriesLayoutBy||ah,this.startIndex=t.startIndex||0,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 a=e[n];null==a.type&&dh(this,n)===rh&&(a.type="ordinal")}};function sf(t){return t instanceof lf}function uf(t,e,n){n=n||pf(t);var a=e.seriesLayoutBy,i=function(t,e,n,a,i){var r,o;if(!t)return{dimensionsDefine:df(i),startIndex:o,dimensionsDetectedCount:r};if(e===Jd){var l=t;"auto"===a||null==a?hf((function(t){null!=t&&"-"!==t&&(nt(t)?null==o&&(o=1):o=0)}),n,l,10):o=it(a)?a:a?1:0,i||1!==o||(i=[],hf((function(t,e){i[e]=null!=t?t+"":""}),n,l,1/0)),r=i?i.length:n===ih?l.length:l[0]?l[0].length:null}else if(e===Qd)i||(i=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e){var a=[];return X(e,(function(t,e){a.push(e)})),a}}(t));else if(e===th)i||(i=[],X(t,(function(t,e){i.push(e)})));else if(e===$d){var s=Ki(t[0]);r=tt(s)&&s.length||1}return{startIndex:o,dimensionsDefine:df(i),dimensionsDetectedCount:r}}(t,n,a,e.sourceHeader,e.dimensions);return new lf({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:N(e)})}function cf(t){return new lf({data:t,sourceFormat:lt(t)?eh:$d})}function pf(t){var e=nh;if(lt(t))e=eh;else if(tt(t)){0===t.length&&(e=Jd);for(var n=0,a=t.length;n<a;n++){var i=t[n];if(null!=i){if(tt(i)){e=Jd;break}if(rt(i)){e=Qd;break}}}}else if(rt(t))for(var r in t)if(Tt(t,r)&&Y(t[r])){e=th;break}return e}function df(t){if(t){var e=St();return Z(t,(function(t,n){var a={name:(t=rt(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==a.name)return a;a.name+="",null==a.displayName&&(a.displayName=a.name);var i=e.get(a.name);return i?a.name+="-"+i.count++:e.set(a.name,{count:1}),a}))}}function hf(t,e,n,a){if(e===ih)for(var i=0;i<n.length&&i<a;i++)t(n[i]?n[i][0]:null,i);else{var r=n[0]||[];for(i=0;i<r.length&&i<a;i++)t(r[i],i)}}function ff(t){var e=t.sourceFormat;return e===Qd||e===th}var gf=function(){function t(t,e){var n=sf(t)?t:cf(t);this._source=n;var a=this._data=n.data;n.sourceFormat===eh&&(this._offset=0,this._dimSize=e,this._data=a),of(this,a,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;of=function(t,i,r){var o=r.sourceFormat,l=r.seriesLayoutBy,s=r.startIndex,u=r.dimensionsDefine;if(V(t,rf[Mf(o,l)]),o===eh)t.getItem=e,t.count=a,t.fillStorage=n;else{var c=vf(o,l);t.getItem=J(c,null,i,s,u);var p=_f(o,l);t.count=J(p,null,i,s,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,a=this._dimSize,i=a*t,r=0;r<a;r++)e[r]=n[i+r];return e},n=function(t,e,n,a){for(var i=this._data,r=this._dimSize,o=0;o<r;o++){for(var l=a[o],s=null==l[0]?1/0:l[0],u=null==l[1]?-1/0:l[1],c=e-t,p=n[o],d=0;d<c;d++){var h=i[d*r+o];p[t+d]=h,h<s&&(s=h),h>u&&(u=h)}l[0]=s,l[1]=u}},a=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={}).arrayRows_column={pure:!0,appendData:i},t.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t.objectRows={pure:!0,appendData:i},t.keyedColumns={pure:!0,appendData:function(t){var e=this._data;X(t,(function(t,n){for(var a=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)a.push(t[i])}))}},t.original={appendData:i},t.typedArray={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},rf=t}(),t}(),mf=function(t,e,n,a){return t[a]},yf=((ef={}).arrayRows_column=function(t,e,n,a){return t[a+e]},ef.arrayRows_row=function(t,e,n,a,i){a+=e;for(var r=i||[],o=t,l=0;l<o.length;l++){var s=o[l];r[l]=s?s[a]:null}return r},ef.objectRows=mf,ef.keyedColumns=function(t,e,n,a,i){for(var r=i||[],o=0;o<n.length;o++){var l=t[n[o].name];r[o]=l?l[a]:null}return r},ef.original=mf,ef);function vf(t,e){return yf[Mf(t,e)]}var bf=function(t,e,n){return t.length},xf=((nf={}).arrayRows_column=function(t,e,n){return Math.max(0,t.length-e)},nf.arrayRows_row=function(t,e,n){var a=t[0];return a?Math.max(0,a.length-e):0},nf.objectRows=bf,nf.keyedColumns=function(t,e,n){var a=t[n[0].name];return a?a.length:0},nf.original=bf,nf);function _f(t,e){return xf[Mf(t,e)]}var wf=function(t,e,n){return t[e]},kf=((af={}).arrayRows=wf,af.objectRows=function(t,e,n){return t[n]},af.keyedColumns=wf,af.original=function(t,e,n){var a=Ki(t);return a instanceof Array?a[e]:a},af.typedArray=wf,af);function Sf(t){return kf[t]}function Mf(t,e){return t===Jd?t+"_"+e:t}function If(t,e,n){if(t){var a=t.getRawDataItem(e);if(null!=a){var i=t.getStore(),r=i.getSource().sourceFormat;if(null!=n){var o=t.getDimensionIndex(n),l=i.getDimensionProperty(o);return Sf(r)(a,o,l)}var s=a;return r===$d&&(s=Ki(a)),s}}}var Tf=/\{@(.+?)\}/g,Cf=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),a=this.getRawValue(t,e),i=n.getRawIndex(t),r=n.getName(t),o=n.getRawDataItem(t),l=n.getItemVisual(t,"style"),s=l&&l[n.getItemVisual(t,"drawType")||"fill"],u=l&&l.stroke,c=this.mainType,p="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:r,dataIndex:i,data:o,dataType:e,value:a,color:s,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,a,i,r){e=e||"normal";var o=this.getData(n),l=this.getDataParams(t,n);(r&&(l.value=r.interpolatedValue),null!=a&&tt(l.value)&&(l.value=l.value[a]),i)||(i=o.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return"function"==typeof i?(l.status=e,l.dimensionIndex=a,i(l)):"string"==typeof i?Ad(i,l).replace(Tf,(function(e,n){var a=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(a-1)&&(i=+i.slice(1,a-1));var l=If(o,t,i);if(r&&tt(r.interpolatedValue)){var s=o.getDimensionIndex(i);s>=0&&(l=r.interpolatedValue[s])}return null!=l?l+"":""})):void 0},t.prototype.getRawValue=function(t,e){return If(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Df(t){var e,n;return rt(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}function Af(t){return new Lf(t)}var Lf=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,a=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context));var r,o=c(this._modBy),l=this._modDataCount||0,s=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}o===s&&l===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,r=this._doReset(a)),this._modBy=s,this._modDataCount=u;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,h=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!a&&(r||d<h)){var f=this._progress;if(tt(f))for(var g=0;g<f.length;g++)this._doProgress(f[g],d,h,s,u);else this._doProgress(f,d,h,s,u)}this._dueIndex=h;var m=null!=this._settedOutputEnd?this._settedOutputEnd:h;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,a,i){Pf.reset(e,n,a,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Pf.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),tt(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.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}(),Pf=function(){var t,e,n,a,i,r={reset:function(s,u,c,p){e=s,t=u,n=c,a=p,i=Math.ceil(a/n),r.next=n>1&&a>0?l:o}};return r;function o(){return e<t?e++:null}function l(){var r=e%i*n+Math.ceil(e/i),o=e>=t?null:r<a?r:e;return e++,o}}();function zf(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+zi(t)),null==t||""===t?NaN:+t)}var Of=St({number:function(t){return parseFloat(t)},time:function(t){return+zi(t)},trim:function(t){return"string"==typeof t?bt(t):t}});function Rf(t){return Of.get(t)}var Nf={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}},Ef=function(){function t(t,e){if("number"!=typeof e){Ui("")}this._opFn=Nf[t],this._rvalFloat=Vi(e)}return t.prototype.evaluate=function(t){return"number"==typeof t?this._opFn(t,this._rvalFloat):this._opFn(Vi(t),this._rvalFloat)},t}(),Bf=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=typeof t,a=typeof e,i="number"===n?t:Vi(t),r="number"===a?e:Vi(e),o=isNaN(i),l=isNaN(r);if(o&&(i=this._incomparable),l&&(r=this._incomparable),o&&l){var s="string"===n,u="string"===a;s&&(i=u?t:0),u&&(r=s?e:0)}return i<r?this._resultLT:i>r?-this._resultLT:0},t}(),Vf=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=Vi(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=Vi(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Ff(t,e){return"eq"===t||"ne"===t?new Vf("eq"===t,e):Tt(Nf,t)?new Ef(t,e):null}var Gf=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 zf(t,e)},t}();function Hf(t){if(!jf(t.sourceFormat)){Ui("")}return t.data}function Wf(t){var e=t.sourceFormat,n=t.data;if(!jf(e)){Ui("")}if(e===Jd){for(var a=[],i=0,r=n.length;i<r;i++)a.push(n[i].slice());return a}if(e===Qd){for(a=[],i=0,r=n.length;i<r;i++)a.push(V({},n[i]));return a}}function Uf(t,e,n){if(null!=n)return"number"==typeof n||!isNaN(n)&&!Tt(e,n)?t[n]:Tt(e,n)?e[n]:void 0}function Yf(t){return N(t)}var Xf=St();function Zf(t,e,n,a){e.length||Ui(""),rt(t)||Ui("");var i=t.type,r=Xf.get(i);r||Ui("");var o=Z(e,(function(t){return function(t,e){var n=new Gf,a=t.data,i=n.sourceFormat=t.sourceFormat,r=t.startIndex;t.seriesLayoutBy!==ah&&Ui("");var o=[],l={},s=t.dimensionsDefine;if(s)X(s,(function(t,e){var n=t.name,a={index:e,name:n,displayName:t.displayName};o.push(a),null!=n&&(Tt(l,n)&&Ui(""),l[n]=a)}));else for(var u=0;u<t.dimensionsDetectedCount;u++)o.push({index:u});var c=vf(i,ah);e.__isBuiltIn&&(n.getRawDataItem=function(t){return c(a,r,o,t)},n.getRawData=J(Hf,null,t)),n.cloneRawData=J(Wf,null,t);var p=_f(i,ah);n.count=J(p,null,a,r,o);var d=Sf(i);n.retrieveValue=function(t,e){var n=c(a,r,o,t);return h(n,e)};var h=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=o[e];return n?d(t,e,n.name):void 0}};return n.getDimensionInfo=J(Uf,null,o,l),n.cloneAllDimensionInfo=J(Yf,null,o),n}(t,r)}));return Z(Zi(r.transform({upstream:o[0],upstreamList:o,config:N(t.config)})),(function(t,n){var a;rt(t)||Ui(""),t.data||Ui(""),jf(pf(t.data))||Ui("");var i=e[0];if(i&&0===n&&!t.dimensions){var r=i.startIndex;r&&(t.data=i.data.slice(0,r).concat(t.data)),a={seriesLayoutBy:ah,sourceHeader:r,dimensions:i.metaRawOption.dimensions}}else a={seriesLayoutBy:ah,sourceHeader:0,dimensions:t.dimensions};return uf(t.data,a,null)}))}function jf(t){return t===Jd||t===Qd}var qf,Kf="undefined",$f=typeof Uint32Array===Kf?Array:Uint32Array,Jf=typeof Uint16Array===Kf?Array:Uint16Array,Qf=typeof Int32Array===Kf?Array:Int32Array,tg=typeof Float64Array===Kf?Array:Float64Array,eg={float:tg,int:Qf,ordinal:Array,number:Array,time:tg};function ng(t){return t>65535?$f:Jf}function ag(t,e,n,a,i){var r=eg[n||"float"];if(i){var o=t[e],l=o&&o.length;if(l!==a){for(var s=new r(a),u=0;u<l;u++)s[u]=o[u];t[e]=s}}else t[e]=new r(a)}var ig=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=St()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),i=this.defaultDimValueGetter=qf[a.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[],ff(a),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,a=this._dimensions,i=n.get(t);if(null!=i){if(a[i].type===e)return i}else i=a.length;return a[i]={type:e},n.set(t,i),this._chunks[i]=new eg[e||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],a=this._dimensions[t],i=this._rawExtent,r=a.ordinalOffset||0,o=n.length;0===r&&(i[t]=[1/0,-1/0]);for(var l=i[t],s=r;s<o;s++){var u=n[s]=e.parseAndCollect(n[s]);l[0]=Math.min(u,l[0]),l[1]=Math.max(u,l[1])}a.ordinalMeta=e,a.ordinalOffset=o,a.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 a=e.count();return e.persistent||(a+=n),n<a&&this._initDataFromProvider(n,a,!0),[n,a]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,a=this._dimensions,i=a.length,r=this._rawExtent,o=this.count(),l=o+Math.max(t.length,e||0),s=0;s<i;s++){ag(n,s,(h=a[s]).type,l,!0)}for(var u=[],c=o;c<l;c++)for(var p=c-o,d=0;d<i;d++){var h=a[d],f=qf.arrayRows.call(this,t[p]||u,h.property,p,d);n[d][c]=f;var g=r[d];f<g[0]&&(g[0]=f),f>g[1]&&(g[1]=f)}return this._rawCount=this._count=l,{start:o,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,i=this._chunks,r=this._dimensions,o=r.length,l=this._rawExtent,s=Z(r,(function(t){return t.property})),u=0;u<o;u++){var c=r[u];l[u]||(l[u]=[1/0,-1/0]),ag(i,u,c.type,e,n)}if(a.fillStorage)a.fillStorage(t,e,i,l);else for(var p=[],d=t;d<e;d++){p=a.getItem(d,p);for(var h=0;h<o;h++){var f=i[h],g=this._dimValueGetter(p,s[h],d,h);f[d]=g;var m=l[h];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!a.persistent&&a.clean&&a.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=[],a=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)a.push(i)}else a=t;i=0;for(var r=a.length;i<r;i++)n.push(this.get(a[i],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,a=this.count();n<a;n++){var i=this.get(t,n);isNaN(i)||(e+=i)}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})),a=this.count();return 0===a?0:a%2==1?n[(a-1)/2]:(n[a/2]+n[a/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 a=0,i=this._count-1;a<=i;){var r=(a+i)/2|0;if(e[r]<t)a=r+1;else{if(!(e[r]>t))return r;i=r-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var a=this._chunks[t],i=[];if(!a)return i;null==n&&(n=1/0);for(var r=1/0,o=-1,l=0,s=0,u=this.count();s<u;s++){var c=e-a[this.getRawIndex(s)],p=Math.abs(c);p<=n&&((p<r||p===r&&c>=0&&o<0)&&(r=p,o=c,l=0),c===o&&(i[l++]=s))}return i.length=l,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,a=this._count;if(n===Array){t=new n(a);for(var i=0;i<a;i++)t[i]=e[i]}else t=new n(e.buffer,0,a)}else{t=new(n=ng(this._rawCount))(this.count());for(i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),a=n.count(),i=new(ng(n._rawCount))(a),r=[],o=t.length,l=0,s=t[0],u=n._chunks,c=0;c<a;c++){var p=void 0,d=n.getRawIndex(c);if(0===o)p=e(c);else if(1===o){p=e(u[s][d],c)}else{for(var h=0;h<o;h++)r[h]=u[t[h]][d];r[h]=c,p=e.apply(null,r)}p&&(i[l++]=d)}return l<a&&(n._indices=i),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var a=$(t),i=a.length;if(!i)return this;var r=e.count(),o=new(ng(e._rawCount))(r),l=0,s=a[0],u=t[s][0],c=t[s][1],p=e._chunks,d=!1;if(!e._indices){var h=0;if(1===i){for(var f=p[a[0]],g=0;g<n;g++){((b=f[g])>=u&&b<=c||isNaN(b))&&(o[l++]=h),h++}d=!0}else if(2===i){f=p[a[0]];var m=p[a[1]],y=t[a[1]][0],v=t[a[1]][1];for(g=0;g<n;g++){var b=f[g],x=m[g];(b>=u&&b<=c||isNaN(b))&&(x>=y&&x<=v||isNaN(x))&&(o[l++]=h),h++}d=!0}}if(!d)if(1===i)for(g=0;g<r;g++){var _=e.getRawIndex(g);((b=p[a[0]][_])>=u&&b<=c||isNaN(b))&&(o[l++]=_)}else for(g=0;g<r;g++){for(var w=!0,k=(_=e.getRawIndex(g),0);k<i;k++){var S=a[k];((b=p[S][_])<t[S][0]||b>t[S][1])&&(w=!1)}w&&(o[l++]=e.getRawIndex(g))}return l<r&&(e._indices=o),e._count=l,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 a=t._chunks,i=[],r=e.length,o=t.count(),l=[],s=t._rawExtent,u=0;u<e.length;u++)s[e[u]]=[1/0,-1/0];for(var c=0;c<o;c++){for(var p=t.getRawIndex(c),d=0;d<r;d++)l[d]=a[e[d]][p];l[r]=c;var h=n&&n.apply(null,l);if(null!=h){"object"!=typeof h&&(i[0]=h,h=i);for(u=0;u<h.length;u++){var f=e[u],g=h[u],m=s[f],y=a[f];y&&(y[p]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,a,i,r=this.clone([t],!0),o=r._chunks[t],l=this.count(),s=0,u=Math.floor(1/e),c=this.getRawIndex(0),p=new(ng(this._rawCount))(Math.ceil(l/u)+2);p[s++]=c;for(var d=1;d<l-1;d+=u){for(var h=Math.min(d+u,l-1),f=Math.min(d+2*u,l),g=(f+h)/2,m=0,y=h;y<f;y++){var v=o[k=this.getRawIndex(y)];isNaN(v)||(m+=v)}m/=f-h;var b=d,x=Math.min(d+u,l),_=d-1,w=o[c];n=-1,i=b;for(y=b;y<x;y++){var k;v=o[k=this.getRawIndex(y)];isNaN(v)||(a=Math.abs((_-g)*(v-w)-(_-y)*(m-w)))>n&&(n=a,i=k)}p[s++]=i,c=i}return p[s++]=this.getRawIndex(l-1),r._count=s,r._indices=p,r.getRawIndex=this._getRawIdx,r},t.prototype.downSample=function(t,e,n,a){for(var i=this.clone([t],!0),r=i._chunks,o=[],l=Math.floor(1/e),s=r[t],u=this.count(),c=i._rawExtent[t]=[1/0,-1/0],p=new(ng(this._rawCount))(Math.ceil(u/l)),d=0,h=0;h<u;h+=l){l>u-h&&(l=u-h,o.length=l);for(var f=0;f<l;f++){var g=this.getRawIndex(h+f);o[f]=s[g]}var m=n(o),y=this.getRawIndex(Math.min(h+a(o,m)||0,u-1));s[y]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),p[d++]=y}return i._count=d,i._indices=p,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,a=this._chunks,i=0,r=this.count();i<r;i++){var o=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(a[t[0]][o],i);break;case 2:e(a[t[0]][o],a[t[1]][o],i);break;default:for(var l=0,s=[];l<n;l++)s[l]=a[t[l]][o];s[l]=i,e.apply(null,s)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var a,i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(a=this._extent[t])return a.slice();for(var r=(a=n)[0],o=a[1],l=0;l<i;l++){var s=e[this.getRawIndex(l)];s<r&&(r=s),s>o&&(o=s)}return a=[r,o],this._extent[t]=a,a},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],a=this._chunks,i=0;i<a.length;i++)n.push(a[i][e]);return n},t.prototype.clone=function(e,n){var a,i,r=new t,o=this._chunks,l=e&&j(e,(function(t,e){return t[e]=!0,t}),{});if(l)for(var s=0;s<o.length;s++)r._chunks[s]=l[s]?(a=o[s],i=void 0,(i=a.constructor)===Array?a.slice():new i(a)):o[s];else r._chunks=o;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=N(this._extent),t._rawExtent=N(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 a=0;a<n;a++)e[a]=this._indices[a]}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,a){return zf(t[a],this._dimensions[a])}qf={arrayRows:t,objectRows:function(t,e,n,a){return zf(t[e],this._dimensions[a])},keyedColumns:t,original:function(t,e,n,a){var i=t&&(null==t.value?t:t.value);return zf(i instanceof Array?i[a]:i,this._dimensions[a])},typedArray:function(t,e,n,a){return t[a]}}}(),t}(),rg=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,a=this._getUpstreamSourceManagers(),i=!!a.length;if(lg(n)){var r=n,o=void 0,l=void 0,s=void 0;if(i){var u=a[0];u.prepareSource(),o=(s=u.getSource()).data,l=s.sourceFormat,e=[u._getVersionSign()]}else l=lt(o=r.get("data",!0))?eh:$d,e=[];var c=this._getSourceMetaRawOption()||{},p=s&&s.metaRawOption||{},d=ft(c.seriesLayoutBy,p.seriesLayoutBy)||null,h=ft(c.sourceHeader,p.sourceHeader)||null,f=ft(c.dimensions,p.dimensions);t=d!==p.seriesLayoutBy||!!h!=!!p.sourceHeader||f?[uf(o,{seriesLayoutBy:d,sourceHeader:h,dimensions:f},l)]:[]}else{var g=n;if(i){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{t=[uf(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,a=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){1!==t.length&&sg("")}var r,o=[],l=[];return X(t,(function(t){t.prepareSource();var e=t.getSource(i||0);null==i||e||sg(""),o.push(e),l.push(t._getVersionSign())})),a?e=function(t,e,n){var a=Zi(t),i=a.length;i||Ui("");for(var r=0,o=i;r<o;r++)e=Zf(a[r],e),r!==o-1&&(e.length=Math.max(e.length,1));return e}(a,o,n.componentIndex):null!=i&&(e=[(r=o[0],new lf({data:r.data,sourceFormat:r.sourceFormat,seriesLayoutBy:r.seriesLayoutBy,dimensionsDefine:N(r.dimensionsDefine),startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:l}},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 a=this._storeList,i=a[0];i||(i=a[0]={});var r=i[n];if(!r){var o=this._getUpstreamSourceManagers()[0];lg(this._sourceHost)&&o?r=o._innerGetDataStore(t,e,n):(r=new ig).initData(new gf(e,t.length),t),i[n]=r}return r},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(lg(t)){var e=ph(t);return e?[e.getSourceManager()]:[]}return Z(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?pr(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},ur).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,a=this._sourceHost;if(lg(a))t=a.get("seriesLayoutBy",!0),e=a.get("sourceHeader",!0),n=a.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=a;t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function og(t){t.option.transform&&_t(t.option.transform)}function lg(t){return"series"===t.mainType}function sg(t){throw new Error(t)}function ug(t,e){var n=t.color||"#6e7079",a=t.fontSize||12,i=t.fontWeight||"400",r=t.color||"#464646",o=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+Id(a+"")+"px;color:"+Id(n)+";font-weight:"+Id(i+""),valueStyle:"font-size:"+Id(o+"")+"px;color:"+Id(r)+";font-weight:"+Id(l+"")}:{nameStyle:{fontSize:a,fill:n,fontWeight:i},valueStyle:{fontSize:o,fill:r,fontWeight:l}}}var cg=[0,10,20,30],pg=["","\n","\n\n","\n\n\n"];function dg(t,e){return e.type=t,e}function hg(t){return Tt(fg,t.type)&&fg[t.type]}var fg={section:{planLayout:function(t){var e=t.blocks.length,n=e>1||e>0&&!t.noHeader,a=0;X(t.blocks,(function(t){hg(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=a&&(a=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=a},build:function(t,e,n,a){var i=e.noHeader,r=mg(e),o=function(t,e,n,a){var i=[],r=e.blocks||[];vt(!r||tt(r)),r=r||[];var o=t.orderMode;if(e.sortBlocks&&o){r=r.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(Tt(l,o)){var s=new Bf(l[o],null);r.sort((function(t,e){return s.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===o&&r.reverse()}var u=mg(e);if(X(r,(function(e,n){var r=hg(e).build(t,e,n>0?u.html:0,a);null!=r&&i.push(r)})),!i.length)return;return"richText"===t.renderMode?i.join(u.richText):yg(i.join(""),n)}(t,e,i?n:r.html,a);if(i)return o;var l=Td(e.header,"ordinal",t.useUTC),s=ug(a,t.renderMode).nameStyle;return"richText"===t.renderMode?vg(t,l,s)+r.richText+o:yg('<div style="'+s+";"+'line-height:1;">'+Id(l)+"</div>"+o,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,a){var i=t.renderMode,r=e.noName,o=e.noValue,l=!e.markerType,s=e.name,u=e.value,c=t.useUTC;if(!r||!o){var p=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),d=r?"":Td(s,"ordinal",c),h=e.valueType,f=o?[]:tt(u)?Z(u,(function(t,e){return Td(t,tt(h)?h[e]:h,c)})):[Td(u,tt(h)?h[0]:h,c)],g=!l||!r,m=!l&&r,y=ug(a,i),v=y.nameStyle,b=y.valueStyle;return"richText"===i?(l?"":p)+(r?"":vg(t,d,v))+(o?"":function(t,e,n,a,i){var r=[i],o=a?10:20;return n&&r.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join("  "),r)}(t,f,g,m,b)):yg((l?"":p)+(r?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+Id(t)+"</span>"}(d,!l,v))+(o?"":function(t,e,n,a){var i=n?"10px":"20px";return'<span style="'+(e?"float:right;margin-left:"+i:"")+";"+a+'">'+Z(t,(function(t){return Id(t)})).join("&nbsp;&nbsp;")+"</span>"}(f,g,m,b)),n)}}}};function gg(t,e,n,a,i,r){if(t){var o=hg(t);o.planLayout(t);var l={useUTC:i,renderMode:n,orderMode:a,markupStyleCreator:e};return o.build(l,t,0,r)}}function mg(t){var e=t.__gapLevelBetweenSubBlocks;return{html:cg[e],richText:pg[e]}}function yg(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+'line-height:1;">'+t+'<div style="clear:both"></div></div>'}function vg(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function bg(t,e){return Pd(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function xg(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var _g=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Gi()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var a="richText"===n?this._generateStyleName():null,i=Ld({color:e,type:t,renderMode:n,markerId:a});return nt(i)?i:(this.richTextStyles[a]=i.style,i.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};tt(e)?X(e,(function(t){return V(n,t)})):V(n,e);var a=this._generateStyleName();return this.richTextStyles[a]=n,"{"+a+"|"+t+"}"},t}();function wg(t){var e,n,a,i,r=t.series,o=t.dataIndex,l=t.multipleSeries,s=r.getData(),u=s.mapDimensionsAll("defaultedTooltip"),c=u.length,p=r.getRawValue(o),d=tt(p),h=bg(r,o);if(c>1||d&&!c){var f=function(t,e,n,a,i){var r=e.getData(),o=j(t,(function(t,e,n){var a=r.getDimensionInfo(n);return t||a&&!1!==a.tooltip&&null!=a.displayName}),!1),l=[],s=[],u=[];function c(t,e){var n=r.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?u.push(dg("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:t,valueType:n.type})):(l.push(t),s.push(n.type)))}return a.length?X(a,(function(t){c(If(r,n,t),t)})):X(t,c),{inlineValues:l,inlineValueTypes:s,blocks:u}}(p,r,o,u,h);e=f.inlineValues,n=f.inlineValueTypes,a=f.blocks,i=f.inlineValues[0]}else if(c){var g=s.getDimensionInfo(u[0]);i=e=If(s,o,u[0]),n=g.type}else i=e=d?p[0]:p;var m=nr(r),y=m&&r.name||"",v=s.getName(o),b=l?y:v;return dg("section",{header:y,noHeader:l||!m,sortParam:i,blocks:[dg("nameValue",{markerType:"item",markerColor:h,name:b,noName:!bt(b),value:e,valueType:n})].concat(a||[])})}var kg=rr();function Sg(t,e){return t.getName(e)||t.getId(e)}var Mg=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return u(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Af({count:Tg,reset:Cg}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(kg(this).sourceManager=new rg(this)).prepareSource();var a=this.getInitialData(t,n);Ag(a,this),this.dataTask.context.data=a,kg(this).dataBeforeProcessed=a,Ig(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=Gd(this),a=n?Wd(t):{},i=this.subType;Xd.hasClass(i)&&(i+="Series"),E(t,e.getTheme().get(this.subType)),E(t,this.getDefaultOption()),ji(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&Hd(t,a,n)},e.prototype.mergeOption=function(t,e){t=E(this.option,t,!0),this.fillDataTextStyle(t.data);var n=Gd(this);n&&Hd(this.option,t,n);var a=kg(this).sourceManager;a.dirty(),a.prepareSource();var i=this.getInitialData(t,e);Ag(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,kg(this).dataBeforeProcessed=i,Ig(this),this._initSelectedMapFromData(i)},e.prototype.fillDataTextStyle=function(t){if(t&&!lt(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&ji(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=Pg(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return kg(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=Pg(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}kg(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return St(t)},e.prototype.getSourceManager=function(){return kg(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return kg(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 wg({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){if(b.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var a=this.ecModel,i=xh.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=a.getColorFromPalette(t,e,n)),i},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)for(var a=this.getData(e),i=0;i<t.length;i++){var r=Sg(a,t[i]);n[r]=!1,this._selectedDataIndicesMap[r]=-1}},e.prototype.toggleSelect=function(t,e){for(var n=[],a=0;a<t.length;a++)n[0]=t[a],this.isSelected(t[a],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){for(var t=this._selectedDataIndicesMap,e=$(t),n=[],a=0;a<e.length;a++){var i=t[e[a]];i>=0&&n.push(i)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;return n&&n[Sg(this.getData(e),t)]||!1},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,a,i=this.option.selectedMode,r=e.length;if(i&&r)if("multiple"===i)for(var o=this.option.selectedMap||(this.option.selectedMap={}),l=0;l<r;l++){var s=e[l];o[c=Sg(t,s)]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(s)}else if("single"===i||!0===i){var u=e[r-1],c=Sg(t,u);this.option.selectedMap=((n={})[c]=!0,n),this._selectedDataIndicesMap=((a={})[c]=t.getRawIndex(u),a)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var a=t.getRawDataItem(n);a&&a.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Xd.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}(Xd);function Ig(t){var e=t.name;nr(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),a=[];return X(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&a.push(n.displayName)})),a.join(" ")}(t)||e)}function Tg(t){return t.model.getRawData().count()}function Cg(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Dg}function Dg(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Ag(t,e){X(Mt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,Q(Lg,e))}))}function Lg(t,e){var n=Pg(t);return n&&n.setOutputEnd((e||this).count()),e}function Pg(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var a=n.currentTask;if(a){var i=a.agentStubMap;i&&(a=i.get(t.uid))}return a}}U(Mg,Cf),U(Mg,xh),xr(Mg,Xd);var zg=function(){function t(){this.group=new pi,this.uid=Np("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,a){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,a){},t.prototype.updateLayout=function(t,e,n,a){},t.prototype.updateVisual=function(t,e,n,a){},t.prototype.blurSeries=function(t,e){},t}();function Og(){var t=rr();return function(e){var n=t(e),a=e.pipelineContext,i=!!n.large,r=!!n.progressiveRender,o=n.large=!(!a||!a.large),l=n.progressiveRender=!(!a||!a.progressiveRender);return!(i===o&&r===l)&&"reset"}}vr(zg),Sr(zg);var Rg=rr(),Ng=Og(),Eg=function(){function t(){this.group=new pi,this.uid=Np("viewChart"),this.renderTask=Af({plan:Fg,reset:Gg}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,a){},t.prototype.highlight=function(t,e,n,a){Vg(t.getData(),a,"emphasis")},t.prototype.downplay=function(t,e,n,a){Vg(t.getData(),a,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,a){this.render(t,e,n,a)},t.prototype.updateLayout=function(t,e,n,a){this.render(t,e,n,a)},t.prototype.updateVisual=function(t,e,n,a){this.render(t,e,n,a)},t.markUpdateMethod=function(t,e){Rg(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Bg(t,e,n){t&&("emphasis"===e?Ls:Ps)(t,n)}function Vg(t,e,n){var a=ir(t,e),i=e&&null!=e.highlightKey?function(t){var e=is[t];return null==e&&as<=32&&(e=is[t]=as++),e}(e.highlightKey):null;null!=a?X(Zi(a),(function(e){Bg(t.getItemGraphicEl(e),n,i)})):t.eachItemGraphicEl((function(t){Bg(t,n,i)}))}function Fg(t){return Ng(t.model)}function Gg(t){var e=t.model,n=t.ecModel,a=t.api,i=t.payload,r=e.pipelineContext.progressiveRender,o=t.view,l=i&&Rg(i).updateMethod,s=r?"incrementalPrepareRender":l&&o[l]?l:"render";return"render"!==s&&o[s](e,n,a,i),Hg[s]}vr(Eg),Sr(Eg);var Hg={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)}}},Wg="\0__throttleOriginMethod",Ug="\0__throttleRate",Yg="\0__throttleType";function Xg(t,e,n){var a,i,r,o,l,s=0,u=0,c=null;function p(){u=(new Date).getTime(),c=null,t.apply(r,o||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];a=(new Date).getTime(),r=this,o=t;var h=l||e,f=l||n;l=null,i=a-(f?s:u)-h,clearTimeout(c),f?c=setTimeout(p,h):i>=0?p():c=setTimeout(p,-i),s=a};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){l=t},d}function Zg(t,e,n,a){var i=t[e];if(i){var r=i[Wg]||i,o=i[Yg];if(i[Ug]!==n||o!==a){if(null==n||!a)return t[e]=r;(i=t[e]=Xg(r,n,"debounce"===a))[Wg]=r,i[Yg]=a,i[Ug]=n}return i}}var jg=rr(),qg={itemStyle:Mr(Lp,!0),lineStyle:Mr(Cp,!0)},Kg={lineStyle:"stroke",itemStyle:"fill"};function $g(t,e){var n=t.visualStyleMapper||qg[e];return n||(console.warn("Unkown style type '"+e+"'."),qg.itemStyle)}function Jg(t,e){var n=t.visualDrawType||Kg[e];return n||(console.warn("Unkown style type '"+e+"'."),"fill")}var Qg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",i=t.getModel(a),r=$g(t,a)(i),o=i.getShallow("decal");o&&(n.setVisual("decal",o),o.dirty=!0);var l=Jg(t,a),s=r[l],u=et(s)?s:null,c="auto"===r.fill||"auto"===r.stroke;if(!r[l]||u||c){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());r[l]||(r[l]=p,n.setVisual("colorFromPalette",!0)),r.fill="auto"===r.fill||"function"==typeof r.fill?p:r.fill,r.stroke="auto"===r.stroke||"function"==typeof r.stroke?p:r.stroke}if(n.setVisual("style",r),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var a=t.getDataParams(n),i=V({},r);i[l]=u(a),e.setItemVisual(n,"style",i)}}}},tm=new Op,em={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",i=$g(t,a),r=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[a]){tm.option=n[a];var o=i(tm);V(t.ensureUniqueItemVisual(e,"style"),o),tm.option.decal&&(t.setItemVisual(e,"decal",tm.option.decal),tm.option.decal.dirty=!0),r in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},nm={performRawSeries:!0,overallReset:function(t){var e=St();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var a=t.type+"-"+n,i=e.get(a);i||(i={},e.set(a,i)),jg(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),a={},i=e.getData(),r=jg(e).scope,o=e.visualStyleAccessPath||"itemStyle",l=Jg(e,o);i.each((function(t){var e=i.getRawIndex(t);a[e]=t})),n.each((function(t){var o=a[t];if(i.getItemVisual(o,"colorFromPalette")){var s=i.ensureUniqueItemVisual(o,"style"),u=n.getName(t)||t+"",c=n.count();s[l]=e.getColorFromPalette(u,r,c)}}))}}))}},am=Math.PI;var im=function(){function t(t,e,n,a){this._stageTaskMap=St(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=n.concat(a)}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),a=n.context,i=!e&&n.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,r=a&&a.modDataCount;return{step:i,modBy:null!=r?Math.ceil(r/i):null,modDataCount:r}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),a=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&a>=n.threshold,r=t.get("large")&&a>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:o,large:r}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=St();t.eachSeries((function(t){var a=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:a&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;X(this._allHandlers,(function(a){var i=t.get(a.uid)||t.set(a.uid,{});vt(!(a.reset&&a.overallReset),""),a.reset&&this._createSeriesStageTask(a,i,e,n),a.overallReset&&this._createOverallStageTask(a,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,a){var i=t.renderTask,r=i.context;r.model=e,r.ecModel=n,r.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},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,a){a=a||{};var i=!1,r=this;function o(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}X(t,(function(t,l){if(!a.visualType||a.visualType===t.visualType){var s=r._stageTaskMap.get(t.uid),u=s.seriesTaskMap,c=s.overallTask;if(c){var p,d=c.agentStubMap;d.each((function(t){o(a,t)&&(t.dirty(),p=!0)})),p&&c.dirty(),r.updatePayload(c,n);var h=r.getPerformArgs(c,a.block);d.each((function(t){t.perform(h)})),c.perform(h)&&(i=!0)}else u&&u.each((function(l,s){o(a,l)&&l.dirty();var u=r.getPerformArgs(l,a.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(l.context.model),r.updatePayload(l,n),l.perform(u)&&(i=!0)}))}})),this.unfinished=i||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,a){var i=this,r=e.seriesTaskMap,o=e.seriesTaskMap=St(),l=t.seriesType,s=t.getTargetSeries;function u(e){var l=e.uid,s=o.set(l,r&&r.get(l)||Af({plan:um,reset:cm,count:hm}));s.context={model:e,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,s)}t.createOnAllSeries?n.eachRawSeries(u):l?n.eachRawSeriesByType(l,u):s&&s(n,a).each(u)},t.prototype._createOverallStageTask=function(t,e,n,a){var i=this,r=e.overallTask=e.overallTask||Af({reset:rm});r.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:i};var o=r.agentStubMap,l=r.agentStubMap=St(),s=t.seriesType,u=t.getTargetSeries,c=!0,p=!1;function d(t){var e=t.uid,n=l.set(e,o&&o.get(e)||(p=!0,Af({reset:om,onDirty:sm})));n.context={model:t,overallProgress:c},n.agent=r,n.__block=c,i._pipe(t,n)}vt(!t.createOnAllSeries,""),s?n.eachRawSeriesByType(s,d):u?u(n,a).each(d):(c=!1,X(n.getSeries(),d)),p&&r.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,a=this._pipelineMap.get(n);!a.head&&(a.head=e),a.tail&&a.tail.pipe(e),a.tail=e,e.__idxInPipeline=a.count++,e.__pipeline=a},t.wrapStageHandler=function(t,e){return et(t)&&(t={overallReset:t,seriesType:fm(t)}),t.uid=Np("stageHandler"),e&&(t.visualType=e),t},t}();function rm(t){t.overallReset(t.ecModel,t.api,t.payload)}function om(t){return t.overallProgress&&lm}function lm(){this.agent.dirty(),this.getDownstream().dirty()}function sm(){this.agent&&this.agent.dirty()}function um(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function cm(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Zi(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?Z(e,(function(t,e){return dm(e)})):pm}var pm=dm(0);function dm(t){return function(e,n){var a=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var r=e.start;r<e.end;r++)i.dataEach(a,r);else i&&i.progress&&i.progress(e,a)}}function hm(t){return t.data.count()}function fm(t){gm=null;try{t(mm,ym)}catch(t){}return gm}var gm,mm={},ym={};function vm(t,e){for(var n in e.prototype)t[n]=Ct}vm(mm,kh),vm(ym,Ch),mm.eachSeriesByType=mm.eachRawSeriesByType=function(t){gm=t},mm.eachComponent=function(t){"series"===t.mainType&&t.subType&&(gm=t.subType)};var bm=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],xm={color:bm,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],bm]},_m="#B9B8CE",wm="#100C2A",km=function(){return{axisLine:{lineStyle:{color:_m}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Sm=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Mm={darkMode:!0,color:Sm,backgroundColor:wm,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:_m}},textStyle:{color:_m},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:_m}},dataZoom:{borderColor:"#71708A",textStyle:{color:_m},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:_m}},timeline:{lineStyle:{color:_m},label:{color:_m},controlStyle:{color:_m,borderColor:_m}},calendar:{itemStyle:{color:wm},dayLabel:{color:_m},monthLabel:{color:_m},yearLabel:{color:_m}},timeAxis:km(),logAxis:km(),valueAxis:km(),categoryAxis:km(),line:{symbol:"circle"},graph:{color:Sm},gauge:{title:{color:_m},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:_m},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Mm.categoryAxis.splitLine.show=!1;var Im=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},a={};if(nt(t)){var i=yr(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var r=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};X(t,(function(t,i){for(var l=!1,s=0;s<r.length;s++){var u=r[s],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var p=i.slice(0,c);"data"!==p&&(e.mainType=p,e[u.toLowerCase()]=t,l=!0)}}o.hasOwnProperty(i)&&(n[i]=t,l=!0),l||(a[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:a}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,i=n.packedEvent,r=n.model,o=n.view;if(!r||!o)return!0;var l=e.cptQuery,s=e.dataQuery;return u(l,r,"mainType")&&u(l,r,"subType")&&u(l,r,"index","componentIndex")&&u(l,r,"name")&&u(l,r,"id")&&u(s,i,"name")&&u(s,i,"dataIndex")&&u(s,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(t,e.otherQuery,a,i));function u(t,e,n,a){return null==t[n]||e[a||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Tm={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){var a=t.get("symbol"),i=t.get("symbolSize"),r=t.get("symbolKeepAspect"),o=t.get("symbolRotate"),l=t.get("symbolOffset"),s=et(a),u=et(i),c=et(o),p=et(l),d=s||u||c||p,h=!s&&a?a:t.defaultSymbol,f=u?null:i,g=c?null:o,m=p?null:l;if(n.setVisual({legendIcon:t.legendIcon||h,symbol:h,symbolSize:f,symbolKeepAspect:r,symbolRotate:g,symbolOffset:m}),!e.isSeriesFiltered(t))return{dataEach:d?function(e,n){var r=t.getRawValue(n),d=t.getDataParams(n);s&&e.setItemVisual(n,"symbol",a(r,d)),u&&e.setItemVisual(n,"symbolSize",i(r,d)),c&&e.setItemVisual(n,"symbolRotate",o(r,d)),p&&e.setItemVisual(n,"symbolOffset",l(r,d))}:null}}}};function Cm(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 Dm(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 Am(t,e,n,a){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=a,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=a;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,a)}}function Lm(t,e){function n(e,n){var a=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){a.push(t.seriesIndex)})),a}X([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,a,i){e=V({},e),i.dispatchAction(V(e,{type:t[1],seriesIndex:n(a,e)}))}))}))}function Pm(t,e,n,a,i){var r=t+e;n.isSilent(r)||a.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,a=i.selected,o=0;o<a.length;o++)if(a[o].seriesIndex===e){var l=t.getData(),s=ir(l,i.fromActionPayload);n.trigger(r,{type:r,seriesId:t.id,name:tt(s)?l.getName(s[0]):l.getName(s),selected:V({},t.option.selectedMap)})}}))}function zm(t,e,n){for(var a;t&&(!e(t)||(a=t,!n));)t=t.__hostTarget||t.parent;return a}var Om=Math.round(9*Math.random()),Rm="function"==typeof Object.defineProperty,Nm=function(){function t(){this._id="__ec_inner_"+Om++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return Rm?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}(),Em=Nm,Bm=Tl.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,a=e.cy,i=e.width/2,r=e.height/2;t.moveTo(n,a-r),t.lineTo(n+i,a+r),t.lineTo(n-i,a+r),t.closePath()}}),Vm=Tl.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,a=e.cy,i=e.width/2,r=e.height/2;t.moveTo(n,a-r),t.lineTo(n+i,a),t.lineTo(n,a+r),t.lineTo(n-i,a),t.closePath()}}),Fm=Tl.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,a=e.y,i=e.width/5*3,r=Math.max(i,e.height),o=i/2,l=o*o/(r-o),s=a-r+o+l,u=Math.asin(l/o),c=Math.cos(u)*o,p=Math.sin(u),d=Math.cos(u),h=.6*o,f=.7*o;t.moveTo(n-c,s+l),t.arc(n,s,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-p*h,s+l+d*h,n,a-f,n,a),t.bezierCurveTo(n,a-f,n-c+p*h,s+l+d*h,n-c,s+l),t.closePath()}}),Gm=Tl.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,a=e.width,i=e.x,r=e.y,o=a/3*2;t.moveTo(i,r),t.lineTo(i+o,r+n),t.lineTo(i,r+n/4*3),t.lineTo(i-o,r+n),t.lineTo(i,r),t.closePath()}}),Hm={line:function(t,e,n,a,i){i.x1=t,i.y1=e+a/2,i.x2=t+n,i.y2=e+a/2},rect:function(t,e,n,a,i){i.x=t,i.y=e,i.width=n,i.height=a},roundRect:function(t,e,n,a,i){i.x=t,i.y=e,i.width=n,i.height=a,i.r=Math.min(n,a)/4},square:function(t,e,n,a,i){var r=Math.min(n,a);i.x=t,i.y=e,i.width=r,i.height=r},circle:function(t,e,n,a,i){i.cx=t+n/2,i.cy=e+a/2,i.r=Math.min(n,a)/2},diamond:function(t,e,n,a,i){i.cx=t+n/2,i.cy=e+a/2,i.width=n,i.height=a},pin:function(t,e,n,a,i){i.x=t+n/2,i.y=e+a/2,i.width=n,i.height=a},arrow:function(t,e,n,a,i){i.x=t+n/2,i.y=e+a/2,i.width=n,i.height=a},triangle:function(t,e,n,a,i){i.cx=t+n/2,i.cy=e+a/2,i.width=n,i.height=a}},Wm={};X({line:ec,rect:Hl,roundRect:Hl,square:Hl,circle:_u,diamond:Vm,pin:Fm,arrow:Gm,triangle:Bm},(function(t,e){Wm[e]=new t}));var Um=Tl.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var a=Ja(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(a.y=n.y+.4*n.height),a},buildPath:function(t,e,n){var a=e.symbolType;if("none"!==a){var i=Wm[a];i||(i=Wm[a="rect"]),Hm[a](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function Ym(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 Xm(t,e,n,a,i,r,o){var l,s=0===t.indexOf("empty");return s&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(l=0===t.indexOf("image://")?Uc(t.slice(8),new Ga(e,n,a,i),o?"center":"cover"):0===t.indexOf("path://")?Wc(t.slice(7),{},new Ga(e,n,a,i),o?"center":"cover"):new Um({shape:{symbolType:t,x:e,y:n,width:a,height:i}})).__isEmptyBrush=s,l.setColor=Ym,r&&l.setColor(r),l}function Zm(t){return tt(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function jm(t,e){if(null!=t)return tt(t)||(t=[t,t]),[_i(t[0],e[0])||0,_i(ft(t[1],t[0]),e[1])||0]}function qm(t,e,n){for(var a="radial"===e.type?function(t,e,n){var a=n.width,i=n.height,r=Math.min(a,i),o=null==e.x?.5:e.x,l=null==e.y?.5:e.y,s=null==e.r?.5:e.r;return e.global||(o=o*a+n.x,l=l*i+n.y,s*=r),t.createRadialGradient(o,l,0,o,l,s)}(t,e,n):function(t,e,n){var a=null==e.x?0:e.x,i=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(a=a*n.width+n.x,i=i*n.width+n.x,r=r*n.height+n.y,o=o*n.height+n.y),a=isNaN(a)?0:a,i=isNaN(i)?1:i,r=isNaN(r)?0:r,o=isNaN(o)?0:o,t.createLinearGradient(a,r,i,o)}(t,e,n),i=e.colorStops,r=0;r<i.length;r++)a.addColorStop(i[r].offset,i[r].color);return a}function Km(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}function $m(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:it(t)?[t]:tt(t)?t:null):null}var Jm=new ol(!0);function Qm(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function ty(t){return"string"==typeof t&&"none"!==t}function ey(t){var e=t.fill;return null!=e&&"none"!==e}function ny(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 ay(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 iy(t,e,n){var a=Ar(e.image,e.__image,n);if(Pr(a)){var i=t.createPattern(a,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i.setTransform){var r=new DOMMatrix;r.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),r.scaleSelf(e.scaleX||1,e.scaleY||1),r.translateSelf(e.x||0,e.y||0),i.setTransform(r)}return i}}var ry=["shadowBlur","shadowOffsetX","shadowOffsetY"],oy=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function ly(t,e,n,a,i){var r=!1;if(!a&&e===(n=n||{}))return!1;if(a||e.opacity!==n.opacity){r||(cy(t,i),r=!0);var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?Xr.opacity:o}(a||e.blend!==n.blend)&&(r||(cy(t,i),r=!0),t.globalCompositeOperation=e.blend||Xr.blend);for(var l=0;l<ry.length;l++){var s=ry[l];(a||e[s]!==n[s])&&(r||(cy(t,i),r=!0),t[s]=t.dpr*(e[s]||0))}return(a||e.shadowColor!==n.shadowColor)&&(r||(cy(t,i),r=!0),t.shadowColor=e.shadowColor||Xr.shadowColor),r}function sy(t,e,n,a,i){var r=py(e,i.inHover),o=a?null:n&&py(n,i.inHover)||{};if(r===o)return!1;var l=ly(t,r,o,a,i);if((a||r.fill!==o.fill)&&(l||(cy(t,i),l=!0),ty(r.fill)&&(t.fillStyle=r.fill)),(a||r.stroke!==o.stroke)&&(l||(cy(t,i),l=!0),ty(r.stroke)&&(t.strokeStyle=r.stroke)),(a||r.opacity!==o.opacity)&&(l||(cy(t,i),l=!0),t.globalAlpha=null==r.opacity?1:r.opacity),e.hasStroke()){var s=r.lineWidth/(r.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1);t.lineWidth!==s&&(l||(cy(t,i),l=!0),t.lineWidth=s)}for(var u=0;u<oy.length;u++){var c=oy[u],p=c[0];(a||r[p]!==o[p])&&(l||(cy(t,i),l=!0),t[p]=r[p]||c[1])}return l}function uy(t,e){var n=e.transform,a=t.dpr||1;n?t.setTransform(a*n[0],a*n[1],a*n[2],a*n[3],a*n[4],a*n[5]):t.setTransform(a,0,0,a,0,0)}function cy(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function py(t,e){return e&&t.__hoverStyle||t.style}function dy(t,e){hy(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function hy(t,e,n,a){var i=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var r=e.__clipPaths,o=n.prevElClipPaths,l=!1,s=!1;if(o&&!Km(r,o)||(o&&o.length&&(cy(t,n),t.restore(),s=l=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),r&&r.length&&(cy(t,n),t.save(),function(t,e,n){for(var a=!1,i=0;i<t.length;i++){var r=t[i];a=a||r.isZeroArea(),uy(e,r),e.beginPath(),r.buildPath(e,r.shape),e.clip()}n.allClipped=a}(r,t,n),l=!0),n.prevElClipPaths=r),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(s=l=!0);var c,p,d=e instanceof Tl&&e.autoBatch&&function(t){var e=ey(t),n=Qm(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);l||(c=i,p=u.transform,c&&p?c[0]!==p[0]||c[1]!==p[1]||c[2]!==p[2]||c[3]!==p[3]||c[4]!==p[4]||c[5]!==p[5]:c||p)?(cy(t,n),uy(t,e)):d||cy(t,n);var h=py(e,n.inHover);e instanceof Tl?(1!==n.lastDrawType&&(s=!0,n.lastDrawType=1),sy(t,e,u,s,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,a){var i=Qm(n),r=ey(n),o=n.strokePercent,l=o<1,s=!e.path;e.silent&&!l||!s||e.createPathProxy();var u=e.path||Jm;if(!a){var c=n.fill,p=n.stroke,d=r&&!!c.colorStops,h=i&&!!p.colorStops,f=r&&!!c.image,g=i&&!!p.image,m=void 0,y=void 0,v=void 0,b=void 0,x=void 0;(d||h)&&(x=e.getBoundingRect()),d&&(m=e.__dirty?qm(t,c,x):e.__canvasFillGradient,e.__canvasFillGradient=m),h&&(y=e.__dirty?qm(t,p,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=y),f&&(v=e.__dirty||!e.__canvasFillPattern?iy(t,c,e):e.__canvasFillPattern,e.__canvasFillPattern=v),g&&(b=e.__dirty||!e.__canvasStrokePattern?iy(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=v),d?t.fillStyle=m:f&&(v?t.fillStyle=v:r=!1),h?t.strokeStyle=y:g&&(b?t.strokeStyle=b:i=!1)}var _=n.lineDash&&n.lineWidth>0&&$m(n.lineDash,n.lineWidth),w=n.lineDashOffset,k=!!t.setLineDash,S=e.getGlobalScale();if(u.setScale(S[0],S[1],e.segmentIgnoreThreshold),_){var M=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;M&&1!==M&&(_=Z(_,(function(t){return t/M})),w/=M)}var I=!0;(s||4&e.__dirty||_&&!k&&i)&&(u.setDPR(t.dpr),l?u.setContext(null):(u.setContext(t),I=!1),u.reset(),_&&!k&&(u.setLineDash(_),u.setLineDashOffset(w)),e.buildPath(u,e.shape,a),u.toStatic(),e.pathUpdated()),I&&u.rebuildPath(t,l?o:1),_&&k&&(t.setLineDash(_),t.lineDashOffset=w),a||(n.strokeFirst?(i&&ay(t,n),r&&ny(t,n)):(r&&ny(t,n),i&&ay(t,n))),_&&k&&t.setLineDash([])}(t,e,h,d),d&&(n.batchFill=h.fill||"",n.batchStroke=h.stroke||"")):e instanceof Al?(3!==n.lastDrawType&&(s=!0,n.lastDrawType=3),sy(t,e,u,s,n),function(t,e,n){var a=n.text;if(null!=a&&(a+=""),a){t.font=n.font||Wa,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var i=void 0;if(t.setLineDash){var r=n.lineDash&&n.lineWidth>0&&$m(n.lineDash,n.lineWidth),o=n.lineDashOffset;if(r){var l=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;l&&1!==l&&(r=Z(r,(function(t){return t/l})),o/=l),t.setLineDash(r),t.lineDashOffset=o,i=!0}}n.strokeFirst?(Qm(n)&&t.strokeText(a,n.x,n.y),ey(n)&&t.fillText(a,n.x,n.y)):(ey(n)&&t.fillText(a,n.x,n.y),Qm(n)&&t.strokeText(a,n.x,n.y)),i&&t.setLineDash([])}}(t,e,h)):e instanceof Ol?(2!==n.lastDrawType&&(s=!0,n.lastDrawType=2),function(t,e,n,a,i){ly(t,py(e,i.inHover),n&&py(n,i.inHover),a,i)}(t,e,u,s,n),function(t,e,n){var a=e.__image=Ar(n.image,e.__image,e,e.onload);if(a&&Pr(a)){var i=n.x||0,r=n.y||0,o=e.getWidth(),l=e.getHeight(),s=a.width/a.height;if(null==o&&null!=l?o=l*s:null==l&&null!=o?l=o/s:null==o&&null==l&&(o=a.width,l=a.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(a,u,c,n.sWidth,n.sHeight,i,r,o,l)}else if(n.sx&&n.sy){var p=o-(u=n.sx),d=l-(c=n.sy);t.drawImage(a,u,c,p,d,i,r,o,l)}else t.drawImage(a,i,r,o,l)}}(t,e,h)):e instanceof Sc&&(4!==n.lastDrawType&&(s=!0,n.lastDrawType=4),function(t,e,n){var a=e.getDisplayables(),i=e.getTemporalDisplayables();t.save();var r,o,l={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(r=e.getCursor(),o=a.length;r<o;r++){(c=a[r]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),hy(t,c,l,r===o-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),l.prevEl=c}for(var s=0,u=i.length;s<u;s++){var c;(c=i[s]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),hy(t,c,l,s===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),l.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),d&&a&&cy(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var fy,gy=new Em,my=new Ke(100),yy=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function vy(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),a=e.getZr(),i="svg"===a.painter.type;t.dirty&&gy.delete(t);var r=gy.get(t);if(r)return r;var o=F(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"===o.backgroundColor&&(o.backgroundColor=null);var l={repeat:"repeat"};return function(t){for(var e,r=[n],l=!0,s=0;s<yy.length;++s){var u=o[yy[s]],c=typeof u;if(null!=u&&!tt(u)&&"string"!==c&&"number"!==c&&"boolean"!==c){l=!1;break}r.push(u)}if(l){e=r.join(",")+(i?"-svg":"");var p=my.get(e);p&&(i?t.svgElement=p:t.image=p)}var d,h=xy(o.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if("number"==typeof 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}(o.dashArrayY),g=by(o.symbol),m=(_=h,Z(_,(function(t){return _y(t)}))),y=_y(f),v=!i&&G(),b=i&&a.painter.createSVGElement("g"),x=function(){for(var t=1,e=0,n=m.length;e<n;++e)t=Wi(t,m[e]);var a=1;for(e=0,n=g.length;e<n;++e)a=Wi(a,g[e].length);t*=a;var i=y*m.length*g.length;return{width:Math.max(1,Math.min(t,o.maxTileWidth)),height:Math.max(1,Math.min(i,o.maxTileHeight))}}();var _;v&&(v.width=x.width*n,v.height=x.height*n,d=v.getContext("2d"));(function(){d&&(d.clearRect(0,0,v.width,v.height),o.backgroundColor&&(d.fillStyle=o.backgroundColor,d.fillRect(0,0,v.width,v.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(t<=0)return;var r=-y,l=0,s=0,u=0;for(;r<x.height;){if(l%2==0){for(var c=s/2%g.length,p=0,m=0,_=0;p<2*x.width;){var w=0;for(e=0;e<h[u].length;++e)w+=h[u][e];if(w<=0)break;if(m%2==0){var k=.5*(1-o.symbolSize),S=p+h[u][m]*k,M=r+f[l]*k,I=h[u][m]*o.symbolSize,T=f[l]*o.symbolSize,C=_/2%g[c].length;D(S,M,I,T,g[c][C])}p+=h[u][m],++_,++m===h[u].length&&(m=0)}++u===h.length&&(u=0)}r+=f[l],++s,++l===f.length&&(l=0)}function D(t,e,r,l,s){var u=i?1:n,c=Xm(s,t*u,e*u,r*u,l*u,o.color,o.symbolKeepAspect);i?b.appendChild(a.painter.paintOne(c)):dy(d,c)}})(),l&&my.put(e,v||b);t.image=v,t.svgElement=b,t.svgWidth=x.width,t.svgHeight=x.height}(l),l.rotation=o.rotation,l.scaleX=l.scaleY=i?1:1/n,gy.set(t,l),t.dirty=!1,l}function by(t){if(!t||0===t.length)return[["rect"]];if("string"==typeof t)return[[t]];for(var e=!0,n=0;n<t.length;++n)if("string"!=typeof t[n]){e=!1;break}if(e)return by([t]);var a=[];for(n=0;n<t.length;++n)"string"==typeof t[n]?a.push([t[n]]):a.push(t[n]);return a}function xy(t){if(!t||0===t.length)return[[0,0]];if("number"==typeof t)return[[i=Math.ceil(t),i]];for(var e=!0,n=0;n<t.length;++n)if("number"!=typeof t[n]){e=!1;break}if(e)return xy([t]);var a=[];for(n=0;n<t.length;++n)if("number"==typeof t[n]){var i=Math.ceil(t[n]);a.push([i,i])}else{(i=Z(t[n],(function(t){return Math.ceil(t)}))).length%2==1?a.push(i.concat(i)):a.push(i)}return a}function _y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}function wy(t){nt(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 ky={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"},Sy=$(ky),My={"alignment-baseline":"textBaseline","stop-color":"stopColor"},Iy=$(My),Ty=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=wy(t);if(!n)throw new Error("Illegal svg");this._defsUsePending=[];var a=new pi;this._root=a;var i=[],r=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),zy(n,a,null,!0,!1);for(var s,u,c=n.firstChild;c;)this._parseNode(c,a,i,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var a=e[n];a[0].style[a[1]]=t[a[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],r){var p=Ey(r);p.length>=4&&(s={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(s&&null!=o&&null!=l&&(u=Hy(s,{x:0,y:0,width:o,height:l}),!e.ignoreViewBox)){var d=a;(a=new pi).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new Hl({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:s,viewBoxTransform:u,named:i}},t.prototype._parseNode=function(t,e,n,a,i,r){var o,l=t.nodeName.toLowerCase(),s=a;if("defs"===l&&(i=!0),"text"===l&&(r=!0),"defs"===l||"switch"===l)o=e;else{if(!i){var u=fy[l];if(u&&Tt(fy,l)){o=u.call(this,t,e);var c=t.getAttribute("name");if(c){var p={name:c,namedFrom:null,svgNodeTagLower:l,el:o};n.push(p),"g"===l&&(s=p)}else a&&n.push({name:a.name,namedFrom:a,svgNodeTagLower:l,el:o});e.add(o)}}var d=Cy[l];if(d&&Tt(Cy,l)){var h=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=h)}}if(o&&o.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,o,n,s,i,r):3===g.nodeType&&r&&this._parseText(g,o),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new Al({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Ly(e,n),zy(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var a=n.textBaseline,i=a;a&&"auto"!==a?"baseline"===a?i="alphabetic":"before-edge"===a||"text-before-edge"===a?i="top":"after-edge"===a||"text-after-edge"===a?i="bottom":"central"!==a&&"mathematical"!==a||(i="middle"):i="alphabetic",t.style.textBaseline=i}var r=e.__inheritedStyle;if(r){var o=r.textAlign,l=o;o&&("middle"===o&&(l="center"),t.style.textAlign=l)}}(n,e);var a=n.style,i=a.fontSize;i&&i<9&&(a.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var r=(a.fontSize||a.fontFamily)&&[a.fontStyle,a.fontWeight,(a.fontSize||12)+"px",a.fontFamily||"sans-serif"].join(" ");a.font=r;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=void(fy={g:function(t,e){var n=new pi;return Ly(e,n),zy(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Hl;return Ly(e,n),zy(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 _u;return Ly(e,n),zy(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 ec;return Ly(e,n),zy(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 Su;return Ly(e,n),zy(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,a=t.getAttribute("points");a&&(n=Py(a));var i=new ju({shape:{points:n||[]},silent:!0});return Ly(e,i),zy(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,a=t.getAttribute("points");a&&(n=Py(a));var i=new $u({shape:{points:n||[]},silent:!0});return Ly(e,i),zy(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new Ol;return Ly(e,n),zy(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",a=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",r=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(a)+parseFloat(r);var o=new pi;return Ly(e,o),zy(t,o,this._defsUsePending,!1,!0),o},tspan:function(t,e){var n=t.getAttribute("x"),a=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=a&&(this._textY=parseFloat(a));var i=t.getAttribute("dx")||"0",r=t.getAttribute("dy")||"0",o=new pi;return Ly(e,o),zy(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(r),o},path:function(t,e){var n=yu(t.getAttribute("d")||"");return Ly(e,n),zy(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),Cy={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),r=new fc(e,n,a,i);return Dy(t,r),Ay(t,r),r},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),i=new gc(e,n,a);return Dy(t,i),Ay(t,i),i}};function Dy(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function Ay(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var a=n.getAttribute("offset"),i=void 0;i=a&&a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var r={};Gy(n,r,r);var o=r.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function Ly(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),F(e.__inheritedStyle,t.__inheritedStyle))}function Py(t){for(var e=Ey(t),n=[],a=0;a<e.length;a+=2){var i=parseFloat(e[a]),r=parseFloat(e[a+1]);n.push([i,r])}return n}function zy(t,e,n,a,i){var r=e,o=r.__inheritedStyle=r.__inheritedStyle||{},l={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var a=[],i=null;n.replace(By,(function(t,e,n){return a.push(e,n),""}));for(var r=a.length-1;r>0;r-=2){var o=a[r],l=a[r-1],s=Ey(o);switch(i=i||[1,0,0,1,0,0],l){case"translate":da(i,i,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":fa(i,i,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":ha(i,i,-parseFloat(s[0])*Vy);break;case"skewX":pa(i,[1,0,Math.tan(parseFloat(s[0])*Vy),1,0,0],i);break;case"skewY":pa(i,[1,Math.tan(parseFloat(s[0])*Vy),0,1,0,0],i);break;case"matrix":i[0]=parseFloat(s[0]),i[1]=parseFloat(s[1]),i[2]=parseFloat(s[2]),i[3]=parseFloat(s[3]),i[4]=parseFloat(s[4]),i[5]=parseFloat(s[5])}}e.setLocalTransform(i)}}(t,e),Gy(t,o,l),a||function(t,e,n){for(var a=0;a<Sy.length;a++){var i=Sy[a];null!=(r=t.getAttribute(i))&&(e[ky[i]]=r)}for(a=0;a<Iy.length;a++){var r;i=Iy[a];null!=(r=t.getAttribute(i))&&(n[My[i]]=r)}}(t,o,l)),r.style=r.style||{},null!=o.fill&&(r.style.fill=Ry(r,"fill",o.fill,n)),null!=o.stroke&&(r.style.stroke=Ry(r,"stroke",o.stroke,n)),X(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=o[t]&&(r.style[t]=parseFloat(o[t]))})),X(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=o[t]&&(r.style[t]=o[t])})),i&&(r.__selfStyle=l),o.lineDash&&(r.style.lineDash=Z(Ey(o.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==o.visibility&&"collapse"!==o.visibility||(r.invisible=!0),"none"===o.display&&(r.ignore=!0)}var Oy=/^url\(\s*#(.*?)\)/;function Ry(t,e,n,a){var i=n&&n.match(Oy);if(!i)return"none"===n&&(n=null),n;var r=bt(i[1]);a.push([t,e,r])}var Ny=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Ey(t){return t.match(Ny)||[]}var By=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Vy=Math.PI/180;var Fy=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Gy(t,e,n){var a,i=t.getAttribute("style");if(i)for(Fy.lastIndex=0;null!=(a=Fy.exec(i));){var r=a[1],o=Tt(ky,r)?ky[r]:null;o&&(e[o]=a[2]);var l=Tt(My,r)?My[r]:null;l&&(n[l]=a[2])}}function Hy(t,e){var n=e.width/t.width,a=e.height/t.height,i=Math.min(n,a);return{scale:i,x:-(t.x+t.width/2)*i+(e.x+e.width/2),y:-(t.y+t.height/2)*i+(e.y+e.height/2)}}function Wy(t,e){return Math.abs(t-e)<1e-8}function Uy(t,e,n){var a=0,i=t[0];if(!i)return!1;for(var r=1;r<t.length;r++){var o=t[r];a+=fl(i[0],i[1],o[0],o[1],e,n),i=o}var l=t[0];return Wy(i[0],l[0])&&Wy(i[1],l[1])||(a+=fl(i[0],i[1],l[0],l[1],e,n)),0!==a}var Yy=[],Xy=function(){function t(t){this.name=t}return t.prototype.getCenter=function(){},t}(),Zy=function(t){function e(e,n,a){var i=t.call(this,e)||this;if(i.type="geoJSON",i.geometries=n,a)a=[a[0],a[1]];else{var r=i.getBoundingRect();a=[r.x+r.width/2,r.y+r.height/2]}return i._center=a,i}return u(e,t),e.prototype.getBoundingRect=function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],a=[-e,-e],i=[],r=[],o=this.geometries,l=0;l<o.length;l++){if("polygon"===o[l].type)zo(o[l].exterior,i,r),qt(n,n,i),Kt(a,a,r)}return 0===l&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new Ga(n[0],n[1],a[0]-n[0],a[1]-n[1])},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var a=0,i=n.length;a<i;a++)if("polygon"===n[a].type){var r=n[a].exterior,o=n[a].interiors;if(Uy(r,t[0],t[1])){for(var l=0;l<(o?o.length:0);l++)if(Uy(o[l],t[0],t[1]))continue t;return!0}}return!1},e.prototype.transformTo=function(t,e,n,a){var i=this.getBoundingRect(),r=i.width/i.height;n?a||(a=n/r):n=r*a;for(var o=new Ga(t,e,n,a),l=i.calculateTransform(o),s=this.geometries,u=0;u<s.length;u++)if("polygon"===s[u].type){for(var c=s[u].exterior,p=s[u].interiors,d=0;d<c.length;d++)jt(c[d],c[d],l);for(var h=0;h<(p?p.length:0);h++)for(d=0;d<p[h].length;d++)jt(p[h][d],p[h][d],l)}(i=this._rect).copy(o),this._center=[i.x+i.width/2,i.y+i.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.prototype.getCenter=function(){return this._center},e.prototype.setCenter=function(t){this._center=t},e}(Xy),jy=function(t){function e(e,n){var a=t.call(this,e)||this;return a.type="geoSVG",a._elOnlyForCalculate=n,a}return u(e,t),e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this._calculateCenter()),t},e.prototype._calculateCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],a=ua(Yy),i=t;i&&!i.isGeoSVGGraphicRoot;)pa(a,i.getLocalTransform(),a),i=i.parent;return ga(a,a),jt(n,n,a),n},e}(Xy),qy=St(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),Ky=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=St(),this._freedGraphics=[],this._mapName=t,this._parsedXML=wy(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=St();return X(t,(function(t){if(null==t.namedFrom){var a=new jy(t.name,t.el);e.push(a),n.set(t.name,a)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,a=e.regionsMap;this._regions=n,this._regionsMap=a}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,a,i;try{vt(null!=(n=(e=t&&(a=t,i={ignoreViewBox:!0,ignoreRootClip:!0},(new Ty).parse(a,i))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var r=new pi;r.add(n),r.isGeoSVGGraphicRoot=!0;var o=e.width,l=e.height,s=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,p=void 0,d=void 0,h=void 0;if(null!=o?(c=0,d=o):s&&(c=s.x,d=s.width),null!=l?(p=0,h=l):s&&(p=s.y,h=s.height),null==c||null==p){var f=n.getBoundingRect();null==c&&(c=f.x,d=f.width),null==p&&(p=f.y,h=f.height)}u=this._boundingRect=new Ga(c,p,d,h)}if(s){var g=Hy(s,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}r.setClipPath(new Hl({shape:u.plain()}));var m=[];return X(e.named,(function(t){var e;null!=qy.get(t.svgNodeTagLower)&&(m.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:r,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 $y(t,e,n){for(var a=[],i=e[0],r=e[1],o=0;o<t.length;o+=2){var l=t.charCodeAt(o)-64,s=t.charCodeAt(o+1)-64;l=l>>1^-(1&l),s=s>>1^-(1&s),i=l+=i,r=s+=r,a.push([l/n,s/n])}return a}function Jy(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);for(var a=e.features,i=0;i<a.length;i++){var r=a[i].geometry;if("Polygon"===r.type)for(var o=r.coordinates,l=0;l<o.length;l++)o[l]=$y(o[l],r.encodeOffsets[l],n);else if("MultiPolygon"===r.type)for(o=r.coordinates,l=0;l<o.length;l++)for(var s=o[l],u=0;u<s.length;u++)s[u]=$y(s[u],r.encodeOffsets[l][u],n)}return e.UTF8Encoding=!1,e}(t),Z(q(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,a=t.geometry,i=[];if("Polygon"===a.type){var r=a.coordinates;i.push({type:"polygon",exterior:r[0],interiors:r.slice(1)})}"MultiPolygon"===a.type&&X(r=a.coordinates,(function(t){t[0]&&i.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var o=new Zy(n[e||"name"],i,n.cp);return o.properties=n,o}))}for(var Qy=[126,25],tv="南海诸岛",ev=[[[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]]],nv=0;nv<ev.length;nv++)for(var av=0;av<ev[nv].length;av++)ev[nv][av][0]/=10.5,ev[nv][av][1]/=-14,ev[nv][av][0]+=Qy[0],ev[nv][av][1]+=Qy[1];var iv={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]};var rv={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]};var ov=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var lv=function(){function t(t,e,n){var a;this.type="geoJSON",this._parsedMap=St(),this._mapName=t,this._specialAreas=n,this._geoJSON=nt(a=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(a):new Function("return ("+a+");")():a}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var a=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:a,boundingRect:sv(a)})}var i=St(),r=[];return X(n.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),r.push(e),i.set(n,e)})),{regions:r,boundingRect:n.boundingRect||new Ga(0,0,0,0),regionsMap:i}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,a=this._geoJSON;try{e=a?Jy(a,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===tv)return;e.push(new Zy(tv,Z(ev,(function(t){return{type:"polygon",exterior:t}})),Qy))}}(n,e),X(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=iv[e.name];if(n){var a=e.getCenter();a[0]+=n[0]/10.5,a[1]+=-n[1]/14,e.setCenter(a)}}}(n,t),function(t,e){if("world"===t){var n=rv[e.name];if(n){var a=[n[0],n[1]];e.setCenter(a)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:ov[0]})}(n,t);var a=this._specialAreas&&this._specialAreas[e];a&&t.transformTo(a.left,a.top,a.width,a.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function sv(t){for(var e,n=0;n<t.length;n++){var a=t[n].getBoundingRect();(e=e||a.clone()).union(a)}return e}var uv=St(),cv=function(t,e,n){if(e.svg){var a=new Ky(t,e.svg);uv.set(t,a)}else{var i=e.geoJson||e.geoJSON;i&&!e.features?n=e.specialAreas:i=e;a=new lv(t,i,n);uv.set(t,a)}},pv=function(t){return uv.get(t)},dv=function(t){var e=uv.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},hv=function(t,e,n){var a=uv.get(t);if(a)return a.load(e,n)},fv=new ne,gv="undefined"!=typeof window,mv=2e3,yv=4500,vv={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:mv,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:yv,ARIA:6e3,DECAL:7e3}},bv=/^[a-zA-Z0-9_]+$/,xv="__connectUpdateStatus";function _v(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return kv(this,t,e);this.id}}function wv(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return kv(this,t,e)}}function kv(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),ne.prototype[e].apply(t,n)}var Sv,Mv,Iv,Tv,Cv,Dv,Av,Lv,Pv,zv,Ov,Rv,Nv,Ev,Bv,Vv,Fv,Gv,Hv,Wv=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e}(ne),Uv=Wv.prototype;Uv.on=wv("on"),Uv.off=wv("off");var Yv=function(t){function e(e,n,a){var i=t.call(this,new Im)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],a=a||{},"string"==typeof n&&(n=Qv[n]),i._dom=e;var r=i._zr=mi(e,{renderer:a.renderer||"canvas",devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,useDirtyRect:null!=a.useDirtyRect&&a.useDirtyRect});i._throttledZrFlush=Xg(J(r.flush,r),17),(n=N(n))&&Qh(n,!0),i._theme=n,i._locale=function(t){if(nt(t)){var e=Gp[t.toUpperCase()]||{};return t===Bp||t===Vp?N(e):E(N(e),N(Gp.EN),!1)}return E(N(t),N(Gp.EN),!1)}(a.locale||Wp),i._coordSysMgr=new Ah;var o=i._api=Vv(i);function l(t,e){return t.__prio-e.__prio}return Ne(Jv,l),Ne(Kv,l),i._scheduler=new im(i,o,Kv,Jv),i._messageCenter=new Wv,i._initEvents(),i.resize=J(i.resize,i),r.animation.on("frame",i._onframe,i),zv(r,i),Ov(r,i),_t(i),i}return u(e,t),e.prototype._onframe=function(){if(!this._disposed){Hv(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0,Sv(this),Tv.update.call(this,null,this.__pendingUpdate.updateParams),this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,Lv.call(this,e),Pv.call(this,e)}else if(t.unfinished){var n=1,a=this._model,i=this._api;t.unfinished=!1;do{var r=+new Date;t.performSeriesTasks(a),t.performDataProcessorTasks(a),Dv(this,a),t.performVisualTasks(a),Bv(this,this._model,i,"remain",{}),n-=+new Date-r}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.setOption=function(t,e,n){if(this._disposed)this.id;else{var a,i,r;if(rt(e)&&(n=e.lazyUpdate,a=e.silent,i=e.replaceMerge,r=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var o=new Ph(this._api),l=this._theme,s=this._model=new kh;s.scheduler=this._scheduler,s.init(null,null,null,l,this._locale,o)}this._model.setOption(t,{replaceMerge:i},$v);var u={seriesTransition:r,optionChanged:!0};n?(this.__pendingUpdate={silent:a,updateParams:u},this.__flagInMainProcess=!1,this.getZr().wakeUp()):(Sv(this),Tv.update.call(this,null,u),this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,Lv.call(this,a),Pv.call(this,a))}},e.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},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||gv&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if(b.canvasSupported)return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.getSvgDataURL=function(){if(b.svgSupported){var t=this._zr;return X(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,a=[],i=this;X(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(a.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return X(a,(function(t){t.group.ignore=!1})),r}this.id},e.prototype.getConnectedDataURL=function(t){if(this._disposed)this.id;else if(b.canvasSupported){var e="svg"===t.type,n=this.group,a=Math.min,i=Math.max,r=1/0;if(nb[n]){var o=r,l=r,s=-1/0,u=-1/0,c=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();X(eb,(function(r,p){if(r.group===n){var d=e?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas(N(t)),h=r.getDom().getBoundingClientRect();o=a(h.left,o),l=a(h.top,l),s=i(h.right,s),u=i(h.bottom,u),c.push({dom:d,left:h.left,top:h.top})}}));var d=(s*=p)-(o*=p),h=(u*=p)-(l*=p),f=G(),g=mi(f,{renderer:e?"svg":"canvas"});if(g.resize({width:d,height:h}),e){var m="";return X(c,(function(t){var e=t.left-o,n=t.top-l;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new Hl({shape:{x:0,y:0,width:d,height:h},style:{fill:t.connectedBackgroundColor}})),X(c,(function(t){var e=new Ol({style:{x:t.left*p-o,y:t.top*p-l,image:t.dom}});g.add(e)})),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return Cv(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Cv(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return X(lr(this._model,t),(function(t,a){a.indexOf("Models")>=0&&X(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===a){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(n=n||r.containPoint(e,t))}}),this)}),this),!!n;this.id},e.prototype.getVisual=function(t,e){var n=lr(this._model,t,{defaultMainType:"series"}),a=n.seriesModel.getData(),i=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?a.indexOfRawIndex(n.dataIndex):null;return null!=i?Cm(a,i,e):Dm(a,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,a=this;X(Zv,(function(t){var e=function(e){var n,i=a.getModel(),r=e.target;if("globalout"===t?n={}:r&&zm(r,(function(t){var e=es(t);if(e&&null!=e.dataIndex){var a=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return n=a&&a.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return n=V({},e.eventData),!0}),!0),n){var o=n.componentType,l=n.componentIndex;"markLine"!==o&&"markPoint"!==o&&"markArea"!==o||(o="series",l=n.seriesIndex);var s=o&&null!=l&&i.getComponent(o,l),u=s&&a["series"===s.mainType?"_chartsMap":"_componentsMap"][s.__viewId];n.event=e,n.type=t,a._$eventProcessor.eventInfo={targetEl:r,packedEvent:n,model:s,view:u},a.trigger(t,n)}};e.zrEventfulCallAtLast=!0,a._zr.on(t,e,a)})),X(qv,(function(t,e){a._messageCenter.on(e,(function(t){this.trigger(e,t)}),a)})),X(["selectchanged"],(function(t){a._messageCenter.on(t,(function(e){this.trigger(t,e)}),a)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var a=n.getModel();t.isFromClick?(Pm("map","selectchanged",e,a,t),Pm("pie","selectchanged",e,a,t)):"select"===t.fromAction?(Pm("map","selected",e,a,t),Pm("pie","selected",e,a,t)):"unselect"===t.fromAction&&(Pm("map","unselected",e,a,t),Pm("pie","unselected",e,a,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?this.id:this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)this.id;else{this._disposed=!0,dr(this.getDom(),rb,"");var t=this,e=t._api,n=t._model;X(t._componentsViews,(function(t){t.dispose(n,e)})),X(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 eb[t.id]}},e.prototype.resize=function(t){if(this._disposed)this.id;else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),a=t&&t.silent;this.__pendingUpdate&&(null==a&&(a=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0,n&&Sv(this),Tv.update.call(this,{type:"resize",animation:V({duration:0},t&&t.animation)}),this.__flagInMainProcess=!1,Lv.call(this,a),Pv.call(this,a)}}},e.prototype.showLoading=function(t,e){if(this._disposed)this.id;else if(rt(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),tb[t]){var n=tb[t](this._api,e),a=this._zr;this._loadingFX=n,a.add(n)}},e.prototype.hideLoading=function(){this._disposed?this.id:(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=V({},t);return e.type=qv[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)this.id;else if(rt(e)||(e={silent:!!e}),jv[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;Av.call(this,t,n);var a=e.flush;a?this._zr.flush():!1!==a&&b.browser.weChat&&this._throttledZrFlush(),Lv.call(this,n),Pv.call(this,n)}},e.prototype.updateLabelLayout=function(){fv.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)this.id;else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){for(var e=[],n=t.currentStates,a=0;a<n.length;a++){var i=n[a];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function e(t,e){t.preventAutoZ||n(e.group,t.get("z")||0,t.get("zlevel")||0,-1/0)}function n(t,e,a,i){var r=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var l=t.childrenRef(),s=0;s<l.length;s++)i=Math.max(n(l[s],e,a,i),i);else t.z=e,t.zlevel=a,i=Math.max(t.z2,i);if(r&&(r.z=e,r.zlevel=a,isFinite(i)&&(r.z2=i+2)),o){var u=t.textGuideLineConfig;o.z=e,o.zlevel=a,isFinite(i)&&(o.z2=i+(u&&u.showAbove?1:-1))}return i}function a(t,e){e.group.traverse((function(t){if(!Ac(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 i(e,n){var a=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),r=a.get("duration"),o=r>0?{duration:r,delay:a.get("delay"),easing:a.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(Ac(e))return;if(e instanceof Tl&&function(t){var e=rs(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}(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=o;var a=e.getTextContent(),r=e.getTextGuideLine();a&&(a.stateTransition=o),r&&(r.stateTransition=o)}e.__dirty&&t(e)}}))}Sv=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Mv(t,!0),Mv(t,!1),e.plan()},Mv=function(t,e){for(var n=t._model,a=t._scheduler,i=e?t._componentsViews:t._chartsViews,r=e?t._componentsMap:t._chartsMap,o=t._zr,l=t._api,s=0;s<i.length;s++)i[s].__alive=!1;function u(t){var s=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!s&&r[u];if(!c){var p=yr(t.type);(c=new(e?zg.getClass(p.main,p.sub):Eg.getClass(p.sub))).init(n,l),r[u]=c,i.push(c),o.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&a.prepareView(c,t,n,l)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(s=0;s<i.length;){var c=i[s];c.__alive?s++:(!e&&c.renderTask.dispose(),o.remove(c.group),c.dispose(n,l),i.splice(s,1),r[c.__id]===c&&delete r[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Iv=function(t,e,n,a,i){var r=t._model;if(r.setUpdatePayload(n),a){var o={};o[a+"Id"]=n[a+"Id"],o[a+"Index"]=n[a+"Index"],o[a+"Name"]=n[a+"Name"];var l={mainType:a,query:o};i&&(l.subType=i);var s,u=n.excludeSeriesId;null!=u&&(s=St(),X(Zi(u),(function(t){var e=er(t,null);null!=e&&s.set(e,!0)}))),Js(n)&&Bs(t._api),r&&r.eachComponent(l,(function(e){if(!(s&&null!==s.get(e.id)))if(Js(n))if(e instanceof Mg)n.type!==us||n.notBlur||function(t,e,n){var a=t.seriesIndex,i=t.getData(e.dataType),r=ir(i,e);r=(tt(r)?r[0]:r)||0;var o=i.getItemGraphicEl(r);if(!o)for(var l=i.count(),s=0;!o&&s<l;)o=i.getItemGraphicEl(s++);if(o){var u=es(o);Vs(a,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),p=t.get(["emphasis","blurScope"]);null!=c&&Vs(a,c,p,n)}}(e,n,t._api);else{var a=Gs(e.mainType,e.componentIndex,n.name,t._api),i=a.focusSelf,r=a.dispatchers;n.type===us&&i&&!n.notBlur&&Fs(e.mainType,e.componentIndex,t._api),r&&X(r,(function(t){n.type===us?Ls(t):Ps(t)}))}else $s(n)&&e instanceof Mg&&(!function(t,e,n){if($s(e)){var a=e.dataType,i=ir(t.getData(a),e);tt(i)||(i=[i]),t[e.type===hs?"toggleSelect":e.type===ps?"select":"unselect"](i,a)}}(e,n,t._api),Hs(e),Gv(t))}),t),r&&r.eachComponent(l,(function(e){s&&null!==s.get(e.id)||c(t["series"===a?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else X([].concat(t._componentsViews).concat(t._chartsViews),c);function c(a){a&&a.__alive&&a[e]&&a[e](a.__model,r,t._api,n)}},Tv={prepareAndUpdate:function(t){Sv(this),Tv.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(t,e){var n=this._model,a=this._api,i=this._zr,r=this._coordSysMgr,o=this._scheduler;if(n){n.setUpdatePayload(t),o.restoreData(n,t),o.performSeriesTasks(n),r.create(n,a),o.performDataProcessorTasks(n,t),Dv(this,n),r.update(n,a),Rv(n),o.performVisualTasks(n,t),Nv(this,n,a,t,e);var l=n.get("backgroundColor")||"transparent",s=n.get("darkMode");if(b.canvasSupported)i.setBackgroundColor(l),null!=s&&"auto"!==s&&i.setDarkMode(s);else{var u=cn(l);l=xn(u,"rgb"),0===u[3]&&(l="transparent")}fv.trigger("afterupdate",n,a)}},updateTransform:function(t){var e=this,n=this._model,a=this._api;if(n){n.setUpdatePayload(t);var i=[];n.eachComponent((function(r,o){if("series"!==r){var l=e.getViewOfComponentModel(o);if(l&&l.__alive)if(l.updateTransform){var s=l.updateTransform(o,n,a,t);s&&s.update&&i.push(l)}else i.push(l)}}));var r=St();n.eachSeries((function(i){var o=e._chartsMap[i.__viewId];if(o.updateTransform){var l=o.updateTransform(i,n,a,t);l&&l.update&&r.set(i.uid,1)}else r.set(i.uid,1)})),Rv(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:r}),Bv(this,n,a,t,{},r),fv.trigger("afterupdate",n,a)}},updateView:function(t){var e=this._model;e&&(e.setUpdatePayload(t),Eg.markUpdateMethod(t,"updateView"),Rv(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),Nv(this,e,this._api,t,{}),fv.trigger("afterupdate",e,this._api))},updateVisual:function(t){var e=this,n=this._model;n&&(n.setUpdatePayload(t),n.eachSeries((function(t){t.getData().clearAllVisual()})),Eg.markUpdateMethod(t,"updateVisual"),Rv(n),this._scheduler.performVisualTasks(n,t,{visualType:"visual",setDirty:!0}),n.eachComponent((function(a,i){if("series"!==a){var r=e.getViewOfComponentModel(i);r&&r.__alive&&r.updateVisual(i,n,e._api,t)}})),n.eachSeries((function(a){e._chartsMap[a.__viewId].updateVisual(a,n,e._api,t)})),fv.trigger("afterupdate",n,this._api))},updateLayout:function(t){Tv.update.call(this,t)}},Cv=function(t,e,n,a){if(t._disposed)t.id;else for(var i,r=t._model,o=t._coordSysMgr.getCoordinateSystems(),l=lr(r,n),s=0;s<o.length;s++){var u=o[s];if(u[e]&&null!=(i=u[e](r,l,a)))return i}},Dv=function(t,e){var n=t._chartsMap,a=t._scheduler;e.eachSeries((function(t){a.updateStreamModes(t,n[t.__viewId])}))},Av=function(t,e){var n=this,a=this.getModel(),i=t.type,r=t.escapeConnect,o=jv[i],l=o.actionInfo,s=(l.update||"update").split(":"),u=s.pop(),c=null!=s[0]&&yr(s[0]);this.__flagInMainProcess=!0;var p=[t],d=!1;t.batch&&(d=!0,p=Z(t.batch,(function(e){return(e=F(V({},e),t)).batch=null,e})));var h,f=[],g=$s(t),m=Js(t);if(X(p,(function(e){if((h=(h=o.action(e,n._model,n._api))||V({},e)).type=l.event||h.type,f.push(h),m){var a=sr(t),i=a.queryOptionMap,r=a.mainTypeSpecified?i.keys()[0]:"series";Iv(n,u,e,r),Gv(n)}else g?(Iv(n,u,e,"series"),Gv(n)):c&&Iv(n,u,e,c.main,c.sub)})),"none"===u||m||g||c||(this.__pendingUpdate?(Sv(this),Tv.update.call(this,t),this.__pendingUpdate=null):Tv[u].call(this,t)),h=d?{type:l.event||i,escapeConnect:r,batch:f}:f[0],this.__flagInMainProcess=!1,!e){var y=this._messageCenter;if(y.trigger(h.type,h),g){var v={type:"selectchanged",escapeConnect:r,selected:Ws(a),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};y.trigger(v.type,v)}}},Lv=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Av.call(this,n,t)}},Pv=function(t){!t&&this.trigger("updated")},zv=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},Ov=function(t,e){t.on("mouseover",(function(t){var n=zm(t.target,Ks);n&&(!function(t,e,n){var a=es(t),i=Gs(a.componentMainType,a.componentIndex,a.componentHighDownName,n),r=i.dispatchers,o=i.focusSelf;r?(o&&Fs(a.componentMainType,a.componentIndex,n),X(r,(function(t){return Ds(t,e)}))):(Vs(a.seriesIndex,a.focus,a.blurScope,n),"self"===a.focus&&Fs(a.componentMainType,a.componentIndex,n),Ds(t,e))}(n,t,e._api),Gv(e))})).on("mouseout",(function(t){var n=zm(t.target,Ks);n&&(!function(t,e,n){Bs(n);var a=es(t),i=Gs(a.componentMainType,a.componentIndex,a.componentHighDownName,n).dispatchers;i?X(i,(function(t){return As(t,e)})):As(t,e)}(n,t,e._api),Gv(e))})).on("click",(function(t){var n=zm(t.target,(function(t){return null!=es(t).dataIndex}),!0);if(n){var a=n.selected?"unselect":"select",i=es(n);e._api.dispatchAction({type:a,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}}))},Rv=function(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))},Nv=function(t,e,n,a,i){Ev(t,e,n,a,i),X(t._chartsViews,(function(t){t.__alive=!1})),Bv(t,e,n,a,i),X(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},Ev=function(t,n,r,o,l,s){X(s||t._componentsViews,(function(t){var l=t.__model;a(l,t),t.render(l,n,r,o),e(l,t),i(l,t)}))},Bv=function(t,n,r,o,l,s){var u=t._scheduler;l=V(l||{},{updatedSeries:n.getSeries()}),fv.trigger("series:beforeupdate",n,r,l);var c=!1;n.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;u.updatePayload(i,o),a(e,n),s&&s.get(e.uid)&&i.dirty(),i.perform(u.getPerformArgs(i))&&(c=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||(t.style.blend=n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.style.blend=n}))}))}(e,n),Hs(e)})),u.unfinished=c||u.unfinished,fv.trigger("series:layoutlabels",n,r,l),fv.trigger("series:transition",n,r,l),n.eachSeries((function(n){var a=t._chartsMap[n.__viewId];e(n,a),i(n,a)})),function(t,e){var n=t._zr.storage,a=0;n.traverse((function(t){t.isGroup||a++})),a>e.get("hoverLayerThreshold")&&!b.node&&!b.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,n),fv.trigger("series:afterupdate",n,r,l)},Gv=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},Hv=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){Ac(e)||t(e)})),e.__needsUpdateStatus=!1)},Vv=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return u(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){Ls(e,n),Gv(t)},n.prototype.leaveEmphasis=function(e,n){Ps(e,n),Gv(t)},n.prototype.enterBlur=function(e){zs(e),Gv(t)},n.prototype.leaveBlur=function(e){Os(e),Gv(t)},n.prototype.enterSelect=function(e){Rs(e),Gv(t)},n.prototype.leaveSelect=function(e){Ns(e),Gv(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}(Ch))(t)},Fv=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][xv]=e}}X(qv,(function(n,a){t._messageCenter.on(a,(function(n){if(nb[t.group]&&0!==t[xv]){if(n&&n.escapeConnect)return;var a=t.makeActionFromEvent(n),i=[];X(eb,(function(e){e!==t&&e.group===t.group&&i.push(e)})),e(i,0),X(i,(function(t){1!==t[xv]&&t.dispatchAction(a)})),e(i,2)}}))}))}}(),e}(ne),Xv=Yv.prototype;Xv.on=_v("on"),Xv.off=_v("off"),Xv.one=function(t,e,n){var a=this;this.on.call(this,t,(function n(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];e&&e.apply&&e.apply(this,i),a.off(t,n)}),n)};var Zv=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];var jv={},qv={},Kv=[],$v=[],Jv=[],Qv={},tb={},eb={},nb={},ab=+new Date-0,ib=+new Date-0,rb="_echarts_instance_";function ob(t){nb[t]=!1}var lb=ob;function sb(t){return eb[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,rb)]}function ub(t,e){Qv[t]=e}function cb(t){H($v,t)<0&&$v.push(t)}function pb(t,e){xb(Kv,t,e,2e3)}function db(t){fb("afterinit",t)}function hb(t){fb("afterupdate",t)}function fb(t,e){fv.on(t,e)}function gb(t,e,n){"function"==typeof e&&(n=e,e="");var a=rt(t)?t.type:[t,t={event:e}][0];t.event=(t.event||a).toLowerCase(),e=t.event,qv[e]||(vt(bv.test(a)&&bv.test(e)),jv[a]||(jv[a]={action:n,actionInfo:t}),qv[e]=a)}function mb(t,e){Ah.register(t,e)}function yb(t,e){xb(Jv,t,e,1e3,"layout")}function vb(t,e){xb(Jv,t,e,3e3,"visual")}var bb=[];function xb(t,e,n,a,i){if((et(e)||rt(e))&&(n=e,e=a),!(H(bb,n)>=0)){bb.push(n);var r=im.wrapStageHandler(n,i);r.__prio=e,r.__raw=n,t.push(r)}}function _b(t,e){tb[t]=e}function wb(t,e,n){cv(t,e,n)}var kb=function(t){var e=(t=N(t)).type;e||Ui("");var n=e.split(":");2!==n.length&&Ui("");var a=!1;"echarts"===n[0]&&(e=n[1],a=!0),t.__isBuiltIn=a,Xf.set(e,t)};vb(mv,Qg),vb(yv,em),vb(yv,nm),vb(mv,Tm),vb(yv,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){var n=t.getItemModel(e),a=n.getShallow("symbol",!0),i=n.getShallow("symbolSize",!0),r=n.getShallow("symbolRotate",!0),o=n.getShallow("symbolOffset",!0),l=n.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(e,"symbol",a),null!=i&&t.setItemVisual(e,"symbolSize",i),null!=r&&t.setItemVisual(e,"symbolRotate",r),null!=o&&t.setItemVisual(e,"symbolOffset",o),null!=l&&t.setItemVisual(e,"symbolKeepAspect",l)}:null}}}),vb(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var a=n.getData();a.hasItemVisual()&&a.each((function(t){var n=a.getItemVisual(t,"decal");n&&(a.ensureUniqueItemVisual(t,"style").decal=vy(n,e))}));var i=a.getVisual("decal");if(i)a.getVisual("style").decal=vy(i,e)}}))})),cb(Qh),pb(900,(function(t){var e=St();t.eachSeries((function(t){var n=t.get("stack");if(n){var a=e.get(n)||e.set(n,[]),i=t.getData(),r={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;a.length&&i.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(r)}})),e.each(tf)})),_b("default",(function(t,e){F(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",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new pi,a=new Hl({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(a);var i,r=new ts({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),o=new Hl({style:{fill:"none"},textContent:r,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&((i=new uc({shape:{startAngle:-am/2,endAngle:-am/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*am/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*am/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=r.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,s=(t.getWidth()-2*l-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:l),u=t.getHeight()/2;e.showSpinner&&i.setShape({cx:s,cy:u}),o.setShape({x:s-l,y:u-l,width:2*l,height:2*l}),a.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),gb({type:us,event:us,update:us},Ct),gb({type:cs,event:cs,update:cs},Ct),gb({type:ps,event:ps,update:ps},Ct),gb({type:ds,event:ds,update:ds},Ct),gb({type:hs,event:hs,update:hs},Ct),ub("light",xm),ub("dark",Mm);var Sb=[],Mb={registerPreprocessor:cb,registerProcessor:pb,registerPostInit:db,registerPostUpdate:hb,registerUpdateLifecycle:fb,registerAction:gb,registerCoordinateSystem:mb,registerLayout:yb,registerVisual:vb,registerTransform:kb,registerLoading:_b,registerMap:wb,PRIORITY:vv,ComponentModel:Xd,ComponentView:zg,SeriesModel:Mg,ChartView:Eg,registerComponentModel:function(t){Xd.registerClass(t)},registerComponentView:function(t){zg.registerClass(t)},registerSeriesModel:function(t){Mg.registerClass(t)},registerChartView:function(t){Eg.registerClass(t)},registerSubTypeDefaulter:function(t,e){Xd.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){yi(t,e)}};function Ib(t){tt(t)?X(t,(function(t){Ib(t)})):H(Sb,t)>=0||(Sb.push(t),et(t)&&(t={install:t}),t.install(Mb))}function Tb(t){return null==t?0:t.length||1}function Cb(t){return t}var Db=function(){function t(t,e,n,a,i,r){this._old=t,this._new=e,this._oldKeyGetter=n||Cb,this._newKeyGetter=a||Cb,this.context=i,this._diffModeMultiple="multiple"===r}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={},a=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(e,n,i,"_newKeyGetter");for(var r=0;r<t.length;r++){var o=a[r],l=n[o],s=Tb(l);if(s>1){var u=l.shift();1===l.length&&(n[o]=l[0]),this._update&&this._update(u,r)}else 1===s?(n[o]=null,this._update&&this._update(l,r)):this._remove&&this._remove(r)}this._performRestAdd(i,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},a={},i=[],r=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,a,r,"_newKeyGetter");for(var o=0;o<i.length;o++){var l=i[o],s=n[l],u=a[l],c=Tb(s),p=Tb(u);if(c>1&&1===p)this._updateManyToOne&&this._updateManyToOne(u,s),a[l]=null;else if(1===c&&p>1)this._updateOneToMany&&this._updateOneToMany(u,s),a[l]=null;else if(1===c&&1===p)this._update&&this._update(u,s),a[l]=null;else if(c>1&&p>1)this._updateManyToMany&&this._updateManyToMany(u,s),a[l]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(s[d]);else this._remove&&this._remove(s)}this._performRestAdd(r,a)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var a=t[n],i=e[a],r=Tb(i);if(r>1)for(var o=0;o<r;o++)this._add&&this._add(i[o]);else 1===r&&this._add&&this._add(i);e[a]=null}},t.prototype._initIndexMap=function(t,e,n,a){for(var i=this._diffModeMultiple,r=0;r<t.length;r++){var o="_ec_"+this[a](t[r],r);if(i||(n[r]=o),e){var l=e[o],s=Tb(l);0===s?(e[o]=r,i&&n.push(o)):1===s?e[o]=[l,r]:l.push(r)}}},t}(),Ab=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 Lb(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Pb(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var zb=function(t){this.otherDims={},null!=t&&V(this,t)},Ob=rr(),Rb={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Nb=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=Vb(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return ft(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=ff(this.source),n=!Fb(t),a="",i=[],r=0,o=0;r<t;r++){var l=void 0,s=void 0,u=void 0,c=this.dimensions[o];if(c&&c.storeDimIndex===r)l=e?c.name:null,s=c.type,u=c.ordinalMeta,o++;else{var p=this.getSourceDimension(r);p&&(l=e?p.name:null,s=p.type)}i.push({property:l,type:s,ordinalMeta:u}),!e||null==l||c&&c.isCalculationCoord||(a+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),a+="$",a+=Rb[s]||"f",u&&(a+=u.uid),a+="$"}var d=this.source;return{dimensions:i,hash:[d.seriesLayoutBy,d.startIndex,a].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var a=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(a=i.name),n++;else{var r=this.getSourceDimension(e);r&&(a=r.name)}t.push(a)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Eb(t){return t instanceof Nb}function Bb(t){for(var e=St(),n=0;n<(t||[]).length;n++){var a=t[n],i=rt(a)?a.name:a;null!=i&&null==e.get(i)&&e.set(i,n)}return e}function Vb(t){var e=Ob(t);return e.dimNameMap||(e.dimNameMap=Bb(t.dimensionsDefine))}function Fb(t){return t>30}var Gb,Hb,Wb,Ub,Yb,Xb,Zb,jb=rt,qb=Z,Kb="undefined"==typeof Int32Array?Array:Int32Array,$b=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Jb=["_approximateExtent"],Qb=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a=!1;Eb(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,n=t),n=n||["x","y"];for(var i={},r=[],o={},l=!1,s={},u=0;u<n.length;u++){var c=n[u],p=nt(c)?new zb({name:c}):c instanceof zb?c:new zb(c),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var h=p.otherDims=p.otherDims||{};r.push(d),i[d]=p,null!=s[d]&&(l=!0),p.createInvertedIndices&&(o[d]=[]),0===h.itemName&&(this._nameDimIdx=u),0===h.itemId&&(this._idDimIdx=u),a&&(p.storeDimIndex=u)}if(this.dimensions=r,this._dimInfos=i,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=o,this._dimOmitted){var f=this._dimIdxToName=St();X(r,(function(t){f.set(i[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 a=this._schema.getSourceDimension(e);return a?a.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("number"==typeof 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 a=n.encode[t];return a?a[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 a,i=this;if(t instanceof ig&&(a=t),!a){var r=this.dimensions,o=sf(t)||Y(t)?new gf(t,r.length):t;a=new ig;var l=qb(r,(function(t){return{type:i._dimInfos[t].type,property:t}}));a.initData(o,l,n)}this._store=a,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,a.count()),this._dimSummary=function(t,e){var n={},a=n.encode={},i=St(),r=[],o=[],l={};X(t.dimensions,(function(e){var n,s=t.getDimensionInfo(e),u=s.coordDim;if(u){var c=s.coordDimIndex;Lb(a,u)[c]=e,s.isExtraCoord||(i.set(u,1),"ordinal"!==(n=s.type)&&"time"!==n&&(r[0]=e),Lb(l,u)[c]=t.getDimensionIndex(s.name)),s.defaultTooltip&&o.push(e)}Kd.each((function(t,e){var n=Lb(a,e),i=s.otherDims[e];null!=i&&!1!==i&&(n[i]=s.name)}))}));var s=[],u={};i.each((function(t,e){var n=a[e];u[e]=n[0],s=s.concat(n)})),n.dataDimsOnCoord=s,n.dataDimIndicesOnCoord=Z(s,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=a.label;c&&c.length&&(r=c.slice());var p=a.tooltip;return p&&p.length?o=p.slice():o.length||(o=r.slice()),a.defaultedLabel=r,a.defaultedTooltip=o,n.userOutput=new Ab(l,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.length),a=n.start,i=n.end,r=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var o=a;o<i;o++){var l=o-a;this._nameList[o]=e[l],r&&Zb(this,o)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var a=this._dimInfos[e[n]];a.ordinalMeta&&t.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==eh&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var a=this._nameList,i=this._idList;if(n.getSource().sourceFormat===$d&&!n.pure)for(var r=[],o=t;o<e;o++){var l=n.getItem(o,r);if(!this.hasItemOption&&$i(l)&&(this.hasItemOption=!0),l){var s=l.name;null==a[o]&&null!=s&&(a[o]=er(s,null));var u=l.id;null==i[o]&&null!=u&&(i[o]=er(u,null))}}if(this._shouldMakeIdFromName())for(o=t;o<e;o++)Zb(this,o);Gb(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){jb(t)?V(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=Wb(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),a=this._store.getOrdinalMeta(t);return a?a.categories[n]:n},t.prototype.getId=function(t){return Hb(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.get(a.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.getByRawIndex(a.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,a=this._store;return tt(t)?a.getValues(qb(t,(function(t){return n._getStoreDimIndex(t)})),e):a.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,a=e.length;n<a;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])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]);var a=n||this,i=qb(Ub(t),this._getStoreDimIndex,this);this._store.each(i,a?J(e,a):e)},t.prototype.filterSelf=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]);var a=n||this,i=qb(Ub(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,a?J(e,a):e),this},t.prototype.selectRange=function(t){var e=this,n={};return X($(t),(function(a){var i=e._getStoreDimIndex(a);n[i]=t[a]})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]),n=n||this;var a=[];return this.each(t,(function(){a.push(e&&e.apply(this,arguments))}),n),a},t.prototype.map=function(t,e,n,a){var i=n||a||this,r=qb(Ub(t),this._getStoreDimIndex,this),o=Xb(this);return o._store=this._store.map(r,i?J(e,i):e),o},t.prototype.modify=function(t,e,n,a){var i=n||a||this,r=qb(Ub(t),this._getStoreDimIndex,this);this._store.modify(r,i?J(e,i):e)},t.prototype.downSample=function(t,e,n,a){var i=Xb(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,a),i},t.prototype.lttbDownSample=function(t,e){var n=Xb(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 Op(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Db(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return Hb(t,e)}),(function(t){return Hb(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||{},jb(t)?V(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],a=n&&n[e];return null==a?this.getVisual(e):a},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,a=n[t];a||(a=n[t]={});var i=a[e];return null==i&&(tt(i=this.getVisual(e))?i=i.slice():jb(i)&&(i=V({},i)),a[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,jb(e)?V(a,e):a[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(jb(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else 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?V(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;ns(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){X(this._graphicEls,(function(n,a){n&&t&&t.call(e,n,a)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:qb(this.dimensions,this._getDimInfo,this),this.hostModel)),Yb(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(mt(arguments)))})},t.internalField=(Gb=function(t){var e=t._invertedIndicesMap;X(e,(function(n,a){var i=t._dimInfos[a],r=i.ordinalMeta,o=t._store;if(r){n=e[a]=new Kb(r.categories.length);for(var l=0;l<n.length;l++)n[l]=-1;for(l=0;l<o.count();l++)n[o.get(i.storeDimIndex,l)]=l}}))},Wb=function(t,e,n){return er(t._getCategory(e,n),null)},Hb=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=Wb(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},Ub=function(t){return tt(t)||(t=null!=t?[t]:[]),t},Xb=function(e){var n=new t(e._schema?e._schema:qb(e.dimensions,e._getDimInfo,e),e.hostModel);return Yb(n,e),n},Yb=function(t,e){X($b.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,X(Jb,(function(n){t[n]=N(e[n])})),t._calculationInfo=V({},e._calculationInfo)},void(Zb=function(t,e){var n=t._nameList,a=t._idList,i=t._nameDimIdx,r=t._idDimIdx,o=n[e],l=a[e];if(null==o&&null!=i&&(n[e]=o=Wb(t,i,e)),null==l&&null!=r&&(a[e]=l=Wb(t,r,e)),null==l&&null!=o){var s=t._nameRepeatCount,u=s[o]=(s[o]||0)+1;l=o,u>1&&(l+="__ec__"+u),a[e]=l}})),t}();function tx(t,e){sf(t)||(t=cf(t));var n=(e=e||{}).coordDimensions||[],a=e.dimensionsDefine||t.dimensionsDefine||[],i=St(),r=[],o=function(t,e,n,a){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,a||0);return X(e,(function(t){var e;rt(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}(t,n,a,e.dimensionsCount),l=e.canOmitUnusedDimensions&&Fb(o),s=a===t.dimensionsDefine,u=s?Vb(t):Bb(a),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,o));for(var p=St(c),d=new Qf(o),h=0;h<d.length;h++)d[h]=-1;function f(t){var e=d[t];if(e<0){var n=a[t],i=rt(n)?n:{name:n},o=new zb,l=i.name;null!=l&&null!=u.get(l)&&(o.name=o.displayName=l),null!=i.type&&(o.type=i.type),null!=i.displayName&&(o.displayName=i.displayName);var s=r.length;return d[t]=s,o.storeDimIndex=t,r.push(o),o}return r[e]}if(!l)for(h=0;h<o;h++)f(h);p.each((function(t,e){var n=Zi(t).slice();if(1===n.length&&!nt(n[0])&&n[0]<0)p.set(e,!1);else{var a=p.set(e,[]);X(n,(function(t,n){var i=nt(t)?u.get(t):t;null!=i&&i<o&&(a[n]=i,m(f(i),e,n))}))}}));var g=0;function m(t,e,n){null!=Kd.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,i.set(e,!0))}X(n,(function(t){var e,n,a,i;if(nt(t))e=t,i={};else{e=(i=t).name;var r=i.ordinalMeta;i.ordinalMeta=null,(i=V({},i)).ordinalMeta=r,n=i.dimsDef,a=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var l=p.get(e);if(!1!==l){if(!(l=Zi(l)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<o&&null!=f(g).coordDim;)g++;g<o&&l.push(g++)}X(l,(function(t,r){var o=f(t);if(s&&null!=i.type&&(o.type=i.type),m(F(o,i),e,r),null==o.name&&n){var l=n[r];!rt(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}a&&F(o.otherDims,a)}))}}));var y=e.generateCoord,v=e.generateCoordCount,b=null!=v;v=y?v||1:0;var x=y||"value";function _(t){null==t.name&&(t.name=t.coordDim)}if(l)X(r,(function(t){_(t)})),r.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<o;w++){var k=f(w);null==k.coordDim&&(k.coordDim=ex(x,i,b),k.coordDimIndex=0,(!y||v<=0)&&(k.isExtraCoord=!0),v--),_(k),null!=k.type||dh(t,w)!==rh&&(!k.isExtraCoord||null==k.otherDims.itemName&&null==k.otherDims.seriesName)||(k.type="ordinal")}return function(t){for(var e=St(),n=0;n<t.length;n++){var a=t[n],i=a.name,r=e.get(i)||0;r>0&&(a.name=i+(r-1)),r++,e.set(i,r)}}(r),new Nb({source:t,dimensions:r,fullDimensionCount:o,dimensionOmitted:l})}function ex(t,e,n){var a=e.data;if(n||a.hasOwnProperty(t)){for(var i=0;a.hasOwnProperty(t+i);)i++;t+=i}return e.set(t,!0),t}var nx=function(t){this.coordSysDims=[],this.axisMap=St(),this.categoryAxisMap=St(),this.coordSysName=t};var ax={cartesian2d:function(t,e,n,a){var i=t.getReferringComponents("xAxis",ur).models[0],r=t.getReferringComponents("yAxis",ur).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",r),ix(i)&&(a.set("x",i),e.firstCategoryDimIndex=0),ix(r)&&(a.set("y",r),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,a){var i=t.getReferringComponents("singleAxis",ur).models[0];e.coordSysDims=["single"],n.set("single",i),ix(i)&&(a.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,a){var i=t.getReferringComponents("polar",ur).models[0],r=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",r),n.set("angle",o),ix(r)&&(a.set("radius",r),e.firstCategoryDimIndex=0),ix(o)&&(a.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,a){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,a){var i=t.ecModel,r=i.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=r.dimensions.slice();X(r.parallelAxisIndex,(function(t,r){var l=i.getComponent("parallelAxis",t),s=o[r];n.set(s,l),ix(l)&&(a.set(s,l),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=r))}))}};function ix(t){return"category"===t.get("type")}function rx(t,e,n){var a,i,r,o=(n=n||{}).byIndex,l=n.stackedCoordDimension;!function(t){return!Eb(t.schema)}(e)?(i=e.schema,a=i.dimensions,r=e.store):a=e;var s,u,c,p,d=!(!t||!t.get("stack"));if(X(a,(function(t,e){nt(t)&&(a[e]=t={name:t}),d&&!t.isExtraCoord&&(o||s||!t.ordinalMeta||(s=t),u||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(u=t))})),!u||o||s||(o=!0),u){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,s&&(s.createInvertedIndices=!0);var h=u.coordDim,f=u.type,g=0;X(a,(function(t){t.coordDim===h&&g++}));var m={name:c,coordDim:h,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},y={name:p,coordDim:p,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};i?(r&&(m.storeDimIndex=r.ensureCalculationDimension(p,f),y.storeDimIndex=r.ensureCalculationDimension(c,f)),i.appendCalculationDimension(m),i.appendCalculationDimension(y)):(a.push(m),a.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:s&&s.name,isStackedByIndex:o,stackedOverDimension:p,stackResultDimension:c}}function ox(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function lx(t,e){return ox(t,e)?t.getCalculationInfo("stackResultDimension"):e}function sx(t,e,n){n=n||{};var a,i=e.getSourceManager(),r=!1;t?(r=!0,a=cf(t)):r=(a=i.getSource()).sourceFormat===$d;var o=function(t){var e=t.get("coordinateSystem"),n=new nx(e),a=ax[e];if(a)return a(t,n,n.axisMap,n.categoryAxisMap),n}(e),l=function(t,e){var n,a=t.get("coordinateSystem"),i=Ah.get(a);return e&&e.coordSysDims&&(n=Z(e.coordSysDims,(function(t){var n={name:t},a=e.axisMap.get(t);if(a){var i=a.get("type");n.type=Pb(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(e,o),s=n.useEncodeDefaulter,u=et(s)?s:s?Q(uh,l,e):null,c=tx(a,{coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!r}),p=function(t,e,n){var a,i;return n&&X(t,(function(t,r){var o=t.coordDim,l=n.categoryAxisMap.get(o);l&&(null==a&&(a=r),t.ordinalMeta=l.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(i=!0)})),i||null==a||(t[a].otherDims.itemName=0),a}(c.dimensions,n.createInvertedIndices,o),d=r?null:i.getSharedDataStore(c),h=rx(e,{schema:c,store:d}),f=new Qb(c,e);f.setCalculationInfo(h);var g=null!=p&&function(t){if(t.sourceFormat===$d){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!tt(Ki(e))}}(a)?function(t,e,n,a){return a===p?n:this.defaultDimValueGetter(t,e,n,a)}:null;return f.hasItemOption=!1,f.initData(r?a:d,null,g),f}var ux=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}();Sr(ux);var cx=0,px=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++cx}return t.createByAxisModel=function(e){var n=e.option,a=n.data,i=a&&Z(a,dx);return new t({categories:i,needCollect:!i,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("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=this._getOrCreateMap();return null==(e=a.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=St(this.categories))},t}();function dx(t){return rt(t)&&null!=t.value?t.value:t+""}var hx=wi;function fx(t,e,n,a){var i={},r=t[1]-t[0],o=i.interval=Ni(r/e,!0);null!=n&&o<n&&(o=i.interval=n),null!=a&&o>a&&(o=i.interval=a);var l=i.intervalPrecision=gx(o);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),mx(t,0,e),mx(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(i.niceTickExtent=[hx(Math.ceil(t[0]/o)*o,l),hx(Math.floor(t[1]/o)*o,l)],t),i}function gx(t){return Si(t)+2}function mx(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function yx(t,e){return t>=e[0]&&t<=e[1]}function vx(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function bx(t,e){return t*(e[1]-e[0])+e[0]}var xx=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var a=n.getSetting("ordinalMeta");return a||(a=new px({})),tt(a)&&(a=new px({categories:Z(a,(function(t){return rt(t)?t.value:t}))})),n._ordinalMeta=a,n._extent=n.getSetting("extent")||[0,a.categories.length-1],n}return u(e,t),e.prototype.parse=function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return yx(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return vx(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(bx(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=[],a=this._ticksByOrdinalNumber=[],i=0,r=this._ordinalMeta.categories.length,o=Math.min(r,e.length);i<o;++i){var l=e[i];n[i]=l,a[l]=i}for(var s=0;i<r;++i){for(;null!=a[s];)s++;n.push(s),a[s]=i}}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.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(ux);ux.registerClass(xx);var _x=wi,kx=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 u(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return yx(t,this._extent)},e.prototype.normalize=function(t){return vx(t,this._extent)},e.prototype.scale=function(t){return bx(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=gx(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,a=this._niceExtent,i=this._intervalPrecision,r=[];if(!e)return r;n[0]<a[0]&&(t?r.push({value:_x(a[0]-e,i)}):r.push({value:n[0]}));for(var o=a[0];o<=a[1]&&(r.push({value:o}),(o=_x(o+e,i))!==r[r.length-1].value);)if(r.length>1e4)return[];var l=r.length?r[r.length-1].value:a[1];return n[1]>l&&(t?r.push({value:_x(l+e,i)}):r.push({value:n[1]})),r},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],a=this.getExtent(),i=1;i<e.length;i++){for(var r=e[i],o=e[i-1],l=0,s=[],u=(r.value-o.value)/t;l<t-1;){var c=_x(o.value+(l+1)*u);c>a[0]&&c<a[1]&&s.push(c),l++}n.push(s)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=Si(t.value)||0:"auto"===n&&(n=this._intervalPrecision),_d(_x(t.value,n,!0))},e.prototype.niceTicks=function(t,e,n){t=t||5;var a=this._extent,i=a[1]-a[0];if(isFinite(i)){i<0&&(i=-i,a.reverse());var r=fx(a,t,e,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var a=e[1]-e[0];isFinite(a)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=_x(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=_x(Math.ceil(e[1]/i)*i))},e.type="interval",e}(ux);ux.registerClass(kx);var Sx="__ec_stack_",Mx="undefined"!=typeof Float32Array?Float32Array:Array;function Ix(t){return t.get("stack")||Sx+t.seriesIndex}function Tx(t){return t.dim+t.index}function Cx(t,e){var n=[];return e.eachSeriesByType(t,(function(t){Ox(t)&&!Rx(t)&&n.push(t)})),n}function Dx(t){var e=function(t){var e={};X(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var a=t.getData(),i=n.dim+"_"+n.index,r=a.getDimensionIndex(a.mapDimension(n.dim)),o=a.getStore(),l=0,s=o.count();l<s;++l){var u=o.get(r,l);e[i]?e[i].push(u):e[i]=[u]}}));var n={};for(var a in e)if(e.hasOwnProperty(a)){var i=e[a];if(i){i.sort((function(t,e){return t-e}));for(var r=null,o=1;o<i.length;++o){var l=i[o]-i[o-1];l>0&&(r=null===r?l:Math.min(r,l))}n[a]=r}}return n}(t),n=[];return X(t,(function(t){var a,i=t.coordinateSystem.getBaseAxis(),r=i.getExtent();if("category"===i.type)a=i.getBandWidth();else if("value"===i.type||"time"===i.type){var o=i.dim+"_"+i.index,l=e[o],s=Math.abs(r[1]-r[0]),u=i.scale.getExtent(),c=Math.abs(u[1]-u[0]);a=l?s/c*l:s}else{var p=t.getData();a=Math.abs(r[1]-r[0])/p.count()}var d=_i(t.get("barWidth"),a),h=_i(t.get("barMaxWidth"),a),f=_i(t.get("barMinWidth")||1,a),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:a,barWidth:d,barMaxWidth:h,barMinWidth:f,barGap:g,barCategoryGap:m,axisKey:Tx(i),stackId:Ix(t)})})),Ax(n)}function Ax(t){var e={};X(t,(function(t,n){var a=t.axisKey,i=t.bandWidth,r=e[a]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=r.stacks;e[a]=r;var l=t.stackId;o[l]||r.autoWidthCount++,o[l]=o[l]||{width:0,maxWidth:0};var s=t.barWidth;s&&!o[l].width&&(o[l].width=s,s=Math.min(r.remainedWidth,s),r.remainedWidth-=s);var u=t.barMaxWidth;u&&(o[l].maxWidth=u);var c=t.barMinWidth;c&&(o[l].minWidth=c);var p=t.barGap;null!=p&&(r.gap=p);var d=t.barCategoryGap;null!=d&&(r.categoryGap=d)}));var n={};return X(e,(function(t,e){n[e]={};var a=t.stacks,i=t.bandWidth,r=t.categoryGap;if(null==r){var o=$(a).length;r=Math.max(35-4*o,15)+"%"}var l=_i(r,i),s=_i(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,p=(u-l)/(c+(c-1)*s);p=Math.max(p,0),X(a,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){a=t.width;e&&(a=Math.min(a,e)),n&&(a=Math.max(a,n)),t.width=a,u-=a+s*a,c--}else{var a=p;e&&e<a&&(a=Math.min(e,u)),n&&n>a&&(a=n),a!==p&&(t.width=a,u-=a+s*a,c--)}})),p=(u-l)/(c+(c-1)*s),p=Math.max(p,0);var d,h=0;X(a,(function(t,e){t.width||(t.width=p),d=t,h+=t.width*(1+s)})),d&&(h-=d.width*s);var f=-h/2;X(a,(function(t,a){n[e][a]=n[e][a]||{bandWidth:i,offset:f,width:t.width},f+=t.width*(1+s)}))})),n}function Lx(t,e,n){if(t&&e){var a=t[Tx(e)];return null!=a&&null!=n?a[Ix(n)]:a}}function Px(t,e){var n=Cx(t,e),a=Dx(n),i={};X(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=Ix(t),l=a[Tx(r)][o],s=l.offset,u=l.width,c=n.getOtherAxis(r),p=t.get("barMinHeight")||0;i[o]=i[o]||[],e.setLayout({bandWidth:l.bandWidth,offset:s,size:u});for(var d=e.mapDimension(c.dim),h=e.mapDimension(r.dim),f=ox(e,d),g=c.isHorizontal(),m=Nx(r,c),y=e.getStore(),v=e.getDimensionIndex(d),b=e.getDimensionIndex(h),x=0,_=y.count();x<_;x++){var w=y.get(v,x),k=y.get(b,x),S=w>=0?"p":"n",M=m;f&&(i[o][k]||(i[o][k]={p:m,n:m}),M=i[o][k][S]);var I,T=void 0,C=void 0,D=void 0,A=void 0;if(g)T=M,C=(I=n.dataToPoint([w,k]))[1]+s,D=I[0]-m,A=u,Math.abs(D)<p&&(D=(D<0?-1:1)*p),isNaN(D)||f&&(i[o][k][S]+=D);else T=(I=n.dataToPoint([k,w]))[0]+s,C=M,D=u,A=I[1]-m,Math.abs(A)<p&&(A=(A<=0?-1:1)*p),isNaN(A)||f&&(i[o][k][S]+=A);e.setItemLayout(x,{x:T,y:C,width:D,height:A})}}))}var zx={seriesType:"bar",plan:Og(),reset:function(t){if(Ox(t)&&Rx(t)){var e=t.getData(),n=t.coordinateSystem,a=n.master.getRect(),i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),l=e.getDimensionIndex(e.mapDimension(i.dim)),s=r.isHorizontal(),u=s?0:1,c=Lx(Dx([t]),i,t).width;return c>.5||(c=.5),{progress:function(t,e){for(var p,d=t.count,h=new Mx(2*d),f=new Mx(2*d),g=new Mx(d),m=[],y=[],v=0,b=0,x=e.getStore();null!=(p=t.next());)y[u]=x.get(o,p),y[1-u]=x.get(l,p),m=n.dataToPoint(y,null),f[v]=s?a.x+a.width:m[0],h[v++]=m[0],f[v]=s?m[1]:a.y+a.height,h[v++]=m[1],g[b++]=p;e.setLayout({largePoints:h,largeDataIndices:g,largeBackgroundPoints:f,barWidth:c,valueAxisStart:Nx(i,r),backgroundStart:s?a.x:a.y,valueAxisHorizontal:s})}}}}};function Ox(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Rx(t){return t.pipelineContext&&t.pipelineContext.large}function Nx(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var Ex=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return u(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return id(t.value,Jp[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(nd(this._minLevelUnit))]||Jp.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var a=this.getSetting("useUTC");return function(t,e,n,a,i){var r=null;if("string"==typeof n)r=n;else if("function"==typeof n)r=n(t.value,e,{level:t.level});else{var o=V({},Kp);if(t.level>0)for(var l=0;l<Qp.length;++l)o[Qp[l]]="{primary|"+o[Qp[l]]+"}";var s=n?!1===n.inherit?n:F(n,o):o,u=rd(t.value,i);if(s[u])r=s[u];else if(s.inherit){for(l=td.indexOf(u)-1;l>=0;--l)if(s[u]){r=s[u];break}r=r||o.none}if(tt(r)){var c=null==t.level?0:t.level>=0?t.level:r.length+t.level;r=r[c=Math.min(c,r.length-1)]}}return id(new Date(t.value),r,i,a)}(t,e,n,this.getSetting("locale"),a)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,a=[];if(!e)return a;a.push({value:n[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,a){var i=1e4,r=td,o=0;function l(t,e,n,i,r,o,l){for(var s=new Date(e),u=e,c=s[i]();u<n&&u<=a[1];)l.push({value:u}),c+=t,s[r](c),u=s.getTime();l.push({value:u,notAdd:!0})}function s(t,i,r){var o=[],s=!i.length;if(!function(t,e,n,a){var i=zi(e),r=zi(n),o=function(t){return od(i,t,a)===od(r,t,a)},l=function(){return o("year")},s=function(){return l()&&o("month")},u=function(){return s()&&o("day")},c=function(){return u()&&o("hour")},p=function(){return c()&&o("minute")},d=function(){return p()&&o("second")},h=function(){return d()&&o("millisecond")};switch(t){case"year":return l();case"month":return s();case"day":return u();case"hour":return c();case"minute":return p();case"second":return d();case"millisecond":return h()}}(nd(t),a[0],a[1],n)){s&&(i=[{value:Ux(new Date(a[0]),t,n)},{value:a[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,p=i[u+1].value;if(c!==p){var d=void 0,h=void 0,f=void 0,g=!1;switch(t){case"year":d=Math.max(1,Math.round(e/jp/365)),h=ld(n),f=fd(n);break;case"half-year":case"quarter":case"month":d=Fx(e),h=sd(n),f=gd(n);break;case"week":case"half-week":case"day":d=Vx(e),h=ud(n),f=md(n),g=!0;break;case"half-day":case"quarter-day":case"hour":d=Gx(e),h=cd(n),f=yd(n);break;case"minute":d=Hx(e,!0),h=pd(n),f=vd(n);break;case"second":d=Hx(e,!1),h=dd(n),f=bd(n);break;case"millisecond":d=Wx(e),h=hd(n),f=xd(n)}l(d,c,p,h,f,g,o),"year"===t&&r.length>1&&0===u&&r.unshift({value:r[0].value-d})}}for(u=0;u<o.length;u++)r.push(o[u]);return o}}for(var u=[],c=[],p=0,d=0,h=0;h<r.length&&o++<i;++h){var f=nd(r[h]);if(ad(r[h]))if(s(r[h],u[u.length-1]||[],c),f!==(r[h+1]?nd(r[h+1]):null)){if(c.length){d=p,c.sort((function(t,e){return t.value-e.value}));for(var g=[],m=0;m<c.length;++m){var y=c[m].value;0!==m&&c[m-1].value===y||(g.push(c[m]),y>=a[0]&&y<=a[1]&&p++)}var v=(a[1]-a[0])/e;if(p>1.5*v&&d>v/1.5)break;if(u.push(g),p>v||t===r[h])break}c=[]}}var b=q(Z(u,(function(t){return q(t,(function(t){return t.value>=a[0]&&t.value<=a[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],_=b.length-1;for(h=0;h<b.length;++h)for(var w=b[h],k=0;k<w.length;++k)x.push({value:w[k].value,level:_-h});x.sort((function(t,e){return t.value-e.value}));var S=[];for(h=0;h<x.length;++h)0!==h&&x[h].value===x[h-1].value||S.push(x[h]);return S}(this._minLevelUnit,this._approxInterval,i,n);return(a=a.concat(r)).push({value:n[1],level:0}),a},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=jp,e[1]+=jp),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]-jp}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.niceTicks=function(t,e,n){t=t||10;var a=this._extent,i=a[1]-a[0];this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var r=Bx.length,o=Math.min(function(t,e,n,a){for(;n<a;){var i=n+a>>>1;t[i][1]<e?n=i+1:a=i}return n}(Bx,this._approxInterval,0,r),r-1);this._interval=Bx[o][1],this._minLevelUnit=Bx[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return"number"==typeof t?t:+zi(t)},e.prototype.contain=function(t){return yx(this.parse(t),this._extent)},e.prototype.normalize=function(t){return vx(this.parse(t),this._extent)},e.prototype.scale=function(t){return bx(t,this._extent)},e.type="time",e}(kx),Bx=[["second",Yp],["minute",Xp],["hour",Zp],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",qp/2],["year",qp]];function Vx(t,e){return(t/=jp)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Fx(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function Gx(t){return(t/=Zp)>12?12:t>6?6:t>3.5?4:t>2?2:1}function Hx(t,e){return(t/=e?Xp:Yp)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function Wx(t){return Ni(t,!0)}function Ux(t,e,n){var a=new Date(t);switch(nd(e)){case"year":case"month":a[gd(n)](0);case"day":a[md(n)](1);case"hour":a[yd(n)](0);case"minute":a[vd(n)](0);case"second":a[bd(n)](0),a[xd(n)](0)}return a.getTime()}ux.registerClass(Ex);var Yx=ux.prototype,Xx=kx.prototype,Zx=wi,jx=Math.floor,qx=Math.ceil,Kx=Math.pow,$x=Math.log,Jx=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new kx,e._interval=0,e}return u(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,a=e.getExtent();return Z(Xx.getTicks.call(this,t),(function(t){var e=t.value,i=wi(Kx(this.base,e));return i=e===n[0]&&this._fixMin?t_(i,a[0]):i,{value:i=e===n[1]&&this._fixMax?t_(i,a[1]):i}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=$x(t)/$x(n),e=$x(e)/$x(n),Xx.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=Yx.getExtent.call(this);e[0]=Kx(t,e[0]),e[1]=Kx(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=t_(e[0],n[0])),this._fixMax&&(e[1]=t_(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=$x(t[0])/$x(e),t[1]=$x(t[1])/$x(e),Yx.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.niceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var a=Oi(n);for(t/n*a<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var i=[wi(qx(e[0]/a)*a),wi(jx(e[1]/a)*a)];this._interval=a,this._niceExtent=i}},e.prototype.niceExtent=function(t){Xx.niceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return yx(t=$x(t)/$x(this.base),this._extent)},e.prototype.normalize=function(t){return vx(t=$x(t)/$x(this.base),this._extent)},e.prototype.scale=function(t){return t=bx(t,this._extent),Kx(this.base,t)},e.type="log",e}(ux),Qx=Jx.prototype;function t_(t,e){return Zx(t,Si(e))}Qx.getMinorTicks=Xx.getMinorTicks,Qx.getLabel=Xx.getLabel,ux.registerClass(Jx);var e_=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 a=this._isOrdinal="ordinal"===t.type;this._needCrossZero=e.getNeedCrossZero&&e.getNeedCrossZero();var i=this._modelMinRaw=e.get("min",!0);et(i)?this._modelMinNum=r_(t,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=r_(t,i));var r=this._modelMaxRaw=e.get("max",!0);if(et(r)?this._modelMaxNum=r_(t,r({min:n[0],max:n[1]})):"dataMax"!==r&&(this._modelMaxNum=r_(t,r)),a)this._axisDataLen=e.getCategories().length;else{var o=e.get("boundaryGap"),l=tt(o)?o:[o||0,o||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[$a(l[0],1),$a(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,a=this._axisDataLen,i=this._boundaryGapInner,r=t?null:n-e||Math.abs(e),o="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,s=null!=o,u=null!=l;null==o&&(o=t?a?0:NaN:e-i[0]*r),null==l&&(l=t?a?a-1:NaN:n+i[1]*r),(null==o||!isFinite(o))&&(o=NaN),(null==l||!isFinite(l))&&(l=NaN),o>l&&(o=NaN,l=NaN);var c=dt(o)||dt(l)||t&&!a;this._needCrossZero&&(o>0&&l>0&&!s&&(o=0),o<0&&l<0&&!u&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(o=p,s=!0),null!=d&&(l=d,u=!0),{min:o,max:l,minFixed:s,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[a_[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[n_[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),n_={min:"_determinedMin",max:"_determinedMax"},a_={min:"_dataMin",max:"_dataMax"};function i_(t,e,n){var a=t.rawExtentInfo;return a||(a=new e_(t,e,n),t.rawExtentInfo=a,a)}function r_(t,e){return null==e?null:dt(e)?NaN:t.parse(e)}function o_(t,e){var n=t.type,a=i_(t,e,t.getExtent()).calculate();t.setBlank(a.isBlank);var i=a.min,r=a.max,o=e.ecModel;if(o&&"time"===n){var l=Cx("bar",o),s=!1;if(X(l,(function(t){s=s||t.getBaseAxis()===e.axis})),s){var u=Dx(l),c=function(t,e,n,a){var i=n.axis.getExtent(),r=i[1]-i[0],o=Lx(a,n.axis);if(void 0===o)return{min:t,max:e};var l=1/0;X(o,(function(t){l=Math.min(t.offset,l)}));var s=-1/0;X(o,(function(t){s=Math.max(t.offset+t.width,s)})),l=Math.abs(l),s=Math.abs(s);var u=l+s,c=e-t,p=c/(1-(l+s)/r)-c;return{min:t-=p*(l/u),max:e+=p*(s/u)}}(i,r,e,u);i=c.min,r=c.max}}return{extent:[i,r],fixMin:a.minFixed,fixMax:a.maxFixed}}function l_(t,e){var n=e,a=o_(t,n),i=a.extent,r=n.get("splitNumber");t instanceof Jx&&(t.base=n.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:"interval"===o||"time"===o?n.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?n.get("maxInterval"):null});var l=n.get("interval");null!=l&&t.setInterval&&t.setInterval(l)}function s_(t,e){if(e=e||t.get("type"))switch(e){case"category":return new xx({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new Ex({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(ux.getClass(e)||kx)}}function u_(t){var e,n,a=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=a,function(e,a){return t.scale.getFormattedLabel(e,a,n)}):"string"==typeof a?function(e){return function(n){var a=t.scale.getLabel(n);return e.replace("{value}",null!=a?a:"")}}(a):"function"==typeof a?(e=a,function(n,a){return null!=i&&(a=n.value-i),e(c_(t,n),a,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function c_(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function p_(t,e){var n=e*Math.PI/180,a=t.width,i=t.height,r=a*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),o=a*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new Ga(t.x,t.y,r,o)}function d_(t){var e=t.get("interval");return null==e?"auto":e}function h_(t){return"category"===t.type&&0===d_(t.getLabelModel())}function f_(t,e){var n={};return X(t.mapDimensionsAll(e),(function(e){n[lx(t,e)]=!0})),$(n)}var g_=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}();var m_={isDimensionStacked:ox,enableDataStack:rx,getStackedDimension:lx};var y_=Object.freeze({__proto__:null,createList:function(t){return sx(null,t)},getLayoutRect:Vd,dataStack:m_,createScale:function(t,e){var n=e;e instanceof Op||(n=new Op(e));var a=s_(n);return a.setExtent(t[0],t[1]),l_(a,n),a},mixinAxisModelCommonMethods:function(t){U(t,g_)},getECData:es,createTextStyle:function(t,e){return hp(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return tx(t,e).dimensions},createSymbol:Xm,enableHoverEmphasis:Us}),v_=Object.freeze({__proto__:null,linearMap:xi,round:wi,asc:ki,getPrecision:Si,getPrecisionSafe:Mi,getPixelPrecision:Ii,getPercentWithPrecision:Ti,MAX_SAFE_INTEGER:Di,remRadian:Ai,isRadianAroundZero:Li,parseDate:zi,quantity:Oi,quantityExponent:Ri,nice:Ni,quantile:Ei,reformIntervals:Bi,isNumeric:Fi,numericToNumber:Vi}),b_=Object.freeze({__proto__:null,parse:zi,format:id}),x_=Object.freeze({__proto__:null,extendShape:Bc,extendPath:Fc,makePath:Wc,makeImage:Uc,mergePath:Xc,resizePath:Zc,createIcon:np,updateProps:Cc,initProps:Dc,getTransform:qc,clipPointsByRect:tp,clipRectByRect:ep,registerShape:Gc,getShapeClass:Hc,Group:pi,Image:Ol,Text:ts,Circle:_u,Ellipse:Su,Sector:Fu,Ring:Wu,Polygon:ju,Polyline:$u,Rect:Hl,Line:ec,BezierCurve:oc,Arc:uc,IncrementalDisplayable:Sc,CompoundPath:pc,LinearGradient:fc,RadialGradient:gc,BoundingRect:Ga}),__=Object.freeze({__proto__:null,addCommas:_d,toCamelCase:wd,normalizeCssArray:kd,encodeHTML:Id,formatTpl:Ad,getTooltipMarker:Ld,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var a=zi(e),i=n?"UTC":"",r=a["get"+i+"FullYear"](),o=a["get"+i+"Month"]()+1,l=a["get"+i+"Date"](),s=a["get"+i+"Hours"](),u=a["get"+i+"Minutes"](),c=a["get"+i+"Seconds"](),p=a["get"+i+"Milliseconds"]();return t=t.replace("MM",ed(o,2)).replace("M",o).replace("yyyy",r).replace("yy",r%100+"").replace("dd",ed(l,2)).replace("d",l).replace("hh",ed(s,2)).replace("h",s).replace("mm",ed(u,2)).replace("m",u).replace("ss",ed(c,2)).replace("s",c).replace("SSS",ed(p,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:Or,getTextRect:function(t,e,n,a,i,r,o,l){return new ts({style:{text:t,font:e,align:n,verticalAlign:a,padding:i,rich:r,overflow:o?"truncate":null,lineHeight:l}}).getBoundingRect()}}),w_=Object.freeze({__proto__:null,map:Z,each:X,indexOf:H,inherits:W,reduce:j,filter:q,bind:J,curry:Q,isArray:tt,isString:nt,isObject:rt,isFunction:et,extend:V,defaults:F,clone:N,merge:E}),k_=rr();function S_(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=I_(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=u_(t);return{labels:Z(e,(function(e,a){return{level:e.level,formattedLabel:n(e,a),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function M_(t,e){return"category"===t.type?function(t,e){var n,a,i=T_(t,"ticks"),r=d_(e),o=C_(i,r);if(o)return o;e.get("show")&&!t.scale.isBlank()||(n=[]);if(et(r))n=L_(t,r,!0);else if("auto"===r){var l=I_(t,t.getLabelModel());a=l.labelCategoryInterval,n=Z(l.labels,(function(t){return t.tickValue}))}else n=A_(t,a=r,!0);return D_(i,r,{ticks:n,tickCategoryInterval:a})}(t,e):{ticks:Z(t.scale.getTicks(),(function(t){return t.value}))}}function I_(t,e){var n,a,i=T_(t,"labels"),r=d_(e),o=C_(i,r);return o||(et(r)?n=L_(t,r):(a="auto"===r?function(t){var e=k_(t).autoInterval;return null!=e?e:k_(t).autoInterval=t.calculateCategoryInterval()}(t):r,n=A_(t,a)),D_(i,r,{labels:n,labelCategoryInterval:a}))}function T_(t,e){return k_(t)[e]||(k_(t)[e]=[])}function C_(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function D_(t,e,n){return t.push({key:e,value:n}),n}function A_(t,e,n){var a=u_(t),i=t.scale,r=i.getExtent(),o=t.getLabelModel(),l=[],s=Math.max((e||0)+1,1),u=r[0],c=i.count();0!==u&&s>1&&c/s>2&&(u=Math.round(Math.ceil(u/s)*s));var p=h_(t),d=o.get("showMinLabel")||p,h=o.get("showMaxLabel")||p;d&&u!==r[0]&&g(r[0]);for(var f=u;f<=r[1];f+=s)g(f);function g(t){var e={value:t};l.push(n?t:{formattedLabel:a(e),rawLabel:i.getLabel(e),tickValue:t})}return h&&f-s!==r[1]&&g(r[1]),l}function L_(t,e,n){var a=t.scale,i=u_(t),r=[];return X(a.getTicks(),(function(t){var o=a.getLabel(t),l=t.value;e(t.value,o)&&r.push(n?l:{formattedLabel:i(t),rawLabel:o,tickValue:l})})),r}var P_=[0,1],z_=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]),a=Math.max(e[0],e[1]);return t>=n&&t<=a},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return Ii(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,a=this.scale;return t=a.normalize(t),this.onBand&&"ordinal"===a.type&&O_(n=n.slice(),a.count()),xi(t,P_,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&O_(n=n.slice(),a.count());var i=xi(t,n,P_,e);return this.scale.scale(i)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=Z(M_(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,a){var i=e.length;if(!t.onBand||n||!i)return;var r,o,l=t.getExtent();if(1===i)e[0].coord=l[0],r=e[1]={coord:l[0]};else{var s=e[i-1].tickValue-e[0].tickValue,u=(e[i-1].coord-e[0].coord)/s;X(e,(function(t){t.coord-=u/2})),o=1+t.scale.getExtent()[1]-e[i-1].tickValue,r={coord:e[i-1].coord+u*o},e.push(r)}var c=l[0]>l[1];p(e[0].coord,l[0])&&(a?e[0].coord=l[0]:e.shift());a&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]});p(l[1],r.coord)&&(a?r.coord=l[1]:e.pop());a&&p(r.coord,l[1])&&e.push({coord:l[1]});function p(t,e){return t=wi(t),e=wi(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 S_(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 a=Math.abs(t[1]-t[0]);return Math.abs(a)/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=u_(t),a=(e.axisRotate-e.labelRotate)/180*Math.PI,i=t.scale,r=i.getExtent(),o=i.count();if(r[1]-r[0]<1)return 0;var l=1;o>40&&(l=Math.max(1,Math.floor(o/40)));for(var s=r[0],u=t.dataToCoord(s+1)-t.dataToCoord(s),c=Math.abs(u*Math.cos(a)),p=Math.abs(u*Math.sin(a)),d=0,h=0;s<=r[1];s+=l){var f,g,m=Za(n({value:s}),e.font,"center","top");f=1.3*m.width,g=1.3*m.height,d=Math.max(d,f,7),h=Math.max(h,g,7)}var y=d/c,v=h/p;isNaN(y)&&(y=1/0),isNaN(v)&&(v=1/0);var b=Math.max(0,Math.floor(Math.min(y,v))),x=k_(t.model),_=t.getExtent(),w=x.lastAutoInterval,k=x.lastTickCount;return null!=w&&null!=k&&Math.abs(w-b)<=1&&Math.abs(k-o)<=1&&w>b&&x.axisExtent0===_[0]&&x.axisExtent1===_[1]?b=w:(x.lastTickCount=o,x.lastAutoInterval=b,x.axisExtent0=_[0],x.axisExtent1=_[1]),b}(this)},t}();function O_(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var R_=2*Math.PI,N_=ol.CMD,E_=["top","right","bottom","left"];function B_(t,e,n,a,i){var r=n.width,o=n.height;switch(t){case"top":a.set(n.x+r/2,n.y-e),i.set(0,-1);break;case"bottom":a.set(n.x+r/2,n.y+o+e),i.set(0,1);break;case"left":a.set(n.x-e,n.y+o/2),i.set(-1,0);break;case"right":a.set(n.x+r+e,n.y+o/2),i.set(1,0)}}function V_(t,e,n,a,i,r,o,l,s){o-=t,l-=e;var u=Math.sqrt(o*o+l*l),c=(o/=u)*n+t,p=(l/=u)*n+e;if(Math.abs(a-i)%R_<1e-4)return s[0]=c,s[1]=p,u-n;if(r){var d=a;a=pl(i),i=pl(d)}else a=pl(a),i=pl(i);a>i&&(i+=R_);var h=Math.atan2(l,o);if(h<0&&(h+=R_),h>=a&&h<=i||h+R_>=a&&h+R_<=i)return s[0]=c,s[1]=p,u-n;var f=n*Math.cos(a)+t,g=n*Math.sin(a)+e,m=n*Math.cos(i)+t,y=n*Math.sin(i)+e,v=(f-o)*(f-o)+(g-l)*(g-l),b=(m-o)*(m-o)+(y-l)*(y-l);return v<b?(s[0]=f,s[1]=g,Math.sqrt(v)):(s[0]=m,s[1]=y,Math.sqrt(b))}function F_(t,e,n,a,i,r,o,l){var s=i-t,u=r-e,c=n-t,p=a-e,d=Math.sqrt(c*c+p*p),h=(s*(c/=d)+u*(p/=d))/d;l&&(h=Math.min(Math.max(h,0),1)),h*=d;var f=o[0]=t+h*c,g=o[1]=e+h*p;return Math.sqrt((f-i)*(f-i)+(g-r)*(g-r))}function G_(t,e,n,a,i,r,o){n<0&&(t+=n,n=-n),a<0&&(e+=a,a=-a);var l=t+n,s=e+a,u=o[0]=Math.min(Math.max(i,t),l),c=o[1]=Math.min(Math.max(r,e),s);return Math.sqrt((u-i)*(u-i)+(c-r)*(c-r))}var H_=[];function W_(t,e,n){var a=G_(e.x,e.y,e.width,e.height,t.x,t.y,H_);return n.set(H_[0],H_[1]),a}function U_(t,e,n){for(var a,i,r=0,o=0,l=0,s=0,u=1/0,c=e.data,p=t.x,d=t.y,h=0;h<c.length;){var f=c[h++];1===h&&(l=r=c[h],s=o=c[h+1]);var g=u;switch(f){case N_.M:r=l=c[h++],o=s=c[h++];break;case N_.L:g=F_(r,o,c[h],c[h+1],p,d,H_,!0),r=c[h++],o=c[h++];break;case N_.C:g=yo(r,o,c[h++],c[h++],c[h++],c[h++],c[h],c[h+1],p,d,H_),r=c[h++],o=c[h++];break;case N_.Q:g=ko(r,o,c[h++],c[h++],c[h],c[h+1],p,d,H_),r=c[h++],o=c[h++];break;case N_.A:var m=c[h++],y=c[h++],v=c[h++],b=c[h++],x=c[h++],_=c[h++];h+=1;var w=!!(1-c[h++]);a=Math.cos(x)*v+m,i=Math.sin(x)*b+y,h<=1&&(l=a,s=i),g=V_(m,y,b,x,x+_,w,(p-m)*b/v+m,d,H_),r=Math.cos(x+_)*v+m,o=Math.sin(x+_)*b+y;break;case N_.R:g=G_(l=r=c[h++],s=o=c[h++],c[h++],c[h++],p,d,H_);break;case N_.Z:g=F_(r,o,l,s,p,d,H_,!0),r=l,o=s}g<u&&(u=g,n.set(H_[0],H_[1]))}return u}var Y_=new La,X_=new La,Z_=new La,j_=new La,q_=new La;function K_(t,e){if(t){var n=t.getTextGuideLine(),a=t.getTextContent();if(a&&n){var i=t.textGuideLineConfig||{},r=[[0,0],[0,0],[0,0]],o=i.candidates||E_,l=a.getBoundingRect().clone();l.applyTransform(a.getComputedTransform());var s=1/0,u=i.anchor,c=t.getComputedTransform(),p=c&&ga([],c),d=e.get("length2")||0;u&&Z_.copy(u);for(var h=0;h<o.length;h++){B_(o[h],0,l,Y_,j_),La.scaleAndAdd(X_,Y_,j_,d),X_.transform(p);var f=t.getBoundingRect(),g=u?u.distance(X_):t instanceof Tl?U_(X_,t.path,Z_):W_(X_,f,Z_);g<s&&(s=g,X_.transform(c),Z_.transform(c),Z_.toArray(r[0]),X_.toArray(r[1]),Y_.toArray(r[2]))}Q_(r,e.get("minTurnAngle")),n.setShape({points:r})}}}var $_=[],J_=new La;function Q_(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Y_.fromArray(t[0]),X_.fromArray(t[1]),Z_.fromArray(t[2]),La.sub(j_,Y_,X_),La.sub(q_,Z_,X_);var n=j_.len(),a=q_.len();if(!(n<.001||a<.001)){j_.scale(1/n),q_.scale(1/a);var i=j_.dot(q_);if(Math.cos(e)<i){var r=F_(X_.x,X_.y,Z_.x,Z_.y,Y_.x,Y_.y,$_,!1);J_.fromArray($_),J_.scaleAndAdd(q_,r/Math.tan(Math.PI-e));var o=Z_.x!==X_.x?(J_.x-X_.x)/(Z_.x-X_.x):(J_.y-X_.y)/(Z_.y-X_.y);if(isNaN(o))return;o<0?La.copy(J_,X_):o>1&&La.copy(J_,Z_),J_.toArray(t[1])}}}}function tw(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Y_.fromArray(t[0]),X_.fromArray(t[1]),Z_.fromArray(t[2]),La.sub(j_,X_,Y_),La.sub(q_,Z_,X_);var a=j_.len(),i=q_.len();if(!(a<.001||i<.001))if(j_.scale(1/a),q_.scale(1/i),j_.dot(e)<Math.cos(n)){var r=F_(X_.x,X_.y,Z_.x,Z_.y,Y_.x,Y_.y,$_,!1);J_.fromArray($_);var o=Math.PI/2,l=o+Math.acos(q_.dot(e))-n;if(l>=o)La.copy(J_,Z_);else{J_.scaleAndAdd(q_,r/Math.tan(Math.PI/2-l));var s=Z_.x!==X_.x?(J_.x-X_.x)/(Z_.x-X_.x):(J_.y-X_.y)/(Z_.y-X_.y);if(isNaN(s))return;s<0?La.copy(J_,X_):s>1&&La.copy(J_,Z_)}J_.toArray(t[1])}}}function ew(t,e,n,a){var i="normal"===n,r=i?t:t.ensureState(n);r.ignore=e;var o=a.get("smooth");o&&!0===o&&(o=.3),r.shape=r.shape||{},o>0&&(r.shape.smooth=o);var l=a.getModel("lineStyle").getLineStyle();i?t.useStyle(l):r.style=l}function nw(t,e){var n=e.smooth,a=e.points;if(a)if(t.moveTo(a[0][0],a[0][1]),n>0&&a.length>=3){var i=Ut(a[0],a[1]),r=Ut(a[1],a[2]);if(!i||!r)return t.lineTo(a[1][0],a[1][1]),void t.lineTo(a[2][0],a[2][1]);var o=Math.min(i,r)*n,l=Zt([],a[1],a[0],o/i),s=Zt([],a[1],a[2],o/r),u=Zt([],l,s,.5);t.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),t.bezierCurveTo(s[0],s[1],s[0],s[1],a[2][0],a[2][1])}else for(var c=1;c<a.length;c++)t.lineTo(a[c][0],a[c][1])}function aw(t,e,n){var a=t.getTextGuideLine(),i=t.getTextContent();if(i){for(var r=e.normal,o=r.get("show"),l=i.ignore,s=0;s<ls.length;s++){var u=ls[s],c=e[u],p="normal"===u;if(c){var d=c.get("show");if((p?l:ft(i.states[u]&&i.states[u].ignore,l))||!ft(d,o)){var h=p?a:a&&a.states.normal;h&&(h.ignore=!0);continue}a||(a=new $u,t.setTextGuideLine(a),p||!l&&o||ew(a,!0,"normal",e.normal),t.stateProxy&&(a.stateProxy=t.stateProxy)),ew(a,!1,u,c)}}if(a){F(a.style,n),a.style.fill=null;var f=r.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=f||!1,a.buildPath=nw}}else a&&t.removeTextGuideLine()}function iw(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},a=0;a<os.length;a++){var i=os[a];n[i]=t.getModel([i,e])}return n}function rw(t){for(var e=[],n=0;n<t.length;n++){var a=t[n];if(!a.defaultAttr.ignore){var i=a.label,r=i.getComputedTransform(),o=i.getBoundingRect(),l=!r||r[1]<1e-5&&r[2]<1e-5,s=i.style.margin||0,u=o.clone();u.applyTransform(r),u.x-=s/2,u.y-=s/2,u.width+=s,u.height+=s;var c=l?new _c(o,r):null;e.push({label:i,labelLine:a.labelLine,rect:u,localRect:o,obb:c,priority:a.priority,defaultAttr:a.defaultAttr,layoutOption:a.computedLayoutOption,axisAligned:l,transform:r})}}return e}function ow(t,e,n,a,i,r){var o=t.length;if(!(o<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var l,s=0,u=!1,c=0,p=0;p<o;p++){var d=t[p],h=d.rect;(l=h[e]-s)<0&&(h[e]-=l,d.label[e]-=l,u=!0),c+=Math.max(-l,0),s=h[e]+h[n]}c>0&&r&&x(-c/o,0,o);var f,g,m=t[0],y=t[o-1];return v(),f<0&&_(-f,.8),g<0&&_(g,.8),v(),b(f,g,1),b(g,f,-1),v(),f<0&&w(-f),g<0&&w(g),u}function v(){f=m.rect[e]-a,g=i-y.rect[e]-y.rect[n]}function b(t,e,n){if(t<0){var a=Math.min(e,-t);if(a>0){x(a*n,0,o);var i=a+t;i<0&&_(-i*n,1)}else _(-t*n,1)}}function x(n,a,i){0!==n&&(u=!0);for(var r=a;r<i;r++){var o=t[r];o.rect[e]+=n,o.label[e]+=n}}function _(a,i){for(var r=[],l=0,s=1;s<o;s++){var u=t[s-1].rect,c=Math.max(t[s].rect[e]-u[e]-u[n],0);r.push(c),l+=c}if(l){var p=Math.min(Math.abs(a)/l,i);if(a>0)for(s=0;s<o-1;s++){x(r[s]*p,0,s+1)}else for(s=o-1;s>0;s--){x(-(r[s-1]*p),s,o)}}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),a=0;a<o-1;a++)if(e>0?x(n,0,a+1):x(-n,o-a-1,o),(t-=n)<=0)return}}function lw(t,e,n,a){return ow(t,"y","height",e,n,a)}function sw(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new Ga(0,0,0,0);function a(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var i=0;i<t.length;i++){var r=t[i],o=r.axisAligned,l=r.localRect,s=r.transform,u=r.label,c=r.labelLine;n.copy(r.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var p=r.obb,d=!1,h=0;h<e.length;h++){var f=e[h];if(n.intersect(f.rect)){if(o&&f.axisAligned){d=!0;break}if(f.obb||(f.obb=new _c(f.localRect,f.transform)),p||(p=new _c(l,s)),p.intersect(f.obb)){d=!0;break}}}d?(a(u),c&&a(c)):(u.attr("ignore",r.defaultAttr.ignore),c&&c.attr("ignore",r.defaultAttr.labelGuideIgnore),e.push(r))}}function uw(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function cw(t,e){var n=t.label,a=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:uw(a&&a.shape.points)}}var pw=["align","verticalAlign","width","height","fontSize"],dw=new Da,hw=rr(),fw=rr();function gw(t,e,n){for(var a=0;a<n.length;a++){var i=n[a];null!=e[i]&&(t[i]=e[i])}}var mw=["x","y","rotation"],yw=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,a,i){var r=a.style,o=a.__hostTarget.textConfig||{},l=a.getComputedTransform(),s=a.getBoundingRect().plain();Ga.applyTransform(s,s,l),l?dw.setLocalTransform(l):(dw.x=dw.y=dw.rotation=dw.originX=dw.originY=0,dw.scaleX=dw.scaleY=1);var u,c=a.__hostTarget;if(c){u=c.getBoundingRect().plain();var p=c.getComputedTransform();Ga.applyTransform(u,u,p)}var d=u&&c.getTextGuideLine();this._labelList.push({label:a,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:s,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:d&&d.ignore,x:dw.x,y:dw.y,scaleX:dw.scaleX,scaleY:dw.scaleY,rotation:dw.rotation,style:{x:r.x,y:r.y,align:r.align,verticalAlign:r.verticalAlign,width:r.width,height:r.height,fontSize:r.fontSize},cursor:a.cursor,attachedPos:o.position,attachedRot:o.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,a=n.get("labelLayout");(et(a)||$(a).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var i=t.getTextContent(),r=es(t);i&&!i.disableLabelLayout&&e._addLabel(r.dataIndex,r.dataType,n,i,a)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function a(t,e){return function(){K_(t,e)}}for(var i=0;i<this._labelList.length;i++){var r=this._labelList[i],o=r.label,l=o.__hostTarget,s=r.defaultAttr,u=void 0;u=(u="function"==typeof r.layoutOption?r.layoutOption(cw(r,l)):r.layoutOption)||{},r.computedLayoutOption=u;var c=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:s.attachedPos,rotation:null!=u.rotate?u.rotate*c:s.attachedRot,offset:[u.dx||0,u.dy||0]});var p=!1;if(null!=u.x?(o.x=_i(u.x,e),o.setStyle("x",0),p=!0):(o.x=s.x,o.setStyle("x",s.style.x)),null!=u.y?(o.y=_i(u.y,n),o.setStyle("y",0),p=!0):(o.y=s.y,o.setStyle("y",s.style.y)),u.labelLinePoints){var d=l.getTextGuideLine();d&&(d.setShape({points:u.labelLinePoints}),p=!1)}hw(o).needsUpdateLabelLine=p,o.rotation=null!=u.rotate?u.rotate*c:s.rotation,o.scaleX=s.scaleX,o.scaleY=s.scaleY;for(var h=0;h<pw.length;h++){var f=pw[h];o.setStyle(f,null!=u[f]?u[f]:s.style[f])}if(u.draggable){if(o.draggable=!0,o.cursor="move",l){var g=r.seriesModel;if(null!=r.dataIndex)g=r.seriesModel.getData(r.dataType).getItemModel(r.dataIndex);o.on("drag",a(l,g.getModel("labelLine")))}}else o.off("drag"),o.cursor=s.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),a=t.getHeight(),i=rw(this._labelList),r=q(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=q(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));ow(r,"x","width",0,n,e),lw(o,0,a),sw(q(i,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;X(this._chartViewList,(function(e){var n=e.__model,a=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore)return!0;var r=!a,o=e.getTextContent();!r&&o&&(r=hw(o).needsUpdateLabelLine),r&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),a=es(t),i=a.dataIndex;if(n&&null!=i){var r=e.getData(a.dataType),o=r.getItemModel(i),l={},s=r.getItemVisual(i,"style"),u=r.getVisual("drawType");l.stroke=s[u];var c=o.getModel("labelLine");aw(t,iw(o),l),K_(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),a=t.getTextGuideLine();if(n&&!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Ac(t)){var i=(h=hw(n)).oldLayout,r=es(t),o=r.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},s=e.getData(r.dataType);if(i){n.attr(i);var u=t.prevStates;u&&(H(u,"select")>=0&&n.attr(h.oldLayoutSelect),H(u,"emphasis")>=0&&n.attr(h.oldLayoutEmphasis)),Cc(n,l,e,o)}else if(n.attr(l),!xp(n).valueAnimation){var c=ft(n.style.opacity,1);n.style.opacity=0,Dc(n,{style:{opacity:c}},e,o)}if(h.oldLayout=l,n.states.select){var p=h.oldLayoutSelect={};gw(p,l,mw),gw(p,n.states.select,mw)}if(n.states.emphasis){var d=h.oldLayoutEmphasis={};gw(d,l,mw),gw(d,n.states.emphasis,mw)}wp(n,o,s,e,e)}if(a&&!a.ignore&&!a.invisible){i=(h=fw(a)).oldLayout;var h,f={points:a.shape.points};i?(a.attr({shape:i}),Cc(a,{shape:f},e)):(a.setShape(f),a.style.strokePercent=0,Dc(a,{style:{strokePercent:1}},e)),h.oldLayout=f}},t}(),vw=rr();function bw(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var a=vw(e).labelManager;a||(a=vw(e).labelManager=new yw),a.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var a=vw(e).labelManager;n.updatedSeries.forEach((function(t){a.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),a.updateLayoutConfig(e),a.layout(e),a.processLabelsOverall()}))}function xw(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function _w(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=cn(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function ww(t,e,n,a,i){for(var r=e.length,o=n.length,l=t.newPos,s=l-a,u=0;l+1<r&&s+1<o&&i(e[l+1],n[s+1]);)l++,s++,u++;return u&&t.components.push({count:u,added:!1,removed:!1,indices:[]}),t.newPos=l,s}function kw(t,e,n){var a=t[t.length-1];a&&a.added===e&&a.removed===n?t[t.length-1]={count:a.count+1,added:e,removed:n,indices:[]}:t.push({count:1,added:e,removed:n,indices:[]})}function Sw(t){for(var e=0,n=t.length,a=0,i=0;e<n;e++){var r=t[e];if(r.removed){for(l=i;l<i+r.count;l++)r.indices.push(l);i+=r.count}else{for(var o=[],l=a;l<a+r.count;l++)o.push(l);r.indices=o,a+=r.count,r.added||(i+=r.count)}}return t}function Mw(t,e,n){return function(t,e,n){n||(n=function(t,e){return t===e}),t=t.slice();var a=(e=e.slice()).length,i=t.length,r=1,o=a+i,l=[{newPos:-1,components:[]}],s=ww(l[0],e,t,0,n);if(l[0].newPos+1>=a&&s+1>=i){for(var u=[],c=0;c<e.length;c++)u.push(c);return[{indices:u,count:e.length,added:!1,removed:!1}]}function p(){for(var o=-1*r;o<=r;o+=2){var s,u=l[o-1],c=l[o+1],p=(c?c.newPos:0)-o;u&&(l[o-1]=void 0);var d=u&&u.newPos+1<a,h=c&&0<=p&&p<i;if(d||h){if(!d||h&&u.newPos<c.newPos?kw((s={newPos:(f=c).newPos,components:f.components.slice(0)}).components,!1,!0):((s=u).newPos++,kw(s.components,!0,!1)),p=ww(s,e,t,o,n),s.newPos+1>=a&&p+1>=i)return Sw(s.components);l[o]=s}else l[o]=void 0}var f;r++}for(;r<=o;){var d=p();if(d)return d}}(t,e,n)}Ib(bw);var Iw="none",Tw=Math.round,Cw=Math.sin,Dw=Math.cos,Aw=Math.PI,Lw=2*Math.PI,Pw=180/Aw,zw=1e-4;function Ow(t){return Tw(1e3*t)/1e3}function Rw(t){return Tw(1e4*t)/1e4}function Nw(t){return t<zw&&t>-1e-4}function Ew(t,e){e&&Bw(t,"transform","matrix("+Ow(e[0])+","+Ow(e[1])+","+Ow(e[2])+","+Ow(e[3])+","+Rw(e[4])+","+Rw(e[5])+")")}function Bw(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function Vw(t,e,n){var a=null==e.opacity?1:e.opacity;if(n instanceof Ol)Bw(t,"opacity",a+"");else{if(function(t){var e=t.fill;return null!=e&&e!==Iw}(e)){var i=_w(e.fill);Bw(t,"fill",i.color),Bw(t,"fill-opacity",(null!=e.fillOpacity?e.fillOpacity*i.opacity*a:i.opacity*a)+"")}else Bw(t,"fill",Iw);if(function(t){var e=t.stroke;return null!=e&&e!==Iw}(e)){var r=_w(e.stroke);Bw(t,"stroke",r.color);var o=e.lineWidth,l=e.strokeNoScale?n.getLineScale():1;Bw(t,"stroke-width",(l?o/l:0)+""),Bw(t,"paint-order",e.strokeFirst?"stroke":"fill"),Bw(t,"stroke-opacity",(null!=e.strokeOpacity?e.strokeOpacity*r.opacity*a:r.opacity*a)+"");var s=e.lineDash&&o>0&&$m(e.lineDash,o);if(s){var u=e.lineDashOffset;l&&1!==l&&(s=Z(s,(function(t){return t/l})),u&&(u=Tw(u/=l))),Bw(t,"stroke-dasharray",s.join(",")),Bw(t,"stroke-dashoffset",(u||0)+"")}else Bw(t,"stroke-dasharray",Iw);e.lineCap&&Bw(t,"stroke-linecap",e.lineCap),e.lineJoin&&Bw(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&Bw(t,"stroke-miterlimit",e.miterLimit+"")}else Bw(t,"stroke",Iw)}}var Fw=function(){function t(){}return t.prototype.reset=function(){this._d=[],this._str=""},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,a,i,r){this._add("C",t,e,n,a,i,r)},t.prototype.quadraticCurveTo=function(t,e,n,a){this._add("Q",t,e,n,a)},t.prototype.arc=function(t,e,n,a,i,r){this.ellipse(t,e,n,n,0,a,i,r)},t.prototype.ellipse=function(t,e,n,a,i,r,o,l){var s=0===this._d.length,u=o-r,c=!l,p=Math.abs(u),d=Nw(p-Lw)||(c?u>=Lw:-u>=Lw),h=u>0?u%Lw:u%Lw+Lw,f=!1;f=!!d||!Nw(p)&&h>=Aw==!!c;var g=Rw(t+n*Dw(r)),m=Rw(e+a*Cw(r));d&&(u=c?Lw-1e-4:1e-4-Lw,f=!0,s&&this._d.push("M",g,m));var y=Rw(t+n*Dw(r+u)),v=Rw(e+a*Cw(r+u));if(isNaN(g)||isNaN(m)||isNaN(n)||isNaN(a)||isNaN(i)||isNaN(Pw)||isNaN(y)||isNaN(v))return"";this._d.push("A",Rw(n),Rw(a),Tw(i*Pw),+f,+c,y,v)},t.prototype.rect=function(t,e,n,a){this._add("M",t,e),this._add("L",t+n,e),this._add("L",t+n,e+a),this._add("L",t,e+a),this._add("L",t,e),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,a,i,r,o,l,s){this._d.push(t);for(var u=1;u<arguments.length;u++){var c=arguments[u];if(isNaN(c))return void(this._invalid=!0);this._d.push(Rw(c))}},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(" "),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),Gw={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=xw("path"),t.__svgEl=n),t.path||t.createPathProxy();var a=t.path;t.shapeChanged()&&(a.beginPath(),t.buildPath(a,t.shape),t.pathUpdated());var i=a.getVersion(),r=t,o=r.__svgPathBuilder;(r.__svgPathVersion!==i||!o||t.style.strokePercent<1)&&(o||(o=r.__svgPathBuilder=new Fw),o.reset(),a.rebuildPath(o,t.style.strokePercent),o.generateStr(),r.__svgPathVersion=i),Bw(n,"d",o.getStr()),Vw(n,e,t),Ew(n,t.transform)}},Hw={brush:function(t){var e=t.style,n=e.image;if(n instanceof HTMLImageElement?n=n.src:n instanceof HTMLCanvasElement&&(n=n.toDataURL()),n){var a=e.x||0,i=e.y||0,r=e.width,o=e.height,l=t.__svgEl;l||(l=xw("image"),t.__svgEl=l),n!==t.__imageSrc&&(!function(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}(l,"href",n),t.__imageSrc=n),Bw(l,"width",r+""),Bw(l,"height",o+""),Bw(l,"x",a+""),Bw(l,"y",i+""),Vw(l,e,t),Ew(l,t.transform)}}},Ww={left:"start",right:"end",center:"middle",middle:"middle"};var Uw={brush:function(t){var e=t.style,n=e.text;if(null!=n&&(n+=""),n&&!isNaN(e.x)&&!isNaN(e.y)){var a=t.__svgEl;a||(function(t,e,n){t.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,n)}(a=xw("text"),"xml:space","preserve"),t.__svgEl=a);var i=e.font||Wa;a.style.font=i,a.textContent=n,Vw(a,e,t),Ew(a,t.transform);var r=e.x||0,o=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(e.y||0,Ka(i),e.textBaseline),l=Ww[e.textAlign]||e.textAlign;Bw(a,"dominant-baseline","central"),Bw(a,"text-anchor",l),Bw(a,"x",r+""),Bw(a,"y",o+"")}}},Yw=function(){function t(t,e,n,a,i){this.nextId=0,this._domName="_dom",this.createElement=xw,this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=a,i&&(this._domName=i)}return t.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");if(0===n.length){if(t){var a=e.insertBefore(this.createElement("defs"),e.firstChild);return a.contains||(a.contains=function(t){var e=a.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),a}return null}return n[0]},t.prototype.doUpdate=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var a=this.add(t);a&&(t[this._domName]=a)}}},t.prototype.add=function(t){return null},t.prototype.addDom=function(t){var e=this.getDefs(!0);t.parentNode!==e&&e.appendChild(t)},t.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},t.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return X(this._tagNames,(function(n){for(var a=t.getElementsByTagName(n),i=0;i<a.length;i++)e.push(a[i])})),e},t.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;X(t,(function(t){t[e._markLabel]="0"}))},t.prototype.markDomUsed=function(t){t&&(t[this._markLabel]="1")},t.prototype.markDomUnused=function(t){t&&(t[this._markLabel]="0")},t.prototype.isDomUnused=function(t){return t&&"1"!==t[this._markLabel]},t.prototype.removeUnused=function(){var t=this,e=this.getDefs(!1);e&&X(this.getDoms(),(function(n){t.isDomUnused(n)&&e.removeChild(n)}))},t.prototype.getSvgProxy=function(t){return t instanceof Tl?Gw:t instanceof Ol?Hw:t instanceof Al?Uw:Gw},t.prototype.getSvgElement=function(t){return t.__svgEl},t}(),Xw=Yw;function Zw(t){return"linear"===t.type}function jw(t){return"radial"===t.type}function qw(t){return t&&("linear"===t.type||"radial"===t.type)}var Kw=function(t){function e(e,n){return t.call(this,e,n,["linearGradient","radialGradient"],"__gradient_in_use__")||this}return u(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;X(["fill","stroke"],(function(a){var i=e.style[a];if(qw(i)){var r=i,o=n.getDefs(!0),l=void 0;r.__dom?(l=r.__dom,o.contains(r.__dom)||n.addDom(l)):l=n.add(r),n.markUsed(e);var s=l.getAttribute("id");t.setAttribute(a,"url(#"+s+")")}}))}},e.prototype.add=function(t){var e;if(Zw(t))e=this.createElement("linearGradient");else{if(!jw(t))return R("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(t){if(qw(t)){var e=this;this.doUpdate(t,(function(){var n=t.__dom;if(n){var a=n.tagName,i=t.type;"linear"===i&&"linearGradient"===a||"radial"===i&&"radialGradient"===a?e.updateDom(t,t.__dom):(e.removeDom(t),e.add(t))}}))}},e.prototype.updateDom=function(t,e){if(Zw(t))e.setAttribute("x1",t.x+""),e.setAttribute("y1",t.y+""),e.setAttribute("x2",t.x2+""),e.setAttribute("y2",t.y2+"");else{if(!jw(t))return void R("Illegal gradient type.");e.setAttribute("cx",t.x+""),e.setAttribute("cy",t.y+""),e.setAttribute("r",t.r+"")}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,a=0,i=n.length;a<i;++a){var r=this.createElement("stop");r.setAttribute("offset",100*n[a].offset+"%");var o=n[a].color;if(o.indexOf("rgba")>-1){var l=cn(o)[3],s=hn(o);r.setAttribute("stop-color","#"+s),r.setAttribute("stop-opacity",l+"")}else r.setAttribute("stop-color",n[a].color);e.appendChild(r)}t.__dom=e},e.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom),(n=e.style.stroke)&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom)}},e}(Xw),$w=Kw;function Jw(t){return t&&(!!t.image||!!t.svgElement)}var Qw=new Em,tk=function(t){function e(e,n){return t.call(this,e,n,["pattern"],"__pattern_in_use__")||this}return u(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;X(["fill","stroke"],(function(a){var i=e.style[a];if(Jw(i)){var r=n.getDefs(!0),o=Qw.get(i);o?r.contains(o)||n.addDom(o):o=n.add(i),n.markUsed(e);var l=o.getAttribute("id");t.setAttribute(a,"url(#"+l+")")}}))}},e.prototype.add=function(t){if(Jw(t)){var e=this.createElement("pattern");return t.id=null==t.id?this.nextId++:t.id,e.setAttribute("id","zr"+this._zrId+"-pattern-"+t.id),e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("patternUnits","userSpaceOnUse"),this.updateDom(t,e),this.addDom(e),e}},e.prototype.update=function(t){if(Jw(t)){var e=this;this.doUpdate(t,(function(){var n=Qw.get(t);e.updateDom(t,n)}))}},e.prototype.updateDom=function(t,e){var n=t.svgElement;if(n instanceof SVGElement)n.parentNode!==e&&(e.innerHTML="",e.appendChild(n),e.setAttribute("width",t.svgWidth+""),e.setAttribute("height",t.svgHeight+""));else{var a=void 0,i=e.getElementsByTagName("image");if(i.length){if(!t.image)return void e.removeChild(i[0]);a=i[0]}else t.image&&(a=this.createElement("image"));if(a){var r=void 0,o=t.image;if("string"==typeof o?r=o:o instanceof HTMLImageElement?r=o.src:o instanceof HTMLCanvasElement&&(r=o.toDataURL()),r){a.setAttribute("href",r),a.setAttribute("x","0"),a.setAttribute("y","0");var l=Ar(r,a,{dirty:function(){}},(function(t){e.setAttribute("width",t.width+""),e.setAttribute("height",t.height+"")}));l&&l.width&&l.height&&(e.setAttribute("width",l.width+""),e.setAttribute("height",l.height+"")),e.appendChild(a)}}}var s="translate("+(t.x||0)+", "+(t.y||0)+") rotate("+(t.rotation||0)/Math.PI*180+") scale("+(t.scaleX||1)+", "+(t.scaleY||1)+")";e.setAttribute("patternTransform",s),Qw.set(t,e)},e.prototype.markUsed=function(e){e.style&&(Jw(e.style.fill)&&t.prototype.markDomUsed.call(this,Qw.get(e.style.fill)),Jw(e.style.stroke)&&t.prototype.markDomUsed.call(this,Qw.get(e.style.stroke)))},e}(Xw);function ek(t){var e=t.__clipPaths;return e&&e.length>0}var nk=function(t){function e(e,n){var a=t.call(this,e,n,"clipPath","__clippath_in_use__")||this;return a._refGroups={},a._keyDuplicateCount={},a}return u(e,t),e.prototype.markAllUnused=function(){t.prototype.markAllUnused.call(this);var e=this._refGroups;for(var n in e)e.hasOwnProperty(n)&&this.markDomUnused(e[n]);this._keyDuplicateCount={}},e.prototype._getClipPathGroup=function(t,e){if(ek(t)){var n=t.__clipPaths,a=this._keyDuplicateCount,i=function(t){var e=[];if(t)for(var n=0;n<t.length;n++){var a=t[n];e.push(a.id)}return e.join(",")}(n);return Km(n,e&&e.__clipPaths)&&(a[i]=a[i]||0,a[i]&&(i+="-"+a[i]),a[i]++),this._refGroups[i]||(this._refGroups[i]=this.createElement("g"))}},e.prototype.update=function(t,e){var n=this._getClipPathGroup(t,e);return n&&(this.markDomUsed(n),this.updateDom(n,t.__clipPaths)),n},e.prototype.updateDom=function(t,e){if(e&&e.length>0){var n=this.getDefs(!0),a=e[0],i=void 0,r=void 0;a._dom?(r=a._dom.getAttribute("id"),i=a._dom,n.contains(i)||n.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",r),n.appendChild(i),a._dom=i),this.getSvgProxy(a).brush(a);var o=this.getSvgElement(a);i.innerHTML="",i.appendChild(o),t.setAttribute("clip-path","url(#"+r+")"),e.length>1&&this.updateDom(i,e.slice(1))}else t&&t.setAttribute("clip-path","none")},e.prototype.markUsed=function(e){var n=this;e.__clipPaths&&X(e.__clipPaths,(function(e){e._dom&&t.prototype.markDomUsed.call(n,e._dom)}))},e.prototype.removeUnused=function(){t.prototype.removeUnused.call(this);var e={},n=this._refGroups;for(var a in n)if(n.hasOwnProperty(a)){var i=n[a];this.isDomUnused(i)?i.parentNode&&i.parentNode.removeChild(i):e[a]=i}this._refGroups=e},e}(Xw),ak=function(t){function e(e,n){var a=t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")||this;return a._shadowDomMap={},a._shadowDomPool=[],a}return u(e,t),e.prototype._getFromPool=function(){var t=this._shadowDomPool.pop();if(!t){(t=this.createElement("filter")).setAttribute("id","zr"+this._zrId+"-shadow-"+this.nextId++);var e=this.createElement("feDropShadow");t.appendChild(e),this.addDom(t)}return t},e.prototype.update=function(t,e){if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(e.style)){var n=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(",")}(e),a=e._shadowDom=this._shadowDomMap[n];a||(a=this._getFromPool(),this._shadowDomMap[n]=a),this.updateDom(t,e,a)}else this.remove(t,e)},e.prototype.remove=function(t,e){null!=e._shadowDom&&(e._shadowDom=null,t.removeAttribute("filter"))},e.prototype.updateDom=function(t,e,n){var a=n.children[0],i=e.style,r=e.getGlobalScale(),o=r[0],l=r[1];if(o&&l){var s=i.shadowOffsetX||0,u=i.shadowOffsetY||0,c=i.shadowBlur,p=_w(i.shadowColor);a.setAttribute("dx",s/o+""),a.setAttribute("dy",u/l+""),a.setAttribute("flood-color",p.color),a.setAttribute("flood-opacity",p.opacity+"");var d=c/2/o+" "+c/2/l;a.setAttribute("stdDeviation",d),n.setAttribute("x","-100%"),n.setAttribute("y","-100%"),n.setAttribute("width","300%"),n.setAttribute("height","300%"),e._shadowDom=n;var h=n.getAttribute("id");t.setAttribute("filter","url(#"+h+")")}},e.prototype.removeUnused=function(){if(this.getDefs(!1)){var t=this._shadowDomPool,e=this._shadowDomMap;for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);this._shadowDomMap={}}},e}(Xw);function ik(t){return parseInt(t,10)}function rk(t){return t instanceof Tl?Gw:t instanceof Ol?Hw:t instanceof Al?Uw:Gw}function ok(t,e){return e&&t&&e.parentNode!==t}function lk(t,e,n){if(ok(t,e)&&n){var a=n.nextSibling;a?t.insertBefore(e,a):t.appendChild(e)}}function sk(t,e){if(ok(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function uk(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function ck(t){return t.__svgEl}var pk=function(){function t(t,e,n,a){this.type="svg",this.refreshHover=dk("refreshHover"),this.pathToImage=dk("pathToImage"),this.configLayer=dk("configLayer"),this.root=t,this.storage=e,this._opts=n=V({},n||{});var i=xw("svg");i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),i.setAttribute("baseProfile","full"),i.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=xw("g");i.appendChild(r);var o=xw("g");i.appendChild(o),this._gradientManager=new $w(a,o),this._patternManager=new tk(a,o),this._clipPathManager=new nk(a,o),this._shadowManager=new ak(a,o);var l=document.createElement("div");l.style.cssText="overflow:hidden;position:relative",this._svgDom=i,this._svgRoot=o,this._backgroundRoot=r,this._viewport=l,t.appendChild(l),l.appendChild(i),this.resize(n.width,n.height),this._visibleList=[]}return t.prototype.getType=function(){return"svg"},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.getSvgRoot=function(){return this._svgRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},t.prototype.setBackgroundColor=function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=xw("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0);var n=_w(t),a=n.color,i=n.opacity;e.setAttribute("fill",a),e.setAttribute("fill-opacity",i),this._backgroundRoot.appendChild(e),this._backgroundNode=e},t.prototype.createSVGElement=function(t){return xw(t)},t.prototype.paintOne=function(t){var e=rk(t);return e&&e.brush(t),ck(t)},t.prototype._paintList=function(t){var e=this._gradientManager,n=this._patternManager,a=this._clipPathManager,i=this._shadowManager;e.markAllUnused(),n.markAllUnused(),a.markAllUnused(),i.markAllUnused();for(var r=this._svgRoot,o=this._visibleList,l=t.length,s=[],u=0;u<l;u++){var c=rk(x=t[u]),p=ck(x);x.invisible||(!x.__dirty&&p||(c&&c.brush(x),(p=ck(x))&&x.style&&(e.update(x.style.fill),e.update(x.style.stroke),n.update(x.style.fill),n.update(x.style.stroke),i.update(p,x)),x.__dirty=0),p&&s.push(x))}var d,h,f,g,m,y=Mw(o,s);for(u=0;u<y.length;u++){if((b=y[u]).removed)for(var v=0;v<b.count;v++){p=ck(x=o[b.indices[v]]);ek(x)?(f=p)&&f.parentNode&&f.parentNode.removeChild(f):uk(r,p)}}for(u=0;u<y.length;u++){var b;if(!(b=y[u]).removed)for(v=0;v<b.count;v++){var x=s[b.indices[v]],_=a.update(x,g);_!==m&&(d=h,_&&(d?lk(r,_,d):sk(r,_),h=_,d=null),m=_);p=ck(x);d?lk(m||r,p,d):sk(m||r,p),d=p||d,m||(h=d),e.markUsed(x),e.addWithoutUpdate(p,x),n.markUsed(x),n.addWithoutUpdate(p,x),a.markUsed(x),g=x}}e.removeUnused(),n.removeUnused(),a.removeUnused(),i.removeUnused(),this._visibleList=s},t.prototype.resize=function(t,e){var n=this._viewport;n.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var i=n.style;i.width=t+"px",i.height=e+"px";var r=this._svgDom;r.setAttribute("width",t+""),r.setAttribute("height",e+"")}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,l=document.defaultView.getComputedStyle(o);return(o[a]||ik(l[n])||ik(o.style[n]))-(ik(l[i])||0)-(ik(l[r])||0)|0},t.prototype.dispose=function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},t.prototype.clear=function(){var t=this._viewport;t&&t.parentNode&&t.parentNode.removeChild(t)},t.prototype.toDataURL=function(){this.refresh();var t=this._svgDom,e=t.outerHTML||(t.parentNode&&t.parentNode).innerHTML;return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e.replace(/></g,">\n\r<"))},t}();function dk(t){return function(){R('In SVG mode painter not support method "'+t+'"')}}var hk=pk;function fk(){return!1}function gk(t,e,n){var a=G(),i=e.getWidth(),r=e.getHeight(),o=a.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=r+"px",a.setAttribute("data-zr-dom-id",t)),a.width=i*n,a.height=r*n,a}var mk=function(t){function e(e,n,a){var i,r=t.call(this)||this;r.motionBlur=!1,r.lastFrameAlpha=.7,r.dpr=1,r.virtual=!1,r.config={},r.incremental=!1,r.zlevel=0,r.maxRepaintRectCount=5,r.__dirty=!0,r.__firstTimePaint=!0,r.__used=!1,r.__drawIndex=0,r.__startIndex=0,r.__endIndex=0,r.__prevStartIndex=null,r.__prevEndIndex=null,a=a||ra,"string"==typeof e?i=gk(e,n,a):rt(e)&&(e=(i=e).id),r.id=e,r.dom=i;var o=i.style;return o&&(i.onselectstart=fk,o.webkitUserSelect="none",o.userSelect="none",o.webkitTapHighlightColor="rgba(0,0,0,0)",o["-webkit-touch-callout"]="none",o.padding="0",o.margin="0",o.borderWidth="0"),r.domBack=null,r.ctxBack=null,r.painter=n,r.config=null,r.dpr=a,r}return u(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=gk("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,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,r=[],o=this.maxRepaintRectCount,l=!1,s=new Ga(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===r.length){(e=new Ga(0,0,0,0)).copy(t),r.push(e)}else{for(var e,n=!1,a=1/0,i=0,u=0;u<r.length;++u){var c=r[u];if(c.intersect(t)){var p=new Ga(0,0,0,0);p.copy(c),p.union(t),r[u]=p,n=!0;break}if(l){s.copy(t),s.union(c);var d=t.width*t.height,h=c.width*c.height,f=s.width*s.height-d-h;f<a&&(a=f,i=u)}}if(l&&(r[i].union(t),n=!0),!n)(e=new Ga(0,0,0,0)).copy(t),r.push(e);l||(l=r.length>=o)}}for(var c=this.__startIndex;c<this.__endIndex;++c){if(h=t[c]){var p=h.shouldBePainted(n,a,!0,!0);(f=h.__isRendered&&(1&h.__dirty||!p)?h.getPrevPaintRect():null)&&u(f);var d=p&&(1&h.__dirty||!h.__isRendered)?h.getPaintRect():null;d&&u(d)}}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var h,f;p=(h=e[c]).shouldBePainted(n,a,!0,!0);if(h&&(!p||!h.__zr)&&h.__isRendered)(f=h.getPrevPaintRect())&&u(f)}do{i=!1;for(c=0;c<r.length;)if(r[c].isZero())r.splice(c,1);else{for(var g=c+1;g<r.length;)r[c].intersect(r[g])?(i=!0,r[c].union(r[g]),r.splice(g,1)):g++;c++}}while(i);return this._paintRects=r,r},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,a=this.dom,i=a.style,r=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),a.width=t*n,a.height=e*n,r&&(r.width=t*n,r.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var a=this.dom,i=this.ctx,r=a.width,o=a.height;e=e||this.clearColor;var l=this.motionBlur&&!t,s=this.lastFrameAlpha,u=this.dpr,c=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,r/u,o/u));var p=this.domBack;function d(t,n,a,r){if(i.clearRect(t,n,a,r),e&&"transparent"!==e){var o=void 0;ut(e)?(o=e.__canvasGradient||qm(i,e,{x:0,y:0,width:a,height:r}),e.__canvasGradient=o):ct(e)&&(o=iy(i,e,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}})),i.save(),i.fillStyle=o||e,i.fillRect(t,n,a,r),i.restore()}l&&(i.save(),i.globalAlpha=s,i.drawImage(p,t,n,a,r),i.restore())}!n||l?d(0,0,r,o):n.length&&X(n,(function(t){d(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(ne),yk=mk,vk=1e5,bk=314159,xk=.01;function _k(t){return parseInt(t,10)}var wk=function(){function t(t,e,n,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=V({},n||{}),this.dpr=n.devicePixelRatio||ra,this._singleCanvas=i,this.root=t;var r=t.style;r&&(r.webkitTapHighlightColor="transparent",r.webkitUserSelect="none",r.userSelect="none",r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(i){var s=t,u=s.width,c=s.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,s.width=u*this.dpr,s.height=c*this.dpr,this._width=u,this._height=c;var p=new yk(s,this,this.dpr);p.__builtin__=!0,p.initContext(),l[314159]=p,p.zlevel=bk,o.push(bk),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var d=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(d)}}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,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var i=0;i<a.length;i++){var r=a[i],o=this._layers[r];if(!o.__builtin__&&o.refresh){var l=0===i?this._backgroundColor:null;o.refresh(l)}}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 a,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},r=0;r<e;r++){var o=t[r];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(vk)),a||(a=n.ctx).save(),hy(a,o,i,r===e-1))}a&&a.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(vk)},t.prototype.paintOne=function(t,e){dy(t,e)},t.prototype._paintList=function(t,e,n,a){if(this._redrawId===a){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,n),r=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),r)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var l=this;He((function(){l._paintList(t,e,n,a)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(bk).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(a){a.virtual&&t.drawImage(a.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var a=this,i=[],r=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var l=this._zlevelList[o],s=this._layers[l];s.__builtin__&&s!==this._hoverlayer&&(s.__dirty||n)&&i.push(s)}for(var u=!0,c=!1,p=function(o){var l,s=i[o],p=s.ctx,h=r&&s.createRepaintRects(t,e,d._width,d._height),f=n?s.__startIndex:s.__drawIndex,g=!n&&s.incremental&&Date.now,m=g&&Date.now(),y=s.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,y,h);else if(f===s.__startIndex){var v=t[f];v.incremental&&v.notClear&&!n||s.clear(!1,y,h)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=s.__startIndex);var b=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(l=f;l<s.__endIndex;l++){var i=t[l];if(i.__inHover&&(c=!0),a._doPaintEl(i,s,r,e,n,l===s.__endIndex-1),g)if(Date.now()-m>15)break}n.prevElClipPaths&&p.restore()};if(h)if(0===h.length)l=s.__endIndex;else for(var x=d.dpr,_=0;_<h.length;++_){var w=h[_];p.save(),p.beginPath(),p.rect(w.x*x,w.y*x,w.width*x,w.height*x),p.clip(),b(w),p.restore()}else p.save(),b(),p.restore();s.__drawIndex=l,s.__drawIndex<s.__endIndex&&(u=!1)},d=this,h=0;h<i.length;h++)p(h);return b.wxa&&X(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:u,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,a,i,r){var o=e.ctx;if(n){var l=t.getPaintRect();(!a||l&&l.intersect(a))&&(hy(o,t,i,r),t.setPrevPaintRect(l))}else hy(o,t,i,r)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=bk);var n=this._layers[t];return n||((n=new yk("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?E(n,this._layerConfig[t],!0):this._layerConfig[t-xk]&&E(n,this._layerConfig[t-xk],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,a=this._zlevelList,i=a.length,r=this._domRoot,o=null,l=-1;if(n[t])R("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(i>0&&t>a[0]){for(l=0;l<i-1&&!(a[l]<t&&a[l+1]>t);l++);o=n[a[l]]}if(a.splice(l+1,0,t),n[t]=e,!e.virtual)if(o){var s=o.dom;s.nextSibling?r.insertBefore(e.dom,s.nextSibling):r.appendChild(e.dom)}else r.firstChild?r.insertBefore(e.dom,r.firstChild):r.appendChild(e.dom);e.__painter=this}else R("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a];t.call(e,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],r=this._layers[i];r.__builtin__&&t.call(e,r,i)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],r=this._layers[i];r.__builtin__||t.call(e,r,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){r&&(r.__endIndex!==t&&(r.__dirty=!0),r.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((l=t[n]).zlevel!==t[n-1].zlevel||l.incremental){this._needsManuallyCompositing=!0;break}}var a,i,r=null,o=0;for(i=0;i<t.length;i++){var l,s=(l=t[i]).zlevel,u=void 0;a!==s&&(a=s,o=0),l.incremental?((u=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,o=1):u=this.getLayer(s+(o>0?xk:0),this._needsManuallyCompositing),u.__builtin__||R("ZLevel "+s+" has been used by unkown layer "+u.id),u!==r&&(u.__used=!0,u.__startIndex!==i&&(u.__dirty=!0),u.__startIndex=i,u.incremental?u.__drawIndex=-1:u.__drawIndex=i,e(i),r=u),1&l.__dirty&&!l.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=i))}e(i),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,X(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?E(n[t],e,!0):n[t]=e;for(var a=0;a<this._zlevelList.length;a++){var i=this._zlevelList[a];if(i===t||i===t+xk)E(this._layers[i],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,a=e[t];a&&(a.dom.parentNode.removeChild(a.dom),delete e[t],n.splice(H(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var i in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(i)&&this._layers[i].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(bk).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 yk("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 a=e.dom.width,i=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,a,i):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var r={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),l=0,s=o.length;l<s;l++){var u=o[l];hy(n,u,r,l===s-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,l=document.defaultView.getComputedStyle(o);return(o[a]||_k(l[n])||_k(o.style[n]))-(_k(l[i])||0)-(_k(l[r])||0)|0},t.prototype.pathToImage=function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),a=n.getContext("2d"),i=t.getBoundingRect(),r=t.style,o=r.shadowBlur*e,l=r.shadowOffsetX*e,s=r.shadowOffsetY*e,u=t.hasStroke()?r.lineWidth:0,c=Math.max(u/2,-l+o),p=Math.max(u/2,l+o),d=Math.max(u/2,-s+o),h=Math.max(u/2,s+o),f=i.width+c+p,g=i.height+d+h;n.width=f*e,n.height=g*e,a.scale(e,e),a.clearRect(0,0,f,g),a.dpr=e;var m={x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY,rotation:t.rotation,originX:t.originX,originY:t.originY};t.x=c-i.x,t.y=d-i.y,t.rotation=0,t.scaleX=1,t.scaleY=1,t.updateTransform(),t&&hy(a,t,{inHover:!1,viewWidth:this._width,viewHeight:this._height},!0);var y=new Ol({style:{x:0,y:0,image:n}});return V(t,m),y},t}(),kk=wk;var Sk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return u(e,t),e.prototype.getInitialData=function(t){return sx(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new pi,n=Xm("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var a=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),r="none"===a?"circle":a,o=.8*t.itemHeight,l=Xm(r,(t.itemWidth-o)/2,(t.itemHeight-o)/2,o,o,t.itemStyle.fill);e.add(l),l.setStyle(t.itemStyle);var s="inherit"===t.iconRotate?i:t.iconRotate||0;return l.rotation=s*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={zlevel:0,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,lineStyle:{width:"bolder"}},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"}},e}(Mg);function Mk(t,e){var n=t.mapDimensionsAll("defaultedLabel"),a=n.length;if(1===a){var i=If(t,e,n[0]);return null!=i?i+"":null}if(a){for(var r=[],o=0;o<n.length;o++)r.push(If(t,e,n[o]));return r.join(" ")}}function Ik(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!tt(e))return e+"";for(var a=[],i=0;i<n.length;i++){var r=t.getDimensionIndex(n[i]);r>=0&&a.push(e[r])}return a.join(" ")}var Tk=function(t){function e(e,n,a,i){var r=t.call(this)||this;return r.updateData(e,n,a,i),r}return u(e,t),e.prototype._createSymbol=function(t,e,n,a,i){this.removeAll();var r=Xm(t,-1,-1,2,2,null,i);r.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),r.drift=Ck,this._symbolType=t,this.add(r)},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(){Ls(this.childAt(0))},e.prototype.downplay=function(){Ps(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){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,a,i){this.silent=!1;var r=t.getItemVisual(n,"symbol")||"circle",o=t.hostModel,l=e.getSymbolSize(t,n),s=r!==this._symbolType,u=i&&i.disableAnimation;if(s){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(r,t,n,l,c)}else{(d=this.childAt(0)).silent=!1;var p={scaleX:l[0]/2,scaleY:l[1]/2};u?d.attr(p):Cc(d,p,o,n),Oc(d)}if(this._updateCommon(t,n,l,a,i),s){var d=this.childAt(0);if(!u){p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,Dc(d,p,o,n)}}u&&this.childAt(0).stopAnimation("remove"),this._seriesModel=o},e.prototype._updateCommon=function(t,e,n,a,i){var r,o,l,s,u,c,p,d,h=this.childAt(0),f=t.hostModel;if(a&&(r=a.emphasisItemStyle,o=a.blurItemStyle,l=a.selectItemStyle,s=a.focus,u=a.blurScope,c=a.labelStatesModels,p=a.hoverScale,d=a.cursorStyle),!a||t.hasItemOption){var g=a&&a.itemModel?a.itemModel:t.getItemModel(e),m=g.getModel("emphasis");r=m.getModel("itemStyle").getItemStyle(),l=g.getModel(["select","itemStyle"]).getItemStyle(),o=g.getModel(["blur","itemStyle"]).getItemStyle(),s=m.get("focus"),u=m.get("blurScope"),c=dp(g),p=m.getShallow("scale"),d=g.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");h.attr("rotation",(y||0)*Math.PI/180||0);var v=jm(t.getItemVisual(e,"symbolOffset"),n);v&&(h.x=v[0],h.y=v[1]),d&&h.attr("cursor",d);var b=t.getItemVisual(e,"style"),x=b.fill;if(h instanceof Ol){var _=h.style;h.useStyle(V({image:_.image,x:_.x,y:_.y,width:_.width,height:_.height},b))}else h.__isEmptyBrush?h.useStyle(V({},b)):h.useStyle(b),h.style.decal=null,h.setColor(x,i&&i.symbolInnerColor),h.style.strokeNoScale=!0;var w=t.getItemVisual(e,"liftZ"),k=this._z2;null!=w?null==k&&(this._z2=h.z2,h.z2+=w):null!=k&&(h.z2=k,this._z2=null);var S=i&&i.useNameLabel;pp(h,c,{labelFetcher:f,labelDataIndex:e,defaultText:function(e){return S?t.getName(e):Mk(t,e)},inheritColor:x,defaultOpacity:b.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var M=h.ensureState("emphasis");if(M.style=r,h.ensureState("select").style=l,h.ensureState("blur").style=o,p){var I=Math.max(1.1,3/this._sizeY);M.scaleX=this._sizeX*I,M.scaleY=this._sizeY*I}this.setSymbolScale(1),Us(this,s,u)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e){var n=this.childAt(0),a=this._seriesModel,i=es(this).dataIndex,r=e&&e.animation;if(this.silent=n.silent=!0,e&&e.fadeLabel){var o=n.getTextContent();o&&Lc(o,{style:{opacity:0}},a,{dataIndex:i,removeOpt:r,cb:function(){n.removeTextContent()}})}else n.removeTextContent();Lc(n,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:i,cb:t,removeOpt:r})},e.getSymbolSize=function(t,e){return Zm(t.getItemVisual(e,"symbolSize"))},e}(pi);function Ck(t,e){this.parent.drift(t,e)}function Dk(t,e,n,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(n))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function Ak(t){return null==t||rt(t)||(t={isIgnore:t}),t||{}}function Lk(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"),hoverScale:n.get("scale"),labelStatesModels:dp(e),cursorStyle:e.get("cursor")}}var Pk=function(){function t(t){this.group=new pi,this._SymbolCtor=t||Tk}return t.prototype.updateData=function(t,e){e=Ak(e);var n=this.group,a=t.hostModel,i=this._data,r=this._SymbolCtor,o=e.disableAnimation,l=Lk(t),s={disableAnimation:o},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};i||n.removeAll(),t.diff(i).add((function(a){var i=u(a);if(Dk(t,i,a,e)){var o=new r(t,a,l,s);o.setPosition(i),t.setItemGraphicEl(a,o),n.add(o)}})).update((function(c,p){var d=i.getItemGraphicEl(p),h=u(c);if(Dk(t,h,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new r(t,c,l,s)).setPosition(h);else{d.updateData(t,c,l,s);var m={x:h[0],y:h[1]};o?d.attr(m):Cc(d,m,a)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.isPersistent=function(){return!0},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var a=t._getSymbolPoint(n);e.setPosition(a),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Lk(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function a(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}n=Ak(n);for(var i=t.start;i<t.end;i++){var r=e.getItemLayout(i);if(Dk(e,r,i,n)){var o=new this._SymbolCtor(e,i,this._seriesScope);o.traverse(a),o.setPosition(r),this.group.add(o),e.setItemGraphicEl(i,o)}}},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()},t}();function zk(t,e,n){var a=t.getBaseAxis(),i=t.getOtherAxis(a),r=function(t,e){var n=0,a=t.scale.getExtent();"start"===e?n=a[0]:"end"===e?n=a[1]:a[0]>0?n=a[0]:a[1]<0&&(n=a[1]);return n}(i,n),o=a.dim,l=i.dim,s=e.mapDimension(l),u=e.mapDimension(o),c="x"===l||"radius"===l?1:0,p=Z(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,h=e.getCalculationInfo("stackResultDimension");return ox(e,p[0])&&(d=!0,p[0]=h),ox(e,p[1])&&(d=!0,p[1]=h),{dataDimsForPoint:p,valueStart:r,valueAxisDim:l,baseAxisDim:o,stacked:!!d,valueDim:s,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Ok(t,e,n,a){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),a)),isNaN(i)&&(i=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=n.get(t.baseDim,a),o[1-r]=i,e.dataToPoint(o)}var Rk="undefined"!=typeof Float32Array,Nk=Rk?Float32Array:Array;function Ek(t){return tt(t)?Rk?new Float32Array(t):t:new Nk(t)}var Bk=Math.min,Vk=Math.max;function Fk(t,e){return isNaN(t)||isNaN(e)}function Gk(t,e,n,a,i,r,o,l,s){for(var u,c,p,d,h,f,g=n,m=0;m<a;m++){var y=e[2*g],v=e[2*g+1];if(g>=i||g<0)break;if(Fk(y,v)){if(s){g+=r;continue}break}if(g===n)t[r>0?"moveTo":"lineTo"](y,v),p=y,d=v;else{var b=y-u,x=v-c;if(b*b+x*x<.5){g+=r;continue}if(o>0){var _=g+r,w=e[2*_],k=e[2*_+1],S=m+1;if(s)for(;Fk(w,k)&&S<a;)S++,w=e[2*(_+=r)],k=e[2*_+1];var M=.5,I=0,T=0,C=void 0,D=void 0;if(S>=a||Fk(w,k))h=y,f=v;else{I=w-u,T=k-c;var A=y-u,L=w-y,P=v-c,z=k-v,O=void 0,R=void 0;"x"===l?(O=Math.abs(A),R=Math.abs(L),h=y-O*o,f=v,C=y+O*o,D=v):"y"===l?(O=Math.abs(P),R=Math.abs(z),h=y,f=v-O*o,C=y,D=v+O*o):(O=Math.sqrt(A*A+P*P),h=y-I*o*(1-(M=(R=Math.sqrt(L*L+z*z))/(R+O))),f=v-T*o*(1-M),D=v+T*o*M,C=Bk(C=y+I*o*M,Vk(w,y)),D=Bk(D,Vk(k,v)),C=Vk(C,Bk(w,y)),f=v-(T=(D=Vk(D,Bk(k,v)))-v)*O/R,h=Bk(h=y-(I=C-y)*O/R,Vk(u,y)),f=Bk(f,Vk(c,v)),C=y+(I=y-(h=Vk(h,Bk(u,y))))*R/O,D=v+(T=v-(f=Vk(f,Bk(c,v))))*R/O)}t.bezierCurveTo(p,d,h,f,y,v),p=C,d=D}else t.lineTo(y,v)}u=y,c=v,g+=r}return m}var Hk=function(){this.smooth=0,this.smoothConstraint=!0},Wk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Hk},e.prototype.buildPath=function(t,e){var n=e.points,a=0,i=n.length/2;if(e.connectNulls){for(;i>0&&Fk(n[2*i-2],n[2*i-1]);i--);for(;a<i&&Fk(n[2*a],n[2*a+1]);a++);}for(;a<i;)a+=Gk(t,n,a,i,i,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,a,i=this.path.data,r=ol.CMD,o="x"===e,l=[],s=0;s<i.length;){var u=void 0,c=void 0,p=void 0,d=void 0,h=void 0,f=void 0,g=void 0;switch(i[s++]){case r.M:n=i[s++],a=i[s++];break;case r.L:if(u=i[s++],c=i[s++],(g=o?(t-n)/(u-n):(t-a)/(c-a))<=1&&g>=0){var m=o?(c-a)*g+a:(u-n)*g+n;return o?[t,m]:[m,t]}n=u,a=c;break;case r.C:u=i[s++],c=i[s++],p=i[s++],d=i[s++],h=i[s++],f=i[s++];var y=o?fo(n,u,p,h,t,l):fo(a,c,d,f,t,l);if(y>0)for(var v=0;v<y;v++){var b=l[v];if(b<=1&&b>=0){m=o?po(a,c,d,f,b):po(n,u,p,h,b);return o?[t,m]:[m,t]}}n=h,a=f}}},e}(Tl),Uk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e}(Hk),Yk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return u(e,t),e.prototype.getDefaultShape=function(){return new Uk},e.prototype.buildPath=function(t,e){var n=e.points,a=e.stackedOnPoints,i=0,r=n.length/2,o=e.smoothMonotone;if(e.connectNulls){for(;r>0&&Fk(n[2*r-2],n[2*r-1]);r--);for(;i<r&&Fk(n[2*i],n[2*i+1]);i++);}for(;i<r;){var l=Gk(t,n,i,r,r,1,e.smooth,o,e.connectNulls);Gk(t,a,i+l-1,l,r,-1,e.stackedOnSmooth,o,e.connectNulls),i+=l+1,t.closePath()}},e}(Tl);function Xk(t,e,n,a,i){var r=t.getArea(),o=r.x,l=r.y,s=r.width,u=r.height,c=n.get(["lineStyle","width"])||2;o-=c/2,l-=c/2,s+=c,u+=c,o=Math.floor(o),s=Math.round(s);var p=new Hl({shape:{x:o,y:l,width:s,height:u}});if(e){var d=t.getBaseAxis(),h=d.isHorizontal(),f=d.inverse;h?(f&&(p.shape.x+=s),p.shape.width=0):(f||(p.shape.y+=u),p.shape.height=0),Dc(p,{shape:{width:s,height:u,x:o,y:l}},n,null,a,"function"==typeof i?function(t){i(t,p)}:null)}return p}function Zk(t,e,n){var a=t.getArea(),i=wi(a.r0,1),r=wi(a.r,1),o=new Fu({shape:{cx:wi(t.cx,1),cy:wi(t.cy,1),r0:i,r:r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});e&&("angle"===t.getBaseAxis().dim?o.shape.endAngle=a.startAngle:o.shape.r=i,Dc(o,{shape:{endAngle:a.endAngle,r:r}},n));return o}function jk(t,e,n,a,i){return t?"polar"===t.type?Zk(t,e,n):"cartesian2d"===t.type?Xk(t,e,n,a,i):null:null}function qk(t,e){return t.type===e}function Kk(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function $k(t){for(var e=1/0,n=1/0,a=-1/0,i=-1/0,r=0;r<t.length;){var o=t[r++],l=t[r++];isNaN(o)||(e=Math.min(o,e),a=Math.max(o,a)),isNaN(l)||(n=Math.min(l,n),i=Math.max(l,i))}return[[e,n],[a,i]]}function Jk(t,e){var n=$k(t),a=n[0],i=n[1],r=$k(e),o=r[0],l=r[1];return Math.max(Math.abs(a[0]-o[0]),Math.abs(a[1]-o[1]),Math.abs(i[0]-l[0]),Math.abs(i[1]-l[1]))}function Qk(t){return"number"==typeof t?t:t?.5:0}function tS(t,e,n){for(var a=e.getBaseAxis(),i="x"===a.dim||"radius"===a.dim?0:1,r=[],o=0,l=[],s=[],u=[];o<t.length-2;o+=2)switch(u[0]=t[o+2],u[1]=t[o+3],s[0]=t[o],s[1]=t[o+1],r.push(s[0],s[1]),n){case"end":l[i]=u[i],l[1-i]=s[1-i],r.push(l[0],l[1]);break;case"middle":var c=(s[i]+u[i])/2,p=[];l[i]=p[i]=c,l[1-i]=s[1-i],p[1-i]=u[1-i],r.push(l[0],l[1]),r.push(p[0],p[1]);break;default:l[i]=s[i],l[1-i]=u[1-i],r.push(l[0],l[1])}return r.push(t[o++],t[o++]),r}function eS(t,e,n){var a=t.getVisual("visualMeta");if(a&&a.length&&t.count()&&"cartesian2d"===e.type){for(var i,r,o=a.length-1;o>=0;o--){var l=t.getDimensionInfo(a[o].dimension);if("x"===(i=l&&l.coordDim)||"y"===i){r=a[o];break}}if(r){var s=e.getAxis(i),u=Z(r.stops,(function(t){return{coord:s.toGlobalCoord(s.dataToCoord(t.value)),color:t.color}})),c=u.length,p=r.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),p.reverse());var d=function(t,e){var n,a,i=[],r=t.length;function o(t,e,n){var a=t.coord;return{coord:n,color:mn((n-a)/(e.coord-a),[t.color,e.color])}}for(var l=0;l<r;l++){var s=t[l],u=s.coord;if(u<0)n=s;else{if(u>e){a&&i.push(o(a,s,e));break}n&&(i.push(o(n,s,0)),n=null),i.push(s),a=s}}return i}(u,"x"===i?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?p[1]?p[1]:u[c-1].color:p[0]?p[0]:u[0].color;var f=d[0].coord-0,g=d[h-1].coord+0,m=g-f;if(m<.001)return"transparent";X(d,(function(t){t.offset=(t.coord-f)/m})),d.push({offset:h?d[h-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:p[0]||"transparent"});var y=new fc(0,0,0,0,d,!0);return y[i]=f,y[i+"2"]=g,y}}}function nS(t,e,n){var a=t.get("showAllSymbol"),i="auto"===a;if(!a||i){var r=n.getAxesByScale("ordinal")[0];if(r&&(!i||!function(t,e){var n=t.getExtent(),a=Math.abs(n[1]-n[0])/t.scale.count();isNaN(a)&&(a=0);for(var i=e.count(),r=Math.max(1,Math.round(i/5)),o=0;o<i;o+=r)if(1.5*Tk.getSymbolSize(e,o)[t.isHorizontal()?1:0]>a)return!1;return!0}(r,e))){var o=e.mapDimension(r.dim),l={};return X(r.getViewLabels(),(function(t){var e=r.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(o,t))}}}}function aS(t,e){return[t[2*e],t[2*e+1]]}function iS(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<os.length;e++)if(t.get([os[e],"endLabel","show"]))return!0;return!1}function rS(t,e,n,a){if(qk(e,"cartesian2d")){var i=a.getModel("endLabel"),r=i.get("valueAnimation"),o=a.getData(),l={lastFrameIndex:0},s=iS(a)?function(n,a){t._endLabelOnDuring(n,a,o,l,r,i,e)}:null,u=e.getBaseAxis().isHorizontal(),c=Xk(e,n,a,(function(){var e=t._endLabel;e&&n&&null!=l.originalX&&e.attr({x:l.originalX,y:l.originalY})}),s);if(!a.get("clip",!0)){var p=c.shape,d=Math.max(p.width,p.height);u?(p.y-=d,p.height+=2*d):(p.x-=d,p.width+=2*d)}return s&&s(1,c),c}return Zk(e,n,a)}var oS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(){var t=new pi,e=new Pk;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var a=this,i=t.coordinateSystem,r=this.group,o=t.getData(),l=t.getModel("lineStyle"),s=t.getModel("areaStyle"),u=o.getLayout("points")||[],c="polar"===i.type,p=this._coordSys,d=this._symbolDraw,h=this._polyline,f=this._polygon,g=this._lineGroup,m=t.get("animation"),y=!s.isEmpty(),v=s.get("origin"),b=zk(i,o,v),x=y&&function(t,e,n){if(!n.valueDim)return[];for(var a=e.count(),i=Ek(2*a),r=0;r<a;r++){var o=Ok(n,t,e,r);i[2*r]=o[0],i[2*r+1]=o[1]}return i}(i,o,b),_=t.get("showSymbol"),w=_&&!c&&nS(t,o,i),k=this._data;k&&k.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),k.setItemGraphicEl(e,null))})),_||d.remove(),r.add(g);var S,M=!c&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(S=i.getArea()).width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r+=.5)),this._clipShapeForSymbol=S;var I=eS(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(h&&p.type===i.type&&M===this._step){y&&!f?f=this._newPolygon(u,x):f&&!y&&(g.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,i,Pd(I));var T=g.getClipPath();if(T)Dc(T,{shape:rS(this,i,!1,t).shape},t);else g.setClipPath(rS(this,i,!0,t));_&&d.updateData(o,{isIgnore:w,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),Kk(this._stackedOnPoints,x)&&Kk(this._points,u)||(m?this._doUpdateAnimation(o,x,i,n,M,v):(M&&(u=tS(u,i,M),x&&(x=tS(x,i,M))),h.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:x})))}else _&&d.updateData(o,{isIgnore:w,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),m&&this._initSymbolLabelAnimation(o,i,S),M&&(u=tS(u,i,M),x&&(x=tS(x,i,M))),h=this._newPolyline(u),y&&(f=this._newPolygon(u,x)),c||this._initOrUpdateEndLabel(t,i,Pd(I)),g.setClipPath(rS(this,i,!0,t));var C=t.get(["emphasis","focus"]),D=t.get(["emphasis","blurScope"]);(h.useStyle(F(l.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),js(h,t,"lineStyle"),h.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(h.getState("emphasis").style.lineWidth=+h.style.lineWidth+1);es(h).seriesIndex=t.seriesIndex,Us(h,C,D);var A=Qk(t.get("smooth")),L=t.get("smoothMonotone"),P=t.get("connectNulls");if(h.setShape({smooth:A,smoothMonotone:L,connectNulls:P}),f){var z=o.getCalculationInfo("stackedOnSeries"),O=0;f.useStyle(F(s.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),z&&(O=Qk(z.get("smooth"))),f.setShape({smooth:A,stackedOnSmooth:O,smoothMonotone:L,connectNulls:P}),js(f,t,"areaStyle"),es(f).seriesIndex=t.seriesIndex,Us(f,C,D)}var R=function(t){a._changePolyState(t)};o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=R)})),this._polyline.onHoverStateChange=R,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=u,this._step=M,this._valueOrigin=v},e.prototype.dispose=function(){},e.prototype.highlight=function(t,e,n,a){var i=t.getData(),r=ir(i,a);if(this._changePolyState("emphasis"),!(r instanceof Array)&&null!=r&&r>=0){var o=i.getLayout("points"),l=i.getItemGraphicEl(r);if(!l){var s=o[2*r],u=o[2*r+1];if(isNaN(s)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s,u))return;var c=t.get("zlevel"),p=t.get("z");(l=new Tk(i,r)).x=s,l.y=u,l.setZ(c,p);var d=l.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=p,d.z2=this._polyline.z2+1),l.__temp=!0,i.setItemGraphicEl(r,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else Eg.prototype.highlight.call(this,t,e,n,a)},e.prototype.downplay=function(t,e,n,a){var i=t.getData(),r=ir(i,a);if(this._changePolyState("normal"),null!=r&&r>=0){var o=i.getItemGraphicEl(r);o&&(o.__temp?(i.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else Eg.prototype.downplay.call(this,t,e,n,a)},e.prototype._changePolyState=function(t){var e=this._polygon;Is(this._polyline,t),e&&Is(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Wk({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 Yk({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var a,i,r=e.getBaseAxis(),o=r.inverse;"cartesian2d"===e.type?(a=r.isHorizontal(),i=!1):"polar"===e.type&&(a="angle"===r.dim,i=!0);var l=t.hostModel,s=l.get("animationDuration");"function"==typeof s&&(s=s(null));var u=l.get("animationDelay")||0,c="function"==typeof u?u(null):u;t.eachItemGraphicEl((function(t,r){var l=t;if(l){var p=[t.x,t.y],d=void 0,h=void 0,f=void 0;if(n)if(i){var g=n,m=e.pointToCoord(p);a?(d=g.startAngle,h=g.endAngle,f=-m[1]/180*Math.PI):(d=g.r0,h=g.r,f=m[0])}else{var y=n;a?(d=y.x,h=y.x+y.width,f=t.x):(d=y.y+y.height,h=y.y,f=t.y)}var v=h===d?0:(f-d)/(h-d);o&&(v=1-v);var b="function"==typeof u?u(r):s*v+c,x=l.getSymbolPath(),_=x.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:b}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var a=t.getModel("endLabel");if(iS(t)){var i=t.getData(),r=this._polyline,o=this._endLabel;o||((o=this._endLabel=new ts({z2:200})).ignoreClip=!0,r.setTextContent(this._endLabel),r.disableLabelAnimation=!0);var l=function(t){for(var e,n,a=t.length/2;a>0&&(e=t[2*a-2],n=t[2*a-1],isNaN(e)||isNaN(n));a--);return a-1}(i.getLayout("points"));l>=0&&(pp(r,dp(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?Ik(i,n):Mk(i,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),a=n.isHorizontal(),i=n.inverse,r=a?i?"right":"left":"center",o=a?"middle":i?"top":"bottom";return{normal:{align:t.get("align")||r,verticalAlign:t.get("verticalAlign")||o}}}(a,e)),r.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,a,i,r,o){var l=this._endLabel,s=this._polyline;if(l){t<1&&null==a.originalX&&(a.originalX=l.x,a.originalY=l.y);var u=n.getLayout("points"),c=n.hostModel,p=c.get("connectNulls"),d=r.get("precision"),h=r.get("distance")||0,f=o.getBaseAxis(),g=f.isHorizontal(),m=f.inverse,y=e.shape,v=m?g?y.x:y.y+y.height:g?y.x+y.width:y.y,b=(g?h:0)*(m?-1:1),x=(g?0:-h)*(m?-1:1),_=g?"x":"y",w=function(t,e,n){for(var a,i,r=t.length/2,o="x"===n?0:1,l=0,s=-1,u=0;u<r;u++)if(i=t[2*u+o],!isNaN(i)&&!isNaN(t[2*u+1-o]))if(0!==u){if(a<=e&&i>=e||a>=e&&i<=e){s=u;break}l=u,a=i}else a=i;return{range:[l,s],t:(e-a)/(i-a)}}(u,v,_),k=w.range,S=k[1]-k[0],M=void 0;if(S>=1){if(S>1&&!p){var I=aS(u,k[0]);l.attr({x:I[0]+b,y:I[1]+x}),i&&(M=c.getRawValue(k[0]))}else{(I=s.getPointOn(v,_))&&l.attr({x:I[0]+b,y:I[1]+x});var T=c.getRawValue(k[0]),C=c.getRawValue(k[1]);i&&(M=fr(n,d,T,C,w.t))}a.lastFrameIndex=k[0]}else{var D=1===t||a.lastFrameIndex>0?k[0]:0;I=aS(u,D);i&&(M=c.getRawValue(D)),l.attr({x:I[0]+b,y:I[1]+x})}i&&xp(l).setLabelText(M)}},e.prototype._doUpdateAnimation=function(t,e,n,a,i,r){var o=this._polyline,l=this._polygon,s=t.hostModel,u=function(t,e,n,a,i,r,o,l){for(var s=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=[],c=[],p=[],d=[],h=[],f=[],g=[],m=zk(i,e,o),y=t.getLayout("points")||[],v=e.getLayout("points")||[],b=0;b<s.length;b++){var x=s[b],_=!0,w=void 0,k=void 0;switch(x.cmd){case"=":w=2*x.idx,k=2*x.idx1;var S=y[w],M=y[w+1],I=v[k],T=v[k+1];(isNaN(S)||isNaN(M))&&(S=I,M=T),u.push(S,M),c.push(I,T),p.push(n[w],n[w+1]),d.push(a[k],a[k+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var C=x.idx,D=m.dataDimsForPoint,A=i.dataToPoint([e.get(D[0],C),e.get(D[1],C)]);k=2*C,u.push(A[0],A[1]),c.push(v[k],v[k+1]);var L=Ok(m,i,e,C);p.push(L[0],L[1]),d.push(a[k],a[k+1]),g.push(e.getRawIndex(C));break;case"-":_=!1}_&&(h.push(x),f.push(f.length))}f.sort((function(t,e){return g[t]-g[e]}));var P=u.length,z=Ek(P),O=Ek(P),R=Ek(P),N=Ek(P),E=[];for(b=0;b<f.length;b++){var B=f[b],V=2*b,F=2*B;z[V]=u[F],z[V+1]=u[F+1],O[V]=c[F],O[V+1]=c[F+1],R[V]=p[F],R[V+1]=p[F+1],N[V]=d[F],N[V+1]=d[F+1],E[b]=h[B]}return{current:z,next:O,stackedOnCurrent:R,stackedOnNext:N,status:E}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),c=u.current,p=u.stackedOnCurrent,d=u.next,h=u.stackedOnNext;if(i&&(c=tS(u.current,n,i),p=tS(u.stackedOnCurrent,n,i),d=tS(u.next,n,i),h=tS(u.stackedOnNext,n,i)),Jk(c,d)>3e3||l&&Jk(p,h)>3e3)return o.stopAnimation(),o.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:h})));o.shape.__points=u.current,o.shape.points=c;var f={shape:{points:d}};u.current!==c&&(f.shape.__points=u.next),o.stopAnimation(),Cc(o,f,s),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),Cc(l,{shape:{stackedOnPoints:h}},s),o.shape.points!==l.shape.points&&(l.shape.points=o.shape.points));for(var g=[],m=u.status,y=0;y<m.length;y++){if("="===m[y].cmd){var v=t.getItemGraphicEl(m[y].idx1);v&&g.push({el:v,ptIdx:y})}}o.animators&&o.animators.length&&o.animators[0].during((function(){l&&l.dirtyShape();for(var t=o.shape.__points,e=0;e<g.length;e++){var n=g[e].el,a=2*g[e].ptIdx;n.x=t[a],n.y=t[a+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,a){t.__temp&&(e.remove(t),n.setItemGraphicEl(a,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Eg);function lS(t,e){return{seriesType:t,plan:Og(),reset:function(t){var n=t.getData(),a=t.coordinateSystem,i=t.pipelineContext,r=e||i.large;if(a){var o=Z(a.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),l=o.length,s=n.getCalculationInfo("stackResultDimension");ox(n,o[0])&&(o[0]=s),ox(n,o[1])&&(o[1]=s);var u=n.getStore(),c=n.getDimensionIndex(o[0]),p=n.getDimensionIndex(o[1]);return l&&{progress:function(t,e){for(var n=t.end-t.start,i=r&&Ek(n*l),o=[],s=[],d=t.start,h=0;d<t.end;d++){var f=void 0;if(1===l){var g=u.get(c,d);f=a.dataToPoint(g,null,s)}else o[0]=u.get(c,d),o[1]=u.get(p,d),f=a.dataToPoint(o,null,s);r?(i[h++]=f[0],i[h++]=f[1]):e.setItemLayout(d,f.slice())}r&&e.setLayout("points",i)}}}}}}var sS={average:function(t){for(var e=0,n=0,a=0;a<t.length;a++)isNaN(t[a])||(e+=t[a],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]}},uS=function(t){return Math.round(t.length/2)};function cS(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),i=t.get("sampling"),r=t.coordinateSystem,o=a.count();if(o>10&&"cartesian2d"===r.type&&i){var l=r.getBaseAxis(),s=r.getOtherAxis(l),u=l.getExtent(),c=n.getDevicePixelRatio(),p=Math.abs(u[1]-u[0])*(c||1),d=Math.round(o/p);if(d>1){"lttb"===i&&t.setData(a.lttbDownSample(a.mapDimension(s.dim),1/d));var h=void 0;"string"==typeof i?h=sS[i]:"function"==typeof i&&(h=i),h&&t.setData(a.downSample(a.mapDimension(s.dim),1/d,h,uS))}}}}}var pS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.getInitialData=function(t,e){return sx(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){var n=e.dataToPoint(e.clampData(t)),a=this.getData(),i=a.getLayout("offset"),r=a.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=i+r/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Mg);Mg.registerClass(pS);var dS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.getInitialData=function(){return sx(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=Ep(pS.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}(pS),hS=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},fS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return u(e,t),e.prototype.getDefaultShape=function(){return new hS},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,i=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=.5*(r-i),l=i+o,s=e.startAngle,u=e.endAngle,c=e.clockwise,p=Math.cos(s),d=Math.sin(s),h=Math.cos(u),f=Math.sin(u);(c?u-s<2*Math.PI:s-u<2*Math.PI)&&(t.moveTo(p*i+n,d*i+a),t.arc(p*l+n,d*l+a,o,-Math.PI+s,s,!c)),t.arc(n,a,r,s,u,!c),t.moveTo(h*r+n,f*r+a),t.arc(h*l+n,f*l+a,o,u-2*Math.PI,u-Math.PI,!c),0!==i&&(t.arc(n,a,i,u,s,c),t.moveTo(p*i+n,f*i+a)),t.closePath()},e}(Tl);function gS(t,e,n){return e*Math.sin(t)*(n?-1:1)}function mS(t,e,n){return e*Math.cos(t)*(n?1:-1)}var yS=[0,0],vS=Math.max,bS=Math.min;var xS=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return u(e,t),e.prototype.render=function(t,e,n,a){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");"cartesian2d"!==i&&"polar"!==i||(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,a))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._incrementalRenderLarge(t,e)},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,a){var i,r=this.group,o=t.getData(),l=this._data,s=t.coordinateSystem,u=s.getBaseAxis();"cartesian2d"===s.type?i=u.isHorizontal():"polar"===s.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,p=function(t,e){var n=t.get("realtimeSort",!0),a=e.getBaseAxis();if(n&&"category"===a.type&&"cartesian2d"===e.type)return{baseAxis:a,otherAxis:e.getOtherAxis(a)}}(t,s);p&&this._enableRealtimeSort(p,o,n);var d=t.get("clip",!0)||p,h=function(t,e){var n=t.getArea&&t.getArea();if(qk(t,"cartesian2d")){var a=t.getBaseAxis();if("category"!==a.type||!a.onBand){var i=e.getLayout("bandWidth");a.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}(s,o);r.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),y=m.get("borderRadius")||0,v=[],b=this._backgroundEls,x=a&&a.isInitSort,_=a&&"changeAxisOrder"===a.type;function w(t){var e=CS[s.type](o,t),n=function(t,e,n){return new("polar"===t.type?Fu:Hl)({shape:RS(e,n,t),silent:!0,z2:0})}(s,i,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===s.type&&n.setShape("r",y),v[t]=n,n}o.diff(l).add((function(e){var n=o.getItemModel(e),a=CS[s.type](o,e,n);if(g&&w(e),o.hasValue(e)&&TS[s.type](a)){var l=!1;d&&(l=_S[s.type](h,a));var m=wS[s.type](t,o,e,a,i,c,u.model,!1,f);AS(m,o,e,n,a,t,i,"polar"===s.type),x?m.attr({shape:a}):p?kS(p,c,m,a,e,i,!1,!1):Dc(m,{shape:a},t,e),o.setItemGraphicEl(e,m),r.add(m),m.ignore=l}})).update((function(e,n){var a=o.getItemModel(e),k=CS[s.type](o,e,a);if(g){var S=void 0;0===b.length?S=w(n):((S=b[n]).useStyle(m.getItemStyle()),"cartesian2d"===s.type&&S.setShape("r",y),v[e]=S);var M=CS[s.type](o,e);Cc(S,{shape:RS(i,M,s)},c,e)}var I=l.getItemGraphicEl(n);if(o.hasValue(e)&&TS[s.type](k)){var T=!1;d&&(T=_S[s.type](h,k))&&r.remove(I),I?Oc(I):I=wS[s.type](t,o,e,k,i,c,u.model,!!I,f),_||AS(I,o,e,a,k,t,i,"polar"===s.type),x?I.attr({shape:k}):p?kS(p,c,I,k,e,i,!0,_):Cc(I,{shape:k},t,e,null),o.setItemGraphicEl(e,I),I.ignore=T,r.add(I)}else r.remove(I)})).remove((function(e){var n=l.getItemGraphicEl(e);n&&zc(n,t,e)})).execute();var k=this._backgroundGroup||(this._backgroundGroup=new pi);k.removeAll();for(var S=0;S<v.length;++S)k.add(v[S]);r.add(k),this._backgroundEls=v,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),zS(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),zS(e,this.group,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)?jk(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var a=this;if(e.count()){var i=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var r=function(t){var n=e.getItemGraphicEl(t);if(n){var a=n.shape;return(i.isHorizontal()?Math.abs(a.height):Math.abs(a.width))||0}return 0};this._onRendered=function(){a._updateSortWithinSameData(e,r,i,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var a=[];return t.each(t.mapDimension(e.dim),(function(t,e){var i=n(e);i=null==i?NaN:i,a.push({dataIndex:e,mappedValue:i,ordinalNumber:t})})),a.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:Z(a,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var a=n.scale,i=t.mapDimension(n.dim),r=Number.MAX_VALUE,o=0,l=a.getOrdinalMeta().categories.length;o<l;++o){var s=t.rawIndexOf(i,a.getRawOrdinalNumber(o)),u=s<0?Number.MIN_VALUE:e(t.indexOfRawIndex(s));if(u>r)return!0;r=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,a=n.getExtent(),i=Math.max(0,a[0]),r=Math.min(a[1],n.getOrdinalMeta().categories.length-1);i<=r;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,a){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var a=e.baseAxis,i=this._dataSort(t,a,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:i})},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){zc(e,t,es(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}(Eg),_S={cartesian2d:function(t,e){var n=e.width<0?-1:1,a=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,r=t.y+t.height,o=vS(e.x,t.x),l=bS(e.x+e.width,i),s=vS(e.y,t.y),u=bS(e.y+e.height,r),c=l<o,p=u<s;return e.x=c&&o>i?l:o,e.y=p&&s>r?u:s,e.width=c?0:l-o,e.height=p?0:u-s,n<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),c||p},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var a=e.r;e.r=e.r0,e.r0=a}var i=bS(e.r,t.r),r=vS(e.r0,t.r0);e.r=i,e.r0=r;var o=i-r<0;if(n<0){a=e.r;e.r=e.r0,e.r0=a}return o}},wS={cartesian2d:function(t,e,n,a,i,r,o,l,s){var u=new Hl({shape:V({},a),z2:1});(u.__dataIndex=n,u.name="item",r)&&(u.shape[i?"height":"width"]=0);return u},polar:function(t,e,n,a,i,r,o,l,s){var u=!i&&s?fS:Fu,c=new u({shape:a,z2:1});c.name="item";var p,d,h=DS(i);if(c.calculateTextPosition=(p=h,d=({isRoundCap:u===fS}||{}).isRoundCap,function(t,e,n){var a=e.position;if(!a||a instanceof Array)return Ja(t,e,n);var i=p(a),r=null!=e.distance?e.distance:5,o=this.shape,l=o.cx,s=o.cy,u=o.r,c=o.r0,h=(u+c)/2,f=o.startAngle,g=o.endAngle,m=(f+g)/2,y=d?Math.abs(u-c)/2:0,v=Math.cos,b=Math.sin,x=l+u*v(f),_=s+u*b(f),w="left",k="top";switch(i){case"startArc":x=l+(c-r)*v(m),_=s+(c-r)*b(m),w="center",k="top";break;case"insideStartArc":x=l+(c+r)*v(m),_=s+(c+r)*b(m),w="center",k="bottom";break;case"startAngle":x=l+h*v(f)+gS(f,r+y,!1),_=s+h*b(f)+mS(f,r+y,!1),w="right",k="middle";break;case"insideStartAngle":x=l+h*v(f)+gS(f,-r+y,!1),_=s+h*b(f)+mS(f,-r+y,!1),w="left",k="middle";break;case"middle":x=l+h*v(m),_=s+h*b(m),w="center",k="middle";break;case"endArc":x=l+(u+r)*v(m),_=s+(u+r)*b(m),w="center",k="bottom";break;case"insideEndArc":x=l+(u-r)*v(m),_=s+(u-r)*b(m),w="center",k="top";break;case"endAngle":x=l+h*v(g)+gS(g,r+y,!0),_=s+h*b(g)+mS(g,r+y,!0),w="left",k="middle";break;case"insideEndAngle":x=l+h*v(g)+gS(g,-r+y,!0),_=s+h*b(g)+mS(g,-r+y,!0),w="right",k="middle";break;default:return Ja(t,e,n)}return(t=t||{}).x=x,t.y=_,t.align=w,t.verticalAlign=k,t}),r){var f=i?"r":"endAngle",g={};c.shape[f]=i?0:a.startAngle,g[f]=a[f],(l?Cc:Dc)(c,{shape:g},r)}return c}};function kS(t,e,n,a,i,r,o,l){var s,u;r?(u={x:a.x,width:a.width},s={y:a.y,height:a.height}):(u={y:a.y,height:a.height},s={x:a.x,width:a.width}),l||(o?Cc:Dc)(n,{shape:s},e,i,null),(o?Cc:Dc)(n,{shape:u},e?t.baseAxis.model:null,i)}function SS(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var MS=["x","y","width","height"],IS=["cx","cy","r","startAngle","endAngle"],TS={cartesian2d:function(t){return!SS(t,MS)},polar:function(t){return!SS(t,IS)}},CS={cartesian2d:function(t,e,n){var a=t.getItemLayout(e),i=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var a=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(a,i,r)}(n,a):0,r=a.width>0?1:-1,o=a.height>0?1:-1;return{x:a.x+r*i/2,y:a.y+o*i/2,width:a.width-r*i,height:a.height-o*i}},polar:function(t,e,n){var a=t.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function DS(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 AS(t,e,n,a,i,r,o,l){var s=e.getItemVisual(n,"style");l||t.setShape("r",a.get(["itemStyle","borderRadius"])||0),t.useStyle(s);var u=a.getShallow("cursor");u&&t.attr("cursor",u);var c=l?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=dp(a);pp(t,p,{labelFetcher:r,labelDataIndex:n,defaultText:Mk(r.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:c});var d=t.getTextContent();if(l&&d){var h=a.get(["label","position"]);t.textConfig.inside="middle"===h||null,function(t,e,n,a){if("number"!=typeof a)if(tt(e))t.setTextConfig({rotation:0});else{var i,r=t.shape,o=r.clockwise?r.startAngle:r.endAngle,l=r.clockwise?r.endAngle:r.startAngle,s=(o+l)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=s;break;case"startAngle":case"insideStartAngle":i=o;break;case"endAngle":case"insideEndAngle":i=l;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-i;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}else t.setTextConfig({rotation:a})}(t,"outside"===h?c:h,DS(o),a.get(["label","rotate"]))}_p(d,p,r.getRawValue(n),(function(t){return Ik(e,t)}));var f=a.getModel(["emphasis"]);Us(t,f.get("focus"),f.get("blurScope")),js(t,a),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(i)&&(t.style.fill="none",t.style.stroke="none",X(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var LS=function(){},PS=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return u(e,t),e.prototype.getDefaultShape=function(){return new LS},e.prototype.buildPath=function(t,e){for(var n=e.points,a=this.__startPoint,i=this.__baseDimIdx,r=0;r<n.length;r+=2)a[i]=n[r+i],t.moveTo(a[0],a[1]),t.lineTo(n[r],n[r+1])},e}(Tl);function zS(t,e,n){var a=t.getData(),i=[],r=a.getLayout("valueAxisHorizontal")?1:0;i[1-r]=a.getLayout("valueAxisStart");var o=a.getLayout("largeDataIndices"),l=a.getLayout("barWidth"),s=t.getModel("backgroundStyle");if(t.get("showBackground",!0)){var u=a.getLayout("largeBackgroundPoints"),c=[];c[1-r]=a.getLayout("backgroundStart");var p=new PS({shape:{points:u},incremental:!!n,silent:!0,z2:0});p.__startPoint=c,p.__baseDimIdx=r,p.__largeDataIndices=o,p.__barWidth=l,function(t,e,n){var a=e.get("borderColor")||e.get("color"),i=e.getItemStyle();t.useStyle(i),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=n.getLayout("barWidth")}(p,s,a),e.add(p)}var d=new PS({shape:{points:a.getLayout("largePoints")},incremental:!!n});d.__startPoint=i,d.__baseDimIdx=r,d.__largeDataIndices=o,d.__barWidth=l,e.add(d),function(t,e,n){var a=n.getVisual("style");t.useStyle(V({},a)),t.style.fill=null,t.style.stroke=a.fill,t.style.lineWidth=n.getLayout("barWidth")}(d,0,a),es(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",OS),d.on("mousemove",OS))}var OS=Xg((function(t){var e=function(t,e,n){var a=t.__baseDimIdx,i=1-a,r=t.shape.points,o=t.__largeDataIndices,l=Math.abs(t.__barWidth/2),s=t.__startPoint[i];yS[0]=e,yS[1]=n;for(var u=yS[a],c=yS[1-a],p=u-l,d=u+l,h=0,f=r.length/2;h<f;h++){var g=2*h,m=r[g+a],y=r[g+i];if(m>=p&&m<=d&&(s<=y?c>=s&&c<=y:c>=y&&c<=s))return o[h]}return-1}(this,t.offsetX,t.offsetY);es(this).dataIndex=e>=0?e:null}),30,!1);function RS(t,e,n){if(qk(n,"cartesian2d")){var a=e,i=n.getArea();return{x:t?a.x:i.x,y:t?i.y:a.y,width:t?a.width:i.width,height:t?i.height:a.height}}var r=e;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:t?i.r0:r.r0,r:t?i.r:r.r,startAngle:t?r.startAngle:0,endAngle:t?r.endAngle:2*Math.PI}}var NS=2*Math.PI,ES=Math.PI/180;function BS(t,e){return Vd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function VS(t,e){var n=BS(t,e),a=t.get("center"),i=t.get("radius");tt(i)||(i=[0,i]),tt(a)||(a=[a,a]);var r=_i(n.width,e.getWidth()),o=_i(n.height,e.getHeight()),l=Math.min(r,o);return{cx:_i(a[0],r)+n.x,cy:_i(a[1],o)+n.y,r0:_i(i[0],l/2),r:_i(i[1],l/2)}}function FS(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),a=e.mapDimension("value"),i=BS(t,n),r=VS(t,n),o=r.cx,l=r.cy,s=r.r,u=r.r0,c=-t.get("startAngle")*ES,p=t.get("minAngle")*ES,d=0;e.each(a,(function(t){!isNaN(t)&&d++}));var h=e.getSum(a),f=Math.PI/(h||d)*2,g=t.get("clockwise"),m=t.get("roseType"),y=t.get("stillShowZeroSum"),v=e.getDataExtent(a);v[0]=0;var b=NS,x=0,_=c,w=g?1:-1;if(e.setLayout({viewRect:i,r:s}),e.each(a,(function(t,n){var a;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:o,cy:l,r0:u,r:m?NaN:s});else{(a="area"!==m?0===h&&y?f:t*f:NS/d)<p?(a=p,b-=p):x+=t;var i=_+w*a;e.setItemLayout(n,{angle:a,startAngle:_,endAngle:i,clockwise:g,cx:o,cy:l,r0:u,r:m?xi(t,v,[u,s]):s}),_=i}})),b<NS&&d)if(b<=.001){var k=NS/d;e.each(a,(function(t,n){if(!isNaN(t)){var a=e.getItemLayout(n);a.angle=k,a.startAngle=c+w*n*k,a.endAngle=c+w*(n+1)*k}}))}else f=b/x,_=c,e.each(a,(function(t,n){if(!isNaN(t)){var a=e.getItemLayout(n),i=a.angle===p?p:t*f;a.startAngle=_,a.endAngle=_+w*i,_+=w*i}}))}))}function GS(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var a=t.getData();a.filterSelf((function(t){for(var e=a.getName(t),i=0;i<n.length;i++)if(!n[i].isSelected(e))return!1;return!0}))}}}}var HS=Math.PI/180;function WS(t,e,n,a,i,r,o,l,s,u){if(!(t.length<2)){for(var c=t.length,p=0;p<c;p++)if("outer"===t[p].position&&"labelLine"===t[p].labelAlignTo){var d=t[p].label.x-u;t[p].linePoints[1][0]+=d,t[p].label.x=u}lw(t,s,s+o)&&function(t){for(var r={list:[],maxY:0},o={list:[],maxY:0},l=0;l<t.length;l++)if("none"===t[l].labelAlignTo){var s=t[l],u=s.label.y>n?o:r,c=Math.abs(s.label.y-n);if(c>u.maxY){var p=s.label.x-e-s.len2*i,d=a+s.len,f=Math.abs(p)<d?Math.sqrt(c*c/(1-p*p/d/d)):d;u.rB=f,u.maxY=c}u.list.push(s)}h(r),h(o)}(t)}function h(t){for(var r=t.rB,o=r*r,l=0;l<t.list.length;l++){var s=t.list[l],u=Math.abs(s.label.y-n),c=a+s.len,p=c*c,d=Math.sqrt((1-Math.abs(u*u/o))*p);s.label.x=e+(d+s.len2)*i}}}function US(t){return"center"===t.position}function YS(t){var e,n,a=t.getData(),i=[],r=!1,o=(t.get("minShowLabelAngle")||0)*HS,l=a.getLayout("viewRect"),s=a.getLayout("r"),u=l.width,c=l.x,p=l.y,d=l.height;function h(t){t.ignore=!0}a.each((function(t){var l=a.getItemGraphicEl(t),p=l.shape,d=l.getTextContent(),f=l.getTextGuideLine(),g=a.getItemModel(t),m=g.getModel("label"),y=m.get("position")||g.get(["emphasis","label","position"]),v=m.get("distanceToLabelLine"),b=m.get("alignTo"),x=_i(m.get("edgeDistance"),u),_=m.get("bleedMargin"),w=g.getModel("labelLine"),k=w.get("length");k=_i(k,u);var S=w.get("length2");if(S=_i(S,u),Math.abs(p.endAngle-p.startAngle)<o)return X(d.states,h),void(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}(d)){var M,I,T,C,D=(p.startAngle+p.endAngle)/2,A=Math.cos(D),L=Math.sin(D);e=p.cx,n=p.cy;var P,z="inside"===y||"inner"===y;if("center"===y)M=p.cx,I=p.cy,C="center";else{var O=(z?(p.r+p.r0)/2*A:p.r*A)+e,R=(z?(p.r+p.r0)/2*L:p.r*L)+n;if(M=O+3*A,I=R+3*L,!z){var N=O+A*(k+s-p.r),E=R+L*(k+s-p.r),B=N+(A<0?-1:1)*S;M="edge"===b?A<0?c+x:c+u-x:B+(A<0?-v:v),I=E,T=[[O,R],[N,E],[B,E]]}C=z?"center":"edge"===b?A>0?"right":"left":A>0?"left":"right"}var V=m.get("rotate");if("number"==typeof V)P=V*(Math.PI/180);else if("center"===y)P=0;else{var F=A<0?-D+Math.PI:-D;"radial"===V||!0===V?P=F:"tangential"===V&&"outside"!==y&&"outer"!==y?(P=F+Math.PI/2)>Math.PI/2&&(P-=Math.PI):P=0}if(r=!!P,d.x=M,d.y=I,d.rotation=P,d.setStyle({verticalAlign:"middle"}),z){d.setStyle({align:C});var G=d.states.select;G&&(G.x+=d.x,G.y+=d.y)}else{var H=d.getBoundingRect().clone();H.applyTransform(d.getComputedTransform());var W=(d.style.margin||0)+2.1;H.y-=W/2,H.height+=W,i.push({label:d,labelLine:f,position:y,len:k,len2:S,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new La(A,L),linePoints:T,textAlign:C,labelDistance:v,labelAlignTo:b,edgeDistance:x,bleedMargin:_,rect:H})}l.setTextConfig({inside:z})}})),!r&&t.get("avoidLabelOverlap")&&function(t,e,n,a,i,r,o,l){for(var s=[],u=[],c=Number.MAX_VALUE,p=-Number.MAX_VALUE,d=0;d<t.length;d++){var h=t[d].label;US(t[d])||(h.x<e?(c=Math.min(c,h.x),s.push(t[d])):(p=Math.max(p,h.x),u.push(t[d])))}for(WS(u,e,n,a,1,0,r,0,l,p),WS(s,e,n,a,-1,0,r,0,l,c),d=0;d<t.length;d++){var f=t[d];if(h=f.label,!US(f)){var g=f.linePoints;if(g){var m="edge"===f.labelAlignTo,y=f.rect.width,v=void 0;(v=m?h.x<e?g[2][0]-f.labelDistance-o-f.edgeDistance:o+i-f.edgeDistance-g[2][0]-f.labelDistance:h.x<e?h.x-o-f.bleedMargin:o+i-h.x-f.bleedMargin)<f.rect.width&&(f.label.style.width=v,"edge"===f.labelAlignTo&&(y=v));var b=g[1][0]-g[2][0];m?h.x<e?g[2][0]=o+f.edgeDistance+y+f.labelDistance:g[2][0]=o+i-f.edgeDistance-y-f.labelDistance:(h.x<e?g[2][0]=h.x+f.labelDistance:g[2][0]=h.x-f.labelDistance,g[1][0]=g[2][0]+b),g[1][1]=g[2][1]=h.y}}}}(i,e,n,s,u,d,c,p);for(var f=0;f<i.length;f++){var g=i[f],m=g.label,y=g.labelLine,v=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),v&&(X(m.states,h),m.ignore=!0);var b=m.states.select;b&&(b.x+=m.x,b.y+=m.y)}if(y){var x=g.linePoints;v||!x?(X(y.states,h),y.ignore=!0):(Q_(x,g.minTurnAngle),tw(x,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new La(x[0][0],x[0][1])})}}}function XS(t,e,n){var a=t.get("borderRadius");return null==a?n?{innerCornerRadius:0,cornerRadius:0}:null:(tt(a)||(a=[a,a]),{innerCornerRadius:$a(a[0],e.r0),cornerRadius:$a(a[1],e.r)})}var ZS=function(t){function e(e,n,a){var i=t.call(this)||this;i.z2=2;var r=new ts;return i.setTextContent(r),i.updateData(e,n,a,!0),i}return u(e,t),e.prototype.updateData=function(t,e,n,a){var i=this,r=t.hostModel,o=t.getItemModel(e),l=o.getModel("emphasis"),s=t.getItemLayout(e),u=V(XS(o.getModel("itemStyle"),s,!0),s);if(isNaN(u.startAngle))i.setShape(u);else{if(a)i.setShape(u),"scale"===r.getShallow("animationType")?(i.shape.r=s.r0,Dc(i,{shape:{r:s.r}},r,e)):null!=n?(i.setShape({startAngle:n,endAngle:n}),Dc(i,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},r,e)):(i.shape.endAngle=s.startAngle,Cc(i,{shape:{endAngle:s.endAngle}},r,e));else Oc(i),Cc(i,{shape:u},r,e);i.useStyle(t.getItemVisual(e,"style")),js(i,o);var p=(s.startAngle+s.endAngle)/2,d=r.get("selectedOffset"),h=Math.cos(p)*d,f=Math.sin(p)*d,g=o.getShallow("cursor");g&&i.attr("cursor",g),this._updateLabel(r,t,e),i.ensureState("emphasis").shape=c({r:s.r+(l.get("scale")&&l.get("scaleSize")||0)},XS(l.getModel("itemStyle"),s)),V(i.ensureState("select"),{x:h,y:f,shape:XS(o.getModel(["select","itemStyle"]),s)}),V(i.ensureState("blur"),{shape:XS(o.getModel(["blur","itemStyle"]),s)});var m=i.getTextGuideLine(),y=i.getTextContent();m&&V(m.ensureState("select"),{x:h,y:f}),V(y.ensureState("select"),{x:h,y:f}),Us(this,l.get("focus"),l.get("blurScope"))}},e.prototype._updateLabel=function(t,e,n){var a=this,i=e.getItemModel(n),r=i.getModel("labelLine"),o=e.getItemVisual(n,"style"),l=o&&o.fill,s=o&&o.opacity;pp(a,dp(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:s,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=a.getTextContent();a.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)a.removeTextGuideLine();else{var p=this.getTextGuideLine();p||(p=new $u,this.setTextGuideLine(p)),aw(this,iw(i),{stroke:l,opacity:gt(r.get(["lineStyle","opacity"]),s,1)})}},e}(Fu),jS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return u(e,t),e.prototype.init=function(){var t=new pi;this._sectorGroup=t},e.prototype.render=function(t,e,n,a){var i,r=t.getData(),o=this._data,l=this.group;if(!o&&r.count()>0){for(var s=r.getItemLayout(0),u=1;isNaN(s&&s.startAngle)&&u<r.count();++u)s=r.getItemLayout(u);s&&(i=s.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),0===r.count()&&t.get("showEmptyCircle")){var c=new Fu({shape:VS(t,n)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,l.add(c)}r.diff(o).add((function(t){var e=new ZS(r,t,i);r.setItemGraphicEl(t,e),l.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(r,t,i),n.off("click"),l.add(n),r.setItemGraphicEl(t,n)})).remove((function(e){zc(o.getItemGraphicEl(e),t,e)})).execute(),YS(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=r)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var a=t[0]-n.cx,i=t[1]-n.cy,r=Math.sqrt(a*a+i*i);return r<=n.r&&r>=n.r0}},e.type="pie",e}(Eg);function qS(t,e,n){e=tt(e)&&{coordDimensions:e}||V({encodeDefine:t.getEncode()},e);var a=t.getSource(),i=tx(a,e).dimensions,r=new Qb(i,t);return r.initData(a,n),r}var KS=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}(),$S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new KS(J(this.getData,this),J(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return qS(this,{coordDimensions:["value"],encodeDefaulter:Q(ch,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),a=t.prototype.getDataParams.call(this,e),i=[];return n.each(n.mapDimension("value"),(function(t){i.push(t)})),a.percent=Ti(i,e,n.hostModel.get("percentPrecision")),a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){ji(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={zlevel:0,z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,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}(Mg);var JS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return u(e,t),e.prototype.getInitialData=function(t,e){return sx(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.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,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}(Mg),QS=function(){},tM=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new QS},e.prototype.buildPath=function(t,e){var n=e.points,a=e.size,i=this.symbolProxy,r=i.shape,o=t.getContext?t.getContext():t;if(o&&a[0]<4)this._ctx=o;else{this._ctx=null;for(var l=0;l<n.length;){var s=n[l++],u=n[l++];isNaN(s)||isNaN(u)||(this.softClipShape&&!this.softClipShape.contain(s,u)||(r.x=s-a[0]/2,r.y=u-a[1]/2,r.width=a[0],r.height=a[1],i.buildPath(t,r,!0)))}}},e.prototype.afterBrush=function(){var t=this.shape,e=t.points,n=t.size,a=this._ctx;if(a)for(var i=0;i<e.length;){var r=e[i++],o=e[i++];isNaN(r)||isNaN(o)||(this.softClipShape&&!this.softClipShape.contain(r,o)||a.fillRect(r-n[0]/2,o-n[1]/2,n[0],n[1]))}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,a=n.points,i=n.size,r=Math.max(i[0],4),o=Math.max(i[1],4),l=a.length/2-1;l>=0;l--){var s=2*l,u=a[s]-r/2,c=a[s+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return l}return-1},e}(Tl),eM=function(){function t(){this.group=new pi}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t,e){this.group.removeAll();var n=new tM({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},t.prototype.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),a=4*t.startIndex*2;e=new Float32Array(e.buffer,a,n)}t.setShape("points",e)}))}},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new Sc({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e,n){var a;this._incremental?(a=new tM,this._incremental.addDisplayable(a,!0)):((a=new tM({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(a)),a.setShape({points:e.getLayout("points")}),this._setCommon(a,e,!!this._incremental,n)},t.prototype._setCommon=function(t,e,n,a){var i=e.hostModel;a=a||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=a.clipShape||null,t.symbolProxy=Xm(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 l=e.getVisual("style"),s=l&&l.fill;if(s&&t.setColor(s),!n){var u=es(t);u.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){u.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(u.dataIndex=n+(t.startIndex||0))}))}},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),nM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=t.getData();this._updateSymbolDraw(a,t).updateData(a,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var a=t.getData();this._updateSymbolDraw(a,t).incrementalPrepareUpdate(a),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 a=t.getData();if(this.group.dirty(),!this._finished||a.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=lS("").reset(t,e,n);i.progress&&i.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,a=e.pipelineContext.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new eM:new Pk,this._isLargeDraw=a,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}(Eg),aM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Xd),iM=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",ur).models[0]},e.type="cartesian2dAxis",e}(Xd);U(iM,g_);var rM={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#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,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},oM=E({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},rM),lM=E({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}}},rM),sM={category:oM,value:lM,time:E({scale:!0,splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},lM),log:F({scale:!0,logBase:10},lM)},uM={value:1,category:1,time:1,log:1};function cM(t,e,n,a){X(uM,(function(i,r){var o=E(E({},sM[r],!0),a,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+r,n}return u(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=Gd(this),a=n?Wd(t):{};E(t,e.getTheme().get(r+"Axis")),E(t,this.getDefaultOption()),t.type=pM(t),n&&Hd(t,a,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=px.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."+r,n.defaultOption=o,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",pM)}function pM(t){return t.type||(t.data?"category":"value")}var dM=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(),q(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}(),hM=["x","y"];function fM(t){return"interval"===t.type||"time"===t.type}var gM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=hM,e}return u(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(fM(t)&&fM(e)){var n=t.getExtent(),a=e.getExtent(),i=this.dataToPoint([n[0],a[0]]),r=this.dataToPoint([n[1],a[1]]),o=n[1]-n[0],l=a[1]-a[0];if(o&&l){var s=(r[0]-i[0])/o,u=(r[1]-i[1])/l,c=i[0]-n[0]*s,p=i[1]-a[0]*u,d=this._transform=[s,0,0,u,c,p];this._invTransform=ga([],d)}}},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.dataToPoint=function(t,e,n){n=n||[];var a=t[0],i=t[1];if(this._transform&&null!=a&&isFinite(a)&&null!=i&&isFinite(i))return jt(n,t,this._transform);var r=this.getAxis("x"),o=this.getAxis("y");return n[0]=r.toGlobalCoord(r.dataToCoord(a,e)),n[1]=o.toGlobalCoord(o.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,a=this.getAxis("y").scale,i=n.getExtent(),r=a.getExtent(),o=n.parse(t[0]),l=a.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),l),Math.max(r[0],r[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return jt(n,t,this._invTransform);var a=this.getAxis("x"),i=this.getAxis("y");return n[0]=a.coordToData(a.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),a=Math.min(e[0],e[1]),i=Math.max(t[0],t[1])-n,r=Math.max(e[0],e[1])-a;return new Ga(n,a,i,r)},e}(dM),mM=function(t){function e(e,n,a,i,r){var o=t.call(this,e,n,a)||this;return o.index=0,o.type=i||"value",o.position=r||"bottom",o}return u(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}(z_);function yM(t,e,n){n=n||{};var a=t.coordinateSystem,i=e.axis,r={},o=i.getAxesOnZeroOf()[0],l=i.position,s=o?"onZero":l,u=i.dim,c=a.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=e.get("offset")||0,f="x"===u?[p[2]-h,p[3]+h]:[p[0]-h,p[1]+h];if(o){var g=o.toGlobalCoord(o.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}r.position=["y"===u?f[d[s]]:p[0],"x"===u?f[d[s]]:p[3]],r.rotation=Math.PI/2*("x"===u?0:1);r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,left:-1,right:1}[l],r.labelOffset=o?f[d[l]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),ht(n.labelInside,e.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var m=e.get(["axisLabel","rotate"]);return r.labelRotate="top"===s?-m:m,r.z2=1,r}function vM(t){return"cartesian2d"===t.get("coordinateSystem")}function bM(t){var e={xAxisModel:null,yAxisModel:null};return X(e,(function(n,a){var i=a.replace(/Model$/,""),r=t.getReferringComponents(i,ur).models[0];e[a]=r})),e}var xM=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=hM,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;this._updateScale(t,this.model),X(n.x,(function(t){l_(t.scale,t.model)})),X(n.y,(function(t){l_(t.scale,t.model)}));var a={};X(n.x,(function(t){wM(n,"y",t,a)})),X(n.y,(function(t){wM(n,"x",t,a)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),r=Vd(a,{width:e.getWidth(),height:e.getHeight()});this._rect=r;var o=this._axesList;function l(){X(o,(function(t){var e=t.isHorizontal(),n=e?[0,r.width]:[0,r.height],a=t.inverse?1:0;t.setExtent(n[a],n[1-a]),function(t,e){var n=t.getExtent(),a=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return a-t+e}}(t,e?r.x:r.y)}))}l(),i&&(X(o,(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 a,i,r=n.getExtent();i=n instanceof xx?n.count():(a=n.getTicks()).length;var o,l=t.getLabelModel(),s=u_(t),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var p=s(a?a[c]:{value:r[0]+c},c),d=p_(l.getTextRect(p),l.get("rotate")||0);o?o.union(d):o=d}return o}}(t);if(e){var n=t.isHorizontal()?"height":"width",a=t.model.get(["axisLabel","margin"]);r[n]-=e[n]+a,"top"===t.position?r.y+=e.height+a:"left"===t.position&&(r.x+=e.width+a)}}})),l()),X(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]}rt(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,i=this._coordsList;a<i.length;a++)if(i[a].getAxis("x").index===t||i[a].getAxis("y").index===e)return i[a]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.dataToPoint(n):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.pointToData(n):a.axis?a.axis.coordToData(a.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,a=t.seriesModel,i=t.xAxisModel||a&&a.getReferringComponents("xAxis",ur).models[0],r=t.yAxisModel||a&&a.getReferringComponents("yAxis",ur).models[0],o=t.gridModel,l=this._coordsList;if(a)H(l,e=a.coordinateSystem)<0&&(e=null);else if(i&&r)e=this.getCartesian(i.componentIndex,r.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(r)n=this.getAxis("y",r.componentIndex);else if(o){o.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 a=this,i=this,r={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function s(e){return function(n,a){if(_M(n,t)){var s=n.get("position");"x"===e?"top"!==s&&"bottom"!==s&&(s=r.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=r.left?"right":"left"),r[s]=!0;var u=new mM(e,s_(n),[0,0],n.get("type"),s),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=a,i._axesList.push(u),o[e][a]=u,l[e]++}}}this._axesMap=o,X(o.x,(function(e,n){X(o.y,(function(i,r){var o="x"+n+"y"+r,l=new gM(o);l.master=a,l.model=t,a._coordsMap[o]=l,a._coordsList.push(l),l.addAxis(e),l.addAxis(i)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){X(f_(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}X(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(vM(t)){var a=bM(t),i=a.xAxisModel,r=a.yAxisModel;if(!_M(i,e)||!_M(r,e))return;var o=this.getCartesian(i.componentIndex,r.componentIndex),l=t.getData(),s=o.getAxis("x"),u=o.getAxis("y");"list"===l.type&&(n(l,s),n(l,u))}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return X(this.getCartesians(),(function(a){var i=null!=t&&"auto"!==t?a.getAxis(t):a.getBaseAxis(),r=a.getOtherAxis(i);H(e,i)<0&&e.push(i),H(n,r)<0&&n.push(r)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var a=[];return e.eachComponent("grid",(function(i,r){var o=new t(i,e,n);o.name="grid_"+r,o.resize(i,n,!0),i.coordinateSystem=o,a.push(o)})),e.eachSeries((function(t){if(vM(t)){var e=bM(t),n=e.xAxisModel,a=e.yAxisModel,i=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=i.getCartesian(n.componentIndex,a.componentIndex)}})),a},t.dimensions=hM,t}();function _M(t,e){return t.getCoordSysModel()===e}function wM(t,e,n,a){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,r=t[e],o=n.model,l=o.get(["axisLine","onZero"]),s=o.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=s)kM(r[s])&&(i=r[s]);else for(var u in r)if(r.hasOwnProperty(u)&&kM(r[u])&&!a[c(r[u])]){i=r[u];break}i&&(a[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function kM(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],a=e[1];return!(n>0&&a>0||n<0&&a<0)}(t)}var SM=Math.PI,MM=function(){function t(t,e){this.group=new pi,this.opt=e,this.axisModel=t,F(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new pi({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!IM[t]},t.prototype.add=function(t){IM[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var a,i,r=Ai(e-t);return Li(r)?(i=n>0?"top":"bottom",a="center"):Li(r-SM)?(i=n>0?"bottom":"top",a="center"):(i="middle",a=r>0&&r<SM?n>0?"right":"left":n>0?"left":"right"),{rotation:r,textAlign:a,textVerticalAlign:i}},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}(),IM={axisLine:function(t,e,n,a){var i=e.get(["axisLine","show"]);if("auto"===i&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),i){var r=e.axis.getExtent(),o=a.transform,l=[r[0],0],s=[r[1],0];o&&(jt(l,l,o),jt(s,s,o));var u=V({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new ec({subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);"string"==typeof p&&(p=[p,p]),"string"!=typeof d&&"number"!=typeof d||(d=[d,d]);var h=jm(e.get(["axisLine","symbolOffset"])||0,d),f=d[0],g=d[1];X([{rotate:t.rotation+Math.PI/2,offset:h[0],r:0},{rotate:t.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],(function(e,a){if("none"!==p[a]&&null!=p[a]){var i=Xm(p[a],-f/2,-g/2,f,g,u.stroke,!0),r=e.r+e.offset;i.attr({rotation:e.rotate,x:l[0]+r*Math.cos(t.rotation),y:l[1]-r*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,a){var i=function(t,e,n,a){var i=n.axis,r=n.getModel("axisTick"),o=r.get("show");"auto"===o&&a.handleAutoShown&&(o=a.handleAutoShown("axisTick"));if(!o||i.scale.isBlank())return;for(var l=r.getModel("lineStyle"),s=a.tickDirection*r.get("length"),u=AM(i.getTicksCoords(),e.transform,s,F(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}(n,a,e,t),r=function(t,e,n,a){var i=n.axis;if(!ht(a.axisLabelShow,n.get(["axisLabel","show"]))||i.scale.isBlank())return;var r=n.getModel("axisLabel"),o=r.get("margin"),l=i.getViewLabels(),s=(ht(a.labelRotate,r.get("rotate"))||0)*SM/180,u=MM.innerTextLayout(a.rotation,s,a.labelDirection),c=n.getCategories&&n.getCategories(!0),p=[],d=MM.isLabelSilent(n),h=n.get("triggerEvent");return X(l,(function(l,s){var f="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(l.tickValue):l.tickValue,g=l.formattedLabel,m=l.rawLabel,y=r;if(c&&c[f]){var v=c[f];rt(v)&&v.textStyle&&(y=new Op(v.textStyle,r,n.ecModel))}var b=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=i.dataToCoord(f),_=new ts({x:x,y:a.labelOffset+a.labelDirection*o,rotation:u.rotation,silent:d,z2:10+(l.level||0),style:hp(y,{text:g,align:y.getShallow("align",!0)||u.textAlign,verticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||u.textVerticalAlign,fill:"function"==typeof b?b("category"===i.type?m:"value"===i.type?f+"":f,s):b})});if(_.anid="label_"+f,h){var w=MM.makeAxisEventDataBase(n);w.targetType="axisLabel",w.value=m,es(_).eventData=w}e.add(_),_.updateTransform(),p.push(_),t.add(_),_.decomposeTransform()})),p}(n,a,e,t);(function(t,e,n){if(h_(t.axis))return;var a=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);n=n||[];var r=(e=e||[])[0],o=e[1],l=e[e.length-1],s=e[e.length-2],u=n[0],c=n[1],p=n[n.length-1],d=n[n.length-2];!1===a?(TM(r),TM(u)):CM(r,o)&&(a?(TM(o),TM(c)):(TM(r),TM(u)));!1===i?(TM(l),TM(p)):CM(s,l)&&(i?(TM(s),TM(d)):(TM(l),TM(p)))}(e,r,i),function(t,e,n,a){var i=n.axis,r=n.getModel("minorTick");if(!r.get("show")||i.scale.isBlank())return;var o=i.getMinorTicksCoords();if(!o.length)return;for(var l=r.getModel("lineStyle"),s=a*r.get("length"),u=F(l.getLineStyle(),F(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var p=AM(o[c],e.transform,s,u,"minorticks_"+c),d=0;d<p.length;d++)t.add(p[d])}(n,a,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&sw(rw(Z(r,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,a){var i=ht(t.axisName,e.get("name"));if(i){var r,o,l=e.get("nameLocation"),s=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,p=e.axis.getExtent(),d=p[0]>p[1]?-1:1,h=["start"===l?p[0]-d*c:"end"===l?p[1]+d*c:(p[0]+p[1])/2,DM(l)?t.labelOffset+s*c:0],f=e.get("nameRotate");null!=f&&(f=f*SM/180),DM(l)?r=MM.innerTextLayout(t.rotation,null!=f?f:t.rotation,s):(r=function(t,e,n,a){var i,r,o=Ai(n-t),l=a[0]>a[1],s="start"===e&&!l||"start"!==e&&l;Li(o-SM/2)?(r=s?"bottom":"top",i="center"):Li(o-1.5*SM)?(r=s?"top":"bottom",i="center"):(r="middle",i=o<1.5*SM&&o>SM/2?s?"left":"right":s?"right":"left");return{rotation:o,textAlign:i,textVerticalAlign:r}}(t.rotation,l,f||0,p),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var g=u.getFont(),m=e.get("nameTruncate",!0)||{},y=m.ellipsis,v=ht(t.nameTruncateMaxWidth,m.maxWidth,o),b=new ts({x:h[0],y:h[1],rotation:r.rotation,silent:MM.isLabelSilent(e),style:hp(u,{text:i,font:g,overflow:"truncate",width:v,ellipsis:y,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||r.textAlign,verticalAlign:u.get("verticalAlign")||r.textVerticalAlign}),z2:1});if(op({el:b,componentModel:e,itemName:i}),b.__fullText=i,b.anid="name",e.get("triggerEvent")){var x=MM.makeAxisEventDataBase(e);x.targetType="axisName",x.name=i,es(b).eventData=x}a.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function TM(t){t&&(t.ignore=!0)}function CM(t,e){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var i=ua([]);return ha(i,i,-t.rotation),n.applyTransform(pa([],i,t.getLocalTransform())),a.applyTransform(pa([],i,e.getLocalTransform())),n.intersect(a)}}function DM(t){return"middle"===t||"center"===t}function AM(t,e,n,a,i){for(var r=[],o=[],l=[],s=0;s<t.length;s++){var u=t[s].coord;o[0]=u,o[1]=0,l[0]=u,l[1]=n,e&&(jt(o,o,e),jt(l,l,e));var c=new ec({subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:l[0],y2:l[1]},style:a,z2:2,autoBatch:!0,silent:!0});c.anid=i+"_"+t[s].tickValue,r.push(c)}return r}function LM(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var a=e.getComponent("tooltip"),i=e.getComponent("axisPointer"),r=i.get("link",!0)||[],o=[];X(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var l=NM(n.model),s=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=n;var u=n.model.getModel("tooltip",a);if(X(n.getAxes(),Q(h,!1,null)),n.getTooltipAxes&&a&&u.get("show")){var c="axis"===u.get("trigger"),p="cross"===u.get(["axisPointer","type"]),d=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||p)&&X(d.baseAxes,Q(h,!p||"cross",c)),p&&X(d.otherAxes,Q(h,"cross",!1))}}function h(a,l,c){var p=c.model.getModel("axisPointer",i),d=p.get("show");if(d&&("auto"!==d||a||RM(p))){null==l&&(l=p.get("triggerTooltip")),p=a?function(t,e,n,a,i,r){var o=e.getModel("axisPointer"),l={};X(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){l[t]=N(o.get(t))})),l.snap="category"!==t.type&&!!r,"cross"===o.get("type")&&(l.type="line");var s=l.label||(l.label={});if(null==s.show&&(s.show=!1),"cross"===i){var u=o.get(["label","show"]);if(s.show=null==u||u,!r){var c=l.lineStyle=o.get("crossStyle");c&&F(s,c.textStyle)}}return t.model.getModel("axisPointer",new Op(l,n,a))}(c,u,i,e,a,l):p;var h=p.get("snap"),f=NM(c.model),g=l||h||"category"===c.type,m=t.axesInfo[f]={key:f,axis:c,coordSys:n,axisPointerModel:p,triggerTooltip:l,involveSeries:g,snap:h,useHandle:RM(p),seriesModels:[],linkGroup:null};s[f]=m,t.seriesInvolved=t.seriesInvolved||g;var y=function(t,e){for(var n=e.model,a=e.dim,i=0;i<t.length;i++){var r=t[i]||{};if(PM(r[a+"AxisId"],n.id)||PM(r[a+"AxisIndex"],n.componentIndex)||PM(r[a+"AxisName"],n.name))return i}}(r,c);if(null!=y){var v=o[y]||(o[y]={axesInfo:{}});v.axesInfo[f]=m,v.mapper=r[y].mapper,m.linkGroup=v}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,a=e.get(["tooltip","trigger"],!0),i=e.get(["tooltip","show"],!0);n&&"none"!==a&&!1!==a&&"item"!==a&&!1!==i&&!1!==e.get(["axisPointer","show"],!0)&&X(t.coordSysAxesInfo[NM(n.model)],(function(t){var a=t.axis;n.getAxis(a.dim)===a&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function PM(t,e){return"all"===t||tt(t)&&H(t,e)>=0||t===e}function zM(t){var e=OM(t);if(e){var n=e.axisPointerModel,a=e.axis.scale,i=n.option,r=n.get("status"),o=n.get("value");null!=o&&(o=a.parse(o));var l=RM(n);null==r&&(i.status=l?"show":"hide");var s=a.getExtent().slice();s[0]>s[1]&&s.reverse(),(null==o||o>s[1])&&(o=s[1]),o<s[0]&&(o=s[0]),i.value=o,l&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function OM(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[NM(t)]}function RM(t){return!!t.get(["handle","show"])}function NM(t){return t.type+"||"+t.id}var EM={},BM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(e,n,a,i){this.axisPointerClass&&zM(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,a,!0)},e.prototype.updateAxisPointer=function(t,e,n,a){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,a){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var r=function(t){var e=OM(t);return e&&e.axisPointerModel}(t);r?(this._axisPointer||(this._axisPointer=new i)).render(t,r,n,a):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){EM[t]=e},e.getAxisPointerClass=function(t){return t&&EM[t]},e.type="axis",e}(zg),VM=rr();function FM(t,e,n,a){var i=n.axis;if(!i.scale.isBlank()){var r=n.getModel("splitArea"),o=r.getModel("areaStyle"),l=o.get("color"),s=a.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:r,clamp:!0});if(u.length){var c=l.length,p=VM(t).splitAreaColors,d=St(),h=0;if(p)for(var f=0;f<u.length;f++){var g=p.get(u[f].tickValue);if(null!=g){h=(g+(c-1)*f)%c;break}}var m=i.toGlobalCoord(u[0].coord),y=o.getAreaStyle();l=tt(l)?l:[l];for(f=1;f<u.length;f++){var v=i.toGlobalCoord(u[f].coord),b=void 0,x=void 0,_=void 0,w=void 0;i.isHorizontal()?(b=m,x=s.y,_=v-b,w=s.height,m=b+_):(b=s.x,x=m,_=s.width,m=x+(w=v-x));var k=u[f-1].tickValue;null!=k&&d.set(k,h),e.add(new Hl({anid:null!=k?"area_"+k:null,shape:{x:b,y:x,width:_,height:w},style:F({fill:l[h]},y),autoBatch:!0,silent:!0})),h=(h+1)%c}VM(t).splitAreaColors=d}}}function GM(t){VM(t).splitAreaColors=null}var HM=["axisLine","axisTickLabel","axisName"],WM=["splitArea","splitLine","minorSplitLine"],UM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return u(e,t),e.prototype.render=function(e,n,a,i){this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new pi,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),l=yM(o,e),s=new MM(e,V({handleAutoShown:function(t){for(var n=o.coordinateSystem.getCartesians(),a=0;a<n.length;a++){var i=n[a].getOtherAxis(e.axis).type;if("value"===i||"log"===i)return!0}return!1}},l));X(HM,s.add,s),this._axisGroup.add(s.getGroup()),X(WM,(function(t){e.get([t,"show"])&&YM[t](this,this._axisGroup,e,o)}),this),i&&"changeAxisOrder"===i.type&&i.isInitSort||Qc(r,this._axisGroup,e),t.prototype.render.call(this,e,n,a,i)}},e.prototype.remove=function(){GM(this)},e.type="cartesianAxis",e}(BM),YM={splitLine:function(t,e,n,a){var i=n.axis;if(!i.scale.isBlank()){var r=n.getModel("splitLine"),o=r.getModel("lineStyle"),l=o.get("color");l=tt(l)?l:[l];for(var s=a.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,p=i.getTicksCoords({tickModel:r}),d=[],h=[],f=o.getLineStyle(),g=0;g<p.length;g++){var m=i.toGlobalCoord(p[g].coord);u?(d[0]=m,d[1]=s.y,h[0]=m,h[1]=s.y+s.height):(d[0]=s.x,d[1]=m,h[0]=s.x+s.width,h[1]=m);var y=c++%l.length,v=p[g].tickValue;e.add(new ec({anid:null!=v?"line_"+p[g].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:h[0],y2:h[1]},style:F({stroke:l[y]},f),silent:!0}))}}},minorSplitLine:function(t,e,n,a){var i=n.axis,r=n.getModel("minorSplitLine").getModel("lineStyle"),o=a.coordinateSystem.getRect(),l=i.isHorizontal(),s=i.getMinorTicksCoords();if(s.length)for(var u=[],c=[],p=r.getLineStyle(),d=0;d<s.length;d++)for(var h=0;h<s[d].length;h++){var f=i.toGlobalCoord(s[d][h].coord);l?(u[0]=f,u[1]=o.y,c[0]=f,c[1]=o.y+o.height):(u[0]=o.x,u[1]=f,c[0]=o.x+o.width,c[1]=f),e.add(new ec({anid:"minor_line_"+s[d][h].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:p,silent:!0}))}},splitArea:function(t,e,n,a){FM(t,e,n,a)}},XM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="xAxis",e}(UM),ZM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=XM.type,e}return u(e,t),e.type="yAxis",e}(UM),jM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return u(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new Hl({shape:t.coordinateSystem.getRect(),style:F({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(zg),qM={offset:0};function KM(t){t.registerComponentView(jM),t.registerComponentModel(aM),t.registerCoordinateSystem("cartesian2d",xM),cM(t,"x",iM,qM),cM(t,"y",iM,qM),t.registerComponentView(XM),t.registerComponentView(ZM),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function $M(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],a=t.coordinateSystem;if(a){var i=a.getIndicatorAxes();X(i,(function(t,r){e.each(e.mapDimension(i[r].dim),(function(t,e){n[e]=n[e]||[];var i=a.dataToPoint(t,r);n[e][r]=JM(i)?i:QM(a)}))})),e.each((function(t){var i=K(n[t],(function(t){return JM(t)}))||QM(a);n[t].push(i.slice()),e.setItemLayout(t,n[t])}))}}))}function JM(t){return!isNaN(t[0])&&!isNaN(t[1])}function QM(t){return[t.cx,t.cy]}function tI(t){var e=t.polar;if(e){tt(e)||(e=[e]);var n=[];X(e,(function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],tt(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}X(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var eI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=t.coordinateSystem,i=this.group,r=t.getData(),o=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var a=Zm(t.getItemVisual(e,"symbolSize")),i=Xm(n,-1,-1,2,2),r=t.getItemVisual(e,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:a[0]/2,scaleY:a[1]/2,rotation:r*Math.PI/180||0}),i}}function s(e,n,a,i,r,o){a.removeAll();for(var s=0;s<n.length-1;s++){var u=l(i,r);u&&(u.__dimIdx=s,e[s]?(u.setPosition(e[s]),lp[o?"initProps":"updateProps"](u,{x:n[s][0],y:n[s][1]},t,r)):u.setPosition(n[s]),a.add(u))}}function u(t){return Z(t,(function(t){return[a.cx,a.cy]}))}r.diff(o).add((function(e){var n=r.getItemLayout(e);if(n){var a=new ju,i=new $u,o={shape:{points:n}};a.shape.points=u(n),i.shape.points=u(n),Dc(a,o,t,e),Dc(i,o,t,e);var l=new pi,c=new pi;l.add(i),l.add(a),l.add(c),s(i.shape.points,n,c,r,e,!0),r.setItemGraphicEl(e,l)}})).update((function(e,n){var a=o.getItemGraphicEl(n),i=a.childAt(0),l=a.childAt(1),u=a.childAt(2),c={shape:{points:r.getItemLayout(e)}};c.shape.points&&(s(i.shape.points,c.shape.points,u,r,e,!1),Oc(l),Oc(i),Cc(i,c,t),Cc(l,c,t),r.setItemGraphicEl(e,a))})).remove((function(t){i.remove(o.getItemGraphicEl(t))})).execute(),r.eachItemGraphicEl((function(t,e){var n=r.getItemModel(e),a=t.childAt(0),o=t.childAt(1),l=t.childAt(2),s=r.getItemVisual(e,"style"),u=s.fill;i.add(t),a.useStyle(F(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),js(a,n,"lineStyle"),js(o,n,"areaStyle");var c=n.getModel("areaStyle"),p=c.isEmpty()&&c.parentModel.isEmpty();o.ignore=p,X(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),a=e.isEmpty()&&e.parentModel.isEmpty();o.ensureState(t).ignore=a&&p})),o.useStyle(F(c.getAreaStyle(),{fill:u,opacity:.7,decal:s.decal}));var d=n.getModel("emphasis"),h=d.getModel("itemStyle").getItemStyle();l.eachChild((function(t){if(t instanceof Ol){var a=t.style;t.useStyle(V({image:a.image,x:a.x,y:a.y,width:a.width,height:a.height},s))}else t.useStyle(s),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=N(h);var i=r.getStore().get(r.getDimensionIndex(t.__dimIdx),e);(null==i||isNaN(i))&&(i=""),pp(t,dp(n),{labelFetcher:r.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:i,inheritColor:u,defaultOpacity:s.opacity})})),Us(t,d.get("focus"),d.get("blurScope"))})),this._data=r},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Eg),nI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return u(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new KS(J(this.getData,this),J(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return qS(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),r=this.getData().getName(t),o=""===r?this.name:r,l=bg(this,t);return dg("section",{header:o,sortBlocks:!0,blocks:Z(i,(function(e){var n=a.get(a.mapDimension(e.dim),t);return dg("nameValue",{markerType:"subItem",markerColor:l,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,a=e.getValues(Z(n.dimensions,(function(t){return e.mapDimension(t)})),t),i=0,r=a.length;i<r;i++)if(!isNaN(a[i])){var o=n.getIndicatorAxes();return n.coordToPoint(o[i].dataToCoord(a[i]),i)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={zlevel:0,z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Mg),aI=sM.value;function iI(t,e){return F({show:e},t)}var rI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),a=this.get("axisLine"),i=this.get("axisTick"),r=this.get("axisLabel"),o=this.get("axisName"),l=this.get(["axisName","show"]),s=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),p=Z(this.get("indicator")||[],(function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var d=o;null!=p.color&&(d=F({color:p.color},o));var h=E(N(p),{boundaryGap:t,splitNumber:e,scale:n,axisLine:a,axisTick:i,axisLabel:r,name:p.text,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:c},!1);if(l||(h.name=""),"string"==typeof s){var f=h.name;h.name=s.replace("{value}",null!=f?f:"")}else"function"==typeof s&&(h.name=s(h.name,h));var g=new Op(h,null,this.ecModel);return U(g,g_.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=p},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:E({lineStyle:{color:"#bbb"}},aI.axisLine),axisLabel:iI(aI.axisLabel,!1),axisTick:iI(aI.axisTick,!1),splitLine:iI(aI.splitLine,!0),splitArea:iI(aI.splitArea,!0),indicator:[]},e}(Xd),oI=["axisLine","axisTickLabel","axisName"],lI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(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;X(Z(e.getIndicatorAxes(),(function(t){return new MM(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){X(oI,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 a=t.get("shape"),i=t.getModel("splitLine"),r=t.getModel("splitArea"),o=i.getModel("lineStyle"),l=r.getModel("areaStyle"),s=i.get("show"),u=r.get("show"),c=o.get("color"),p=l.get("color"),d=tt(c)?c:[c],h=tt(p)?p:[p],f=[],g=[];if("circle"===a)for(var m=n[0].getTicksCoords(),y=e.cx,v=e.cy,b=0;b<m.length;b++){if(s)f[T(f,d,b)].push(new _u({shape:{cx:y,cy:v,r:m[b].coord}}));if(u&&b<m.length-1)g[T(g,h,b)].push(new Wu({shape:{cx:y,cy:v,r0:m[b].coord,r:m[b+1].coord}}))}else{var x,_=Z(n,(function(t,n){var a=t.getTicksCoords();return x=null==x?a.length-1:Math.min(a.length-1,x),Z(a,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(b=0;b<=x;b++){for(var k=[],S=0;S<n.length;S++)k.push(_[S][b]);if(k[0]&&k.push(k[0].slice()),s)f[T(f,d,b)].push(new $u({shape:{points:k}}));if(u&&w)g[T(g,h,b-1)].push(new ju({shape:{points:k.concat(w)}}));w=k.slice().reverse()}}var M=o.getLineStyle(),I=l.getAreaStyle();X(g,(function(t,e){this.group.add(Xc(t,{style:F({stroke:"none",fill:h[e%h.length]},I),silent:!0}))}),this),X(f,(function(t,e){this.group.add(Xc(t,{style:F({fill:"none",stroke:d[e%d.length]},M),silent:!0}))}),this)}function T(t,e,n){var a=n%e.length;return t[a]=t[a]||[],a}},e.type="radar",e}(zg),sI=function(t){function e(e,n,a){var i=t.call(this,e,n,a)||this;return i.type="value",i.angle=0,i.name="",i}return u(e,t),e}(z_),uI=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=Z(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,a=new sI(n,new kx);return a.name=t.get("name"),a.model=t,t.axis=a,this.dimensions.push(n),a}),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,a=Math.sqrt(e*e+n*n);e/=a,n/=a;for(var i,r=Math.atan2(-n,e),o=1/0,l=-1,s=0;s<this._indicatorAxes.length;s++){var u=this._indicatorAxes[s],c=Math.abs(r-u.angle);c<o&&(i=u,l=s,o=c)}return[l,+(i&&i.coordToData(a))]},t.prototype.resize=function(t,e){var n=t.get("center"),a=e.getWidth(),i=e.getHeight(),r=Math.min(a,i)/2;this.cx=_i(n[0],a),this.cy=_i(n[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var o=t.get("radius");"string"!=typeof o&&"number"!=typeof o||(o=[0,o]),this.r0=_i(o[0],r),this.r=_i(o[1],r),X(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,a=this._model;X(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,i){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===a){var r=e.getData();X(n,(function(t){t.scale.unionExtentFromData(r,r.mapDimension(t.dim))}))}}),this);var i=a.get("splitNumber");function r(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}X(n,(function(t,e){var n=o_(t.scale,t.model).extent;l_(t.scale,t.model);var a=t.model,o=t.scale,l=r_(o,a.get("min",!0)),s=r_(o,a.get("max",!0)),u=o.getInterval();if(null!=l&&null!=s)o.setExtent(+l,+s),o.setInterval((s-l)/i);else if(null!=l){var c=void 0;do{c=l+u*i,o.setExtent(+l,c),o.setInterval(u),u=r(u)}while(c<n[1]&&isFinite(c)&&isFinite(n[1]))}else if(null!=s){var p=void 0;do{p=s-u*i,o.setExtent(p,+s),o.setInterval(u),u=r(u)}while(p>n[0]&&isFinite(p)&&isFinite(n[0]))}else{o.getTicks().length-1>i&&(u=r(u));p=wi((c=Math.ceil(n[1]/u)*u)-u*i);o.setExtent(p,c),o.setInterval(u)}}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var a=[];return e.eachComponent("radar",(function(i){var r=new t(i,e,n);a.push(r),i.coordinateSystem=r})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("radarIndex")||0])})),a},t.dimensions=[],t}();function cI(t){t.registerCoordinateSystem("radar",uI),t.registerComponentModel(rI),t.registerComponentView(lI),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 pI="\0_ec_interaction_mutex";function dI(t,e){return!!hI(t)[e]}function hI(t){return t[pI]||(t[pI]={})}gb({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){}));var fI=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var a=J(n._mousedownHandler,n),i=J(n._mousemoveHandler,n),r=J(n._mouseupHandler,n),o=J(n._mousewheelHandler,n),l=J(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=F(N(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",a),e.on("mousemove",i),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",o),e.on("pinch",l))},n.disable=function(){e.off("mousedown",a),e.off("mousemove",i),e.off("mouseup",r),e.off("mousewheel",o),e.off("pinch",l)},n}return u(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(!(ve(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&yI("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!dI(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,a=this._x,i=this._y,r=e-a,o=n-i;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&ye(t.event),mI(this,"pan","moveOnMouseMove",t,{dx:r,dy:o,oldX:a,oldY:i,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){ve(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=yI("zoomOnMouseWheel",t,this._opt),n=yI("moveOnMouseWheel",t,this._opt),a=t.wheelDelta,i=Math.abs(a),r=t.offsetX,o=t.offsetY;if(0!==a&&(e||n)){if(e){var l=i>3?1.4:i>1?1.2:1.1;gI(this,"zoom","zoomOnMouseWheel",t,{scale:a>0?l:1/l,originX:r,originY:o,isAvailableBehavior:null})}if(n){var s=Math.abs(a);gI(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(a>0?1:-1)*(s>3?.4:s>1?.15:.05),originX:r,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){dI(this._zr,"globalPan")||gI(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(ne);function gI(t,e,n,a,i){t.pointerChecker&&t.pointerChecker(a,i.originX,i.originY)&&(ye(a.event),mI(t,e,n,a,i))}function mI(t,e,n,a,i){i.isAvailableBehavior=J(yI,null,n,a),t.trigger(e,i)}function yI(t,e,n){var a=n[t];return!t||a&&(!nt(a)||e.event[a+"Key"])}function vI(t,e,n){var a=t.target;a.x+=e,a.y+=n,a.dirty()}function bI(t,e,n,a){var i=t.target,r=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,r){var l=r.min||0,s=r.max||1/0;o=Math.max(Math.min(s,o),l)}var u=o/t.zoom;t.zoom=o,i.x-=(n-i.x)*(u-1),i.y-=(a-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var xI={axisPointer:1,tooltip:1,brush:1};function _I(t,e,n){var a=e.getComponentByElement(t.topTarget),i=a&&a.coordinateSystem;return a&&a!==n&&!xI.hasOwnProperty(a.mainType)&&i&&i.model!==n}var wI=["rect","circle","line","ellipse","polygon","polyline","path"],kI=St(wI),SI=St(wI.concat(["g"])),MI=St(wI.concat(["g"])),II=rr();function TI(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}var CI=function(){function t(t){var e=new pi;this.uid=Np("ec_map_draw"),this._controller=new fI(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new pi),e.add(this._svgGroup=new pi)}return t.prototype.draw=function(t,e,n,a,i){var r="geo"===t.mainType,o=t.getData&&t.getData();r&&e.eachComponent({mainType:"series",subType:"map"},(function(e){o||e.getHostGeoModel()!==t||(o=e.getData())}));var l=t.coordinateSystem,s=this._regionsGroup,u=this.group,c=l.getTransformInfo(),p=c.raw,d=c.roam;!s.childAt(0)||i?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):Cc(u,d,t);var h=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0,f={api:n,geo:l,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:h,isGeo:r,transformInfoRaw:p};"geoJSON"===l.resourceType?this._buildGeoJSON(f):"geoSVG"===l.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,s,n,a)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=St(),n=St(),a=this._regionsGroup,i=t.transformInfoRaw,r=t.mapOrGeoModel,o=t.data,l=function(t){return[t[0]*i.scaleX+i.x,t[1]*i.scaleY+i.y]};a.removeAll(),X(t.geo.regions,(function(i){var s=i.name,u=e.get(s),c=n.get(s)||{},p=c.dataIdx,d=c.regionModel;u||(u=e.set(s,new pi),a.add(u),p=o?o.indexOfName(s):null,d=t.isGeo?r.getRegionModel(s):o?o.getItemModel(p):null,n.set(s,{dataIdx:p,regionModel:d}));var h=new pc({segmentIgnoreThreshold:1,shape:{paths:[]}});u.add(h),X(i.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(l(t.exterior[n]));h.shape.paths.push(new ju({segmentIgnoreThreshold:1,shape:{points:e}}));for(n=0;n<(t.interiors?t.interiors.length:0);++n){for(var a=t.interiors[n],i=[],r=0;r<a.length;++r)i.push(l(a[r]));h.shape.paths.push(new ju({segmentIgnoreThreshold:1,shape:{points:i}}))}}})),DI(t,h,p,d),h instanceof Qr&&(h.culling=!0);var f=l(i.getCenter());AI(t,h,s,d,r,p,f)})),e.each((function(e,a){var i=n.get(a),o=i.dataIdx,l=i.regionModel;LI(t,e,a,l,r,o),PI(t,e,a,l,r),zI(t,e,a,l,r)}),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 a=this._svgDispatcherMap=St(),i=!1;X(this._svgGraphicRecord.named,(function(e){var n=e.name,r=t.mapOrGeoModel,o=t.data,l=e.svgNodeTagLower,s=e.el,u=o?o.indexOfName(n):null,c=r.getRegionModel(n);(null!=kI.get(l)&&s instanceof Qr&&DI(t,s,u,c),s instanceof Qr&&(s.culling=!0),s.z2EmphasisLift=0,e.namedFrom)||(null!=MI.get(l)&&AI(t,s,n,c,r,u,null),LI(t,s,n,c,r,u),PI(t,s,n,c,r),null!=SI.get(l)&&("self"===zI(t,s,n,c,r)&&(i=!0),(a.get(n)||a.set(n,[])).push(s)))}),this),this._enableBlurEntireSVG(i,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){Cs(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 a=this._regionsGroupByName;if(a){var i=a.get(t);return i?[i]:[]}}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=pv(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=pv(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 a=t.coordinateSystem,i=this._controller,r=this._controllerHost;r.zoomLimit=t.get("scaleLimit"),r.zoom=a.getZoom(),i.enable(t.get("roam")||!1);var o=t.mainType;function l(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}i.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,vI(r,t.dx,t.dy),n.dispatchAction(V(l(),{dx:t.dx,dy:t.dy}))}),this),i.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,bI(r,t.scale,t.originX,t.originY),n.dispatchAction(V(l(),{zoom:t.scale,originX:t.originX,originY:t.originY}))}),this),i.setPointerChecker((function(e,i,r){return a.containPoint([i,r])&&!_I(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=II(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,a){var i=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){i._mouseDownFlag=!0})),e.on("click",(function(t){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},t}();function DI(t,e,n,a){var i=a.getModel("itemStyle"),r=a.getModel(["emphasis","itemStyle"]),o=a.getModel(["blur","itemStyle"]),l=a.getModel(["select","itemStyle"]),s=TI(i),u=TI(r),c=TI(l),p=TI(o),d=t.data;if(d){var h=d.getItemVisual(n,"style"),f=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&h.fill&&(s.fill=h.fill),f&&(s.decal=vy(f,t.api))}e.setStyle(s),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=p,Cs(e)}function AI(t,e,n,a,i,r,o){var l=t.data,s=t.isGeo,u=l&&isNaN(l.get(l.mapDimension("value"),r)),c=l&&l.getItemLayout(r);if(s||u||c&&c.showLabel){var p=s?n:r,d=void 0;(!l||r>=0)&&(d=i);var h=o?{normal:{align:"center",verticalAlign:"middle"}}:null;pp(e,dp(a),{labelFetcher:d,labelDataIndex:p,defaultText:n},h);var f=e.getTextContent();if(f&&(II(f).ignore=f.ignore,e.textConfig&&o)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(o[0]-g.x)/g.width*100+"%",(o[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function LI(t,e,n,a,i,r){t.data?t.data.setItemGraphicEl(r,e):es(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:a&&a.option||{}}}function PI(t,e,n,a,i){t.data||op({el:e,componentModel:i,itemName:n,itemTooltipOption:a.get("tooltip")})}function zI(t,e,n,a,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var r=a.getModel("emphasis"),o=r.get("focus");return Us(e,o,r.get("blurScope")),t.isGeo&&function(t,e,n){var a=es(t);a.componentMainType=e.mainType,a.componentIndex=e.componentIndex,a.componentHighDownName=n}(e,i,n),o}var OI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n,a){if(!a||"mapToggleSelect"!==a.type||a.from!==this.uid){var i=this.group;if(i.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&a&&"geoRoam"===a.type&&this._mapDraw.resetForLabelLayout(),a&&"geoRoam"===a.type&&"series"===a.componentType&&a.seriesId===t.id)(r=this._mapDraw)&&i.add(r.group);else if(t.needsDrawMap){var r=this._mapDraw||new CI(n);i.add(r.group),r.draw(t,e,n,this,a),this._mapDraw=r}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 a=t.originalData,i=this.group;a.each(a.mapDimension("value"),(function(e,n){if(!isNaN(e)){var r=a.getItemLayout(n);if(r&&r.point){var o=r.point,l=r.offset,s=new _u({style:{fill:t.getData().getVisual("style").fill},shape:{cx:o[0]+9*l,cy:o[1],r:3},silent:!0,z2:8+(l?0:11)});if(!l){var u=t.mainSeries.getData(),c=a.getName(n),p=u.indexOfName(c),d=a.getItemModel(n),h=d.getModel("label"),f=u.getItemGraphicEl(p);pp(s,dp(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(p,n)}}}),s.disableLabelAnimation=!0,h.get("position")||s.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){Is(s,t)}}i.add(s)}}}))},e.type="map",e}(Eg),RI=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,a=n.getRegion(e);return a&&n.dataToPoint(a.getCenter())}},n}return u(e,t),e.prototype.getInitialData=function(t){for(var e=qS(this,{coordDimensions:["value"],encodeDefaulter:Q(ch,this)}),n=St(),a=[],i=0,r=e.count();i<r;i++){var o=e.getName(i);n.set(o,!0)}return X(hv(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||a.push(e)})),e.appendValues([],a),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 a=this.getData(),i=this.getRawValue(t),r=a.getName(t),o=this.seriesGroup,l=[],s=0;s<o.length;s++){var u=o[s].originalData.indexOfName(r),c=a.mapDimension("value");isNaN(o[s].originalData.get(c,u))||l.push(o[s].name)}return dg("section",{header:l.join(", "),noHeader:!l.length,blocks:[dg("nameValue",{name:r,value:i})]})},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=Xm(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={zlevel:0,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}(Mg);function NI(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),a=n?"o"+n.id:"i"+t.getMapType();(e[a]=e[a]||[]).push(t)})),X(e,(function(t,e){for(var n,a,i,r=(n=Z(t,(function(t){return t.getData()})),a=t[0].get("mapValueCalculation"),i={},X(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var a="ec-"+t.getName(n);i[a]=i[a]||[],isNaN(e)||i[a].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var r="ec-"+n[0].getName(e),o=0,l=1/0,s=-1/0,u=i[r].length,c=0;c<u;c++)l=Math.min(l,i[r][c]),s=Math.max(s,i[r][c]),o+=i[r][c];return 0===u?NaN:"min"===a?l:"max"===a?s:"average"===a?o/u:o}))),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=0===o&&!t[o].getHostGeoModel(),t[o].setData(r.cloneShallow()),t[o].mainSeries=t[0]}))}function EI(t){var e={};t.eachSeriesByType("map",(function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!e[a]){var i={};X(n.seriesGroup,(function(e){var n=e.coordinateSystem,a=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&a.each(a.mapDimension("value"),(function(t,e){var r=a.getName(e),o=n.getRegion(r);if(o&&!isNaN(t)){var l=i[r]||0,s=n.dataToPoint(o.getCenter());i[r]=l+1,a.setItemLayout(e,{point:s,offset:l})}}))}));var r=n.getData();r.each((function(t){var e=r.getName(t),n=r.getItemLayout(t)||{};n.showLabel=!i[e],r.setItemLayout(t,n)})),e[a]=!0}}))}var BI=jt,VI=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Da,n._rawTransformable=new Da,n.name=e,n}return u(e,t),e.prototype.setBoundingRect=function(t,e,n,a){return this._rect=new Ga(t,e,n,a),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,a){this._transformTo(t,e,n,a),this._viewRect=new Ga(t,e,n,a)},e.prototype._transformTo=function(t,e,n,a){var i=this.getBoundingRect(),r=this._rawTransformable;r.transform=i.calculateTransform(new Ga(t,e,n,a));var o=r.parent;r.parent=null,r.decomposeTransform(),r.parent=o,this._updateTransform()},e.prototype.setCenter=function(t){t&&(this._center=t,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(),a=this.getCenter(),i=this.getZoom();a=jt([],a,t),n=jt([],n,t),e.originX=a[0],e.originY=a[1],e.x=n[0]-a[0],e.y=n[1]-a[1],e.scaleX=e.scaleY=i,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),ca(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],ga(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new Da;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 a=e?this._rawTransform:this.transform;return n=n||[],a?BI(n,t,a):Lt(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?BI([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var a=FI(e);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var a=FI(e);return a===this?a.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(Da);function FI(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var GI={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},HI=["lng","lat"],WI=function(t){function e(e,n,a){var i=t.call(this,e)||this;i.dimensions=HI,i.type="geo",i._nameCoordMap=St(),i.map=n;var r=hv(n,a.nameMap,a.nameProperty),o=pv(n);i.resourceType=o?o.type:null;var l=GI[o.type];i._regionsMap=r.regionsMap,i._invertLongitute=l.invertLongitute,i.regions=r.regions,i.aspectScale=ft(a.aspectScale,l.aspectScale);var s=r.boundingRect;return i.setBoundingRect(s.x,s.y,s.width,s.height),i}return u(e,t),e.prototype._transformTo=function(t,e,n,a){var i=this.getBoundingRect(),r=this._invertLongitute;i=i.clone(),r&&(i.y=-i.y-i.height);var o=this._rawTransformable;o.transform=i.calculateTransform(new Ga(t,e,n,a));var l=o.parent;o.parent=null,o.decomposeTransform(),o.parent=l,r&&(o.scaleY=-o.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 a=e[n];if("geoJSON"===a.type&&a.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("string"==typeof t&&(t=this.getGeoCoord(t)),t)return VI.prototype.dataToPoint.call(this,t,e,n)},e.prototype.convertToPixel=function(t,e,n){var a=UI(e);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var a=UI(e);return a===this?a.pointToData(n):null},e}(VI);function UI(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",ur).models[0]||{}).coordinateSystem:null}function YI(t,e){var n=t.get("boundingCoords");if(null!=n){var a=n[0],i=n[1];isNaN(a[0])||isNaN(a[1])||isNaN(i[0])||isNaN(i[1])||this.setBoundingRect(a[0],a[1],i[0]-a[0],i[1]-a[1])}var r,o,l,s=this.getBoundingRect(),u=t.get("layoutCenter"),c=t.get("layoutSize"),p=e.getWidth(),d=e.getHeight(),h=s.width/s.height*this.aspectScale,f=!1;if(u&&c&&(r=[_i(u[0],p),_i(u[1],d)],o=_i(c,Math.min(p,d)),isNaN(r[0])||isNaN(r[1])||isNaN(o)||(f=!0)),f)l={},h>1?(l.width=o,l.height=o/h):(l.height=o,l.width=o*h),l.y=r[1]-l.height/2,l.x=r[0]-l.width/2;else{var g=t.getBoxLayoutParams();g.aspect=h,l=Vd(g,{width:p,height:d})}this.setViewRect(l.x,l.y,l.width,l.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}U(WI,VI);var XI=function(){function t(){this.dimensions=HI}return t.prototype.create=function(t,e){var n=[];t.eachComponent("geo",(function(t,a){var i=t.get("map"),r=new WI(i+a,i,{nameMap:t.get("nameMap"),nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale")});r.zoomLimit=t.get("scaleLimit"),n.push(r),t.coordinateSystem=r,r.model=t,r.resize=YI,r.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var a={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();a[e]=a[e]||[],a[e].push(t)}})),X(a,(function(t,a){var i=Z(t,(function(t){return t.get("nameMap")})),r=new WI(a,a,{nameMap:B(i),nameProperty:t[0].get("nameProperty"),aspectScale:t[0].get("aspectScale")});r.zoomLimit=ht.apply(null,Z(t,(function(t){return t.get("scaleLimit")}))),n.push(r),r.resize=YI,r.resize(t[0],e),X(t,(function(t){t.coordinateSystem=r,function(t,e){X(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(r,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,a){for(var i=(t||[]).slice(),r=St(),o=0;o<i.length;o++)r.set(i[o].name,i[o]);return X(hv(e,n,a).regions,(function(t){var e=t.name;!r.get(e)&&i.push({name:e})})),i},t}(),ZI=new XI,jI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(t,e,n){var a=pv(t.map);if(a&&"geoJSON"===a.type){var i=t.itemStyle=t.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(t,n),ji(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=ZI.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=j(e.regions||[],(function(e,a){var i=a.name;return i&&(e.set(i,new Op(a,t,t.ecModel)),a.selected&&(n[i]=!0)),e}),St()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new Op(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),a="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:t};return"function"==typeof a?(i.status=e,a(i)):"string"==typeof a?a.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={zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},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}(Xd);function qI(t,e,n){var a=t.getZoom(),i=t.getCenter(),r=e.zoom,o=t.dataToPoint(i);if(null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,t.setCenter(t.pointToData(o))),null!=r){if(n){var l=n.min||0,s=n.max||1/0;r=Math.max(Math.min(a*r,s),l)/a}t.scaleX*=r,t.scaleY*=r;var u=(e.originX-t.x)*(r-1),c=(e.originY-t.y)*(r-1);t.x-=u,t.y-=c,t.updateTransform(),t.setCenter(t.pointToData(o)),t.setZoom(r*a)}return{center:t.getCenter(),zoom:t.getZoom()}}var KI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return u(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,a){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new CI(n));var i=this._mapDraw;i.draw(t,e,n,this,a),i.group.on("click",this._handleRegionClick,this),i.group.silent=t.get("silent"),this.group.add(i.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;zm(t.target,(function(t){return null!=(e=es(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var a=this;this._mapDraw.group.traverse((function(t){var e=es(t).eventData;if(e)return a._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}(zg);function $I(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var a={},i=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),X(n.coordinateSystem.regions,(function(t){a[t.name]=n.isSelected(t.name)||!1}));var r=[];X(a,(function(t,e){a[e]&&r.push(e)})),i.push({geoIndex:n.componentIndex,name:r})})),{selected:a,allSelected:i,name:t.name}}))}t.registerCoordinateSystem("geo",ZI),t.registerComponentModel(jI),t.registerComponentView(KI),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){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var a=e.coordinateSystem;if("geo"===a.type){var i=qI(a,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom),"series"===n&&X(e.seriesGroup,(function(t){t.setCenter(i.center),t.setZoom(i.zoom)}))}}))}))}function JI(t,e){var n=t.isExpand?t.children:[],a=t.parentNode.children,i=t.hierNode.i?a[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,a=0,i=0;for(;--n>=0;){var r=e[n];r.hierNode.prelim+=a,r.hierNode.modifier+=a,i+=r.hierNode.change,a+=r.hierNode.shift+i}}(t);var r=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-r):t.hierNode.prelim=r}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=function(t,e,n,a){if(e){for(var i=t,r=t,o=r.parentNode.children[0],l=e,s=i.hierNode.modifier,u=r.hierNode.modifier,c=o.hierNode.modifier,p=l.hierNode.modifier;l=nT(l),r=aT(r),l&&r;){i=nT(i),o=aT(o),i.hierNode.ancestor=t;var d=l.hierNode.prelim+p-r.hierNode.prelim-u+a(l,r);d>0&&(rT(iT(l,t,n),t,d),u+=d,s+=d),p+=l.hierNode.modifier,u+=r.hierNode.modifier,s+=i.hierNode.modifier,c+=o.hierNode.modifier}l&&!nT(i)&&(i.hierNode.thread=l,i.hierNode.modifier+=p-s),r&&!aT(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=u-c,n=t)}return n}(t,i,t.parentNode.hierNode.defaultAncestor||a[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 tT(t){return arguments.length?t:oT}function eT(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function nT(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function aT(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function iT(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function rT(t,e,n){var a=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=a,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=a}function oT(t,e){return t.parentNode===e.parentNode?1:2}var lT=function(){this.parentPoint=[],this.childPoints=[]},sT=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new lT},e.prototype.buildPath=function(t,e){var n=e.childPoints,a=n.length,i=e.parentPoint,r=n[0],o=n[a-1];if(1===a)return t.moveTo(i[0],i[1]),void t.lineTo(r[0],r[1]);var l=e.orient,s="TB"===l||"BT"===l?0:1,u=1-s,c=_i(e.forkPosition,1),p=[];p[s]=i[s],p[u]=i[u]+(o[u]-i[u])*c,t.moveTo(i[0],i[1]),t.lineTo(p[0],p[1]),t.moveTo(r[0],r[1]),p[s]=r[s],t.lineTo(p[0],p[1]),p[s]=o[s],t.lineTo(p[0],p[1]),t.lineTo(o[0],o[1]);for(var d=1;d<a-1;d++){var h=n[d];t.moveTo(h[0],h[1]),p[s]=h[s],t.lineTo(p[0],p[1])}},e}(Tl),uT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new pi,n}return u(e,t),e.prototype.init=function(t,e){this._controller=new fI(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var a=t.getData(),i=t.layoutInfo,r=this._mainGroup;"radial"===t.get("layout")?(r.x=i.x+i.width/2,r.y=i.y+i.height/2):(r.x=i.x,r.y=i.y),this._updateViewCoordSys(t),this._updateController(t,e,n);var o=this._data;a.diff(o).add((function(e){cT(a,e)&&pT(a,e,null,r,t)})).update((function(e,n){var i=o.getItemGraphicEl(n);cT(a,e)?pT(a,e,i,r,t):i&&fT(o,n,i,r,t)})).remove((function(e){var n=o.getItemGraphicEl(e);n&&fT(o,e,n,r,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&a.eachItemGraphicEl((function(e,a){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:a})}))})),this._data=a},e.prototype._updateViewCoordSys=function(t){var e=t.getData(),n=[];e.each((function(t){var a=e.getItemLayout(t);!a||isNaN(a.x)||isNaN(a.y)||n.push([+a.x,+a.y])}));var a=[],i=[];zo(n,a,i);var r=this._min,o=this._max;i[0]-a[0]==0&&(a[0]=r?r[0]:a[0]-1,i[0]=o?o[0]:i[0]+1),i[1]-a[1]==0&&(a[1]=r?r[1]:a[1]-1,i[1]=o?o[1]:i[1]+1);var l=t.coordinateSystem=new VI;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(a[0],a[1],i[0]-a[0],i[1]-a[1]),l.setCenter(t.get("center")),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=a,this._max=i},e.prototype._updateController=function(t,e,n){var a=this,i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(e,a,i){var r=o.getBoundingRect();return r.applyTransform(o.transform),r.contain(a,i)&&!_I(e,n,t)})),i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){vI(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){bI(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),a._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,a=e.scaleX||1;return((e.getZoom()-1)*n+1)/a},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}(Eg);function cT(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function pT(t,e,n,a,i){var r=!n,o=t.tree.getNodeByDataIndex(e),l=o.getModel(),s=o.getVisual("style").fill,u=!1===o.isExpand&&0!==o.children.length?s:"#fff",c=t.tree.root,p=o.parentNode===c?o:o.parentNode||o,d=t.getItemGraphicEl(p.dataIndex),h=p.getLayout(),f=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:h,g=o.getLayout();r?((n=new Tk(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=f.x,n.y=f.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,a.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,Cc(n,{x:g.x,y:g.y},i);var m=n.getSymbolPath();if("radial"===i.get("layout")){var y=c.children[0],v=y.getLayout(),b=y.children.length,x=void 0,_=void 0;if(g.x===v.x&&!0===o.isExpand){var w={x:(y.children[0].getLayout().x+y.children[b-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[b-1].getLayout().y)/2};(x=Math.atan2(w.y-v.y,w.x-v.x))<0&&(x=2*Math.PI+x),(_=w.x<v.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-v.y,g.x-v.x))<0&&(x=2*Math.PI+x),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(_=g.x<v.x)&&(x-=Math.PI):(_=g.x>v.x)||(x-=Math.PI);var k=_?"left":"right",S=l.getModel("label"),M=S.get("rotate"),I=M*(Math.PI/180),T=m.getTextContent();T&&(m.setTextConfig({position:S.get("position")||k,rotation:null==M?-x:I,origin:"center"}),T.setStyle("verticalAlign","middle"))}var C=l.get(["emphasis","focus"]),D="ancestor"===C?o.getAncestorsIndices():"descendant"===C?o.getDescendantIndices():null;D&&(es(n).focus=D),function(t,e,n,a,i,r,o,l){var s=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),p=t.getOrient(),d=t.get(["lineStyle","curveness"]),h=t.get("edgeForkPosition"),f=s.getModel("lineStyle").getLineStyle(),g=a.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=a.__edge=new oc({shape:gT(c,p,d,i,i)})),Cc(g,{shape:gT(c,p,d,r,o)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,y=[],v=0;v<m.length;v++){var b=m[v].getLayout();y.push([b.x,b.y])}g||(g=a.__edge=new sT({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:p,forkPosition:h}})),Cc(g,{shape:{parentPoint:[o.x,o.y],childPoints:y}},t)}g&&(g.useStyle(F({strokeNoScale:!0,fill:null},f)),js(g,s,"lineStyle"),Cs(g),l.add(g))}(i,o,c,n,f,h,g,a),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var a=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);a&&1===a.hoverState||Is(n.__edge,e)}})}function dT(t,e,n,a,i){var r=hT(e.tree.root,t),o=r.source,l=r.sourceLayout,s=e.getItemGraphicEl(t.dataIndex);if(s){var u=e.getItemGraphicEl(o.dataIndex).__edge,c=s.__edge||(!1===o.isExpand||1===o.children.length?u:void 0),p=a.get("edgeShape"),d=a.get("layout"),h=a.get("orient"),f=a.get(["lineStyle","curveness"]);c&&("curve"===p?Lc(c,{shape:gT(d,h,f,l,l),style:{opacity:0}},a,{cb:function(){n.remove(c)},removeOpt:i}):"polyline"===p&&"orthogonal"===a.get("layout")&&Lc(c,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},a,{cb:function(){n.remove(c)},removeOpt:i}))}}function hT(t,e){for(var n,a=e.parentNode===t?e:e.parentNode||e;null==(n=a.getLayout());)a=a.parentNode===t?a:a.parentNode||a;return{source:a,sourceLayout:n}}function fT(t,e,n,a,i){var r=t.tree.getNodeByDataIndex(e),o=hT(t.tree.root,r).sourceLayout,l={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Lc(n,{x:o.x+1,y:o.y+1},i,{cb:function(){a.remove(n),t.setItemGraphicEl(e,null)},removeOpt:l}),n.fadeOut(null,{fadeLabel:!0,animation:l}),r.children.forEach((function(e){dT(e,t,a,i,l)})),dT(r,t,a,i,l)}function gT(t,e,n,a,i){var r,o,l,s,u,c,p,d;if("radial"===t){u=a.rawX,p=a.rawY,c=i.rawX,d=i.rawY;var h=eT(u,p),f=eT(u,p+(d-p)*n),g=eT(c,d+(p-d)*n),m=eT(c,d);return{x1:h.x||0,y1:h.y||0,x2:m.x||0,y2:m.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=a.x,p=a.y,c=i.x,d=i.y,"LR"!==e&&"RL"!==e||(r=u+(c-u)*n,o=p,l=c+(u-c)*n,s=d),"TB"!==e&&"BT"!==e||(r=u,o=p+(d-p)*n,l=c,s=d+(p-d)*n),{x1:u,y1:p,x2:c,y2:d,cpx1:r,cpy1:o,cpx2:l,cpy2:s}}var mT=rr();function yT(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,kT(e,n,t),X(n,(function(n){X(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,Q(vT,t))}))})),e.wrapMethod("cloneShallow",Q(xT,t)),X(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,Q(bT,t))})),vt(n[e.dataType]===e)}function vT(t,e){if(mT(a=this).mainData===a){var n=V({},mT(this).datas);n[this.dataType]=e,kT(e,n,t)}else ST(e,this.dataType,mT(this).mainData,t);var a;return e}function bT(t,e){return t.struct&&t.struct.update(),e}function xT(t,e){return X(mT(e).datas,(function(n,a){n!==e&&ST(n.cloneShallow(),a,e,t)})),e}function _T(t){var e=mT(this).mainData;return null==t||null==e?e:mT(e).datas[t]}function wT(){var t=mT(this).mainData;return null==t?[{data:t}]:Z($(mT(t).datas),(function(e){return{type:e,data:mT(t).datas[e]}}))}function kT(t,e,n){mT(t).datas={},X(e,(function(e,a){ST(e,a,t,n)}))}function ST(t,e,n,a){mT(n).datas[e]=t,mT(t).mainData=n,t.dataType=e,a.struct&&(t[a.structAttr]=a.struct,a.struct[a.datasAttr[e]]=t),t.getLinkedData=_T,t.getLinkedDataAll=wT}var MT=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){"function"==typeof t&&(n=e,e=t,t=null),nt(t=t||{})&&(t={order:t});var a,i=t.order||"preorder",r=this[t.attr||"children"];"preorder"===i&&(a=e.call(n,this));for(var o=0;!a&&o<r.length;o++)r[o].eachNode(t,e,n);"postorder"===i&&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 a=this.children[n];a.updateDepthAndHeight(t+1),a.height>e&&(e=a.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,a=n.length;e<a;e++){var i=n[e].getNodeById(t);if(i)return i}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,a=n.length;e<a;e++){var i=n[e].contains(t);if(i)return i}},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}(),IT=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,a=e.length;n<a;n++)e[n].dataIndex=-1;for(n=0,a=t.count();n<a;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,a){var i=new t(n),r=[],o=1;!function t(e,n){var a=e.value;o=Math.max(o,tt(a)?a.length:1),r.push(e);var l=new MT(er(e.name,""),i);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(l,n):i.root=l,i._nodes.push(l);var s=e.children;if(s)for(var u=0;u<s.length;u++)t(s[u],l)}(e),i.root.updateDepthAndHeight(0);var l=tx(r,{coordDimensions:["value"],dimensionsCount:o}).dimensions,s=new Qb(l,n);return s.initData(r),a&&a(s),yT({mainData:s,struct:i,structAttr:"tree"}),i.update(),i},t}();function TT(t,e,n){if(t&&H(e,t.type)>=0){var a=n.getData().tree.root,i=t.targetNode;if("string"==typeof i&&(i=a.getNodeById(i)),i&&a.contains(i))return{node:i};var r=t.targetNodeId;if(null!=r&&(i=a.getNodeById(r)))return{node:i}}}function CT(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function DT(t,e){return H(CT(t),e)>=0}function AT(t,e){for(var n=[];t;){var a=t.dataIndex;n.push({name:t.name,dataIndex:a,value:e.getRawValue(a)}),t=t.parentNode}return n.reverse(),n}var LT=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return u(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},a=new Op(n,this,this.ecModel),i=IT.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=a),t}))}));var r=0;i.eachNode("preorder",(function(t){t.depth>r&&(r=t.depth)}));var o=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=o})),i.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 a=this.getData().tree,i=a.root.children[0],r=a.getNodeByDataIndex(t),o=r.getValue(),l=r.name;r&&r!==i;)l=r.parentNode.name+"."+l,r=r.parentNode;return dg("nameValue",{name:l,value:o,noValue:isNaN(o)||null==o})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=AT(a,this),n},e.type="series.tree",e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Mg);function PT(t,e){for(var n,a=[t];n=a.pop();)if(e(n),n.isExpand){var i=n.children;if(i.length)for(var r=i.length-1;r>=0;r--)a.push(i[r])}}function zT(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Vd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var a=t.get("layout"),i=0,r=0,o=null;"radial"===a?(i=2*Math.PI,r=Math.min(n.height,n.width)/2,o=tT((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(i=n.width,r=n.height,o=tT());var l=t.getData().tree.root,s=l.children[0];if(s){!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,a,i=[e];n=i.pop();)if(a=n.children,n.isExpand&&a.length)for(var r=a.length-1;r>=0;r--){var o=a[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},i.push(o)}}(l),function(t,e,n){for(var a,i=[t],r=[];a=i.pop();)if(r.push(a),a.isExpand){var o=a.children;if(o.length)for(var l=0;l<o.length;l++)i.push(o[l])}for(;a=r.pop();)e(a,n)}(s,JI,o),l.hierNode.modifier=-s.hierNode.prelim,PT(s,QI);var u=s,c=s,p=s;PT(s,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>p.depth&&(p=t)}));var d=u===c?1:o(u,c)/2,h=d-u.getLayout().x,f=0,g=0,m=0,y=0;if("radial"===a)f=i/(c.getLayout().x+d+h),g=r/(p.depth-1||1),PT(s,(function(t){m=(t.getLayout().x+h)*f,y=(t.depth-1)*g;var e=eT(m,y);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:y},!0)}));else{var v=t.getOrient();"RL"===v||"LR"===v?(g=r/(c.getLayout().x+d+h),f=i/(p.depth-1||1),PT(s,(function(t){y=(t.getLayout().x+h)*g,m="LR"===v?(t.depth-1)*f:i-(t.depth-1)*f,t.setLayout({x:m,y:y},!0)}))):"TB"!==v&&"BT"!==v||(f=i/(c.getLayout().x+d+h),g=r/(p.depth-1||1),PT(s,(function(t){m=(t.getLayout().x+h)*f,y="TB"===v?(t.depth-1)*g:r-(t.depth-1)*g,t.setLayout({x:m,y:y},!0)})))}}}(t,e)}))}function OT(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();V(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var RT=function(){},NT=["treemapZoomToNode","treemapRender","treemapMove"];function ET(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var a=e;a&&a.depth>1;)a=a.parentNode;var i=_h(t.ecModel,a.name||a.dataIndex+"",n);e.setVisual("decal",i)}))}var BT=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return u(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};VT(n);var a=t.levels||[],i=this.designatedVisualItemStyle={},r=new Op({itemStyle:i},this,e);a=t.levels=function(t,e){var n,a,i=Zi(e.get("color")),r=Zi(e.get(["aria","decal","decals"]));if(!i)return;X(t=t||[],(function(t){var e=new Op(t),i=e.get("color"),r=e.get("decal");(e.get(["itemStyle","color"])||i&&"none"!==i)&&(n=!0),(e.get(["itemStyle","decal"])||r&&"none"!==r)&&(a=!0)}));var o=t[0]||(t[0]={});n||(o.color=i.slice());!a&&r&&(o.decal=r.slice());return t}(a,e);var o=Z(a||[],(function(t){return new Op(t,r,e)}),this),l=IT.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),a=n?o[n.depth]:null;return t.parentModel=a||r,t}))}));return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),i=this.getRawValue(t);return dg("nameValue",{name:a.getName(t),value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=AT(a,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},V(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=St(),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(){ET(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,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"}}},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%"],ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Mg);function VT(t){var e=0;X(t.children,(function(t){VT(t);var n=t.value;tt(n)&&(n=n[0]),e+=n}));var n=t.value;tt(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),tt(t.value)?t.value[0]=n:t.value=n}var FT=function(){function t(t){this.group=new pi,t.add(this.group)}return t.prototype.render=function(t,e,n,a){var i=t.getModel("breadcrumb"),r=this.group;if(r.removeAll(),i.get("show")&&n){var o=i.getModel("itemStyle"),l=o.getModel("textStyle"),s={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,s,l),this._renderContent(t,s,o,l,a),Fd(r,s.pos,s.box)}},t.prototype._prepare=function(t,e,n){for(var a=t;a;a=a.parentNode){var i=er(a.getModel().get("name"),""),r=n.getTextRect(i),o=Math.max(r.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:a,text:i,width:o})}},t.prototype._renderContent=function(t,e,n,a,i){for(var r,o,l,s,u,c,p,d,h,f=0,g=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),y=(r=e.pos,o=e.box,s=o.width,u=o.height,c=_i(r.left,s),p=_i(r.top,u),d=_i(r.right,s),h=_i(r.bottom,u),(isNaN(c)||isNaN(parseFloat(r.left)))&&(c=0),(isNaN(d)||isNaN(parseFloat(r.right)))&&(d=s),(isNaN(p)||isNaN(parseFloat(r.top)))&&(p=0),(isNaN(h)||isNaN(parseFloat(r.bottom)))&&(h=u),l=kd(l||0),{width:Math.max(d-c-l[1]-l[3],0),height:Math.max(h-p-l[0]-l[2],0)}),v=e.totalWidth,b=e.renderList,x=b.length-1;x>=0;x--){var _=b[x],w=_.node,k=_.width,S=_.text;v>y.width&&(v-=k-g,k=g,S=null);var M=new ju({shape:{points:GT(f,0,k,m,x===b.length-1,0===x)},style:F(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ts({style:{text:S,fill:a.getTextColor(),font:a.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:Q(i,w)});M.disableLabelAnimation=!0,this.group.add(M),HT(M,t,w),f+=k+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function GT(t,e,n,a,i,r){var o=[[i?t:t-5,e],[t+n,e],[t+n,e+a],[i?t:t-5,e+a]];return!r&&o.splice(2,0,[t+n+5,e+a/2]),!i&&o.push([t,e+a/2]),o}function HT(t,e,n){es(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&AT(n,e)}}var WT=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,a,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:a,easing:i}),!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())},a=0,i=this._storage.length;a<i;a++){var r=this._storage[a];r.el.animateTo(r.target,{duration:r.duration,delay:r.delay,easing:r.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var UT=pi,YT=Hl,XT="label",ZT="upperLabel",jT=Mr([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),qT=function(t){var e=jT(t);return e.stroke=e.fill=e.lineWidth=null,e},KT=rr(),$T=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 u(e,t),e.prototype.render=function(t,e,n,a){if(!(H(e.findComponents({mainType:"series",subType:"treemap",query:a}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var i=TT(a,["treemapZoomToNode","treemapRootToNode"],t),r=a&&a.type,o=t.layoutInfo,l=!this._oldTree,s=this._storage,u="treemapRootToNode"===r&&i&&s?{rootNodeGroup:s.nodeGroup[i.node.getRawIndex()],direction:a.direction}:null,c=this._giveContainerGroup(o),p=t.get("animation"),d=this._doRender(c,t,u);!p||l||r&&"treemapZoomToNode"!==r&&"treemapRootToNode"!==r?d.renderFinally():this._doAnimation(c,d,t,u),this._resetController(n),this._renderBreadcrumb(t,n,i)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new UT,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var a=e.getData().tree,i=this._oldTree,r={nodeGroup:[],background:[],content:[]},o={nodeGroup:[],background:[],content:[]},l=this._storage,s=[];function u(t,a,i,u){return function(t,e,n,a,i,r,o,l,s,u){if(!o)return;var c=o.getLayout(),p=t.getData(),d=o.getModel();if(p.setItemGraphicEl(o.dataIndex,null),!c||!c.isInView)return;var h=c.width,f=c.height,g=c.borderWidth,m=c.invisible,y=o.getRawIndex(),v=l&&l.getRawIndex(),b=o.viewChildren,x=c.upperHeight,_=b&&b.length,w=d.getModel("itemStyle"),k=d.getModel(["emphasis","itemStyle"]),S=d.getModel(["blur","itemStyle"]),M=d.getModel(["select","itemStyle"]),I=w.get("borderRadius")||0,T=B("nodeGroup",UT);if(!T)return;if(s.add(T),T.x=c.x||0,T.y=c.y||0,T.markRedraw(),KT(T).nodeWidth=h,KT(T).nodeHeight=f,c.isAboveViewRoot)return T;var C=B("background",YT,u,20);C&&z(T,C,_&&c.upperLabelHeight);var D=d.get(["emphasis","focus"]),A=d.get(["emphasis","blurScope"]),L="ancestor"===D?o.getAncestorsIndices():"descendant"===D?o.getDescendantIndices():D;if(_)Ks(T)&&qs(T,!1),C&&(qs(C,!0),p.setItemGraphicEl(o.dataIndex,C),Ys(C,L,A));else{var P=B("content",YT,u,30);P&&O(T,P),C.disableMorphing=!0,C&&Ks(C)&&qs(C,!1),qs(T,!0),p.setItemGraphicEl(o.dataIndex,T),Ys(T,L,A)}return T;function z(e,n,a){var i=es(n);if(i.dataIndex=o.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:h,height:f,r:I}),m)R(n);else{n.invisible=!1;var r=o.getVisual("style"),l=r.stroke,s=qT(w);s.fill=l;var u=jT(k);u.fill=k.get("borderColor");var c=jT(S);c.fill=S.get("borderColor");var p=jT(M);if(p.fill=M.get("borderColor"),a){var d=h-2*g;N(n,l,r.opacity,{x:g,y:0,width:d,height:x})}else n.removeTextContent();n.setStyle(s),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=p,Cs(n)}e.add(n)}function O(e,n){var a=es(n);a.dataIndex=o.dataIndex,a.seriesIndex=t.seriesIndex;var i=Math.max(h-2*g,0),r=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:r,r:I}),m)R(n);else{n.invisible=!1;var l=o.getVisual("style"),s=l.fill,u=qT(w);u.fill=s,u.decal=l.decal;var c=jT(k),p=jT(S),d=jT(M);N(n,s,l.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=p,n.ensureState("select").style=d,Cs(n)}e.add(n)}function R(t){!t.invisible&&r.push(t)}function N(e,n,a,i){var r=d.getModel(i?ZT:XT),l=er(d.get("name"),null),s=r.getShallow("show");pp(e,dp(d,i?ZT:XT),{defaultText:s?l:null,inheritColor:n,defaultOpacity:a,labelFetcher:t,labelDataIndex:o.dataIndex});var u=e.getTextContent();if(u){var p=u.style,h=yt(p.padding||0);i&&(e.setTextConfig({layoutRect:i}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((i?i.width:e.shape.width)-h[1]-h[3],0),n=Math.max((i?i.height:e.shape.height)-h[0]-h[2],0);p.width===t&&p.height===n||u.setStyle({width:t,height:n})},p.truncateMinChar=2,p.lineOverflow="truncate",E(p,i,c);var f=u.getState("emphasis");E(f?f.style:null,i,c)}}function E(e,n,a){var i=e?e.text:null;if(!n&&a.isLeafRoot&&null!=i){var r=t.get("drillDownIcon",!0);e.text=r?r+" "+i:i}}function B(t,a,r,o){var l=null!=v&&n[t][v],s=i[t];return l?(n[t][v]=null,F(s,l)):m||((l=new a)instanceof Qr&&(l.z2=function(t,e){return 100*t+e}(r,o)),G(s,l)),e[t][y]=l}function F(t,e){var n=t[y]={};e instanceof UT?(n.oldX=e.x,n.oldY=e.y):n.oldShape=V({},e.shape)}function G(t,e){var n=t[y]={},r=o.parentNode,l=e instanceof pi;if(r&&(!a||"drillDown"===a.direction)){var s=0,u=0,c=i.background[r.getRawIndex()];!a&&c&&c.oldShape&&(s=c.oldShape.width,u=c.oldShape.height),l?(n.oldX=0,n.oldY=u):n.oldShape={x:s,y:u,width:0,height:0}}n.fadein=!l}}(e,o,l,n,r,s,t,a,i,u)}!function t(e,n,a,i,r){i?(n=e,X(e,(function(t,e){!t.isRemoved()&&l(e,e)}))):new Db(n,e,o,o).add(l).update(l).remove(Q(l,null)).execute();function o(t){return t.getId()}function l(o,l){var s=null!=o?e[o]:null,c=null!=l?n[l]:null,p=u(s,c,a,r);p&&t(s&&s.viewChildren||[],c&&c.viewChildren||[],p,i,r+1)}}(a.root?[a.root]:[],i&&i.root?[i.root]:[],t,a===i||!i,0);var c=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&X(t,(function(t,n){var a=e[n];X(t,(function(t){t&&(a.push(t),KT(t).willDelete=!0)}))})),e}(l);return this._oldTree=a,this._storage=o,{lastsForAnimation:r,willDeleteEls:c,renderFinally:function(){X(c,(function(t){X(t,(function(t){t.parent&&t.parent.remove(t)}))})),X(s,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,a){var i=n.get("animationDurationUpdate"),r=n.get("animationEasing"),o=(et(i)?0:i)||0,l=(et(r)?null:r)||"cubicOut",s=new WT;X(e.willDeleteEls,(function(t,e){X(t,(function(t,n){if(!t.invisible){var i,r=t.parent,u=KT(r);if(a&&"drillDown"===a.direction)i=r===a.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,p=0;u.willDelete||(c=u.nodeWidth/2,p=u.nodeHeight/2),i="nodeGroup"===e?{x:c,y:p,style:{opacity:0}}:{shape:{x:c,y:p,width:0,height:0},style:{opacity:0}}}i&&s.add(t,i,o,0,l)}}))})),X(this._storage,(function(t,n){X(t,(function(t,a){var i=e.lastsForAnimation[n][a],r={};i&&(t instanceof pi?null!=i.oldX&&(r.x=t.x,r.y=t.y,t.x=i.oldX,t.y=i.oldY):(i.oldShape&&(r.shape=V({},t.shape),t.setShape(i.oldShape)),i.fadein?(t.setStyle("opacity",0),r.style={opacity:1}):1!==t.style.opacity&&(r.style={opacity:1})),s.add(t,r,o,0,l))}))}),this),this._state="animating",s.finished(J((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new fI(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",J(this._onPan,this)),e.on("zoom",J(this._onZoom,this)));var n=new Ga(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,a){return n.contain(e,a)}))},e.prototype._clearController=function(){var t=this._controller;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;if("animating"!==this._state){var a=this.seriesModel.getData().tree.root;if(!a)return;var i=a.getLayout();if(!i)return;var r=new Ga(i.x,i.y,i.width,i.height),o=this.seriesModel.layoutInfo,l=[1,0,0,1,0,0];da(l,l,[-(e-=o.x),-(n-=o.y)]),fa(l,l,[t.scale,t.scale]),da(l,l,[e,n]),r.applyTransform(l),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.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 a=e.findTarget(t.offsetX,t.offsetY);if(a){var i=a.node;if(i.getLayout().isLeafRoot)e._rootToNode(a);else if("zoomToNode"===n)e._zoomToNode(a);else if("link"===n){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),l=r.get("target",!0)||"blank";o&&zd(o,l)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var a=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 FT(this.group))).render(t,e,n.node,(function(e){"animating"!==a._state&&(DT(t.getViewRoot(),e)?a._rootToNode({node:e}):a._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(a){var i=this._storage.background[a.getRawIndex()];if(i){var r=i.transformCoordToLocal(t,e),o=i.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;n={node:a,offsetX:r[0],offsetY:r[1]}}}),this),n},e.type="treemap",e}(Eg);var JT=X,QT=rt,tC=-1,eC=function(){function t(e){var n=e.mappingMethod,a=e.type,i=this.option=N(e);this.type=a,this.mappingMethod=n,this._normalizeData=pC[n];var r=t.visualHandlers[a];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._normalizedToVisual=r._normalizedToVisual[n],"piecewise"===n?(nC(i),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,X(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(i)):"category"===n?i.categories?function(t){var e=t.categories,n=t.categoryMap={},a=t.visual;if(JT(e,(function(t,e){n[t]=e})),!tt(a)){var i=[];rt(a)?JT(a,(function(t,e){var a=n[e];i[null!=a?a:tC]=t})):i[-1]=a,a=cC(t,i)}for(var r=e.length-1;r>=0;r--)null==a[r]&&(delete n[e[r]],e.pop())}(i):nC(i,!0):(vt("linear"!==n||i.dataExtent),nC(i))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return J(this._normalizeData,this)},t.listVisualTypes=function(){return $(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){rt(t)?X(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,a){var i,r=tt(e)?[]:rt(e)?{}:(i=!0,null);return t.eachVisual(e,(function(t,e){var o=n.call(a,t,e);i?r=o:r[e]=o})),r},t.retrieveVisuals=function(e){var n,a={};return e&&JT(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(a[i]=e[i],n=!0)})),n?a:null},t.prepareVisualTypes=function(t){if(tt(t))t=t.slice();else{if(!QT(t))return[];var e=[];JT(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 a,i=1/0,r=0,o=e.length;r<o;r++){var l=e[r].value;if(null!=l){if(l===t||"string"==typeof l&&l===t+"")return r;n&&p(l,r)}}for(r=0,o=e.length;r<o;r++){var s=e[r],u=s.interval,c=s.close;if(u){if(u[0]===-1/0){if(dC(c[1],t,u[1]))return r}else if(u[1]===1/0){if(dC(c[0],u[0],t))return r}else if(dC(c[0],u[0],t)&&dC(c[1],t,u[1]))return r;n&&p(u[0],r),n&&p(u[1],r)}}if(n)return t===1/0?e.length-1:t===-1/0?0:a;function p(e,n){var r=Math.abs(e-t);r<i&&(i=r,a=n)}},t.visualHandlers={color:{applyVisual:rC("color"),getColorMapper:function(){var t=this.option;return J("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),oC.call(this,t)}:function(e,n,a){var i=!!a;return!n&&(e=this._normalizeData(e)),a=fn(e,t.parsedVisual,a),i?a:xn(a,"rgba")},this)},_normalizedToVisual:{linear:function(t){return xn(fn(t,this.option.parsedVisual),"rgba")},category:oC,piecewise:function(t,e){var n=uC.call(this,e);return null==n&&(n=xn(fn(t,this.option.parsedVisual),"rgba")),n},fixed:lC}},colorHue:aC((function(t,e){return vn(t,e)})),colorSaturation:aC((function(t,e){return vn(t,null,e)})),colorLightness:aC((function(t,e){return vn(t,null,null,e)})),colorAlpha:aC((function(t,e){return bn(t,e)})),decal:{applyVisual:rC("decal"),_normalizedToVisual:{linear:null,category:oC,piecewise:null,fixed:null}},opacity:{applyVisual:rC("opacity"),_normalizedToVisual:sC([0,1])},liftZ:{applyVisual:rC("liftZ"),_normalizedToVisual:{linear:lC,category:lC,piecewise:lC,fixed:lC}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:iC,category:oC,piecewise:function(t,e){var n=uC.call(this,e);return null==n&&(n=iC.call(this,t)),n},fixed:lC}},symbolSize:{applyVisual:rC("symbolSize"),_normalizedToVisual:sC([0,1])}},t}();function nC(t,e){var n=t.visual,a=[];rt(n)?JT(n,(function(t){a.push(t)})):null!=n&&a.push(n);e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),cC(t,a)}function aC(t){return{applyVisual:function(e,n,a){var i=this.mapValueToVisual(e);a("color",t(n("color"),i))},_normalizedToVisual:sC([0,1])}}function iC(t){var e=this.option.visual;return e[Math.round(xi(t,[0,1],[0,e.length-1],!0))]||{}}function rC(t){return function(e,n,a){a(t,this.mapValueToVisual(e))}}function oC(t){var e=this.option.visual;return e[this.option.loop&&t!==tC?t%e.length:t]}function lC(){return this.option.visual[0]}function sC(t){return{linear:function(e){return xi(e,t,this.option.visual,!0)},category:oC,piecewise:function(e,n){var a=uC.call(this,n);return null==a&&(a=xi(e,t,this.option.visual,!0)),a},fixed:lC}}function uC(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var a=n[eC.findPieceIndex(t,n)];if(a&&a.visual)return a.visual[this.type]}}function cC(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=Z(e,(function(t){return cn(t)}))),e}var pC={linear:function(t){return xi(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=eC.findPieceIndex(t,e,!0);if(null!=n)return xi(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?tC:e},fixed:Ct};function dC(t,e,n){return t?e<=n:e<n}var hC=rr(),fC={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||gC(e,{},t.getViewRoot().getAncestors(),t)}};function gC(t,e,n,a){var i=t.getModel(),r=t.getLayout(),o=t.hostTree.data;if(r&&!r.invisible&&r.isInView){var l,s=i.getModel("itemStyle"),u=function(t,e,n){var a=V({},e),i=n.designatedVisualItemStyle;return X(["color","colorAlpha","colorSaturation"],(function(n){i[n]=e[n];var r=t.get(n);i[n]=null,null!=r&&(a[n]=r)})),a}(s,e,a),c=o.ensureUniqueItemVisual(t.dataIndex,"style"),p=s.get("borderColor"),d=s.get("borderColorSaturation");null!=d&&(p=function(t,e){return null!=e?vn(e,null,null,t):null}(d,l=mC(u))),c.stroke=p;var h=t.viewChildren;if(h&&h.length){var f=function(t,e,n,a,i,r){if(!r||!r.length)return;var o=vC(e,"color")||null!=i.color&&"none"!==i.color&&(vC(e,"colorAlpha")||vC(e,"colorSaturation"));if(!o)return;var l=e.get("visualMin"),s=e.get("visualMax"),u=n.dataExtent.slice();null!=l&&l<u[0]&&(u[0]=l),null!=s&&s>u[1]&&(u[1]=s);var c=e.get("colorMappingBy"),p={type:o.name,dataExtent:u,visual:o.range};"color"!==p.type||"index"!==c&&"id"!==c?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var d=new eC(p);return hC(d).drColorMappingBy=c,d}(0,i,r,0,u,h);X(h,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var r=function(t,e,n,a,i,r){var o=V({},e);if(i){var l=i.type,s="color"===l&&hC(i).drColorMappingBy,u="index"===s?a:"id"===s?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));o[l]=i.mapValueToVisual(u)}return o}(i,u,t,e,f,a);gC(t,r,n,a)}}))}else l=mC(u),c.fill=l}}function mC(t){var e=yC(t,"color");if(e){var n=yC(t,"colorAlpha"),a=yC(t,"colorSaturation");return a&&(e=vn(e,null,null,a)),n&&(e=bn(e,n)),e}}function yC(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function vC(t,e){var n=t.get(e);return tt(n)&&n.length?{name:e,range:n}:null}var bC=Math.max,xC=Math.min,_C=ht,wC=X,kC=["itemStyle","borderWidth"],SC=["itemStyle","gapWidth"],MC=["upperLabel","show"],IC=["upperLabel","height"],TC={seriesType:"treemap",reset:function(t,e,n,a){var i=n.getWidth(),r=n.getHeight(),o=t.option,l=Vd(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=o.size||[],u=_i(_C(l.width,s[0]),i),c=_i(_C(l.height,s[1]),r),p=a&&a.type,d=TT(a,["treemapZoomToNode","treemapRootToNode"],t),h="treemapRender"===p||"treemapMove"===p?a.rootRect:null,f=t.getViewRoot(),g=CT(f);if("treemapMove"!==p){var m="treemapZoomToNode"===p?function(t,e,n,a,i){var r,o=(e||{}).node,l=[a,i];if(!o||o===n)return l;var s=a*i,u=s*t.option.zoomToNodeRatio;for(;r=o.parentNode;){for(var c=0,p=r.children,d=0,h=p.length;d<h;d++)c+=p[d].getValue();var f=o.getValue();if(0===f)return l;u*=c/f;var g=r.getModel(),m=g.get(kC);(u+=4*m*m+(3*m+Math.max(m,PC(g)))*Math.pow(u,.5))>Di&&(u=Di),o=r}u<s&&(u=s);var y=Math.pow(u/s,.5);return[a*y,i*y]}(t,d,f,u,c):h?[h.width,h.height]:[u,c],y=o.sort;y&&"asc"!==y&&"desc"!==y&&(y="desc");var v={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};f.hostTree.clearLayouts();var b={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};f.setLayout(b),CC(f,v,!1,0),b=f.getLayout(),wC(g,(function(t,e){var n=(g[e+1]||f).getValue();t.setLayout(V({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var a={x:0,y:0};if(!n)return a;var i=n.node,r=i.getLayout();if(!r)return a;var o=[r.width/2,r.height/2],l=i;for(;l;){var s=l.getLayout();o[0]+=s.x,o[1]+=s.y,l=l.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(l,h,d),!0),t.setLayoutInfo(l),LC(x,new Ga(-l.x,-l.y,i,r),g,f,0)}};function CC(t,e,n,a){var i,r;if(!t.isRemoved()){var o=t.getLayout();i=o.width,r=o.height;var l=t.getModel(),s=l.get(kC),u=l.get(SC)/2,c=PC(l),p=Math.max(s,c),d=s-u,h=p-u;t.setLayout({borderWidth:s,upperHeight:p,upperLabelHeight:c},!0);var f=(i=bC(i-2*d,0))*(r=bC(r-d-h,0)),g=function(t,e,n,a,i,r){var o=t.children||[],l=a.sort;"asc"!==l&&"desc"!==l&&(l=null);var s=null!=a.leafDepth&&a.leafDepth<=r;if(i&&!s)return t.viewChildren=[];o=q(o,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var a="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===a?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:a}))}(o,l);var u=function(t,e,n){for(var a=0,i=0,r=e.length;i<r;i++)a+=e[i].getValue();var o,l=t.get("visualDimension");e&&e.length?"value"===l&&n?(o=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&o.reverse()):(o=[1/0,-1/0],wC(e,(function(t){var e=t.getValue(l);e<o[0]&&(o[0]=e),e>o[1]&&(o[1]=e)}))):o=[NaN,NaN];return{sum:a,dataExtent:o}}(e,o,l);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,a,i){if(!a)return n;for(var r=t.get("visibleMin"),o=i.length,l=o,s=o-1;s>=0;s--){var u=i["asc"===a?o-s-1:s].getValue();u/n*e<r&&(l=s,n-=u)}return"asc"===a?i.splice(0,o-l):i.splice(l,o-l),n}(e,n,u.sum,l,o),0===u.sum)return t.viewChildren=[];for(var c=0,p=o.length;c<p;c++){var d=o[c].getValue()/u.sum*n;o[c].setLayout({area:d})}s&&(o.length&&t.setLayout({isLeafRoot:!0},!0),o.length=0);return t.viewChildren=o,t.setLayout({dataExtent:u.dataExtent},!0),o}(t,l,f,e,n,a);if(g.length){var m={x:d,y:h,width:i,height:r},y=xC(i,r),v=1/0,b=[];b.area=0;for(var x=0,_=g.length;x<_;){var w=g[x];b.push(w),b.area+=w.getLayout().area;var k=DC(b,y,e.squareRatio);k<=v?(x++,v=k):(b.area-=b.pop().getLayout().area,AC(b,y,m,u,!1),y=xC(m.width,m.height),b.length=b.area=0,v=1/0)}if(b.length&&AC(b,y,m,u,!0),!n){var S=l.get("childrenVisibleMin");null!=S&&f<S&&(n=!0)}for(x=0,_=g.length;x<_;x++)CC(g[x],e,n,a+1)}}}function DC(t,e,n){for(var a=0,i=1/0,r=0,o=void 0,l=t.length;r<l;r++)(o=t[r].getLayout().area)&&(o<i&&(i=o),o>a&&(a=o));var s=t.area*t.area,u=e*e*n;return s?bC(u*a/s,s/(u*i)):1/0}function AC(t,e,n,a,i){var r=e===n.width?0:1,o=1-r,l=["x","y"],s=["width","height"],u=n[l[r]],c=e?t.area/e:0;(i||c>n[s[o]])&&(c=n[s[o]]);for(var p=0,d=t.length;p<d;p++){var h=t[p],f={},g=c?h.getLayout().area/c:0,m=f[s[o]]=bC(c-2*a,0),y=n[l[r]]+n[s[r]]-u,v=p===d-1||y<g?y:g,b=f[s[r]]=bC(v-2*a,0);f[l[o]]=n[l[o]]+xC(a,m/2),f[l[r]]=u+xC(a,b/2),u+=v,h.setLayout(f,!0)}n[l[o]]+=c,n[s[o]]-=c}function LC(t,e,n,a,i){var r=t.getLayout(),o=n[i],l=o&&o===t;if(!(o&&!l||i===n.length&&t!==a)){t.setLayout({isInView:!0,invisible:!l&&!e.intersect(r),isAboveViewRoot:l},!0);var s=new Ga(e.x-r.x,e.y-r.y,e.width,e.height);wC(t.viewChildren||[],(function(t){LC(t,s,n,a,i+1)}))}}function PC(t){return t.get(MC)?t.get(IC):0}function zC(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),a=t.getGraph().data,i=n.mapArray(n.getName);a.filterSelf((function(t){var n=a.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=i[n]);for(var r=0;r<e.length;r++)if(!e[r].isSelected(n))return!1}return!0}))}))}function OC(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),a=t.getData(),i={};n.each((function(a){var r=n.getName(a);i["ec-"+r]=a;var o=n.getItemModel(a),l=o.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t.getColorFromPalette(r,e)),n.setItemVisual(a,"style",l);for(var s=["symbol","symbolSize","symbolKeepAspect"],u=0;u<s.length;u++){var c=o.getShallow(s[u],!0);null!=c&&n.setItemVisual(a,s[u],c)}})),n.count()&&a.each((function(t){var e=a.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=i["ec-"+e]);var r=n.getItemVisual(e,"style");V(a.ensureUniqueItemVisual(t,"style"),r);for(var o=["symbol","symbolSize","symbolKeepAspect"],l=0;l<o.length;l++)a.setItemVisual(t,o[l],n.getItemVisual(e,o[l]))}}))}))}function RC(t){return t instanceof Array||(t=[t,t]),t}function NC(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),a=RC(t.get("edgeSymbol")),i=RC(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",a&&a[0]),n.setVisual("toSymbol",a&&a[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var a=n.getItemModel(t),i=e.getEdgeByIndex(t),r=RC(a.getShallow("symbol",!0)),o=RC(a.getShallow("symbolSize",!0)),l=a.getModel("lineStyle").getLineStyle(),s=n.ensureUniqueItemVisual(t,"style");switch(V(s,l),s.stroke){case"source":var u=i.node1.getVisual("style");s.stroke=u&&u.fill;break;case"target":u=i.node2.getVisual("style");s.stroke=u&&u.fill}r[0]&&i.setVisual("fromSymbol",r[0]),r[1]&&i.setVisual("toSymbol",r[1]),o[0]&&i.setVisual("fromSymbolSize",o[0]),o[1]&&i.setVisual("toSymbolSize",o[1])}))}))}var EC="--\x3e",BC=function(t){return t.get("autoCurveness")||null},VC=function(t,e){var n=BC(t),a=20,i=[];if("number"==typeof n)a=n;else if(tt(n))return void(t.__curvenessList=n);e>a&&(a=e);var r=a%2?a+2:a+3;i=[];for(var o=0;o<r;o++)i.push((o%2?o+1:o)/10*(o%2?-1:1));t.__curvenessList=i},FC=function(t,e,n){var a=[t.id,t.dataIndex].join("."),i=[e.id,e.dataIndex].join(".");return[n.uid,a,i].join(EC)},GC=function(t){var e=t.split(EC);return[e[0],e[2],e[1]].join(EC)},HC=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function WC(t,e,n,a){var i=BC(e),r=tt(i);if(!i)return null;var o=function(t,e){var n=FC(t.node1,t.node2,e);return e.__edgeMap[n]}(t,e);if(!o)return null;for(var l=-1,s=0;s<o.length;s++)if(o[s]===n){l=s;break}var u=function(t,e){return HC(FC(t.node1,t.node2,e),e)+HC(FC(t.node2,t.node1,e),e)}(t,e);VC(e,u),t.lineStyle=t.lineStyle||{};var c=FC(t.node1,t.node2,e),p=e.__curvenessList,d=r||u%2?0:1;if(o.isForward)return p[d+l];var h=GC(c),f=HC(h,e),g=p[l+f+d];return a?r?i&&0===i[0]?(f+d)%2?g:-g:((f%2?0:1)+d)%2?g:-g:(f+d)%2?g:-g:p[l+f+d]}function UC(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")])})),YC(n,t)}}function YC(t,e){t.eachEdge((function(t,n){var a=gt(t.getModel().get(["lineStyle","curveness"]),-WC(t,e,n,!0),0),i=Pt(t.node1.getLayout()),r=Pt(t.node2.getLayout()),o=[i,r];+a&&o.push([(i[0]+r[0])/2-(i[1]-r[1])*a,(i[1]+r[1])/2-(r[0]-i[0])*a]),t.setLayout(o)}))}function XC(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var a=t.getData(),i=[];X(n.dimensions,(function(t){i=i.concat(a.mapDimensionsAll(t))}));for(var r=0;r<a.count();r++){for(var o=[],l=!1,s=0;s<i.length;s++){var u=a.get(i[s],r);isNaN(u)||(l=!0),o.push(u)}l?a.setItemLayout(r,n.dataToPoint(o)):a.setItemLayout(r,[NaN,NaN])}YC(a.graph,t)}else e&&"none"!==e||UC(t)}))}function ZC(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,a=e.scaleX;return((e.getZoom()-1)*n+1)/a}function jC(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var qC=Math.PI,KC=[];function $C(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var a=n.getBoundingRect(),i=t.getData(),r=i.graph,o=a.width/2+a.x,l=a.height/2+a.y,s=Math.min(a.width,a.height)/2,u=i.count();i.setLayout({cx:o,cy:l}),u&&(JC[e](t,r,i,s,o,l,u),r.eachEdge((function(e,n){var a,i=gt(e.getModel().get(["lineStyle","curveness"]),WC(e,t,n),0),r=Pt(e.node1.getLayout()),s=Pt(e.node2.getLayout()),u=(r[0]+s[0])/2,c=(r[1]+s[1])/2;+i&&(a=[o*(i*=3)+u*(1-i),l*i+c*(1-i)]),e.setLayout([r,s,a])})))}}var JC={value:function(t,e,n,a,i,r,o){var l=0,s=n.getSum("value"),u=2*Math.PI/(s||o);e.eachNode((function(t){var e=t.getValue("value"),n=u*(s?e:1)/2;l+=n,t.setLayout([a*Math.cos(l)+i,a*Math.sin(l)+r]),l+=n}))},symbolSize:function(t,e,n,a,i,r,o){var l=0;KC.length=o;var s=ZC(t);e.eachNode((function(t){var e=jC(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=s;var n=Math.asin(e/2/a);isNaN(n)&&(n=qC/2),KC[t.dataIndex]=n,l+=2*n}));var u=(2*qC-l)/o/2,c=0;e.eachNode((function(t){var e=u+KC[t.dataIndex];c+=e,t.setLayout([a*Math.cos(c)+i,a*Math.sin(c)+r]),c+=e}))}};function QC(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&$C(t,"symbolSize")}))}var tD=Rt;function eD(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},a=t.getGraph(),i=a.data,r=a.edgeData,o=t.getModel("force"),l=o.get("initLayout");t.preservedPoints?i.each((function(t){var e=i.getId(t);i.setItemLayout(t,n[e]||[NaN,NaN])})):l&&"none"!==l?"circular"===l&&$C(t,"value"):UC(t);var s=i.getDataExtent("value"),u=r.getDataExtent("value"),c=o.get("repulsion"),p=o.get("edgeLength"),d=tt(c)?c:[c,c],h=tt(p)?p:[p,p];h=[h[1],h[0]];var f=i.mapArray("value",(function(t,e){var n=i.getItemLayout(e),a=xi(t,s,d);return isNaN(a)&&(a=(d[0]+d[1])/2),{w:a,rep:a,fixed:i.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=r.mapArray("value",(function(e,n){var i=a.getEdgeByIndex(n),r=xi(e,u,h);isNaN(r)&&(r=(h[0]+h[1])/2);var o=i.getModel(),l=gt(i.getModel().get(["lineStyle","curveness"]),-WC(i,t,n,!0),0);return{n1:f[i.node1.dataIndex],n2:f[i.node2.dataIndex],d:r,curveness:l,ignoreForceLayout:o.get("ignoreForceLayout")}})),m=e.getBoundingRect(),y=function(t,e,n){for(var a=t,i=e,r=n.rect,o=r.width,l=r.height,s=[r.x+o/2,r.y+l/2],u=null==n.gravity?.1:n.gravity,c=0;c<a.length;c++){var p=a[c];p.p||(p.p=At(o*(Math.random()-.5)+s[0],l*(Math.random()-.5)+s[1])),p.pp=Pt(p.p),p.edges=null}var d,h,f=null==n.friction?.6:n.friction,g=f;return{warmUp:function(){g=.8*f},setFixed:function(t){a[t].fixed=!0},setUnfixed:function(t){a[t].fixed=!1},beforeStep:function(t){d=t},afterStep:function(t){h=t},step:function(t){d&&d(a,i);for(var e=[],n=a.length,r=0;r<i.length;r++){var o=i[r];if(!o.ignoreForceLayout){var l=o.n1;Nt(e,(m=o.n2).p,l.p);var c=Et(e)-o.d,p=m.w/(l.w+m.w);isNaN(p)&&(p=0),Ht(e,e),!l.fixed&&tD(l.p,l.p,e,p*c*g),!m.fixed&&tD(m.p,m.p,e,-(1-p)*c*g)}}for(r=0;r<n;r++)(b=a[r]).fixed||(Nt(e,s,b.p),tD(b.p,b.p,e,u*g));for(r=0;r<n;r++){l=a[r];for(var f=r+1;f<n;f++){var m;Nt(e,(m=a[f]).p,l.p),0===(c=Et(e))&&(zt(e,Math.random()-.5,Math.random()-.5),c=1);var y=(l.rep+m.rep)/c/c;!l.fixed&&tD(l.pp,l.pp,e,y),!m.fixed&&tD(m.pp,m.pp,e,-y)}}var v=[];for(r=0;r<n;r++){var b;(b=a[r]).fixed||(Nt(v,b.p,b.pp),tD(b.p,b.p,v,g),Lt(b.pp,b.p))}var x=(g*=.992)<.01;h&&h(a,i,x),t&&t(x)}}}(f,g,{rect:m,gravity:o.get("gravity"),friction:o.get("friction")});y.beforeStep((function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].fixed&&Lt(t[n].p,a.getNodeByIndex(n).getLayout())})),y.afterStep((function(t,e,r){for(var o=0,l=t.length;o<l;o++)t[o].fixed||a.getNodeByIndex(o).setLayout(t[o].p),n[i.getId(o)]=t[o].p;for(o=0,l=e.length;o<l;o++){var s=e[o],u=a.getEdgeByIndex(o),c=s.n1.p,p=s.n2.p,d=u.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],Lt(d[0],c),Lt(d[1],p),+s.curveness&&(d[2]=[(c[0]+p[0])/2-(c[1]-p[1])*s.curveness,(c[1]+p[1])/2-(p[0]-c[0])*s.curveness]),u.setLayout(d)}})),t.forceLayout=y,t.preservedPoints=n,y.step()}else t.forceLayout=null}))}function nD(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var a=t.get("coordinateSystem");if(!a||"view"===a){var i=t.getData(),r=[],o=[];zo(i.mapArray((function(t){var e=i.getItemModel(t);return[+e.get("x"),+e.get("y")]})),r,o),o[0]-r[0]==0&&(o[0]+=1,r[0]-=1),o[1]-r[1]==0&&(o[1]+=1,r[1]-=1);var l=(o[0]-r[0])/(o[1]-r[1]),s=function(t,e,n){return Vd(V(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,l);isNaN(l)&&(r=[s.x,s.y],o=[s.x+s.width,s.y+s.height]);var u=o[0]-r[0],c=o[1]-r[1],p=s.width,d=s.height,h=t.coordinateSystem=new VI;h.zoomLimit=t.get("scaleLimit"),h.setBoundingRect(r[0],r[1],u,c),h.setViewRect(s.x,s.y,p,d),h.setCenter(t.get("center")),h.setZoom(t.get("zoom")),n.push(h)}})),n}var aD=ec.prototype,iD=oc.prototype,rD=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function oD(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}u(e,t)}(rD);var lD=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rD},e.prototype.buildPath=function(t,e){oD(e)?aD.buildPath.call(this,t,e):iD.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return oD(this.shape)?aD.pointAt.call(this,t):iD.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=oD(e)?[e.x2-e.x1,e.y2-e.y1]:iD.tangentAt.call(this,t);return Ht(n,n)},e}(Tl),sD=["fromSymbol","toSymbol"];function uD(t){return"_"+t+"Type"}function cD(t,e,n){var a=e.getItemVisual(n,t);if(a&&"none"!==a){var i=e.getItemVisual(n,t+"Size"),r=e.getItemVisual(n,t+"Rotate"),o=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),s=Zm(i),u=jm(o||0,s),c=Xm(a,-s[0]/2+u[0],-s[1]/2+u[1],s[0],s[1],null,l);return c.__specifiedRotation=null==r||isNaN(r)?void 0:+r*Math.PI/180||0,c.name=t,c}}function pD(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 dD=function(t){function e(e,n,a){var i=t.call(this)||this;return i._createLine(e,n,a),i}return u(e,t),e.prototype._createLine=function(t,e,n){var a=t.hostModel,i=function(t){var e=new lD({name:"line",subPixelOptimize:!0});return pD(e.shape,t),e}(t.getItemLayout(e));i.shape.percent=0,Dc(i,{shape:{percent:1}},a,e),this.add(i),X(sD,(function(n){var a=cD(n,t,e);this.add(a),this[uD(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var a=t.hostModel,i=this.childOfName("line"),r=t.getItemLayout(e),o={shape:{}};pD(o.shape,r),Cc(i,o,a,e),X(sD,(function(n){var a=t.getItemVisual(e,n),i=uD(n);if(this[i]!==a){this.remove(this.childOfName(n));var r=cD(n,t,e);this.add(r)}this[i]=a}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var a=t.hostModel,i=this.childOfName("line"),r=n&&n.emphasisLineStyle,o=n&&n.blurLineStyle,l=n&&n.selectLineStyle,s=n&&n.labelStatesModels;if(!n||t.hasItemOption){var u=t.getItemModel(e);r=u.getModel(["emphasis","lineStyle"]).getLineStyle(),o=u.getModel(["blur","lineStyle"]).getLineStyle(),l=u.getModel(["select","lineStyle"]).getLineStyle(),s=dp(u)}var c=t.getItemVisual(e,"style"),p=c.stroke;i.useStyle(c),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=r,i.ensureState("blur").style=o,i.ensureState("select").style=l,X(sD,(function(t){var e=this.childOfName(t);if(e){e.setColor(p),e.style.opacity=c.opacity;for(var n=0;n<os.length;n++){var a=os[n],r=i.getState(a);if(r){var o=r.style||{},l=e.ensureState(a),s=l.style||(l.style={});null!=o.stroke&&(s[e.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(s.opacity=o.opacity)}}e.markRedraw()}}),this);var d=a.getRawValue(e);pp(this,s,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return a.getFormattedLabel(e,n,t.dataType)}},inheritColor:p||"#000",defaultOpacity:c.opacity,defaultText:(null==d?t.getName(e):isFinite(d)?wi(d):d)+""});var h=this.getTextContent();if(h){var f=s.normal;h.__align=h.style.align,h.__verticalAlign=h.style.verticalAlign,h.__position=f.get("position")||"middle";var g=f.get("distance");tt(g)||(g=[g,g]),h.__labelDistance=g}this.setTextConfig({position:null,local:!0,inside:!1}),Us(this)},e.prototype.highlight=function(){Ls(this)},e.prototype.downplay=function(){Ps(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");pD(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),a=t.getTextContent();if(e||n||a&&!a.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var o=t.childOfName("line");if(this.__dirty||o.__dirty){var l=o.shape.percent,s=o.pointAt(0),u=o.pointAt(l),c=Nt([],u,s);if(Ht(c,c),e&&(e.setPosition(s),k(e,0),e.scaleX=e.scaleY=i*l,e.markRedraw()),n&&(n.setPosition(u),k(n,1),n.scaleX=n.scaleY=i*l,n.markRedraw()),a&&!a.ignore){a.x=a.y=0,a.originX=a.originY=0;var p=void 0,d=void 0,h=a.__labelDistance,f=h[0]*i,g=h[1]*i,m=l/2,y=o.tangentAt(m),v=[y[1],-y[0]],b=o.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var x=y[0]<0?-1:1;if("start"!==a.__position&&"end"!==a.__position){var _=-Math.atan2(y[1],y[0]);u[0]<s[0]&&(_=Math.PI+_),a.rotation=_}var w=void 0;switch(a.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,d="top";break;default:w=0,d="middle"}switch(a.__position){case"end":a.x=c[0]*f+u[0],a.y=c[1]*g+u[1],p=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":a.x=-c[0]*f+s[0],a.y=-c[1]*g+s[1],p=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":a.x=f*x+s[0],a.y=s[1]+w,p=y[0]<0?"right":"left",a.originX=-f*x,a.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":a.x=b[0],a.y=b[1]+w,p="center",a.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":a.x=-f*x+u[0],a.y=u[1]+w,p=y[0]>=0?"right":"left",a.originX=f*x,a.originY=-w}a.scaleX=a.scaleY=i,a.setStyle({verticalAlign:a.__verticalAlign||d,align:a.__align||p})}}}function k(t,e){var n=t.__specifiedRotation;if(null==n){var a=o.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(a[1],a[0]))}else t.attr("rotation",n)}},e}(pi),hD=function(){function t(t){this.group=new pi,this._LineCtor=t||dD}return t.prototype.isPersistent=function(){return!0},t.prototype.updateData=function(t){var e=this,n=this,a=n.group,i=n._lineData;n._lineData=t,i||a.removeAll();var r=fD(t);t.diff(i).add((function(n){e._doAdd(t,n,r)})).update((function(n,a){e._doUpdate(i,t,a,n,r)})).remove((function(t){a.remove(i.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=fD(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)}for(var a=t.start;a<t.end;a++){if(mD(e.getItemLayout(a))){var i=new this._LineCtor(e,a,this._seriesScope);i.traverse(n),this.group.add(i),e.setItemGraphicEl(a,i)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype._doAdd=function(t,e,n){if(mD(t.getItemLayout(e))){var a=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,a),this.group.add(a)}},t.prototype._doUpdate=function(t,e,n,a,i){var r=t.getItemGraphicEl(n);mD(e.getItemLayout(a))?(r?r.updateData(e,a,i):r=new this._LineCtor(e,a,i),e.setItemGraphicEl(a,r),this.group.add(r)):this.group.remove(r)},t}();function fD(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["emphasis","lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),labelStatesModels:dp(e)}}function gD(t){return isNaN(t[0])||isNaN(t[1])}function mD(t){return!gD(t[0])&&!gD(t[1])}var yD=[],vD=[],bD=[],xD=bo,_D=Xt,wD=Math.abs;function kD(t,e,n){for(var a,i=t[0],r=t[1],o=t[2],l=1/0,s=n*n,u=.1,c=.1;c<=.9;c+=.1){yD[0]=xD(i[0],r[0],o[0],c),yD[1]=xD(i[1],r[1],o[1],c),(h=wD(_D(yD,e)-s))<l&&(l=h,a=c)}for(var p=0;p<32;p++){var d=a+u;vD[0]=xD(i[0],r[0],o[0],a),vD[1]=xD(i[1],r[1],o[1],a),bD[0]=xD(i[0],r[0],o[0],d),bD[1]=xD(i[1],r[1],o[1],d);var h=_D(vD,e)-s;if(wD(h)<.01)break;var f=_D(bD,e)-s;u/=2,h<0?f>=0?a+=u:a-=u:f>=0?a-=u:a+=u}return a}function SD(t,e){var n=[],a=wo,i=[[],[],[]],r=[[],[]],o=[];e/=2,t.eachEdge((function(t,l){var s=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");s.__original||(s.__original=[Pt(s[0]),Pt(s[1])],s[2]&&s.__original.push(Pt(s[2])));var p=s.__original;if(null!=s[2]){if(Lt(i[0],p[0]),Lt(i[1],p[2]),Lt(i[2],p[1]),u&&"none"!==u){var d=jC(t.node1),h=kD(i,p[0],d*e);a(i[0][0],i[1][0],i[2][0],h,n),i[0][0]=n[3],i[1][0]=n[4],a(i[0][1],i[1][1],i[2][1],h,n),i[0][1]=n[3],i[1][1]=n[4]}if(c&&"none"!==c){d=jC(t.node2),h=kD(i,p[1],d*e);a(i[0][0],i[1][0],i[2][0],h,n),i[1][0]=n[1],i[2][0]=n[2],a(i[0][1],i[1][1],i[2][1],h,n),i[1][1]=n[1],i[2][1]=n[2]}Lt(s[0],i[0]),Lt(s[1],i[2]),Lt(s[2],i[1])}else{if(Lt(r[0],p[0]),Lt(r[1],p[1]),Nt(o,r[1],r[0]),Ht(o,o),u&&"none"!==u){d=jC(t.node1);Rt(r[0],r[0],o,d*e)}if(c&&"none"!==c){d=jC(t.node2);Rt(r[1],r[1],o,-d*e)}Lt(s[0],r[0]),Lt(s[1],r[1])}}))}function MD(t){return"view"===t.type}var ID=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(t,e){var n=new Pk,a=new hD,i=this.group;this._controller=new fI(e.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(a.group),this._symbolDraw=n,this._lineDraw=a,this._firstRender=!0},e.prototype.render=function(t,e,n){var a=this,i=t.coordinateSystem;this._model=t;var r=this._symbolDraw,o=this._lineDraw,l=this.group;if(MD(i)){var s={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?l.attr(s):Cc(l,s,t)}SD(t.getGraph(),ZC(t));var u=t.getData();r.updateData(u);var c=t.getEdgeData();o.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var p=t.forceLayout,d=t.get(["force","layoutAnimation"]);p&&this._startForceLayoutIteration(p,d),u.graph.eachNode((function(t){var e=t.dataIndex,n=t.getGraphicEl(),i=t.getModel();n.off("drag").off("dragend");var r=i.get("draggable");r&&n.on("drag",(function(){p&&(p.warmUp(),!a._layouting&&a._startForceLayoutIteration(p,d),p.setFixed(e),u.setItemLayout(e,[n.x,n.y]))})).on("dragend",(function(){p&&p.setUnfixed(e)})),n.setDraggable(r&&!!p),"adjacency"===i.get(["emphasis","focus"])&&(es(n).focus=t.getAdjacentDataIndices())})),u.graph.eachEdge((function(t){var e=t.getGraphicEl();"adjacency"===t.getModel().get(["emphasis","focus"])&&(es(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var h="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),f=u.getLayout("cx"),g=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e).get(["label","rotate"])||0,a=t.getSymbolPath();if(h){var i=u.getItemLayout(e),r=Math.atan2(i[1]-g,i[0]-f);r<0&&(r=2*Math.PI+r);var o=i[0]<f;o&&(r-=Math.PI);var l=o?"left":"right";a.setTextConfig({rotation:-r,position:l,origin:"center"});var s=a.ensureState("emphasis");V(s.textConfig||(s.textConfig={}),{position:l})}else a.setTextConfig({rotation:n*=Math.PI/180})})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function a(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(a,16):a())}))}()},e.prototype._updateController=function(t,e,n){var a=this,i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(e,a,i){var r=o.getBoundingRect();return r.applyTransform(o.transform),r.contain(a,i)&&!_I(e,n,t)})),MD(t.coordinateSystem)?(i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){vI(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){bI(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),a._updateNodeAndLinkScale(),SD(t.getGraph(),ZC(t)),a._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=ZC(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){SD(t.getGraph(),ZC(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Eg);function TD(t){return"_EC_"+t}var CD=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[TD(t)]){var a=new DD(t,e);return a.hostGraph=this,this.nodes.push(a),n[TD(t)]=a,a}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[TD(t)]},t.prototype.addEdge=function(t,e,n){var a=this._nodesMap,i=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),t instanceof DD||(t=a[TD(t)]),e instanceof DD||(e=a[TD(e)]),t&&e){var r=t.id+"-"+e.id,o=new AD(t,e,n);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),i[r]=o,o}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof DD&&(t=t.id),e instanceof DD&&(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,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&t.call(e,n[i],i)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},t.prototype.breadthFirstTraverse=function(t,e,n,a){if(e instanceof DD||(e=this._nodesMap[TD(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r<this.nodes.length;r++)this.nodes[r].__visited=!1;if(!t.call(a,e,null))for(var o=[e];o.length;){var l=o.shift(),s=l[i];for(r=0;r<s.length;r++){var u=s[r],c=u.node1===l?u.node2:u.node1;if(!c.__visited){if(t.call(a,c,l))return;o.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,a=this.edges,i=0,r=n.length;i<r;i++)n[i].dataIndex=-1;for(i=0,r=t.count();i<r;i++)n[t.getRawIndex(i)].dataIndex=i;e.filterSelf((function(t){var n=a[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,r=a.length;i<r;i++)a[i].dataIndex=-1;for(i=0,r=e.count();i<r;i++)a[e.getRawIndex(i)].dataIndex=i},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,a=this.edges,i=0;i<n.length;i++)e.addNode(n[i].id,n[i].dataIndex);for(i=0;i<a.length;i++){var r=a[i];e.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return e},t}(),DD=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];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),AD=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}();function LD(t,e){return{getValue:function(n){var a=this[t][e];return a.getStore().get(a.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,a){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,a)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,a){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,a)},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)}}}function PD(t,e,n,a,i){for(var r=new CD(a),o=0;o<t.length;o++)r.addNode(ht(t[o].id,t[o].name,o),o);var l=[],s=[],u=0;for(o=0;o<e.length;o++){var c=e[o],p=c.source,d=c.target;r.addEdge(p,d,u)&&(s.push(c),l.push(ht(er(c.id,null),p+" > "+d)),u++)}var h,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)h=sx(t,n);else{var g=Ah.get(f),m=g&&g.dimensions||[];H(m,"value")<0&&m.concat(["value"]);var y=tx(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(h=new Qb(y,n)).initData(t)}var v=new Qb(["value"],n);return v.initData(s,l),i&&i(h,v),yT({mainData:h,struct:r,structAttr:"graph",datas:{node:h,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),r.update(),r}U(DD,LD("hostGraph","data")),U(AD,LD("hostGraph","edgeData"));var zD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return u(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function a(){return n._categoriesData}this.legendVisualProvider=new KS(a,a),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),ji(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,a=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&a){BC(n=this)&&(n.__curvenessList=[],n.__edgeMap={},VC(n));var o=PD(i,a,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Op.prototype.getModel;function a(t,e){var a=n.call(this,t,e);return a.resolveParentPath=i,a}function i(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=i,t.getModel=a,t}))}));return X(o.edges,(function(t){!function(t,e,n,a){if(BC(n)){var i=FC(t,e,n),r=n.__edgeMap,o=r[GC(i)];r[i]&&!o?r[i].isForward=!0:o&&r[i]&&(o.isForward=!0,r[i].isForward=!1),r[i]=r[i]||[],r[i].push(a)}}(t.node1,t.node2,this,t.dataIndex)}),this),o.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 a=this.getData(),i=this.getDataParams(t,n),r=a.graph.getEdgeByIndex(t),o=a.getName(r.node1.dataIndex),l=a.getName(r.node2.dataIndex),s=[];return null!=o&&s.push(o),null!=l&&s.push(l),dg("nameValue",{name:s.join(" > "),value:i.value,noValue:null==i.value})}return wg({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=Z(this.option.categories||[],(function(t){return null!=t.value?t:V({value:0},t)})),e=new Qb(["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={zlevel:0,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}(Mg),OD={type:"graphRoam",event:"graphRoam",update:"none"};var RD=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},ND=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return u(e,t),e.prototype.getDefaultShape=function(){return new RD},e.prototype.buildPath=function(t,e){var n=Math.cos,a=Math.sin,i=e.r,r=e.width,o=e.angle,l=e.x-n(o)*r*(r>=i/3?1:2),s=e.y-a(o)*r*(r>=i/3?1:2);o=e.angle-Math.PI/2,t.moveTo(l,s),t.lineTo(e.x+n(o)*r,e.y+a(o)*r),t.lineTo(e.x+n(e.angle)*i,e.y+a(e.angle)*i),t.lineTo(e.x-n(o)*r,e.y-a(o)*r),t.lineTo(l,s)},e}(Tl);function ED(t,e){var n=null==t?"":t+"";return e&&("string"==typeof e?n=e.replace("{value}",n):"function"==typeof e&&(n=e(t))),n}var BD=2*Math.PI,VD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var a=t.get(["axisLine","lineStyle","color"]),i=function(t,e){var n=t.get("center"),a=e.getWidth(),i=e.getHeight(),r=Math.min(a,i);return{cx:_i(n[0],e.getWidth()),cy:_i(n[1],e.getHeight()),r:_i(t.get("radius"),r/2)}}(t,n);this._renderMain(t,e,n,a,i),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,a,i){for(var r=this.group,o=t.get("clockwise"),l=-t.get("startAngle")/180*Math.PI,s=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?fS:Fu,p=u.get("show"),d=u.getModel("lineStyle"),h=d.get("width"),f=(s-l)%BD||s===l?(s-l)%BD:BD,g=l,m=0;p&&m<a.length;m++){var y=new c({shape:{startAngle:g,endAngle:s=l+f*Math.min(Math.max(a[m][0],0),1),cx:i.cx,cy:i.cy,clockwise:o,r0:i.r-h,r:i.r},silent:!0});y.setStyle({fill:a[m][1]}),y.setStyle(d.getLineStyle(["color","width"])),r.add(y),g=s}var v=function(t){if(t<=0)return a[0][1];var e;for(e=0;e<a.length;e++)if(a[e][0]>=t&&(0===e?0:a[e-1][0])<t)return a[e][1];return a[e-1][1]};if(!o){var b=l;l=s,s=b}this._renderTicks(t,e,n,v,i,l,s,o,h),this._renderTitleAndDetail(t,e,n,v,i),this._renderAnchor(t,i),this._renderPointer(t,e,n,v,i,l,s,o,h)},e.prototype._renderTicks=function(t,e,n,a,i,r,o,l,s){for(var u,c,p=this.group,d=i.cx,h=i.cy,f=i.r,g=+t.get("min"),m=+t.get("max"),y=t.getModel("splitLine"),v=t.getModel("axisTick"),b=t.getModel("axisLabel"),x=t.get("splitNumber"),_=v.get("splitNumber"),w=_i(y.get("length"),f),k=_i(v.get("length"),f),S=r,M=(o-r)/x,I=M/_,T=y.getModel("lineStyle").getLineStyle(),C=v.getModel("lineStyle").getLineStyle(),D=y.get("distance"),A=0;A<=x;A++){if(u=Math.cos(S),c=Math.sin(S),y.get("show")){var L=new ec({shape:{x1:u*(f-(P=D?D+s:s))+d,y1:c*(f-P)+h,x2:u*(f-w-P)+d,y2:c*(f-w-P)+h},style:T,silent:!0});"auto"===T.stroke&&L.setStyle({stroke:a(A/x)}),p.add(L)}if(b.get("show")){var P=b.get("distance")+D,z=ED(wi(A/x*(m-g)+g),b.get("formatter")),O=a(A/x);p.add(new ts({style:hp(b,{text:z,x:u*(f-w-P)+d,y:c*(f-w-P)+h,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:O}),silent:!0}))}if(v.get("show")&&A!==x){P=(P=v.get("distance"))?P+s:s;for(var R=0;R<=_;R++){u=Math.cos(S),c=Math.sin(S);var N=new ec({shape:{x1:u*(f-P)+d,y1:c*(f-P)+h,x2:u*(f-k-P)+d,y2:c*(f-k-P)+h},silent:!0,style:C});"auto"===C.stroke&&N.setStyle({stroke:a((A+R/_)/x)}),p.add(N),S+=I}S-=I}else S+=M}},e.prototype._renderPointer=function(t,e,n,a,i,r,o,l,s){var u=this.group,c=this._data,p=this._progressEls,d=[],h=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),m=t.getData(),y=m.mapDimension("value"),v=+t.get("min"),b=+t.get("max"),x=[v,b],_=[r,o];function w(e,n){var a,r=m.getItemModel(e).getModel("pointer"),o=_i(r.get("width"),i.r),l=_i(r.get("length"),i.r),s=t.get(["pointer","icon"]),u=r.get("offsetCenter"),c=_i(u[0],i.r),p=_i(u[1],i.r),d=r.get("keepAspect");return(a=s?Xm(s,c-o/2,p-l,o,l,null,d):new ND({shape:{angle:-Math.PI/2,width:o,r:l,x:c,y:p}})).rotation=-(n+Math.PI/2),a.x=i.cx,a.y=i.cy,a}function k(t,e){var n=f.get("roundCap")?fS:Fu,a=f.get("overlap"),o=a?f.get("width"):s/m.count(),u=a?i.r-o:i.r-(t+1)*o,c=a?i.r:i.r-t*o,p=new n({shape:{startAngle:r,endAngle:e,cx:i.cx,cy:i.cy,clockwise:l,r0:u,r:c}});return a&&(p.z2=b-m.get(y,t)%b),p}(g||h)&&(m.diff(c).add((function(e){if(h){var n=w(e,r);Dc(n,{rotation:-(xi(m.get(y,e),x,_,!0)+Math.PI/2)},t),u.add(n),m.setItemGraphicEl(e,n)}if(g){var a=k(e,r),i=f.get("clip");Dc(a,{shape:{endAngle:xi(m.get(y,e),x,_,i)}},t),u.add(a),ns(t.seriesIndex,m.dataType,e,a),d[e]=a}})).update((function(e,n){if(h){var a=c.getItemGraphicEl(n),i=a?a.rotation:r,o=w(e,i);o.rotation=i,Cc(o,{rotation:-(xi(m.get(y,e),x,_,!0)+Math.PI/2)},t),u.add(o),m.setItemGraphicEl(e,o)}if(g){var l=p[n],s=k(e,l?l.shape.endAngle:r),v=f.get("clip");Cc(s,{shape:{endAngle:xi(m.get(y,e),x,_,v)}},t),u.add(s),ns(t.seriesIndex,m.dataType,e,s),d[e]=s}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis");if(h){var i=m.getItemGraphicEl(t),r=m.getItemVisual(t,"style"),o=r.fill;if(i instanceof Ol){var l=i.style;i.useStyle(V({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},r))}else i.useStyle(r),"pointer"!==i.type&&i.setColor(o);i.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===i.style.fill&&i.setStyle("fill",a(xi(m.get(y,t),x,[0,1],!0))),i.z2EmphasisLift=0,js(i,e),Us(i,n.get("focus"),n.get("blurScope"))}if(g){var s=d[t];s.useStyle(m.getItemVisual(t,"style")),s.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),s.z2EmphasisLift=0,js(s,e),Us(s,n.get("focus"),n.get("blurScope"))}})),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var a=n.get("size"),i=n.get("icon"),r=n.get("offsetCenter"),o=n.get("keepAspect"),l=Xm(i,e.cx-a/2+_i(r[0],e.r),e.cy-a/2+_i(r[1],e.r),a,a,null,o);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,a,i){var r=this,o=t.getData(),l=o.mapDimension("value"),s=+t.get("min"),u=+t.get("max"),c=new pi,p=[],d=[],h=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);o.diff(this._data).add((function(t){p[t]=new ts({silent:!0}),d[t]=new ts({silent:!0})})).update((function(t,e){p[t]=r._titleEls[e],d[t]=r._detailEls[e]})).execute(),o.each((function(e){var n=o.getItemModel(e),r=o.get(l,e),g=new pi,m=a(xi(r,[s,u],[0,1],!0)),y=n.getModel("title");if(y.get("show")){var v=y.get("offsetCenter"),b=i.cx+_i(v[0],i.r),x=i.cy+_i(v[1],i.r);(C=p[e]).attr({z2:f?0:2,style:hp(y,{x:b,y:x,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(C)}var _=n.getModel("detail");if(_.get("show")){var w=_.get("offsetCenter"),k=i.cx+_i(w[0],i.r),S=i.cy+_i(w[1],i.r),M=_i(_.get("width"),i.r),I=_i(_.get("height"),i.r),T=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:m,C=d[e],D=_.get("formatter");C.attr({z2:f?0:2,style:hp(_,{x:k,y:S,text:ED(r,D),width:isNaN(M)?null:M,height:isNaN(I)?null:I,align:"center",verticalAlign:"middle"},{inheritColor:T})}),_p(C,{normal:_},r,(function(t){return ED(t,D)})),h&&wp(C,e,o,t,{getFormattedLabel:function(t,e,n,a,i,o){return ED(o?o.interpolatedValue:r,D)}}),g.add(C)}c.add(g)})),this.group.add(c),this._titleEls=p,this._detailEls=d},e.type="gauge",e}(Eg),FD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return u(e,t),e.prototype.getInitialData=function(t,e){return qS(this,["value"])},e.type="series.gauge",e.defaultOption={zlevel:0,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},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}(Mg);var GD=["itemStyle","opacity"],HD=function(t){function e(e,n){var a=t.call(this)||this,i=a,r=new $u,o=new ts;return i.setTextContent(o),a.setTextGuideLine(r),a.updateData(e,n,!0),a}return u(e,t),e.prototype.updateData=function(t,e,n){var a=this,i=t.hostModel,r=t.getItemModel(e),o=t.getItemLayout(e),l=r.getModel("emphasis"),s=r.get(GD);s=null==s?1:s,n||Oc(a),a.useStyle(t.getItemVisual(e,"style")),a.style.lineJoin="round",n?(a.setShape({points:o.points}),a.style.opacity=0,Dc(a,{style:{opacity:s}},i,e)):Cc(a,{style:{opacity:s},shape:{points:o.points}},i,e),js(a,r),this._updateLabel(t,e),Us(this,l.get("focus"),l.get("blurScope"))},e.prototype._updateLabel=function(t,e){var n=this,a=this.getTextGuideLine(),i=n.getTextContent(),r=t.hostModel,o=t.getItemModel(e),l=t.getItemLayout(e).label,s=t.getItemVisual(e,"style"),u=s.fill;pp(i,dp(o),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:s.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:u,outsideFill:u});var c=l.linePoints;a.setShape({points:c}),n.textGuideLineConfig={anchor:c?new La(c[0][0],c[0][1]):null},Cc(i,{style:{x:l.x,y:l.y}},r,e),i.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),aw(n,iw(o),{stroke:u})},e}(ju),WD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return u(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this._data,r=this.group;a.diff(i).add((function(t){var e=new HD(a,t);a.setItemGraphicEl(t,e),r.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(a,t),r.add(n),a.setItemGraphicEl(t,n)})).remove((function(e){zc(i.getItemGraphicEl(e),t,e)})).execute(),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Eg),UD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new KS(J(this.getData,this),J(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return qS(this,{coordDimensions:["value"],encodeDefaulter:Q(ch,this)})},e.prototype._defaultLabelLine=function(t){ji(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(),a=t.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),r=n.getSum(i);return a.percent=r?+(n.get(i,e)/r*100).toFixed(2):0,a.$vars.push("percent"),a},e.type="series.funnel",e.defaultOption={zlevel:0,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}(Mg);function YD(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),a=n.mapDimension("value"),i=t.get("sort"),r=function(t,e){return Vd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),o=t.get("orient"),l=r.width,s=r.height,u=function(t,e){for(var n=t.mapDimension("value"),a=t.mapArray(n,(function(t){return t})),i=[],r="ascending"===e,o=0,l=t.count();o<l;o++)i[o]=o;return"function"==typeof e?i.sort(e):"none"!==e&&i.sort((function(t,e){return r?a[t]-a[e]:a[e]-a[t]})),i}(n,i),c=r.x,p=r.y,d="horizontal"===o?[_i(t.get("minSize"),s),_i(t.get("maxSize"),s)]:[_i(t.get("minSize"),l),_i(t.get("maxSize"),l)],h=n.getDataExtent(a),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(h[0],0)),null==g&&(g=h[1]);var m=t.get("funnelAlign"),y=t.get("gap"),v=(("horizontal"===o?l:s)-y*(n.count()-1))/n.count(),b=function(t,e){if("horizontal"===o){var i=xi(n.get(a,t)||0,[f,g],d,!0),r=void 0;switch(m){case"top":r=p;break;case"center":r=p+(s-i)/2;break;case"bottom":r=p+(s-i)}return[[e,r],[e,r+i]]}var u,h=xi(n.get(a,t)||0,[f,g],d,!0);switch(m){case"left":u=c;break;case"center":u=c+(l-h)/2;break;case"right":u=c+l-h}return[[u,e],[u+h,e]]};"ascending"===i&&(v=-v,y=-y,"horizontal"===o?c+=l:p+=s,u=u.reverse());for(var x=0;x<u.length;x++){var _=u[x],w=u[x+1],k=n.getItemModel(_);if("horizontal"===o){var S=k.get(["itemStyle","width"]);null==S?S=v:(S=_i(S,l),"ascending"===i&&(S=-S));var M=b(_,c),I=b(w,c+S);c+=S+y,n.setItemLayout(_,{points:M.concat(I.slice().reverse())})}else{var T=k.get(["itemStyle","height"]);null==T?T=v:(T=_i(T,s),"ascending"===i&&(T=-T));M=b(_,p),I=b(w,p+T);p+=T+y,n.setItemLayout(_,{points:M.concat(I.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var a,i,r,o,l=t.getItemModel(n),s=l.getModel("label").get("position"),u=l.getModel("labelLine"),c=t.getItemLayout(n),p=c.points,d="inner"===s||"inside"===s||"center"===s||"insideLeft"===s||"insideRight"===s;if(d)"insideLeft"===s?(i=(p[0][0]+p[3][0])/2+5,r=(p[0][1]+p[3][1])/2,a="left"):"insideRight"===s?(i=(p[1][0]+p[2][0])/2-5,r=(p[1][1]+p[2][1])/2,a="right"):(i=(p[0][0]+p[1][0]+p[2][0]+p[3][0])/4,r=(p[0][1]+p[1][1]+p[2][1]+p[3][1])/4,a="center"),o=[[i,r],[i,r]];else{var h=void 0,f=void 0,g=void 0,m=void 0,y=u.get("length");"left"===s?(h=(p[3][0]+p[0][0])/2,f=(p[3][1]+p[0][1])/2,i=(g=h-y)-5,a="right"):"right"===s?(h=(p[1][0]+p[2][0])/2,f=(p[1][1]+p[2][1])/2,i=(g=h+y)+5,a="left"):"top"===s?(h=(p[3][0]+p[0][0])/2,r=(m=(f=(p[3][1]+p[0][1])/2)-y)-5,a="center"):"bottom"===s?(h=(p[1][0]+p[2][0])/2,r=(m=(f=(p[1][1]+p[2][1])/2)+y)+5,a="center"):"rightTop"===s?(h="horizontal"===e?p[3][0]:p[1][0],f="horizontal"===e?p[3][1]:p[1][1],"horizontal"===e?(r=(m=f-y)-5,a="center"):(i=(g=h+y)+5,a="top")):"rightBottom"===s?(h=p[2][0],f=p[2][1],"horizontal"===e?(r=(m=f+y)+5,a="center"):(i=(g=h+y)+5,a="bottom")):"leftTop"===s?(h=p[0][0],f="horizontal"===e?p[0][1]:p[1][1],"horizontal"===e?(r=(m=f-y)-5,a="center"):(i=(g=h-y)-5,a="right")):"leftBottom"===s?(h="horizontal"===e?p[1][0]:p[3][0],f="horizontal"===e?p[1][1]:p[2][1],"horizontal"===e?(r=(m=f+y)+5,a="center"):(i=(g=h-y)-5,a="right")):(h=(p[1][0]+p[2][0])/2,f=(p[1][1]+p[2][1])/2,"horizontal"===e?(r=(m=f+y)+5,a="center"):(i=(g=h+y)+5,a="left")),"horizontal"===e?i=g=h:r=m=f,o=[[h,f],[g,m]]}c.label={linePoints:o,x:i,y:r,verticalAlign:"middle",textAlign:a,inside:d}}))}(n)}))}var XD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new pi,n._initialized=!1,n}return u(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,a){var i=this._dataGroup,r=t.getData(),o=this._data,l=t.coordinateSystem,s=l.dimensions,u=qD(t);if(r.diff(o).add((function(t){KD(jD(r,i,t,s,l),r,t,u)})).update((function(e,n){var a=o.getItemGraphicEl(n),i=ZD(r,e,s,l);r.setItemGraphicEl(e,a),Cc(a,{shape:{points:i}},t,e),Oc(a),KD(a,r,e,u)})).remove((function(t){var e=o.getItemGraphicEl(t);i.remove(e)})).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var a=t.model,i=t.getRect(),r=new Hl({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),o="horizontal"===a.get("layout")?"width":"height";return r.setShape(o,0),Dc(r,{shape:{width:i.width,height:i.height}},e,n),r}(l,t,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(c)}this._data=r},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 a=e.getData(),i=e.coordinateSystem,r=i.dimensions,o=qD(e),l=t.start;l<t.end;l++){var s=jD(a,this._dataGroup,l,r,i);s.incremental=!0,KD(s,a,l,o)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Eg);function ZD(t,e,n,a){for(var i,r=[],o=0;o<n.length;o++){var l=n[o],s=t.get(t.mapDimension(l),e);i=s,("category"===a.getAxis(l).type?null==i:null==i||isNaN(i))||r.push(a.dataToPoint(s,l))}return r}function jD(t,e,n,a,i){var r=ZD(t,n,a,i),o=new $u({shape:{points:r},z2:10});return e.add(o),t.setItemGraphicEl(n,o),o}function qD(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),dt(e=Vi(e))&&(e=0),{smooth:e}}function KD(t,e,n,a){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",a.smooth);var i=e.getItemModel(n),r=i.getModel("emphasis");js(t,i,"lineStyle"),Us(t,r.get("focus"),r.get("blurScope"))}var $D=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 u(e,t),e.prototype.getInitialData=function(t,e){return sx(null,this,{useEncodeDefaulter:J(JD,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),a=[];return e.eachActiveState(n,(function(e,i){t===e&&a.push(n.getRawIndex(i))})),a},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(Mg);function JD(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return X(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}var QD=["lineStyle","opacity"],tA={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,a={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 i=a[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(n).get(QD,!0);null!=r&&(i=r)}e.ensureUniqueItemVisual(n,"style").opacity=i}),t.start,t.end)}}}};function eA(t){!function(t){if(t.parallel)return;var e=!1;X(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){X(Zi(t.parallelAxis),(function(e){if(rt(e)){var n=e.parallelIndex||0,a=Zi(t.parallel)[n];a&&a.parallelAxisDefault&&E(e,a.parallelAxisDefault,!1)}}))}(t)}var nA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},X(aA,(function(t,e){n.getZr().on(e,this._handlers[e]=J(t,this))}),this)),Zg(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){X(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(V({type:"parallelAxisExpand"},t))},e.type="parallel",e}(zg),aA={mousedown:function(t){iA(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(iA(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 a=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&iA(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),a=n.behavior;"jump"===a&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===a?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===a?null:{duration:0}})}}};function iA(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var rA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&E(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){X(["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=[];X(q(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={zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Xd),oA=function(t){function e(e,n,a,i,r){var o=t.call(this,e,n,a)||this;return o.type=i||"value",o.axisIndex=r,o}return u(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(z_);function lA(t,e,n,a,i,r){t=t||0;var o=n[1]-n[0];if(null!=i&&(i=uA(i,[0,o])),null!=r&&(r=Math.max(r,null!=i?i:0)),"all"===a){var l=Math.abs(e[1]-e[0]);l=uA(l,[0,o]),i=r=uA(l,[i,r]),a=0}e[0]=uA(e[0],n),e[1]=uA(e[1],n);var s=sA(e,a);e[a]+=t;var u,c=i||0,p=n.slice();return s.sign<0?p[0]+=c:p[1]-=c,e[a]=uA(e[a],p),u=sA(e,a),null!=i&&(u.sign!==s.sign||u.span<i)&&(e[1-a]=e[a]+s.sign*i),u=sA(e,a),null!=r&&u.span>r&&(e[1-a]=e[a]+u.sign*r),e}function sA(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 uA(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var cA=X,pA=Math.min,dA=Math.max,hA=Math.floor,fA=Math.ceil,gA=wi,mA=Math.PI,yA=function(){function t(t,e,n){this.type="parallel",this._axesMap=St(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var a=t.dimensions,i=t.parallelAxisIndex;cA(a,(function(t,n){var a=i[n],r=e.getComponent("parallelAxis",a),o=this._axesMap.set(t,new oA(t,s_(r),[0,0],r.get("type"),a)),l="category"===o.type;o.onBand=l&&r.get("boundaryGap"),o.inverse=r.get("inverse"),r.axis=o,o.model=r,o.coordinateSystem=r.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,a=e.layoutBase,i=e.pixelDimIndex,r=t[1-i],o=t[i];return r>=n&&r<=n+e.axisLength&&o>=a&&o<=a+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 a=n.getData();cA(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(a,a.mapDimension(t)),l_(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Vd(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,a=["x","y"],i=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,l=n[i[o]],s=[0,l],u=this.dimensions.length,c=vA(e.get("axisExpandWidth"),s),p=vA(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>p&&p>1&&c>0&&l>0,h=e.get("axisExpandWindow");h?(t=vA(h[1]-h[0],s),h[1]=h[0]+t):(t=vA(c*(p-1),s),(h=[c*(e.get("axisExpandCenter")||hA(u/2))-t/2])[1]=h[0]+t);var f=(l-t)/(u-p);f<3&&(f=0);var g=[hA(gA(h[0]/c,1))+1,fA(gA(h[1]/c,1))-1],m=f/c*h[0];return{layout:r,pixelDimIndex:o,layoutBase:n[a[o]],layoutLength:l,axisBase:n[a[1-o]],axisLength:n[i[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:f,axisExpandWindow:h,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,a=this._makeLayoutInfo(),i=a.layout;e.each((function(t){var e=[0,a.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),cA(n,(function(e,n){var r=(a.axisExpandable?xA:bA)(n,a),o={horizontal:{x:r.position,y:a.axisLength},vertical:{x:0,y:r.position}},l={horizontal:mA/2,vertical:0},s=[o[i].x+t.x,o[i].y+t.y],u=l[i],c=[1,0,0,1,0,0];ha(c,c,u),da(c,c,s),this._axesLayout[e]={position:s,rotation:u,transform:c,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.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,a){null==n&&(n=0),null==a&&(a=t.count());var i=this._axesMap,r=this.dimensions,o=[],l=[];X(r,(function(e){o.push(t.mapDimension(e)),l.push(i.get(e).model)}));for(var s=this.hasAxisBrushed(),u=n;u<a;u++){var c=void 0;if(s){c="active";for(var p=t.getValues(o,u),d=0,h=r.length;d<h;d++){if("inactive"===l[d].getActiveState(p[d])){c="inactive";break}}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,a=0,i=t.length;a<i;a++)"normal"!==e.get(t[a]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Kc([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return N(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,a=e.axisExpandWindow.slice(),i=a[1]-a[0],r=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:a};var o,l=t[n]-e.layoutBase-e.axisExpandWindow0Pos,s="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),p=null!=c[0];if(u)p&&u&&l<i*c[0]?(s="jump",o=l-i*c[2]):p&&u&&l>i*(1-c[0])?(s="jump",o=l-i*(1-c[2])):(o=l-i*c[1])>=0&&(o=l-i*(1-c[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?lA(o,a,r,"all"):s="none";else{var d=a[1]-a[0];(a=[dA(0,r[1]*l/d-d/2)])[1]=pA(r[1],a[0]+d),a[0]=a[1]-d}return{axisExpandWindow:a,behavior:s}},t}();function vA(t,e){return pA(dA(t,e[0]),e[1])}function bA(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function xA(t,e){var n,a,i=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,l=e.axisCollapseWidth,s=e.winInnerIndices,u=l,c=!1;return t<s[0]?(n=t*l,a=l):t<=s[1]?(n=e.axisExpandWindow0Pos+t*r-e.axisExpandWindow[0],u=r,c=!0):(n=i-(o-1-t)*l,a=l),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:a}}var _A={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(a,i){var r=new yA(a,t,e);r.name="parallel_"+i,r.resize(a,e),a.coordinateSystem=r,r.model=a,n.push(r)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",ur).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},wA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return u(e,t),e.prototype.getAreaSelectStyle=function(){return Mr([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=N(t);if(e)for(var n=e.length-1;n>=0;n--)ki(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 a=0,i=e.length;a<i;a++)if(e[a][0]<=t&&t<=e[a][1])return"active";return"inactive"},e}(Xd);U(wA,g_);var kA=!0,SA=Math.min,MA=Math.max,IA=Math.pow,TA="globalPan",CA={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},DA={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},AA={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},LA=0,PA=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new pi,n._uid="brushController_"+LA++,X(rL,(function(t,e){this._handlers[e]=J(t,this)}),n),n}return u(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){hI(t)[e]=n}(e,TA,this._uid),X(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=E(N(AA),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var a=hI(t);a[e]===n&&(a[e]=null)}(t,TA,this._uid),X(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={};X(t,(function(t){e[t.panelId]=N(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 E(N(AA),t,!0)}));var e=this._covers,n=this._covers=[],a=this,i=this._creatingCover;return new Db(e,t,(function(t,e){return r(t.__brushOption,e)}),r).add(o).update(o).remove((function(t){e[t]!==i&&a.group.remove(e[t])})).execute(),this;function r(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function o(r,o){var l=t[r];if(null!=o&&e[o]===i)n[r]=e[o];else{var s=n[r]=null!=o?(e[o].__brushOption=l,e[o]):OA(a,zA(a,l));EA(a,s)}}},e.prototype.unmount=function(){return this.enableBrush(!1),GA(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(ne);function zA(t,e){var n=lL[e.brushType].createCover(t,e);return n.__brushOption=e,NA(n,e),t.group.add(n),n}function OA(t,e){var n=BA(e);return n.endCreating&&(n.endCreating(t,e),NA(e,e.__brushOption)),e}function RA(t,e){var n=e.__brushOption;BA(e).updateCoverShape(t,e,n.range,n)}function NA(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=n,t.z2=n}))}function EA(t,e){BA(e).updateCommon(t,e),RA(t,e)}function BA(t){return lL[t.__brushOption.brushType]}function VA(t,e,n){var a,i=t._panels;if(!i)return kA;var r=t._transform;return X(i,(function(t){t.isTargetByCursor(e,n,r)&&(a=t)})),a}function FA(t,e){var n=t._panels;if(!n)return kA;var a=e.__brushOption.panelId;return null!=a?n[a]:kA}function GA(t){var e=t._covers,n=e.length;return X(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function HA(t,e){var n=Z(t._covers,(function(t){var e=t.__brushOption,n=N(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function WA(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function UA(t,e,n,a){var i=new pi;return i.add(new Hl({name:"main",style:jA(n),silent:!0,draggable:!0,cursor:"move",drift:Q($A,t,e,i,["n","s","w","e"]),ondragend:Q(HA,e,{isEnd:!0})})),X(a,(function(n){i.add(new Hl({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:Q($A,t,e,i,n),ondragend:Q(HA,e,{isEnd:!0})}))})),i}function YA(t,e,n,a){var i=a.brushStyle.lineWidth||0,r=MA(i,6),o=n[0][0],l=n[1][0],s=o-i/2,u=l-i/2,c=n[0][1],p=n[1][1],d=c-r+i/2,h=p-r+i/2,f=c-o,g=p-l,m=f+i,y=g+i;ZA(t,e,"main",o,l,f,g),a.transformable&&(ZA(t,e,"w",s,u,r,y),ZA(t,e,"e",d,u,r,y),ZA(t,e,"n",s,u,m,r),ZA(t,e,"s",s,h,m,r),ZA(t,e,"nw",s,u,r,r),ZA(t,e,"ne",d,u,r,r),ZA(t,e,"sw",s,h,r,r),ZA(t,e,"se",d,h,r,r))}function XA(t,e){var n=e.__brushOption,a=n.transformable,i=e.childAt(0);i.useStyle(jA(n)),i.attr({silent:!a,cursor:a?"move":"default"}),X([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=e.childOfName(n.join("")),r=1===n.length?KA(t,n[0]):function(t,e){var n=[KA(t,e[0]),KA(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);i&&i.attr({silent:!a,invisible:!a,cursor:a?DA[r]+"-resize":null})}))}function ZA(t,e,n,a,i,r,o){var l=e.childOfName(n);l&&l.setShape(function(t){var e=SA(t[0][0],t[1][0]),n=SA(t[0][1],t[1][1]),a=MA(t[0][0],t[1][0]),i=MA(t[0][1],t[1][1]);return{x:e,y:n,width:a-e,height:i-n}}(tL(t,e,[[a,i],[a+r,i+o]])))}function jA(t){return F({strokeNoScale:!0},t.brushStyle)}function qA(t,e,n,a){var i=[SA(t,n),SA(e,a)],r=[MA(t,n),MA(e,a)];return[[i[0],r[0]],[i[1],r[1]]]}function KA(t,e){var n=$c({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return qc(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function $A(t,e,n,a,i,r){var o=n.__brushOption,l=t.toRectRange(o.range),s=QA(e,i,r);X(a,(function(t){var e=CA[t];l[e[0]][e[1]]+=s[e[0]]})),o.range=t.fromRectRange(qA(l[0][0],l[1][0],l[0][1],l[1][1])),EA(e,n),HA(e,{isEnd:!1})}function JA(t,e,n,a){var i=e.__brushOption.range,r=QA(t,n,a);X(i,(function(t){t[0]+=r[0],t[1]+=r[1]})),EA(t,e),HA(t,{isEnd:!1})}function QA(t,e,n){var a=t.group,i=a.transformCoordToLocal(e,n),r=a.transformCoordToLocal(0,0);return[i[0]-r[0],i[1]-r[1]]}function tL(t,e,n){var a=FA(t,e);return a&&a!==kA?a.clipPath(n,t._transform):N(n)}function eL(t){var e=t.event;e.preventDefault&&e.preventDefault()}function nL(t,e,n){return t.childOfName("main").contain(e,n)}function aL(t,e,n,a){var i,r=t._creatingCover,o=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],a=e[0],i=n[0]-a[0],r=n[1]-a[1];return IA(i*i+r*r,.5)>6}(t)||r){if(o&&!r){"single"===l.brushMode&&GA(t);var s=N(l);s.brushType=iL(s.brushType,o),s.panelId=o===kA?null:o.panelId,r=t._creatingCover=zA(t,s),t._covers.push(r)}if(r){var u=lL[iL(t._brushType,o)];r.__brushOption.range=u.getCreatingRange(tL(t,r,t._track)),a&&(OA(t,r),u.updateCommon(t,r)),RA(t,r),i={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&VA(t,e,n)&&GA(t)&&(i={isEnd:a,removeOnClick:!0});return i}function iL(t,e){return"auto"===t?e.defaultBrushType:t}var rL={mousedown:function(t){if(this._dragging)oL(this,t);else if(!t.target||!t.target.draggable){eL(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=VA(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,a=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var a=t._zr;return e<0||e>a.getWidth()||n<0||n>a.getHeight()}(t,e.offsetX,e.offsetY)){var a=t._zr,i=t._covers,r=VA(t,e,n);if(!t._dragging)for(var o=0;o<i.length;o++){var l=i[o].__brushOption;if(r&&(r===kA||l.panelId===r.panelId)&&lL[l.brushType].contain(i[o],n[0],n[1]))return}r&&a.setCursorStyle("crosshair")}}(this,t,a),this._dragging){eL(t);var i=aL(this,t,a,!1);i&&HA(this,i)}},mouseup:function(t){oL(this,t)}};function oL(t,e){if(t._dragging){eL(e);var n=e.offsetX,a=e.offsetY,i=t.group.transformCoordToLocal(n,a),r=aL(t,e,i,!0);t._dragging=!1,t._track=[],t._creatingCover=null,r&&HA(t,r)}}var lL={lineX:sL(0),lineY:sL(1),rect:{createCover:function(t,e){function n(t){return t}return UA({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=WA(t);return qA(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,a){YA(t,e,n,a)},updateCommon:XA,contain:nL},polygon:{createCover:function(t,e){var n=new pi;return n.add(new $u({name:"main",style:jA(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new ju({name:"main",draggable:!0,drift:Q(JA,t,e),ondragend:Q(HA,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,a){e.childAt(0).setShape({points:tL(t,e,n)})},updateCommon:XA,contain:nL}};function sL(t){return{createCover:function(e,n){return UA({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=WA(e);return[SA(n[0][t],n[1][t]),MA(n[0][t],n[1][t])]},updateCoverShape:function(e,n,a,i){var r,o=FA(e,n);if(o!==kA&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t);else{var l=e._zr;r=[0,[l.getWidth(),l.getHeight()][1-t]]}var s=[a,r];t&&s.reverse(),YA(e,n,s,i)},updateCommon:XA,contain:nL}}function uL(t){return t=dL(t),function(e){return tp(e,t)}}function cL(t,e){return t=dL(t),function(n){var a=null!=e?e:n,i=a?t.width:t.height,r=a?t.x:t.y;return[r,r+(i||0)]}}function pL(t,e,n){var a=dL(t);return function(t,i){return a.contain(i[0],i[1])&&!_I(t,e,n)}}function dL(t){return Ga.create(t)}var hL=["axisLine","axisTickLabel","axisName"],fL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new PA(n.getZr())).on("brush",J(this._onBrush,this))},e.prototype.render=function(t,e,n,a){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,a)){this.axisModel=t,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new pi,this.group.add(this._axisGroup),t.get("show")){var r=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),o=r.coordinateSystem,l=t.getAreaSelectStyle(),s=l.width,u=t.axis.dim,c=V({strokeContainThreshold:s},o.getAxisLayout(u)),p=new MM(t,c);X(hL,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(c,l,t,r,s,n),Qc(i,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,a,i,r){var o=n.axis.getExtent(),l=o[1]-o[0],s=Math.min(30,.1*Math.abs(l)),u=Ga.create({x:o[0],y:-i/2,width:l,height:i});u.x-=s,u.width+=2*s,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:uL(u),isTargetByCursor:pL(u,r,a),getLinearBrushOtherExtent:cL(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,a=n.axis,i=Z(e,(function(t){return[a.coordToData(t.range[0],!0),a.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(zg);var gL={type:"axisAreaSelect",event:"axisAreaSelected"};var mL={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function yL(t){t.registerComponentView(nA),t.registerComponentModel(rA),t.registerCoordinateSystem("parallel",_A),t.registerPreprocessor(eA),t.registerComponentModel(wA),t.registerComponentView(fL),cM(t,"parallel",wA,mL),function(t){t.registerAction(gL,(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 vL=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},bL=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultShape=function(){return new vL},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(){Ls(this)},e.prototype.downplay=function(){Ps(this)},e}(Tl),xL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return u(e,t),e.prototype.render=function(t,e,n){var a=this,i=t.getGraph(),r=this.group,o=t.layoutInfo,l=o.width,s=o.height,u=t.getData(),c=t.getData("edge"),p=t.get("orient");this._model=t,r.removeAll(),r.x=o.x,r.y=o.y,i.eachEdge((function(e){var n=new bL,a=es(n);a.dataIndex=e.dataIndex,a.seriesIndex=t.seriesIndex,a.dataType="edge";var i,o,u,d,h,f,g,m,y=e.getModel(),v=y.getModel("lineStyle"),b=v.get("curveness"),x=e.node1.getLayout(),_=e.node1.getModel(),w=_.get("localX"),k=_.get("localY"),S=e.node2.getLayout(),M=e.node2.getModel(),I=M.get("localX"),T=M.get("localY"),C=e.getLayout();switch(n.shape.extent=Math.max(1,C.dy),n.shape.orient=p,"vertical"===p?(i=(null!=w?w*l:x.x)+C.sy,o=(null!=k?k*s:x.y)+x.dy,u=(null!=I?I*l:S.x)+C.ty,h=i,f=o*(1-b)+(d=null!=T?T*s:S.y)*b,g=u,m=o*b+d*(1-b)):(i=(null!=w?w*l:x.x)+x.dx,o=(null!=k?k*s:x.y)+C.sy,h=i*(1-b)+(u=null!=I?I*l:S.x)*b,f=o,g=i*b+u*(1-b),m=d=(null!=T?T*s:S.y)+C.ty),n.setShape({x1:i,y1:o,x2:u,y2:d,cpx1:h,cpy1:f,cpx2:g,cpy2:m}),n.useStyle(v.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var D=e.node1.getVisual("color"),A=e.node2.getVisual("color");"string"==typeof D&&"string"==typeof A&&(n.style.fill=new fc(0,0,+("horizontal"===p),+("vertical"===p),[{color:D,offset:0},{color:A,offset:1}]))}var L=y.getModel("emphasis");js(n,y,"lineStyle",(function(t){return t.getItemStyle()})),r.add(n),c.setItemGraphicEl(e.dataIndex,n);var P=L.get("focus");Us(n,"adjacency"===P?e.getAdjacentDataIndices():P,L.get("blurScope")),es(n).dataType="edge"})),i.eachNode((function(e){var n=e.getLayout(),a=e.getModel(),i=a.get("localX"),o=a.get("localY"),c=a.getModel("emphasis"),p=new Hl({shape:{x:null!=i?i*l:n.x,y:null!=o?o*s:n.y,width:n.dx,height:n.dy},style:a.getModel("itemStyle").getItemStyle(),z2:10});pp(p,dp(a),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),p.disableLabelAnimation=!0,p.setStyle("fill",e.getVisual("color")),p.setStyle("decal",e.getVisual("style").decal),js(p,a),r.add(p),u.setItemGraphicEl(e.dataIndex,p),es(p).dataType="node";var d=c.get("focus");Us(p,"adjacency"===d?e.getAdjacentDataIndices():d,c.get("blurScope"))})),u.eachItemGraphicEl((function(e,i){u.getItemModel(i).get("draggable")&&(e.drift=function(e,r){a._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=r,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/s})},e.ondragend=function(){a._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&r.setClipPath(function(t,e,n){var a=new Hl({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Dc(a,{shape:{width:t.width+20}},e,n),a}(r.getBoundingRect(),t,(function(){r.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Eg);var _L=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,a=t.data||t.nodes,i=t.levels;this.levelModels=[];for(var r=this.levelModels,o=0;o<i.length;o++)null!=i[o].depth&&i[o].depth>=0&&(r[i[o].depth]=new Op(i[o],this,e));if(a&&n){var l=PD(a,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,a=n.getData().getItemLayout(e);if(a){var i=a.depth,r=n.levelModels[i];r&&(t.parentModel=r)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,a=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(a){var i=a.depth,r=n.levelModels[i];r&&(t.parentModel=r)}return t}))}));return l.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 a(t){return isNaN(t)||null==t}if("edge"===n){var i=this.getDataParams(t,n),r=i.data,o=i.value;return dg("nameValue",{name:r.source+" -- "+r.target,value:o,noValue:a(o)})}var l=this.getGraph().getNodeByIndex(t).getLayout().value,s=this.getDataParams(t,n).data.name;return dg("nameValue",{name:null!=s?s+"":null,value:l,noValue:a(l)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var a=t.prototype.getDataParams.call(this,e,n);if(null==a.value&&"node"===n){var i=this.getGraph().getNodeByIndex(e).getLayout().value;a.value=i}return a},e.type="series.sankey",e.defaultOption={zlevel:0,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},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}(Mg);function wL(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),a=t.get("nodeGap"),i=function(t,e){return Vd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=i;var r=i.width,o=i.height,l=t.getGraph(),s=l.nodes,u=l.edges;!function(t){X(t,(function(t){var e=PL(t.outEdges,LL),n=PL(t.inEdges,LL),a=t.getValue()||0,i=Math.max(e,n,a);t.setLayout({value:i},!0)}))}(s),function(t,e,n,a,i,r,o,l,s){(function(t,e,n,a,i,r,o){for(var l=[],s=[],u=[],c=[],p=0,d=0;d<e.length;d++)l[d]=1;for(d=0;d<t.length;d++)s[d]=t[d].inEdges.length,0===s[d]&&u.push(t[d]);var h=-1;for(;u.length;){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),y=null!=m.depth&&m.depth>=0;y&&m.depth>h&&(h=m.depth),g.setLayout({depth:y?m.depth:p},!0),"vertical"===r?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var v=0;v<g.outEdges.length;v++){var b=g.outEdges[v];l[e.indexOf(b)]=0;var x=b.node2;0==--s[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++p,u=c,c=[]}for(d=0;d<l.length;d++)if(1===l[d])throw new Error("Sankey is a DAG, the original data has cycle!");var _=h>p-1?h:p-1;o&&"left"!==o&&function(t,e,n,a){if("right"===e){for(var i=[],r=t,o=0;r.length;){for(var l=0;l<r.length;l++){var s=r[l];s.setLayout({skNodeHeight:o},!0);for(var u=0;u<s.inEdges.length;u++){var c=s.inEdges[u];i.indexOf(c.node1)<0&&i.push(c.node1)}}r=i,i=[],++o}X(t,(function(t){kL(t)||t.setLayout({depth:Math.max(0,a-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){X(t,(function(t){kL(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,a)}(t,o,0,_);!function(t,e,n){X(t,(function(t){var a=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:a},!0):t.setLayout({x:a},!0)}))}(t,"vertical"===r?(i-n)/_:(a-n)/_,r)})(t,e,n,i,r,l,s),function(t,e,n,a,i,r,o){var l=function(t,e){var n=[],a="vertical"===e?"y":"x",i=hr(t,(function(t){return t.getLayout()[a]}));return i.keys.sort((function(t,e){return t-e})),X(i.keys,(function(t){n.push(i.buckets.get(t))})),n}(t,o);(function(t,e,n,a,i,r){var o=1/0;X(t,(function(t){var e=t.length,l=0;X(t,(function(t){l+=t.getLayout().value}));var s="vertical"===r?(a-(e-1)*i)/l:(n-(e-1)*i)/l;s<o&&(o=s)})),X(t,(function(t){X(t,(function(t,e){var n=t.getLayout().value*o;"vertical"===r?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),X(e,(function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)}))})(l,e,n,a,i,o),SL(l,i,n,a,o);for(var s=1;r>0;r--)ML(l,s*=.99,o),SL(l,i,n,a,o),zL(l,s,o),SL(l,i,n,a,o)}(t,e,r,i,a,o,l),function(t,e){var n="vertical"===e?"x":"y";X(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]}))})),X(t,(function(t){var e=0,n=0;X(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),X(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,l)}(s,u,n,a,r,o,0!==q(s,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function kL(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function SL(t,e,n,a,i){var r="vertical"===i?"x":"y";X(t,(function(t){var o,l,s;t.sort((function(t,e){return t.getLayout()[r]-e.getLayout()[r]}));for(var u=0,c=t.length,p="vertical"===i?"dx":"dy",d=0;d<c;d++)(s=u-(l=t[d]).getLayout()[r])>0&&(o=l.getLayout()[r]+s,"vertical"===i?l.setLayout({x:o},!0):l.setLayout({y:o},!0)),u=l.getLayout()[r]+l.getLayout()[p]+e;if((s=u-e-("vertical"===i?a:n))>0){o=l.getLayout()[r]-s,"vertical"===i?l.setLayout({x:o},!0):l.setLayout({y:o},!0),u=o;for(d=c-2;d>=0;--d)(s=(l=t[d]).getLayout()[r]+l.getLayout()[p]+e-u)>0&&(o=l.getLayout()[r]-s,"vertical"===i?l.setLayout({x:o},!0):l.setLayout({y:o},!0)),u=l.getLayout()[r]}}))}function ML(t,e,n){X(t.slice().reverse(),(function(t){X(t,(function(t){if(t.outEdges.length){var a=PL(t.outEdges,IL,n)/PL(t.outEdges,LL);if(isNaN(a)){var i=t.outEdges.length;a=i?PL(t.outEdges,TL,n)/i:0}if("vertical"===n){var r=t.getLayout().x+(a-AL(t,n))*e;t.setLayout({x:r},!0)}else{var o=t.getLayout().y+(a-AL(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function IL(t,e){return AL(t.node2,e)*t.getValue()}function TL(t,e){return AL(t.node2,e)}function CL(t,e){return AL(t.node1,e)*t.getValue()}function DL(t,e){return AL(t.node1,e)}function AL(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function LL(t){return t.getValue()}function PL(t,e,n){for(var a=0,i=t.length,r=-1;++r<i;){var o=+e(t[r],n);isNaN(o)||(a+=o)}return a}function zL(t,e,n){X(t,(function(t){X(t,(function(t){if(t.inEdges.length){var a=PL(t.inEdges,CL,n)/PL(t.inEdges,LL);if(isNaN(a)){var i=t.inEdges.length;a=i?PL(t.inEdges,DL,n)/i:0}if("vertical"===n){var r=t.getLayout().x+(a-AL(t,n))*e;t.setLayout({x:r},!0)}else{var o=t.getLayout().y+(a-AL(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function OL(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,a=-1/0;X(e,(function(t){var e=t.getLayout().value;e<n&&(n=e),e>a&&(a=e)})),X(e,(function(e){var i=new eC({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),r=e.getModel().get(["itemStyle","color"]);null!=r?(e.setVisual("color",r),e.setVisual("style",{fill:r})):(e.setVisual("color",i),e.setVisual("style",{fill:i}))}))}}))}var RL=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,a,i=e.getComponent("xAxis",this.get("xAxisIndex")),r=e.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),l=r.get("type");"category"===o?(t.layout="horizontal",n=i.getOrdinalMeta(),a=!0):"category"===l?(t.layout="vertical",n=r.getOrdinalMeta(),a=!0):t.layout=t.layout||"horizontal";var s=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=s[u],p=s[1-u],d=[i,r],h=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&a){var m=[];X(g,(function(t,e){var n;tt(t)?(n=t.slice(),t.unshift(e)):tt(t.value)?((n=V({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var y=this.defaultValueDimensions,v=[{name:c,type:Pb(h),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:Pb(f),dimsDef:y.slice()}];return qS(this,{coordDimensions:v,dimensionsCount:y.length+1,encodeDefaulter:Q(uh,v,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),NL=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 u(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,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}(Mg);U(NL,RL,!0);var EL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this.group,r=this._data;this._data||i.removeAll();var o="horizontal"===t.get("layout")?1:0;a.diff(r).add((function(t){if(a.hasValue(t)){var e=FL(a.getItemLayout(t),a,t,o,!0);a.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=r.getItemGraphicEl(e);if(a.hasValue(t)){var l=a.getItemLayout(t);n?(Oc(n),GL(l,n,a,t)):n=FL(l,a,t,o),i.add(n),a.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=a},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}(Eg),BL=function(){},VL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return u(e,t),e.prototype.getDefaultShape=function(){return new BL},e.prototype.buildPath=function(t,e){var n=e.points,a=0;for(t.moveTo(n[a][0],n[a][1]),a++;a<4;a++)t.lineTo(n[a][0],n[a][1]);for(t.closePath();a<n.length;a++)t.moveTo(n[a][0],n[a][1]),a++,t.lineTo(n[a][0],n[a][1])},e}(Tl);function FL(t,e,n,a,i){var r=t.ends,o=new VL({shape:{points:i?HL(r,a,t):r}});return GL(t,o,e,n,i),o}function GL(t,e,n,a,i){var r=n.hostModel;(0,lp[i?"initProps":"updateProps"])(e,{shape:{points:t.ends}},r,a),e.useStyle(n.getItemVisual(a,"style")),e.style.strokeNoScale=!0,e.z2=100;var o=n.getItemModel(a);js(e,o),Us(e,o.get(["emphasis","focus"]),o.get(["emphasis","blurScope"]))}function HL(t,e,n){return Z(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}function WL(t,e){}var UL=X;function YL(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var a=t.getBaseAxis(),i=H(n,a);i<0&&(i=n.length,n[i]=a,e[i]={axis:a,seriesModels:[]}),e[i].seriesModels.push(t)})),e}(t);UL(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n,a=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],l=t.boxOffsetList=[],s=[];if("category"===a.type)n=a.getBandWidth();else{var u=0;UL(i,(function(t){u=Math.max(u,t.getData().count())})),e=a.getExtent(),Math.abs(e[1]-e[0])}UL(i,(function(t){var e=t.get("boxWidth");tt(e)||(e=[e,e]),s.push([_i(e[0],n)||0,_i(e[1],n)||0])}));var c=.8*n-2,p=c/r*.3,d=(c-p*(r-1))/r,h=d/2-c/2;UL(i,(function(t,e){l.push(h),h+=p+d,o.push(Math.min(Math.max(d,s[e][0]),s[e][1]))}))}(t),UL(e,(function(e,n){!function(t,e,n){var a=t.coordinateSystem,i=t.getData(),r=n/2,o="horizontal"===t.get("layout")?0:1,l=1-o,s=["x","y"],u=i.mapDimension(s[o]),c=i.mapDimensionsAll(s[l]);if(null==u||c.length<5)return;for(var p=0;p<i.count();p++){var d=i.get(u,p),h=b(d,c[2],p),f=b(d,c[0],p),g=b(d,c[1],p),m=b(d,c[3],p),y=b(d,c[4],p),v=[];x(v,g,!1),x(v,m,!0),v.push(f,g,y,m),_(v,f),_(v,y),_(v,h),i.setItemLayout(p,{initBaseline:h[l],ends:v})}function b(t,n,r){var s,u=i.get(n,r),c=[];return c[o]=t,c[l]=u,isNaN(t)||isNaN(u)?s=[NaN,NaN]:(s=a.dataToPoint(c))[o]+=e,s}function x(t,e,n){var a=e.slice(),i=e.slice();a[o]+=r,i[o]-=r,n?t.push(a,i):t.push(i,a)}function _(t,e){var n=e.slice(),a=e.slice();n[o]-=r,a[o]+=r,t.push(n,a)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var XL={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Jd){Ui("")}var n=function(t,e){for(var n=[],a=[],i=(e=e||{}).boundIQR,r="none"===i||0===i,o=0;o<t.length;o++){var l=ki(t[o].slice()),s=Ei(l,.25),u=Ei(l,.5),c=Ei(l,.75),p=l[0],d=l[l.length-1],h=(null==i?1.5:i)*(c-s),f=r?p:Math.max(p,s-h),g=r?d:Math.min(d,c+h),m=e.itemNameFormatter,y=et(m)?m({value:o}):nt(m)?m.replace("{value}",o+""):o+"";n.push([y,f,s,u,c,g]);for(var v=0;v<l.length;v++){var b=l[v];if(b<f||b>g){var x=[y,b];a.push(x)}}}return{boxData:n,outliers:a}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var ZL=["color","borderColor"],jL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),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,a){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},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,a=this.group,i=e.getLayout("isSimpleBox"),r=t.get("clip",!0),o=t.coordinateSystem,l=o.getArea&&o.getArea();this._data||a.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(r&&JL(l,o))return;var s=$L(o,n,!0);Dc(s,{shape:{points:o.ends}},t,n),QL(s,e,n,i),a.add(s),e.setItemGraphicEl(n,s)}})).update((function(o,s){var u=n.getItemGraphicEl(s);if(e.hasValue(o)){var c=e.getItemLayout(o);r&&JL(l,c)?a.remove(u):(u?(Cc(u,{shape:{points:c.ends}},t,o),Oc(u)):u=$L(c),QL(u,e,o,i),a.add(u),e.setItemGraphicEl(o,u))}else a.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&a.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),aP(t,this.group);var e=t.get("clip",!0)?jk(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,a=e.getData(),i=a.getLayout("isSimpleBox");null!=(n=t.next());){var r=$L(a.getItemLayout(n));QL(r,a,n,i),r.incremental=!0,this.group.add(r)}},e.prototype._incrementalRenderLarge=function(t,e){aP(e,this.group,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Eg),qL=function(){},KL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return u(e,t),e.prototype.getDefaultShape=function(){return new qL},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}(Tl);function $L(t,e,n){var a=t.ends;return new KL({shape:{points:n?tP(a,t):a},z2:100})}function JL(t,e){for(var n=!0,a=0;a<e.ends.length;a++)if(t.contain(e.ends[a][0],e.ends[a][1])){n=!1;break}return n}function QL(t,e,n,a){var i=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=a,js(t,i)}function tP(t,e){return Z(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var eP=function(){},nP=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return u(e,t),e.prototype.getDefaultShape=function(){return new eP},e.prototype.buildPath=function(t,e){for(var n=e.points,a=0;a<n.length;)if(this.__sign===n[a++]){var i=n[a++];t.moveTo(i,n[a++]),t.lineTo(i,n[a++])}else a+=3},e}(Tl);function aP(t,e,n){var a=t.getData().getLayout("largePoints"),i=new nP({shape:{points:a},__sign:1});e.add(i);var r=new nP({shape:{points:a},__sign:-1});e.add(r),iP(1,i,t),iP(-1,r,t),n&&(i.incremental=!0,r.incremental=!0)}function iP(t,e,n,a){var i=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),r=n.getModel("itemStyle").getItemStyle(ZL);e.useStyle(r),e.style.fill=null,e.style.stroke=i}var rP=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 u(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var a=e.getItemLayout(t);return a&&n.rect(a.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Mg);function oP(t){t&&tt(t.series)&&X(t.series,(function(t){rt(t)&&"k"===t.type&&(t.type="candlestick")}))}U(rP,RL,!0);var lP=["itemStyle","borderColor"],sP=["itemStyle","borderColor0"],uP=["itemStyle","color"],cP=["itemStyle","color0"],pP={seriesType:"candlestick",plan:Og(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?uP:cP)}function a(t,e){return e.get(t>0?lP:sP)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var i;null!=(i=t.next());){var r=e.getItemModel(i),o=e.getItemLayout(i).sign,l=r.getItemStyle();l.fill=n(o,r),l.stroke=a(o,r)||l.fill,V(e.ensureUniqueItemVisual(i,"style"),l)}}}}},dP="undefined"!=typeof Float32Array?Float32Array:Array,hP={seriesType:"candlestick",plan:Og(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),a=function(t,e){var n,a=t.getBaseAxis(),i="category"===a.type?a.getBandWidth():(n=a.getExtent(),Math.abs(n[1]-n[0])/e.count()),r=_i(ft(t.get("barMaxWidth"),i),i),o=_i(ft(t.get("barMinWidth"),1),i),l=t.get("barWidth");return null!=l?_i(l,i):Math.max(Math.min(i/2,r),o)}(t,n),i=["x","y"],r=n.getDimensionIndex(n.mapDimension(i[0])),o=Z(n.mapDimensionsAll(i[1]),n.getDimensionIndex,n),l=o[0],s=o[1],u=o[2],c=o[3];if(n.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),!(r<0||o.length<4))return{progress:t.pipelineContext.large?function(t,n){var a,i,o=new dP(4*t.count),p=0,d=[],h=[],f=n.getStore();for(;null!=(i=t.next());){var g=f.get(r,i),m=f.get(l,i),y=f.get(s,i),v=f.get(u,i),b=f.get(c,i);isNaN(g)||isNaN(v)||isNaN(b)?(o[p++]=NaN,p+=3):(o[p++]=fP(f,i,m,y,s),d[0]=g,d[1]=v,a=e.dataToPoint(d,null,h),o[p++]=a?a[0]:NaN,o[p++]=a?a[1]:NaN,d[1]=b,a=e.dataToPoint(d,null,h),o[p++]=a?a[1]:NaN)}n.setLayout("largePoints",o)}:function(t,n){var i,o=n.getStore();for(;null!=(i=t.next());){var p=o.get(r,i),d=o.get(l,i),h=o.get(s,i),f=o.get(u,i),g=o.get(c,i),m=Math.min(d,h),y=Math.max(d,h),v=k(m,p),b=k(y,p),x=k(f,p),_=k(g,p),w=[];S(w,b,0),S(w,v,1),w.push(I(_),I(b),I(x),I(v)),n.setItemLayout(i,{sign:fP(o,i,d,h,s),initBaseline:d>h?b[1]:v[1],ends:w,brushRect:M(f,g,p)})}function k(t,n){var a=[];return a[0]=n,a[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(a)}function S(t,e,n){var i=e.slice(),r=e.slice();i[0]=jc(i[0]+a/2,1,!1),r[0]=jc(r[0]-a/2,1,!0),n?t.push(i,r):t.push(r,i)}function M(t,e,n){var i=k(t,n),r=k(e,n);return i[0]-=a/2,r[0]-=a/2,{x:i[0],y:i[1],width:a,height:r[1]-i[1]}}function I(t){return t[0]=jc(t[0],1),t}}}}};function fP(t,e,n,a,i){return n>a?-1:n<a?1:e>0?t.get(i,e-1)<=a?1:-1:1}function gP(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 mP=function(t){function e(e,n){var a=t.call(this)||this,i=new Tk(e,n),r=new pi;return a.add(i),a.add(r),a.updateData(e,n),a}return u(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,a=t.rippleNumber,i=this.childAt(1),r=0;r<a;r++){var o=Xm(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var l=-r/a*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(l).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(l).start(),i.add(o)}gP(i,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),a=["symbolType","period","rippleScale","rippleNumber"],i=0;i<a.length;i++){var r=a[i];if(e[r]!==t[r])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}gP(n,t)},e.prototype.highlight=function(){Ls(this)},e.prototype.downplay=function(){Ps(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,a=t.hostModel;this.childAt(0).updateData(t,e);var i=this.childAt(1),r=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),l=Zm(t.getItemVisual(e,"symbolSize")),s=t.getItemVisual(e,"style"),u=s&&s.fill;i.setScale(l),i.traverse((function(t){t.setStyle("fill",u)}));var c=jm(t.getItemVisual(e,"symbolOffset"),l);c&&(i.x=c[0],i.y=c[1]);var p=t.getItemVisual(e,"symbolRotate");i.rotation=(p||0)*Math.PI/180||0;var d={};d.showEffectOn=a.get("showEffectOn"),d.rippleScale=r.get(["rippleEffect","scale"]),d.brushType=r.get(["rippleEffect","brushType"]),d.period=1e3*r.get(["rippleEffect","period"]),d.effectOffset=e/t.count(),d.z=a.getShallow("z")||0,d.zlevel=a.getShallow("zlevel")||0,d.symbolType=o,d.color=u,d.rippleEffectColor=r.get(["rippleEffect","color"]),d.rippleNumber=r.get(["rippleEffect","number"]),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn?(this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==d.showEffectOn&&n.startEffectAnimation(d):"normal"===t&&"render"!==d.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=d,Us(this)},e.prototype.fadeOut=function(t){this.off("mouseover").off("mouseout"),t&&t()},e}(pi),yP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(){this._symbolDraw=new Pk(mP)},e.prototype.render=function(t,e,n){var a=t.getData(),i=this._symbolDraw;i.updateData(a,{clipShape:this._getClipShape(t)}),this.group.add(i.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 a=t.getData();this.group.dirty();var i=lS("").reset(t,e,n);i.progress&&i.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=ma(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Eg),vP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return u(e,t),e.prototype.getInitialData=function(t,e){return sx(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",zlevel:0,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}(Mg);var bP=function(t){function e(e,n,a){var i=t.call(this)||this;return i.add(i.createLine(e,n,a)),i._updateEffectSymbol(e,n),i}return u(e,t),e.prototype.createLine=function(t,e,n){return new dD(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),a=n.get("symbolSize"),i=n.get("symbol");tt(a)||(a=[a,a]);var r=t.getItemVisual(e,"style"),o=n.get("color")||r&&r.stroke,l=this.childAt(1);this._symbolType!==i&&(this.remove(l),(l=Xm(i,-.5,-.5,1,1,o)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",o),l.setStyle(n.getItemStyle(["color"])),l.scaleX=a[0],l.scaleY=a[1],l.setColor(o),this._symbolType=i,this._symbolScale=a,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var a=this.childAt(1);if(a){var i=this,r=t.getItemLayout(n),o=1e3*e.get("period"),l=e.get("loop"),s=e.get("constantSpeed"),u=ht(e.get("delay"),(function(e){return e/t.count()*o/3}));if(a.ignore=!0,this._updateAnimationPoints(a,r),s>0&&(o=this._getLineLength(a)/s*1e3),(o!==this._period||l!==this._loop)&&(a.stopAnimation(),o>0)){var c=void 0;c="function"==typeof u?u(n):u,a.__t>0&&(c=-o*a.__t),a.__t=0;var p=a.animate("",l).when(o,{__t:1}).delay(c).during((function(){i._updateSymbolPosition(a)}));l||p.done((function(){i.remove(a)})),p.start()}this._period=o,this._loop=l}},e.prototype._getLineLength=function(t){return Ut(t.__p1,t.__cp1)+Ut(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,a=t.__cp1,i=t.__t,r=[t.x,t.y],o=r.slice(),l=bo,s=xo;r[0]=l(e[0],a[0],n[0],i),r[1]=l(e[1],a[1],n[1],i);var u=s(e[0],a[0],n[0],i),c=s(e[1],a[1],n[1],i);t.rotation=-Math.atan2(c,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*Ut(o,r),1===i&&(r[0]=o[0]+(r[0]-o[0])/2,r[1]=o[1]+(r[1]-o[1])/2)):1===t.__lastT?t.scaleY=2*Ut(e,r):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=r[0],t.y=r[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}(pi),xP=function(t){function e(e,n,a){var i=t.call(this)||this;return i._createPolyline(e,n,a),i}return u(e,t),e.prototype._createPolyline=function(t,e,n){var a=t.getItemLayout(e),i=new $u({shape:{points:a}});this.add(i),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var a=t.hostModel;Cc(this.childAt(0),{shape:{points:t.getItemLayout(e)}},a,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var a=this.childAt(0),i=t.getItemModel(e),r=n&&n.emphasisLineStyle;n&&!t.hasItemOption||(r=i.getModel(["emphasis","lineStyle"]).getLineStyle()),a.useStyle(t.getItemVisual(e,"style")),a.style.fill=null,a.style.strokeNoScale=!0,a.ensureState("emphasis").style=r,Us(this)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(pi),_P=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return u(e,t),e.prototype.createLine=function(t,e,n){return new xP(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],a=0,i=1;i<e.length;i++){var r=e[i-1],o=e[i];a+=Ut(r,o),n.push(a)}if(0!==a){for(i=0;i<n.length;i++)n[i]/=a;this._offsets=n,this._length=a}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,n=this._points,a=this._offsets,i=n.length;if(a){var r,o=this._lastFrame;if(e<this._lastFramePercent){for(r=Math.min(o+1,i-1);r>=0&&!(a[r]<=e);r--);r=Math.min(r,i-2)}else{for(r=o;r<i&&!(a[r]>e);r++);r=Math.min(r-1,i-2)}var l=(e-a[r])/(a[r+1]-a[r]),s=n[r],u=n[r+1];t.x=s[0]*(1-l)+l*u[0],t.y=s[1]*(1-l)+l*u[1];var c=u[0]-s[0],p=u[1]-s[1];t.rotation=-Math.atan2(p,c)-Math.PI/2,this._lastFrame=r,this._lastFramePercent=e,t.ignore=!1}},e}(bP),wP=function(){this.polyline=!1,this.curveness=0,this.segs=[]},kP=function(t){function e(e){return t.call(this,e)||this}return u(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new wP},e.prototype.buildPath=function(t,e){var n=e.segs,a=e.curveness;if(e.polyline)for(var i=0;i<n.length;){var r=n[i++];if(r>0){t.moveTo(n[i++],n[i++]);for(var o=1;o<r;o++)t.lineTo(n[i++],n[i++])}}else for(i=0;i<n.length;){var l=n[i++],s=n[i++],u=n[i++],c=n[i++];if(t.moveTo(l,s),a>0){var p=(l+u)/2-(s-c)*a,d=(s+c)/2-(u-l)*a;t.quadraticCurveTo(p,d,u,c)}else t.lineTo(u,c)}},e.prototype.findDataIndex=function(t,e){var n=this.shape,a=n.segs,i=n.curveness,r=this.style.lineWidth;if(n.polyline)for(var o=0,l=0;l<a.length;){var s=a[l++];if(s>0)for(var u=a[l++],c=a[l++],p=1;p<s;p++){if(ll(u,c,d=a[l++],h=a[l++],r,t,e))return o}o++}else for(o=0,l=0;l<a.length;){u=a[l++],c=a[l++];var d=a[l++],h=a[l++];if(i>0){if(ul(u,c,(u+d)/2-(c-h)*i,(c+h)/2-(d-u)*i,d,h,r,t,e))return o}else if(ll(u,c,d,h,r,t,e))return o;o++}return-1},e}(Tl),SP=function(){function t(){this.group=new pi}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t){this.group.removeAll();var e=new kP({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new Sc({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e){var n=new kP;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._setCommon=function(t,e,n){var a=e.hostModel;t.setShape({polyline:a.get("polyline"),curveness:a.get(["lineStyle","curveness"])}),t.useStyle(a.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("style");if(i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null),!n){var r=es(t);r.seriesIndex=a.seriesIndex,t.on("mousemove",(function(e){r.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(r.dataIndex=n+t.__startIndex)}))}},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),MP={seriesType:"lines",plan:Og(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),a=t.pipelineContext.large;return{progress:function(i,r){var o=[];if(a){var l=void 0,s=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=t.getLineCoordsCount(c);l=new Float32Array(s+2*u)}else l=new Float32Array(4*s);var p=0,d=[];for(c=i.start;c<i.end;c++){var h=t.getLineCoords(c,o);n&&(l[p++]=h);for(var f=0;f<h;f++)d=e.dataToPoint(o[f],!1,d),l[p++]=d[0],l[p++]=d[1]}r.setLayout("linesPoints",l)}else for(c=i.start;c<i.end;c++){var g=r.getItemModel(c),m=(h=t.getLineCoords(c,o),[]);if(n)for(var y=0;y<h;y++)m.push(e.dataToPoint(o[y]));else{m[0]=e.dataToPoint(o[0]),m[1]=e.dataToPoint(o[1]);var v=g.get(["lineStyle","curveness"]);+v&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*v,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*v])}r.setItemLayout(c,m)}}}}},IP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this._updateLineDraw(a,t),r=t.get("zlevel"),o=t.get(["effect","trailLength"]),l=n.getZr(),s="svg"===l.painter.getType();s||l.painter.getLayer(r).clear(!0),null==this._lastZlevel||s||l.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o&&(s||l.configLayer(r,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),i.updateData(a);var u=t.get("clip",!0)&&jk(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=r,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var a=t.getData();this._updateLineDraw(a,t).incrementalPrepareUpdate(a),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.updateTransform=function(t,e,n){var a=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var r=MP.reset(t,e,n);r.progress&&r.progress({start:0,end:a.count(),count:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,a=this._showEffect(e),i=!!e.get("polyline"),r=e.pipelineContext.large;return n&&a===this._hasEffet&&i===this._isPolyline&&r===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=r?new SP:new hD(i?a?_P:xP:a?bP:dD),this._hasEffet=a,this._isPolyline=i,this._isLargeDraw=r),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}(Eg),TP="undefined"==typeof Uint32Array?Array:Uint32Array,CP="undefined"==typeof Float64Array?Array:Float64Array;function DP(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),B([e,t[0],t[1]])})))}var AP=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 u(e,t),e.prototype.init=function(e){e.data=e.data||[],DP(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(DP(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],a=this._flatCoordsOffset[2*t+1],i=0;i<a;i++)e[i]=e[i]||[],e[i][0]=this._flatCoords[n+2*i],e[i][1]=this._flatCoords[n+2*i+1];return a}var r=this._getCoordsFromItemModel(t);for(i=0;i<r.length;i++)e[i]=e[i]||[],e[i][0]=r[i][0],e[i][1]=r[i][1];return r.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var n=t.length,a=new TP(n),i=new CP(n),r=0,o=0,l=0,s=0;s<n;){l++;var u=t[s++];a[o++]=r+e,a[o++]=u;for(var c=0;c<u;c++){var p=t[s++],d=t[s++];i[r++]=p,i[r++]=d}}return{flatCoordsOffset:new Uint32Array(a.buffer,0,o),flatCoords:i,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new Qb(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,a,i){if(t instanceof Array)return NaN;n.hasItemOption=!0;var r=t.value;return null!=r?r instanceof Array?r[i]:r:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var a=this.getData().getItemModel(t),i=a.get("name");if(i)return i;var r=a.get("fromName"),o=a.get("toName"),l=[];return null!=r&&l.push(r),null!=o&&l.push(o),dg("nameValue",{name:l.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.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",zlevel:0,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}(Mg);function LP(t){return t instanceof Array||(t=[t,t]),t}var PP={seriesType:"lines",reset:function(t){var e=LP(t.get("symbol")),n=LP(t.get("symbolSize")),a=t.getData();return a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",n&&n[0]),a.setVisual("toSymbolSize",n&&n[1]),{dataEach:a.hasItemOption?function(t,e){var n=t.getItemModel(e),a=LP(n.getShallow("symbol",!0)),i=LP(n.getShallow("symbolSize",!0));a[0]&&t.setItemVisual(e,"fromSymbol",a[0]),a[1]&&t.setItemVisual(e,"toSymbol",a[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1])}:null}}};var zP=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=G();this.canvas=t}return t.prototype.update=function(t,e,n,a,i,r){var o=this._getBrush(),l=this._getGradient(i,"inRange"),s=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,p=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var h=0;h<d;++h){var f=t[h],g=f[0],m=f[1],y=a(f[2]);p.globalAlpha=y,p.drawImage(o,g-u,m-u)}if(!c.width||!c.height)return c;for(var v=p.getImageData(0,0,c.width,c.height),b=v.data,x=0,_=b.length,w=this.minOpacity,k=this.maxOpacity-w;x<_;){y=b[x+3]/256;var S=4*Math.floor(255*y);if(y>0){var M=r(y)?l:s;y>0&&(y=y*k+w),b[x++]=M[S],b[x++]=M[S+1],b[x++]=M[S+2],b[x++]=M[S+3]*y*256}else x+=4}return p.putImageData(v,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=G()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var a=t.getContext("2d");return a.clearRect(0,0,n,n),a.shadowOffsetX=n,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,a=n[e]||(n[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],r=0,o=0;o<256;o++)t[e](o/255,!0,i),a[r++]=i[0],a[r++]=i[1],a[r++]=i[2],a[r++]=i[3];return a},t}();function OP(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var RP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(a=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):OP(i)&&this._renderOnGeo(i,t,a,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,a){var i=e.coordinateSystem;i&&(OP(i)?this.render(e,n,a):this._renderOnCartesianAndCalendar(e,a,t.start,t.end,!0))},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,a,i){var r,o,l,s,u=t.coordinateSystem;if(qk(u,"cartesian2d")){var c=u.getAxis("x"),p=u.getAxis("y");r=c.getBandWidth(),o=p.getBandWidth(),l=c.scale.getExtent(),s=p.scale.getExtent()}for(var d=this.group,h=t.getData(),f=t.getModel(["emphasis","itemStyle"]).getItemStyle(),g=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=dp(t),v=t.get(["emphasis","focus"]),b=t.get(["emphasis","blurScope"]),x=qk(u,"cartesian2d")?[h.mapDimension("x"),h.mapDimension("y"),h.mapDimension("value")]:[h.mapDimension("time"),h.mapDimension("value")],_=n;_<a;_++){var w=void 0,k=h.getItemVisual(_,"style");if(qk(u,"cartesian2d")){var S=h.get(x[0],_),M=h.get(x[1],_);if(isNaN(h.get(x[2],_))||S<l[0]||S>l[1]||M<s[0]||M>s[1])continue;var I=u.dataToPoint([S,M]);w=new Hl({shape:{x:Math.floor(Math.round(I[0])-r/2),y:Math.floor(Math.round(I[1])-o/2),width:Math.ceil(r),height:Math.ceil(o)},style:k})}else{if(isNaN(h.get(x[1],_)))continue;w=new Hl({z2:1,shape:u.dataToRect([h.get(x[0],_)]).contentShape,style:k})}var T=h.getItemModel(_);if(h.hasItemOption){var C=T.getModel("emphasis");f=C.getModel("itemStyle").getItemStyle(),g=T.getModel(["blur","itemStyle"]).getItemStyle(),m=T.getModel(["select","itemStyle"]).getItemStyle(),v=C.get("focus"),b=C.get("blurScope"),y=dp(T)}var D=t.getRawValue(_),A="-";D&&null!=D[2]&&(A=D[2]+""),pp(w,y,{labelFetcher:t,labelDataIndex:_,defaultOpacity:k.opacity,defaultText:A}),w.ensureState("emphasis").style=f,w.ensureState("blur").style=g,w.ensureState("select").style=m,Us(w,v,b),w.incremental=i,i&&(w.states.emphasis.hoverLayer=!0),d.add(w),h.setItemGraphicEl(_,w)}},e.prototype._renderOnGeo=function(t,e,n,a){var i=n.targetVisuals.inRange,r=n.targetVisuals.outOfRange,o=e.getData(),l=this._hmLayer||this._hmLayer||new zP;l.blurSize=e.get("blurSize"),l.pointSize=e.get("pointSize"),l.minOpacity=e.get("minOpacity"),l.maxOpacity=e.get("maxOpacity");var s=t.getViewRect().clone(),u=t.getRoamTransform();s.applyTransform(u);var c=Math.max(s.x,0),p=Math.max(s.y,0),d=Math.min(s.width+s.x,a.getWidth()),h=Math.min(s.height+s.y,a.getHeight()),f=d-c,g=h-p,m=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],y=o.mapArray(m,(function(e,n,a){var i=t.dataToPoint([e,n]);return i[0]-=c,i[1]-=p,i.push(a),i})),v=n.getExtent(),b="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]}}(v,n.option.range):function(t,e,n){var a=t[1]-t[0],i=(e=Z(e,(function(e){return{interval:[(e.interval[0]-t[0])/a,(e.interval[1]-t[0])/a]}}))).length,r=0;return function(t){var a;for(a=r;a<i;a++)if((o=e[a].interval)[0]<=t&&t<=o[1]){r=a;break}if(a===i)for(a=r-1;a>=0;a--){var o;if((o=e[a].interval)[0]<=t&&t<=o[1]){r=a;break}}return a>=0&&a<i&&n[a]}}(v,n.getPieceList(),n.option.selected);l.update(y,f,g,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:r.color.getColorMapper()},b);var x=new Ol({style:{width:f,height:g,x:c,y:p,image:l.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Eg),NP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.getInitialData=function(t,e){return sx(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Ah.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",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Mg);var EP=["itemStyle","borderWidth"],BP=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],VP=new _u,FP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=this.group,i=t.getData(),r=this._data,o=t.coordinateSystem,l=o.getBaseAxis().isHorizontal(),s=o.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[s.x,s.x+s.width],[s.y,s.y+s.height]],isHorizontal:l,valueDim:BP[+l],categoryDim:BP[1-+l]};return i.diff(r).add((function(t){if(i.hasValue(t)){var e=jP(i,t),n=GP(i,t,e,u),r=$P(i,u,n);i.setItemGraphicEl(t,r),a.add(r),nz(r,u,n)}})).update((function(t,e){var n=r.getItemGraphicEl(e);if(i.hasValue(t)){var o=jP(i,t),l=GP(i,t,o,u),s=QP(i,l);n&&s!==n.__pictorialShapeStr&&(a.remove(n),i.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var a=n.animationModel,i=n.dataIndex;Cc(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},a,i),n.symbolRepeat?UP(t,e,n,!0):YP(t,e,n,!0);XP(t,n,!0),ZP(t,e,n,!0)}(n,u,l):n=$P(i,u,l,!0),i.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,a.add(n),nz(n,u,l)}else a.remove(n)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&JP(r,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=i,this.group},e.prototype.remove=function(t,e){var n=this.group,a=this._data;t.get("animation")?a&&a.eachItemGraphicEl((function(e){JP(a,es(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(Eg);function GP(t,e,n,a){var i=t.getItemLayout(e),r=n.get("symbolRepeat"),o=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),p={dataIndex:e,layout:i,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:s,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,a,i){var r,o=a.valueDim,l=t.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),u=s.toGlobalCoord(s.dataToCoord(0)),c=1-+(n[o.wh]<=0);if(tt(l)){var p=[HP(s,l[0])-u,HP(s,l[1])-u];p[1]<p[0]&&p.reverse(),r=p[c]}else r=null!=l?HP(s,l)-u:e?a.coordSysExtent[o.index][c]-u:n[o.wh];i.boundingLength=r,e&&(i.repeatCutLength=n[o.wh]);i.pxSign=r>0?1:r<0?-1:0}(n,r,i,a,p),function(t,e,n,a,i,r,o,l,s,u){var c,p=s.valueDim,d=s.categoryDim,h=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");c=tt(f)?f.slice():null==f?["100%","100%"]:[f,f];c[d.index]=_i(c[d.index],h),c[p.index]=_i(c[p.index],a?h:Math.abs(r)),u.symbolSize=c,(u.symbolScale=[c[0]/l,c[1]/l])[p.index]*=(s.isHorizontal?-1:1)*o}(t,e,i,r,0,p.boundingLength,p.pxSign,u,a,p),function(t,e,n,a,i){var r=t.get(EP)||0;r&&(VP.attr({scaleX:e[0],scaleY:e[1],rotation:n}),VP.updateTransform(),r/=VP.getLineScale(),r*=e[a.valueDim.index]);i.valueLineWidth=r}(n,p.symbolScale,s,a,p);var d=p.symbolSize,h=jm(n.get("symbolOffset"),d);return function(t,e,n,a,i,r,o,l,s,u,c,p){var d=c.categoryDim,h=c.valueDim,f=p.pxSign,g=Math.max(e[h.index]+l,0),m=g;if(a){var y=Math.abs(s),v=ht(t.get("symbolMargin"),"15%")+"",b=!1;v.lastIndexOf("!")===v.length-1&&(b=!0,v=v.slice(0,v.length-1));var x=_i(v,e[h.index]),_=Math.max(g+2*x,0),w=b?0:2*x,k=Fi(a),S=k?a:az((y+w)/_);_=g+2*(x=(y-S*g)/2/(b?S:Math.max(S-1,1))),w=b?0:2*x,k||"fixed"===a||(S=u?az((Math.abs(u)+w)/_):0),m=S*_-w,p.repeatTimes=S,p.symbolMargin=x}var M=f*(m/2),I=p.pathPosition=[];I[d.index]=n[d.wh]/2,I[h.index]="start"===o?M:"end"===o?s-M:s/2,r&&(I[0]+=r[0],I[1]+=r[1]);var T=p.bundlePosition=[];T[d.index]=n[d.xy],T[h.index]=n[h.xy];var C=p.barRectShape=V({},n);C[h.wh]=f*Math.max(Math.abs(n[h.wh]),Math.abs(I[h.index]+M)),C[d.wh]=n[d.wh];var D=p.clipShape={};D[d.xy]=-n[d.xy],D[d.wh]=c.ecSize[d.wh],D[h.xy]=0,D[h.wh]=n[h.wh]}(n,d,i,r,0,h,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,a,p),p}function HP(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function WP(t){var e=t.symbolPatternSize,n=Xm(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function UP(t,e,n,a){var i=t.__pictorialBundle,r=n.symbolSize,o=n.valueLineWidth,l=n.pathPosition,s=e.valueDim,u=n.repeatTimes||0,c=0,p=r[e.valueDim.index]+o+2*n.symbolMargin;for(tz(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?ez(t,null,f(c),n,a):ez(t,null,{scaleX:0,scaleY:0},n,a,(function(){i.remove(t)})),c++}));c<u;c++){var d=WP(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,i.add(d);var h=f(c);ez(d,{x:h.x,y:h.y,scaleX:0,scaleY:0},{scaleX:h.scaleX,scaleY:h.scaleY,rotation:h.rotation},n,a)}function f(t){var e=l.slice(),a=n.pxSign,i=t;return("start"===n.symbolRepeatDirection?a>0:a<0)&&(i=u-1-t),e[s.index]=p*(i-u/2+.5)+l[s.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function YP(t,e,n,a){var i=t.__pictorialBundle,r=t.__pictorialMainPath;r?ez(r,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,a):(r=t.__pictorialMainPath=WP(n),i.add(r),ez(r,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,a))}function XP(t,e,n){var a=V({},e.barRectShape),i=t.__pictorialBarRect;i?ez(i,null,{shape:a},e,n):((i=t.__pictorialBarRect=new Hl({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(i))}function ZP(t,e,n,a){if(n.symbolClip){var i=t.__pictorialClipPath,r=V({},n.clipShape),o=e.valueDim,l=n.animationModel,s=n.dataIndex;if(i)Cc(i,{shape:r},l,s);else{r[o.wh]=0,i=new Hl({shape:r}),t.__pictorialBundle.setClipPath(i),t.__pictorialClipPath=i;var u={};u[o.wh]=n.clipShape[o.wh],lp[a?"updateProps":"initProps"](i,{shape:u},l,s)}}}function jP(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=qP,n.isAnimationEnabled=KP,n}function qP(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function KP(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function $P(t,e,n,a){var i=new pi,r=new pi;return i.add(r),i.__pictorialBundle=r,r.x=n.bundlePosition[0],r.y=n.bundlePosition[1],n.symbolRepeat?UP(i,e,n):YP(i,0,n),XP(i,n,a),ZP(i,e,n,a),i.__pictorialShapeStr=QP(t,n),i.__pictorialSymbolMeta=n,i}function JP(t,e,n,a){var i=a.__pictorialBarRect;i&&i.removeTextContent();var r=[];tz(a,(function(t){r.push(t)})),a.__pictorialMainPath&&r.push(a.__pictorialMainPath),a.__pictorialClipPath&&(n=null),X(r,(function(t){Lc(t,{scaleX:0,scaleY:0},n,e,(function(){a.parent&&a.parent.remove(a)}))})),t.setItemGraphicEl(e,null)}function QP(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function tz(t,e,n){X(t.__pictorialBundle.children(),(function(a){a!==t.__pictorialBarRect&&e.call(n,a)}))}function ez(t,e,n,a,i,r){e&&t.attr(e),a.symbolClip&&!i?n&&t.attr(n):n&&lp[i?"updateProps":"initProps"](t,n,a.animationModel,a.dataIndex,r)}function nz(t,e,n){var a=n.dataIndex,i=n.itemModel,r=i.getModel("emphasis"),o=r.getModel("itemStyle").getItemStyle(),l=i.getModel(["blur","itemStyle"]).getItemStyle(),s=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=r.get("focus"),p=r.get("blurScope"),d=r.get("scale");tz(t,(function(t){if(t instanceof Ol){var e=t.style;t.useStyle(V({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var a=t.ensureState("emphasis");a.style=o,d&&(a.scaleX=1.1*t.scaleX,a.scaleY=1.1*t.scaleY),t.ensureState("blur").style=l,t.ensureState("select").style=s,u&&(t.cursor=u),t.z2=n.z2}));var h=e.valueDim.posDesc[+(n.boundingLength>0)];pp(t.__pictorialBarRect,dp(i),{labelFetcher:e.seriesModel,labelDataIndex:a,defaultText:Mk(e.seriesModel.getData(),a),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:h}),Us(t,c,p)}function az(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var iz=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 u(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=Ep(pS.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(pS);var rz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return u(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this,r=this.group,o=t.getLayerSeries(),l=a.getLayout("layoutInfo"),s=l.rect,u=l.boundaryGap;function c(t){return t.name}r.x=0,r.y=s.y+u[0];var p=new Db(this._layersSeries||[],o,c,c),d=[];function h(e,n,l){var s=i._layers;if("remove"!==e){for(var u,c,p=[],h=[],f=o[n].indices,g=0;g<f.length;g++){var m=a.getItemLayout(f[g]),y=m.x,v=m.y0,b=m.y;p.push(y,v),h.push(y,v+b),u=a.getItemVisual(f[g],"style")}var x=a.getItemLayout(f[0]),_=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var k=d[n]=new pi;c=new Yk({shape:{points:p,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),k.add(c),r.add(k),t.isAnimationEnabled()&&c.setClipPath(function(t,e,n){var a=new Hl({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Dc(a,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),a}(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else{k=s[l];c=k.childAt(0),r.add(k),d[n]=k,Cc(c,{shape:{points:p,stackedOnPoints:h}},t),Oc(c)}pp(c,dp(t),{labelDataIndex:f[g-1],defaultText:a.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var S=c.getTextContent();S&&(S.x=x.x-_,S.y=x.y0+x.y/2),c.useStyle(u),a.setItemGraphicEl(n,c),js(c,t),Us(c,w.get("focus"),w.get("blurScope"))}else r.remove(s[n])}p.add(J(h,this,"add")).update(J(h,this,"update")).remove(J(h,this,"remove")).execute(),this._layersSeries=o,this._layers=d},e.type="themeRiver",e}(Eg);var oz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new KS(J(this.getData,this),J(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},a=hr(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),i=[];a.buckets.each((function(t,e){i.push({name:e,dataList:t})}));for(var r=i.length,o=0;o<r;++o){for(var l=i[o].name,s=0;s<i[o].dataList.length;++s){var u=i[o].dataList[s][0]+"";n[u]=o}for(var u in n)n.hasOwnProperty(u)&&n[u]!==o&&(n[u]=o,t[e]=[u,0,l],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",ur).models[0].get("type"),a=q(t.data,(function(t){return void 0!==t[2]})),i=this.fixData(a||[]),r=[],o=this.nameMap=St(),l=0,s=0;s<i.length;++s)r.push(i[s][2]),o.get(i[s][2])||(o.set(i[s][2],l),l++);var u=tx(i,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Pb(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new Qb(u,this);return c.initData(i),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],a=0;a<e;++a)n[a]=a;var i=t.mapDimension("single"),r=hr(n,(function(e){return t.get("name",e)})),o=[];return r.buckets.each((function(e,n){e.sort((function(e,n){return t.get(i,e)-t.get(i,n)})),o.push({name:n,indices:e})})),o},e.prototype.getAxisTooltipData=function(t,e,n){tt(t)||(t=t?[t]:[]);for(var a,i=this.getData(),r=this.getLayerSeries(),o=[],l=r.length,s=0;s<l;++s){for(var u=Number.MAX_VALUE,c=-1,p=r[s].indices.length,d=0;d<p;++d){var h=i.get(t[0],r[s].indices[d]),f=Math.abs(h-e);f<=u&&(a=h,u=f,c=r[s].indices[d])}o.push(c)}return{dataIndices:o,nestestValue:a}},e.prototype.formatTooltip=function(t,e,n){var a=this.getData();return dg("nameValue",{name:a.getName(t),value:a.get(a.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={zlevel:0,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}(Mg);function lz(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,a={},i=n.getRect();a.rect=i;var r=t.get("boundaryGap"),o=n.getAxis();(a.boundaryGap=r,"horizontal"===o.orient)?(r[0]=_i(r[0],i.height),r[1]=_i(r[1],i.height),sz(e,t,i.height-r[0]-r[1])):(r[0]=_i(r[0],i.width),r[1]=_i(r[1],i.width),sz(e,t,i.width-r[0]-r[1]));e.setLayout("layoutInfo",a)}))}function sz(t,e,n){if(t.count())for(var a,i=e.coordinateSystem,r=e.getLayerSeries(),o=t.mapDimension("single"),l=t.mapDimension("value"),s=Z(r,(function(e){return Z(e.indices,(function(e){var n=i.dataToPoint(t.get(o,e));return n[1]=t.get(l,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,a=[],i=[],r=0,o=0;o<n;++o){for(var l=0,s=0;s<e;++s)l+=t[s][o][1];l>r&&(r=l),a.push(l)}for(var u=0;u<n;++u)i[u]=(r-a[u])/2;r=0;for(var c=0;c<n;++c){var p=a[c]+i[c];p>r&&(r=p)}return{y0:i,max:r}}(s),c=u.y0,p=n/u.max,d=r.length,h=r[0].indices.length,f=0;f<h;++f){a=c[f]*p,t.setItemLayout(r[0].indices[f],{layerIndex:0,x:s[0][f][0],y0:a,y:s[0][f][1]*p});for(var g=1;g<d;++g)a+=s[g-1][f][1]*p,t.setItemLayout(r[g].indices[f],{layerIndex:g,x:s[g][f][0],y0:a,y:s[g][f][1]*p})}}var uz=function(t){function e(e,n,a,i){var r=t.call(this)||this;r.z2=2,r.textConfig={inside:!0},es(r).seriesIndex=n.seriesIndex;var o=new ts({z2:4,silent:e.getModel().get(["label","silent"])});return r.setTextContent(o),r.updateData(!0,e,n,a,i),r}return u(e,t),e.prototype.updateData=function(t,e,n,a,i){this.node=e,e.piece=this,n=n||this._seriesModel,a=a||this._ecModel;var r=this;es(r).dataIndex=e.dataIndex;var o=e.getModel(),l=o.getModel("emphasis"),s=e.getLayout(),u=V({},s);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var p=e.getVisual("decal");p&&(c.decal=vy(p,i));var d=XS(o.getModel("itemStyle"),u,!0);V(u,d),X(os,(function(t){var e=r.ensureState(t),n=o.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var a=XS(n,u);a&&(e.shape=a)})),t?(r.setShape(u),r.shape.r=s.r0,Cc(r,{shape:{r:s.r}},n,e.dataIndex)):(Cc(r,{shape:u},n),Oc(r)),r.useStyle(c),this._updateLabel(n);var h=o.getShallow("cursor");h&&r.attr("cursor",h),this._seriesModel=n||this._seriesModel,this._ecModel=a||this._ecModel;var f=l.get("focus");Us(this,"ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f,l.get("blurScope"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),a=n.getModel("label"),i=this.node.getLayout(),r=i.endAngle-i.startAngle,o=(i.startAngle+i.endAngle)/2,l=Math.cos(o),s=Math.sin(o),u=this,c=u.getTextContent(),p=this.node.dataIndex,d=a.get("minAngle")/180*Math.PI,h=a.get("show")&&!(null!=d&&Math.abs(r)<d);function f(t,e){var n=t.get(e);return null==n?a.get(e):n}c.ignore=!h,X(ls,(function(a){var r="normal"===a?n.getModel("label"):n.getModel([a,"label"]),d="normal"===a,h=d?c:c.ensureState(a),g=t.getFormattedLabel(p,a);d&&(g=g||e.node.name),h.style=hp(r,{},null,"normal"!==a,!0),g&&(h.style.text=g);var m=r.get("show");null==m||d||(h.ignore=!m);var y,v=f(r,"position"),b=d?u:u.states[a],x=b.style.fill;b.textConfig={outsideFill:"inherit"===r.get("color")?x:null,inside:"outside"!==v};var _=f(r,"distance")||0,w=f(r,"align");"outside"===v?(y=i.r+_,w=o>Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(y=i.r0+_,o>Math.PI/2&&(w="right")):"right"===w&&(y=i.r-_,o>Math.PI/2&&(w="left")):(y=(i.r+i.r0)/2,w="center"),h.style.align=w,h.style.verticalAlign=f(r,"verticalAlign")||"middle",h.x=y*l+i.cx,h.y=y*s+i.cy;var k=f(r,"rotate"),S=0;"radial"===k?(S=-o)<-Math.PI/2&&(S+=Math.PI):"tangential"===k?(S=Math.PI/2-o)>Math.PI/2?S-=Math.PI:S<-Math.PI/2&&(S+=Math.PI):"number"==typeof k&&(S=k*Math.PI/180),h.rotation=S})),c.dirtyStyle()},e}(Fu),cz="sunburstRootToNode",pz="sunburstHighlight";var dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n,a){var i=this;this.seriesModel=t,this.api=n,this.ecModel=e;var r=t.getData(),o=r.tree.root,l=t.getViewRoot(),s=this.group,u=t.get("renderLabelForZeroData"),c=[];l.eachNode((function(t){c.push(t)}));var p=this._oldChildren||[];!function(a,i){if(0===a.length&&0===i.length)return;function l(t){return t.getId()}function c(l,c){!function(a,i){u||!a||a.getValue()||(a=null);if(a!==o&&i!==o)if(i&&i.piece)a?(i.piece.updateData(!1,a,t,e,n),r.setItemGraphicEl(a.dataIndex,i.piece)):function(t){if(!t)return;t.piece&&(s.remove(t.piece),t.piece=null)}(i);else if(a){var l=new uz(a,t,e,n);s.add(l),r.setItemGraphicEl(a.dataIndex,l)}}(null==l?null:a[l],null==c?null:i[c])}new Db(i,a,l,l).add(c).update(c).remove(Q(c,null)).execute()}(c,p),function(a,r){r.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,a,t,e,n):(i.virtualPiece=new uz(a,t,e,n),s.add(i.virtualPiece)),r.piece.off("click"),i.virtualPiece.on("click",(function(t){i._rootToNode(r.parentNode)}))):i.virtualPiece&&(s.remove(i.virtualPiece),i.virtualPiece=null)}(o,l),this._initEvents(),this._oldChildren=c},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(a){if(!n&&a.piece&&a.piece===e.target){var i=a.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(a);else if("link"===i){var r=a.getModel(),o=r.get("link");if(o)zd(o,r.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:cz,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var a=t[0]-n.cx,i=t[1]-n.cy,r=Math.sqrt(a*a+i*i);return r<=n.r&&r>=n.r0}},e.type="sunburst",e}(Eg),hz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return u(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};fz(n);var a=this._levelModels=Z(t.levels||[],(function(t){return new Op(t,this,e)}),this),i=IT.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e),r=a[n.depth];return r&&(t.parentModel=r),t}))}));return i.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=AT(a,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(){ET(this)},e.type="series.sunburst",e.defaultOption={zlevel:0,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}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Mg);function fz(t){var e=0;X(t.children,(function(t){fz(t);var n=t.value;tt(n)&&(n=n[0]),e+=n}));var n=t.value;tt(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),tt(t.value)?t.value[0]=n:t.value=n}var gz=Math.PI/180;function mz(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),a=t.get("radius");tt(a)||(a=[0,a]),tt(e)||(e=[e,e]);var i=n.getWidth(),r=n.getHeight(),o=Math.min(i,r),l=_i(e[0],i),s=_i(e[1],r),u=_i(a[0],o/2),c=_i(a[1],o/2),p=-t.get("startAngle")*gz,d=t.get("minAngle")*gz,h=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,m=t.get("sort");null!=m&&yz(f,m);var y=0;X(f.children,(function(t){!isNaN(t.getValue())&&y++}));var v=f.getValue(),b=Math.PI/(v||y)*2,x=f.depth>0,_=f.height-(x?-1:1),w=(c-u)/(_||1),k=t.get("clockwise"),S=t.get("stillShowZeroSum"),M=k?1:-1,I=function(e,n){if(e){var a=n;if(e!==h){var i=e.getValue(),r=0===v&&S?b:i*b;r<d&&(r=d),a=n+M*r;var c=e.depth-g-(x?-1:1),p=u+w*c,f=u+w*(c+1),m=t.getLevelModel(e);if(m){var y=m.get("r0",!0),_=m.get("r",!0),T=m.get("radius",!0);null!=T&&(y=T[0],_=T[1]),null!=y&&(p=_i(y,o/2)),null!=_&&(f=_i(_,o/2))}e.setLayout({angle:r,startAngle:n,endAngle:a,clockwise:k,cx:l,cy:s,r0:p,r:f})}if(e.children&&e.children.length){var C=0;X(e.children,(function(t){C+=I(t,n+C)}))}return a-n}};if(x){var T=u,C=u+w,D=2*Math.PI;h.setLayout({angle:D,startAngle:p,endAngle:p+D,clockwise:k,cx:l,cy:s,r0:T,r:C})}I(f,p)}))}function yz(t,e){var n=t.children||[];t.children=function(t,e){if("function"==typeof 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 a="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(a?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(a?-1:1):n}))}(n,e),n.length&&X(t.children,(function(t){yz(t,e)}))}function vz(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),a=n.tree;a.eachNode((function(i){var r=i.getModel().getModel("itemStyle").getItemStyle();r.fill||(r.fill=function(t,n,a){for(var i=t;i&&i.depth>1;)i=i.parentNode;var r=n.getColorFromPalette(i.name||i.dataIndex+"",e);return t.depth>1&&"string"==typeof r&&(r=dn(r,(t.depth-1)/(a-1)*.5)),r}(i,t,a.root.height)),V(n.ensureUniqueItemVisual(i.dataIndex,"style"),r)}))}))}var bz={color:"fill",borderColor:"stroke"},xz={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},_z=rr(),wz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(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 sx(null,this)},e.prototype.getDataParams=function(e,n,a){var i=t.prototype.getDataParams.call(this,e,n);return a&&(i.info=_z(a).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,clip:!1},e}(Mg);function kz(t,e){return e=e||[0,0],Z(["x","y"],(function(n,a){var i=this.getAxis(n),r=e[a],o=t[a]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(r-o)-i.dataToCoord(r+o))}),this)}function Sz(t,e){return e=e||[0,0],Z([0,1],(function(n){var a=e[n],i=t[n]/2,r=[],o=[];return r[n]=a-i,o[n]=a+i,r[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(r)[n]-this.dataToPoint(o)[n])}),this)}function Mz(t,e){var n=this.getAxis(),a=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(a-i)-n.dataToCoord(a+i))}function Iz(t,e){return e=e||[0,0],Z(["Radius","Angle"],(function(n,a){var i=this["get"+n+"Axis"](),r=e[a],o=t[a]/2,l="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(r-o)-i.dataToCoord(r+o));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function Tz(t,e,n,a){return t&&(t.legacy||!1!==t.legacy&&!n&&!a&&"tspan"!==e&&("text"===e||Tt(t,"text")))}function Cz(t,e,n){var a,i,r,o=t;if("text"===e)r=o;else{r={},Tt(o,"text")&&(r.text=o.text),Tt(o,"rich")&&(r.rich=o.rich),Tt(o,"textFill")&&(r.fill=o.textFill),Tt(o,"textStroke")&&(r.stroke=o.textStroke),Tt(o,"fontFamily")&&(r.fontFamily=o.fontFamily),Tt(o,"fontSize")&&(r.fontSize=o.fontSize),Tt(o,"fontStyle")&&(r.fontStyle=o.fontStyle),Tt(o,"fontWeight")&&(r.fontWeight=o.fontWeight),i={type:"text",style:r,silent:!0},a={};var l=Tt(o,"textPosition");n?a.position=l?o.textPosition:"inside":l&&(a.position=o.textPosition),Tt(o,"textPosition")&&(a.position=o.textPosition),Tt(o,"textOffset")&&(a.offset=o.textOffset),Tt(o,"textRotation")&&(a.rotation=o.textRotation),Tt(o,"textDistance")&&(a.distance=o.textDistance)}return Dz(r,t),X(r.rich,(function(t){Dz(t,t)})),{textConfig:a,textContent:i}}function Dz(t,e){e&&(e.font=e.textFont||e.font,Tt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Tt(e,"textAlign")&&(t.align=e.textAlign),Tt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Tt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Tt(e,"textWidth")&&(t.width=e.textWidth),Tt(e,"textHeight")&&(t.height=e.textHeight),Tt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Tt(e,"textPadding")&&(t.padding=e.textPadding),Tt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Tt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Tt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Tt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Tt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Tt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Tt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function Az(t,e,n){var a=t;a.textPosition=a.textPosition||n.position||"inside",null!=n.offset&&(a.textOffset=n.offset),null!=n.rotation&&(a.textRotation=n.rotation),null!=n.distance&&(a.textDistance=n.distance);var i=a.textPosition.indexOf("inside")>=0,r=t.fill||"#000";Lz(a,e);var o=null==a.textFill;return i?o&&(a.textFill=n.insideFill||"#fff",!a.textStroke&&n.insideStroke&&(a.textStroke=n.insideStroke),!a.textStroke&&(a.textStroke=r),null==a.textStrokeWidth&&(a.textStrokeWidth=2)):(o&&(a.textFill=t.fill||n.outsideFill||"#000"),!a.textStroke&&n.outsideStroke&&(a.textStroke=n.outsideStroke)),a.text=e.text,a.rich=e.rich,X(e.rich,(function(t){Lz(t,t)})),a}function Lz(t,e){e&&(Tt(e,"fill")&&(t.textFill=e.fill),Tt(e,"stroke")&&(t.textStroke=e.fill),Tt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Tt(e,"font")&&(t.font=e.font),Tt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Tt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Tt(e,"fontSize")&&(t.fontSize=e.fontSize),Tt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Tt(e,"align")&&(t.textAlign=e.align),Tt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Tt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Tt(e,"width")&&(t.textWidth=e.width),Tt(e,"height")&&(t.textHeight=e.height),Tt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Tt(e,"padding")&&(t.textPadding=e.padding),Tt(e,"borderColor")&&(t.textBorderColor=e.borderColor),Tt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Tt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Tt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Tt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Tt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Tt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Tt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Tt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Tt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Tt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var Pz={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]};function zz(t,e,n){var a=t[n],i=Pz[n];a&&(e[i[0]]=a[0],e[i[1]]=a[1])}function Oz(t,e,n){null!=t[n]&&(e[n]=t[n])}function Rz(t,e,n){n&&(t[e]=n[e])}function Nz(t,e,n,a,i){var r=n[t];if(r){var o,l=e[t],s=r.enterFrom;if(i&&s){!o&&(o=a[t]={});for(var u=$(s),c=0;c<u.length;c++){o[v=u[c]]=s[v]}}if(!i&&l)if(r.transition){!o&&(o=a[t]={});var p=Zi(r.transition);for(c=0;c<p.length;c++){var d=l[v=p[c]];o[v]=d}}else if(H(n.transition,t)>=0){!o&&(o=a[t]={});var h=$(l);for(c=0;c<h.length;c++){d=l[v=h[c]];Bz(r[v],d)&&(o[v]=d)}}var f=r.leaveTo;if(f){var g=Vz(e),m=g[t]||(g[t]={}),y=$(f);for(c=0;c<y.length;c++){var v;m[v=y[c]]=f[v]}}}}function Ez(t,e,n){var a=e[t];if(a)for(var i=n[t]={},r=$(a),o=0;o<r.length;o++){var l=r[o];i[l]=Pn(a[l])}}function Bz(t,e){return Y(t)?t!==e:null!=t&&isFinite(t)}function Vz(t){var e=_z(t);return e.leaveToProps||(e.leaveToProps={})}$({x:1,y:1,scaleX:1,scaleY:1,originX:1,originY:1,rotation:1}).join(", ");var Fz="emphasis",Gz="normal",Hz="blur",Wz="select",Uz=[Gz,Fz,Hz,Wz],Yz={normal:["itemStyle"],emphasis:[Fz,"itemStyle"],blur:[Hz,"itemStyle"],select:[Wz,"itemStyle"]},Xz={normal:["label"],emphasis:[Fz,"label"],blur:[Hz,"label"],select:[Wz,"label"]},Zz={normal:{},emphasis:{},blur:{},select:{}},jz={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:J(kz,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:J(Sz,t)}}},singleAxis: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:J(Mz,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:function(a){var i=e.dataToRadius(a[0]),r=n.dataToAngle(a[1]),o=t.coordToPoint([i,r]);return o.push(i,r*Math.PI/180),o},size:J(Iz,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 qz(t){return t instanceof Tl}function Kz(t){return t instanceof Qr}var $z=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n,a){var i=this._data,r=t.getData(),o=this.group,l=rO(t,r,e,n);i||o.removeAll(),r.diff(i).add((function(e){lO(n,null,e,l(e,a),t,o,r)})).remove((function(e){mO(i.getItemGraphicEl(e),t,o)})).update((function(e,s){var u=i.getItemGraphicEl(s);lO(n,u,e,l(e,a),t,o,r)})).execute();var s=t.get("clip",!0)?jk(t.coordinateSystem,!1,t):null;s?o.setClipPath(s):o.removeClipPath(),this._data=r},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,a,i){var r=e.getData(),o=rO(e,r,n,a);function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var s=t.start;s<t.end;s++){var u=lO(null,null,s,o(s,i),e,this.group,r);u&&u.traverse(l)}},e.prototype.filterForExposedEvent=function(t,e,n,a){var i=e.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},e.type="custom",e}(Eg);function Jz(t){var e,n=t.type;if("path"===n){var a=t.shape,i=null!=a.width&&null!=a.height?{x:a.x||0,y:a.y||0,width:a.width,height:a.height}:null,r=yO(a);e=Wc(r,null,i,a.layout||"center"),_z(e).customPathData=r}else if("image"===n)e=new Ol({}),_z(e).customImagePath=t.style.image;else if("text"===n)e=new ts({});else if("group"===n)e=new pi;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=Hc(n);if(!o){Ui("")}e=new o}return _z(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function Qz(t,e,n,a,i,r,o,l){var s=i&&i.normal.cfg;s&&e.setTextConfig(s);var u=a&&a.style;if(u){if("text"===e.type){var c=u;Tt(c,"textFill")&&(c.fill=c.textFill),Tt(c,"textStroke")&&(c.stroke=c.textStroke)}var p=void 0,d=qz(e)?u.decal:null;t&&d&&(d.dirty=!0,p=vy(d,t)),u.__decalPattern=p}_z(e).userDuring=a.during;var h={},f={};Nz("shape",e,a,h,o),Ez("shape",a,f),function(t,e,n,a){var i=e.enterFrom;if(a&&i)for(var r=$(i),o=0;o<r.length;o++)n[d=r[o]]=i[d];if(!a)if(e.transition){var l=Zi(e.transition);for(o=0;o<l.length;o++)if("style"!==(d=l[o])&&"shape"!==d&&"extra"!==d){var s=t[d];n[d]=s}}else Rz(n,"x",t),Rz(n,"y",t);var u=e.leaveTo;if(u){var c=Vz(t),p=$(u);for(o=0;o<p.length;o++){var d;c[d=p[o]]=u[d]}}}(e,a,h,o),function(t,e,n){zz(e,n,"position"),zz(e,n,"scale"),zz(e,n,"origin"),Oz(e,n,"x"),Oz(e,n,"y"),Oz(e,n,"scaleX"),Oz(e,n,"scaleY"),Oz(e,n,"originX"),Oz(e,n,"originY"),Oz(e,n,"rotation")}(0,a,f),Nz("extra",e,a,h,o),Ez("extra",a,f),function(t,e,n,a,i){if(n){var r,o=t.style,l=n.enterFrom;if(i&&l){var s=$(l);!r&&(r=a.style={});for(var u=0;u<s.length;u++)r[b=s[u]]=l[b]}if(!i&&o)if(n.transition){var c=Zi(n.transition);for(!r&&(r=a.style={}),u=0;u<c.length;u++){var p=o[b=c[u]];r[b]=p}}else if(t.getAnimationStyleProps&&H(e.transition,"style")>=0){var d=t.getAnimationStyleProps(),h=d?d.style:null;if(h){!r&&(r=a.style={});var f=$(n);for(u=0;u<f.length;u++)h[b=f[u]]&&(p=o[b],r[b]=p)}}var g=n.leaveTo;if(g){var m=$(g),y=Vz(t),v=y.style||(y.style={});for(u=0;u<m.length;u++){var b;v[b=m[u]]=g[b]}}}}(e,a,u,h,o),f.style=u,function(t,e){var n=t.isGroup?null:t,a=e.style;if(n&&a){n.useStyle(a);var i=a.__decalPattern;i&&(n.style.decal=i);for(var r=n.animators,o=0;o<r.length;o++){var l=r[o];"style"===l.targetName&&l.changeTarget(n.style)}}e&&(e.style=null,e&&t.attr(e),e.style=a)}(e,f),function(t,e,n,a,i){if(a){var r=_z(t).userDuring,o={dataIndex:e,isFrom:!0,during:r?J(nO,{el:t,userDuring:r}):null};i?Dc(t,a,n,o):Cc(t,a,n,o)}}(e,n,r,h,o),function(t,e,n){Tt(e,"silent")&&(t.silent=e.silent),Tt(e,"ignore")&&(t.ignore=e.ignore),Kz(t)&&Tt(e,"invisible")&&(t.invisible=e.invisible);qz(t)&&Tt(e,"autoBatch")&&(t.autoBatch=e.autoBatch);n||Tt(e,"info")&&(_z(t).info=e.info)}(e,a,l),u?e.dirty():e.markRedraw()}var tO={},eO={setTransform:function(t,e){return tO.el[t]=e,this},getTransform:function(t){return tO.el[t]},setShape:function(t,e){return(tO.el.shape||(tO.el.shape={}))[t]=e,tO.isShapeDirty=!0,this},getShape:function(t){var e=tO.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=tO.el.style;return n&&(n[t]=e,tO.isStyleDirty=!0),this},getStyle:function(t){var e=tO.el.style;if(e)return e[t]},setExtra:function(t,e){return(tO.el.extra||(tO.el.extra={}))[t]=e,this},getExtra:function(t){var e=tO.el.extra;if(e)return e[t]}};function nO(){var t=this,e=t.el;if(e){var n=_z(e).userDuring,a=t.userDuring;n===a?(tO.el=e,tO.isShapeDirty=!1,tO.isStyleDirty=!1,a(eO),tO.isShapeDirty&&e.dirtyShape&&e.dirtyShape(),tO.isStyleDirty&&e.dirtyStyle&&e.dirtyStyle()):t.el=t.userDuring=null}}function aO(t,e,n,a,i,r,o){var l=e.isGroup?null:e,s=i&&i[t].cfg;if(l){var u=l.ensureState(t);if(!1===a){var c=l.getState(t);c&&(c.style=null)}else u.style=a||null;s&&(u.textConfig=s),Cs(l)}}function iO(t,e,n){var a=n===Gz,i=a?e:pO(e,n),r=i?i.z2:null;null!=r&&((a?t:t.ensureState(n)).z2=r||0)}function rO(t,e,n,a){var i=t.get("renderItem"),r=t.coordinateSystem,o={};r&&(o=r.prepareCustoms?r.prepareCustoms(r):jz[r.type](r));for(var l,s,u=F({getWidth:a.getWidth,getHeight:a.getHeight,getZr:a.getZr,getDevicePixelRatio:a.getDevicePixelRatio,value:function(t,n){return null==n&&(n=l),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,a){null==a&&(a=l);var i=e.getItemVisual(a,"style"),r=i&&i.fill,o=i&&i.opacity,s=v(a,Gz).getItemStyle();null!=r&&(s.fill=r),null!=o&&(s.opacity=o);var u={inheritColor:nt(r)?r:"#000"},c=b(a,Gz),p=hp(c,null,u,!1,!0);p.text=c.getShallow("show")?ft(t.getFormattedLabel(a,Gz),Mk(e,a)):null;var d=fp(c,u,!1);return _(n,s),s=Az(s,p,d),n&&x(s,n),s.legacy=!0,s},ordinalRawValue:function(t,n){null==n&&(n=l),t=t||0;var a=e.getDimensionInfo(t);if(!a){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,n):void 0}var r=e.get(a.name,n),o=a&&a.ordinalMeta;return o?o.categories[r]:r},styleEmphasis:function(n,a){null==a&&(a=l);var i=v(a,Fz).getItemStyle(),r=b(a,Fz),o=hp(r,null,null,!0,!0);o.text=r.getShallow("show")?gt(t.getFormattedLabel(a,Fz),t.getFormattedLabel(a,Gz),Mk(e,a)):null;var s=fp(r,null,!0);return _(n,i),i=Az(i,o,s),n&&x(i,n),i.legacy=!0,i},visual:function(t,n){if(null==n&&(n=l),Tt(bz,t)){var a=e.getItemVisual(n,"style");return a?a[bz[t]]:null}if(Tt(xz,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===r.type){return function(t){var e=[],n=t.axis,a="axis0";if("category"===n.type){for(var i=n.getBandWidth(),r=0;r<t.count;r++)e.push(F({bandWidth:i,axisKey:a,stackId:Sx+r},t));var o=Ax(e),l=[];for(r=0;r<t.count;r++){var s=o.axis0[Sx+r];s.offsetCenter=s.offset+s.width/2,l.push(s)}return l}}(F({axis:r.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return bp(t,n)}},o.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:oO(t.getData())},p={},d={},h={},f={},g=0;g<Uz.length;g++){var m=Uz[g];h[m]=t.getModel(Yz[m]),f[m]=t.getModel(Xz[m])}function y(t){return t===l?s||(s=e.getItemModel(t)):e.getItemModel(t)}function v(t,n){return e.hasItemOption?t===l?p[n]||(p[n]=y(t).getModel(Yz[n])):y(t).getModel(Yz[n]):h[n]}function b(t,n){return e.hasItemOption?t===l?d[n]||(d[n]=y(t).getModel(Xz[n])):y(t).getModel(Xz[n]):f[n]}return function(t,n){return l=t,s=null,p={},d={},i&&i(F({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,e){for(var n in e)Tt(e,n)&&(t[n]=e[n])}function _(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function oO(t){var e={};return X(t.dimensions,(function(n){var a=t.getDimensionInfo(n);if(!a.isExtraCoord){var i=a.coordDim;(e[i]=e[i]||[])[a.coordDimIndex]=t.getDimensionIndex(n)}})),e}function lO(t,e,n,a,i,r,o){if(a){var l=sO(t,e,n,a,i,r);return l&&o.setItemGraphicEl(n,l),l&&Us(l,a.focus,a.blurScope),l}r.remove(e)}function sO(t,e,n,a,i,r,o){var l=-1,s=e;e&&uO(e,a,i)&&(l=H(r.childrenRef(),e),e=null);var u,c,p=!e,d=e;d?d.clearStates():(d=Jz(a),s&&(u=s,(c=d).copyTransform(u),Kz(c)&&Kz(u)&&(c.setStyle(u.style),c.z=u.z,c.z2=u.z2,c.zlevel=u.zlevel,c.invisible=u.invisible,c.ignore=u.ignore,qz(c)&&qz(u)&&c.setShape(u.shape)))),!1===a.morph?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),Zz.normal.cfg=Zz.normal.conOpt=Zz.emphasis.cfg=Zz.emphasis.conOpt=Zz.blur.cfg=Zz.blur.conOpt=Zz.select.cfg=Zz.select.conOpt=null,Zz.isLegacy=!1,function(t,e,n,a,i,r){if(t.isGroup)return;cO(n,null,r),cO(n,Fz,r);var o=r.normal.conOpt,l=r.emphasis.conOpt,s=r.blur.conOpt,u=r.select.conOpt;if(null!=o||null!=l||null!=u||null!=s){var c=t.getTextContent();if(!1===o)c&&t.removeTextContent();else{o=r.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=Jz(o),t.setTextContent(c)),Qz(null,c,e,o,null,a,i,!0);for(var p=o&&o.style,d=0;d<Uz.length;d++){var h=Uz[d];if(h!==Gz){var f=r[h].conOpt;aO(h,c,0,dO(o,f,h),null)}}p?c.dirty():c.markRedraw()}}}(d,n,a,i,p,Zz),function(t,e,n,a,i){var r=n.clipPath;if(!1===r)t&&t.getClipPath()&&t.removeClipPath();else if(r){var o=t.getClipPath();o&&uO(o,r,a)&&(o=null),o||(o=Jz(r),t.setClipPath(o)),Qz(null,o,e,r,null,a,i,!1)}}(d,n,a,i,p),Qz(t,d,n,a,Zz,i,p,!1);for(var h=0;h<Uz.length;h++){var f=Uz[h];if(f!==Gz){var g=pO(a,f);aO(f,d,0,dO(a,g,f),Zz)}}return function(t,e,n){if(!t.isGroup){var a=t,i=n.currentZ,r=n.currentZLevel;a.z=i,a.zlevel=r;var o=e.z2;null!=o&&(a.z2=o||0);for(var l=0;l<Uz.length;l++)iO(a,e,Uz[l])}}(d,a,i),"group"===a.type&&function(t,e,n,a,i){var r=a.children,o=r?r.length:0,l=a.$mergeChildren,s="byName"===l||a.diffChildrenByName,u=!1===l;if(!o&&!s&&!u)return;if(s)return c={api:t,oldChildren:e.children()||[],newChildren:r||[],dataIndex:n,seriesModel:i,group:e},void new Db(c.oldChildren,c.newChildren,hO,hO,c).add(fO).update(fO).remove(gO).execute();var c;u&&e.removeAll();for(var p=0;p<o;p++)r[p]&&sO(t,e.childAt(p),n,r[p],i,e);for(var d=e.childCount()-1;d>=p;d--)mO(e.childAt(d),i,e)}(t,d,n,a,i),l>=0?r.replaceAt(d,l):r.add(d),d}function uO(t,e,n){var a,i=_z(t),r=e.type,o=e.shape,l=e.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||"path"===r&&((a=o)&&(Tt(a,"pathData")||Tt(a,"d")))&&yO(o)!==i.customPathData||"image"===r&&Tt(l,"image")&&l.image!==i.customImagePath}function cO(t,e,n){var a=e?pO(t,e):t,i=e?dO(t,a,Fz):t.style,r=t.type,o=a?a.textConfig:null,l=t.textContent,s=l?e?pO(l,e):l:null;if(i&&(n.isLegacy||Tz(i,r,!!o,!!s))){n.isLegacy=!0;var u=Cz(i,r,!e);!o&&u.textConfig&&(o=u.textConfig),!s&&u.textContent&&(s=u.textContent)}if(!e&&s){var c=s;!c.type&&(c.type="text")}var p=e?n[e]:n.normal;p.cfg=o,p.conOpt=s}function pO(t,e){return e?t?t[e]:null:t}function dO(t,e,n){var a=e&&e.style;return null==a&&n===Fz&&t&&(a=t.styleEmphasis),a}function hO(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function fO(t,e){var n=this.context,a=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;sO(n.api,i,n.dataIndex,a,n.seriesModel,n.group)}function gO(t){var e=this.context;mO(e.oldChildren[t],e.seriesModel,e.group)}function mO(t,e,n){if(t){var a=_z(t).leaveToProps;a?Cc(t,a,e,{cb:function(){n.remove(t)}}):n.remove(t)}}function yO(t){return t&&(t.pathData||t.d)}var vO=rr(),bO=N,xO=J,_O=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,a){var i=e.get("value"),r=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,a||this._lastValue!==i||this._lastStatus!==r){this._lastValue=i,this._lastStatus=r;var o=this._group,l=this._handle;if(!r||"hide"===r)return o&&o.hide(),void(l&&l.hide());o&&o.show(),l&&l.show();var s={};this.makeElOption(s,i,t,e,n);var u=s.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(o){var p=Q(wO,e,c);this.updatePointerEl(o,s,p),this.updateLabelEl(o,s,p,e)}else o=this._group=new pi,this.createPointerEl(o,s,t,e),this.createLabelEl(o,s,t,e),n.getZr().add(o);IO(o,e,!0),this._renderHandle(i)}},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"),a=t.axis,i="category"===a.type,r=e.get("snap");if(!r&&!i)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(i&&a.getBandWidth()>o)return!0;if(r){var l=OM(t).seriesDataCount,s=a.getExtent();return Math.abs(s[0]-s[1])/l>o}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,a,i){},t.prototype.createPointerEl=function(t,e,n,a){var i=e.pointer;if(i){var r=vO(t).pointerEl=new lp[i.type](bO(e.pointer));t.add(r)}},t.prototype.createLabelEl=function(t,e,n,a){if(e.label){var i=vO(t).labelEl=new ts(bO(e.label));t.add(i),SO(i,a)}},t.prototype.updatePointerEl=function(t,e,n){var a=vO(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),n(a,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,a){var i=vO(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),SO(i,a))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,a=this._api.getZr(),i=this._handle,r=n.getModel("handle"),o=n.get("status");if(!r.get("show")||!o||"hide"===o)return i&&a.remove(i),void(this._handle=null);this._handle||(e=!0,i=this._handle=np(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ye(t.event)},onmousedown:xO(this._onHandleDragMove,this,0,0),drift:xO(this._onHandleDragMove,this),ondragend:xO(this._onHandleDragEnd,this)}),a.add(i)),IO(i,n,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=r.get("size");tt(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,Zg(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){wO(this._axisPointerModel,!e&&this._moveAnimation,this._handle,MO(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var a=this.updateHandleTransform(MO(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,n.stopAnimation(),n.attr(MO(a)),vO(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,a=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null)},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 wO(t,e,n,a){kO(vO(n).lastProp,a)||(vO(n).lastProp=a,e?Cc(n,a,t):(n.stopAnimation(),n.attr(a)))}function kO(t,e){if(rt(t)&&rt(e)){var n=!0;return X(e,(function(e,a){n=n&&kO(t[a],e)})),!!n}return t===e}function SO(t,e){t[e.get(["label","show"])?"show":"hide"]()}function MO(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function IO(t,e,n){var a=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=a&&(t.z=a),null!=i&&(t.zlevel=i),t.silent=n)}))}function TO(t){var e,n=t.get("type"),a=t.getModel(n+"Style");return"line"===n?(e=a.getLineStyle()).fill=null:"shadow"===n&&((e=a.getAreaStyle()).stroke=null),e}function CO(t,e,n,a,i){var r=DO(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),o=n.getModel("label"),l=kd(o.get("padding")||0),s=o.getFont(),u=Za(r,s),c=i.position,p=u.width+l[1]+l[3],d=u.height+l[0]+l[2],h=i.align;"right"===h&&(c[0]-=p),"center"===h&&(c[0]-=p/2);var f=i.verticalAlign;"bottom"===f&&(c[1]-=d),"middle"===f&&(c[1]-=d/2),function(t,e,n,a){var i=a.getWidth(),r=a.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,r)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,p,d,a);var g=o.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:hp(o,{text:r,font:s,fill:o.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function DO(t,e,n,a,i){t=e.scale.parse(t);var r=e.scale.getLabel({value:t},{precision:i.precision}),o=i.formatter;if(o){var l={value:c_(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};X(a,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),a=t.dataIndexInside,i=e&&e.getDataParams(a);i&&l.seriesData.push(i)})),nt(o)?r=o.replace("{value}",r):et(o)&&(r=o(l))}return r}function AO(t,e,n){var a=[1,0,0,1,0,0];return ha(a,a,n.rotation),da(a,a,n.position),Kc([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],a)}function LO(t,e,n,a,i,r){var o=MM.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),CO(e,a,i,r,{position:AO(a.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function PO(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function zO(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function OO(t,e,n,a,i,r){return{cx:t,cy:e,r0:n,r:a,startAngle:i,endAngle:r,clockwise:!0}}var RO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.makeElOption=function(t,e,n,a,i){var r=n.axis,o=r.grid,l=a.get("type"),s=NO(o,r).getOtherAxis(r).getGlobalExtent(),u=r.toGlobalCoord(r.dataToCoord(e,!0));if(l&&"none"!==l){var c=TO(a),p=EO[l](r,u,s);p.style=c,t.graphicKey=p.type,t.pointer=p}LO(e,t,yM(o.model,n),n,a,i)},e.prototype.getHandleTransform=function(t,e,n){var a=yM(e.axis.grid.model,e,{labelInside:!1});a.labelMargin=n.get(["handle","margin"]);var i=AO(e.axis,t,a);return{x:i[0],y:i[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,a){var i=n.axis,r=i.grid,o=i.getGlobalExtent(!0),l=NO(r,i).getOtherAxis(i).getGlobalExtent(),s="x"===i.dim?0:1,u=[t.x,t.y];u[s]+=e[s],u[s]=Math.min(o[1],u[s]),u[s]=Math.max(o[0],u[s]);var c=(l[1]+l[0])/2,p=[c,c];p[s]=u[s];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:p,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][s]}},e}(_O);function NO(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var EO={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:PO([e,n[0]],[e,n[1]],BO(t))}},shadow:function(t,e,n){var a=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:zO([e-a/2,n[0]],[a,i],BO(t))}}};function BO(t){return"x"===t.dim?0:1}var VO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="axisPointer",e.defaultOption={show:"auto",zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!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}(Xd),FO=rr(),GO=X;function HO(t,e,n){if(!b.node){var a=e.getZr();FO(a).records||(FO(a).records={}),function(t,e){if(FO(t).initialized)return;function n(n,a){t.on(n,(function(n){var i=function(t){var e={showTip:[],hideTip:[]},n=function(a){var i=e[a.type];i?i.push(a):(a.dispatchAction=n,t.dispatchAction(a))};return{dispatchAction:n,pendings:e}}(e);GO(FO(t).records,(function(t){t&&a(t,n,i.dispatchAction)})),function(t,e){var n,a=t.showTip.length,i=t.hideTip.length;a?n=t.showTip[a-1]:i&&(n=t.hideTip[i-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(i.pendings,e)}))}FO(t).initialized=!0,n("click",Q(UO,"click")),n("mousemove",Q(UO,"mousemove")),n("globalout",WO)}(a,e),(FO(a).records[t]||(FO(a).records[t]={})).handler=n}}function WO(t,e,n){t.handler("leave",null,n)}function UO(t,e,n,a){e.handler(t,n,a)}function YO(t,e){if(!b.node){var n=e.getZr();(FO(n).records||{})[t]&&(FO(n).records[t]=null)}}var XO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=e.getComponent("tooltip"),i=t.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";HO("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){YO("axisPointer",e)},e.prototype.dispose=function(t,e){YO("axisPointer",e)},e.type="axisPointer",e}(zg);function ZO(t,e){var n,a=[],i=t.seriesIndex;if(null==i||!(n=e.getSeriesByIndex(i)))return{point:[]};var r=n.getData(),o=ir(r,t);if(null==o||o<0||tt(o))return{point:[]};var l=r.getItemGraphicEl(o),s=n.coordinateSystem;if(n.getTooltipPosition)a=n.getTooltipPosition(o)||[];else if(s&&s.dataToPoint)if(t.isStacked){var u=s.getBaseAxis(),c=s.getOtherAxis(u).dim,p=u.dim,d="x"===c||"radius"===c?1:0,h=r.mapDimension(p),f=[];f[d]=r.get(h,o),f[1-d]=r.get(r.getCalculationInfo("stackResultDimension"),o),a=s.dataToPoint(f)||[]}else a=s.dataToPoint(r.getValues(Z(s.dimensions,(function(t){return r.mapDimension(t)})),o))||[];else if(l){var g=l.getBoundingRect().clone();g.applyTransform(l.transform),a=[g.x+g.width/2,g.y+g.height/2]}return{point:a,el:l}}var jO=rr();function qO(t,e,n){var a=t.currTrigger,i=[t.x,t.y],r=t,o=t.dispatchAction||J(n.dispatchAction,n),l=e.getComponent("axisPointer").coordSysAxesInfo;if(l){tR(i)&&(i=ZO({seriesIndex:r.seriesIndex,dataIndex:r.dataIndex},e).point);var s=tR(i),u=r.axesInfo,c=l.axesInfo,p="leave"===a||tR(i),d={},h={},f={list:[],map:{}},g={showPointer:Q($O,h),showTooltip:Q(JO,f)};X(l.coordSysMap,(function(t,e){var n=s||t.containPoint(i);X(l.coordSysAxesInfo[e],(function(t,e){var a=t.axis,r=function(t,e){for(var n=0;n<(t||[]).length;n++){var a=t[n];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}(u,t);if(!p&&n&&(!u||r)){var o=r&&r.value;null!=o||s||(o=a.pointToData(i)),null!=o&&KO(t,o,g,!1,d)}}))}));var m={};return X(c,(function(t,e){var n=t.linkGroup;n&&!h[e]&&X(n.axesInfo,(function(e,a){var i=h[a];if(e!==t&&i){var r=i.value;n.mapper&&(r=t.axis.scale.parse(n.mapper(r,QO(e),QO(t)))),m[t.key]=r}}))})),X(m,(function(t,e){KO(c[e],t,g,!0,d)})),function(t,e,n){var a=n.axesInfo=[];X(e,(function(e,n){var i=e.axisPointerModel.option,r=t[n];r?(!e.useHandle&&(i.status="show"),i.value=r.value,i.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&a.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}(h,c,d),function(t,e,n,a){if(tR(e)||!t.list.length)return void a({type:"hideTip"});var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}(f,i,t,o),function(t,e,n){var a=n.getZr(),i="axisPointerLastHighlights",r=jO(a)[i]||{},o=jO(a)[i]={};X(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&X(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t}))}));var l=[],s=[];X(r,(function(t,e){!o[e]&&s.push(t)})),X(o,(function(t,e){!r[e]&&l.push(t)})),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}(c,0,n),d}}function KO(t,e,n,a,i){var r=t.axis;if(!r.scale.isBlank()&&r.containData(e))if(t.involveSeries){var o=function(t,e){var n=e.axis,a=n.dim,i=t,r=[],o=Number.MAX_VALUE,l=-1;return X(e.seriesModels,(function(e,s){var u,c,p=e.getData().mapDimensionsAll(a);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(p,t,n);c=d.dataIndices,u=d.nestestValue}else{if(!(c=e.getData().indicesOfNearest(p[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(p[0],c[0])}if(null!=u&&isFinite(u)){var h=t-u,f=Math.abs(h);f<=o&&((f<o||h>=0&&l<0)&&(o=f,l=h,i=u,r.length=0),X(c,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:i}}(e,t),l=o.payloadBatch,s=o.snapToValue;l[0]&&null==i.seriesIndex&&V(i,l[0]),!a&&t.snap&&r.containData(s)&&null!=s&&(e=s),n.showPointer(t,e,l),n.showTooltip(t,o,s)}else n.showPointer(t,e)}function $O(t,e,n,a){t[e.key]={value:n,payloadBatch:a}}function JO(t,e,n,a){var i=n.payloadBatch,r=e.axis,o=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&i.length){var s=e.coordSys.model,u=NM(s),c=t.map[u];c||(c=t.map[u]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:r.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function QO(t){var e=t.axis.model,n={},a=n.axisDim=t.axis.dim;return n.axisIndex=n[a+"AxisIndex"]=e.componentIndex,n.axisName=n[a+"AxisName"]=e.name,n.axisId=n[a+"AxisId"]=e.id,n}function tR(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function eR(t){BM.registerAxisPointerClass("CartesianAxisPointer",RO),t.registerComponentModel(VO),t.registerComponentView(XO),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!tt(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=LM(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},qO)}var nR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.makeElOption=function(t,e,n,a,i){var r=n.axis;"angle"===r.dim&&(this.animationThreshold=Math.PI/18);var o=r.polar,l=o.getOtherAxis(r).getExtent(),s=r.dataToCoord(e),u=a.get("type");if(u&&"none"!==u){var c=TO(a),p=aR[u](r,o,s,l);p.style=c,t.graphicKey=p.type,t.pointer=p}var d=function(t,e,n,a,i){var r=e.axis,o=r.dataToCoord(t),l=a.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s,u,c,p=a.getRadiusAxis().getExtent();if("radius"===r.dim){var d=[1,0,0,1,0,0];ha(d,d,l),da(d,d,[a.cx,a.cy]),s=Kc([o,-i],d);var h=e.getModel("axisLabel").get("rotate")||0,f=MM.innerTextLayout(l,h*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=p[1];s=a.coordToPoint([g+i,o]);var m=a.cx,y=a.cy;u=Math.abs(s[0]-m)/g<.3?"center":s[0]>m?"left":"right",c=Math.abs(s[1]-y)/g<.3?"middle":s[1]>y?"top":"bottom"}return{position:s,align:u,verticalAlign:c}}(e,n,0,o,a.get(["label","margin"]));CO(t,n,a,i,d)},e}(_O);var aR={line:function(t,e,n,a){return"angle"===t.dim?{type:"Line",shape:PO(e.coordToPoint([a[0],n]),e.coordToPoint([a[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,a){var i=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:OO(e.cx,e.cy,a[0],a[1],(-n-i/2)*r,(i/2-n)*r)}:{type:"Sector",shape:OO(e.cx,e.cy,n-i/2,n+i/2,0,2*Math.PI)}}},iR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(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={zlevel:0,z:0,center:["50%","50%"],radius:"80%"},e}(Xd),rR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",ur).models[0]},e.type="polarAxis",e}(Xd);U(rR,g_);var oR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="angleAxis",e}(rR),lR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="radiusAxis",e}(rR),sR=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return u(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(z_);sR.prototype.dataToRadius=z_.prototype.dataToCoord,sR.prototype.radiusToData=z_.prototype.coordToData;var uR=rr(),cR=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return u(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,a=n.getExtent(),i=n.count();if(a[1]-a[0]<1)return 0;var r=a[0],o=t.dataToCoord(r+1)-t.dataToCoord(r),l=Math.abs(o),s=Za(null==r?"":r+"",e.getFont(),"center","top"),u=Math.max(s.height,7)/l;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),p=uR(t.model),d=p.lastAutoInterval,h=p.lastTickCount;return null!=d&&null!=h&&Math.abs(d-c)<=1&&Math.abs(h-i)<=1&&d>c?c=d:(p.lastTickCount=i,p.lastAutoInterval=c),c},e}(z_);cR.prototype.dataToAngle=z_.prototype.dataToCoord,cR.prototype.angleToData=z_.prototype.coordToData;var pR=["radius","angle"],dR=function(){function t(t){this.dimensions=pR,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new sR,this._angleAxis=new cR,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,a=this._radiusAxis;return n.scale.type===t&&e.push(n),a.scale.type===t&&e.push(a),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,a=this.getAngleAxis(),i=a.getExtent(),r=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]);a.inverse?r=o-360:o=r+360;var l=Math.sqrt(e*e+n*n);e/=l,n/=l;for(var s=Math.atan2(-n,e)/Math.PI*180,u=s<r?1:-1;s<r||s>o;)s+=360*u;return[l,s]},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(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*a,endAngle:-n[1]*a,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,a=e-this.cy,i=n*n+a*a,r=this.r,o=this.r0;return i<=r*r&&i>=o*o}}},t.prototype.convertToPixel=function(t,e,n){return hR(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return hR(e)===this?this.pointToData(n):null},t}();function hR(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function fR(t,e){var n=this,a=n.getAngleAxis(),i=n.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();X(f_(e,"radius"),(function(t){i.scale.unionExtentFromData(e,t)})),X(f_(e,"angle"),(function(t){a.scale.unionExtentFromData(e,t)}))}})),l_(a.scale,a.model),l_(i.scale,i.model),"category"===a.type&&!a.onBand){var r=a.getExtent(),o=360/a.scale.count();a.inverse?r[1]+=o:r[1]-=o,a.setExtent(r[0],r[1])}}function gR(t,e){if(t.type=e.get("type"),t.scale=s_(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var mR={dimensions:pR,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,a){var i=new dR(a+"");i.update=fR;var r=i.getRadiusAxis(),o=i.getAngleAxis(),l=t.findAxisModel("radiusAxis"),s=t.findAxisModel("angleAxis");gR(r,l),gR(o,s),function(t,e,n){var a=e.get("center"),i=n.getWidth(),r=n.getHeight();t.cx=_i(a[0],i),t.cy=_i(a[1],r);var o=t.getRadiusAxis(),l=Math.min(i,r)/2,s=e.get("radius");null==s?s=[0,"100%"]:tt(s)||(s=[0,s]);var u=[_i(s[0],l),_i(s[1],l)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",ur).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},yR=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function vR(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var a=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:a[0],y1:a[1],x2:i[0],y2:i[1]}}function bR(t){return t.getRadiusAxis().inverse?0:1}function xR(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 _R=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return u(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,i=a.getRadiusAxis().getExtent(),r=n.getTicksCoords(),o=n.getMinorTicksCoords(),l=Z(n.getViewLabels(),(function(t){t=N(t);var e=n.scale,a="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(a),t}));xR(l),xR(r),X(yR,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||wR[e](this.group,t,a,r,o,i,l)}),this)}},e.type="angleAxis",e}(BM),wR={axisLine:function(t,e,n,a,i,r){var o,l=e.getModel(["axisLine","lineStyle"]),s=bR(n),u=s?0:1;(o=0===r[u]?new _u({shape:{cx:n.cx,cy:n.cy,r:r[s]},style:l.getLineStyle(),z2:1,silent:!0}):new Wu({shape:{cx:n.cx,cy:n.cy,r:r[s],r0:r[u]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(o)},axisTick:function(t,e,n,a,i,r){var o=e.getModel("axisTick"),l=(o.get("inside")?-1:1)*o.get("length"),s=r[bR(n)],u=Z(a,(function(t){return new ec({shape:vR(n,[s,s+l],t.coord)})}));t.add(Xc(u,{style:F(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,a,i,r){if(i.length){for(var o=e.getModel("axisTick"),l=e.getModel("minorTick"),s=(o.get("inside")?-1:1)*l.get("length"),u=r[bR(n)],c=[],p=0;p<i.length;p++)for(var d=0;d<i[p].length;d++)c.push(new ec({shape:vR(n,[u,u+s],i[p][d].coord)}));t.add(Xc(c,{style:F(l.getModel("lineStyle").getLineStyle(),F(o.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,a,i,r,o){var l=e.getCategories(!0),s=e.getModel("axisLabel"),u=s.get("margin"),c=e.get("triggerEvent");X(o,(function(a,i){var o=s,p=a.tickValue,d=r[bR(n)],h=n.coordToPoint([d+u,a.coord]),f=n.cx,g=n.cy,m=Math.abs(h[0]-f)/d<.3?"center":h[0]>f?"left":"right",y=Math.abs(h[1]-g)/d<.3?"middle":h[1]>g?"top":"bottom";if(l&&l[p]){var v=l[p];rt(v)&&v.textStyle&&(o=new Op(v.textStyle,s,s.ecModel))}var b=new ts({silent:MM.isLabelSilent(e),style:hp(o,{x:h[0],y:h[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:a.formattedLabel,align:m,verticalAlign:y})});if(t.add(b),c){var x=MM.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=a.rawLabel,es(b).eventData=x}}),this)},splitLine:function(t,e,n,a,i,r){var o=e.getModel("splitLine").getModel("lineStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=0;c<a.length;c++){var p=s++%l.length;u[p]=u[p]||[],u[p].push(new ec({shape:vR(n,r,a[c].coord)}))}for(c=0;c<u.length;c++)t.add(Xc(u[c],{style:F({stroke:l[c%l.length]},o.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,a,i,r){if(i.length){for(var o=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],s=0;s<i.length;s++)for(var u=0;u<i[s].length;u++)l.push(new ec({shape:vR(n,r,i[s][u].coord)}));t.add(Xc(l,{style:o.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,a,i,r){if(a.length){var o=e.getModel("splitArea").getModel("areaStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=Math.PI/180,p=-a[0].coord*c,d=Math.min(r[0],r[1]),h=Math.max(r[0],r[1]),f=e.get("clockwise"),g=1,m=a.length;g<=m;g++){var y=g===m?a[0].coord:a[g].coord,v=s++%l.length;u[v]=u[v]||[],u[v].push(new Fu({shape:{cx:n.cx,cy:n.cy,r0:d,r:h,startAngle:p,endAngle:-y*c,clockwise:f},silent:!0})),p=-y*c}for(g=0;g<u.length;g++)t.add(Xc(u[g],{style:F({fill:l[g%l.length]},o.getAreaStyle()),silent:!0}))}}},kR=["axisLine","axisTickLabel","axisName"],SR=["splitLine","splitArea","minorSplitLine"],MR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return u(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,a=this._axisGroup=new pi;this.group.add(a);var i=t.axis,r=i.polar,o=r.getAngleAxis(),l=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=o.getExtent()[0],c=i.getExtent(),p=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}}(r,t,u),d=new MM(t,p);X(kR,d.add,d),a.add(d.getGroup()),Qc(n,a,t),X(SR,(function(e){t.get([e,"show"])&&!i.scale.isBlank()&&IR[e](this.group,t,r,u,c,l,s)}),this)}},e.type="radiusAxis",e}(BM),IR={splitLine:function(t,e,n,a,i,r){var o=e.getModel("splitLine").getModel("lineStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=0;c<r.length;c++){var p=s++%l.length;u[p]=u[p]||[],u[p].push(new _u({shape:{cx:n.cx,cy:n.cy,r:r[c].coord}}))}for(c=0;c<u.length;c++)t.add(Xc(u[c],{style:F({stroke:l[c%l.length],fill:null},o.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,a,i,r,o){if(o.length){for(var l=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],u=0;u<o.length;u++)for(var c=0;c<o[u].length;c++)s.push(new _u({shape:{cx:n.cx,cy:n.cy,r:o[u][c].coord}}));t.add(Xc(s,{style:F({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,a,i,r){if(r.length){var o=e.getModel("splitArea").getModel("areaStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=r[0].coord,p=1;p<r.length;p++){var d=s++%l.length;u[d]=u[d]||[],u[d].push(new Fu({shape:{cx:n.cx,cy:n.cy,r0:c,r:r[p].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=r[p].coord}for(p=0;p<u.length;p++)t.add(Xc(u[p],{style:F({fill:l[p%l.length]},o.getAreaStyle()),silent:!0}))}}};function TR(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function CR(t,e){return e.dim+t.model.componentIndex}function DR(t,e,n){var a={},i=function(t){var e={};X(t,(function(t,n){var a=t.getData(),i=t.coordinateSystem,r=i.getBaseAxis(),o=CR(i,r),l=r.getExtent(),s="category"===r.type?r.getBandWidth():Math.abs(l[1]-l[0])/a.count(),u=e[o]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[o]=u;var p=TR(t);c[p]||u.autoWidthCount++,c[p]=c[p]||{width:0,maxWidth:0};var d=_i(t.get("barWidth"),s),h=_i(t.get("barMaxWidth"),s),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!c[p].width&&(d=Math.min(u.remainedWidth,d),c[p].width=d,u.remainedWidth-=d),h&&(c[p].maxWidth=h),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var n={};return X(e,(function(t,e){n[e]={};var a=t.stacks,i=t.bandWidth,r=_i(t.categoryGap,i),o=_i(t.gap,1),l=t.remainedWidth,s=t.autoWidthCount,u=(l-r)/(s+(s-1)*o);u=Math.max(u,0),X(a,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,s--)})),u=(l-r)/(s+(s-1)*o),u=Math.max(u,0);var c,p=0;X(a,(function(t,e){t.width||(t.width=u),c=t,p+=t.width*(1+o)})),c&&(p-=c.width*o);var d=-p/2;X(a,(function(t,a){n[e][a]=n[e][a]||{offset:d,width:t.width},d+=t.width*(1+o)}))})),n}(q(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,r=n.getBaseAxis(),o=CR(n,r),l=TR(t),s=i[o][l],u=s.offset,c=s.width,p=n.getOtherAxis(r),d=t.coordinateSystem.cx,h=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;a[l]=a[l]||[];for(var m=e.mapDimension(p.dim),y=e.mapDimension(r.dim),v=ox(e,m),b="radius"!==r.dim||!t.get("roundCap",!0),x=p.dataToCoord(0),_=0,w=e.count();_<w;_++){var k=e.get(m,_),S=e.get(y,_),M=k>=0?"p":"n",I=x;v&&(a[l][S]||(a[l][S]={p:x,n:x}),I=a[l][S][M]);var T=void 0,C=void 0,D=void 0,A=void 0;if("radius"===p.dim){var L=p.dataToCoord(k)-x,P=r.dataToCoord(S);Math.abs(L)<f&&(L=(L<0?-1:1)*f),T=I,C=I+L,A=(D=P-u)-c,v&&(a[l][S][M]=C)}else{var z=p.dataToCoord(k,b)-x,O=r.dataToCoord(S);Math.abs(z)<g&&(z=(z<0?-1:1)*g),C=(T=O+u)+c,D=I,A=I+z,v&&(a[l][S][M]=A)}e.setItemLayout(_,{cx:d,cy:h,r0:T,r:C,startAngle:-D*Math.PI/180,endAngle:-A*Math.PI/180,clockwise:D>=A})}}}))}var AR={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},LR={splitNumber:5},PR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="polar",e}(zg);function zR(t,e){e=e||{};var n=t.coordinateSystem,a=t.axis,i={},r=a.position,o=a.orient,l=n.getRect(),s=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};i.position=["vertical"===o?u.vertical[r]:s[0],"horizontal"===o?u.horizontal[r]:s[3]];i.rotation=Math.PI/2*{horizontal:0,vertical:1}[o];i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),ht(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),i.labelRotation="top"===r?-c:c,i.z2=1,i}var OR=["axisLine","axisTickLabel","axisName"],RR=["splitArea","splitLine"],NR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return u(e,t),e.prototype.render=function(e,n,a,i){var r=this.group;r.removeAll();var o=this._axisGroup;this._axisGroup=new pi;var l=zR(e),s=new MM(e,l);X(OR,s.add,s),r.add(this._axisGroup),r.add(s.getGroup()),X(RR,(function(t){e.get([t,"show"])&&ER[t](this,this.group,this._axisGroup,e)}),this),Qc(o,this._axisGroup,e),t.prototype.render.call(this,e,n,a,i)},e.prototype.remove=function(){GM(this)},e.type="singleAxis",e}(BM),ER={splitLine:function(t,e,n,a){var i=a.axis;if(!i.scale.isBlank()){var r=a.getModel("splitLine"),o=r.getModel("lineStyle"),l=o.get("color");l=l instanceof Array?l:[l];for(var s=a.coordinateSystem.getRect(),u=i.isHorizontal(),c=[],p=0,d=i.getTicksCoords({tickModel:r}),h=[],f=[],g=0;g<d.length;++g){var m=i.toGlobalCoord(d[g].coord);u?(h[0]=m,h[1]=s.y,f[0]=m,f[1]=s.y+s.height):(h[0]=s.x,h[1]=m,f[0]=s.x+s.width,f[1]=m);var y=p++%l.length;c[y]=c[y]||[],c[y].push(new ec({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},silent:!0}))}var v=o.getLineStyle(["color"]);for(g=0;g<c.length;++g)e.add(Xc(c[g],{style:F({stroke:l[g%l.length]},v),silent:!0}))}},splitArea:function(t,e,n,a){FM(t,n,a,a)}},BR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(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}(Xd);U(BR,g_.prototype);var VR=function(t){function e(e,n,a,i,r){var o=t.call(this,e,n,a)||this;return o.type=i||"value",o.position=r||"bottom",o}return u(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}(z_),FR=["single"],GR=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=FR,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var a=this.dimension,i=new VR(a,s_(t),[0,0],t.get("type"),t.get("position")),r="category"===i.type;i.onBand=r&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();X(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),l_(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=Vd({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(),a=n?[0,t.width]:[0,t.height],i=e.reverse?1:0;e.setExtent(a[i],a[1-i]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),a=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord=i?function(t){return t-e}:function(t){return a-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(),a=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),a[i]=e.toGlobalCoord(e.dataToCoord(+t)),a[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,a},t.prototype.convertToPixel=function(t,e,n){return HR(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return HR(e)===this?this.pointToData(n):null},t}();function HR(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var WR={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(a,i){var r=new GR(a,t,e);r.name="single_"+i,r.resize(a,e),a.coordinateSystem=r,n.push(r)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",ur).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:FR},UR=["x","y"],YR=["width","height"],XR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.makeElOption=function(t,e,n,a,i){var r=n.axis,o=r.coordinateSystem,l=qR(o,1-jR(r)),s=o.dataToPoint(e)[0],u=a.get("type");if(u&&"none"!==u){var c=TO(a),p=ZR[u](r,s,l);p.style=c,t.graphicKey=p.type,t.pointer=p}LO(e,t,zR(n),n,a,i)},e.prototype.getHandleTransform=function(t,e,n){var a=zR(e,{labelInside:!1});a.labelMargin=n.get(["handle","margin"]);var i=AO(e.axis,t,a);return{x:i[0],y:i[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,a){var i=n.axis,r=i.coordinateSystem,o=jR(i),l=qR(r,o),s=[t.x,t.y];s[o]+=e[o],s[o]=Math.min(l[1],s[o]),s[o]=Math.max(l[0],s[o]);var u=qR(r,1-o),c=(u[1]+u[0])/2,p=[c,c];return p[o]=s[o],{x:s[0],y:s[1],rotation:t.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}},e}(_O),ZR={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:PO([e,n[0]],[e,n[1]],jR(t))}},shadow:function(t,e,n){var a=t.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:zO([e-a/2,n[0]],[a,i],jR(t))}}};function jR(t){return t.isHorizontal()?0:1}function qR(t,e){var n=t.getRect();return[n[UR[e]],n[UR[e]]+n[YR[e]]]}var KR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="single",e}(zg);var $R=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(e,n,a){var i=Wd(e);t.prototype.init.apply(this,arguments),JR(e,i)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),JR(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Xd);function JR(t,e){var n,a=t.cellSize;1===(n=tt(a)?a:t.cellSize=[a,a]).length&&(n[1]=n[0]);var i=Z([0,1],(function(t){return function(t,e){return null!=t[Nd[e][0]]||null!=t[Nd[e][1]]&&null!=t[Nd[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));Hd(t,e,{type:"box",ignoreSize:i})}var QR={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},tN={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},eN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){var a=this.group;a.removeAll();var i=t.coordinateSystem,r=i.getRangeInfo(),o=i.getOrient();this._renderDayRect(t,r,a),this._renderLines(t,r,o,a),this._renderYearText(t,r,o,a),this._renderMonthText(t,o,a),this._renderWeekText(t,r,o,a)},e.prototype._renderDayRect=function(t,e,n){for(var a=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),r=a.getCellWidth(),o=a.getCellHeight(),l=e.start.time;l<=e.end.time;l=a.getNextNDay(l,1).time){var s=a.dataToRect([l],!1).tl,u=new Hl({shape:{x:s[0],y:s[1],width:r,height:o},cursor:"default",style:i});n.add(u)}},e.prototype._renderLines=function(t,e,n,a){var i=this,r=t.coordinateSystem,o=t.getModel(["splitLine","lineStyle"]).getLineStyle(),l=t.get(["splitLine","show"]),s=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=r.getDateInfo(e.start.y+"-"+e.start.m));var p=u.date;p.setMonth(p.getMonth()+1),u=r.getDateInfo(p)}function d(e){i._firstDayOfMonth.push(r.getDateInfo(e)),i._firstDayPoints.push(r.dataToRect([e],!1).tl);var s=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(s[0]),i._blpoints.push(s[s.length-1]),l&&i._drawSplitline(s,o,a)}d(r.getNextNDay(e.end.time,1).formatedDate),l&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,s,n),o,a),l&&this._drawSplitline(i._getEdgesPoints(i._blpoints,s,n),o,a)},e.prototype._getEdgesPoints=function(t,e,n){var a=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return a[0][i]=a[0][i]-e/2,a[1][i]=a[1][i]+e/2,a},e.prototype._drawSplitline=function(t,e,n){var a=new $u({z2:20,shape:{points:t},style:e});n.add(a)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var a=t.coordinateSystem,i=a.getDateInfo(e),r=[],o=0;o<7;o++){var l=a.getNextNDay(i.time,o),s=a.dataToRect([l.time],!1);r[2*l.day]=s.tl,r[2*l.day+1]=s["horizontal"===n?"bl":"tr"]}return r},e.prototype._formatterLabel=function(t,e){return"string"==typeof t&&t?(n=t,X(e,(function(t,e){n=n.replace("{"+e+"}",a?Id(t):t)})),n):"function"==typeof t?t(e):e.nameMap;var n,a},e.prototype._yearTextPositionControl=function(t,e,n,a,i){var r=e[0],o=e[1],l=["center","bottom"];"bottom"===a?(o+=i,l=["center","top"]):"left"===a?r-=i:"right"===a?(r+=i,l=["center","top"]):o-=i;var s=0;return"left"!==a&&"right"!==a||(s=Math.PI/2),{rotation:s,x:r,y:o,style:{align:l[0],verticalAlign:l[1]}}},e.prototype._renderYearText=function(t,e,n,a){var i=t.getModel("yearLabel");if(i.get("show")){var r=i.get("margin"),o=i.get("position");o||(o="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],s=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,c="horizontal"===n?0:1,p={top:[s,l[c][1]],bottom:[s,l[1-c][1]],left:[l[1-c][0],u],right:[l[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var h=i.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(h,f),m=new ts({z2:30,style:hp(i,{text:g})});m.attr(this._yearTextPositionControl(m,p[o],n,o,r)),a.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,a,i){var r="left",o="top",l=t[0],s=t[1];return"horizontal"===n?(s+=i,e&&(r="center"),"start"===a&&(o="bottom")):(l+=i,e&&(o="middle"),"start"===a&&(r="right")),{x:l,y:s,align:r,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n){var a=t.getModel("monthLabel");if(a.get("show")){var i=a.get("nameMap"),r=a.get("margin"),o=a.get("position"),l=a.get("align"),s=[this._tlpoints,this._blpoints];nt(i)&&(i=QR[i.toUpperCase()]||[]);var u="start"===o?0:1,c="horizontal"===e?0:1;r="start"===o?-r:r;for(var p="center"===l,d=0;d<s[u].length-1;d++){var h=s[u][d].slice(),f=this._firstDayOfMonth[d];if(p){var g=this._firstDayPoints[d];h[c]=(g[c]+s[0][d+1][c])/2}var m=a.get("formatter"),y=i[+f.m-1],v={yyyy:f.y,yy:(f.y+"").slice(2),MM:f.m,M:+f.m,nameMap:y},b=this._formatterLabel(m,v),x=new ts({z2:30,style:V(hp(a,{text:b}),this._monthTextPositionControl(h,p,e,o,r))});n.add(x)}}},e.prototype._weekTextPositionControl=function(t,e,n,a,i){var r="center",o="middle",l=t[0],s=t[1],u="start"===n;return"horizontal"===e?(l=l+a+(u?1:-1)*i[0]/2,r=u?"right":"left"):(s=s+a+(u?1:-1)*i[1]/2,o=u?"bottom":"top"),{x:l,y:s,align:r,verticalAlign:o}},e.prototype._renderWeekText=function(t,e,n,a){var i=t.getModel("dayLabel");if(i.get("show")){var r=t.coordinateSystem,o=i.get("position"),l=i.get("nameMap"),s=i.get("margin"),u=r.getFirstDayOfWeek();nt(l)&&(l=tN[l.toUpperCase()]||[]);var c=r.getNextNDay(e.end.time,7-e.lweek).time,p=[r.getCellWidth(),r.getCellHeight()];s=_i(s,Math.min(p[1],p[0])),"start"===o&&(c=r.getNextNDay(e.start.time,-(7+e.fweek)).time,s=-s);for(var d=0;d<7;d++){var h,f=r.getNextNDay(c,d),g=r.dataToRect([f.time],!1).center;h=Math.abs((d+u)%7);var m=new ts({z2:30,style:V(hp(i,{text:l[h]}),this._weekTextPositionControl(g,n,o,s,p))});a.add(m)}}},e.type="calendar",e}(zg),nN=864e5,aN=function(){function t(e,n,a){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=zi(t)).getFullYear(),n=t.getMonth()+1,a=n<10?"0"+n:""+n,i=t.getDate(),r=i<10?"0"+i:""+i,o=t.getDay();return{y:e+"",m:a,d:r,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+a+"-"+r,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,a=["width","height"],i=this._model.getCellSize().slice(),r=this._model.getBoxLayoutParams(),o="horizontal"===this._orient?[n,7]:[7,n];X([0,1],(function(t){u(i,t)&&(r[a[t]]=i[t]*o[t])}));var l={width:e.getWidth(),height:e.getHeight()},s=this._rect=Vd(r,l);function u(t,e){return null!=t[e]&&"auto"!==t[e]}X([0,1],(function(t){u(i,t)||(i[t]=s[a[t]]/o[t])})),this._sw=i[0],this._sh=i[1]},t.prototype.dataToPoint=function(t,e){tt(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),a=this._rangeInfo,i=n.formatedDate;if(e&&!(n.time>=a.start.time&&n.time<a.end.time+nN))return[NaN,NaN];var r=n.day,o=this._getRangeInfo([a.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]:[this._rect.x+o*this._sw+this._sw/2,this._rect.y+r*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,a=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,a):this._getDateByWeeksAndDay(e,n-1,a)},t.prototype.convertToPixel=function(t,e,n){var a=iN(e);return a===this?a.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var a=iN(e);return a===this?a.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(tt(e)&&1===e.length&&(e=e[0]),tt(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 a=this.getDateInfo(n),i=a.date;i.setMonth(i.getMonth()+1);var r=this.getNextNDay(i,-1);t=[a.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var o=this._getRangeInfo(t);return o.start.time>o.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 a=Math.floor(n[1].time/nN)-Math.floor(n[0].time/nN)+1,i=new Date(n[0].time),r=i.getDate(),o=n[1].date.getDate();i.setDate(r+a-1);var l=i.getDate();if(l!==o)for(var s=i.getTime()-n[1].time>0?1:-1;(l=i.getDate())!==o&&(i.getTime()-n[1].time)*s>0;)a-=s,i.setDate(l-s);var u=Math.floor((a+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var a=this._getRangeInfo(n);if(t>a.weeks||0===t&&e<a.fweek||t===a.weeks&&e>a.lweek)return null;var i=7*(t-1)-a.fweek+e,r=new Date(a.start.time);return r.setDate(+a.start.d+i),this.getDateInfo(r)},t.create=function(e,n){var a=[];return e.eachComponent("calendar",(function(i){var r=new t(i,e,n);a.push(r),i.coordinateSystem=r})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("calendarIndex")||0])})),a},t.dimensions=["time","value"],t}();function iN(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var rN=rr(),oN={path:null,compoundPath:null,group:pi,image:Ol,text:ts},lN=function(t){var e=t.graphic;tt(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])},sN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return u(e,t),e.prototype.mergeOption=function(e,n){var a=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=a},e.prototype.optionUpdated=function(t,e){var n=this.option,a=(e?n:t).elements,i=n.elements=e?[]:n.elements,r=[];this._flatten(a,r,null);var o=Ji(i,r,"normalMerge"),l=this._elOptionsToUpdate=[];X(o,(function(t,e){var n=t.newOption;n&&(l.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 a=e.parentOption;a?e.parentId=a.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var a=V({},n),i=t[e],r=n.$action||"merge";"merge"===r?i?(E(i,a,!0),Hd(i,a,{ignoreSize:!0}),Ud(n,i)):t[e]=a:"replace"===r?t[e]=a:"remove"===r&&i&&(t[e]=null)}(i,e,n),function(t,e){if(!t)return;if(t.hv=e.hv=[dN(e,["left","right"]),dN(e,["top","bottom"])],"group"===t.type){var n=t,a=e;null==n.width&&(n.width=a.width=0),null==n.height&&(n.height=a.height=0)}}(i[e],n))}),this);for(var s=i.length-1;s>=0;s--)null==i[s]?i.splice(s,1):delete i[s].$action},e.prototype._flatten=function(t,e,n){X(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var a=t.children;"group"===t.type&&a&&this._flatten(a,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}(Xd),uN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(){this._elMap=St()},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,a=this.group;X(e,(function(e){var i=er(e.id,null),r=null!=i?n.get(i):null,o=er(e.parentId,null),l=null!=o?n.get(o):a,s=e.type,u=e.style;"text"===s&&u&&e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=u.verticalAlign=u.align=null);var c=e.textContent,p=e.textConfig;if(u&&Tz(u,s,!!p,!!c)){var d=Cz(u,s,!0);!p&&d.textConfig&&(p=e.textConfig=d.textConfig),!c&&d.textContent&&(c=d.textContent)}var h=function(t){return t=V({},t),X(["id","parentId","$action","hv","bounding","textContent"].concat(Rd),(function(e){delete t[e]})),t}(e),f=e.$action||"merge";"merge"===f?r?r.attr(h):cN(i,l,h,n):"replace"===f?(pN(r,n),cN(i,l,h,n)):"remove"===f&&pN(r,n);var g=n.get(i);if(g&&c)if("merge"===f){var m=g.getTextContent();m?m.attr(c):g.setTextContent(new ts(c))}else"replace"===f&&g.setTextContent(new ts(c));if(g){var y=rN(g);y.__ecGraphicWidthOption=e.width,y.__ecGraphicHeightOption=e.height,function(t,e,n){var a=es(t).eventData;t.silent||t.ignore||a||(a=es(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});a&&(a.info=n.info)}(g,t,e),op({el:g,componentModel:t,itemName:g.name,itemTooltipOption:e.tooltip})}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,a=this.group,i=this._elMap,r=e.getWidth(),o=e.getHeight(),l=0;l<n.length;l++){if((h=null!=(d=er((p=n[l]).id,null))?i.get(d):null)&&h.isGroup){var s=(f=h.parent)===a,u=rN(h),c=rN(f);u.__ecGraphicWidth=_i(u.__ecGraphicWidthOption,s?r:c.__ecGraphicWidth)||0,u.__ecGraphicHeight=_i(u.__ecGraphicHeightOption,s?o:c.__ecGraphicHeight)||0}}for(l=n.length-1;l>=0;l--){var p,d,h;if(h=null!=(d=er((p=n[l]).id,null))?i.get(d):null){var f=h.parent;c=rN(f);Fd(h,p,f===a?{width:r,height:o}:{width:c.__ecGraphicWidth,height:c.__ecGraphicHeight},null,{hv:p.hv,boundingMode:p.bounding})}}},e.prototype._clear=function(){var t=this._elMap;t.each((function(e){pN(e,t)})),this._elMap=St()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(zg);function cN(t,e,n,a){var i=n.type,r=new(Tt(oN,i)?oN[i]:Hc(i))(n);e.add(r),a.set(t,r),rN(r).__ecGraphicId=t}function pN(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){pN(t,e)})),e.removeKey(rN(t).__ecGraphicId),n.remove(t))}function dN(t,e){var n;return X(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var hN=["x","y","radius","angle","single"],fN=["cartesian2d","polar","singleAxis"];function gN(t){return t+"Axis"}function mN(t,e){var n,a=St(),i=[],r=St();t.eachComponent({mainType:"dataZoom",query:e},(function(t){r.get(t.uid)||l(t)}));do{n=!1,t.eachComponent("dataZoom",o)}while(n);function o(t){!r.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var i=a.get(t);i&&i[n]&&(e=!0)})),e}(t)&&(l(t),n=!0)}function l(t){r.set(t.uid,!0),i.push(t),t.eachTargetAxis((function(t,e){(a.get(t)||a.set(t,[]))[e]=!0}))}return i}function yN(t){var e=t.ecModel,n={infoList:[],infoMap:St()};return t.eachTargetAxis((function(t,a){var i=e.getComponent(gN(t),a);if(i){var r=i.getCoordSysModel();if(r){var o=r.uid,l=n.infoMap.get(o);l||(l={model:r,axisModels:[]},n.infoList.push(l),n.infoMap.set(o,l)),l.axisModels.push(i)}}})),n}var vN=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}(),bN=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 u(e,t),e.prototype.init=function(t,e,n){var a=xN(t);this.settledOption=a,this.mergeDefaultAndTheme(t,n),this._doInit(a)},e.prototype.mergeOption=function(t){var e=xN(t);E(this.option,t,!0),E(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;X([["start","startValue"],["end","endValue"]],(function(t,a){"value"===this._rangePropMode[a]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=St();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 X(hN,(function(n){var a=this.getReferringComponents(gN(n),cr);if(a.specified){e=!0;var i=new vN;X(a.models,(function(t){i.add(t.componentIndex)})),t.set(n,i)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,a=!0;if(a){var i="vertical"===e?"y":"x";r(n.findComponents({mainType:i+"Axis"}),i)}a&&r(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function r(e,n){var i=e[0];if(i){var r=new vN;if(r.add(i.componentIndex),t.set(n,r),a=!1,"x"===n||"y"===n){var o=i.getReferringComponents("grid",ur).models[0];o&&X(e,(function(t){i.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",ur).models[0]&&r.add(t.componentIndex)}))}}}a&&X(hN,(function(e){if(a){var i=n.findComponents({mainType:gN(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var r=new vN;r.add(i[0].componentIndex),t.set(e,r),a=!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");X([["start","startValue"],["end","endValue"]],(function(a,i){var r=null!=t[a[0]],o=null!=t[a[1]];r&&!o?e[i]="percent":!r&&o?e[i]="value":n?e[i]=n[i]:r&&(e[i]="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(gN(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,a){X(n.indexList,(function(n){t.call(e,a,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(gN(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;X([["start","startValue"],["end","endValue"]],(function(a){null==t[a[0]]&&null==t[a[1]]||(e[a[0]]=n[a[0]]=t[a[0]],e[a[1]]=n[a[1]]=t[a[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;X(["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(),a=0;a<n.length;a++)for(var i=n[a],r=this._targetAxisInfoMap.get(i),o=0;o<r.indexList.length;o++){var l=this.getAxisProxy(i,r.indexList[o]);if(l.hostedBy(this))return l;e||(e=l)}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={zlevel:0,z:4,filterMode:"filter",start:0,end:100},e}(Xd);function xN(t){var e={};return X(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var _N=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="dataZoom.select",e}(bN),wN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n,a){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(zg),kN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="dataZoom.select",e}(wN),SN=X,MN=ki,IN=function(){function t(t,e,n,a){this._dimName=t,this._axisIndex=e,this.ecModel=a,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 H(fN,e)>=0}(e)){var n=gN(this._dimName),a=e.getReferringComponents(n,ur).models[0];a&&this._axisIndex===a.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return N(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,a=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),r=[0,100],o=[],l=[];SN(["start","end"],(function(s,u){var c=t[s],p=t[s+"Value"];"percent"===i[u]?(null==c&&(c=r[u]),p=a.parse(xi(c,r,n))):(e=!0,c=xi(p=null==p?n[u]:a.parse(p),n,r)),l[u]=p,o[u]=c})),MN(l),MN(o);var s=this._minMaxSpan;function u(t,e,n,i,r){var o=r?"Span":"ValueSpan";lA(0,t,n,"all",s["min"+o],s["max"+o]);for(var l=0;l<2;l++)e[l]=xi(t[l],n,i,!0),r&&(e[l]=a.parse(e[l]))}return e?u(l,o,n,r,!1):u(o,l,r,n,!0),{valueWindow:l,percentWindow:o}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var a=[1/0,-1/0];SN(n,(function(t){!function(t,e,n){e&&X(f_(e,n),(function(n){var a=e.getApproximateExtent(n);a[0]<t[0]&&(t[0]=a[0]),a[1]>t[1]&&(t[1]=a[1])}))}(a,t.getData(),e)}));var i=t.getAxisModel(),r=i_(i.axis.scale,i,a).calculate();return[r.min,r.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,a=this.getTargetSeriesModels(),i=t.get("filterMode"),r=this._valueWindow;"none"!==i&&SN(a,(function(t){var e=t.getData(),a=e.mapDimensionsAll(n);if(a.length){if("weakFilter"===i){var o=e.getStore(),l=Z(a,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,i,s=0;s<a.length;s++){var u=o.get(l[s],t),c=!isNaN(u),p=u<r[0],d=u>r[1];if(c&&!p&&!d)return!0;c&&(i=!0),p&&(e=!0),d&&(n=!0)}return i&&e&&n}))}else SN(a,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return function(t){return t>=r[0]&&t<=r[1]}(t)?t:NaN})));else{var a={};a[n]=r,e.selectRange(a)}}));SN(a,(function(t){e.setApproximateExtent(r,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;SN(["min","max"],(function(a){var i=e.get(a+"Span"),r=e.get(a+"ValueSpan");null!=r&&(r=this.getAxisModel().axis.scale.parse(r)),null!=r?i=xi(n[0]+r,n,[0,100],!0):null!=i&&(r=xi(i,[0,100],n,!0)-n[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=r}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var a=Ii(n,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(a)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(a)),i.freeze()}},t}();var TN={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(a,i){var r=t.getComponent(gN(a),i);e(a,i,r,n)}))}))}e((function(t,e,n,a){n.__dzAxisProxy=null}));var n=[];e((function(e,a,i,r){i.__dzAxisProxy||(i.__dzAxisProxy=new IN(e,a,r,t),n.push(i.__dzAxisProxy))}));var a=St();return X(n,(function(t){X(t.getTargetSeriesModels(),(function(t){a.set(t.uid,t)}))})),a},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,a){t.getAxisProxy(n,a).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),a=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:a[0],endValue:a[1]})}}))}};var CN=!1;function DN(t){CN||(CN=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,TN),function(t){t.registerAction("dataZoom",(function(t,e){X(mN(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 AN(t){t.registerComponentModel(_N),t.registerComponentView(kN),DN(t)}var LN=function(){},PN={};function zN(t,e){PN[t]=e}function ON(t){return PN[t]}var RN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;X(this.option.feature,(function(t,n){var a=ON(n);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(e)),E(t,a.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Xd);function NN(t,e){var n=kd(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),t=new Hl({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:a,silent:!0,z2:-1})}var EN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.render=function(t,e,n,a){var i=this.group;if(i.removeAll(),t.get("show")){var r=+t.get("itemSize"),o=t.get("feature")||{},l=this._features||(this._features={}),s=[];X(o,(function(t,e){s.push(e)})),new Db(this._featureNames||[],s).add(u).update(u).remove(Q(u,null)).execute(),this._featureNames=s,function(t,e,n){var a=e.getBoxLayoutParams(),i=e.get("padding"),r={width:n.getWidth(),height:n.getHeight()},o=Vd(a,r,i);Bd(e.get("orient"),t,e.get("itemGap"),o.width,o.height),Fd(t,a,r,i)}(i,t,n),i.add(NN(i.getBoundingRect(),t)),i.eachChild((function(t){var e=t.__title,a=t.ensureState("emphasis"),o=a.textConfig||(a.textConfig={}),l=t.getTextContent(),s=l&&l.states.emphasis;if(s&&!et(s)&&e){var u=s.style||(s.style={}),c=Za(e,ts.makeFont(u)),p=t.x+i.x,d=!1;t.y+i.y+r+c.height>n.getHeight()&&(o.position="top",d=!0);var h=d?-5-c.height:r+8;p+c.width/2>n.getWidth()?(o.position=["100%",h],u.align="right"):p-c.width/2<0&&(o.position=[0,h],u.align="left")}}))}function u(u,c){var p,d=s[u],h=s[c],f=o[d],g=new Op(f,t,t.ecModel);if(a&&null!=a.newTitle&&a.featureName===d&&(f.title=a.newTitle),d&&!h){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:g.option.onclick,featureName:d};else{var m=ON(d);if(!m)return;p=new m}l[d]=p}else if(!(p=l[h]))return;p.uid=Np("toolbox-feature"),p.model=g,p.ecModel=e,p.api=n;var y=p instanceof LN;d||!h?!g.get("show")||y&&p.unusable?y&&p.remove&&p.remove(e,n):(!function(a,o,l){var s,u,c=a.getModel("iconStyle"),p=a.getModel(["emphasis","iconStyle"]),d=o instanceof LN&&o.getIcons?o.getIcons():a.get("icon"),h=a.get("title")||{};"string"==typeof d?(s={})[l]=d:s=d;"string"==typeof h?(u={})[l]=h:u=h;var f=a.iconPaths={};X(s,(function(l,s){var d=np(l,{},{x:-r/2,y:-r/2,width:r,height:r});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var h=new ts({style:{text:u[s],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});d.setTextContent(h),op({el:d,componentModel:t,itemName:s,formatterParamsExtra:{title:u[s]}}),d.__title=u[s],d.on("mouseover",(function(){var e=p.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";h.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||n}),h.ignore=!t.get("showTitle"),Ls(this)})).on("mouseout",(function(){"emphasis"!==a.get(["iconStatus",s])&&Ps(this),h.hide()})),("emphasis"===a.get(["iconStatus",s])?Ls:Ps)(d),i.add(d),d.on("click",J(o.onclick,o,e,n,s)),f[s]=d}))}(g,p,d),g.setIconStatus=function(t,e){var n=this.option,a=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,a[t]&&("emphasis"===e?Ls:Ps)(a[t])},p instanceof LN&&p.render&&p.render(g,e,n,a)):y&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,a){X(this._features,(function(t){t instanceof LN&&t.updateView&&t.updateView(t.model,e,n,a)}))},e.prototype.remove=function(t,e){X(this._features,(function(n){n instanceof LN&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){X(this._features,(function(n){n instanceof LN&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(zg);var BN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.onclick=function(t,e){var n=this.model,a=n.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),r=i?"svg":n.get("type",!0)||"png",o=e.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||!b.browser.newEdge&&(b.browser.ie||b.browser.edge))if(window.navigator.msSaveOrOpenBlob||i){var l=o.split(","),s=l[0].indexOf("base64")>-1,u=i?decodeURIComponent(l[1]):l[1];s&&(u=window.atob(u));var c=a+"."+r;if(window.navigator.msSaveOrOpenBlob){for(var p=u.length,d=new Uint8Array(p);p--;)d[p]=u.charCodeAt(p);var h=new Blob([d]);window.navigator.msSaveOrOpenBlob(h,c)}else{var f=document.createElement("iframe");document.body.appendChild(f);var g=f.contentWindow,m=g.document;m.open("image/svg+xml","replace"),m.write(u),m.close(),g.focus(),m.execCommand("SaveAs",!0,c),document.body.removeChild(f)}}else{var y=n.get("lang"),v='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(y&&y[0]||"")+'" /></body>',x=window.open();x.document.write(v),x.document.title=a}else{var _=document.createElement("a");_.download=a+"."+r,_.target="_blank",_.href=o;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});_.dispatchEvent(w)}},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",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(LN);BN.prototype.unusable=!b.canvasSupported;var VN="__ec_magicType_stack__",FN=[["line","bar"],["stack"]],GN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return X(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 a=this.model,i=a.get(["seriesIndex",n]);if(HN[n]){var r,o={series:[]};X(FN,(function(t){H(t,n)>=0&&X(t,(function(t){a.setIconStatus(t,"normal")}))})),a.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},(function(t){var e=t.subType,i=t.id,r=HN[n](e,i,t,a);r&&(F(r,t.option),o.series.push(r));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var s=l.getAxesByScale("ordinal")[0];if(s){var u=s.dim+"Axis",c=t.getReferringComponents(u,ur).models[0].componentIndex;o[u]=o[u]||[];for(var p=0;p<=c;p++)o[u][c]=o[u][c]||{};o[u][c].boundaryGap="bar"===n}}}));var l=n;"stack"===n&&(r=E({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),"emphasis"!==a.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:o,newTitle:r,featureName:"magicType"})}},e}(LN),HN={line:function(t,e,n,a){if("bar"===t)return E({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(t,e,n,a){if("line"===t)return E({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(t,e,n,a){var i=n.get("stack")===VN;if("line"===t||"bar"===t)return a.setIconStatus("stack",i?"normal":"emphasis"),E({id:e,stack:i?"":VN},a.get(["option","stack"])||{},!0)}};gb({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var WN=new Array(60).join("-"),UN="\t";function YN(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var XN=new RegExp("[\t]+","g");function ZN(t,e){var n=t.split(new RegExp("\n*"+WN+"\n*","g")),a={series:[]};return X(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(UN)>=0)return!0}(t)){var i=function(t){for(var e=t.split(/\n+/g),n=[],a=Z(YN(e.shift()).split(XN),(function(t){return{name:t,data:[]}})),i=0;i<e.length;i++){var r=YN(e[i]).split(XN);n.push(r.shift());for(var o=0;o<r.length;o++)a[o]&&(a[o].data[i]=r[o])}return{series:a,categories:n}}(t),r=e[n],o=r.axisDim+"Axis";r&&(a[o]=a[o]||[],a[o][r.axisIndex]={data:i.categories},a.series=a.series.concat(i.series))}else{i=function(t){for(var e=t.split(/\n+/g),n=YN(e.shift()),a=[],i=0;i<e.length;i++){var r=YN(e[i]);if(r){var o=r.split(XN),l="",s=void 0,u=!1;isNaN(o[0])?(u=!0,l=o[0],o=o.slice(1),a[i]={name:l,value:[]},s=a[i].value):s=a[i]=[];for(var c=0;c<o.length;c++)s.push(+o[c]);1===s.length&&(u?a[i].value=s[0]:a[i]=s[0])}}return{name:n,data:a}}(t);a.series.push(i)}})),a}var jN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.onclick=function(t,e){var n=e.getDom(),a=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",i.style.backgroundColor=a.get("backgroundColor")||"#fff";var r=document.createElement("h4"),o=a.get("lang")||[];r.innerHTML=o[0]||a.get("title"),r.style.cssText="margin: 10px 20px;",r.style.color=a.get("textColor");var l=document.createElement("div"),s=document.createElement("textarea");l.style.cssText="display:block;width:100%;overflow:auto;";var u=a.get("optionToContent"),c=a.get("contentToOption"),p=function(t){var e,n,a,i=function(t){var e={},n=[],a=[];return t.eachRawSeries((function(t){var i=t.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(t);else{var r=i.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:i.getOtherAxis(r),series:[]},a.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:a}}(t);return{value:q([(n=i.seriesGroupByCategoryAxis,a=[],X(n,(function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,r=[" "].concat(Z(t.series,(function(t){return t.name}))),o=[n.model.getCategories()];X(t.series,(function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(i),(function(t){return t})))}));for(var l=[r.join(UN)],s=0;s<o[0].length;s++){for(var u=[],c=0;c<o.length;c++)u.push(o[c][s]);l.push(u.join(UN))}a.push(l.join("\n"))})),a.join("\n\n"+WN+"\n\n")),(e=i.other,Z(e,(function(t){var e=t.getRawData(),n=[t.name],a=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],r=e.getName(i),o=0;o<t-1;o++)a[o]=arguments[o];n.push((r?r+UN:"")+a.join(UN))})),n.join("\n")})).join("\n\n"+WN+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+WN+"\n\n"),meta:i.meta}}(t);if("function"==typeof u){var d=u(e.getOption());"string"==typeof d?l.innerHTML=d:st(d)&&l.appendChild(d)}else l.appendChild(s),s.readOnly=a.get("readOnly"),s.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",s.style.color=a.get("textColor"),s.style.borderColor=a.get("textareaBorderColor"),s.style.backgroundColor=a.get("textareaColor"),s.value=p.value;var h=p.meta,f=document.createElement("div");f.style.cssText="position:absolute;bottom:0;left:0;right:0;";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),y=document.createElement("div");g+=";background-color:"+a.get("buttonColor"),g+=";color:"+a.get("buttonTextColor");var v=this;function b(){n.removeChild(i),v._dom=null}me(m,"click",b),me(y,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)b();else{var t;try{t="function"==typeof c?c(l,e.getOption()):ZN(s.value,h)}catch(t){throw b(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),b()}})),m.innerHTML=o[1],y.innerHTML=o[2],y.style.cssText=g,m.style.cssText=g,!a.get("readOnly")&&f.appendChild(y),f.appendChild(m),i.appendChild(r),i.appendChild(l),i.appendChild(f),l.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},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}(LN);function qN(t,e){return Z(t,(function(t,n){var a=e&&e[n];if(rt(a)&&!tt(a)){rt(t)&&!tt(t)||(t={value:t});var i=null!=a.name&&null==t.name;return t=F(t,a),i&&delete t.name,t}return t}))}gb({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];X(t.newOption.series,(function(t){var a=e.getSeriesByName(t.name)[0];if(a){var i=a.get("data");n.push({name:t.name,data:qN(t.data,i)})}else n.push(V({type:"scatter"},t))})),e.mergeOption(F({series:n},t.newOption))}));var KN=X,$N=rr();function JN(t){var e=$N(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var QN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.onclick=function(t,e){!function(t){$N(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}(LN);gb({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var tE=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],eE=function(){function t(t,e,n){var a=this;this._targetInfoList=[];var i=aE(e,t);X(iE,(function(t,e){(!n||!n.include||H(n.include,e)>=0)&&t(i,a._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 a=lE[t.brushType](0,n,e);t.__rangeOffset={offset:uE[t.brushType](a.values,t.range,[1,1]),xyMinMax:a.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){X(t,(function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&X(a.coordSyses,(function(a){var i=lE[t.brushType](1,a,t.range,!0);n(t,i.values,a,e)}))}),this)},t.prototype.setInputRanges=function(t,e){X(t,(function(t){var n,a,i,r,o,l=this.findTargetInfo(t,e);if(t.range=t.range||[],l&&!0!==l){t.panelId=l.panelId;var s=lE[t.brushType](0,l.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?uE[t.brushType](s.values,u.offset,(n=s.xyMinMax,a=u.xyMinMax,i=pE(n),r=pE(a),o=[i[0]/r[0],i[1]/r[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):s.values}}),this)},t.prototype.makePanelOpts=function(t,e){return Z(this._targetInfoList,(function(n){var a=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:uL(a),isTargetByCursor:pL(a,t,n.coordSysModel),getLinearBrushOtherExtent:cL(a)}}))},t.prototype.controlSeries=function(t,e,n){var a=this.findTargetInfo(t,n);return!0===a||a&&H(a.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,a=aE(e,t),i=0;i<n.length;i++){var r=n[i],o=t.panelId;if(o){if(r.panelId===o)return r}else for(var l=0;l<rE.length;l++)if(rE[l](a,r))return r}return!0},t}();function nE(t){return t[0]>t[1]&&t.reverse(),t}function aE(t,e){return lr(t,e,{includeMainTypes:tE})}var iE={grid:function(t,e){var n=t.xAxisModels,a=t.yAxisModels,i=t.gridModels,r=St(),o={},l={};(n||a||i)&&(X(n,(function(t){var e=t.axis.grid.model;r.set(e.id,e),o[e.id]=!0})),X(a,(function(t){var e=t.axis.grid.model;r.set(e.id,e),l[e.id]=!0})),X(i,(function(t){r.set(t.id,t),o[t.id]=!0,l[t.id]=!0})),r.each((function(t){var i=t.coordinateSystem,r=[];X(i.getCartesians(),(function(t,e){(H(n,t.getAxis("x").model)>=0||H(a,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:oE.grid,xAxisDeclared:o[t.id],yAxisDeclared:l[t.id]})})))},geo:function(t,e){X(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:oE.geo})}))}},rE=[function(t,e){var n=t.xAxisModel,a=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&a&&(i=a.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],oE={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(qc(t)),e}},lE={lineX:Q(sE,0),lineY:Q(sE,1),rect:function(t,e,n,a){var i=t?e.pointToData([n[0][0],n[1][0]],a):e.dataToPoint([n[0][0],n[1][0]],a),r=t?e.pointToData([n[0][1],n[1][1]],a):e.dataToPoint([n[0][1],n[1][1]],a),o=[nE([i[0],r[0]]),nE([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n,a){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:Z(n,(function(n){var r=t?e.pointToData(n,a):e.dataToPoint(n,a);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r})),xyMinMax:i}}};function sE(t,e,n,a){var i=n.getAxis(["x","y"][t]),r=nE(Z([0,1],(function(t){return e?i.coordToData(i.toLocalCoord(a[t]),!0):i.toGlobalCoord(i.dataToCoord(a[t]))}))),o=[];return o[t]=r,o[1-t]=[NaN,NaN],{values:r,xyMinMax:o}}var uE={lineX:Q(cE,0),lineY:Q(cE,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,a){return[t[0]-n[0]*e[a][0],t[1]-n[1]*e[a][1]]}))}};function cE(t,e,n,a){return[e[0]-a[t]*n[0],e[1]-a[t]*n[1]]}function pE(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var dE,hE,fE=X,gE=Xi+"toolbox-dataZoom_",mE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.render=function(t,e,n,a){this._brushController||(this._brushController=new PA(n.getZr()),this._brushController.on("brush",J(this._onBrush,this)).mount()),function(t,e,n,a,i){var r=n._isZoomActive;a&&"takeGlobalCursor"===a.type&&(r="dataZoomSelect"===a.key&&a.dataZoomSelectActive);n._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var o=new eE(vE(t),e,{include:["grid"]}).makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(o).enableBrush(!(!r||!o.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,a,n),function(t,e){t.setIconStatus("back",function(t){return JN(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){yE[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={},a=this.ecModel;this._brushController.updateCovers([]),new eE(vE(this.model),a,{include:["grid"]}).matchOutputRanges(e,a,(function(t,e,n){if("cartesian2d"===n.type){var a=t.brushType;"rect"===a?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[a],n,e)}})),function(t,e){var n=JN(t);KN(e,(function(e,a){for(var i=n.length-1;i>=0&&!n[i][a];i--);if(i<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(r){var o=r.getPercentRange();n[0][a]={dataZoomId:a,start:o[0],end:o[1]}}}})),n.push(e)}(a,n),this._dispatchZoomAction(n)}function i(t,e,i){var r=e.getAxis(t),o=r.model,l=function(t,e,n){var a;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(a=n)})),a}(t,o,a),s=l.findRepresentativeAxisProxy(o).getMinMaxSpan();null==s.minValueSpan&&null==s.maxValueSpan||(i=lA(0,i.slice(),r.scale.getExtent(),0,s.minValueSpan,s.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];fE(t,(function(t,n){e.push(N(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}(LN),yE={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=JN(t),n=e[e.length-1];e.length>1&&e.pop();var a={};return KN(n,(function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){a[n]=t;break}})),a}(this.ecModel))}};function vE(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}dE="dataZoom",hE=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var a=e.getModel(n),i=[],r=lr(t,vE(a));return fE(r.xAxisModels,(function(t){return o(t,"xAxis","xAxisIndex")})),fE(r.yAxisModels,(function(t){return o(t,"yAxis","yAxisIndex")})),i}function o(t,e,n){var r=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:gE+e+r};o[n]=r,i.push(o)}},vt(null==fh.get(dE)&&hE),fh.set(dE,hE);var bE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={zlevel:0,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}(Xd);function xE(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function _E(t){if(b.domSupported)for(var e=document.documentElement.style,n=0,a=t.length;n<a;n++)if(t[n]in e)return t[n]}var wE=_E(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function kE(t,e){if(!t)return e;e=wd(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var SE=kE(_E(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),ME=kE(wE,"transform"),IE="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(b.transform3dSupported?"will-change:transform;":"");function TE(t,e,n){var a=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!b.transformSupported)return n?"top:"+i+";left:"+a+";":[["top",i],["left",a]];var r=b.transform3dSupported,o="translate"+(r?"3d":"")+"("+a+","+i+(r?",0":"")+")";return n?"top:0;left:0;"+ME+":"+o+";":[["top",0],["left",0],[wE,o]]}function CE(t,e,n){var a=[],i=t.get("transitionDuration"),r=t.get("backgroundColor"),o=t.get("shadowBlur"),l=t.get("shadowColor"),s=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),c=t.getModel("textStyle"),p=xg(t,"html"),d=s+"px "+u+"px "+o+"px "+l;return a.push("box-shadow:"+d),e&&i&&a.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",a=" "+t/2+"s "+n,i="opacity"+a+",visibility"+a;return e||(a=" "+t+"s "+n,i+=b.transformSupported?","+ME+a:",left"+a+",top"+a),SE+":"+i}(i,n)),r&&(b.canvasSupported?a.push("background-color:"+r):(a.push("background-color:#"+hn(r)),a.push("filter:alpha(opacity=70)"))),X(["width","color","radius"],(function(e){var n="border-"+e,i=wd(n),r=t.get(i);null!=r&&a.push(n+":"+r+("color"===e?"":"px"))})),a.push(function(t){var e=[],n=t.get("fontSize"),a=t.getTextColor();a&&e.push("color:"+a),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var i=t.get("textShadowColor"),r=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return i&&r&&e.push("text-shadow:"+o+"px "+l+"px "+r+"px "+i),X(["decoration","align"],(function(n){var a=t.get(n);a&&e.push("text-"+n+":"+a)})),e.join(";")}(c)),null!=p&&a.push("padding:"+kd(p).join("px ")+"px"),a.join(";")+";"}function DE(t,e,n,a,i){var r=e&&e.painter;if(n){var o=r&&r.getViewportRoot();o&&function(t,e,n,a,i){le(oe,e,a,i,!0)&&le(t,n,oe[0],oe[1])}(t,o,document.body,a,i)}else{t[0]=a,t[1]=i;var l=r&&r.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var AE=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,b.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var i=this._zr=e.getZr(),r=this._appendToBody=n&&n.appendToBody;DE(this._styleCoord,i,r,e.getWidth()/2,e.getHeight()/2),r?document.body.appendChild(a):t.appendChild(a),this._container=t;var o=this;a.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},a.onmousemove=function(t){if(t=t||window.event,!o._enterable){var e=i.handler;ge(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},a.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return t.prototype.update=function(t){var e,n,a,i=this._container,r=(n="position",(a=(e=i).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n?a[n]:a:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative"),t.get("alwaysShowContent")&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,a=n.style,i=this._styleCoord;n.innerHTML?a.cssText=IE+CE(t,!this._firstShow,this._longHide)+TE(i[0],i[1],!0)+"border-color:"+Pd(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,a,i){var r=this.el;if(null!=t){var o="";if(nt(i)&&"item"===n.get("trigger")&&!xE(n)&&(o=function(t,e,n){if(!nt(n)||"inside"===n)return"";var a=t.get("backgroundColor"),i=t.get("borderWidth");e=Pd(e);var r,o,l="left"===(r=n)?"right":"right"===r?"left":"top"===r?"bottom":"top",s=Math.max(1.5*Math.round(i),6),u="",c=ME+":";H(["left","right"],l)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===l?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===l?225:45)+"deg)");var p=o*Math.PI/180,d=s+i,h=d*Math.abs(Math.cos(p))+d*Math.abs(Math.sin(p)),f=e+" solid "+i+"px;";return'<div style="'+["position:absolute;width:"+s+"px;height:"+s+"px;",(u+=";"+l+":-"+Math.round(100*((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-d)/2))/100+"px")+";"+c+";","border-bottom:"+f,"border-right:"+f,"background-color:"+a+";"].join("")+'"></div>'}(n,a,i)),nt(t))r.innerHTML=t+o;else if(t){r.innerHTML="",tt(t)||(t=[t]);for(var l=0;l<t.length;l++)st(t[l])&&t[l].parentNode!==r&&r.appendChild(t[l]);if(o&&r.childNodes.length){var s=document.createElement("div");s.innerHTML=o,r.appendChild(s)}}}else r.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(DE(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var a=this.el.style;X(TE(n[0],n[1]),(function(t){a[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",b.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||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(J(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),LE=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),OE(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){t.get("alwaysShowContent")&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,a,i){rt(t)&&Ui(""),this.el&&this._zr.remove(this.el);var r=n.getModel("textStyle");this.el=new ts({style:{rich:e.richTextStyles,text:t,lineHeight:22,backgroundColor:n.get("backgroundColor"),borderRadius:n.get("borderRadius"),borderWidth:1,borderColor:a,shadowColor:n.get("shadowColor"),shadowBlur:n.get("shadowBlur"),shadowOffsetX:n.get("shadowOffsetX"),shadowOffsetY:n.get("shadowOffsetY"),textShadowColor:r.get("textShadowColor"),textShadowBlur:r.get("textShadowBlur")||0,textShadowOffsetX:r.get("textShadowOffsetX")||0,textShadowOffsetY:r.get("textShadowOffsetY")||0,fill:n.get(["textStyle","color"]),padding:xg(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),this._zr.add(this.el);var o=this;this.el.on("mouseover",(function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0})),this.el.on("mouseout",(function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=zE(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 a=this._styleCoord;OE(a,this._zr,t,e),t=a[0],e=a[1];var i=n.style,r=PE(i.borderWidth||0),o=zE(i);n.x=t+r+o.left,n.y=e+r+o.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||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(J(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function PE(t){return Math.max(0,t)}function zE(t){var e=PE(t.shadowBlur||0),n=PE(t.shadowOffsetX||0),a=PE(t.shadowOffsetY||0);return{left:PE(e-n),right:PE(e+n),top:PE(e-a),bottom:PE(e+a)}}function OE(t,e,n,a){t[0]=n,t[1]=a,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var RE=J,NE=X,EE=_i,BE=new Hl({shape:{x:-1,y:-1,width:2,height:2}}),VE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(t,e){if(!b.node){var n,a=t.getComponent("tooltip"),i=a.get("renderMode");this._renderMode="auto"===(n=i)?b.domSupported?"html":"richText":n||"html",this._tooltipContent="richText"===this._renderMode?new LE(e):new AE(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!b.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var a=this._tooltipContent;a.update(t),a.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),this._updatePosition="html"===this._renderMode?Xg(RE(this._doUpdatePosition,this),50):this._doUpdatePosition}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");HO("itemTooltip",this._api,RE((function(e,n,a){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,a):"leave"===e&&this._hide(a))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&a.manuallyShowTip(t,e,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,a){if(a.from!==this.uid&&!b.node){var i=GE(a,n);this._ticket="";var r=a.dataByCoordSys,o=function(t,e,n){var a=sr(t).queryOptionMap,i=a.keys()[0];if(!i||"series"===i)return;var r,o=pr(e,i,a.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!o)return;if(n.getViewOfComponentModel(o).group.traverse((function(e){var n=es(e).tooltipConfig;if(n&&n.name===t.name)return r=e,!0})),r)return{componentMainType:i,componentIndex:o.componentIndex,el:r}}(a,e,n);if(o){var l=o.el.getBoundingRect().clone();l.applyTransform(o.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:o.el,position:a.position,positionDefault:"bottom"},i)}else if(a.tooltip&&null!=a.x&&null!=a.y){var s=BE;s.x=a.x,s.y=a.y,s.update(),es(s).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:s},i)}else if(r)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:r,tooltipOption:a.tooltipOption},i);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,a))return;var u=ZO(a,e),c=u.point[0],p=u.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:u.el,position:a.position,positionDefault:"bottom"},i)}else null!=a.x&&null!=a.y&&(n.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:n.getZr().findHover(a.x,a.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,a){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(GE(a,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,a){var i=a.seriesIndex,r=a.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=r&&null!=o){var l=e.getSeriesByIndex(i);if(l)if("axis"===FE([l.getData().getItemModel(r),l,(l.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:r,position:a.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,t);else if(n){var i,r;this._lastDataByCoordSys=null,zm(n,(function(t){return null!=es(t).dataIndex?(i=t,!0):null!=es(t).tooltipConfig?(r=t,!0):void 0}),!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=J(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,a=this._tooltipModel,i=[e.offsetX,e.offsetY],r=FE([e.tooltipOption],a),o=this._renderMode,l=[],s=dg("section",{blocks:[],noHeader:!0}),u=[],c=new _g;NE(t,(function(t){NE(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),a=t.value;if(e&&null!=a){var i=DO(a,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),r=dg("section",{header:i,noHeader:!bt(i),sortBlocks:!0,blocks:[]});s.blocks.push(r),X(t.seriesDataIndices,(function(s){var p=n.getSeriesByIndex(s.seriesIndex),d=s.dataIndexInside,h=p.getDataParams(d);if(!(h.dataIndex<0)){h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=c_(e.axis,{value:a}),h.axisValueLabel=i,h.marker=c.makeTooltipMarker("item",Pd(h.color),o);var f=Df(p.formatTooltip(d,!0,null));f.markupFragment&&r.blocks.push(f.markupFragment),f.markupText&&u.push(f.markupText),l.push(h)}}))}}))})),s.blocks.reverse(),u.reverse();var p=e.position,d=r.get("order"),h=gg(s,c,o,d,n.get("useUTC"),r.get("textStyle"));h&&u.unshift(h);var f="richText"===o?"\n\n":"<br/>",g=u.join(f);this._showOrMove(r,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(r,p,i[0],i[1],this._tooltipContent,l):this._showTooltipContent(r,g,l,Math.random()+"",i[0],i[1],p,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var a=this._ecModel,i=es(e),r=i.seriesIndex,o=a.getSeriesByIndex(r),l=i.dataModel||o,s=i.dataIndex,u=i.dataType,c=l.getData(u),p=this._renderMode,d=t.positionDefault,h=FE([c.getItemModel(s),l,o&&(o.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=h.get("trigger");if(null==f||"item"===f){var g=l.getDataParams(s,u),m=new _g;g.marker=m.makeTooltipMarker("item",Pd(g.color),p);var y=Df(l.formatTooltip(s,!1,u)),v=h.get("order"),b=y.markupFragment?gg(y.markupFragment,m,p,v,a.get("useUTC"),h.get("textStyle")):y.markupText,x="item_"+l.name+"_"+s;this._showOrMove(h,(function(){this._showTooltipContent(h,b,g,x,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:s,dataIndex:c.getRawIndex(s),seriesIndex:r,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var a=es(e),i=a.tooltipConfig.option||{};if(nt(i)){i={content:i,formatter:i}}var r=[i],o=this._ecModel.getComponent(a.componentMainType,a.componentIndex);o&&r.push(o),r.push({formatter:i.content});var l=t.positionDefault,s=FE(r,this._tooltipModel,l?{position:l}:null),u=s.get("content"),c=Math.random()+"",p=new _g;this._showOrMove(s,(function(){var n=N(s.get("formatterParams")||{});this._showTooltipContent(s,u,n,c,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,a,i,r,o,l,s){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var p=e,d=this._getNearestPoint([i,r],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(nt(c)){var h=t.ecModel.get("useUTC"),f=tt(n)?n[0]:n;p=c,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(p=id(f.axisValue,p,h)),p=Ad(p,n,!0)}else if(et(c)){var g=RE((function(e,a){e===this._ticket&&(u.setContent(a,s,t,d,o),this._updatePosition(t,o,i,r,u,n,l))}),this);this._ticket=a,p=c(n,a,g)}else p=c;u.setContent(p,s,t,d,o),u.show(t,d),this._updatePosition(t,o,i,r,u,n,l)}},e.prototype._getNearestPoint=function(t,e,n,a){return"axis"===n||tt(e)?{color:a||("html"===this._renderMode?"#fff":"none")}:tt(e)?void 0:{color:a||e.color||e.borderColor}},e.prototype._doUpdatePosition=function(t,e,n,a,i,r,o){var l=this._api.getWidth(),s=this._api.getHeight();e=e||t.get("position");var u=i.getSize(),c=t.get("align"),p=t.get("verticalAlign"),d=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),et(e)&&(e=e([n,a],r,i.el,d,{viewSize:[l,s],contentSize:u.slice()})),tt(e))n=EE(e[0],l),a=EE(e[1],s);else if(rt(e)){var h=e;h.width=u[0],h.height=u[1];var f=Vd(h,{width:l,height:s});n=f.x,a=f.y,c=null,p=null}else if(nt(e)&&o){var g=function(t,e,n,a){var i=n[0],r=n[1],o=Math.ceil(Math.SQRT2*a)+8,l=0,s=0,u=e.width,c=e.height;switch(t){case"inside":l=e.x+u/2-i/2,s=e.y+c/2-r/2;break;case"top":l=e.x+u/2-i/2,s=e.y-r-o;break;case"bottom":l=e.x+u/2-i/2,s=e.y+c+o;break;case"left":l=e.x-i-o,s=e.y+c/2-r/2;break;case"right":l=e.x+u+o,s=e.y+c/2-r/2}return[l,s]}(e,d,u,t.get("borderWidth"));n=g[0],a=g[1]}else{g=function(t,e,n,a,i,r,o){var l=n.getSize(),s=l[0],u=l[1];null!=r&&(t+s+r+2>a?t-=s+r:t+=r);null!=o&&(e+u+o>i?e-=u+o:e+=o);return[t,e]}(n,a,i,l,s,c?null:20,p?null:20);n=g[0],a=g[1]}if(c&&(n-=HE(c)?u[0]/2:"right"===c?u[0]:0),p&&(a-=HE(p)?u[1]/2:"bottom"===p?u[1]:0),xE(t)){g=function(t,e,n,a,i){var r=n.getSize(),o=r[0],l=r[1];return t=Math.min(t+o,a)-o,e=Math.min(e+l,i)-l,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,a,i,l,s);n=g[0],a=g[1]}i.moveTo(n,a)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,a=this._cbParamsList,i=!!n&&n.length===t.length;return i&&NE(n,(function(n,r){var o=n.dataByAxis||[],l=(t[r]||{}).dataByAxis||[];(i=i&&o.length===l.length)&&NE(o,(function(t,n){var r=l[n]||{},o=t.seriesDataIndices||[],s=r.seriesDataIndices||[];(i=i&&t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&o.length===s.length)&&NE(o,(function(t,e){var n=s[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),a&&X(t.seriesDataIndices,(function(t){var n=t.seriesIndex,r=e[n],o=a[n];r&&o&&o.data!==r.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){b.node||(this._tooltipContent.dispose(),YO("itemTooltip",e))},e.type="tooltip",e}(zg);function FE(t,e,n){var a,i=e.ecModel;n?(a=new Op(n,i,i),a=new Op(e.option,a,i)):a=e;for(var r=t.length-1;r>=0;r--){var o=t[r];o&&(o instanceof Op&&(o=o.get("tooltip",!0)),nt(o)&&(o={formatter:o}),o&&(a=new Op(o,a,i)))}return a}function GE(t,e){return t.dispatchAction||J(e.dispatchAction,e)}function HE(t){return"center"===t||"middle"===t}var WE=["rect","polygon","keep","clear"];function UE(t,e){var n=Zi(t?t.brush:[]);if(n.length){var a=[];X(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))}));var i=t&&t.toolbox;tt(i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var r=i.feature||(i.feature={}),o=r.brush||(r.brush={}),l=o.type||(o.type=[]);l.push.apply(l,a),function(t){var e={};X(t,(function(t){e[t]=1})),t.length=0,X(e,(function(e,n){t.push(n)}))}(l),e&&!l.length&&l.push.apply(l,WE)}}var YE=X;function XE(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function ZE(t,e,n){var a={};return YE(e,(function(e){var i,r=a[e]=((i=function(){}).prototype.__hidden=i.prototype,new i);YE(t[e],(function(t,a){if(eC.isValidType(a)){var i={type:a,visual:t};n&&n(i,e),r[a]=new eC(i),"opacity"===a&&((i=N(i)).type="colorAlpha",r.__hidden.__alphaForOpacity=new eC(i))}}))})),a}function jE(t,e,n){var a;X(n,(function(t){e.hasOwnProperty(t)&&XE(e[t])&&(a=!0)})),a&&X(n,(function(n){e.hasOwnProperty(n)&&XE(e[n])?t[n]=N(e[n]):delete t[n]}))}var qE={lineX:KE(0),lineY:KE(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])&&Uy(n.range,t[0],t[1])},rect:function(t,e,n){var a=n.range;if(!t||a.length<=1)return!1;var i=t.x,r=t.y,o=t.width,l=t.height,s=a[0];return!!(Uy(a,i,r)||Uy(a,i+o,r)||Uy(a,i,r+l)||Uy(a,i+o,r+l)||Ga.create(t).contain(s[0],s[1])||ap(i,r,i+o,r,a)||ap(i,r,i,r+l,a)||ap(i+o,r,i+o,r+l,a)||ap(i,r+l,i+o,r+l,a))||void 0}}};function KE(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,a){if(e){var i=a.range;return $E(e[t],i)}},rect:function(a,i,r){if(a){var o=r.range,l=[a[e[t]],a[e[t]]+a[n[t]]];return l[1]<l[0]&&l.reverse(),$E(l[0],o)||$E(l[1],o)||$E(o[0],l)||$E(o[1],l)}}}}function $E(t,e){return e[0]<=t&&t<=e[1]}var JE=["inBrush","outOfBrush"],QE="__ecBrushSelect",tB="__ecInBrushSelectEvent";function eB(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new eE(e.option,t)).setInputRanges(e.areas,t)}))}function nB(t,e,n){var a,i,r=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),eB(t),t.eachComponent({mainType:"brush"},(function(e,n){var o={brushId:e.id,brushIndex:n,brushName:e.name,areas:N(e.areas),selected:[]};r.push(o);var l=e.option,s=l.brushLink,u=[],c=[],p=[],d=!1;n||(a=l.throttleType,i=l.throttleDelay);var h=Z(e.areas,(function(t){var e=rB[t.brushType],n=F({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(a){return qE[e].point(a,n,t)},rect:function(a){return qE[e].rect(a,n,t)}};return n}(n),n})),f=ZE(e.option,JE,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===s||!!u[t]}function m(t){return!!t.length}tt(s)&&X(s,(function(t){u[t]=1})),t.eachSeries((function(n,a){var i=p[a]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;d=d||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}(n,a):function(n,a,i){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(tt(n)?H(n,e)<0:e!==n)}(e,a))return;if(X(h,(function(a){e.brushTargetManager.controlSeries(a,n,t)&&i.push(a),d=d||m(i)})),g(a)&&m(i)){var r=n.getData();r.each((function(t){iB(n,i,r,t)&&(c[t]=1)}))}}(n,a,i)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};o.selected.push(n);var a=p[e],i=t.getData(),r=g(e)?function(t){return c[t]?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return iB(t,a,i,e)?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?d:m(a))&&function(t,e,n,a,i,r){var o,l={};function s(t){return Cm(n,o,t)}function u(t,e){Am(n,o,t,e)}function c(t,c){o=null==r?t:c;var p=n.getRawDataItem(o);if(!p||!1!==p.visualMap)for(var d=a.call(i,t),h=e[d],f=l[d],g=0,m=f.length;g<m;g++){var y=f[g];h[y]&&h[y].applyVisual(t,s,u)}}X(t,(function(t){var n=eC.prepareVisualTypes(e[t]);l[t]=n})),null==r?n.each(c):n.each([r],c)}(JE,f,i,r)}))})),function(t,e,n,a,i){if(!i)return;var r=t.getZr();if(r[tB])return;r.__ecBrushSelect||(r.__ecBrushSelect=aB);Zg(r,QE,n,e)(t,a)}(e,a,i,r,n)}function aB(t,e){if(!t.isDisposed()){var n=t.getZr();n[tB]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[tB]=!1}}function iB(t,e,n,a){for(var i=0,r=e.length;i<r;i++){var o=e[i];if(t.brushSelector(a,n,o.selectors,o))return!0}}var rB={rect:function(t){return oB(t.range)},polygon:function(t){for(var e,n=t.range,a=0,i=n.length;a<i;a++){e=e||[[1/0,-1/0],[1/0,-1/0]];var r=n[a];r[0]<e[0][0]&&(e[0][0]=r[0]),r[0]>e[0][1]&&(e[0][1]=r[0]),r[1]<e[1][0]&&(e[1][0]=r[1]),r[1]>e[1][1]&&(e[1][1]=r[1])}return e&&oB(e)}};function oB(t){return new Ga(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var lB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new PA(e.getZr())).on("brush",J(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,a){this.model=t,this._updateController(t,e,n,a)},e.prototype.updateTransform=function(t,e,n,a){eB(e),this._updateController(t,e,n,a)},e.prototype.updateVisual=function(t,e,n,a){this.updateTransform(t,e,n,a)},e.prototype.updateView=function(t,e,n,a){this._updateController(t,e,n,a)},e.prototype._updateController=function(t,e,n,a){(!a||a.$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:N(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:N(n),$from:e})},e.type="brush",e}(zg),sB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return u(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&jE(n,t,["inBrush","outOfBrush"]);var a=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},a.hasOwnProperty("liftZ")||(a.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=Z(t,(function(t){return uB(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=uB(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}(Xd);function uB(t,e){return E({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Op(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var cB=["rect","polygon","lineX","lineY","keep","clear"],pB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return u(e,t),e.prototype.render=function(t,e,n){var a,i,r;e.eachComponent({mainType:"brush"},(function(t){a=t.brushType,i=t.brushOption.brushMode||"single",r=r||!!t.areas.length})),this._brushType=a,this._brushMode=i,X(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===i:"clear"===e?r:e===a)?"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 X(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var a=this._brushType,i=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?a:a!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},e.getDefaultOption=function(t){return{show:!0,type:cB.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}(LN);var dB=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 u(e,t),e.type="title",e.defaultOption={zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Xd),hB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var a=this.group,i=t.getModel("textStyle"),r=t.getModel("subtextStyle"),o=t.get("textAlign"),l=ft(t.get("textBaseline"),t.get("textVerticalAlign")),s=new ts({style:hp(i,{text:t.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),c=t.get("subtext"),p=new ts({style:hp(r,{text:c,fill:r.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),h=t.get("sublink"),f=t.get("triggerEvent",!0);s.silent=!d&&!f,p.silent=!h&&!f,d&&s.on("click",(function(){zd(d,"_"+t.get("target"))})),h&&p.on("click",(function(){zd(h,"_"+t.get("subtarget"))})),es(s).eventData=es(p).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(s),c&&a.add(p);var g=a.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var y=Vd(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));o||("middle"===(o=t.get("left")||t.get("right"))&&(o="center"),"right"===o?y.x+=y.width:"center"===o&&(y.x+=y.width/2)),l||("center"===(l=t.get("top")||t.get("bottom"))&&(l="middle"),"bottom"===l?y.y+=y.height:"middle"===l&&(y.y+=y.height/2),l=l||"top"),a.x=y.x,a.y=y.y,a.markRedraw();var v={align:o,verticalAlign:l};s.setStyle(v),p.setStyle(v),g=a.getBoundingRect();var b=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var _=new Hl({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});a.add(_)}},e.type="title",e}(zg);var fB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return u(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||[],a=e.axisType,i=this._names=[];"category"===a?(t=[],X(n,(function(e,n){var a,r=er(Ki(e),"");rt(e)?(a=N(e)).value=n:a=n,t.push(a),i.push(r)}))):t=n;var r={category:"ordinal",time:"time",value:"number"}[a]||"number";(this._data=new Qb([{name:"value",type:r}],this)).initData(t,i)},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={zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Xd),gB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="timeline.slider",e.defaultOption=Ep(fB.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}(fB);U(gB,Cf.prototype);var mB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="timeline",e}(zg),yB=function(t){function e(e,n,a,i){var r=t.call(this,e,n,a)||this;return r.type=i||"value",r}return u(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(z_),vB=Math.PI,bB=rr(),xB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(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 a=this._layout(t,n),i=this._createGroup("_mainGroup"),r=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return dg("nameValue",{noName:!0,value:o.scale.getLabel({value:t})})},X(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](a,i,o,t)}),this),this._renderAxisLabel(a,r,o,t),this._position(a,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,a,i,r,o=t.get(["label","position"]),l=t.get("orient"),s=function(t,e){return Vd(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==o||"auto"===o?"horizontal"===l?s.y+s.height/2<e.getHeight()/2?"-":"+":s.x+s.width/2<e.getWidth()/2?"+":"-":nt(o)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[l][o]:o)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},p={horizontal:0,vertical:vB/2},d="vertical"===l?s.height:s.width,h=t.getModel("controlStyle"),f=h.get("show",!0),g=f?h.get("itemSize"):0,m=f?h.get("itemGap"):0,y=g+m,v=t.get(["label","rotate"])||0;v=v*vB/180;var b=h.get("position",!0),x=f&&h.get("showPlayBtn",!0),_=f&&h.get("showPrevBtn",!0),w=f&&h.get("showNextBtn",!0),k=0,S=d;"left"===b||"bottom"===b?(x&&(a=[0,0],k+=y),_&&(i=[k,0],k+=y),w&&(r=[S-g,0],S-=y)):(x&&(a=[S-g,0],S-=y),_&&(i=[0,0],k+=y),w&&(r=[S-g,0],S-=y));var M=[k,S];return t.get("inverse")&&M.reverse(),{viewRect:s,mainLength:d,orient:l,rotation:p[l],labelRotation:v,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[l],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[l],playPosition:a,prevBtnPosition:i,nextBtnPosition:r,axisExtent:M,controlSize:g,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,a=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var r=[1,0,0,1,0,0],o=i.x,l=i.y+i.height;da(r,r,[-o,-l]),ha(r,r,-vB/2),da(r,r,[o,l]),(i=i.clone()).applyTransform(r)}var s=m(i),u=m(n.getBoundingRect()),c=m(a.getBoundingRect()),p=[n.x,n.y],d=[a.x,a.y];d[0]=p[0]=s[0][0];var h,f=t.labelPosOpt;null==f||nt(f)?(y(p,u,s,1,h="+"===f?0:1),y(d,c,s,1,1-h)):(y(p,u,s,1,h=f>=0?0:1),d[1]=p[1]+f);function g(t){t.originX=s[0][0]-t.x,t.originY=s[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function y(t,e,n,a,i){t[a]+=n[a][i]-e[a][i]}n.setPosition(p),a.setPosition(d),n.rotation=a.rotation=t.rotation,g(n),g(a)},e.prototype._createAxis=function(t,e){var n=e.getData(),a=e.get("axisType"),i=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new xx({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new Ex({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new kx}}(e,a);i.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var r=n.getDataExtent("value");i.setExtent(r[0],r[1]),i.niceTicks();var o=new yB("value",i,t.axisExtent,a);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new pi;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,a){var i=n.getExtent();if(a.get(["lineStyle","show"])){var r=new ec({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:V({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(r);var o=this._progressLine=new ec({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:F({lineCap:"round",lineWidth:r.style.lineWidth},a.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(o)}},e.prototype._renderAxisTick=function(t,e,n,a){var i=this,r=a.getData(),o=n.scale.getTicks();this._tickSymbols=[],X(o,(function(t){var o=n.dataToCoord(t.value),l=r.getItemModel(t.value),s=l.getModel("itemStyle"),u=l.getModel(["emphasis","itemStyle"]),c=l.getModel(["progress","itemStyle"]),p={x:o,y:0,onclick:J(i._changeTimeline,i,t.value)},d=_B(l,s,e,p);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=c.getItemStyle(),Us(d);var h=es(d);l.get("tooltip")?(h.dataIndex=t.value,h.dataModel=a):h.dataIndex=h.dataModel=null,i._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,a){var i=this;if(n.getLabelModel().get("show")){var r=a.getData(),o=n.getViewLabels();this._tickLabels=[],X(o,(function(a){var o=a.tickValue,l=r.getItemModel(o),s=l.getModel("label"),u=l.getModel(["emphasis","label"]),c=l.getModel(["progress","label"]),p=n.dataToCoord(a.tickValue),d=new ts({x:p,y:0,rotation:t.labelRotation-t.rotation,onclick:J(i._changeTimeline,i,o),silent:!1,style:hp(s,{text:a.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=hp(u),d.ensureState("progress").style=hp(c),e.add(d),Us(d),bB(d).dataIndex=o,i._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,a){var i=t.controlSize,r=t.rotation,o=a.getModel("controlStyle").getItemStyle(),l=a.getModel(["emphasis","controlStyle"]).getItemStyle(),s=a.getPlayState(),u=a.get("inverse",!0);function c(t,n,s,u){if(t){var c=$a(ft(a.get(["controlStyle",n+"BtnSize"]),i),i),p=function(t,e,n,a){var i=a.style,r=np(t.get(["controlStyle",e]),a||{},new Ga(n[0],n[1],n[2],n[3]));i&&r.setStyle(i);return r}(a,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:i/2,originY:0,rotation:u?-r:0,rectHover:!0,style:o,onclick:s});p.ensureState("emphasis").style=l,e.add(p),Us(p)}}c(t.nextBtnPosition,"next",J(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",J(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,s?"stop":"play",J(this._handlePlayClick,this,!s),!0)},e.prototype._renderCurrentPointer=function(t,e,n,a){var i=a.getData(),r=a.getCurrentIndex(),o=i.getItemModel(r).getModel("checkpointStyle"),l=this,s={onCreate:function(t){t.draggable=!0,t.drift=J(l._handlePointerDrag,l),t.ondragend=J(l._handlePointerDragend,l),wB(t,l._progressLine,r,n,a,!0)},onUpdate:function(t){wB(t,l._progressLine,r,n,a)}};this._currentPointer=_B(o,o,this._mainGroup,{},this._currentPointer,s)},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],a=ki(this._axis.getExtent().slice());n>a[1]&&(n=a[1]),n<a[0]&&(n=a[0]),this._currentPointer.x=n,this._currentPointer.markRedraw(),this._progressLine.shape.x2=n,this._progressLine.dirty();var i=this._findNearestTick(n),r=this.model;(e||i!==r.getCurrentIndex()&&r.get("realtime"))&&this._changeTimeline(i)},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 Kc(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),a=1/0,i=this._axis;return n.each(["value"],(function(n,r){var o=i.dataToCoord(n),l=Math.abs(o-t);l<a&&(a=l,e=r)})),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 a=0;a<e.length;a++)e&&e[a]&&e[a].toggleState("progress",a<t);if(n)for(a=0;a<n.length;a++)n&&n[a]&&n[a].toggleState("progress",bB(n[a]).dataIndex<=t)},e.type="timeline.slider",e}(mB);function _B(t,e,n,a,i,r){var o=e.get("color");i?(i.setColor(o),n.add(i),r&&r.onUpdate(i)):((i=Xm(t.get("symbol"),-1,-1,2,2,o)).setStyle("strokeNoScale",!0),n.add(i),r&&r.onCreate(i));var l=e.getItemStyle(["color"]);i.setStyle(l),a=E({rectHover:!0,z2:100},a,!0);var s=Zm(t.get("symbolSize"));a.scaleX=s[0]/2,a.scaleY=s[1]/2;var u=jm(t.get("symbolOffset"),s);u&&(a.x=(a.x||0)+u[0],a.y=(a.y||0)+u[1]);var c=t.get("symbolRotate");return a.rotation=(c||0)*Math.PI/180||0,i.attr(a),i.updateTransform(),i}function wB(t,e,n,a,i,r){if(!t.dragging){var o=i.getModel("checkpointStyle"),l=a.dataToCoord(i.getData().get("value",n));if(r||!o.get("animation",!0))t.attr({x:l,y:0}),e&&e.attr({shape:{x2:l}});else{var s={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:l,y:0},s),e&&e.animateTo({shape:{x2:l}},s)}}}function kB(t){var e=t&&t.timeline;tt(e)||(e=e?[e]:[]),X(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(SB(t),MB(t,"controlPosition")){var a=t.controlStyle||(t.controlStyle={});MB(a,"position")||(a.position=t.controlPosition),"none"!==a.position||MB(a,"show")||(a.show=!1,delete a.position),delete t.controlPosition}X(t.data||[],(function(t){rt(t)&&!tt(t)&&(!MB(t,"value")&&MB(t,"name")&&(t.value=t.name),SB(t))}))}(t)}))}function SB(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},i=a.normal||(a.normal={}),r={normal:1,emphasis:1};X(a,(function(t,e){r[e]||MB(i,e)||(i[e]=t)})),n.label&&!MB(a,"emphasis")&&(a.emphasis=n.label,delete n.label)}function MB(t,e){return t.hasOwnProperty(e)}function IB(t,e){if(!t)return!1;for(var n=tt(t)?t:[t],a=0;a<n.length;a++)if(n[a]&&n[a][e])return!0;return!1}function TB(t){ji(t,"label",["show"])}var CB=rr(),DB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return u(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(b.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,a){var i=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),r=CB(t)[i];n&&n.data?(r?r._mergeOption(n,e,!0):(a&&TB(n),X(n.data,(function(t){t instanceof Array?(TB(t[0]),TB(t[1])):TB(t)})),V(r=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),r.__hostSeries=t),CB(t)[i]=r):CB(t)[i]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),i=this.getRawValue(t),r=a.getName(t);return dg("section",{header:this.name,blocks:[dg("nameValue",{name:r,value:i,noName:!r,noValue:null==i})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return CB(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Xd);U(DB,Cf.prototype);var AB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markPoint",e.defaultOption={zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(DB);function LB(t,e,n,a,i,r){var o=[],l=ox(e,a)?e.getCalculationInfo("stackResultDimension"):a,s=EB(e,l,t),u=e.indicesOfNearest(l,s)[0];o[i]=e.get(n,u),o[r]=e.get(l,u);var c=e.get(a,u),p=Si(e.get(a,u));return(p=Math.min(p,20))>=0&&(o[r]=+o[r].toFixed(p)),[o,c]}var PB={min:Q(LB,"min"),max:Q(LB,"max"),average:Q(LB,"average"),median:Q(LB,"median")};function zB(t,e){var n=t.getData(),a=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!tt(e.coord)&&a){var i=a.dimensions,r=OB(e,n,a,t);if((e=N(e)).type&&PB[e.type]&&r.baseAxis&&r.valueAxis){var o=H(i,r.baseAxis.dim),l=H(i,r.valueAxis.dim),s=PB[e.type](n,r.baseDataDim,r.valueDataDim,o,l);e.coord=s[0],e.value=s[1]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],c=0;c<2;c++)PB[u[c]]&&(u[c]=EB(n,n.mapDimension(i[c]),u[c]));e.coord=u}}return e}function OB(t,e,n,a){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(a,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=a.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function RB(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function NB(t,e){return t?function(t,n,a,i){return zf(i<2?t.coord&&t.coord[i]:t.value,e[i])}:function(t,n,a,i){return zf(t.value,e[i])}}function EB(t,e,n){if("average"===n){var a=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(a+=t,i++)})),a/i}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var BB=rr(),VB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.init=function(){this.markerGroupMap=St()},e.prototype.render=function(t,e,n){var a=this,i=this.markerGroupMap;i.each((function(t){BB(t).keep=!1})),e.eachSeries((function(t){var i=DB.getMarkerModelFromSeries(t,a.type);i&&a.renderSeries(t,i,e,n)})),i.each((function(t){!BB(t).keep&&a.group.remove(t.group)}))},e.prototype.markKeep=function(t){BB(t).keep=!0},e.prototype.blurSeries=function(t){var e=this;X(t,(function(t){var n=DB.getMarkerModelFromSeries(t,e.type);n&&n.getData().eachItemGraphicEl((function(t){t&&zs(t)}))}))},e.type="marker",e}(zg);function FB(t,e,n){var a=e.coordinateSystem;t.each((function(i){var r,o=t.getItemModel(i),l=_i(o.get("x"),n.getWidth()),s=_i(o.get("y"),n.getHeight());if(isNaN(l)||isNaN(s)){if(e.getMarkerPosition)r=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(a){var u=t.get(a.dimensions[0],i),c=t.get(a.dimensions[1],i);r=a.dataToPoint([u,c])}}else r=[l,s];isNaN(l)||(r[0]=l),isNaN(s)||(r[1]=s),t.setItemLayout(i,r)}))}var GB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=DB.getMarkerModelFromSeries(t,"markPoint");e&&(FB(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,a){var i=t.coordinateSystem,r=t.id,o=t.getData(),l=this.markerGroupMap,s=l.get(r)||l.set(r,new Pk),u=function(t,e,n){var a;a=t?Z(t&&t.dimensions,(function(t){return V(V({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Qb(a,n),r=Z(n.get("data"),Q(zB,e));t&&(r=q(r,Q(RB,t)));var o=NB(!!t,a);return i.initData(r,null,o),i}(i,t,e);e.setData(u),FB(e.getData(),t,a),u.each((function(t){var n=u.getItemModel(t),a=n.getShallow("symbol"),i=n.getShallow("symbolSize"),r=n.getShallow("symbolRotate"),l=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if(et(a)||et(i)||et(r)||et(l)){var c=e.getRawValue(t),p=e.getDataParams(t);et(a)&&(a=a(c,p)),et(i)&&(i=i(c,p)),et(r)&&(r=r(c,p)),et(l)&&(l=l(c,p))}var d=n.getModel("itemStyle").getItemStyle(),h=Dm(o,"color");d.fill||(d.fill=h),u.setItemVisual(t,{symbol:a,symbolSize:i,symbolRotate:r,symbolOffset:l,symbolKeepAspect:s,style:d})})),s.updateData(u),this.group.add(s.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){es(t).dataModel=e}))})),this.markKeep(s),s.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(VB);var HB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markLine",e.defaultOption={zlevel:0,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}(DB),WB=rr(),UB=function(t,e,n,a){var i,r=t.getData();if(tt(a))i=a;else{var o=a.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=a.xAxis||null!=a.yAxis){var l=void 0,s=void 0;if(null!=a.yAxis||null!=a.xAxis)l=e.getAxis(null!=a.yAxis?"y":"x"),s=ht(a.yAxis,a.xAxis);else{var u=OB(a,r,e,t);l=u.valueAxis,s=EB(r,lx(r,u.valueDataDim),o)}var c="x"===l.dim?0:1,p=1-c,d=N(a),h={coord:[]};d.type=null,d.coord=[],d.coord[p]=-1/0,h.coord[p]=1/0;var f=n.get("precision");f>=0&&"number"==typeof s&&(s=+s.toFixed(Math.min(f,20))),d.coord[c]=h.coord[c]=s,i=[d,h,{type:o,valueIndex:a.valueIndex,value:s}]}else i=[]}var g=[zB(t,i[0]),zB(t,i[1]),V({},i[2])];return g[2].type=g[2].type||null,E(g[2],g[0]),E(g[2],g[1]),g};function YB(t){return!isNaN(t)&&!isFinite(t)}function XB(t,e,n,a){var i=1-t,r=a.dimensions[t];return YB(e[i])&&YB(n[i])&&e[t]===n[t]&&a.getAxis(r).containData(e[t])}function ZB(t,e){if("cartesian2d"===t.type){var n=e[0].coord,a=e[1].coord;if(n&&a&&(XB(1,n,a,t)||XB(0,n,a,t)))return!0}return RB(t,e[0])&&RB(t,e[1])}function jB(t,e,n,a,i){var r,o=a.coordinateSystem,l=t.getItemModel(e),s=_i(l.get("x"),i.getWidth()),u=_i(l.get("y"),i.getHeight());if(isNaN(s)||isNaN(u)){if(a.getMarkerPosition)r=a.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=o.dimensions,p=t.get(c[0],e),d=t.get(c[1],e);r=o.dataToPoint([p,d])}if(qk(o,"cartesian2d")){var h=o.getAxis("x"),f=o.getAxis("y");c=o.dimensions;YB(t.get(c[0],e))?r[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):YB(t.get(c[1],e))&&(r[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(s)||(r[0]=s),isNaN(u)||(r[1]=u)}else r=[s,u];t.setItemLayout(e,r)}var qB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=DB.getMarkerModelFromSeries(t,"markLine");if(e){var a=e.getData(),i=WB(e).from,r=WB(e).to;i.each((function(e){jB(i,e,!0,t,n),jB(r,e,!1,t,n)})),a.each((function(t){a.setItemLayout(t,[i.getItemLayout(t),r.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,a){var i=t.coordinateSystem,r=t.id,o=t.getData(),l=this.markerGroupMap,s=l.get(r)||l.set(r,new hD);this.group.add(s.group);var u=function(t,e,n){var a;a=t?Z(t&&t.dimensions,(function(t){return V(V({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new Qb(a,n),r=new Qb(a,n),o=new Qb([],n),l=Z(n.get("data"),Q(UB,e,t,n));t&&(l=q(l,Q(ZB,t)));var s=NB(!!t,a);return i.initData(Z(l,(function(t){return t[0]})),null,s),r.initData(Z(l,(function(t){return t[1]})),null,s),o.initData(Z(l,(function(t){return t[2]}))),o.hasItemOption=!0,{from:i,to:r,line:o}}(i,t,e),c=u.from,p=u.to,d=u.line;WB(e).from=c,WB(e).to=p,e.setData(d);var h=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),m=e.get("symbolOffset");function y(e,n,i){var r=e.getItemModel(n);jB(e,n,i,t,a);var l=r.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=Dm(o,"color")),e.setItemVisual(n,{symbolKeepAspect:r.get("symbolKeepAspect"),symbolOffset:ft(r.get("symbolOffset",!0),m[i?0:1]),symbolRotate:ft(r.get("symbolRotate",!0),g[i?0:1]),symbolSize:ft(r.get("symbolSize"),f[i?0:1]),symbol:ft(r.get("symbol",!0),h[i?0:1]),style:l})}tt(h)||(h=[h,h]),tt(f)||(f=[f,f]),tt(g)||(g=[g,g]),tt(m)||(m=[m,m]),u.from.each((function(t){y(c,t,!0),y(p,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[c.getItemLayout(t),p.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:p.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:p.getItemVisual(t,"symbolOffset"),toSymbolRotate:p.getItemVisual(t,"symbolRotate"),toSymbolSize:p.getItemVisual(t,"symbolSize"),toSymbol:p.getItemVisual(t,"symbol"),style:e})})),s.updateData(d),u.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){es(t).dataModel=e}))})),this.markKeep(s),s.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(VB);var KB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markArea",e.defaultOption={zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(DB),$B=rr(),JB=function(t,e,n,a){var i=zB(t,a[0]),r=zB(t,a[1]),o=i.coord,l=r.coord;o[0]=ht(o[0],-1/0),o[1]=ht(o[1],-1/0),l[0]=ht(l[0],1/0),l[1]=ht(l[1],1/0);var s=B([{},i,r]);return s.coord=[i.coord,r.coord],s.x0=i.x,s.y0=i.y,s.x1=r.x,s.y1=r.y,s};function QB(t){return!isNaN(t)&&!isFinite(t)}function tV(t,e,n,a){var i=1-t;return QB(e[i])&&QB(n[i])}function eV(t,e){var n=e.coord[0],a=e.coord[1];return!!(qk(t,"cartesian2d")&&n&&a&&(tV(1,n,a)||tV(0,n,a)))||(RB(t,{coord:n,x:e.x0,y:e.y0})||RB(t,{coord:a,x:e.x1,y:e.y1}))}function nV(t,e,n,a,i){var r,o=a.coordinateSystem,l=t.getItemModel(e),s=_i(l.get(n[0]),i.getWidth()),u=_i(l.get(n[1]),i.getHeight());if(isNaN(s)||isNaN(u)){if(a.getMarkerPosition)r=a.getMarkerPosition(t.getValues(n,e));else{var c=[h=t.get(n[0],e),f=t.get(n[1],e)];o.clampData&&o.clampData(c,c),r=o.dataToPoint(c,!0)}if(qk(o,"cartesian2d")){var p=o.getAxis("x"),d=o.getAxis("y"),h=t.get(n[0],e),f=t.get(n[1],e);QB(h)?r[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):QB(f)&&(r[1]=d.toGlobalCoord(d.getExtent()["y0"===n[1]?0:1]))}isNaN(s)||(r[0]=s),isNaN(u)||(r[1]=u)}else r=[s,u];return r}var aV=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],iV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=DB.getMarkerModelFromSeries(t,"markArea");if(e){var a=e.getData();a.each((function(e){var i=Z(aV,(function(i){return nV(a,e,i,t,n)}));a.setItemLayout(e,i),a.getItemGraphicEl(e).setShape("points",i)}))}}),this)},e.prototype.renderSeries=function(t,e,n,a){var i=t.coordinateSystem,r=t.id,o=t.getData(),l=this.markerGroupMap,s=l.get(r)||l.set(r,{group:new pi});this.group.add(s.group),this.markKeep(s);var u=function(t,e,n){var a,i,r=["x0","y0","x1","y1"];if(t){var o=Z(t&&t.dimensions,(function(t){var n=e.getData();return V(V({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));i=Z(r,(function(t,e){return{name:t,type:o[e%2].type}})),a=new Qb(i,n)}else a=new Qb(i=[{name:"value",type:"float"}],n);var l=Z(n.get("data"),Q(JB,e,t,n));t&&(l=q(l,Q(eV,t)));var s=t?function(t,e,n,a){return zf(t.coord[Math.floor(a/2)][a%2],i[a])}:function(t,e,n,a){return zf(t.value,i[a])};return a.initData(l,null,s),a.hasItemOption=!0,a}(i,t,e);e.setData(u),u.each((function(e){var n=Z(aV,(function(n){return nV(u,e,n,t,a)})),r=i.getAxis("x").scale,l=i.getAxis("y").scale,s=r.getExtent(),c=l.getExtent(),p=[r.parse(u.get("x0",e)),r.parse(u.get("x1",e))],d=[l.parse(u.get("y0",e)),l.parse(u.get("y1",e))];ki(p),ki(d);var h=!!(s[0]>p[1]||s[1]<p[0]||c[0]>d[1]||c[1]<d[0]);u.setItemLayout(e,{points:n,allClipped:h});var f=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=Dm(o,"color");f.fill||(f.fill=g,"string"==typeof f.fill&&(f.fill=bn(f.fill,.4))),f.stroke||(f.stroke=g),u.setItemVisual(e,"style",f)})),u.diff($B(s).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new ju({shape:{points:e.points}});u.setItemGraphicEl(t,n),s.group.add(n)}})).update((function(t,n){var a=$B(s).data.getItemGraphicEl(n),i=u.getItemLayout(t);i.allClipped?a&&s.group.remove(a):(a?Cc(a,{shape:{points:i.points}},e,t):a=new ju({shape:{points:i.points}}),u.setItemGraphicEl(t,a),s.group.add(a))})).remove((function(t){var e=$B(s).data.getItemGraphicEl(t);s.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var a=u.getItemModel(n),i=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),pp(t,dp(a),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:"string"==typeof i.fill?bn(i.fill,1):"#000"}),js(t,a),Us(t),es(t).dataModel=e})),$B(s).data=u,s.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(VB);var rV=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 u(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"]),tt(e)&&X(e,(function(t,a){nt(t)&&(t={type:t}),e[a]=E(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 a=t[n].get("name");if(this.isSelected(a)){this.select(a),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(a){var i,r=a.name;if(n.push(r),a.legendVisualProvider){var o=a.legendVisualProvider.getAllNames();t.isSeriesFiltered(a)||(n=n.concat(o)),o.length?e=e.concat(o):i=!0}else i=!0;i&&nr(a)&&e.push(a.name)})),this._availableNames=n;var a=Z(this.get("data")||e,(function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new Op(t,this,this.ecModel)}),this);this._data=a},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&X(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;X(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;X(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])&&H(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={zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,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}(Xd),oV=Q,lV=X,sV=pi,uV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return u(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new sV),this.group.add(this._selectorGroup=new sV),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 a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var i=t.get("align"),r=t.get("orient");i&&"auto"!==i||(i="right"===t.get("left")&&"vertical"===r?"right":"left");var o=t.get("selector",!0),l=t.get("selectorPosition",!0);!o||l&&"auto"!==l||(l="horizontal"===r?"end":"start"),this.renderInner(i,t,e,n,o,r,l);var s=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),p=Vd(s,u,c),d=this.layoutInner(t,i,p,a,o,l),h=Vd(F({width:d.width,height:d.height},s),u,c);this.group.x=h.x-d.x,this.group.y=h.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=NN(d,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,a,i,r,o){var l=this.getContentGroup(),s=St(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),lV(e.getData(),(function(i,r){var o=i.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var p=new sV;return p.newline=!0,void l.add(p)}var d=n.getSeriesByName(o)[0];if(!s.get(o))if(d){var h=d.getData(),f=h.getVisual("legendLineStyle")||{},g=h.getVisual("legendIcon"),m=h.getVisual("style");this._createItem(d,o,r,i,e,t,f,m,g,u).on("click",oV(cV,o,null,a,c)).on("mouseover",oV(dV,d.name,null,a,c)).on("mouseout",oV(hV,d.name,null,a,c)),s.set(o,!0)}else n.eachRawSeries((function(n){if(!s.get(o)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(o))return;var p=l.indexOfName(o),d=l.getItemVisual(p,"style"),h=l.getItemVisual(p,"legendIcon"),f=cn(d.fill);f&&0===f[3]&&(f[3]=.2,d.fill=xn(f,"rgba")),this._createItem(n,o,r,i,e,t,{},d,h,u).on("click",oV(cV,null,o,a,c)).on("mouseover",oV(dV,null,o,a,c)).on("mouseout",oV(hV,null,o,a,c)),s.set(o,!0)}}),this)}),this),i&&this._createSelector(i,e,a,r,o)},e.prototype._createSelector=function(t,e,n,a,i){var r=this.getSelectorGroup();lV(t,(function(t){var a=t.type,i=new ts({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===a?"legendAllSelect":"legendInverseSelect"})}});r.add(i),pp(i,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),Us(i)}))},e.prototype._createItem=function(t,e,n,a,i,r,o,l,s,u){var c=t.visualDrawType,p=i.get("itemWidth"),d=i.get("itemHeight"),h=i.isSelected(e),f=a.get("symbolRotate"),g=a.get("symbolKeepAspect"),m=a.get("icon"),y=function(t,e,n,a,i,r){function o(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),lV(t,(function(n,a){"inherit"===t[a]&&(t[a]=e[a])}))}var l=e.getModel("itemStyle").getItemStyle(),s=0===t.lastIndexOf("empty",0)?"fill":"stroke";l.decal=a.decal,"inherit"===l.fill&&(l.fill=a[i]);"inherit"===l.stroke&&(l.stroke=a[s]);"inherit"===l.opacity&&(l.opacity=("fill"===i?a:n).opacity);o(l,a);var u=e.getModel("lineStyle"),c=u.getLineStyle();if(o(c,n),"auto"===l.fill&&(l.fill=a.fill),"auto"===l.stroke&&(l.stroke=a.fill),"auto"===c.stroke&&(c.stroke=a.fill),!r){var p=e.get("inactiveBorderWidth"),d=l[s];l.lineWidth="auto"===p?a.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),c.stroke=u.get("inactiveColor"),c.lineWidth=u.get("inactiveWidth")}return{itemStyle:l,lineStyle:c}}(s=m||s||"roundRect",a,o,l,c,h),v=new sV,b=a.getModel("textStyle");if("function"!=typeof t.getLegendIcon||m&&"inherit"!==m){var x="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===f?t.getData().getVisual("symbolRotate"):f:0;v.add(function(t){var e=t.icon||"roundRect",n=Xm(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:d,icon:s,iconRotate:x,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}))}else v.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:s,iconRotate:f,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}));var _="left"===r?p+5:-5,w=r,k=i.get("formatter"),S=e;"string"==typeof k&&k?S=k.replace("{name}",null!=e?e:""):"function"==typeof k&&(S=k(e));var M=a.get("inactiveColor");v.add(new ts({style:hp(b,{text:S,x:_,y:d/2,fill:h?b.getTextColor():M,align:w,verticalAlign:"middle"})}));var I=new Hl({shape:v.getBoundingRect(),invisible:!0}),T=a.getModel("tooltip");return T.get("show")&&op({el:I,componentModel:i,itemName:e,itemTooltipOption:T.option}),v.add(I),v.eachChild((function(t){t.silent=!0})),I.silent=!u,this.getContentGroup().add(v),Us(v),v.__legendDataIndex=n,v},e.prototype.layoutInner=function(t,e,n,a,i,r){var o=this.getContentGroup(),l=this.getSelectorGroup();Bd(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var s=o.getBoundingRect(),u=[-s.x,-s.y];if(l.markRedraw(),o.markRedraw(),i){Bd("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),p=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),h=t.getOrient().index,f=0===h?"width":"height",g=0===h?"height":"width",m=0===h?"y":"x";"end"===r?p[h]+=s[f]+d:u[h]+=c[f]+d,p[1-h]+=s[g]/2-c[g]/2,l.x=p[0],l.y=p[1],o.x=u[0],o.y=u[1];var y={x:0,y:0};return y[f]=s[f]+d+c[f],y[g]=Math.max(s[g],c[g]),y[m]=Math.min(0,c[m]+p[1-h]),y}return o.x=u[0],o.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(zg);function cV(t,e,n,a){hV(t,e,n,a),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),dV(t,e,n,a)}function pV(t){for(var e,n=t.getZr().storage.getDisplayList(),a=0,i=n.length;a<i&&!(e=n[a].states.emphasis);)a++;return e&&e.hoverLayer}function dV(t,e,n,a){pV(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:a})}function hV(t,e,n,a){pV(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:a})}function fV(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 gV(t,e,n){var a,i={},r="toggleSelected"===t;return n.eachComponent("legend",(function(n){r&&null!=a?n[a?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),a=n.isSelected(e.name)),X(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var a=n.isSelected(e);i.hasOwnProperty(e)?i[e]=i[e]&&a:i[e]=a}}))})),"allSelect"===t||"inverseSelect"===t?{selected:i}:{name:e.name,selected:i}}function mV(t){t.registerComponentModel(rV),t.registerComponentView(uV),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,fV),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",Q(gV,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",Q(gV,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",Q(gV,"inverseSelect")),t.registerAction("legendSelect","legendselected",Q(gV,"select")),t.registerAction("legendUnSelect","legendunselected",Q(gV,"unSelect"))}(t)}var yV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,a){var i=Wd(e);t.prototype.init.call(this,e,n,a),vV(this,e,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),vV(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Ep(rV.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}(rV);function vV(t,e,n){var a=[1,1];a[t.getOrient().index]=0,Hd(e,n,{type:"box",ignoreSize:!!a})}var bV=pi,xV=["width","height"],_V=["x","y"],wV=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 u(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new bV),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new bV)},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,a,i,r,o,l){var s=this;t.prototype.renderInner.call(this,e,n,a,i,r,o,l);var u=this._controllerGroup,c=n.get("pageIconSize",!0),p=tt(c)?c:[c,c];h("pagePrev",0);var d=n.getModel("pageTextStyle");function h(t,e){var a=t+"DataIndex",r=np(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:J(s._pageGo,s,a,n,i)},{x:-p[0]/2,y:-p[1]/2,width:p[0],height:p[1]});r.name=t,u.add(r)}u.add(new ts({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),h("pageNext",1)},e.prototype.layoutInner=function(t,e,n,a,i,r){var o=this.getSelectorGroup(),l=t.getOrient().index,s=xV[l],u=_V[l],c=xV[1-l],p=_V[1-l];i&&Bd("horizontal",o,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),h=o.getBoundingRect(),f=[-h.x,-h.y],g=N(n);i&&(g[s]=n[s]-h[s]-d);var m=this._layoutContentAndController(t,a,g,l,s,c,p,u);if(i){if("end"===r)f[l]+=m[s]+d;else{var y=h[s]+d;f[l]-=y,m[u]-=y}m[s]+=h[s]+d,f[1-l]+=m[p]+m[c]/2-h[c]/2,m[c]=Math.max(m[c],h[c]),m[p]=Math.min(m[p],h[p]+f[1-l]),o.x=f[0],o.y=f[1],o.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,a,i,r,o,l){var s=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;Bd(t.get("orient"),s,t.get("itemGap"),a?n.width:null,a?null:n.height),Bd("horizontal",c,t.get("pageButtonItemGap",!0));var p=s.getBoundingRect(),d=c.getBoundingRect(),h=this._showController=p[i]>n[i],f=[-p.x,-p.y];e||(f[a]=s[l]);var g=[0,0],m=[-d.x,-d.y],y=ft(t.get("pageButtonGap",!0),t.get("itemGap",!0));h&&("end"===t.get("pageButtonPosition",!0)?m[a]+=n[i]-d[i]:g[a]+=d[i]+y);m[1-a]+=p[r]/2-d[r]/2,s.setPosition(f),u.setPosition(g),c.setPosition(m);var v={x:0,y:0};if(v[i]=h?n[i]:p[i],v[r]=Math.max(p[r],d[r]),v[o]=Math.min(0,d[o]+m[1-a]),u.__rectSize=n[i],h){var b={x:0,y:0};b[i]=Math.max(n[i]-d[i]-y,0),b[r]=v[r],u.setClipPath(new Hl({shape:b})),u.__rectSize=b[i]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&Cc(s,{x:x.contentPosition[0],y:x.contentPosition[1]},h?t:null),this._updatePageInfoView(t,x),v},e.prototype._pageGo=function(t,e,n){var a=this._getPageInfo(e)[t];null!=a&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;X(["pagePrev","pageNext"],(function(a){var i=null!=e[a+"DataIndex"],r=n.childOfName(a);r&&(r.setStyle("fill",i?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=i?"pointer":"default")}));var a=n.childOfName("pageText"),i=t.get("pageFormatter"),r=e.pageIndex,o=null!=r?r+1:0,l=e.pageCount;a&&i&&a.setStyle("text",nt(i)?i.replace("{current}",null==o?"":o+"").replace("{total}",null==l?"":l+""):i({current:o,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),a=this._containerGroup.__rectSize,i=t.getOrient().index,r=xV[i],o=_V[i],l=this._findTargetItemIndex(e),s=n.children(),u=s[l],c=s.length,p=c?1:0,d={contentPosition:[n.x,n.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var h=v(u);d.contentPosition[i]=-h.s;for(var f=l+1,g=h,m=h,y=null;f<=c;++f)(!(y=v(s[f]))&&m.e>g.s+a||y&&!b(y,g.s))&&(g=m.i>g.i?m:y)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),m=y;for(f=l-1,g=h,m=h,y=null;f>=-1;--f)(y=v(s[f]))&&b(m,y.s)||!(g.i<m.i)||(m=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=y;return d;function v(t){if(t){var e=t.getBoundingRect(),n=e[o]+t[o];return{s:n,e:n+e[r],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+a}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(a,i){var r=a.__legendDataIndex;null==n&&null!=r&&(n=i),r===t&&(e=i)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(uV);function kV(t){Ib(mV),t.registerComponentModel(yV),t.registerComponentView(wV),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 SV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="dataZoom.inside",e.defaultOption=Ep(bN.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(bN),MV=rr();function IV(t,e,n){MV(t).coordSysRecordMap.each((function(t){var a=t.dataZoomInfoMap.get(e.uid);a&&(a.getRange=n)}))}function TV(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function CV(t,e){t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function DV(t,e,n,a){return t.coordinateSystem.containPoint([n,a])}function AV(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=MV(e),a=n.coordSysRecordMap||(n.coordSysRecordMap=St());a.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){X(yN(t).infoList,(function(n){var i=n.model.uid,r=a.get(i)||a.set(i,function(t,e){var n={model:e,containsPoint:Q(DV,e),dispatchAction:Q(CV,t),dataZoomInfoMap:null,controller:null},a=n.controller=new fI(t.getZr());return X(["pan","zoom","scrollMove"],(function(t){a.on(t,(function(e){var a=[];n.dataZoomInfoMap.each((function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],o=r&&r(i.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!i.model.get("disabled",!0)&&o&&a.push({dataZoomId:i.model.id,start:o[0],end:o[1]})}})),a.length&&n.dispatchAction(a)}))})),n}(e,n.model));(r.dataZoomInfoMap||(r.dataZoomInfoMap=St())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),a.each((function(t){var e,n=t.controller,i=t.dataZoomInfoMap;if(i){var r=i.keys()[0];null!=r&&(e=i.get(r))}if(e){var o=function(t){var e,n="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each((function(t){var r=t.model,o=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");a[n+o]>a[n+e]&&(e=o),i=i&&r.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(i);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),Zg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else TV(a,t)}))}))}var LV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return u(e,t),e.prototype.render=function(e,n,a){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),IV(a,e,{pan:J(PV.pan,this),zoom:J(PV.zoom,this),scrollMove:J(PV.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=MV(t).coordSysRecordMap,a=n.keys(),i=0;i<a.length;i++){var r=a[i],o=n.get(r),l=o.dataZoomInfoMap;if(l){var s=e.uid;l.get(s)&&(l.removeKey(s),l.keys().length||TV(n,o))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(wN),PV={zoom:function(t,e,n,a){var i=this.range,r=i.slice(),o=t.axisModels[0];if(o){var l=OV[e](null,[a.originX,a.originY],o,n,t),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],u=Math.max(1/a.scale,0);r[0]=(r[0]-s)*u+s,r[1]=(r[1]-s)*u+s;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return lA(0,r,[0,100],0,c.minSpan,c.maxSpan),this.range=r,i[0]!==r[0]||i[1]!==r[1]?r:void 0}},pan:zV((function(t,e,n,a,i,r){var o=OV[a]([r.oldX,r.oldY],[r.newX,r.newY],e,i,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:zV((function(t,e,n,a,i,r){return OV[a]([0,0],[r.scrollDelta,r.scrollDelta],e,i,n).signal*(t[1]-t[0])*r.scrollDelta}))};function zV(t){return function(e,n,a,i){var r=this.range,o=r.slice(),l=e.axisModels[0];if(l)return lA(t(o,l,e,n,a,i),o,[0,100],"all"),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}}var OV={grid:function(t,e,n,a,i){var r=n.axis,o={},l=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=l.width,o.pixelStart=l.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=l.height,o.pixelStart=l.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,n,a,i){var r=n.axis,o={},l=i.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),u=l.getAngleAxis().getExtent();return t=t?l.pointToCoord(t):[0,0],e=l.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=s[1]-s[0],o.pixelStart=s[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,n,a,i){var r=n.axis,o=i.model.coordinateSystem.getRect(),l={};return t=t||[0,0],"horizontal"===r.orient?(l.pixel=e[0]-t[0],l.pixelLength=o.width,l.pixelStart=o.x,l.signal=r.inverse?1:-1):(l.pixel=e[1]-t[1],l.pixelLength=o.height,l.pixelStart=o.y,l.signal=r.inverse?-1:1),l}};function RV(t){DN(t),t.registerComponentModel(SV),t.registerComponentView(LV),AV(t)}var NV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Ep(bN.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:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(bN),EV=Hl,BV="horizontal",VV="vertical",FV=["line","bar","candlestick","scatter"],GV={easing:"cubicOut",duration:100,delay:0},HV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return u(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=J(this._onBrush,this),this._onBrushEnd=J(this._onBrushEnd,this)},e.prototype.render=function(e,n,a,i){if(t.prototype.render.apply(this,arguments),Zg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.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(){var t,e,n;(n=(t=this)[e="_dispatchZoomAction"])&&n[Wg]&&(t[e]=n[Wg]);var a=this.api.getZr();a.off("mousemove",this._onBrush),a.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 pi;this._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,a=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},r=this._orient===BV?{right:i.width-a.x-a.width,top:i.height-30-7-n,width:a.width,height:30}:{right:7,top:a.y,width:30,height:a.height},o=Wd(t.option);X(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=r[t])}));var l=Vd(o,i);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===VV&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),i=a&&a.get("inverse"),r=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(n!==BV||i?n===BV&&i?{scaleY:o?1:-1,scaleX:-1}:n!==VV||i?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var l=t.getBoundingRect([r]);t.x=e.x-l.x,t.y=e.y-l.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,a=t.get("brushSelect");n.add(new EV({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new EV({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:J(this._onClickPanel,this)}),r=this.api.getZr();a?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",r.on("mousemove",this._onBrush),r.on("mouseup",this._onBrushEnd)):(r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=t.series,a=n.getRawData(),i=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=i){var r=a.getDataExtent(i),o=.3*(r[1]-r[0]);r=[r[0]-o,r[1]+o];var l,s=[0,e[1]],u=[0,e[0]],c=[[e[0],0],[0,0]],p=[],d=u[1]/(a.count()-1),h=0,f=Math.round(a.count()/e[0]);a.each([i],(function(t,e){if(f>0&&e%f)h+=d;else{var n=null==t||isNaN(t)||""===t,a=n?0:xi(t,r,s,!0);n&&!l&&e?(c.push([c[c.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&l&&(c.push([h,0]),p.push([h,0])),c.push([h,a]),p.push([h,a]),h+=d,l=n}}));for(var g=this.dataZoomModel,m=0;m<3;m++){var y=v(1===m);this._displayables.sliderGroup.add(y),this._displayables.dataShadowSegs.push(y)}}}function v(t){var e=g.getModel(t?"selectedDataBackground":"dataBackground"),n=new pi,a=new ju({shape:{points:c},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new $u({shape:{points:p},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(a),n.add(i),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,a=this.ecModel;return t.eachTargetAxis((function(i,r){X(t.getAxisProxy(i,r).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&H(FV,t.get("type"))<0)){var o,l=a.getComponent(gN(i),r).axis,s={x:"y",y:"x",radius:"angle",angle:"radius"}[i],u=t.coordinateSystem;null!=s&&u.getOtherAxis&&(o=u.getOtherAxis(l).inverse),s=t.getData().mapDimension(s),n={thisAxis:l,series:t,thisDim:i,otherDim:s,otherAxisInverse:o}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],a=e.handleLabels=[null,null],i=this._displayables.sliderGroup,r=this._size,o=this.dataZoomModel,l=this.api,s=o.get("borderRadius")||0,u=o.get("brushSelect"),c=e.filler=new EV({silent:u,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});i.add(c),i.add(new EV({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1],r:s},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),X([0,1],(function(e){var r=o.get("handleIcon");!Wm[r]&&r.indexOf("path://")<0&&r.indexOf("image://")<0&&(r="path://"+r);var l=Xm(r,-1,0,2,2,null,!0);l.attr({cursor:WV(this._orient),draggable:!0,drift:J(this._onDragMove,this,e),ondragend:J(this._onDragEnd,this),onmouseover:J(this._showDataInfo,this,!0),onmouseout:J(this._showDataInfo,this,!1),z2:5});var s=l.getBoundingRect(),u=o.get("handleSize");this._handleHeight=_i(u,this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,l.setStyle(o.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),Us(l);var c=o.get("handleColor");null!=c&&(l.style.fill=c),i.add(n[e]=l);var p=o.getModel("textStyle");t.add(a[e]=new ts({silent:!0,invisible:!0,style:hp(p,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:p.getTextColor(),font:p.getFont()}),z2:10}))}),this);var p=c;if(u){var d=_i(o.get("moveHandleSize"),r[1]),h=e.moveHandle=new Hl({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:r[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=Xm(o.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=r[1]+d/2-.5,h.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(r[1]/2,Math.max(d,10));(p=e.moveZone=new Hl({invisible:!0,shape:{y:r[1]-m,height:d+m}})).on("mouseover",(function(){l.enterEmphasis(h)})).on("mouseout",(function(){l.leaveEmphasis(h)})),i.add(h),i.add(g),i.add(p)}p.attr({draggable:!0,cursor:WV(this._orient),drift:J(this._onDragMove,this,"all"),ondragstart:J(this._showDataInfo,this,!0),ondragend:J(this._onDragEnd,this),onmouseover:J(this._showDataInfo,this,!0),onmouseout:J(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[xi(t[0],[0,100],e,!0),xi(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,a=this._handleEnds,i=this._getViewExtent(),r=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];lA(e,a,i,n.get("zoomLock")?"all":t,null!=r.minSpan?xi(r.minSpan,o,i,!0):null,null!=r.maxSpan?xi(r.maxSpan,o,i,!0):null);var l=this._range,s=this._range=ki([xi(a[0],i,o,!0),xi(a[1],i,o,!0)]);return!l||l[0]!==s[0]||l[1]!==s[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,a=ki(n.slice()),i=this._size;X([0,1],(function(t){var a=e.handles[t],r=this._handleHeight;a.attr({scaleX:r/2,scaleY:r/2,x:n[t]+(t?-1:1),y:i[1]/2-r/2})}),this),e.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:i[1]});var r={x:a[0],width:a[1]-a[0]};e.moveHandle&&(e.moveHandle.setShape(r),e.moveZone.setShape(r),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",r.x+r.width/2));for(var o=e.dataShadowSegs,l=[0,a[0],a[1],i[0]],s=0;s<o.length;s++){var u=o[s],c=u.getClipPath();c||(c=new Hl,u.setClipPath(c)),c.setShape({x:l[s],y:0,width:l[s+1]-l[s],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,a=n.handleLabels,i=this._orient,r=["",""];if(e.get("showDetail")){var o=e.findRepresentativeAxisProxy();if(o){var l=o.getAxisModel().axis,s=this._range,u=t?o.calculateDataWindow({start:s[0],end:s[1]}).valueWindow:o.getDataValueWindow();r=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var c=ki(this._handleEnds.slice());function p(t){var e=qc(n.handles[t].parent,this.group),o=$c(0===t?"right":"left",e),l=this._handleWidth/2+5,s=Kc([c[t]+(0===t?-l:l),this._size[1]/2],e);a[t].setStyle({x:s[0],y:s[1],verticalAlign:i===BV?"middle":o,align:i===BV?o:"center",text:r[t]})}p.call(this,0),p.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,a=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=e.getPixelPrecision());var r=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return et(a)?a(t,r):nt(a)?a.replace("{value}",r):r},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,a){this._dragging=!0,ye(a.event);var i=Kc([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),r=this._updateInterval(t,i[0]),o=this.dataZoomModel.get("realtime");this._updateView(!o),r&&o&&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 a=this._handleEnds,i=(a[0]+a[1])/2,r=this._updateInterval("all",n[0]-i);this._updateView(),r&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new La(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 a=this._getViewExtent(),i=[0,100];this._range=ki([xi(n.x,a,i,!0),xi(n.x+n.width,a,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ye(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,a=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new EV({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var r=this._brushStart,o=this._displayables.sliderGroup,l=o.transformCoordToLocal(t,e),s=o.transformCoordToLocal(r.x,r.y),u=this._size;l[0]=Math.max(Math.min(u[0],l[0]),0),i.setShape({x:s[0],y:0,width:l[0]-s[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?GV:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=yN(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var a=this.api.getWidth(),i=this.api.getHeight();t={x:.2*a,y:.2*i,width:.6*a,height:.6*i}}return t},e.type="dataZoom.slider",e}(wN);function WV(t){return"vertical"===t?"ns-resize":"ew-resize"}function UV(t){t.registerComponentModel(NV),t.registerComponentView(HV),DN(t)}var YV=function(t,e,n){var a=N((XV[t]||{})[e]);return n&&tt(a)?a[a.length-1]:a},XV={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]}},ZV=eC.mapVisual,jV=eC.eachVisual,qV=tt,KV=X,$V=ki,JV=xi,QV=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 u(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;b.canvasSupported||(n.realtime=!1),!e&&jE(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=J(t,this),this.controllerVisuals=ZE(this.option.controller,e,t),this.targetVisuals=ZE(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=Zi(t),e},e.prototype.eachTargetSeries=function(t,e){X(this.getTargetSeriesIndices(),(function(n){var a=this.ecModel.getSeriesByIndex(n);a&&t.call(e,a)}),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 a,i=this.option,r=i.precision,o=this.dataBound,l=i.formatter;n=n||["<",">"],tt(t)&&(t=t.slice(),a=!0);var s=e?t:a?[u(t[0]),u(t[1])]:u(t);return nt(l)?l.replace("{value}",a?s[0]:s).replace("{value2}",a?s[1]:s):et(l)?a?l(t[0],t[1]):l(t):a?t[0]===o[0]?n[0]+" "+s[1]:t[1]===o[1]?n[1]+" "+s[0]:s[0]+" - "+s[1]:s;function u(t){return t===o[0]?"min":t===o[1]?"max":(+t).toFixed(Math.min(r,20))}},e.prototype.resetExtent=function(){var t=this.option,e=$V([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,a=n.length-1;a>=0;a--){var i=n[a],r=t.getDimensionInfo(i);if(!r.isCalculationCoord)return r.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},a=e.target||(e.target={}),i=e.controller||(e.controller={});E(a,n),E(i,n);var r=this.isCategory();function o(n){qV(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}o.call(this,a),o.call(this,i),function(t,e,n){var a=t[e],i=t[n];a&&!i&&(i=t[n]={},KV(a,(function(t,e){if(eC.isValidType(e)){var n=YV(e,"inactive",r);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}.call(this,a,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,a=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";KV(this.stateList,(function(o){var l=this.itemSize,s=t[o];s||(s=t[o]={color:r?a:[a]}),null==s.symbol&&(s.symbol=e&&N(e)||(r?i:[i])),null==s.symbolSize&&(s.symbolSize=n&&N(n)||(r?l[0]:[l[0],l[0]])),s.symbol=ZV(s.symbol,(function(t){return"none"===t?i:t}));var u=s.symbolSize;if(null!=u){var c=-1/0;jV(u,(function(t){t>c&&(c=t)})),s.symbolSize=ZV(u,(function(t){return JV(t,[0,c],[0,l[0]],!0)}))}}),this)}.call(this,i)},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,zlevel: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}(Xd),tF=[20,140],eF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(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]=tF[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=tF[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):tt(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),X(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=ki((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 a=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(e,n){t[0]<=e&&e<=t[1]&&a.push(n)}),this),e.push({seriesId:n.id,dataIndex:a})}),this),e},e.prototype.getVisualMeta=function(t){var e=nF(this,"outOfRange",this.getExtent()),n=nF(this,"inRange",this.option.range.slice()),a=[];function i(e,n){a.push({value:e,color:t(e,n)})}for(var r=0,o=0,l=n.length,s=e.length;o<s&&(!n.length||e[o]<=n[0]);o++)e[o]<n[r]&&i(e[o],"outOfRange");for(var u=1;r<l;r++,u=0)u&&a.length&&i(n[r],"outOfRange"),i(n[r],"inRange");for(u=1;o<s;o++)(!n.length||n[n.length-1]<e[o])&&(u&&(a.length&&i(a[a.length-1].value,"outOfRange"),u=0),i(e[o],"outOfRange"));var c=a.length;return{stops:a,outerColors:[c?a[0].color:"transparent",c?a[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Ep(QV.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}(QV);function nF(t,e,n){if(n[0]===n[1])return n.slice();for(var a=(n[1]-n[0])/200,i=n[0],r=[],o=0;o<=200&&i<n[1];o++)r.push(i),i+=a;return r.push(n[1]),r}var aF=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 u(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,a){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,a):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=kd(e.get("padding")||0),a=t.getBoundingRect();t.add(new Hl({z2:-1,silent:!0,shape:{x:a.x-n[3],y:a.y-n[0],width:a.width+n[3]+n[1],height:a.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 a=(n=n||{}).forceState,i=this.visualMapModel,r={};if("color"===e){var o=i.get("contentColor");r.color=o}function l(t){return r[t]}function s(t,e){r[t]=e}var u=i.controllerVisuals[a||i.getValueState(t)];return X(eC.prepareVisualTypes(u),(function(a){var i=u[a];n.convertOpacityToAlpha&&"opacity"===a&&(a="colorAlpha",i=u.__alphaForOpacity),eC.dependsOn(a,e)&&i&&i.applyVisual(t,l,s)})),r[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;Fd(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,a){},e.type="visualMap",e}(zg),iF=[["left","right","width"],["top","bottom","height"]];function rF(t,e,n){var a=t.option,i=a.align;if(null!=i&&"auto"!==i)return i;for(var r={width:e.getWidth(),height:e.getHeight()},o="horizontal"===a.orient?1:0,l=iF[o],s=[0,null,10],u={},c=0;c<3;c++)u[iF[1-o][c]]=s[c],u[l[c]]=2===c?n[0]:a[l[c]];var p=[["x","width",3],["y","height",0]][o],d=Vd(u,r,a.padding);return l[(d.margin[p[2]]||0)+d[p[0]]+.5*d[p[1]]<.5*r[p[1]]?0:1]}function oF(t,e){return X(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var lF=xi,sF=X,uF=Math.min,cF=Math.max,pF=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 u(e,t),e.prototype.doRender=function(t,e,n,a){this._api=n,a&&"selectDataRange"===a.type&&a.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.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var a=e[1-n];a=null!=a?a+"":"";var i=this.visualMapModel,r=i.get("textGap"),o=i.itemSize,l=this._shapes.mainGroup,s=this._applyTransform([o[0]/2,0===n?-r:o[1]+r],l),u=this._applyTransform(0===n?"bottom":"top",l),c=this._orient,p=this.visualMapModel.textStyleModel;this.group.add(new ts({style:{x:s[0],y:s[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:a,font:p.getFont(),fill:p.getTextColor()}}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,a=e.itemSize,i=this._orient,r=this._useHandle,o=rF(e,this.api,a),l=n.mainGroup=this._createBarGroup(o),s=new pi;l.add(s),s.add(n.outOfRange=dF()),s.add(n.inRange=dF(null,r?fF(this._orient):null,J(this._dragHandle,this,"all",!1),J(this._dragHandle,this,"all",!0))),s.setClipPath(new Hl({shape:{x:0,y:0,width:a[0],height:a[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),c=cF(u.width,u.height);r&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,l,0,a,c,i),this._createHandle(e,l,1,a,c,i)),this._createIndicator(e,l,a,c,i),t.add(l)},e.prototype._createHandle=function(t,e,n,a,i,r){var o=J(this._dragHandle,this,n,!1),l=J(this._dragHandle,this,n,!0),s=$a(t.get("handleSize"),a[0]),u=Xm(t.get("handleIcon"),-s/2,-s/2,s,s,null,!0),c=fF(this._orient);u.attr({cursor:c,draggable:!0,drift:o,ondragend:l,onmousemove:function(t){ye(t.event)}}),u.x=a[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(),qs(u,!0),e.add(u);var p=this.visualMapModel.textStyleModel,d=new ts({cursor:c,draggable:!0,drift:o,onmousemove:function(t){ye(t.event)},ondragend:l,style:{x:0,y:0,text:"",font:p.getFont(),fill:p.getTextColor()}});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var h=[s,0],f=this._shapes;f.handleThumbs[n]=u,f.handleLabelPoints[n]=h,f.handleLabels[n]=d},e.prototype._createIndicator=function(t,e,n,a,i){var r=$a(t.get("indicatorSize"),n[0]),o=Xm(t.get("indicatorIcon"),-r/2,-r/2,r,r,null,!0);o.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(o instanceof Ol){var s=o.style;o.useStyle(V({image:s.image,x:s.x,y:s.y,width:s.width,height:s.height},l))}else o.useStyle(l);e.add(o);var u=this.visualMapModel.textStyleModel,c=new ts({silent:!0,invisible:!0,style:{x:0,y:0,text:"",font:u.getFont(),fill:u.getTextColor()}});this.group.add(c);var p=[("horizontal"===i?a/2:6)+n[0]/2,0],d=this._shapes;d.indicator=o,d.indicatorLabel=c,d.indicatorLabelPoint=p,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,a){if(this._useHandle){if(this._dragging=!e,!e){var i=this._applyTransform([n,a],this._shapes.mainGroup,!0);this._updateInterval(t,i[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():hF(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),a=[0,t.itemSize[1]];this._handleEnds=[lF(e[0],n,a,!0),lF(e[1],n,a,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,a=this._handleEnds,i=[0,n.itemSize[1]];lA(e,a,i,t,0);var r=n.getExtent();this._dataInterval=[lF(a[0],i,r,!0),lF(a[1],i,r,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),a=this._shapes,i=[0,e.itemSize[1]],r=t?i:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,r,"inRange"),l=this._createBarVisual(n,n,i,"outOfRange");a.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),a.outOfRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),this._updateHandle(r,o)},e.prototype._createBarVisual=function(t,e,n,a){var i={forceState:a,convertOpacityToAlpha:!0},r=this._makeColorGradient(t,i),o=[this.getControllerVisual(t[0],"symbolSize",i),this.getControllerVisual(t[1],"symbolSize",i)],l=this._createBarPoints(n,o);return{barColor:new fc(0,0,0,1,r),barPoints:l,handlesColor:[r[0].color,r[r.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],a=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var i=1;i<100;i++){var r=t[0]+a*i;if(r>t[1])break;n.push({color:this.getControllerVisual(r,"color",e),offset:i/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 pi("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,a=this.visualMapModel,i=n.handleThumbs,r=n.handleLabels,o=a.itemSize,l=a.getExtent();sF([0,1],(function(s){var u=i[s];u.setStyle("fill",e.handlesColor[s]),u.y=t[s];var c=lF(t[s],[0,o[1]],l,!0),p=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=p/o[0],u.x=o[0]-p/2;var d=Kc(n.handleLabelPoints[s],qc(u,this.group));r[s].setStyle({x:d[0],y:d[1],text:a.formatValueText(this._dataInterval[s]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,a){var i=this.visualMapModel,r=i.getExtent(),o=i.itemSize,l=[0,o[1]],s=this._shapes,u=s.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),p=this.getControllerVisual(t,"symbolSize"),d=lF(t,r,l,!0),h=o[0]-p/2,f={x:u.x,y:u.y};u.y=d,u.x=h;var g=Kc(s.indicatorLabelPoint,qc(u,this.group)),m=s.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",s.mainGroup),v="horizontal"===this._orient;m.setStyle({text:(n||"")+i.formatValueText(e),verticalAlign:v?y:"middle",align:v?"center":y});var b={x:h,y:d,style:{fill:c}},x={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var _={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(b,_),m.animateTo(x,_)}else u.attr(b),m.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var k=0;k<w.length;k++)this._api.enterBlur(w[k])}},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,a=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);a[1]=uF(cF(0,a[1]),n[1]),t._doHoverLinkToSeries(a[1],0<=a[0]&&a[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,a=n.itemSize;if(n.option.hoverLink){var i=[0,a[1]],r=n.getExtent();t=uF(cF(i[0],t),i[1]);var o=function(t,e,n){var a=6,i=t.get("hoverLinkDataSize");i&&(a=lF(i,e,n,!0)/2);return a}(n,r,i),l=[t-o,t+o],s=lF(t,i,r,!0),u=[lF(l[0],i,r,!0),lF(l[1],i,r,!0)];l[0]<i[0]&&(u[0]=-1/0),l[1]>i[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(s,u[1],"< ",o):u[1]===1/0?this._showIndicator(s,u[0],"> ",o):this._showIndicator(s,s,"≈ ",o));var c=this._hoverLinkDataIndices,p=[];(e||hF(n))&&(p=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},a={};return i(t||[],n),i(e||[],a,n),[r(n),r(a)];function i(t,e,n){for(var a=0,i=t.length;a<i;a++){var r=er(t[a].seriesId,null);if(null==r)return;for(var o=Zi(t[a].dataIndex),l=n&&n[r],s=0,u=o.length;s<u;s++){var c=o[s];l&&l[c]?l[c]=null:(e[r]||(e[r]={}))[c]=1}}}function r(t,e){var n=[];for(var a in t)if(t.hasOwnProperty(a)&&null!=t[a])if(e)n.push(+a);else{var i=r(t[a],!0);i.length&&n.push({seriesId:a,dataIndex:i})}return n}}(c,p);this._dispatchHighDown("downplay",oF(d[0],n)),this._dispatchHighDown("highlight",oF(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=es(e).dataIndex){var a=es(e),i=this.ecModel.getSeriesByIndex(a.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(a.dataType),o=r.getStore().get(n.getDataDimensionIndex(r),a.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",oF(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,a){var i=qc(e,a?null:this.group);return tt(t)?Kc(t,i,n):$c(t,i,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.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(aF);function dF(t,e,n,a){return new ju({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){ye(t.event)},ondragend:a})}function hF(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function fF(t){return"vertical"===t?"ns-resize":"ew-resize"}var gF={type:"selectDataRange",event:"dataRangeSelected",update:"update"},mF=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},yF=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var a,i,r,o,l,s=t.pipelineContext;!e.isTargetSeries(t)||s&&s.large||n.push((a=e.stateList,i=e.targetVisuals,r=J(e.getValueState,e),o=e.getDataDimensionIndex(t.getData()),l={},X(a,(function(t){var e=eC.prepareVisualTypes(i[t]);l[t]=e})),{progress:function(t,e){var n,a;function s(t){return Cm(e,a,t)}function u(t,n){Am(e,a,t,n)}null!=o&&(n=e.getDimensionIndex(o));for(var c=e.getStore();null!=(a=t.next());){var p=e.getRawDataItem(a);if(!p||!1!==p.visualMap)for(var d=null!=o?c.get(n,a):a,h=r(d),f=i[h],g=l[h],m=0,y=g.length;m<y;m++){var v=g[m];f[v]&&f[v].applyVisual(d,s,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),a=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var i=e.getVisualMeta(J(vF,null,t,e))||{stops:[],outerColors:[]},r=e.getDataDimensionIndex(n);r>=0&&(i.dimension=r,a.push(i))}})),t.getData().setVisual("visualMeta",a)}}];function vF(t,e,n,a){for(var i=e.targetVisuals[a],r=eC.prepareVisualTypes(i),o={color:Dm(t.getData(),"color")},l=0,s=r.length;l<s;l++){var u=r[l],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,p,d)}return o.color;function p(t){return o[t]}function d(t,e){o[t]=e}}var bF=X;function xF(t){var e=t&&t.visualMap;tt(e)||(e=e?[e]:[]),bF(e,(function(t){if(t){_F(t,"splitList")&&!_F(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&tt(e)&&bF(e,(function(t){rt(t)&&(_F(t,"start")&&!_F(t,"min")&&(t.min=t.start),_F(t,"end")&&!_F(t,"max")&&(t.max=t.end))}))}}))}function _F(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var wF=!1;function kF(t){wF||(wF=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(gF,mF),X(yF,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(xF))}function SF(t){t.registerComponentModel(eF),t.registerComponentView(pF),kF(t)}var MF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return u(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],IF[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===a?(t.mappingMethod="category",t.categories=N(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=Z(this._pieceList,(function(t){return t=N(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},a=eC.listVisualTypes(),i=this.isCategory();function r(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}X(e.pieces,(function(t){X(a,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),X(n,(function(t,n){var a=!1;X(this.stateList,(function(t){a=a||r(e,t,n)||r(e.target,t,n)}),this),!a&&X(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=YV(n,"inRange"===t?"active":"inactive",i)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,a=this._pieceList,i=(e?n:t).selected||{};if(n.selected=i,X(a,(function(t,e){var n=this.getSelectedMapKey(t);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var r=!1;X(a,(function(t,e){var n=this.getSelectedMapKey(t);i[n]&&(r?i[n]=!1:r=!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=N(t)},e.prototype.getValueState=function(t){var e=eC.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(a){var i=[],r=a.getData();r.each(this.getDataDimensionIndex(r),(function(e,a){eC.findPieceIndex(e,n)===t&&i.push(a)}),this),e.push({seriesId:a.id,dataIndex:i})}),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=["",""],a=this,i=this._pieceList.slice();if(i.length){var r=i[0].interval[0];r!==-1/0&&i.unshift({interval:[-1/0,r]}),(r=i[i.length-1].interval[1])!==1/0&&i.push({interval:[r,1/0]})}else i.push({interval:[-1/0,1/0]});var o=-1/0;return X(i,(function(t){var e=t.interval;e&&(e[0]>o&&l([o,e[0]],"outOfRange"),l(e.slice()),o=e[1])}),this),{stops:e,outerColors:n}}function l(i,r){var o=a.getRepresentValue({interval:i});r||(r=a.getValueState(o));var l=t(o,r);i[0]===-1/0?n[0]=l:i[1]===1/0?n[1]=l:e.push({value:i[0],color:l},{value:i[1],color:l})}},e.type="visualMap.piecewise",e.defaultOption=Ep(QV.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}(QV),IF={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),a=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var r=(a[1]-a[0])/i;+r.toFixed(n)!==r&&n<5;)n++;e.precision=n,r=+r.toFixed(n),e.minOpen&&t.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,l=a[0];o<i;l+=r,o++){var s=o===i-1?a[1]:l+r;t.push({interval:[l,s],close:[1,1]})}e.maxOpen&&t.push({interval:[a[1],1/0],close:[0,0]}),Bi(t),X(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;X(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),TF(e,t)},pieces:function(t){var e=this.option;X(e.pieces,(function(e,n){rt(e)||(e={value:e});var a={text:"",index:n};if(null!=e.label&&(a.text=e.label),e.hasOwnProperty("value")){var i=a.value=e.value;a.interval=[i,i],a.close=[1,1]}else{for(var r=a.interval=[],o=a.close=[0,0],l=[1,0,1],s=[-1/0,1/0],u=[],c=0;c<2;c++){for(var p=[["gte","gt","min"],["lte","lt","max"]][c],d=0;d<3&&null==r[c];d++)r[c]=e[p[d]],o[c]=l[d],u[c]=2===d;null==r[c]&&(r[c]=s[c])}u[0]&&r[1]===1/0&&(o[0]=0),u[1]&&r[0]===-1/0&&(o[1]=0),r[0]===r[1]&&o[0]&&o[1]&&(a.value=r[0])}a.visual=eC.retrieveVisuals(e),t.push(a)}),this),TF(e,t),Bi(t),X(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 TF(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var CF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return u(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),a=e.textStyleModel,i=a.getFont(),r=a.getTextColor(),o=this._getItemAlign(),l=e.itemSize,s=this._getViewData(),u=s.endsText,c=ht(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],l,c,o),X(s.viewPieceList,(function(a){var s=a.piece,u=new pi;u.onclick=J(this._onItemClick,this,s),this._enableHoverLink(u,a.indexInModelPieceList);var p=e.getRepresentValue(s);if(this._createItemSymbol(u,p,[0,0,l[0],l[1]]),c){var d=this.visualMapModel.getValueState(p);u.add(new ts({style:{x:"right"===o?-n:l[0]+n,y:l[1]/2,text:s.text,verticalAlign:"middle",align:o,font:i,fill:r,opacity:"outOfRange"===d?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],l,c,o),Bd(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 a("highlight")})).on("mouseout",(function(){return a("downplay")}));var a=function(t){var a=n.visualMapModel;a.option.hoverLink&&n.api.dispatchAction({type:t,batch:oF(a.findTargetDataIndices(e),a)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return rF(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,a,i){if(e){var r=new pi,o=this.visualMapModel.textStyleModel;r.add(new ts({style:{x:a?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:a?i:"center",text:e,font:o.getFont(),fill:o.getTextColor()}})),t.add(r)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=Z(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),a=t.get("orient"),i=t.get("inverse");return("horizontal"===a?i:!i)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Xm(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,a=N(n.selected),i=e.getSelectedMapKey(t);"single"===n.selectedMode?(a[i]=!0,X(a,(function(t,e){a[e]=e===i}))):a[i]=!a[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})},e.type="visualMap.piecewise",e}(aF);function DF(t){t.registerComponentModel(MF),t.registerComponentView(CF),kF(t)}var AF={label:{enabled:!0},decal:{show:!1}},LF=rr(),PF={};function zF(t,e){var n=t.getModel("aria");if(n.get("enabled")){var a=N(AF);E(a.label,t.getLocaleModel().get("aria"),!1),E(n.option,a,!1),function(){if(n.getModel("decal").get("show")){var e=St();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),LF(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if("function"!=typeof e.enableAriaDecal){var n=e.getData();if(e.isColorBySeries()){var a=_h(e.ecModel,e.name,PF,t.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",u(i,a))}else{var r=e.getRawData(),o={},l=LF(e).scope;n.each((function(t){var e=n.getRawIndex(t);o[e]=t}));var s=r.count();r.each((function(t){var a=o[t],i=r.getName(t)||t+"",c=_h(e.ecModel,i,l,s),p=n.getItemVisual(a,"decal");n.setItemVisual(a,"decal",u(p,c))}))}}else e.enableAriaDecal();function u(t,e){var n=t?V(V({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var a=t.getLocaleModel().get("aria"),r=n.getModel("label");if(r.option=F(r.option,a),!r.get("enabled"))return;var o=e.getZr().dom;if(r.get("description"))return void o.setAttribute("aria-label",r.get("description"));var l,s=t.getSeriesCount(),u=r.get(["data","maxCount"])||10,c=r.get(["series","maxCount"])||10,p=Math.min(s,c);if(s<1)return;var d=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();if(d){var h=r.get(["general","withTitle"]);l=i(h,{title:d})}else l=r.get(["general","withoutTitle"]);var f=[],g=s>1?r.get(["series","multiple","prefix"]):r.get(["series","single","prefix"]);l+=i(g,{seriesCount:s}),t.eachSeries((function(e,n){if(n<p){var a=void 0,o=e.get("name")?"withName":"withoutName";a=i(a=s>1?r.get(["series","multiple",o]):r.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(b=e.subType,t.getLocaleModel().get(["series","typeNames"])[b]||"自定义图")});var l=e.getData();if(l.count()>u)a+=i(r.get(["data","partialData"]),{displayCnt:u});else a+=r.get(["data","allData"]);for(var c=[],d=0;d<l.count();d++)if(d<u){var h=l.getName(d),g=If(l,d),m=r.get(["data",h?"withName":"withoutName"]);c.push(i(m,{name:h,value:g}))}var y=r.get(["data","separator","middle"]),v=r.get(["data","separator","end"]);a+=c.join(y)+v,f.push(a)}var b}));var m=r.getModel(["series","multiple","separator"]),y=m.get("middle"),v=m.get("end");l+=f.join(y)+v,o.setAttribute("aria-label",l)}()}function i(t,e){if("string"!=typeof t)return t;var n=t;return X(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}}function OF(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},X(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var RF={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},NF=function(){function t(t){if(null==(this._condVal=nt(t)?new RegExp(t):pt(t)?t:null)){Ui("")}}return t.prototype.evaluate=function(t){var e=typeof t;return"string"===e?this._condVal.test(t):"number"===e&&this._condVal.test(t+"")},t}(),EF=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),BF=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}(),VF=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}(),FF=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),GF=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,a=0;a<this.subCondList.length;a++)if(!this.subCondList[a].evaluate(t?n:e))return!1;return!0},t}();function HF(t,e){if(!0===t||!1===t){var n=new EF;return n.value=t,n}return UF(t)||Ui(""),t.and?WF("and",t,e):t.or?WF("or",t,e):t.not?function(t,e){var n=t.not,a="";UF(n)||Ui(a);var i=new FF;i.child=HF(n,e),i.child||Ui(a);return i}(t,e):function(t,e){for(var n="",a=e.prepareGetValue(t),i=[],r=$(t),o=t.parser,l=o?Rf(o):null,s=0;s<r.length;s++){var u=r[s];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var c=Tt(RF,u)?RF[u]:u,p=t[u],d=l?l(p):p,h=Ff(c,d)||"reg"===c&&new NF(d);h||Ui(n),i.push(h)}}i.length||Ui(n);var f=new GF;return f.valueGetterParam=a,f.valueParser=l,f.getValue=e.getValue,f.subCondList=i,f}(t,e)}function WF(t,e,n){var a=e[t];tt(a)||Ui(""),a.length||Ui("");var i="and"===t?new BF:new VF;return i.children=Z(a,(function(t){return HF(t,n)})),i.children.length||Ui(""),i}function UF(t){return rt(t)&&!Y(t)}var YF=function(){function t(t,e){this._cond=HF(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var XF={type:"echarts:filter",transform:function(t){for(var e,n,a,i=t.upstream,r=(n=t.config,a={valueGetterAttrMap:St({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;Tt(t,"dimension")||Ui("");var n=i.getDimensionInfo(e);return n||Ui(""),{dimIdx:n.index}},getValue:function(t){return i.retrieveValueFromItem(e,t.dimIdx)}},new YF(n,a)),o=[],l=0,s=i.count();l<s;l++)e=i.getRawDataItem(l),r.evaluate()&&o.push(e);return{data:o}}},ZF={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,a="",i=Zi(n);i.length||Ui(a);var r=[];X(i,(function(t){var n=t.dimension,i=t.order,o=t.parser,l=t.incomparable;if(null==n&&Ui(a),"asc"!==i&&"desc"!==i&&Ui(a),l&&"min"!==l&&"max"!==l){Ui("")}if("asc"!==i&&"desc"!==i){Ui("")}var s=e.getDimensionInfo(n);s||Ui(a);var u=o?Rf(o):null;o&&!u&&Ui(a),r.push({dimIdx:s.index,parser:u,comparator:new Bf(i,l)})}));var o=e.sourceFormat;o!==Jd&&o!==Qd&&Ui(a);for(var l=[],s=0,u=e.count();s<u;s++)l.push(e.getRawDataItem(s));return l.sort((function(t,n){for(var a=0;a<r.length;a++){var i=r[a],o=e.retrieveValueFromItem(t,i.dimIdx),l=e.retrieveValueFromItem(n,i.dimIdx);i.parser&&(o=i.parser(o),l=i.parser(l));var s=i.comparator.evaluate(o,l);if(0!==s)return s}return 0})),{data:l}}};var jF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return u(e,t),e.prototype.init=function(e,n,a){t.prototype.init.call(this,e,n,a),this._sourceManager=new rg(this),og(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),og(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:ah},e}(Xd),qF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return u(e,t),e.type="dataset",e}(zg);var KF=ol.CMD;function $F(t,e){return Math.abs(t-e)<1e-5}function JF(t){var e,n,a,i,r,o=t.data,l=t.len(),s=[],u=0,c=0,p=0,d=0;function h(t,n){e&&e.length>2&&s.push(e),e=[t,n]}function f(t,n,a,i){$F(t,a)&&$F(n,i)||e.push(t,n,a,i,a,i)}function g(t,n,a,i,r,o){var l=Math.abs(n-t),s=4*Math.tan(l/4)/3,u=n<t?-1:1,c=Math.cos(t),p=Math.sin(t),d=Math.cos(n),h=Math.sin(n),f=c*r+a,g=p*o+i,m=d*r+a,y=h*o+i,v=r*s*u,b=o*s*u;e.push(f-v*p,g+b*c,m+v*h,y-b*d,m,y)}for(var m=0;m<l;){var y=o[m++],v=1===m;switch(v&&(p=u=o[m],d=c=o[m+1],y!==KF.L&&y!==KF.C&&y!==KF.Q||(e=[p,d])),y){case KF.M:u=p=o[m++],c=d=o[m++],h(p,d);break;case KF.L:f(u,c,n=o[m++],a=o[m++]),u=n,c=a;break;case KF.C:e.push(o[m++],o[m++],o[m++],o[m++],u=o[m++],c=o[m++]);break;case KF.Q:n=o[m++],a=o[m++],i=o[m++],r=o[m++],e.push(u+2/3*(n-u),c+2/3*(a-c),i+2/3*(n-i),r+2/3*(a-r),i,r),u=i,c=r;break;case KF.A:var b=o[m++],x=o[m++],_=o[m++],w=o[m++],k=o[m++],S=o[m++]+k;m+=1;var M=!o[m++];n=Math.cos(k)*_+b,a=Math.sin(k)*w+x,v?h(p=n,d=a):f(u,c,n,a),u=Math.cos(S)*_+b,c=Math.sin(S)*w+x;for(var I=(M?-1:1)*Math.PI/2,T=k;M?T>S:T<S;T+=I){g(T,M?Math.max(T+I,S):Math.min(T+I,S),b,x,_,w)}break;case KF.R:p=u=o[m++],d=c=o[m++],n=p+o[m++],a=d+o[m++],h(n,d),f(n,d,n,a),f(n,a,p,a),f(p,a,p,d),f(p,d,n,d);break;case KF.Z:e&&f(u,c,p,d),u=p,c=d}}return e&&e.length>2&&s.push(e),s}function QF(t,e,n,a,i,r,o,l,s,u){if($F(t,n)&&$F(e,a)&&$F(i,o)&&$F(r,l))s.push(o,l);else{var c=2/u,p=c*c,d=o-t,h=l-e,f=Math.sqrt(d*d+h*h);d/=f,h/=f;var g=n-t,m=a-e,y=i-o,v=r-l,b=g*g+m*m,x=y*y+v*v;if(b<p&&x<p)s.push(o,l);else{var _=d*g+h*m,w=-d*y-h*v;if(b-_*_<p&&_>=0&&x-w*w<p&&w>=0)s.push(o,l);else{var k=[],S=[];mo(t,n,i,o,.5,k),mo(e,a,r,l,.5,S),QF(k[0],S[0],k[1],S[1],k[2],S[2],k[3],S[3],s,u),QF(k[4],S[4],k[5],S[5],k[6],S[6],k[7],S[7],s,u)}}}}function tG(t,e,n){var a=t[e],i=t[1-e],r=Math.abs(a/i),o=Math.ceil(Math.sqrt(r*n)),l=Math.floor(n/o);0===l&&(l=1,o=n);for(var s=[],u=0;u<o;u++)s.push(l);var c=n-o*l;if(c>0)for(u=0;u<c;u++)s[u%o]+=1;return s}function eG(t,e,n){for(var a=t.r0,i=t.r,r=t.startAngle,o=t.endAngle,l=Math.abs(o-r),s=l*i,u=i-a,c=s>Math.abs(u),p=tG([s,u],c?0:1,e),d=(c?l:u)/p.length,h=0;h<p.length;h++)for(var f=(c?u:l)/p[h],g=0;g<p[h];g++){var m={};c?(m.startAngle=r+d*h,m.endAngle=r+d*(h+1),m.r0=a+f*g,m.r=a+f*(g+1)):(m.startAngle=r+f*g,m.endAngle=r+f*(g+1),m.r0=a+d*h,m.r=a+d*(h+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function nG(t,e,n,a){return t*a-n*e}function aG(t,e,n,a,i,r,o,l){var s=n-t,u=a-e,c=o-i,p=l-r,d=nG(c,p,s,u);if(Math.abs(d)<1e-6)return null;var h=nG(t-i,e-r,c,p)/d;return h<0||h>1?null:new La(h*s+t,h*u+e)}function iG(t,e,n){var a=new La;La.sub(a,n,e),a.normalize();var i=new La;return La.sub(i,t,e),i.dot(a)}function rG(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function oG(t){var e=t.points,n=[],a=[];zo(e,n,a);var i=new Ga(n[0],n[1],a[0]-n[0],a[1]-n[1]),r=i.width,o=i.height,l=i.x,s=i.y,u=new La,c=new La;return r>o?(u.x=c.x=l+r/2,u.y=s,c.y=s+o):(u.y=c.y=s+o/2,u.x=l,c.x=l+r),function(t,e,n){for(var a=t.length,i=[],r=0;r<a;r++){var o=t[r],l=t[(r+1)%a],s=aG(o[0],o[1],l[0],l[1],e.x,e.y,n.x,n.y);s&&i.push({projPt:iG(s,e,n),pt:s,idx:r})}if(i.length<2)return[{points:t},{points:t}];i.sort((function(t,e){return t.projPt-e.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var p=u;u=c,c=p}var d=[u.pt.x,u.pt.y],h=[c.pt.x,c.pt.y],f=[d],g=[h];for(r=u.idx+1;r<=c.idx;r++)rG(f,t[r].slice());for(rG(f,h),rG(f,d),r=c.idx+1;r<=u.idx+a;r++)rG(g,t[r%a].slice());return rG(g,d),rG(g,h),[{points:f},{points:g}]}(e,u,c)}function lG(t,e,n,a){if(1===n)a.push(e);else{var i=Math.floor(n/2),r=t(e);lG(t,r[0],i,a),lG(t,r[1],n-i,a)}return a}function sG(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function uG(t,e){var n,a=[],i=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var a=t.width,i=t.height,r=a>i,o=tG([a,i],r?0:1,e),l=r?"width":"height",s=r?"height":"width",u=r?"x":"y",c=r?"y":"x",p=t[l]/o.length,d=0;d<o.length;d++)for(var h=t[s]/o[d],f=0;f<o[d];f++){var g={};g[u]=d*p,g[c]=f*h,g[l]=p,g[s]=h,g.x+=t.x,g.y+=t.y,n.push(g)}}(i,e,a),n=Hl;break;case"sector":eG(i,e,a),n=Fu;break;case"circle":eG({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},e,a),n=Fu;break;default:var r=t.getComputedTransform(),o=r?Math.sqrt(Math.max(r[0]*r[0]+r[1]*r[1],r[2]*r[2]+r[3]*r[3])):1,l=Z(function(t,e){var n=JF(t),a=[];e=e||1;for(var i=0;i<n.length;i++){var r=n[i],o=[],l=r[0],s=r[1];o.push(l,s);for(var u=2;u<r.length;){var c=r[u++],p=r[u++],d=r[u++],h=r[u++],f=r[u++],g=r[u++];QF(l,s,c,p,d,h,f,g,o,e),l=f,s=g}a.push(o)}return a}(t.getUpdatedPathProxy(),o),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),s=l.length;if(0===s)lG(oG,{points:l[0]},e,a);else if(s===e)for(var u=0;u<s;u++)a.push({points:l[u]});else{var c=0,p=Z(l,(function(t){var e=[],n=[];zo(t,e,n);var a=(n[1]-e[1])*(n[0]-e[0]);return c+=a,{poly:t,area:a}}));p.sort((function(t,e){return e.area-t.area}));var d=e;for(u=0;u<s;u++){var h=p[u];if(d<=0)break;var f=u===s-1?d:Math.ceil(h.area/c*e);f<0||(lG(oG,{points:h.poly},f,a),d-=f)}}n=ju}if(!n)return function(t,e){for(var n=[],a=0;a<e;a++)n.push(vu(t));return n}(t,e);var g=[];for(u=0;u<a.length;u++){var m=new n;m.setShape(a[u]),sG(t,m),g.push(m)}return g}function cG(t,e){var n=t.length,a=e.length;if(n===a)return[t,e];for(var i=[],r=[],o=n<a?t:e,l=Math.min(n,a),s=Math.abs(a-n)/6,u=(l-2)/6,c=Math.ceil(s/u)+1,p=[o[0],o[1]],d=s,h=2;h<l;){var f=o[h-2],g=o[h-1],m=o[h++],y=o[h++],v=o[h++],b=o[h++],x=o[h++],_=o[h++];if(d<=0)p.push(m,y,v,b,x,_);else{for(var w=Math.min(d,c-1)+1,k=1;k<=w;k++){var S=k/w;mo(f,m,v,x,S,i),mo(g,y,b,_,S,r),f=i[3],g=r[3],p.push(i[1],r[1],i[2],r[2],f,g),m=i[5],y=r[5],v=i[6],b=r[6]}d-=w-1}}return o===t?[p,e]:[t,p]}function pG(t,e){for(var n=t.length,a=t[n-2],i=t[n-1],r=[],o=0;o<e.length;)r[o++]=a,r[o++]=i;return r}function dG(t){for(var e=0,n=0,a=0,i=t.length,r=0,o=i-2;r<i;o=r,r+=2){var l=t[o],s=t[o+1],u=t[r],c=t[r+1],p=l*c-u*s;e+=p,n+=(l+u)*p,a+=(s+c)*p}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,a/e/3,e]}function hG(t,e,n,a){for(var i=(t.length-2)/6,r=1/0,o=0,l=t.length,s=l-2,u=0;u<i;u++){for(var c=6*u,p=0,d=0;d<l;d+=2){var h=0===d?c:(c+d-2)%s+2,f=t[h]-n[0],g=t[h+1]-n[1],m=e[d]-a[0]-f,y=e[d+1]-a[1]-g;p+=m*m+y*y}p<r&&(r=p,o=u)}return o}function fG(t){for(var e=[],n=t.length,a=0;a<n;a+=2)e[a]=t[n-a-2],e[a+1]=t[n-a-1];return e}function gG(t){return t.__isCombineMorphing}var mG="__mOriginal_";function yG(t,e,n){var a=mG+e,i=t[a]||t[e];t[a]||(t[a]=t[e]);var r=n.replace,o=n.after,l=n.before;t[e]=function(){var t,e=arguments;return l&&l.apply(this,e),t=r?r.apply(this,e):i.apply(this,e),o&&o.apply(this,e),t}}function vG(t,e){var n=mG+e;t[n]&&(t[e]=t[n],t[n]=null)}function bG(t,e){for(var n=0;n<t.length;n++)for(var a=t[n],i=0;i<a.length;){var r=a[i],o=a[i+1];a[i++]=e[0]*r+e[2]*o+e[4],a[i++]=e[1]*r+e[3]*o+e[5]}}function xG(t,e){var n=t.getUpdatedPathProxy(),a=e.getUpdatedPathProxy(),i=function(t,e){for(var n,a,i,r=[],o=[],l=0;l<Math.max(t.length,e.length);l++){var s=t[l],u=e[l],c=void 0,p=void 0;s?u?(a=c=(n=cG(s,u))[0],i=p=n[1]):(p=pG(i||s,s),c=s):(c=pG(a||u,u),p=u),r.push(c),o.push(p)}return[r,o]}(JF(n),JF(a)),r=i[0],o=i[1],l=t.getComputedTransform(),s=e.getComputedTransform();l&&bG(r,l),s&&bG(o,s),yG(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,a){for(var i,r=[],o=0;o<t.length;o++){var l=t[o],s=e[o],u=dG(l),c=dG(s);null==i&&(i=u[2]<0!=c[2]<0);var p=[],d=[],h=0,f=1/0,g=[],m=l.length;i&&(l=fG(l));for(var y=6*hG(l,s,u,c),v=m-2,b=0;b<v;b+=2){var x=(y+b)%v+2;p[b+2]=l[x]-u[0],p[b+3]=l[x+1]-u[1]}if(p[0]=l[y]-u[0],p[1]=l[y+1]-u[1],n>0)for(var _=a/n,w=-a/2;w<=a/2;w+=_){var k=Math.sin(w),S=Math.cos(w),M=0;for(b=0;b<l.length;b+=2){var I=p[b],T=p[b+1],C=s[b]-c[0],D=s[b+1]-c[1],A=C*S-D*k,L=C*k+D*S;g[b]=A,g[b+1]=L;var P=A-I,z=L-T;M+=P*P+z*z}if(M<f){f=M,h=w;for(var O=0;O<g.length;O++)d[O]=g[O]}}else for(var R=0;R<m;R+=2)d[R]=s[R]-c[0],d[R+1]=s[R+1]-c[1];r.push({from:p,to:d,fromCp:u,toCp:c,rotation:-h})}return r}(r,o,10,Math.PI),c=[];yG(e,"buildPath",{replace:function(t){for(var n=e.__morphT,a=1-n,i=[],r=0;r<u.length;r++){var o=u[r],l=o.from,s=o.to,p=o.rotation*n,d=o.fromCp,h=o.toCp,f=Math.sin(p),g=Math.cos(p);Zt(i,d,h,n);for(var m=0;m<l.length;m+=2){var y=l[m],v=l[m+1],b=y*a+(k=s[m])*n,x=v*a+(S=s[m+1])*n;c[m]=b*g-x*f+i[0],c[m+1]=b*f+x*g+i[1]}var _=c[0],w=c[1];t.moveTo(_,w);for(m=2;m<l.length;){var k=c[m++],S=c[m++],M=c[m++],I=c[m++],T=c[m++],C=c[m++];_===k&&w===S&&M===T&&I===C?t.lineTo(T,C):t.bezierCurveTo(k,S,M,I,T,C),_=T,w=C}}}})}function _G(t,e,n){if(!t||!e)return e;var a=n.done,i=n.during;return xG(t,e),e.__morphT=0,e.animateTo({__morphT:1},F({during:function(t){e.dirtyShape(),i&&i(t)},done:function(){vG(e,"buildPath"),vG(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),a&&a()}},n)),e}function wG(t,e,n,a,i,r){t=i===n?0:Math.round(32767*(t-n)/(i-n)),e=r===a?0:Math.round(32767*(e-a)/(r-a));for(var o,l=0,s=32768;s>0;s/=2){var u=0,c=0;(t&s)>0&&(u=1),(e&s)>0&&(c=1),l+=s*s*(3*u^c),0===c&&(1===u&&(t=s-1-t,e=s-1-e),o=t,t=e,e=o)}return l}function kG(t){var e=1/0,n=1/0,a=-1/0,i=-1/0,r=Z(t,(function(t){var r=t.getBoundingRect(),o=t.getComputedTransform(),l=r.x+r.width/2+(o?o[4]:0),s=r.y+r.height/2+(o?o[5]:0);return e=Math.min(l,e),n=Math.min(s,n),a=Math.max(l,a),i=Math.max(s,i),[l,s]}));return Z(r,(function(r,o){return{cp:r,z:wG(r[0],r[1],e,n,a,i),path:t[o]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function SG(t){return uG(t.path,t.count)}function MG(t){return tt(t[0])}function IG(t,e){for(var n=[],a=t.length,i=0;i<a;i++)n.push({one:t[i],many:[]});for(i=0;i<e.length;i++){var r=e[i].length,o=void 0;for(o=0;o<r;o++)n[o%a].many.push(e[i][o])}var l=0;for(i=a-1;i>=0;i--)if(!n[i].many.length){var s=n[l].many;if(s.length<=1){if(!l)return n;l=0}r=s.length;var u=Math.ceil(r/2);n[i].many=s.slice(u,r),n[l].many=s.slice(0,u),l++}return n}var TG={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),a=0;a<t.count;a++){var i=vu(t.path);i.setStyle("opacity",n),e.push(i)}return e},split:null};function CG(t,e,n,a,i,r){if(t.length&&e.length){var o=Ic("update",a,i);if(o&&o.duration>0){var l,s,u=a.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},o);MG(t)&&(l=t,s=e),MG(e)&&(l=e,s=t);for(var p=l?l===t:t.length>e.length,d=l?IG(s,l):IG(p?e:t,[p?t:e]),h=0,f=0;f<d.length;f++)h+=d[f].many.length;var g=0;for(f=0;f<d.length;f++)m(d[f],p,g,h),g+=d[f].many.length}}function m(t,e,a,i,o){var l=t.many,s=t.one;if(1!==l.length||o)for(var p=F({dividePath:TG[n],individualDelay:u&&function(t,e,n,r){return u(t+a,i)}},c),d=e?function(t,e,n){var a=[];!function t(e){for(var n=0;n<e.length;n++){var i=e[n];gG(i)?t(i.childrenRef()):i instanceof Tl&&a.push(i)}}(t);var i=a.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var r=(n.dividePath||SG)({path:e,count:i});if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};a=kG(a),r=kG(r);for(var o=n.done,l=n.during,s=n.individualDelay,u=new Da,c=0;c<i;c++){var p=a[c],d=r[c];d.parent=e,d.copyTransform(u),s||xG(p,d)}function h(t){for(var e=0;e<r.length;e++)r[e].addSelfToZr(t)}function f(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,vG(e,"addSelfToZr"),vG(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return r},yG(e,"addSelfToZr",{after:function(t){h(t)}}),yG(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<r.length;e++)r[e].removeSelfFromZr(t)}});var g=r.length;if(s){var m=g,y=function(){0==--m&&(f(),o&&o())};for(c=0;c<g;c++){var v=s?F({delay:(n.delay||0)+s(c,g,a[c],r[c]),done:y},n):n;_G(a[c],r[c],v)}}else e.__morphT=0,e.animateTo({__morphT:1},F({during:function(t){for(var n=0;n<g;n++){var a=r[n];a.__morphT=e.__morphT,a.dirtyShape()}l&&l(t)},done:function(){f();for(var e=0;e<t.length;e++)vG(t[e],"updateTransform");o&&o()}},n));return e.__zr&&h(e.__zr),{fromIndividuals:a,toIndividuals:r,count:g}}(l,s,p):function(t,e,n){var a=e.length,i=[],r=n.dividePath||SG;if(gG(t)){!function t(e){for(var n=0;n<e.length;n++){var a=e[n];gG(a)?t(a.childrenRef()):a instanceof Tl&&i.push(a)}}(t.childrenRef());var o=i.length;if(o<a)for(var l=0,s=o;s<a;s++)i.push(vu(i[l++%o]));i.length=a}else{i=r({path:t,count:a});var u=t.getComputedTransform();for(s=0;s<i.length;s++)i[s].setLocalTransform(u);if(i.length!==a)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}i=kG(i),e=kG(e);var c=n.individualDelay;for(s=0;s<a;s++){var p=c?F({delay:(n.delay||0)+c(s,a,i[s],e[s])},n):n;_G(i[s],e[s],p)}return{fromIndividuals:i,toIndividuals:e,count:e.length}}(s,l,p),h=d.fromIndividuals,f=d.toIndividuals,g=h.length,y=0;y<g;y++){v=u?F({delay:u(y,g)},c):c;r(h[y],f[y],e?l[y]:t.one,e?t.one:l[y],v)}else{var v,b=e?l[0]:s,x=e?s:l[0];if(gG(b))m({many:[b],one:x},!0,a,i,!0);else _G(b,x,v=u?F({delay:u(a,i)},c):c),r(b,x,b,x,v)}}}function DG(t){if(!t)return[];if(tt(t)){for(var e=[],n=0;n<t.length;n++)e.push(DG(t[n]));return e}var a=[];return t.traverse((function(t){t instanceof Tl&&!t.disableMorphing&&!t.invisible&&!t.ignore&&a.push(t)})),a}var AG=rr();function LG(t){var e=[];return X(t,(function(t){var n=t.data;if(!(n.count()>1e4))for(var a=n.getIndices(),i=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var a=t.getDimensionInfo(e[n]);if(a&&0===a.otherDims.itemGroupId)return e[n]}}(n),r=0;r<a.length;r++)e.push({data:n,dim:t.dim||i,divide:t.divide,dataIndex:r})})),e}function PG(t,e,n){t.traverse((function(t){t instanceof Tl&&Dc(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function zG(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function OG(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function RG(t,e,n){var a=Ic("update",n,e);a&&t.traverse((function(t){if(t instanceof Qr){var e=function(t){return Mc(t).oldStyle}(t);e&&t.animateFrom({style:e},a)}}))}function NG(t,e,n){var a=LG(t),i=LG(e);function r(t,e,n,a,i){(n||t)&&e.animateFrom({style:(n||t).style},i)}function o(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var l=o(a),s=o(i),u=!1;function c(t,e){return function(n){var a=n.data,i=n.dataIndex;if(e)return a.getId(i);var r=a.hostModel&&a.hostModel.get("dataGroupId"),o=t?l||s:s||l,u=o&&a.getDimensionInfo(o),c=u&&u.ordinalMeta;if(u){var p=a.get(u.name,i);return c&&c.categories[p]||p+""}var d=a.getRawDataItem(i);return d&&d.groupId?d.groupId+"":r||a.getId(i)}}var p=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var a=0;a<n;a++){var i=t[a],r=e[a];if(i.data.getId(i.dataIndex)!==r.data.getId(r.dataIndex))return!1}return!0}(a,i),d={};if(!p)for(var h=0;h<i.length;h++){var f=i[h],g=f.data.getItemGraphicEl(f.dataIndex);g&&(d[g.id]=!0)}function m(t,e){var n=a[e],o=i[t],l=o.data.hostModel,s=n.data.getItemGraphicEl(n.dataIndex),c=o.data.getItemGraphicEl(o.dataIndex);s!==c?s&&d[s.id]||c&&(OG(c),s?(OG(s),zG(s),u=!0,CG(DG(s),DG(c),o.divide,l,t,r)):PG(c,l,t)):c&&RG(c,o.dataIndex,l)}new Db(a,i,c(!0,p),c(!1,p),null,"multiple").update(m).updateManyToOne((function(t,e){var n=i[t],o=n.data,l=o.hostModel,s=o.getItemGraphicEl(n.dataIndex),c=q(Z(e,(function(t){return a[t].data.getItemGraphicEl(a[t].dataIndex)})),(function(t){return t&&t!==s&&!d[t.id]}));s&&(OG(s),c.length?(X(c,(function(t){OG(t),zG(t)})),u=!0,CG(DG(c),DG(s),n.divide,l,t,r)):PG(s,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=a[e],o=n.data.getItemGraphicEl(n.dataIndex);if(!o||!d[o.id]){var l=q(Z(t,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==o})),s=i[t[0]].data.hostModel;l.length&&(X(l,(function(t){return OG(t)})),o?(OG(o),zG(o),u=!0,CG(DG(o),DG(l),n.divide,s,t[0],r)):X(l,(function(e){return PG(e,s,t[0])})))}})).updateManyToMany((function(t,e){new Db(e,t,(function(t){return a[t].data.getId(a[t].dataIndex)}),(function(t){return i[t].data.getId(i[t].dataIndex)})).update((function(n,a){m(t[n],e[a])})).execute()})).execute(),u&&X(e,(function(t){var e=t.data.hostModel,a=e&&n.getViewOfSeriesModel(e),i=Ic("update",e,0);a&&e.isAnimationEnabled()&&i&&i.duration>0&&a.group.traverse((function(t){t instanceof Tl&&!t.animators.length&&t.animateFrom({style:{opacity:0}},i)}))}))}function EG(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function BG(t){return tt(t)?t.sort().join(","):t}function VG(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function FG(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}}Ib([function(t){t.registerPainter("canvas",kk)}]),Ib([function(t){t.registerPainter("svg",hk)}]),Ib([function(t){t.registerChartView(oS),t.registerSeriesModel(Sk),t.registerLayout(lS("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,cS("line"))},function(t){t.registerChartView(xS),t.registerSeriesModel(dS),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,Q(Px,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,zx),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,cS("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(jS),t.registerSeriesModel($S),Lm("pie",t.registerAction),t.registerLayout(Q(FS,"pie")),t.registerProcessor(GS("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"),a=n.get(e,t);return!("number"==typeof a&&!isNaN(a)&&a<0)}))}}}("pie"))},function(t){Ib(KM),t.registerSeriesModel(JS),t.registerChartView(nM),t.registerLayout(lS("scatter"))},function(t){Ib(cI),t.registerChartView(eI),t.registerSeriesModel(nI),t.registerLayout($M),t.registerProcessor(GS("radar")),t.registerPreprocessor(tI)},function(t){Ib($I),t.registerChartView(OI),t.registerSeriesModel(RI),t.registerLayout(EI),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,NI),Lm("map",t.registerAction)},function(t){t.registerChartView(uT),t.registerSeriesModel(LT),t.registerLayout(zT),t.registerVisual(OT),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,a=e.getData().tree.getNodeByDataIndex(n);a.isExpand=!a.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=qI(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))}(t)},function(t){t.registerSeriesModel(BT),t.registerChartView($T),t.registerVisual(fC),t.registerLayout(TC),function(t){for(var e=0;e<NT.length;e++)t.registerAction({type:NT[e],update:"updateView"},RT);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var a=TT(t,["treemapZoomToNode","treemapRootToNode"],e);if(a){var i=e.getViewRoot();i&&(t.direction=DT(i,a.node)?"rollUp":"drillDown"),e.resetViewRoot(a.node)}}))}))}(t)},function(t){t.registerChartView(ID),t.registerSeriesModel(zD),t.registerProcessor(zC),t.registerVisual(OC),t.registerVisual(NC),t.registerLayout(XC),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,QC),t.registerLayout(eD),t.registerCoordinateSystem("graphView",{dimensions:VI.dimensions,create:nD}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),t.registerAction(OD,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=qI(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},function(t){t.registerChartView(VD),t.registerSeriesModel(FD)},function(t){t.registerChartView(WD),t.registerSeriesModel(UD),t.registerLayout(YD),t.registerProcessor(GS("funnel"))},function(t){Ib(yL),t.registerChartView(XD),t.registerSeriesModel($D),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,tA)},function(t){t.registerChartView(xL),t.registerSeriesModel(_L),t.registerLayout(wL),t.registerVisual(OL),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(NL),t.registerChartView(EL),t.registerVisual(WL),t.registerLayout(YL),t.registerTransform(XL)},function(t){t.registerChartView(jL),t.registerSeriesModel(rP),t.registerPreprocessor(oP),t.registerVisual(pP),t.registerLayout(hP)},function(t){t.registerChartView(yP),t.registerSeriesModel(vP),t.registerLayout(lS("effectScatter"))},function(t){t.registerChartView(IP),t.registerSeriesModel(AP),t.registerLayout(MP),t.registerVisual(PP)},function(t){t.registerChartView(RP),t.registerSeriesModel(NP)},function(t){t.registerChartView(FP),t.registerSeriesModel(iz),t.registerLayout(Q(Px,"pictorialBar"))},function(t){t.registerChartView(rz),t.registerSeriesModel(oz),t.registerLayout(lz),t.registerProcessor(GS("themeRiver"))},function(t){t.registerChartView(dz),t.registerSeriesModel(hz),t.registerLayout(Q(mz,"sunburst")),t.registerProcessor(Q(GS,"sunburst")),t.registerVisual(vz),function(t){t.registerAction({type:cz,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var a=TT(t,[cz],e);if(a){var i=e.getViewRoot();i&&(t.direction=DT(i,a.node)?"rollUp":"drillDown"),e.resetViewRoot(a.node)}}))})),t.registerAction({type:pz,update:"none"},(function(t,e,n){t=V({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=TT(t,[pz],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(V(t,{type:"highlight"}))})),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e,n){t=V({},t),n.dispatchAction(V(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView($z),t.registerSeriesModel(wz)}]),Ib((function(t){Ib(KM),Ib(eR)})),Ib((function(t){Ib(eR),BM.registerAxisPointerClass("PolarAxisPointer",nR),t.registerCoordinateSystem("polar",mR),t.registerComponentModel(iR),t.registerComponentView(PR),cM(t,"angle",oR,AR),cM(t,"radius",lR,LR),t.registerComponentView(_R),t.registerComponentView(MR),t.registerLayout(Q(DR,"bar"))})),Ib($I),Ib((function(t){Ib(eR),BM.registerAxisPointerClass("SingleAxisPointer",XR),t.registerComponentView(KR),t.registerComponentView(NR),t.registerComponentModel(BR),cM(t,"single",BR,BR.defaultOption),t.registerCoordinateSystem("single",WR)})),Ib(yL),Ib((function(t){t.registerComponentModel($R),t.registerComponentView(eN),t.registerCoordinateSystem("calendar",aN)})),Ib((function(t){t.registerComponentModel(sN),t.registerComponentView(uN),t.registerPreprocessor(lN)})),Ib((function(t){t.registerComponentModel(RN),t.registerComponentView(EN),zN("saveAsImage",BN),zN("magicType",GN),zN("dataView",jN),zN("dataZoom",mE),zN("restore",QN),Ib(AN)})),Ib((function(t){Ib(eR),t.registerComponentModel(bE),t.registerComponentView(VE),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))})),Ib(eR),Ib((function(t){t.registerComponentView(lB),t.registerComponentModel(sB),t.registerPreprocessor(UE),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,nB),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"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){})),zN("brush",pB)})),Ib((function(t){t.registerComponentModel(dB),t.registerComponentView(hB)})),Ib((function(t){t.registerComponentModel(gB),t.registerComponentView(xB),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var a=e.getComponent("timeline");return a&&null!=t.currentIndex&&(a.setCurrentIndex(t.currentIndex),!a.get("loop",!0)&&a.isIndexMax()&&a.getPlayState()&&(a.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),F({currentIndex:a.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(kB)})),Ib((function(t){t.registerComponentModel(AB),t.registerComponentView(GB),t.registerPreprocessor((function(t){IB(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),Ib((function(t){t.registerComponentModel(HB),t.registerComponentView(qB),t.registerPreprocessor((function(t){IB(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),Ib((function(t){t.registerComponentModel(KB),t.registerComponentView(iV),t.registerPreprocessor((function(t){IB(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),Ib((function(t){Ib(mV),Ib(kV)})),Ib((function(t){Ib(RV),Ib(UV)})),Ib(RV),Ib(UV),Ib((function(t){Ib(SF),Ib(DF)})),Ib(SF),Ib(DF),Ib((function(t){t.registerPreprocessor(OF),t.registerVisual(t.PRIORITY.VISUAL.ARIA,zF)})),Ib((function(t){t.registerTransform(XF),t.registerTransform(ZF)})),Ib((function(t){t.registerComponentModel(jF),t.registerComponentView(qF)})),Ib((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){X(Zi(n.seriesTransition),(function(t){X(Zi(t.to),(function(t){for(var e=n.updatedSeries,a=0;a<e.length;a++)(null!=t.seriesIndex&&t.seriesIndex===e[a].seriesIndex||null!=t.seriesId&&t.seriesId===e[a].id)&&(e[a].__universalTransitionEnabled=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var a=AG(e);if(a.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)X(Zi(i),(function(t){!function(t,e,n,a){var i=[],r=[];X(Zi(t.from),(function(t){var n=FG(e.oldSeries,t);n>=0&&i.push({data:e.oldData[n],divide:VG(e.oldData[n]),dim:t.dimension})})),X(Zi(t.to),(function(t){var e=FG(n.updatedSeries,t);if(e>=0){var a=n.updatedSeries[e].getData();r.push({data:a,divide:VG(a),dim:t.dimension})}})),i.length>0&&r.length>0&&NG(i,r,a)}(t,a,n,e)}));else{var r=function(t,e){var n=St(),a=St(),i=St();return X(t.oldSeries,(function(e,n){var r=t.oldData[n],o=EG(e),l=BG(o);a.set(l,r),tt(o)&&X(o,(function(t){i.set(t,{data:r,key:l})}))})),X(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),r=EG(t),o=BG(r),l=a.get(o);if(l)n.set(o,{oldSeries:[{divide:VG(l),data:l}],newSeries:[{divide:VG(e),data:e}]});else if(tt(r)){var s=[];X(r,(function(t){var e=a.get(t);e&&s.push({divide:VG(e),data:e})})),s.length&&n.set(o,{oldSeries:s,newSeries:[{data:e,divide:VG(e)}]})}else{var u=i.get(r);if(u){var c=n.get(u.key);c||(c={oldSeries:[{data:u.data,divide:VG(u.data)}],newSeries:[]},n.set(u.key,c)),c.newSeries.push({data:e,divide:VG(e)})}}}})),n}(a,n);X(r.keys(),(function(t){var n=r.get(t);NG(n.oldSeries,n.newSeries,e)}))}X(n.updatedSeries,(function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)}))}for(var o=t.getSeries(),l=a.oldSeries=[],s=a.oldData=[],u=0;u<o.length;u++){var c=o[u].getData();c.count()<1e4&&(l.push(o[u]),s.push(c))}}))})),Ib(bw);var GG=Object.freeze({__proto__:null,registerLocale:Up,version:"5.2.1",dependencies:{zrender:"5.2.1"},PRIORITY:vv,init:function(t,e,n){var a=sb(t);if(a)return a;var i=new Yv(t,e,n);return i.id="ec_"+ab++,eb[i.id]=i,dr(t,rb,i.id),Fv(i),fv.trigger("afterinit",i),i},connect:function(t){if(tt(t)){var e=t;t=null,X(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+ib++,X(e,(function(e){e.group=t}))}return nb[t]=!0,t},disConnect:ob,disconnect:lb,dispose:function(t){"string"==typeof t?t=eb[t]:t instanceof Yv||(t=sb(t)),t instanceof Yv&&!t.isDisposed()&&t.dispose()},getInstanceByDom:sb,getInstanceById:function(t){return eb[t]},registerTheme:ub,registerPreprocessor:cb,registerProcessor:pb,registerPostInit:db,registerPostUpdate:hb,registerUpdateLifecycle:fb,registerAction:gb,registerCoordinateSystem:mb,getCoordinateSystemDimensions:function(t){var e=Ah.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},registerLayout:yb,registerVisual:vb,registerLoading:_b,setCanvasCreator:function(t){P("createCanvas",t)},registerMap:wb,getMap:function(t){return dv(t)},registerTransform:kb,dataTool:{},throttle:Xg,use:Ib,parseGeoJSON:Jy,parseGeoJson:Jy,env:b,Model:Op,Axis:z_,innerDrawElementOnCanvas:dy,zrender:vi,matrix:ya,vector:$t,zrUtil:Dt,color:wn,helper:y_,number:v_,time:b_,graphic:x_,format:__,util:w_,List:Qb,ComponentModel:Xd,ComponentView:zg,SeriesModel:Mg,ChartView:Eg,extendComponentModel:function(t){var e=Xd.extend(t);return Xd.registerClass(e),e},extendComponentView:function(t){var e=zg.extend(t);return zg.registerClass(e),e},extendSeriesModel:function(t){var e=Mg.extend(t);return Mg.registerClass(e),e},extendChartView:function(t){var e=Eg.extend(t);return Eg.registerClass(e),e}}),HG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=1;e.default=function(){return"".concat(n++)}})),WG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var a=this,i=arguments.length,r=new Array(i),o=0;o<i;o++)r[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){t.apply(a,r)}),e)}}})),UG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.SensorTabIndex=e.SensorClassName=e.SizeSensorId=void 0;e.SizeSensorId="size-sensor-id";e.SensorClassName="size-sensor-object";e.SensorTabIndex="-1"})),YG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var n,a=(n=WG)&&n.__esModule?n:{default:n};e.createSensor=function(t){var e=void 0,n=[],i=(0,a.default)((function(){n.forEach((function(e){e(t)}))})),r=function(){e&&e.parentNode&&(e.contentDocument&&e.contentDocument.defaultView.removeEventListener("resize",i),e.parentNode.removeChild(e),e=void 0,n=[])};return{element:t,bind:function(a){e||(e=function(){"static"===getComputedStyle(t).position&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",i),i()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",UG.SensorClassName),e.setAttribute("tabindex",UG.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e}()),-1===n.indexOf(a)&&n.push(a)},destroy:r,unbind:function(t){var a=n.indexOf(t);-1!==a&&n.splice(a,1),0===n.length&&e&&r()}}}})),XG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var n,a=(n=WG)&&n.__esModule?n:{default:n};e.createSensor=function(t){var e=void 0,n=[],i=(0,a.default)((function(){n.forEach((function(e){e(t)}))})),r=function(){e.disconnect(),n=[],e=void 0};return{element:t,bind:function(a){var r;e||((r=new ResizeObserver(i)).observe(t),i(),e=r),-1===n.indexOf(a)&&n.push(a)},destroy:r,unbind:function(t){var a=n.indexOf(t);-1!==a&&n.splice(a,1),0===n.length&&e&&r()}}}})),ZG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var n="undefined"!=typeof ResizeObserver?XG.createSensor:YG.createSensor;e.createSensor=n})),jG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.removeSensor=e.getSensor=void 0;var n,a=(n=HG)&&n.__esModule?n:{default:n};var i={};e.getSensor=function(t){var e=t.getAttribute(UG.SizeSensorId);if(e&&i[e])return i[e];var n=(0,a.default)();t.setAttribute(UG.SizeSensorId,n);var r=(0,ZG.createSensor)(t);return i[n]=r,r};e.removeSensor=function(t){var e=t.element.getAttribute(UG.SizeSensorId);t.element.removeAttribute(UG.SizeSensorId),t.destroy(),e&&i[e]&&delete i[e]}})),qG=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;e.bind=function(t,e){var n=(0,jG.getSensor)(t);return n.bind(e),function(){n.unbind(e)}};e.clear=function(t){var e=(0,jG.getSensor)(t);(0,jG.removeSensor)(e)};e.ver="1.0.1"}));function KG(t,e){var n={};return e.forEach((function(e){n[e]=t[e]})),n}function $G(t){return"function"==typeof t}var JG=function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return!1;var a,i,r;if(Array.isArray(e)){if((a=e.length)!=n.length)return!1;for(i=a;0!=i--;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((a=(r=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(i=a;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,r[i]))return!1;for(i=a;0!=i--;){var o=r[i];if(!t(e[o],n[o]))return!1}return!0}return e!=e&&n!=n},QG=function(t){function e(e){var n=t.call(this,e)||this;return n.echarts=e.echarts,n.ele=null,n.isInitialResize=!0,n}return u(e,t),e.prototype.componentDidMount=function(){this.renderNewEcharts()},e.prototype.componentDidUpdate=function(t){var e=this.props.shouldSetOption;if(!$G(e)||e(t,this.props)){if(!JG(t.theme,this.props.theme)||!JG(t.opts,this.props.opts)||!JG(t.onEvents,this.props.onEvents))return this.dispose(),void this.renderNewEcharts();var n=["option","notMerge","lazyUpdate","showLoading","loadingOption"];JG(KG(this.props,n),KG(t,n))||this.updateEChartsOption(),JG(t.style,this.props.style)&&JG(t.className,this.props.className)||this.resize()}},e.prototype.componentWillUnmount=function(){this.dispose()},e.prototype.getEchartsInstance=function(){return this.echarts.getInstanceByDom(this.ele)||this.echarts.init(this.ele,this.props.theme,this.props.opts)},e.prototype.dispose=function(){if(this.ele){try{qG.clear(this.ele)}catch(t){console.warn(t)}this.echarts.dispose(this.ele)}},e.prototype.renderNewEcharts=function(){var t=this,e=this.props,n=e.onEvents,a=e.onChartReady,i=this.updateEChartsOption();this.bindEvents(i,n||{}),$G(a)&&a(i),this.ele&&qG.bind(this.ele,(function(){t.resize()}))},e.prototype.bindEvents=function(t,e){function n(e,n){"string"==typeof e&&$G(n)&&t.on(e,(function(e){n(e,t)}))}for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n(a,e[a])},e.prototype.updateEChartsOption=function(){var t=this.props,e=t.option,n=t.notMerge,a=void 0!==n&&n,i=t.lazyUpdate,r=void 0!==i&&i,o=t.showLoading,l=t.loadingOption,s=void 0===l?null:l,u=this.getEchartsInstance();return u.setOption(e,a,r),o?u.showLoading(s):u.hideLoading(),u},e.prototype.resize=function(){var t=this.getEchartsInstance();if(!this.isInitialResize)try{t.resize()}catch(t){console.warn(t)}this.isInitialResize=!1},e.prototype.render=function(){var t=this,e=this.props,n=e.style,a=e.className,i=void 0===a?"":a,o=c({height:300},n);return r.default.createElement("div",{ref:function(e){t.ele=e},style:o,className:"echarts-for-react "+i})},e}(t.PureComponent),tH=function(t){function e(e){var n=t.call(this,e)||this;return n.echarts=GG,n}return u(e,t),e}(QG),eH=f((function(t,e){!function(t){
/*! *****************************************************************************
        Copyright (c) Microsoft Corporation.

        Permission to use, copy, modify, and/or distribute this software for any
        purpose with or without fee is hereby granted.

        THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
        REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
        AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
        INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
        LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
        OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
        PERFORMANCE OF THIS SOFTWARE.
        ***************************************************************************** */
var e=function(t,n){return(e=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])})(t,n)};function n(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function a(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(a.prototype=n.prototype,new a)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function i(t,e,n){if(n||2===arguments.length)for(var a,i=0,r=e.length;i<r;i++)!a&&i in e||(a||(a=Array.prototype.slice.call(e,0,i)),a[i]=e[i]);return t.concat(a||e)}var r=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},o=new function(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.canvasSupported=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(o.wxa=!0,o.canvasSupported=!0,o.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?(o.worker=!0,o.canvasSupported=!0):"undefined"==typeof navigator?(o.node=!0,o.canvasSupported=!0,o.svgSupported=!0):function(t,e){var n=e.browser,a=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),r=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);a&&(n.firefox=!0,n.version=a[1]),i&&(n.ie=!0,n.version=i[1]),r&&(n.edge=!0,n.version=r[1],n.newEdge=+r[1].split(".")[0]>18),o&&(n.weChat=!0),e.canvasSupported=!!document.createElement("canvas").getContext,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 l=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,o);var l={"[object Function]":!0,"[object RegExp]":!0,"[object Date]":!0,"[object Error]":!0,"[object CanvasGradient]":!0,"[object CanvasPattern]":!0,"[object Image]":!0,"[object Canvas]":!0},s={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0},u=Object.prototype.toString,c=Array.prototype,p=c.forEach,d=c.filter,h=c.slice,f=c.map,g=function(){}.constructor,m=g?g.prototype:null,y="__proto__",v={};function b(t,e){v[t]=e}var x=2311;function _(){return x++}function w(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function k(t){if(null==t||"object"!=typeof t)return t;var e=t,n=u.call(t);if("[object Array]"===n){if(!ut(t)){e=[];for(var a=0,i=t.length;a<i;a++)e[a]=k(t[a])}}else if(s[n]){if(!ut(t)){var r=t.constructor;if(r.from)e=r.from(t);else for(e=new r(t.length),a=0,i=t.length;a<i;a++)e[a]=k(t[a])}}else if(!l[n]&&!ut(t)&&!q(t))for(var o in e={},t)t.hasOwnProperty(o)&&o!==y&&(e[o]=k(t[o]));return e}function S(t,e,n){if(!X(e)||!X(t))return n?k(e):t;for(var a in e)if(e.hasOwnProperty(a)&&a!==y){var i=t[a],r=e[a];!X(r)||!X(i)||G(r)||G(i)||q(r)||q(i)||Z(r)||Z(i)||ut(r)||ut(i)?!n&&a in t||(t[a]=k(e[a])):S(i,r,n)}return t}function M(t,e){for(var n=t[0],a=1,i=t.length;a<i;a++)n=S(n,t[a],e);return n}function I(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==y&&(t[n]=e[n]);return t}function T(t,e,n){for(var a=B(e),i=0;i<a.length;i++){var r=a[i];(n?null!=e[r]:null==t[r])&&(t[r]=e[r])}return t}var C=function(){return v.createCanvas()};function D(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,a=t.length;n<a;n++)if(t[n]===e)return n}return-1}function A(t,e){var n=t.prototype;function a(){}for(var i in a.prototype=e.prototype,t.prototype=new a,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function L(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var a=Object.getOwnPropertyNames(e),i=0;i<a.length;i++){var r=a[i];"constructor"!==r&&(n?null!=e[r]:null==t[r])&&(t[r]=e[r])}else T(t,e,n)}function P(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function z(t,e,n){if(t&&e)if(t.forEach&&t.forEach===p)t.forEach(e,n);else if(t.length===+t.length)for(var a=0,i=t.length;a<i;a++)e.call(n,t[a],a,t);else for(var r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function O(t,e,n){if(!t)return[];if(!e)return at(t);if(t.map&&t.map===f)return t.map(e,n);for(var a=[],i=0,r=t.length;i<r;i++)a.push(e.call(n,t[i],i,t));return a}function R(t,e,n,a){if(t&&e){for(var i=0,r=t.length;i<r;i++)n=e.call(a,n,t[i],i,t);return n}}function N(t,e,n){if(!t)return[];if(!e)return at(t);if(t.filter&&t.filter===d)return t.filter(e,n);for(var a=[],i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t)&&a.push(t[i]);return a}function E(t,e,n){if(t&&e)for(var a=0,i=t.length;a<i;a++)if(e.call(n,t[a],a,t))return t[a]}function B(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}v.createCanvas=function(){return document.createElement("canvas")};var V=m&&H(m.bind)?m.call.bind(m.bind):function(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function F(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function G(t){return Array.isArray?Array.isArray(t):"[object Array]"===u.call(t)}function H(t){return"function"==typeof t}function W(t){return"string"==typeof t}function U(t){return"[object String]"===u.call(t)}function Y(t){return"number"==typeof t}function X(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function Z(t){return!!l[u.call(t)]}function j(t){return!!s[u.call(t)]}function q(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function K(t){return null!=t.colorStops}function $(t){return null!=t.image}function J(t){return"[object RegExp]"===u.call(t)}function Q(t){return t!=t}function tt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,a=t.length;n<a;n++)if(null!=t[n])return t[n]}function et(t,e){return null!=t?t:e}function nt(t,e,n){return null!=t?t:null!=e?e:n}function at(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function it(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 rt(t,e){if(!t)throw new Error(e)}function ot(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var lt="__ec_primitive__";function st(t){t[lt]=!0}function ut(t){return t[lt]}var ct=function(){function t(e){this.data={};var n=G(e);this.data={};var a=this;function i(t,e){n?a.set(t,e):a.set(e,t)}e instanceof t?e.each(i):e&&z(e,i)}return t.prototype.get=function(t){return this.data.hasOwnProperty(t)?this.data[t]:null},t.prototype.set=function(t,e){return this.data[t]=e},t.prototype.each=function(t,e){for(var n in this.data)this.data.hasOwnProperty(n)&&t.call(e,this.data[n],n)},t.prototype.keys=function(){return B(this.data)},t.prototype.removeKey=function(t){delete this.data[t]},t}();function pt(t){return new ct(t)}function dt(t,e){for(var n=new t.constructor(t.length+e.length),a=0;a<t.length;a++)n[a]=t[a];var i=t.length;for(a=0;a<e.length;a++)n[a+i]=e[a];return n}function ht(t,e){var n;if(Object.create)n=Object.create(t);else{var a=function(){};a.prototype=t,n=new a}return e&&I(n,e),n}function ft(t,e){return t.hasOwnProperty(e)}function gt(){}var mt=Object.freeze({__proto__:null,$override:b,guid:_,logError:w,clone:k,merge:S,mergeAll:M,extend:I,defaults:T,createCanvas:C,indexOf:D,inherits:A,mixin:L,isArrayLike:P,each:z,map:O,reduce:R,filter:N,find:E,keys:B,bind:V,curry:F,isArray:G,isFunction:H,isString:W,isStringSafe:U,isNumber:Y,isObject:X,isBuiltInObject:Z,isTypedArray:j,isDom:q,isGradientObject:K,isImagePatternObject:$,isRegExp:J,eqNaN:Q,retrieve:tt,retrieve2:et,retrieve3:nt,slice:at,normalizeCssArray:it,assert:rt,trim:ot,setAsPrimitive:st,isPrimitive:ut,HashMap:ct,createHashMap:pt,concatArray:dt,createObject:ht,hasOwn:ft,noop:gt});function yt(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function vt(t,e){return t[0]=e[0],t[1]=e[1],t}function bt(t){return[t[0],t[1]]}function xt(t,e,n){return t[0]=e,t[1]=n,t}function _t(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function wt(t,e,n,a){return t[0]=e[0]+n[0]*a,t[1]=e[1]+n[1]*a,t}function kt(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function St(t){return Math.sqrt(It(t))}var Mt=St;function It(t){return t[0]*t[0]+t[1]*t[1]}var Tt=It;function Ct(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function Dt(t,e){var n=St(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function At(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Lt=At;function Pt(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var zt=Pt;function Ot(t,e,n,a){return t[0]=e[0]+a*(n[0]-e[0]),t[1]=e[1]+a*(n[1]-e[1]),t}function Rt(t,e,n){var a=e[0],i=e[1];return t[0]=n[0]*a+n[2]*i+n[4],t[1]=n[1]*a+n[3]*i+n[5],t}function Nt(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function Et(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var Bt=Object.freeze({__proto__:null,create:yt,copy:vt,clone:bt,set:xt,add:_t,scaleAndAdd:wt,sub:kt,len:St,length:Mt,lenSquare:It,lengthSquare:Tt,mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},scale:Ct,normalize:Dt,distance:At,dist:Lt,distanceSquare:Pt,distSquare:zt,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},lerp:Ot,applyTransform:Rt,min:Nt,max:Et}),Vt=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},Ft=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&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Vt(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,i=n-this._x,r=a-this._y;this._x=n,this._y=a,e.drift(i,r,t),this.handler.dispatchToElement(new Vt(e,t),"drag",t.event);var o=this.handler.findHover(n,a,e).target,l=this._dropTarget;this._dropTarget=o,e!==o&&(l&&o!==l&&this.handler.dispatchToElement(new Vt(l,t),"dragleave",t.event),o&&o!==l&&this.handler.dispatchToElement(new Vt(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Vt(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Vt(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),Gt=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,a){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(a=n,n=e,e=null),!n||!t)return this;var r=this._$eventProcessor;null!=e&&r&&r.normalizeQuery&&(e=r.normalizeQuery(e)),i[t]||(i[t]=[]);for(var o=0;o<i[t].length;o++)if(i[t][o].h===n)return this;var l={h:n,query:e,ctx:a||this,callAtLast:n.zrEventfulCallAtLast},s=i[t].length-1,u=i[t][s];return u&&u.callAtLast?i[t].splice(s,0,l):i[t].push(l),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 a=[],i=0,r=n[t].length;i<r;i++)n[t][i].h!==e&&a.push(n[t][i]);n[t]=a}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 a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var r=e.length,o=a.length,l=0;l<o;l++){var s=a[l];if(!i||!i.filter||null==s.query||i.filter(t,s.query))switch(r){case 0:s.h.call(s.ctx);break;case 1:s.h.call(s.ctx,e[0]);break;case 2:s.h.call(s.ctx,e[0],e[1]);break;default:s.h.apply(s.ctx,e)}}return i&&i.afterTrigger&&i.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 a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var r=e.length,o=e[r-1],l=a.length,s=0;s<l;s++){var u=a[s];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(r){case 0:u.h.call(o);break;case 1:u.h.call(o,e[0]);break;case 2:u.h.call(o,e[0],e[1]);break;default:u.h.apply(o,e.slice(1,r-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}(),Ht=Math.log(2);function Wt(t,e,n,a,i,r){var o=a+"-"+i,l=t.length;if(r.hasOwnProperty(o))return r[o];if(1===e){var s=Math.round(Math.log((1<<l)-1&~i)/Ht);return t[n][s]}for(var u=a|1<<n,c=n+1;a&1<<c;)c++;for(var p=0,d=0,h=0;d<l;d++){var f=1<<d;f&i||(p+=(h%2?-1:1)*t[n][d]*Wt(t,e-1,c,u,i|f,r),h++)}return r[o]=p,p}function Ut(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]]],a={},i=Wt(n,8,0,0,0,a);if(0!==i){for(var r=[],o=0;o<8;o++)for(var l=0;l<8;l++)null==r[l]&&(r[l]=0),r[l]+=((o+l)%2?-1:1)*Wt(n,7,0===o?1:0,1<<o,1<<l,a)/i*e[o];return function(t,e,n){var a=e*r[6]+n*r[7]+1;t[0]=(e*r[0]+n*r[1]+r[2])/a,t[1]=(e*r[3]+n*r[4]+r[5])/a}}}var Yt=[];function Xt(t,e,n,a,i){if(e.getBoundingClientRect&&o.domSupported&&!Zt(e)){var r=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),l=function(t,e,n){for(var a=n?"invTrans":"trans",i=e[a],r=e.srcCoords,o=[],l=[],s=!0,u=0;u<4;u++){var c=t[u].getBoundingClientRect(),p=2*u,d=c.left,h=c.top;o.push(d,h),s=s&&r&&d===r[p]&&h===r[p+1],l.push(t[u].offsetLeft,t[u].offsetTop)}return s&&i?i:(e.srcCoords=o,e[a]=n?Ut(l,o):Ut(o,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var a=["left","right"],i=["top","bottom"],r=0;r<4;r++){var o=document.createElement("div"),l=r%2,s=(r>>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",a[l]+":0",i[s]+":0",a[1-l]+":auto",i[1-s]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}(e,r),r,i);if(l)return l(t,n,a),!0}return!1}function Zt(t){return"CANVAS"===t.nodeName.toUpperCase()}var jt="undefined"!=typeof window&&!!window.addEventListener,qt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Kt=[];function $t(t,e,n,a){return n=n||{},a||!o.canvasSupported?Jt(t,e,n):o.browser.firefox&&o.browser.version<"39"&&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):Jt(t,e,n),n}function Jt(t,e,n){if(o.domSupported&&t.getBoundingClientRect){var a=e.clientX,i=e.clientY;if(Zt(t)){var r=t.getBoundingClientRect();return n.zrX=a-r.left,void(n.zrY=i-r.top)}if(Xt(Kt,t,a,i))return n.zrX=Kt[0],void(n.zrY=Kt[1])}n.zrX=n.zrY=0}function Qt(t){return t||window.event}function te(t,e,n){if(null!=(e=Qt(e)).zrX)return e;var a=e.type;if(a&&a.indexOf("touch")>=0){var i="touchend"!==a?e.targetTouches[0]:e.changedTouches[0];i&&$t(t,i,e,n)}else{$t(t,e,e,n);var r=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,a=t.deltaY;return null==n||null==a?e:3*(0!==a?Math.abs(a):Math.abs(n))*(a>0?-1:a<0?1:n>0?-1:1)}(e);e.zrDelta=r?r/120:-(e.detail||0)/3}var o=e.button;return null==e.which&&void 0!==o&&qt.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function ee(t,e,n,a){jt?t.addEventListener(e,n,a):t.attachEvent("on"+e,n)}var ne=jt?function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}:function(t){t.returnValue=!1,t.cancelBubble=!0};function ae(t){return 2===t.which||3===t.which}var ie=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 a=t.touches;if(a){for(var i={points:[],touches:[],target:e,event:t},r=0,o=a.length;r<o;r++){var l=a[r],s=$t(n,l,{});i.points.push([s.zrX,s.zrY]),i.touches.push(l)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in oe)if(oe.hasOwnProperty(e)){var n=oe[e](this._track,t);if(n)return n}},t}();function re(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var oe={pinch:function(t,e){var n=t.length;if(n){var a,i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=re(i)/re(r);!isFinite(o)&&(o=1),e.pinchScale=o;var l=[((a=i)[0][0]+a[1][0])/2,(a[0][1]+a[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}},le="silent";function se(){ne(this.event)}var ue=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return n(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Gt),ce=function(t,e){this.x=t,this.y=e},pe=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],de=function(t){function e(e,n,a,i){var r=t.call(this)||this;return r._hovered=new ce(0,0),r.storage=e,r.painter=n,r.painterRoot=i,a=a||new ue,r.proxy=null,r.setHandlerProxy(a),r._draggingMgr=new Ft(r),r}return n(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(z(pe,(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,a=fe(this,e,n),i=this._hovered,r=i.target;r&&!r.__zr&&(r=(i=this.findHover(i.x,i.y)).target);var o=this._hovered=a?new ce(e,n):this.findHover(e,n),l=o.target,s=this.proxy;s.setCursor&&s.setCursor(l?l.cursor:"default"),r&&l!==r&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(o,"mousemove",t),l&&l!==r&&this.dispatchToElement(o,"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 ce(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 a=(t=t||{}).target;if(!a||!a.silent){for(var i="on"+e,r=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:se}}(e,t,n);a&&(a[i]&&(r.cancelBubble=!!a[i].call(a,r)),a.trigger(e,r),a=a.__hostTarget?a.__hostTarget:a.parent,!r.cancelBubble););r.cancelBubble||(this.trigger(e,r),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,r),t.trigger&&t.trigger(e,r)})))}},e.prototype.findHover=function(t,e,n){for(var a=this.storage.getDisplayList(),i=new ce(t,e),r=a.length-1;r>=0;r--){var o=void 0;if(a[r]!==n&&!a[r].ignore&&(o=he(a[r],t,e))&&(!i.topTarget&&(i.topTarget=a[r]),o!==le)){i.target=a[r];break}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new ie);var n=this._gestureMgr;"start"===e&&n.clear();var a=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),a){var i=a.type;t.gestureEvent=i;var r=new ce;r.target=a.target,this.dispatchToElement(r,i,a.event)}},e}(Gt);function he(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var a=t,i=void 0,r=!1;a;){if(a.ignoreClip&&(r=!0),!r){var o=a.getClipPath();if(o&&!o.contain(e,n))return!1;a.silent&&(i=!0)}a=a.__hostTarget||a.parent}return!i||le}return!1}function fe(t,e,n){var a=t.painter;return e<0||e>a.getWidth()||n<0||n>a.getHeight()}function ge(t,e,n,a){var i=e+1;if(i===n)return 1;if(a(t[i++],t[e])<0){for(;i<n&&a(t[i],t[i-1])<0;)i++;!function(t,e,n){for(n--;e<n;){var a=t[e];t[e++]=t[n],t[n--]=a}}(t,e,i)}else for(;i<n&&a(t[i],t[i-1])>=0;)i++;return i-e}function me(t,e,n,a,i){for(a===e&&a++;a<n;a++){for(var r,o=t[a],l=e,s=a;l<s;)i(o,t[r=l+s>>>1])<0?s=r:l=r+1;var u=a-l;switch(u){case 3:t[l+3]=t[l+2];case 2:t[l+2]=t[l+1];case 1:t[l+1]=t[l];break;default:for(;u>0;)t[l+u]=t[l+u-1],u--}t[l]=o}}function ye(t,e,n,a,i,r){var o=0,l=0,s=1;if(r(t,e[n+i])>0){for(l=a-i;s<l&&r(t,e[n+i+s])>0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),o+=i,s+=i}else{for(l=i+1;s<l&&r(t,e[n+i-s])<=0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var u=o;o=i-s,s=i-u}for(o++;o<s;){var c=o+(s-o>>>1);r(t,e[n+c])>0?o=c+1:s=c}return s}function ve(t,e,n,a,i,r){var o=0,l=0,s=1;if(r(t,e[n+i])<0){for(l=i+1;s<l&&r(t,e[n+i-s])<0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l);var u=o;o=i-s,s=i-u}else{for(l=a-i;s<l&&r(t,e[n+i+s])>=0;)o=s,(s=1+(s<<1))<=0&&(s=l);s>l&&(s=l),o+=i,s+=i}for(o++;o<s;){var c=o+(s-o>>>1);r(t,e[n+c])<0?s=c:o=c+1}return s}function be(t,e){var n,a,i=7,r=0;t.length;var o=[];function l(l){var s=n[l],u=a[l],c=n[l+1],p=a[l+1];a[l]=u+p,l===r-3&&(n[l+1]=n[l+2],a[l+1]=a[l+2]),r--;var d=ve(t[c],t,s,u,0,e);s+=d,0!=(u-=d)&&0!==(p=ye(t[s+u-1],t,c,p,p-1,e))&&(u<=p?function(n,a,r,l){var s=0;for(s=0;s<a;s++)o[s]=t[n+s];var u=0,c=r,p=n;if(t[p++]=t[c++],0!=--l)if(1!==a){for(var d,h,f,g=i;;){d=0,h=0,f=!1;do{if(e(t[c],o[u])<0){if(t[p++]=t[c++],h++,d=0,0==--l){f=!0;break}}else if(t[p++]=o[u++],d++,h=0,1==--a){f=!0;break}}while((d|h)<g);if(f)break;do{if(0!==(d=ve(t[c],o,u,a,0,e))){for(s=0;s<d;s++)t[p+s]=o[u+s];if(p+=d,u+=d,(a-=d)<=1){f=!0;break}}if(t[p++]=t[c++],0==--l){f=!0;break}if(0!==(h=ye(o[u],t,c,l,0,e))){for(s=0;s<h;s++)t[p+s]=t[c+s];if(p+=h,c+=h,0==(l-=h)){f=!0;break}}if(t[p++]=o[u++],1==--a){f=!0;break}g--}while(d>=7||h>=7);if(f)break;g<0&&(g=0),g+=2}if((i=g)<1&&(i=1),1===a){for(s=0;s<l;s++)t[p+s]=t[c+s];t[p+l]=o[u]}else{if(0===a)throw new Error;for(s=0;s<a;s++)t[p+s]=o[u+s]}}else{for(s=0;s<l;s++)t[p+s]=t[c+s];t[p+l]=o[u]}else for(s=0;s<a;s++)t[p+s]=o[u+s]}(s,u,c,p):function(n,a,r,l){var s=0;for(s=0;s<l;s++)o[s]=t[r+s];var u=n+a-1,c=l-1,p=r+l-1,d=0,h=0;if(t[p--]=t[u--],0!=--a)if(1!==l){for(var f=i;;){var g=0,m=0,y=!1;do{if(e(o[c],t[u])<0){if(t[p--]=t[u--],g++,m=0,0==--a){y=!0;break}}else if(t[p--]=o[c--],m++,g=0,1==--l){y=!0;break}}while((g|m)<f);if(y)break;do{if(0!=(g=a-ve(o[c],t,n,a,a-1,e))){for(a-=g,h=1+(p-=g),d=1+(u-=g),s=g-1;s>=0;s--)t[h+s]=t[d+s];if(0===a){y=!0;break}}if(t[p--]=o[c--],1==--l){y=!0;break}if(0!=(m=l-ye(t[u],o,0,l,l-1,e))){for(l-=m,h=1+(p-=m),d=1+(c-=m),s=0;s<m;s++)t[h+s]=o[d+s];if(l<=1){y=!0;break}}if(t[p--]=t[u--],0==--a){y=!0;break}f--}while(g>=7||m>=7);if(y)break;f<0&&(f=0),f+=2}if((i=f)<1&&(i=1),1===l){for(h=1+(p-=a),d=1+(u-=a),s=a-1;s>=0;s--)t[h+s]=t[d+s];t[p]=o[c]}else{if(0===l)throw new Error;for(d=p-(l-1),s=0;s<l;s++)t[d+s]=o[s]}}else{for(h=1+(p-=a),d=1+(u-=a),s=a-1;s>=0;s--)t[h+s]=t[d+s];t[p]=o[c]}else for(d=p-(l-1),s=0;s<l;s++)t[d+s]=o[s]}(s,u,c,p))}return n=[],a=[],{mergeRuns:function(){for(;r>1;){var t=r-2;if(t>=1&&a[t-1]<=a[t]+a[t+1]||t>=2&&a[t-2]<=a[t]+a[t-1])a[t-1]<a[t+1]&&t--;else if(a[t]>a[t+1])break;l(t)}},forceMergeRuns:function(){for(;r>1;){var t=r-2;t>0&&a[t-1]<a[t+1]&&t--,l(t)}},pushRun:function(t,e){n[r]=t,a[r]=e,r+=1}}}function xe(t,e,n,a){n||(n=0),a||(a=t.length);var i=a-n;if(!(i<2)){var r=0;if(i<32)me(t,n,a,n+(r=ge(t,n,a,e)),e);else{var o=be(t,e),l=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(i);do{if((r=ge(t,n,a,e))<l){var s=i;s>l&&(s=l),me(t,n,n+s,n+r,e),r=s}o.pushRun(n,r),o.mergeRuns(),i-=r,n+=r}while(0!==i);o.forceMergeRuns()}}}z(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){de.prototype[t]=function(e){var n,a,i=e.zrX,r=e.zrY,o=fe(this,i,r);if("mouseup"===t&&o||(a=(n=this.findHover(i,r)).target),"mousedown"===t)this._downEl=a,this._downPoint=[e.zrX,e.zrY],this._upEl=a;else if("mouseup"===t)this._upEl=a;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||Lt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var _e=!1;function we(){_e||(_e=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ke(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var Se=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ke}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,a=0,i=e.length;a<i;a++)this._updateAndAddDisplayable(e[a],null,t);n.length=this._displayListLen,o.canvasSupported&&xe(n,ke)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var a=t.getClipPath();if(t.ignoreClip)e=null;else if(a){e=e?e.slice():[];for(var i=a,r=t;i;)i.parent=r,i.updateTransform(),e.push(i),r=i,i=i.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),l=0;l<o.length;l++){var s=o[l];t.__dirty&&(s.__dirty|=1),this._updateAndAddDisplayable(s,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)&&(we(),u.z=0),isNaN(u.z2)&&(we(),u.z2=0),isNaN(u.zlevel)&&(we(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextGuideLine();p&&this._updateAndAddDisplayable(p,e,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,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 a=D(this._roots,t);a>=0&&this._roots.splice(a,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}(),Me="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},Ie={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,a=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=a*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.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-Ie.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*Ie.bounceIn(2*t):.5*Ie.bounceOut(2*t-1)+.5}},Te=function(){function t(t){this._initialized=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=null!=t.loop&&t.loop,this.gap=t.gap||0,this.easing=t.easing||"linear",this.onframe=t.onframe,this.ondestroy=t.ondestroy,this.onrestart=t.onrestart}return t.prototype.step=function(t,e){if(this._initialized||(this._startTime=t+this._delay,this._initialized=!0),!this._paused){var n=(t-this._startTime-this._pausedTime)/this._life;n<0&&(n=0),n=Math.min(n,1);var a=this.easing,i="string"==typeof a?Ie[a]:a,r="function"==typeof i?i(n):n;if(this.onframe&&this.onframe(r),1===n){if(!this.loop)return!0;this._restart(t),this.onrestart&&this.onrestart()}return!1}this._pausedTime+=e},t.prototype._restart=function(t){var e=(t-this._startTime-this._pausedTime)%this._life;this._startTime=t-e+this.gap,this._pausedTime=0},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t}(),Ce=function(t){this.value=t},De=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new Ce(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}(),Ae=function(){function t(t){this._list=new De,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,a=this._map,i=null;if(null==a[t]){var r=n.len(),o=this._lastRemovedEntry;if(r>=this._maxSize&&r>0){var l=n.head;n.remove(l),delete a[l.key],i=l.value,this._lastRemovedEntry=l}o?o.value=e:o=new Ce(e),o.key=t,n.insertEntry(o),a[t]=o}return i},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}(),Le={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 Pe(t){return(t=Math.round(t))<0?0:t>255?255:t}function ze(t){return t<0?0:t>1?1:t}function Oe(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?Pe(parseFloat(e)/100*255):Pe(parseInt(e,10))}function Re(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?ze(parseFloat(e)/100):ze(parseFloat(e))}function Ne(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 Ee(t,e,n){return t+(e-t)*n}function Be(t,e,n,a,i){return t[0]=e,t[1]=n,t[2]=a,t[3]=i,t}function Ve(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Fe=new Ae(20),Ge=null;function He(t,e){Ge&&Ve(Ge,e),Ge=Fe.put(t,Ge||e.slice())}function We(t,e){if(t){e=e||[];var n=Fe.get(t);if(n)return Ve(e,n);var a=(t+="").replace(/ /g,"").toLowerCase();if(a in Le)return Ve(e,Le[a]),He(t,e),e;var i,r=a.length;if("#"===a.charAt(0))return 4===r||5===r?(i=parseInt(a.slice(1,4),16))>=0&&i<=4095?(Be(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===r?parseInt(a.slice(4),16)/15:1),He(t,e),e):void Be(e,0,0,0,1):7===r||9===r?(i=parseInt(a.slice(1,7),16))>=0&&i<=16777215?(Be(e,(16711680&i)>>16,(65280&i)>>8,255&i,9===r?parseInt(a.slice(7),16)/255:1),He(t,e),e):void Be(e,0,0,0,1):void 0;var o=a.indexOf("("),l=a.indexOf(")");if(-1!==o&&l+1===r){var s=a.substr(0,o),u=a.substr(o+1,l-(o+1)).split(","),c=1;switch(s){case"rgba":if(4!==u.length)return 3===u.length?Be(e,+u[0],+u[1],+u[2],1):Be(e,0,0,0,1);c=Re(u.pop());case"rgb":return 3!==u.length?void Be(e,0,0,0,1):(Be(e,Oe(u[0]),Oe(u[1]),Oe(u[2]),c),He(t,e),e);case"hsla":return 4!==u.length?void Be(e,0,0,0,1):(u[3]=Re(u[3]),Ue(u,e),He(t,e),e);case"hsl":return 3!==u.length?void Be(e,0,0,0,1):(Ue(u,e),He(t,e),e);default:return}}Be(e,0,0,0,1)}}function Ue(t,e){var n=(parseFloat(t[0])%360+360)%360/360,a=Re(t[1]),i=Re(t[2]),r=i<=.5?i*(a+1):i+a-i*a,o=2*i-r;return Be(e=e||[],Pe(255*Ne(o,r,n+1/3)),Pe(255*Ne(o,r,n)),Pe(255*Ne(o,r,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Ye(t,e){var n=We(t);if(n){for(var a=0;a<3;a++)n[a]=e<0?n[a]*(1-e)|0:(255-n[a])*e+n[a]|0,n[a]>255?n[a]=255:n[a]<0&&(n[a]=0);return Qe(n,4===n.length?"rgba":"rgb")}}function Xe(t){var e=We(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Ze(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var a=t*(e.length-1),i=Math.floor(a),r=Math.ceil(a),o=e[i],l=e[r],s=a-i;return n[0]=Pe(Ee(o[0],l[0],s)),n[1]=Pe(Ee(o[1],l[1],s)),n[2]=Pe(Ee(o[2],l[2],s)),n[3]=ze(Ee(o[3],l[3],s)),n}}var je=Ze;function qe(t,e,n){if(e&&e.length&&t>=0&&t<=1){var a=t*(e.length-1),i=Math.floor(a),r=Math.ceil(a),o=We(e[i]),l=We(e[r]),s=a-i,u=Qe([Pe(Ee(o[0],l[0],s)),Pe(Ee(o[1],l[1],s)),Pe(Ee(o[2],l[2],s)),ze(Ee(o[3],l[3],s))],"rgba");return n?{color:u,leftIndex:i,rightIndex:r,value:a}:u}}var Ke=qe;function $e(t,e,n,a){var i=We(t);if(t)return i=function(t){if(t){var e,n,a=t[0]/255,i=t[1]/255,r=t[2]/255,o=Math.min(a,i,r),l=Math.max(a,i,r),s=l-o,u=(l+o)/2;if(0===s)e=0,n=0;else{n=u<.5?s/(l+o):s/(2-l-o);var c=((l-a)/6+s/2)/s,p=((l-i)/6+s/2)/s,d=((l-r)/6+s/2)/s;a===l?e=d-p:i===l?e=1/3+c-d:r===l&&(e=2/3+p-c),e<0&&(e+=1),e>1&&(e-=1)}var h=[360*e,n,u];return null!=t[3]&&h.push(t[3]),h}}(i),null!=e&&(i[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(i[1]=Re(n)),null!=a&&(i[2]=Re(a)),Qe(Ue(i),"rgba")}function Je(t,e){var n=We(t);if(n&&null!=e)return n[3]=ze(e),Qe(n,"rgba")}function Qe(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 tn(t,e){var n=We(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var en=Object.freeze({__proto__:null,parse:We,lift:Ye,toHex:Xe,fastLerp:Ze,fastMapToColor:je,lerp:qe,mapToColor:Ke,modifyHSL:$e,modifyAlpha:Je,stringify:Qe,lum:tn,random:function(){return"rgb("+Math.round(255*Math.random())+","+Math.round(255*Math.random())+","+Math.round(255*Math.random())+")"}}),nn=Array.prototype.slice;function an(t,e,n){return(e-t)*n+t}function rn(t,e,n,a){for(var i=e.length,r=0;r<i;r++)t[r]=an(e[r],n[r],a)}function on(t,e,n,a){for(var i=e.length,r=0;r<i;r++)t[r]=e[r]+n[r]*a;return t}function ln(t,e,n,a){for(var i=e.length,r=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var l=0;l<r;l++)t[o][l]=e[o][l]+n[o][l]*a}return t}function sn(t,e,n){var a=t,i=e;if(a.push&&i.push){var r=a.length,o=i.length;if(r!==o)if(r>o)a.length=o;else for(var l=r;l<o;l++)a.push(1===n?i[l]:nn.call(i[l]));var s=a[0]&&a[0].length;for(l=0;l<a.length;l++)if(1===n)isNaN(a[l])&&(a[l]=i[l]);else for(var u=0;u<s;u++)isNaN(a[l][u])&&(a[l][u]=i[l][u])}}function un(t,e){var n=t.length;if(n!==e.length)return!1;for(var a=0;a<n;a++)if(t[a]!==e[a])return!1;return!0}function cn(t,e,n,a,i,r,o){var l=.5*(n-t),s=.5*(a-e);return(2*(e-n)+l+s)*o+(-3*(e-n)-2*l-s)*r+l*i+e}function pn(t,e,n,a,i,r,o,l){for(var s=e.length,u=0;u<s;u++)t[u]=cn(e[u],n[u],a[u],i[u],r,o,l)}function dn(t){if(P(t)){var e=t.length;if(P(t[0])){for(var n=[],a=0;a<e;a++)n.push(nn.call(t[a]));return n}return nn.call(t)}return t}function hn(t){return t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.floor(t[2]),"rgba("+t.join(",")+")"}var fn,gn,mn=[0,0,0,0],yn=function(){function t(t){this.keyframes=[],this.maxTime=0,this.arrDim=0,this.interpolable=!0,this._needsSort=!1,this._isAllValueEqual=!0,this._lastFrame=0,this._lastFramePercent=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._isAllValueEqual&&this.keyframes.length>=2&&this.interpolable&&this.maxTime>0},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e){t>=this.maxTime?this.maxTime=t:this._needsSort=!0;var n=this.keyframes,a=n.length;if(this.interpolable)if(P(e)){var i=function(t){return P(t&&t[0])?2:1}(e);if(a>0&&this.arrDim!==i)return void(this.interpolable=!1);if(1===i&&"number"!=typeof e[0]||2===i&&"number"!=typeof e[0][0])return void(this.interpolable=!1);if(a>0){var r=n[a-1];this._isAllValueEqual&&(1===i&&un(e,r.value)||(this._isAllValueEqual=!1))}this.arrDim=i}else{if(this.arrDim>0)return void(this.interpolable=!1);if("string"==typeof e){var o=We(e);o?(e=o,this.isValueColor=!0):this.interpolable=!1}else if("number"!=typeof e||isNaN(e))return void(this.interpolable=!1);this._isAllValueEqual&&a>0&&(r=n[a-1],(this.isValueColor&&!un(r.value,e)||r.value!==e)&&(this._isAllValueEqual=!1))}var l={time:t,value:e,percent:0};return this.keyframes.push(l),l},t.prototype.prepare=function(t){var e=this.keyframes;this._needsSort&&e.sort((function(t,e){return t.time-e.time}));for(var n=this.arrDim,a=e.length,i=e[a-1],r=0;r<a;r++)e[r].percent=e[r].time/this.maxTime,n>0&&r!==a-1&&sn(e[r].value,i.value,n);if(t&&this.needsAnimate()&&t.needsAnimate()&&n===t.arrDim&&this.isValueColor===t.isValueColor&&!t._finished){this._additiveTrack=t;var o=e[0].value;for(r=0;r<a;r++)0===n?this.isValueColor?e[r].additiveValue=on([],e[r].value,o,-1):e[r].additiveValue=e[r].value-o:1===n?e[r].additiveValue=on([],e[r].value,o,-1):2===n&&(e[r].additiveValue=ln([],e[r].value,o,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,a=null!=this._additiveTrack,i=a?"additiveValue":"value",r=this.keyframes,o=this.keyframes.length,l=this.propName,s=this.arrDim,u=this.isValueColor;if(e<0)n=0;else if(e<this._lastFramePercent){for(n=Math.min(this._lastFrame+1,o-1);n>=0&&!(r[n].percent<=e);n--);n=Math.min(n,o-2)}else{for(n=this._lastFrame;n<o&&!(r[n].percent>e);n++);n=Math.min(n-1,o-2)}var c=r[n+1],p=r[n];if(p&&c){this._lastFrame=n,this._lastFramePercent=e;var d=c.percent-p.percent;if(0!==d){var h=(e-p.percent)/d,f=a?this._additiveValue:u?mn:t[l];if((s>0||u)&&!f&&(f=this._additiveValue=[]),this.useSpline){var g=r[n][i],m=r[0===n?n:n-1][i],y=r[n>o-2?o-1:n+1][i],v=r[n>o-3?o-1:n+2][i];if(s>0)1===s?pn(f,m,g,y,v,h,h*h,h*h*h):function(t,e,n,a,i,r,o,l){for(var s=e.length,u=e[0].length,c=0;c<s;c++){t[c]||(t[1]=[]);for(var p=0;p<u;p++)t[c][p]=cn(e[c][p],n[c][p],a[c][p],i[c][p],r,o,l)}}(f,m,g,y,v,h,h*h,h*h*h);else if(u)pn(f,m,g,y,v,h,h*h,h*h*h),a||(t[l]=hn(f));else{var b=void 0;b=this.interpolable?cn(m,g,y,v,h,h*h,h*h*h):y,a?this._additiveValue=b:t[l]=b}}else s>0?1===s?rn(f,p[i],c[i],h):function(t,e,n,a){for(var i=e.length,r=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var l=0;l<r;l++)t[o][l]=an(e[o][l],n[o][l],a)}}(f,p[i],c[i],h):u?(rn(f,p[i],c[i],h),a||(t[l]=hn(f))):(b=void 0,b=this.interpolable?an(p[i],c[i],h):function(t,e,n){return n>.5?e:t}(p[i],c[i],h),a?this._additiveValue=b:t[l]=b);a&&this._addToTarget(t)}}}},t.prototype._addToTarget=function(t){var e=this.arrDim,n=this.propName,a=this._additiveValue;0===e?this.isValueColor?(We(t[n],mn),on(mn,mn,a,1),t[n]=hn(mn)):t[n]=t[n]+a:1===e?on(t[n],t[n],a,1):2===e&&ln(t[n],t[n],a,1)},t}(),vn=function(){function t(t,e,n){this._tracks={},this._trackKeys=[],this._delay=0,this._maxTime=0,this._paused=!1,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&n?w("Can' use additive animation on looped animation."):this._additiveAnimators=n}return t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e){return this.whenWithKeys(t,e,B(e))},t.prototype.whenWithKeys=function(t,e,n){for(var a=this._tracks,i=0;i<n.length;i++){var r=n[i],o=a[r];if(!o){o=a[r]=new yn(r);var l=void 0,s=this._getAdditiveTrack(r);if(s){var u=s.keyframes[s.keyframes.length-1];l=u&&u.value,s.isValueColor&&l&&(l=hn(l))}else l=this._target[r];if(null==l)continue;0!==t&&o.addKeyframe(0,dn(l)),this._trackKeys.push(r)}o.addKeyframe(t,dn(e[r]))}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._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 a=0;a<n.length;a++){var i=n[a].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t,e){if(!(this._started>0)){this._started=1;for(var n=this,a=[],i=0;i<this._trackKeys.length;i++){var r=this._trackKeys[i],o=this._tracks[r],l=this._getAdditiveTrack(r),s=o.keyframes;if(o.prepare(l),o.needsAnimate())a.push(o);else if(!o.interpolable){var u=s[s.length-1];u&&(n._target[o.propName]=u.value)}}if(a.length||e){var c=new Te({life:this._maxTime,loop:this._loop,delay:this._delay,onframe:function(t){n._started=2;var e=n._additiveAnimators;if(e){for(var i=!1,r=0;r<e.length;r++)if(e[r]._clip){i=!0;break}i||(n._additiveAnimators=null)}for(r=0;r<a.length;r++)a[r].step(n._target,t);var o=n._onframeCbs;if(o)for(r=0;r<o.length;r++)o[r](n._target,t)},ondestroy:function(){n._doneCallback()}});this._clip=c,this.animation&&this.animation.addClip(c),t&&"spline"!==t&&(c.easing=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.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,a=this._trackKeys,i=0;i<t.length;i++){var r=n[t[i]];r&&(e?r.step(this._target,1):1===this._started&&r.step(this._target,0),r.setFinished())}var o=!0;for(i=0;i<a.length;i++)if(!n[a[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveFinalToTarget=function(t,e){if(t){e=e||this._trackKeys;for(var n=0;n<e.length;n++){var a=e[n],i=this._tracks[a];if(i&&!i.isFinished()){var r=i.keyframes,o=r[r.length-1];if(o){var l=dn(o.value);i.isValueColor&&(l=hn(l)),t[a]=l}}}}},t.prototype.__changeFinalValue=function(t,e){e=e||B(t);for(var n=0;n<e.length;n++){var a=e[n],i=this._tracks[a];if(i){var r=i.keyframes;if(r.length>1){var o=r.pop();i.addKeyframe(o.time,t[a]),i.prepare(i.getAdditiveTrack())}}}},t}(),bn=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.onframe=e.onframe||function(){},n}return n(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._clipsHead?(this._clipsTail.next=t,t.prev=this._clipsTail,t.next=null,this._clipsTail=t):this._clipsHead=this._clipsTail=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._clipsHead=n,n?n.prev=e:this._clipsTail=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=(new Date).getTime()-this._pausedTime,n=e-this._time,a=this._clipsHead;a;){var i=a.next;a.step(e,n)?(a.ondestroy&&a.ondestroy(),this.removeClip(a),a=i):a=i}this._time=e,t||(this.onframe(n),this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,Me((function e(){t._running&&(Me(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=(new Date).getTime(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=(new Date).getTime(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=(new Date).getTime()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._clipsHead;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._clipsHead=this._clipsTail=null},e.prototype.isFinished=function(){return null==this._clipsHead},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new vn(t,e.loop);return this.addAnimator(n),n},e}(Gt),xn=o.domSupported,_n=(gn={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:fn=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:O(fn,(function(t){var e=t.replace("mouse","pointer");return gn.hasOwnProperty(e)?e:t}))}),wn=["mousemove","mouseup"],kn=["pointermove","pointerup"],Sn=!1;function Mn(t){var e=t.pointerType;return"pen"===e||"touch"===e}function In(t){t&&(t.zrByTouch=!0)}function Tn(t,e){for(var n=e,a=!1;n&&9!==n.nodeType&&!(a=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return a}var Cn=function(t,e){this.stopPropagation=gt,this.stopImmediatePropagation=gt,this.preventDefault=gt,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},Dn={mousedown:function(t){t=te(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=te(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=te(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){Tn(this,(t=te(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Sn=!0,t=te(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Sn||(t=te(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){In(t=te(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Dn.mousemove.call(this,t),Dn.mousedown.call(this,t)},touchmove:function(t){In(t=te(this.dom,t)),this.handler.processGesture(t,"change"),Dn.mousemove.call(this,t)},touchend:function(t){In(t=te(this.dom,t)),this.handler.processGesture(t,"end"),Dn.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&Dn.click.call(this,t)},pointerdown:function(t){Dn.mousedown.call(this,t)},pointermove:function(t){Mn(t)||Dn.mousemove.call(this,t)},pointerup:function(t){Dn.mouseup.call(this,t)},pointerout:function(t){Mn(t)||Dn.mouseout.call(this,t)}};z(["click","dblclick","contextmenu"],(function(t){Dn[t]=function(e){e=te(this.dom,e),this.trigger(t,e)}}));var An={pointermove:function(t){Mn(t)||An.mousemove.call(this,t)},pointerup:function(t){An.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 Ln(t,e){var n=e.domHandlers;o.pointerEventsSupported?z(_n.pointer,(function(a){zn(e,a,(function(e){n[a].call(t,e)}))})):(o.touchEventsSupported&&z(_n.touch,(function(a){zn(e,a,(function(i){n[a].call(t,i),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)}))})),z(_n.mouse,(function(a){zn(e,a,(function(i){i=Qt(i),e.touching||n[a].call(t,i)}))})))}function Pn(t,e){function n(n){zn(e,n,(function(a){a=Qt(a),Tn(t,a.target)||(a=function(t,e){return te(t.dom,new Cn(t,e),!0)}(t,a),e.domHandlers[n].call(t,a))}),{capture:!0})}o.pointerEventsSupported?z(kn,n):o.touchEventsSupported||z(wn,n)}function zn(t,e,n,a){t.mounted[e]=n,t.listenerOpts[e]=a,ee(t.domTarget,e,n,a)}function On(t){var e,n,a,i,r=t.mounted;for(var o in r)r.hasOwnProperty(o)&&(e=t.domTarget,n=o,a=r[o],i=t.listenerOpts[o],jt?e.removeEventListener(n,a,i):e.detachEvent("on"+n,a));t.mounted={}}var Rn=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},Nn=function(t){function e(e,n){var a=t.call(this)||this;return a.__pointerCapturing=!1,a.dom=e,a.painterRoot=n,a._localHandlerScope=new Rn(e,Dn),xn&&(a._globalHandlerScope=new Rn(document,An)),Ln(a,a._localHandlerScope),a}return n(e,t),e.prototype.dispose=function(){On(this._localHandlerScope),xn&&On(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,xn&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?Pn(this,e):On(e)}},e}(Gt),En=1;"undefined"!=typeof window&&(En=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Bn=En,Vn="#333",Fn="#ccc";function Gn(){return[1,0,0,1,0,0]}function Hn(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Wn(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 Un(t,e,n){var a=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],r=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],l=e[0]*n[4]+e[2]*n[5]+e[4],s=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=a,t[1]=i,t[2]=r,t[3]=o,t[4]=l,t[5]=s,t}function Yn(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 Xn(t,e,n){var a=e[0],i=e[2],r=e[4],o=e[1],l=e[3],s=e[5],u=Math.sin(n),c=Math.cos(n);return t[0]=a*c+o*u,t[1]=-a*u+o*c,t[2]=i*c+l*u,t[3]=-i*u+c*l,t[4]=c*r+u*s,t[5]=c*s-u*r,t}function Zn(t,e,n){var a=n[0],i=n[1];return t[0]=e[0]*a,t[1]=e[1]*i,t[2]=e[2]*a,t[3]=e[3]*i,t[4]=e[4]*a,t[5]=e[5]*i,t}function jn(t,e){var n=e[0],a=e[2],i=e[4],r=e[1],o=e[3],l=e[5],s=n*o-r*a;return s?(s=1/s,t[0]=o*s,t[1]=-r*s,t[2]=-a*s,t[3]=n*s,t[4]=(a*l-o*i)*s,t[5]=(r*i-n*l)*s,t):null}function qn(t){var e=[1,0,0,1,0,0];return Wn(e,t),e}var Kn=Object.freeze({__proto__:null,create:Gn,identity:Hn,copy:Wn,mul:Un,translate:Yn,rotate:Xn,scale:Zn,invert:jn,clone:qn}),$n=Hn,Jn=5e-5;function Qn(t){return t>Jn||t<-5e-5}var ta,ea,na=[],aa=[],ia=[1,0,0,1,0,0],ra=Math.abs,oa=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 Qn(this.rotation)||Qn(this.x)||Qn(this.y)||Qn(this.scaleX-1)||Qn(this.scaleY-1)},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):$n(n),t&&(e?Un(n,t,n):Wn(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&$n(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(na);var n=na[0]<0?-1:1,a=na[1]<0?-1:1,i=((na[0]-n)*e+n)/na[0]||0,r=((na[1]-a)*e+a)/na[1]||0;t[0]*=i,t[1]*=i,t[2]*=r,t[3]*=r}this.invTransform=this.invTransform||[1,0,0,1,0,0],jn(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],a=Math.atan2(t[1],t[0]),i=Math.PI/2+a-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-a,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&&(Un(aa,t.invTransform,e),e=aa);var n=this.originX,a=this.originY;(n||a)&&(ia[4]=n,ia[5]=a,Un(aa,e,ia),aa[4]-=n,aa[5]-=a,e=aa),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],a=this.invTransform;return a&&Rt(n,n,a),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],a=this.transform;return a&&Rt(n,n,a),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&ra(t[0]-1)>1e-10&&ra(t[3]-1)>1e-10?Math.sqrt(ra(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){for(var e=0;e<la.length;e++){var n=la[e];this[n]=t[n]}},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,a=t.originY||0,i=t.scaleX,r=t.scaleY,o=t.rotation||0,l=t.x,s=t.y,u=t.skewX?Math.tan(t.skewX):0,c=t.skewY?Math.tan(-t.skewY):0;return n||a?(e[4]=-n*i-u*a*r,e[5]=-a*r-c*n*i):e[4]=e[5]=0,e[0]=i,e[3]=r,e[1]=c*i,e[2]=u*r,o&&Xn(e,e,o),e[4]+=n+l,e[5]+=a+s,e},t.initDefaultProps=function(){var e=t.prototype;e.x=0,e.y=0,e.scaleX=1,e.scaleY=1,e.originX=0,e.originY=0,e.skewX=0,e.skewY=0,e.rotation=0,e.globalScaleRatio=1}(),t}(),la=["x","y","originX","originY","rotation","scaleX","scaleY","skewX","skewY"],sa=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,a){t.x=e.x+n.x*a,t.y=e.y+n.y*a},t.lerp=function(t,e,n,a){var i=1-a;t.x=i*e.x+a*n.x,t.y=i*e.y+a*n.y},t}(),ua=Math.min,ca=Math.max,pa=new sa,da=new sa,ha=new sa,fa=new sa,ga=new sa,ma=new sa,ya=function(){function t(t,e,n,a){n<0&&(t+=n,n=-n),a<0&&(e+=a,a=-a),this.x=t,this.y=e,this.width=n,this.height=a}return t.prototype.union=function(t){var e=ua(t.x,this.x),n=ua(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=ca(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=ca(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,a=t.height/e.height,i=[1,0,0,1,0,0];return Yn(i,i,[-e.x,-e.y]),Zn(i,i,[n,a]),Yn(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var a=this,i=a.x,r=a.x+a.width,o=a.y,l=a.y+a.height,s=e.x,u=e.x+e.width,c=e.y,p=e.y+e.height,d=!(r<s||u<i||l<c||p<o);if(n){var h=1/0,f=0,g=Math.abs(r-s),m=Math.abs(u-i),y=Math.abs(l-c),v=Math.abs(p-o),b=Math.min(g,m),x=Math.min(y,v);r<s||u<i?b>f&&(f=b,g<m?sa.set(ma,-g,0):sa.set(ma,m,0)):b<h&&(h=b,g<m?sa.set(ga,g,0):sa.set(ga,-m,0)),l<c||p<o?x>f&&(f=x,y<v?sa.set(ma,0,-y):sa.set(ma,0,v)):b<h&&(h=b,y<v?sa.set(ga,0,y):sa.set(ga,0,-v))}return n&&sa.copy(n,d?ga:ma),d},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,a){if(a){if(a[1]<1e-5&&a[1]>-1e-5&&a[2]<1e-5&&a[2]>-1e-5){var i=a[0],r=a[3],o=a[4],l=a[5];return e.x=n.x*i+o,e.y=n.y*r+l,e.width=n.width*i,e.height=n.height*r,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}pa.x=ha.x=n.x,pa.y=fa.y=n.y,da.x=fa.x=n.x+n.width,da.y=ha.y=n.y+n.height,pa.transform(a),fa.transform(a),da.transform(a),ha.transform(a),e.x=ua(pa.x,da.x,ha.x,fa.x),e.y=ua(pa.y,da.y,ha.y,fa.y);var s=ca(pa.x,da.x,ha.x,fa.x),u=ca(pa.y,da.y,ha.y,fa.y);e.width=s-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),va={},ba="12px sans-serif",xa={measureText:function(t,e){return ta||(ta=C().getContext("2d")),ea!==e&&(ea=ta.font=e||ba),ta.measureText(t)}};function _a(t,e){var n=va[e=e||ba];n||(n=va[e]=new Ae(500));var a=n.get(t);return null==a&&(a=xa.measureText(t,e).width,n.put(t,a)),a}function wa(t,e,n,a){var i=_a(t,e),r=Ia(e),o=Sa(0,i,n),l=Ma(0,r,a);return new ya(o,l,i,r)}function ka(t,e,n,a){var i=((t||"")+"").split("\n");if(1===i.length)return wa(i[0],e,n,a);for(var r=new ya(0,0,0,0),o=0;o<i.length;o++){var l=wa(i[o],e,n,a);0===o?r.copy(l):r.union(l)}return r}function Sa(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function Ma(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function Ia(t){return _a("国",t)}function Ta(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function Ca(t,e,n){var a=e.position||"inside",i=null!=e.distance?e.distance:5,r=n.height,o=n.width,l=r/2,s=n.x,u=n.y,c="left",p="top";if(a instanceof Array)s+=Ta(a[0],n.width),u+=Ta(a[1],n.height),c=null,p=null;else switch(a){case"left":s-=i,u+=l,c="right",p="middle";break;case"right":s+=i+o,u+=l,p="middle";break;case"top":s+=o/2,u-=i,c="center",p="bottom";break;case"bottom":s+=o/2,u+=r+i,c="center";break;case"inside":s+=o/2,u+=l,c="center",p="middle";break;case"insideLeft":s+=i,u+=l,p="middle";break;case"insideRight":s+=o-i,u+=l,c="right",p="middle";break;case"insideTop":s+=o/2,u+=i,c="center";break;case"insideBottom":s+=o/2,u+=r-i,c="center",p="bottom";break;case"insideTopLeft":s+=i,u+=i;break;case"insideTopRight":s+=o-i,u+=i,c="right";break;case"insideBottomLeft":s+=i,u+=r-i,p="bottom";break;case"insideBottomRight":s+=o-i,u+=r-i,c="right",p="bottom"}return(t=t||{}).x=s,t.y=u,t.align=c,t.verticalAlign=p,t}var Da="__zr_normal__",Aa=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],La={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},Pa={},za=new ya(0,0,0,0),Oa=function(){function t(t){this.id=_(),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 a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[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,a=n.local,i=e.innerTransformable,r=void 0,o=void 0,l=!1;i.parent=a?this:null;var s=!1;if(i.copyTransform(e),null!=n.position){var u=za;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),a||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Pa,n,u):Ca(Pa,n,u),i.x=Pa.x,i.y=Pa.y,r=Pa.align,o=Pa.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var p=void 0,d=void 0;"center"===c?(p=.5*u.width,d=.5*u.height):(p=Ta(c[0],u.width),d=Ta(c[1],u.height)),s=!0,i.originX=-i.x+p+(a?0:u.x),i.originY=-i.y+d+(a?0:u.y)}}null!=n.rotation&&(i.rotation=n.rotation);var h=n.offset;h&&(i.x+=h[0],i.y+=h[1],s||(i.originX=-h[0],i.originY=-h[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,v=void 0;f&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,null!=m&&"auto"!==m||(m=this.getInsideTextFill()),null!=y&&"auto"!==y||(y=this.getInsideTextStroke(m),v=!0)):(m=n.outsideFill,y=n.outsideStroke,null!=m&&"auto"!==m||(m=this.getOutsideFill()),null!=y&&"auto"!==y||(y=this.getOutsideStroke(m),v=!0)),(m=m||"#000")===g.fill&&y===g.stroke&&v===g.autoStroke&&r===g.align&&o===g.verticalAlign||(l=!0,g.fill=m,g.stroke=y,g.autoStroke=v,g.align=r,g.verticalAlign=o,e.setDefaultTextStyle(g)),e.__dirty|=1,l&&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()?Fn:Vn},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&We(e);n||(n=[255,255,255,1]);for(var a=n[3],i=this.__zr.isDarkMode(),r=0;r<3;r++)n[r]=n[r]*a+(i?0:255)*(1-a);return n[3]=1,Qe(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||{},I(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(X(t))for(var n=B(t),a=0;a<n.length;a++){var i=n[a];this.attrKV(i,t[i])}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 a=this.animators[n],i=a.__fromStateTransition;if(!i||i===Da){var r=a.targetName,o=r?e[r]:e;a.saveFinalToTarget(o)}}},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,Aa)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var a=0;a<n.length;a++){var i=n[a];null==t[i]||i in e||(e[i]=this[i])}},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(Da,!1,t)},t.prototype.useState=function(t,e,n,a){var i=t===Da;if(this.hasState()||!i){var r=this.currentStates,o=this.stateTransition;if(!(D(r,t)>=0)||!e&&1!==r.length){var l;if(this.stateProxy&&!i&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||i){i||this.saveCurrentToNormalState(l);var s=!!(l&&l.hoverLayer||a);s&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&o&&o.duration>0,o);var u=this._textContent,c=this._textGuide;return u&&u.useState(t,e,n,s),c&&c.useState(t,e,n,s),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!s&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),l}w("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var a=[],i=this.currentStates,r=t.length,o=r===i.length;if(o)for(var l=0;l<r;l++)if(t[l]!==i[l]){o=!1;break}if(o)return;for(l=0;l<r;l++){var s=t[l],u=void 0;this.stateProxy&&(u=this.stateProxy(s,t)),u||(u=this.states[s]),u&&a.push(u)}var c=a[r-1],p=!!(c&&c.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(a),h=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&h&&h.duration>0,h);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,p),g&&g.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},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=D(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 a=this.currentStates.slice(),i=D(a,t),r=D(a,e)>=0;i>=0?r?a.splice(i,1):a[i]=e:n&&!r&&a.push(e),this.useStates(a)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},a=0;a<t.length;a++){var i=t[a];I(n,i),i.textConfig&&I(e=e||{},i.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,a,i,r){var o=!(e&&a);e&&e.textConfig?(this.textConfig=I({},a?this.textConfig:n.textConfig),I(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},s=!1,u=0;u<Aa.length;u++){var c=Aa[u],p=i&&La[c];e&&null!=e[c]?p?(s=!0,l[c]=e[c]):this[c]=e[c]:o&&null!=n[c]&&(p?(s=!0,l[c]=n[c]):this[c]=n[c])}if(!i)for(u=0;u<this.animators.length;u++){var d=this.animators[u],h=d.targetName;d.__changeFinalValue(h?(e||n)[h]:e||n)}s&&this._transitionState(t,l,r)},t.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");if(t===this)throw new Error("Recursive component attachment.");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;if(e!==t){if(e&&e!==t&&this.removeTextContent(),t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new oa,this._attachComponent(t),this._textContent=t,this.markRedraw()}},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),I(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|=1;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){var n=t?this[t]:this;if(n){var a=new vn(n,e);return this.addAnimator(a,t),a}w('Property "'+t+'" is not existed in element '+this.id)},t.prototype.addAnimator=function(t,e){var n=this.__zr,a=this;t.during((function(){a.updateDuringAnimation(e)})).done((function(){var e=a.animators,n=D(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,a=n.length,i=[],r=0;r<a;r++){var o=n[r];t&&t!==o.scope?i.push(o):o.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){Ra(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){Ra(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,a){for(var i=Ra(this,e,n,a),r=0;r<i.length;r++)i[r].__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=!1,e.silent=!1,e.isGroup=!1,e.draggable=!1,e.dragging=!1,e.ignoreClip=!1,e.__inHover=!1,e.__dirty=1;var n={};function a(t,e,a){n[t+e+a]||(console.warn("DEPRECATED: '"+t+"' has been deprecated. use '"+e+"', '"+a+"' instead"),n[t+e+a]=!0)}function i(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(){return a(t,i,r),this[n]||o(this,this[n]=[]),this[n]},set:function(e){a(t,i,r),this[i]=e[0],this[r]=e[1],this[n]=e,o(this,e)}})}Object.defineProperty&&(!o.browser.ie||o.browser.version>8)&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();function Ra(t,e,n,a,i){var r=[];Ba(t,"",t,e,n=n||{},a,r,i);var o=r.length,l=!1,s=n.done,u=n.aborted,c=function(){l=!0,--o<=0&&(l?s&&s():u&&u())},p=function(){--o<=0&&(l?s&&s():u&&u())};o||s&&s(),r.length>0&&n.during&&r[0].during((function(t,e){n.during(e)}));for(var d=0;d<r.length;d++){var h=r[d];c&&h.done(c),p&&h.aborted(p),h.start(n.easing,n.force)}return r}function Na(t,e,n){for(var a=0;a<n;a++)t[a]=e[a]}function Ea(t,e,n){if(P(e[n]))if(P(t[n])||(t[n]=[]),j(e[n])){var a=e[n].length;t[n].length!==a&&(t[n]=new e[n].constructor(a),Na(t[n],e[n],a))}else{var i=e[n],r=t[n],o=i.length;if(P(i[0]))for(var l=i[0].length,s=0;s<o;s++)r[s]?Na(r[s],i[s],l):r[s]=Array.prototype.slice.call(i[s]);else Na(r,i,o);r.length=i.length}else t[n]=e[n]}function Ba(t,e,n,a,i,r,o,l){for(var s=[],u=[],c=B(a),p=i.duration,d=i.delay,h=i.additive,f=i.setToFinal,g=!X(r),m=0;m<c.length;m++)if(null!=n[M=c[m]]&&null!=a[M]&&(g||r[M]))if(X(a[M])&&!P(a[M])){if(e){l||(n[M]=a[M],t.updateDuringAnimation(e));continue}Ba(t,M,n[M],a[M],i,r&&r[M],o,l)}else s.push(M),u.push(M);else l||(n[M]=a[M],t.updateDuringAnimation(e),u.push(M));var y=s.length;if(y>0||i.force&&!o.length){for(var v=t.animators,b=[],x=0;x<v.length;x++)v[x].targetName===e&&b.push(v[x]);if(!h&&b.length)for(x=0;x<b.length;x++)if(b[x].stopTracks(u)){var _=D(v,b[x]);v.splice(_,1)}var w=void 0,k=void 0,S=void 0;if(l)for(k={},f&&(w={}),x=0;x<y;x++)k[M=s[x]]=n[M],f?w[M]=a[M]:n[M]=a[M];else if(f)for(S={},x=0;x<y;x++){var M;S[M=s[x]]=dn(n[M]),Ea(n,a,M)}var I=new vn(n,!1,h?b:null);I.targetName=e,i.scope&&(I.scope=i.scope),f&&w&&I.whenWithKeys(0,w,s),S&&I.whenWithKeys(0,S,s),I.whenWithKeys(null==p?500:p,l?k:a,s).delay(d||0),t.addAnimator(I,e),o.push(I)}}L(Oa,Gt),L(Oa,oa);var Va=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return n(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){if(t&&(t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),t.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,a=n.indexOf(e);a>=0&&(n.splice(a,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=D(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,a=n[e];if(t&&t!==this&&t.parent!==this&&t!==a){n[e]=t,a.parent=null;var i=this.__zr;i&&a.removeSelfFromZr(i),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,a=D(n,t);return a<0||(n.splice(a,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 a=t[n];e&&a.removeSelfFromZr(e),a.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,a=0;a<n.length;a++){var i=n[a];t.call(e,i,a)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var a=this._children[n],i=t.call(e,a);a.isGroup&&!i&&a.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 ya(0,0,0,0),n=t||this._children,a=[],i=null,r=0;r<n.length;r++){var o=n[r];if(!o.ignore&&!o.invisible){var l=o.getBoundingRect(),s=o.getLocalTransform(a);s?(ya.applyTransform(e,l,s),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(Oa);Va.prototype.type="group";
/*!
        * ZRender, a high performance 2d drawing library.
        *
        * Copyright (c) 2013, Baidu Inc.
        * All rights reserved.
        *
        * LICENSE
        * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
        */
var Fa=!o.canvasSupported,Ga={},Ha={},Wa=function(){function t(t,e,n){var a=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 i=new Se,r=n.renderer||"canvas";if(Fa)throw new Error("IE8 support has been dropped since 5.0");if(Ga[r]||(r=B(Ga)[0]),!Ga[r])throw new Error("Renderer '"+r+"' is not imported. Please import it first.");n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var l=new Ga[r](e,i,n,t);this.storage=i,this.painter=l;var s=o.node||o.worker?null:new Nn(l.getViewportRoot(),l.root);this.handler=new de(i,l,s,l.root),this.animation=new bn({stage:{update:function(){return a._flush(!0)}}}),this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){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 tn(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,a=e.length,i=0;i<a;i++)n+=tn(e[i].color,1);return(n/=a)<.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){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=(new Date).getTime();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var a=(new Date).getTime();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-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.animation.start(),this._stillFrameAccum=0},t.prototype.addHover=function(t){},t.prototype.removeHover=function(t){},t.prototype.clearHover=function(){},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.pathToImage=function(t,e){if(this.painter.pathToImage)return this.painter.pathToImage(t,e)},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Va&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){var t;this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,t=this.id,delete Ha[t]},t}();function Ua(t,e){var n=new Wa(_(),t,e);return Ha[n.id]=n,n}function Ya(t,e){Ga[t]=e}var Xa=Object.freeze({__proto__:null,init:Ua,dispose:function(t){t.dispose()},disposeAll:function(){for(var t in Ha)Ha.hasOwnProperty(t)&&Ha[t].dispose();Ha={}},getInstance:function(t){return Ha[t]},registerPainter:Ya,version:"5.2.1"}),Za=1e-4;function ja(t,e,n,a){var i=e[0],r=e[1],o=n[0],l=n[1],s=r-i,u=l-o;if(0===s)return 0===u?o:(o+l)/2;if(a)if(s>0){if(t<=i)return o;if(t>=r)return l}else{if(t>=i)return o;if(t<=r)return l}else{if(t===i)return o;if(t===r)return l}return(t-i)/s*u+o}function qa(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function Ka(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function $a(t){return t.sort((function(t,e){return t-e})),t}function Ja(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 Qa(t)}function Qa(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),a=n>0?+e.slice(n+1):0,i=n>0?n:e.length,r=e.indexOf("."),o=r<0?0:i-1-r;return Math.max(0,o-a)}function ti(t,e){var n=Math.log,a=Math.LN10,i=Math.floor(n(t[1]-t[0])/a),r=Math.round(n(Math.abs(e[1]-e[0]))/a),o=Math.min(Math.max(-i+r,0),20);return isFinite(o)?o:20}function ei(t,e,n){if(!t[e])return 0;var a=R(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===a)return 0;for(var i=Math.pow(10,n),r=O(t,(function(t){return(isNaN(t)?0:t)/a*i*100})),o=100*i,l=O(r,(function(t){return Math.floor(t)})),s=R(l,(function(t,e){return t+e}),0),u=O(r,(function(t,e){return t-l[e]}));s<o;){for(var c=Number.NEGATIVE_INFINITY,p=null,d=0,h=u.length;d<h;++d)u[d]>c&&(c=u[d],p=d);++l[p],u[p]=0,++s}return l[e]/i}function ni(t,e){var n=Math.max(Ja(t),Ja(e)),a=t+e;return n>20?a:Ka(a,n)}var ai=9007199254740991;function ii(t){var e=2*Math.PI;return(t%e+e)%e}function ri(t){return t>-1e-4&&t<Za}var oi=/^(?:(\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 li(t){if(t instanceof Date)return t;if("string"==typeof t){var e=oi.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 si(t){return Math.pow(10,ui(t))}function ui(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 ci(t,e){var n=ui(t),a=Math.pow(10,n),i=t/a;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*a,n>=-20?+t.toFixed(n<0?-n:0):t}function pi(t,e){var n=(t.length-1)*e+1,a=Math.floor(n),i=+t[a-1],r=n-a;return r?i+r*(t[a]-i):i}function di(t){t.sort((function(t,e){return l(t,e,0)?-1:1}));for(var e=-1/0,n=1,a=0;a<t.length;){for(var i=t[a].interval,r=t[a].close,o=0;o<2;o++)i[o]<=e&&(i[o]=e,r[o]=o?1:1-n),e=i[o],n=r[o];i[0]===i[1]&&r[0]*r[1]!=1?t.splice(a,1):a++}return t;function l(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&&l(t,e,1))}}function hi(t){var e=parseFloat(t);return e==t&&(0!==e||"string"!=typeof t||t.indexOf("x")<=0)?e:NaN}function fi(t){return!isNaN(hi(t))}function gi(){return Math.round(9*Math.random())}function mi(t,e){return 0===e?t:mi(e,t%e)}function yi(t,e){return null==t?e:null==e?t:t*e/mi(t,e)}function vi(t){throw new Error(t)}var bi="series\0",xi="\0_ec_\0";function _i(t){return t instanceof Array?t:null==t?[]:[t]}function wi(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var a=0,i=n.length;a<i;a++){var r=n[a];!t.emphasis[e].hasOwnProperty(r)&&t[e].hasOwnProperty(r)&&(t.emphasis[e][r]=t[e][r])}}}var ki=["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 Si(t){return!X(t)||G(t)||t instanceof Date?t:t.value}function Mi(t){return X(t)&&!(t instanceof Array)}function Ii(t,e,n){var a="normalMerge"===n,i="replaceMerge"===n,r="replaceAll"===n;t=t||[],e=(e||[]).slice();var o=pt();z(e,(function(t,n){X(t)||(e[n]=null)}));var l,s,u=function(t,e,n){var a=[];if("replaceAll"===n)return a;for(var i=0;i<t.length;i++){var r=t[i];r&&null!=r.id&&e.set(r.id,i),a.push({existing:"replaceMerge"===n||Li(r)?null:r,newOption:null,keyInfo:null,brandNew:null})}return a}(t,o,n);return(a||i)&&function(t,e,n,a){z(a,(function(i,r){if(i&&null!=i.id){var o=Ci(i.id),l=n.get(o);if(null!=l){var s=t[l];rt(!s.newOption,'Duplicated option on id "'+o+'".'),s.newOption=i,s.existing=e[l],a[r]=null}}}))}(u,t,o,e),a&&function(t,e){z(e,(function(n,a){if(n&&null!=n.name)for(var i=0;i<t.length;i++){var r=t[i].existing;if(!t[i].newOption&&r&&(null==r.id||null==n.id)&&!Li(n)&&!Li(r)&&Ti("name",r,n))return t[i].newOption=n,void(e[a]=null)}}))}(u,e),a||i?function(t,e,n){z(e,(function(e){if(e){for(var a,i=0;(a=t[i])&&(a.newOption||Li(a.existing)||a.existing&&null!=e.id&&!Ti("id",e,a.existing));)i++;a?(a.newOption=e,a.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),i++}}))}(u,e,i):r&&function(t,e){z(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(u,e),l=u,s=pt(),z(l,(function(t){var e=t.existing;e&&s.set(e.id,t)})),z(l,(function(t){var e=t.newOption;rt(!e||null==e.id||!s.get(e.id)||s.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&s.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),z(l,(function(t,e){var n=t.existing,a=t.newOption,i=t.keyInfo;if(X(a)){if(i.name=null!=a.name?Ci(a.name):n?n.name:bi+e,n)i.id=Ci(n.id);else if(null!=a.id)i.id=Ci(a.id);else{var r=0;do{i.id="\0"+i.name+"\0"+r++}while(s.get(i.id))}s.set(i.id,t)}})),u}function Ti(t,e,n){var a=Di(e[t],null),i=Di(n[t],null);return null!=a&&null!=i&&a===i}function Ci(t){return Di(t,"")}function Di(t,e){if(null==t)return e;var n=typeof t;return"string"===n?t:"number"===n||U(t)?t+"":e}function Ai(t){var e=t.name;return!(!e||!e.indexOf(bi))}function Li(t){return t&&null!=t.id&&0===Ci(t.id).indexOf(xi)}function Pi(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?G(e.dataIndex)?O(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?G(e.name)?O(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function zi(){var t="__ec_inner_"+Oi++;return function(e){return e[t]||(e[t]={})}}var Oi=gi();function Ri(t,e,n){var a=Ni(e,n),i=a.mainTypeSpecified,r=a.queryOptionMap,o=a.others,l=n?n.defaultMainType:null;return!i&&l&&r.set(l,{}),r.each((function(e,a){var i=Vi(t,a,e,{useDefault:l===a,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});o[a+"Models"]=i.models,o[a+"Model"]=i.models[0]})),o}function Ni(t,e){var n;if(W(t)){var a={};a[t+"Index"]=0,n=a}else n=t;var i=pt(),r={},o=!1;return z(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var a=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=a[1],s=(a[2]||"").toLowerCase();!l||!s||e&&e.includeMainTypes&&D(e.includeMainTypes,l)<0||(o=o||!!l,(i.get(l)||i.set(l,{}))[s]=t)}else r[n]=t})),{mainTypeSpecified:o,queryOptionMap:i,others:r}}var Ei={useDefault:!0,enableAll:!1,enableNone:!1},Bi={useDefault:!1,enableAll:!0,enableNone:!0};function Vi(t,e,n,a){a=a||Ei;var i=n.index,r=n.id,o=n.name,l={models:null,specified:null!=i||null!=r||null!=o};if(!l.specified){var s=void 0;return l.models=a.useDefault&&(s=t.getComponent(e))?[s]:[],l}return"none"===i||!1===i?(rt(a.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===i&&(rt(a.enableAll,'`"all"` is not a valid value on index option.'),i=r=o=null),l.models=t.queryComponents({mainType:e,index:i,id:r,name:o}),l)}function Fi(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function Gi(t,e){var n=pt(),a=[];return z(t,(function(t){var i=e(t);(n.get(i)||(a.push(i),n.set(i,[]))).push(t)})),{keys:a,buckets:n}}function Hi(t,e,n,a,i){var r=null==e||"auto"===e;if(null==a)return a;if("number"==typeof a)return Ka(f=an(n||0,a,i),r?Math.max(Ja(n||0),Ja(a)):e);if("string"==typeof a)return i<1?n:a;for(var o=[],l=n,s=a,u=Math.max(l?l.length:0,s.length),c=0;c<u;++c){var p=t.getDimensionInfo(c);if(p&&"ordinal"===p.type)o[c]=(i<1&&l?l:s)[c];else{var d=l&&l[c]?l[c]:0,h=s[c],f=an(d,h,i);o[c]=Ka(f,r?Math.max(Ja(d),Ja(h)):e)}}return o}var Wi="___EC__COMPONENT__CONTAINER___",Ui="___EC__EXTENDED_CLASS___";function Yi(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function Xi(t,e){t.$constructor=t,t.extend=function(t){var e=this;function n(){for(var a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];if(t.$constructor)t.$constructor.apply(this,arguments);else{if(Zi(e))return ht(n.prototype,new(e.bind.apply(e,i([void 0],a))));e.apply(this,arguments)}}return n[Ui]=!0,I(n.prototype,t),n.extend=this.extend,n.superCall=Ki,n.superApply=$i,A(n,this),n.superClass=e,n}}function Zi(t){return"function"==typeof t&&/^class\s/.test(Function.prototype.toString.call(t))}function ji(t,e){t.extend=e.extend}var qi=Math.round(10*Math.random());function Ki(t,e){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];return this.superClass.prototype[e].apply(t,n)}function $i(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Ji(t){var e={};t.registerClass=function(t){var n,a=t.type||t.prototype.type;if(a){rt(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=a),'componentType "'+n+'" illegal'),t.prototype.type=a;var i=Yi(a);i.sub?i.sub!==Wi&&((function(t){var n=e[t.main];return n&&n[Wi]||((n=e[t.main]={})[Wi]=!0),n}(i))[i.sub]=t):e[i.main]=t}return t},t.getClass=function(t,n,a){var i=e[t];if(i&&i[Wi]&&(i=n?i[n]:null),a&&!i)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=Yi(t),a=[],i=e[n.main];return i&&i[Wi]?z(i,(function(t,e){e!==Wi&&a.push(t)})):a.push(i),a},t.hasClass=function(t){var n=Yi(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return z(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=Yi(t),a=e[n.main];return a&&a[Wi]}}function Qi(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,a,i){for(var r={},o=0;o<t.length;o++){var l=t[o][1];if(!(a&&D(a,l)>=0||i&&D(i,l)<0)){var s=n.getShallow(l,e);null!=s&&(r[t[o][0]]=s)}}return r}}var tr=Qi([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),er=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return tr(this,t,e)},t}(),nr=new Ae(50);function ar(t){if("string"==typeof t){var e=nr.get(t);return e&&e.image}return t}function ir(t,e,n,a,i){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var r=nr.get(t),o={hostEl:n,cb:a,cbPayload:i};return r?!or(e=r.image)&&r.pending.push(o):((e=new Image).onload=e.onerror=rr,nr.put(t,e.__cachedImgObj={image:e,pending:[o]}),e.src=e.__zrImageSrc=t),e}return t}return e}function rr(){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],a=n.cb;a&&a(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function or(t){return t&&t.width&&t.height}var lr=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function sr(t,e,n,a,i){if(!e)return"";var r=(t+"").split("\n");i=ur(e,n,a,i);for(var o=0,l=r.length;o<l;o++)r[o]=cr(r[o],i);return r.join("\n")}function ur(t,e,n,a){var i=I({},a=a||{});i.font=e,n=et(n,"..."),i.maxIterations=et(a.maxIterations,2);var r=i.minChar=et(a.minChar,0);i.cnCharWidth=_a("国",e);var o=i.ascCharWidth=_a("a",e);i.placeholder=et(a.placeholder,"");for(var l=t=Math.max(0,t-1),s=0;s<r&&l>=o;s++)l-=o;var u=_a(n,e);return u>l&&(n="",u=0),l=t-u,i.ellipsis=n,i.ellipsisWidth=u,i.contentWidth=l,i.containerWidth=t,i}function cr(t,e){var n=e.containerWidth,a=e.font,i=e.contentWidth;if(!n)return"";var r=_a(t,a);if(r<=n)return t;for(var o=0;;o++){if(r<=i||o>=e.maxIterations){t+=e.ellipsis;break}var l=0===o?pr(t,i,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*i/r):0;r=_a(t=t.substr(0,l),a)}return""===t&&(t=e.placeholder),t}function pr(t,e,n,a){for(var i=0,r=0,o=t.length;r<o&&i<e;r++){var l=t.charCodeAt(r);i+=0<=l&&l<=127?n:a}return r}var dr=function(){},hr=function(t){this.tokens=[],t&&(this.tokens=t)},fr=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function gr(t,e,n,a,i){var r,o,l=""===e,s=i&&n.rich[i]||{},u=t.lines,c=s.font||n.font,p=!1;if(a){var d=s.padding,h=d?d[1]+d[3]:0;if(null!=s.width&&"auto"!==s.width){var f=Ta(s.width,a.width)+h;u.length>0&&f+a.accumWidth>a.width&&(r=e.split("\n"),p=!0),a.accumWidth=f}else{var g=vr(e,c,a.width,a.breakAll,a.accumWidth);a.accumWidth=g.accumWidth+h,o=g.linesWidths,r=g.lines}}else r=e.split("\n");for(var m=0;m<r.length;m++){var y=r[m],v=new dr;if(v.styleName=i,v.text=y,v.isLineHolder=!y&&!l,"number"==typeof s.width?v.width=s.width:v.width=o?o[m]:_a(y,c),m||p)u.push(new hr([v]));else{var b=(u[u.length-1]||(u[0]=new hr)).tokens,x=b.length;1===x&&b[0].isLineHolder?b[0]=v:(y||!x||l)&&b.push(v)}}}var mr=R(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function yr(t){return!function(t){var e=t.charCodeAt(0);return e>=33&&e<=255}(t)||!!mr[t]}function vr(t,e,n,a,i){for(var r=[],o=[],l="",s="",u=0,c=0,p=0;p<t.length;p++){var d=t.charAt(p);if("\n"!==d){var h=_a(d,e),f=!a&&!yr(d);(r.length?c+h>n:i+c+h>n)?c?(l||s)&&(f?(l||(l=s,s="",c=u=0),r.push(l),o.push(c-u),s+=d,l="",c=u+=h):(s&&(l+=s,c+=u,s="",u=0),r.push(l),o.push(c),l=d,c=h)):f?(r.push(s),o.push(u),s=d,u=h):(r.push(d),o.push(h)):(c+=h,f?(s+=d,u+=h):(s&&(l+=s,s="",u=0),l+=d))}else s&&(l+=s,c+=u),r.push(l),o.push(c),l="",s="",u=0,c=0}return r.length||l||(l=t,s="",u=0),s&&(l+=s),l&&(r.push(l),o.push(c)),1===r.length&&(c+=i),{accumWidth:c,lines:r,linesWidths:o}}var br="__zr_style_"+Math.round(10*Math.random()),xr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},_r={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};xr[br]=!0;var wr=["z","z2","invisible"],kr=["invisible"],Sr=function(t){function e(e){return t.call(this,e)||this}var a;return n(e,t),e.prototype._init=function(e){for(var n=B(e),a=0;a<n.length;a++){var i=n[a];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}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,a){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){return Mr.copy(t.getBoundingRect()),t.transform&&Mr.applyTransform(t.transform),Ir.width=e,Ir.height=n,!Mr.intersect(Ir)}(this,t,e)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var r=0;r<this.__clipPaths.length;++r)if(this.__clipPaths[r].isZeroArea())return!1;if(a&&this.parent)for(var o=this.parent;o;){if(o.ignore)return!1;o=o.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(),a=this.style,i=a.shadowBlur||0,r=a.shadowOffsetX||0,o=a.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new ya(0,0,0,0)),e?ya.applyTransform(t,n,e):t.copy(n),(i||r||o)&&(t.width+=2*i+Math.abs(r),t.height+=2*i+Math.abs(o),t.x=Math.min(t.x,t.x+r-i),t.y=Math.min(t.y,t.y+o-i));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new ya(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:I(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 ht(xr,t)},e.prototype.useStyle=function(t){t[br]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[br]},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,wr)},e.prototype._applyStateObj=function(e,n,a,i,r,o){t.prototype._applyStateObj.call(this,e,n,a,i,r,o);var l,s=!(n&&i);if(n&&n.style?r?i?l=n.style:(l=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:a.style),this._mergeStyle(l,n.style)):s&&(l=a.style),l)if(r){var u=this.style;if(this.style=this.createStyle(s?{}:u),s)for(var c=B(u),p=0;p<c.length;p++)(h=c[p])in l&&(l[h]=l[h],this.style[h]=u[h]);var d=B(l);for(p=0;p<d.length;p++){var h=d[p];this.style[h]=this.style[h]}this._transitionState(e,{style:l},o,this.getAnimationStyleProps())}else this.useStyle(l);var f=this.__inHover?kr:wr;for(p=0;p<f.length;p++)h=f[p],n&&null!=n[h]?this[h]=n[h]:s&&null!=a[h]&&(this[h]=a[h])},e.prototype._mergeStates=function(e){for(var n,a=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var r=e[i];r.style&&(n=n||{},this._mergeStyle(n,r.style))}return n&&(a.style=n),a},e.prototype._mergeStyle=function(t,e){return I(t,e),t},e.prototype.getAnimationStyleProps=function(){return _r},e.initDefaultProps=((a=e.prototype).type="displayable",a.invisible=!1,a.z=0,a.z2=0,a.zlevel=0,a.culling=!1,a.cursor="pointer",a.rectHover=!1,a.incremental=!1,a._rect=null,a.dirtyRectTolerance=0,void(a.__dirty=3)),e}(Oa),Mr=new ya(0,0,0,0),Ir=new ya(0,0,0,0),Tr=Math.pow,Cr=Math.sqrt,Dr=1e-8,Ar=1e-4,Lr=Cr(3),Pr=1/3,zr=yt(),Or=yt(),Rr=yt();function Nr(t){return t>-1e-8&&t<Dr}function Er(t){return t>Dr||t<-1e-8}function Br(t,e,n,a,i){var r=1-i;return r*r*(r*t+3*i*e)+i*i*(i*a+3*r*n)}function Vr(t,e,n,a,i){var r=1-i;return 3*(((e-t)*r+2*(n-e)*i)*r+(a-n)*i*i)}function Fr(t,e,n,a,i,r){var o=a+3*(e-n)-t,l=3*(n-2*e+t),s=3*(e-t),u=t-i,c=l*l-3*o*s,p=l*s-9*o*u,d=s*s-3*l*u,h=0;if(Nr(c)&&Nr(p))Nr(l)?r[0]=0:(S=-s/l)>=0&&S<=1&&(r[h++]=S);else{var f=p*p-4*c*d;if(Nr(f)){var g=p/c,m=-g/2;(S=-l/o+g)>=0&&S<=1&&(r[h++]=S),m>=0&&m<=1&&(r[h++]=m)}else if(f>0){var y=Cr(f),v=c*l+1.5*o*(-p+y),b=c*l+1.5*o*(-p-y);(S=(-l-((v=v<0?-Tr(-v,Pr):Tr(v,Pr))+(b=b<0?-Tr(-b,Pr):Tr(b,Pr))))/(3*o))>=0&&S<=1&&(r[h++]=S)}else{var x=(2*c*l-3*o*p)/(2*Cr(c*c*c)),_=Math.acos(x)/3,w=Cr(c),k=Math.cos(_),S=(-l-2*w*k)/(3*o),M=(m=(-l+w*(k+Lr*Math.sin(_)))/(3*o),(-l+w*(k-Lr*Math.sin(_)))/(3*o));S>=0&&S<=1&&(r[h++]=S),m>=0&&m<=1&&(r[h++]=m),M>=0&&M<=1&&(r[h++]=M)}}return h}function Gr(t,e,n,a,i){var r=6*n-12*e+6*t,o=9*e+3*a-3*t-9*n,l=3*e-3*t,s=0;if(Nr(o))Er(r)&&(c=-l/r)>=0&&c<=1&&(i[s++]=c);else{var u=r*r-4*o*l;if(Nr(u))i[0]=-r/(2*o);else if(u>0){var c,p=Cr(u),d=(-r-p)/(2*o);(c=(-r+p)/(2*o))>=0&&c<=1&&(i[s++]=c),d>=0&&d<=1&&(i[s++]=d)}}return s}function Hr(t,e,n,a,i,r){var o=(e-t)*i+t,l=(n-e)*i+e,s=(a-n)*i+n,u=(l-o)*i+o,c=(s-l)*i+l,p=(c-u)*i+u;r[0]=t,r[1]=o,r[2]=u,r[3]=p,r[4]=p,r[5]=c,r[6]=s,r[7]=a}function Wr(t,e,n,a,i,r,o,l,s,u,c){var p,d,h,f,g,m=.005,y=1/0;zr[0]=s,zr[1]=u;for(var v=0;v<1;v+=.05)Or[0]=Br(t,n,i,o,v),Or[1]=Br(e,a,r,l,v),(f=zt(zr,Or))<y&&(p=v,y=f);y=1/0;for(var b=0;b<32&&!(m<Ar);b++)d=p-m,h=p+m,Or[0]=Br(t,n,i,o,d),Or[1]=Br(e,a,r,l,d),f=zt(Or,zr),d>=0&&f<y?(p=d,y=f):(Rr[0]=Br(t,n,i,o,h),Rr[1]=Br(e,a,r,l,h),g=zt(Rr,zr),h<=1&&g<y?(p=h,y=g):m*=.5);return c&&(c[0]=Br(t,n,i,o,p),c[1]=Br(e,a,r,l,p)),Cr(y)}function Ur(t,e,n,a,i,r,o,l,s){for(var u=t,c=e,p=0,d=1/s,h=1;h<=s;h++){var f=h*d,g=Br(t,n,i,o,f),m=Br(e,a,r,l,f),y=g-u,v=m-c;p+=Math.sqrt(y*y+v*v),u=g,c=m}return p}function Yr(t,e,n,a){var i=1-a;return i*(i*t+2*a*e)+a*a*n}function Xr(t,e,n,a){return 2*((1-a)*(e-t)+a*(n-e))}function Zr(t,e,n){var a=t+n-2*e;return 0===a?.5:(t-e)/a}function jr(t,e,n,a,i){var r=(e-t)*a+t,o=(n-e)*a+e,l=(o-r)*a+r;i[0]=t,i[1]=r,i[2]=l,i[3]=l,i[4]=o,i[5]=n}function qr(t,e,n,a,i,r,o,l,s){var u,c=.005,p=1/0;zr[0]=o,zr[1]=l;for(var d=0;d<1;d+=.05)Or[0]=Yr(t,n,i,d),Or[1]=Yr(e,a,r,d),(m=zt(zr,Or))<p&&(u=d,p=m);p=1/0;for(var h=0;h<32&&!(c<Ar);h++){var f=u-c,g=u+c;Or[0]=Yr(t,n,i,f),Or[1]=Yr(e,a,r,f);var m=zt(Or,zr);if(f>=0&&m<p)u=f,p=m;else{Rr[0]=Yr(t,n,i,g),Rr[1]=Yr(e,a,r,g);var y=zt(Rr,zr);g<=1&&y<p?(u=g,p=y):c*=.5}}return s&&(s[0]=Yr(t,n,i,u),s[1]=Yr(e,a,r,u)),Cr(p)}function Kr(t,e,n,a,i,r,o){for(var l=t,s=e,u=0,c=1/o,p=1;p<=o;p++){var d=p*c,h=Yr(t,n,i,d),f=Yr(e,a,r,d),g=h-l,m=f-s;u+=Math.sqrt(g*g+m*m),l=h,s=f}return u}var $r=Math.min,Jr=Math.max,Qr=Math.sin,to=Math.cos,eo=2*Math.PI,no=yt(),ao=yt(),io=yt();function ro(t,e,n){if(0!==t.length){for(var a=t[0],i=a[0],r=a[0],o=a[1],l=a[1],s=1;s<t.length;s++)a=t[s],i=$r(i,a[0]),r=Jr(r,a[0]),o=$r(o,a[1]),l=Jr(l,a[1]);e[0]=i,e[1]=o,n[0]=r,n[1]=l}}function oo(t,e,n,a,i,r){i[0]=$r(t,n),i[1]=$r(e,a),r[0]=Jr(t,n),r[1]=Jr(e,a)}var lo=[],so=[];function uo(t,e,n,a,i,r,o,l,s,u){var c=Gr,p=Br,d=c(t,n,i,o,lo);s[0]=1/0,s[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var h=0;h<d;h++){var f=p(t,n,i,o,lo[h]);s[0]=$r(f,s[0]),u[0]=Jr(f,u[0])}for(d=c(e,a,r,l,so),h=0;h<d;h++){var g=p(e,a,r,l,so[h]);s[1]=$r(g,s[1]),u[1]=Jr(g,u[1])}s[0]=$r(t,s[0]),u[0]=Jr(t,u[0]),s[0]=$r(o,s[0]),u[0]=Jr(o,u[0]),s[1]=$r(e,s[1]),u[1]=Jr(e,u[1]),s[1]=$r(l,s[1]),u[1]=Jr(l,u[1])}function co(t,e,n,a,i,r,o,l){var s=Zr,u=Yr,c=Jr($r(s(t,n,i),1),0),p=Jr($r(s(e,a,r),1),0),d=u(t,n,i,c),h=u(e,a,r,p);o[0]=$r(t,i,d),o[1]=$r(e,r,h),l[0]=Jr(t,i,d),l[1]=Jr(e,r,h)}function po(t,e,n,a,i,r,o,l,s){var u=Nt,c=Et,p=Math.abs(i-r);if(p%eo<1e-4&&p>1e-4)return l[0]=t-n,l[1]=e-a,s[0]=t+n,void(s[1]=e+a);if(no[0]=to(i)*n+t,no[1]=Qr(i)*a+e,ao[0]=to(r)*n+t,ao[1]=Qr(r)*a+e,u(l,no,ao),c(s,no,ao),(i%=eo)<0&&(i+=eo),(r%=eo)<0&&(r+=eo),i>r&&!o?r+=eo:i<r&&o&&(i+=eo),o){var d=r;r=i,i=d}for(var h=0;h<r;h+=Math.PI/2)h>i&&(io[0]=to(h)*n+t,io[1]=Qr(h)*a+e,u(l,io,l),c(s,io,s))}var ho={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},fo=[],go=[],mo=[],yo=[],vo=[],bo=[],xo=Math.min,_o=Math.max,wo=Math.cos,ko=Math.sin,So=Math.sqrt,Mo=Math.abs,Io=Math.PI,To=2*Io,Co="undefined"!=typeof Float32Array,Do=[];function Ao(t){return Math.round(t/Io*1e8)/1e8%2*Io}function Lo(t,e){var n=Ao(t[0]);n<0&&(n+=To);var a=n-t[0],i=t[1];i+=a,!e&&i-n>=To?i=n+To:e&&n-i>=To?i=n-To:!e&&n>i?i=n+(To-Ao(n-i)):e&&n<i&&(i=n-(To-Ao(i-n))),t[0]=n,t[1]=i}var Po=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=Mo(n/Bn/t)||0,this._uy=Mo(n/Bn/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._lineDash&&(this._lineDash=null,this._dashOffset=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(ho.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=Mo(t-this._xi),a=Mo(e-this._yi),i=n>this._ux||a>this._uy;if(this.addData(ho.L,t,e),this._ctx&&i&&(this._needsDash?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var r=n*n+a*a;r>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=r)}return this},t.prototype.bezierCurveTo=function(t,e,n,a,i,r){return this._drawPendingPt(),this.addData(ho.C,t,e,n,a,i,r),this._ctx&&(this._needsDash?this._dashedBezierTo(t,e,n,a,i,r):this._ctx.bezierCurveTo(t,e,n,a,i,r)),this._xi=i,this._yi=r,this},t.prototype.quadraticCurveTo=function(t,e,n,a){return this._drawPendingPt(),this.addData(ho.Q,t,e,n,a),this._ctx&&(this._needsDash?this._dashedQuadraticTo(t,e,n,a):this._ctx.quadraticCurveTo(t,e,n,a)),this._xi=n,this._yi=a,this},t.prototype.arc=function(t,e,n,a,i,r){this._drawPendingPt(),Do[0]=a,Do[1]=i,Lo(Do,r),a=Do[0];var o=(i=Do[1])-a;return this.addData(ho.A,t,e,n,n,a,o,0,r?0:1),this._ctx&&this._ctx.arc(t,e,n,a,i,r),this._xi=wo(i)*n+t,this._yi=ko(i)*n+e,this},t.prototype.arcTo=function(t,e,n,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,a,i),this},t.prototype.rect=function(t,e,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,a),this.addData(ho.R,t,e,n,a),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(ho.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.setLineDash=function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;n<t.length;n++)e+=t[n];this._dashSum=e,this._needsDash=!0}else this._lineDash=null,this._needsDash=!1;return this},t.prototype.setLineDashOffset=function(t){return this._dashOffset=t,this},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Co||(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,a=this._len,i=0;i<e;i++)n+=t[i].len();for(Co&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+n)),i=0;i<e;i++)for(var r=t[i].data,o=0;o<r.length;o++)this.data[a++]=r[o];this._len=a},t.prototype.addData=function(t,e,n,a,i,r,o,l,s){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},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._dashedLineTo=function(t,e){var n,a,i=this._dashSum,r=this._lineDash,o=this._ctx,l=this._dashOffset,s=this._xi,u=this._yi,c=t-s,p=e-u,d=So(c*c+p*p),h=s,f=u,g=r.length;for(l<0&&(l=i+l),h-=(l%=i)*(c/=d),f-=l*(p/=d);c>0&&h<=t||c<0&&h>=t||0===c&&(p>0&&f<=e||p<0&&f>=e);)h+=c*(n=r[a=this._dashIdx]),f+=p*n,this._dashIdx=(a+1)%g,c>0&&h<s||c<0&&h>s||p>0&&f<u||p<0&&f>u||o[a%2?"moveTo":"lineTo"](c>=0?xo(h,t):_o(h,t),p>=0?xo(f,e):_o(f,e));c=h-t,p=f-e,this._dashOffset=-So(c*c+p*p)},t.prototype._dashedBezierTo=function(t,e,n,a,i,r){var o,l,s,u,c,p=this._ctx,d=this._dashSum,h=this._dashOffset,f=this._lineDash,g=this._xi,m=this._yi,y=0,v=this._dashIdx,b=f.length,x=0;for(h<0&&(h=d+h),h%=d,o=0;o<1;o+=.1)l=Br(g,t,n,i,o+.1)-Br(g,t,n,i,o),s=Br(m,e,a,r,o+.1)-Br(m,e,a,r,o),y+=So(l*l+s*s);for(;v<b&&!((x+=f[v])>h);v++);for(o=(x-h)/y;o<=1;)u=Br(g,t,n,i,o),c=Br(m,e,a,r,o),v%2?p.moveTo(u,c):p.lineTo(u,c),o+=f[v]/y,v=(v+1)%b;v%2!=0&&p.lineTo(i,r),l=i-u,s=r-c,this._dashOffset=-So(l*l+s*s)},t.prototype._dashedQuadraticTo=function(t,e,n,a){var i=n,r=a;n=(n+2*t)/3,a=(a+2*e)/3,t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,this._dashedBezierTo(t,e,n,a,i,r)},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Co&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){mo[0]=mo[1]=vo[0]=vo[1]=Number.MAX_VALUE,yo[0]=yo[1]=bo[0]=bo[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,a=0,i=0,r=0;for(t=0;t<this._len;){var o=e[t++],l=1===t;switch(l&&(i=n=e[t],r=a=e[t+1]),o){case ho.M:n=i=e[t++],a=r=e[t++],vo[0]=i,vo[1]=r,bo[0]=i,bo[1]=r;break;case ho.L:oo(n,a,e[t],e[t+1],vo,bo),n=e[t++],a=e[t++];break;case ho.C:uo(n,a,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],vo,bo),n=e[t++],a=e[t++];break;case ho.Q:co(n,a,e[t++],e[t++],e[t],e[t+1],vo,bo),n=e[t++],a=e[t++];break;case ho.A:var s=e[t++],u=e[t++],c=e[t++],p=e[t++],d=e[t++],h=e[t++]+d;t+=1;var f=!e[t++];l&&(i=wo(d)*c+s,r=ko(d)*p+u),po(s,u,c,p,d,h,f,vo,bo),n=wo(h)*c+s,a=ko(h)*p+u;break;case ho.R:oo(i=n=e[t++],r=a=e[t++],i+e[t++],r+e[t++],vo,bo);break;case ho.Z:n=i,a=r}Nt(mo,mo,vo),Et(yo,yo,bo)}return 0===t&&(mo[0]=mo[1]=yo[0]=yo[1]=0),new ya(mo[0],mo[1],yo[0]-mo[0],yo[1]-mo[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,a=this._uy,i=0,r=0,o=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var s=this._pathSegLen,u=0,c=0,p=0;p<e;){var d=t[p++],h=1===p;h&&(o=i=t[p],l=r=t[p+1]);var f=-1;switch(d){case ho.M:i=o=t[p++],r=l=t[p++];break;case ho.L:var g=t[p++],m=(b=t[p++])-r;(Mo(D=g-i)>n||Mo(m)>a||p===e-1)&&(f=Math.sqrt(D*D+m*m),i=g,r=b);break;case ho.C:var y=t[p++],v=t[p++],b=(g=t[p++],t[p++]),x=t[p++],_=t[p++];f=Ur(i,r,y,v,g,b,x,_,10),i=x,r=_;break;case ho.Q:f=Kr(i,r,y=t[p++],v=t[p++],g=t[p++],b=t[p++],10),i=g,r=b;break;case ho.A:var w=t[p++],k=t[p++],S=t[p++],M=t[p++],I=t[p++],T=t[p++],C=T+I;p+=1,t[p++],h&&(o=wo(I)*S+w,l=ko(I)*M+k),f=_o(S,M)*xo(To,Math.abs(T)),i=wo(C)*S+w,r=ko(C)*M+k;break;case ho.R:o=i=t[p++],l=r=t[p++],f=2*t[p++]+2*t[p++];break;case ho.Z:var D=o-i;m=l-r,f=Math.sqrt(D*D+m*m),i=o,r=l}f>=0&&(s[c++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,a,i,r,o,l,s,u,c,p,d=this.data,h=this._ux,f=this._uy,g=this._len,m=e<1,y=0,v=0,b=0;if(!m||(this._pathSegLen||this._calculateLength(),s=this._pathSegLen,u=e*this._pathLen))t:for(var x=0;x<g;){var _=d[x++],w=1===x;switch(w&&(n=i=d[x],a=r=d[x+1]),_!==ho.L&&b>0&&(t.lineTo(c,p),b=0),_){case ho.M:n=i=d[x++],a=r=d[x++],t.moveTo(i,r);break;case ho.L:o=d[x++],l=d[x++];var k=Mo(o-i),S=Mo(l-r);if(k>h||S>f){if(m){if(y+(j=s[v++])>u){var M=(u-y)/j;t.lineTo(i*(1-M)+o*M,r*(1-M)+l*M);break t}y+=j}t.lineTo(o,l),i=o,r=l,b=0}else{var I=k*k+S*S;I>b&&(c=o,p=l,b=I)}break;case ho.C:var T=d[x++],C=d[x++],D=d[x++],A=d[x++],L=d[x++],P=d[x++];if(m){if(y+(j=s[v++])>u){Hr(i,T,D,L,M=(u-y)/j,fo),Hr(r,C,A,P,M,go),t.bezierCurveTo(fo[1],go[1],fo[2],go[2],fo[3],go[3]);break t}y+=j}t.bezierCurveTo(T,C,D,A,L,P),i=L,r=P;break;case ho.Q:if(T=d[x++],C=d[x++],D=d[x++],A=d[x++],m){if(y+(j=s[v++])>u){jr(i,T,D,M=(u-y)/j,fo),jr(r,C,A,M,go),t.quadraticCurveTo(fo[1],go[1],fo[2],go[2]);break t}y+=j}t.quadraticCurveTo(T,C,D,A),i=D,r=A;break;case ho.A:var z=d[x++],O=d[x++],R=d[x++],N=d[x++],E=d[x++],B=d[x++],V=d[x++],F=!d[x++],G=R>N?R:N,H=Mo(R-N)>.001,W=E+B,U=!1;if(m&&(y+(j=s[v++])>u&&(W=E+B*(u-y)/j,U=!0),y+=j),H&&t.ellipse?t.ellipse(z,O,R,N,V,E,W,F):t.arc(z,O,G,E,W,F),U)break t;w&&(n=wo(E)*R+z,a=ko(E)*N+O),i=wo(W)*R+z,r=ko(W)*N+O;break;case ho.R:n=i=d[x],a=r=d[x+1],o=d[x++],l=d[x++];var Y=d[x++],X=d[x++];if(m){if(y+(j=s[v++])>u){var Z=u-y;t.moveTo(o,l),t.lineTo(o+xo(Z,Y),l),(Z-=Y)>0&&t.lineTo(o+Y,l+xo(Z,X)),(Z-=X)>0&&t.lineTo(o+_o(Y-Z,0),l+X),(Z-=Y)>0&&t.lineTo(o,l+_o(X-Z,0));break t}y+=j}t.rect(o,l,Y,X);break;case ho.Z:if(m){var j;if(y+(j=s[v++])>u){M=(u-y)/j,t.lineTo(i*(1-M)+n*M,r*(1-M)+a*M);break t}y+=j}t.closePath(),i=n,r=a}}},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=ho,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._needsDash=!1,e._dashOffset=0,e._dashIdx=0,e._dashSum=0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function zo(t,e,n,a,i,r,o){if(0===i)return!1;var l=i,s=0;if(o>e+l&&o>a+l||o<e-l&&o<a-l||r>t+l&&r>n+l||r<t-l&&r<n-l)return!1;if(t===n)return Math.abs(r-t)<=l/2;var u=(s=(e-a)/(t-n))*r-o+(t*a-n*e)/(t-n);return u*u/(s*s+1)<=l/2*l/2}function Oo(t,e,n,a,i,r,o,l,s,u,c){if(0===s)return!1;var p=s;return!(c>e+p&&c>a+p&&c>r+p&&c>l+p||c<e-p&&c<a-p&&c<r-p&&c<l-p||u>t+p&&u>n+p&&u>i+p&&u>o+p||u<t-p&&u<n-p&&u<i-p&&u<o-p)&&Wr(t,e,n,a,i,r,o,l,u,c,null)<=p/2}function Ro(t,e,n,a,i,r,o,l,s){if(0===o)return!1;var u=o;return!(s>e+u&&s>a+u&&s>r+u||s<e-u&&s<a-u&&s<r-u||l>t+u&&l>n+u&&l>i+u||l<t-u&&l<n-u&&l<i-u)&&qr(t,e,n,a,i,r,l,s,null)<=u/2}var No=2*Math.PI;function Eo(t){return(t%=No)<0&&(t+=No),t}var Bo=2*Math.PI;function Vo(t,e,n,a,i,r,o,l,s){if(0===o)return!1;var u=o;l-=t,s-=e;var c=Math.sqrt(l*l+s*s);if(c-u>n||c+u<n)return!1;if(Math.abs(a-i)%Bo<1e-4)return!0;if(r){var p=a;a=Eo(i),i=Eo(p)}else a=Eo(a),i=Eo(i);a>i&&(i+=Bo);var d=Math.atan2(s,l);return d<0&&(d+=Bo),d>=a&&d<=i||d+Bo>=a&&d+Bo<=i}function Fo(t,e,n,a,i,r){if(r>e&&r>a||r<e&&r<a)return 0;if(a===e)return 0;var o=(r-e)/(a-e),l=a<e?1:-1;1!==o&&0!==o||(l=a<e?.5:-.5);var s=o*(n-t)+t;return s===i?1/0:s>i?l:0}var Go=Po.CMD,Ho=2*Math.PI,Wo=[-1,-1,-1],Uo=[-1,-1];function Yo(t,e,n,a,i,r,o,l,s,u){if(u>e&&u>a&&u>r&&u>l||u<e&&u<a&&u<r&&u<l)return 0;var c,p=Fr(e,a,r,l,u,Wo);if(0===p)return 0;for(var d=0,h=-1,f=void 0,g=void 0,m=0;m<p;m++){var y=Wo[m],v=0===y||1===y?.5:1;Br(t,n,i,o,y)<s||(h<0&&(h=Gr(e,a,r,l,Uo),Uo[1]<Uo[0]&&h>1&&(c=void 0,c=Uo[0],Uo[0]=Uo[1],Uo[1]=c),f=Br(e,a,r,l,Uo[0]),h>1&&(g=Br(e,a,r,l,Uo[1]))),2===h?y<Uo[0]?d+=f<e?v:-v:y<Uo[1]?d+=g<f?v:-v:d+=l<g?v:-v:y<Uo[0]?d+=f<e?v:-v:d+=l<f?v:-v)}return d}function Xo(t,e,n,a,i,r,o,l){if(l>e&&l>a&&l>r||l<e&&l<a&&l<r)return 0;var s=function(t,e,n,a,i){var r=t-2*e+n,o=2*(e-t),l=t-a,s=0;if(Nr(r))Er(o)&&(c=-l/o)>=0&&c<=1&&(i[s++]=c);else{var u=o*o-4*r*l;if(Nr(u))(c=-o/(2*r))>=0&&c<=1&&(i[s++]=c);else if(u>0){var c,p=Cr(u),d=(-o-p)/(2*r);(c=(-o+p)/(2*r))>=0&&c<=1&&(i[s++]=c),d>=0&&d<=1&&(i[s++]=d)}}return s}(e,a,r,l,Wo);if(0===s)return 0;var u=Zr(e,a,r);if(u>=0&&u<=1){for(var c=0,p=Yr(e,a,r,u),d=0;d<s;d++){var h=0===Wo[d]||1===Wo[d]?.5:1;Yr(t,n,i,Wo[d])<o||(Wo[d]<u?c+=p<e?h:-h:c+=r<p?h:-h)}return c}return h=0===Wo[0]||1===Wo[0]?.5:1,Yr(t,n,i,Wo[0])<o?0:r<e?h:-h}function Zo(t,e,n,a,i,r,o,l){if((l-=e)>n||l<-n)return 0;var s=Math.sqrt(n*n-l*l);Wo[0]=-s,Wo[1]=s;var u=Math.abs(a-i);if(u<1e-4)return 0;if(u>=Ho-1e-4){a=0,i=Ho;var c=r?1:-1;return o>=Wo[0]+t&&o<=Wo[1]+t?c:0}if(a>i){var p=a;a=i,i=p}a<0&&(a+=Ho,i+=Ho);for(var d=0,h=0;h<2;h++){var f=Wo[h];if(f+t>o){var g=Math.atan2(l,f);c=r?1:-1,g<0&&(g=Ho+g),(g>=a&&g<=i||g+Ho>=a&&g+Ho<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(c=-c),d+=c)}}return d}function jo(t,e,n,a,i){for(var r,o,l,s,u=t.data,c=t.len(),p=0,d=0,h=0,f=0,g=0,m=0;m<c;){var y=u[m++],v=1===m;switch(y===Go.M&&m>1&&(n||(p+=Fo(d,h,f,g,a,i))),v&&(f=d=u[m],g=h=u[m+1]),y){case Go.M:d=f=u[m++],h=g=u[m++];break;case Go.L:if(n){if(zo(d,h,u[m],u[m+1],e,a,i))return!0}else p+=Fo(d,h,u[m],u[m+1],a,i)||0;d=u[m++],h=u[m++];break;case Go.C:if(n){if(Oo(d,h,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],e,a,i))return!0}else p+=Yo(d,h,u[m++],u[m++],u[m++],u[m++],u[m],u[m+1],a,i)||0;d=u[m++],h=u[m++];break;case Go.Q:if(n){if(Ro(d,h,u[m++],u[m++],u[m],u[m+1],e,a,i))return!0}else p+=Xo(d,h,u[m++],u[m++],u[m],u[m+1],a,i)||0;d=u[m++],h=u[m++];break;case Go.A:var b=u[m++],x=u[m++],_=u[m++],w=u[m++],k=u[m++],S=u[m++];m+=1;var M=!!(1-u[m++]);r=Math.cos(k)*_+b,o=Math.sin(k)*w+x,v?(f=r,g=o):p+=Fo(d,h,r,o,a,i);var I=(a-b)*w/_+b;if(n){if(Vo(b,x,w,k,k+S,M,e,I,i))return!0}else p+=Zo(b,x,w,k,k+S,M,I,i);d=Math.cos(k+S)*_+b,h=Math.sin(k+S)*w+x;break;case Go.R:if(f=d=u[m++],g=h=u[m++],r=f+u[m++],o=g+u[m++],n){if(zo(f,g,r,g,e,a,i)||zo(r,g,r,o,e,a,i)||zo(r,o,f,o,e,a,i)||zo(f,o,f,g,e,a,i))return!0}else p+=Fo(r,g,r,o,a,i),p+=Fo(f,o,f,g,a,i);break;case Go.Z:if(n){if(zo(d,h,f,g,e,a,i))return!0}else p+=Fo(d,h,f,g,a,i);d=f,h=g}}return n||(l=h,s=g,Math.abs(l-s)<1e-4)||(p+=Fo(d,h,f,g,a,i)||0),0!==p}var qo=T({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},xr),Ko={style:T({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},_r.style)},$o=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],Jo=function(t){function e(e){return t.call(this,e)||this}var a;return n(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var a=this.style;if(a.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var r=i.style;for(var o in a)r[o]!==a[o]&&(r[o]=a[o]);r.fill=a.fill?a.decal:null,r.decal=null,r.shadowColor=null,a.strokeFirst&&(r.stroke=null);for(var l=0;l<$o.length;++l)i[$o[l]]=this[$o[l]];i.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=B(e);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var i=0;i<n.length;i++){var r=n[i],o=e[r];"style"===r?this.style?I(this.style,o):this.useStyle(o):"shape"===r?I(this.shape,o):t.prototype.attrKV.call(this,r,o)}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(W(t)){var e=tn(t,0);return e>.5?Vn:e>.2?"#eee":Fn}if(t)return Fn}return Vn},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(W(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())==tn(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},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 Po(!1)},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.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var a=!1;this.path||(a=!0,this.createPathProxy());var i=this.path;(a||4&this.__dirty)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var r=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){r.copy(t);var o=e.strokeNoScale?this.getLineScale():1,l=e.lineWidth;if(!this.hasFill()){var s=this.strokeContainThreshold;l=Math.max(l,null==s?4:s)}o>1e-10&&(r.width+=l/o,r.height+=l/o,r.x-=l/o/2,r.y-=l/o/2)}return r}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),a=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],a.contain(t,e)){var r=this.path;if(this.hasStroke()){var o=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,a){return jo(t,e,!0,n,a)}(r,o/l,t,e)))return!0}if(this.hasFill())return function(t,e,n){return jo(t,0,!1,e,n)}(r,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,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:I(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return ht(qo,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=I({},this.shape))},e.prototype._applyStateObj=function(e,n,a,i,r,o){t.prototype._applyStateObj.call(this,e,n,a,i,r,o);var l,s=!(n&&i);if(n&&n.shape?r?i?l=n.shape:(l=I({},a.shape),I(l,n.shape)):(l=I({},i?this.shape:a.shape),I(l,n.shape)):s&&(l=a.shape),l)if(r){this.shape=I({},this.shape);for(var u={},c=B(l),p=0;p<c.length;p++){var d=c[p];"object"==typeof l[d]?this.shape[d]=l[d]:u[d]=l[d]}this._transitionState(e,{shape:u},o)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,a=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var r=e[i];r.shape&&(n=n||{},this._mergeStyle(n,r.shape))}return n&&(a.shape=n),a},e.prototype.getAnimationStyleProps=function(){return Ko},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var a=function(e){function a(n){var a=e.call(this,n)||this;return t.init&&t.init.call(a,n),a}return n(a,e),a.prototype.getDefaultStyle=function(){return k(t.style)},a.prototype.getDefaultShape=function(){return k(t.shape)},a}(e);for(var i in t)"function"==typeof t[i]&&(a.prototype[i]=t[i]);return a},e.initDefaultProps=((a=e.prototype).type="path",a.strokeContainThreshold=5,a.segmentIgnoreThreshold=0,a.subPixelOptimize=!1,a.autoBatch=!1,void(a.__dirty=7)),e}(Sr),Qo=T({strokeFirst:!0,font:ba,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},qo),tl=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(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 ht(Qo,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=ka(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var a=t.lineWidth;n.x-=a/2,n.y-=a/2,n.width+=a,n.height+=a}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(Sr);tl.prototype.type="tspan";var el=T({x:0,y:0},xr),nl={style:T({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},_r.style)},al=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.createStyle=function(t){return ht(el,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var a,i=(a=e.image)&&"string"!=typeof a&&a.width&&a.height?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return nl},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new ya(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Sr);al.prototype.type="image";var il=Math.round;function rl(t,e,n){if(e){var a=e.x1,i=e.x2,r=e.y1,o=e.y2;t.x1=a,t.x2=i,t.y1=r,t.y2=o;var l=n&&n.lineWidth;return l?(il(2*a)===il(2*i)&&(t.x1=t.x2=ll(a,l,!0)),il(2*r)===il(2*o)&&(t.y1=t.y2=ll(r,l,!0)),t):t}}function ol(t,e,n){if(e){var a=e.x,i=e.y,r=e.width,o=e.height;t.x=a,t.y=i,t.width=r,t.height=o;var l=n&&n.lineWidth;return l?(t.x=ll(a,l,!0),t.y=ll(i,l,!0),t.width=Math.max(ll(a+r,l,!1)-t.x,0===r?0:1),t.height=Math.max(ll(i+o,l,!1)-t.y,0===o?0:1),t):t}}function ll(t,e,n){if(!e)return t;var a=il(2*t);return(a+il(e))%2==0?a/2:(a+(n?1:-1))/2}var sl=function(){this.x=0,this.y=0,this.width=0,this.height=0},ul={},cl=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new sl},e.prototype.buildPath=function(t,e){var n,a,i,r;if(this.subPixelOptimize){var o=ol(ul,e,this.style);n=o.x,a=o.y,i=o.width,r=o.height,o.r=e.r,e=o}else n=e.x,a=e.y,i=e.width,r=e.height;e.r?function(t,e){var n,a,i,r,o,l=e.x,s=e.y,u=e.width,c=e.height,p=e.r;u<0&&(l+=u,u=-u),c<0&&(s+=c,c=-c),"number"==typeof p?n=a=i=r=p:p instanceof Array?1===p.length?n=a=i=r=p[0]:2===p.length?(n=i=p[0],a=r=p[1]):3===p.length?(n=p[0],a=r=p[1],i=p[2]):(n=p[0],a=p[1],i=p[2],r=p[3]):n=a=i=r=0,n+a>u&&(n*=u/(o=n+a),a*=u/o),i+r>u&&(i*=u/(o=i+r),r*=u/o),a+i>c&&(a*=c/(o=a+i),i*=c/o),n+r>c&&(n*=c/(o=n+r),r*=c/o),t.moveTo(l+n,s),t.lineTo(l+u-a,s),0!==a&&t.arc(l+u-a,s+a,a,-Math.PI/2,0),t.lineTo(l+u,s+c-i),0!==i&&t.arc(l+u-i,s+c-i,i,0,Math.PI/2),t.lineTo(l+r,s+c),0!==r&&t.arc(l+r,s+c-r,r,Math.PI/2,Math.PI),t.lineTo(l,s+n),0!==n&&t.arc(l+n,s+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,a,i,r)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(Jo);cl.prototype.type="rect";var pl={fill:"#000"},dl={style:T({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},_r.style)},hl=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=pl,n.attr(e),n}return n(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,ml(t=this.style),z(t.rich,ml),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 ya(0,0,0,0),e=this._children,n=[],a=null,i=0;i<e.length;i++){var r=e[i],o=r.getBoundingRect(),l=r.getLocalTransform(n);l?(t.copy(o),t.applyTransform(l),(a=a||t.clone()).union(t)):(a=a||o.clone()).union(o)}this._rect=a||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||pl},e.prototype.setTextContent=function(t){throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,a=t.rich||n&&{};return I(t,e),n&&a?(this._mergeRich(a,n),t.rich=a):a&&(t.rich=a),t},e.prototype._mergeRich=function(t,e){for(var n=B(e),a=0;a<n.length;a++){var i=n[a];t[i]=t[i]||{},I(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return dl},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||ba,n=t.padding,a=function(t,e){null!=t&&(t+="");var n,a=e.overflow,i=e.padding,r=e.font,o="truncate"===a,l=Ia(r),s=et(e.lineHeight,l),u="truncate"===e.lineOverflow,c=e.width,p=(n=null!=c&&"break"===a||"breakAll"===a?t?vr(t,e.font,c,"breakAll"===a,0).lines:[]:t?t.split("\n"):[]).length*s,d=et(e.height,p);if(p>d&&u){var h=Math.floor(d/s);n=n.slice(0,h)}var f=d,g=c;if(i&&(f+=i[0]+i[2],null!=g&&(g+=i[1]+i[3])),t&&o&&null!=g)for(var m=ur(c,r,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),y=0;y<n.length;y++)n[y]=cr(n[y],m);if(null==c){var v=0;for(y=0;y<n.length;y++)v=Math.max(_a(n[y],r),v);c=v}return{lines:n,height:d,outerHeight:f,lineHeight:s,calculatedLineHeight:l,contentHeight:p,width:c}}(xl(t),t),i=_l(t),r=!!t.backgroundColor,o=a.outerHeight,l=a.lines,s=a.lineHeight,u=this._defaultStyle,c=t.x||0,p=t.y||0,d=t.align||u.align||"left",h=t.verticalAlign||u.verticalAlign||"top",f=c,g=Ma(p,a.contentHeight,h);if(i||n){var m=a.width;n&&(m+=n[1]+n[3]);var y=Sa(c,m,d),v=Ma(p,o,h);i&&this._renderBackground(t,t,y,v,m,o)}g+=s/2,n&&(f=bl(c,d,n),"top"===h?g+=n[0]:"bottom"===h&&(g-=n[2]));for(var b=0,x=!1,_=(vl("fill"in t?t.fill:(x=!0,u.fill))),w=(yl("stroke"in t?t.stroke:r||u.autoStroke&&!x?null:(b=2,u.stroke))),k=t.textShadowBlur>0,S=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),M=a.calculatedLineHeight,I=0;I<l.length;I++){var T=this._getOrCreateChild(tl),C=T.createStyle();T.useStyle(C),C.text=l[I],C.x=f,C.y=g,d&&(C.textAlign=d),C.textBaseline="middle",C.opacity=t.opacity,C.strokeFirst=!0,k&&(C.shadowBlur=t.textShadowBlur||0,C.shadowColor=t.textShadowColor||"transparent",C.shadowOffsetX=t.textShadowOffsetX||0,C.shadowOffsetY=t.textShadowOffsetY||0),w&&(C.stroke=w,C.lineWidth=t.lineWidth||b,C.lineDash=t.lineDash,C.lineDashOffset=t.lineDashOffset||0),_&&(C.fill=_),C.font=e,g+=s,S&&T.setBoundingRect(new ya(Sa(C.x,t.width,C.textAlign),Ma(C.y,M,C.textBaseline),t.width,M))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new fr;if(null!=t&&(t+=""),!t)return n;for(var a,i=e.width,r=e.height,o=e.overflow,l="break"!==o&&"breakAll"!==o||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===o},s=lr.lastIndex=0;null!=(a=lr.exec(t));){var u=a.index;u>s&&gr(n,t.substring(s,u),e,l),gr(n,a[2],e,l,a[1]),s=lr.lastIndex}s<t.length&&gr(n,t.substring(s,t.length),e,l);var c=[],p=0,d=0,h=e.padding,f="truncate"===o,g="truncate"===e.lineOverflow;function m(t,e,n){t.width=e,t.lineHeight=n,p+=n,d=Math.max(d,e)}t:for(var y=0;y<n.lines.length;y++){for(var v=n.lines[y],b=0,x=0,_=0;_<v.tokens.length;_++){var w=(P=v.tokens[_]).styleName&&e.rich[P.styleName]||{},k=P.textPadding=w.padding,S=k?k[1]+k[3]:0,M=P.font=w.font||e.font;P.contentHeight=Ia(M);var I=et(w.height,P.contentHeight);if(P.innerHeight=I,k&&(I+=k[0]+k[2]),P.height=I,P.lineHeight=nt(w.lineHeight,e.lineHeight,I),P.align=w&&w.align||e.align,P.verticalAlign=w&&w.verticalAlign||"middle",g&&null!=r&&p+P.lineHeight>r){_>0?(v.tokens=v.tokens.slice(0,_),m(v,x,b),n.lines=n.lines.slice(0,y+1)):n.lines=n.lines.slice(0,y);break t}var T=w.width,C=null==T||"auto"===T;if("string"==typeof T&&"%"===T.charAt(T.length-1))P.percentWidth=T,c.push(P),P.contentWidth=_a(P.text,M);else{if(C){var D=w.backgroundColor,A=D&&D.image;A&&or(A=ar(A))&&(P.width=Math.max(P.width,A.width*I/A.height))}var L=f&&null!=i?i-x:null;null!=L&&L<P.width?!C||L<S?(P.text="",P.width=P.contentWidth=0):(P.text=sr(P.text,L-S,M,e.ellipsis,{minChar:e.truncateMinChar}),P.width=P.contentWidth=_a(P.text,M)):P.contentWidth=_a(P.text,M)}P.width+=S,x+=P.width,w&&(b=Math.max(b,P.lineHeight))}m(v,x,b)}for(n.outerWidth=n.width=et(i,d),n.outerHeight=n.height=et(r,p),n.contentHeight=p,n.contentWidth=d,h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]),y=0;y<c.length;y++){var P,z=(P=c[y]).percentWidth;P.width=parseInt(z,10)/100*n.width}return n}(xl(t),t),n=e.width,a=e.outerWidth,i=e.outerHeight,r=t.padding,o=t.x||0,l=t.y||0,s=this._defaultStyle,u=t.align||s.align,c=t.verticalAlign||s.verticalAlign,p=Sa(o,a,u),d=Ma(l,i,c),h=p,f=d;r&&(h+=r[3],f+=r[0]);var g=h+n;_l(t)&&this._renderBackground(t,t,p,d,a,i);for(var m=!!t.backgroundColor,y=0;y<e.lines.length;y++){for(var v=e.lines[y],b=v.tokens,x=b.length,_=v.lineHeight,w=v.width,k=0,S=h,M=g,I=x-1,T=void 0;k<x&&(!(T=b[k]).align||"left"===T.align);)this._placeToken(T,t,_,f,S,"left",m),w-=T.width,S+=T.width,k++;for(;I>=0&&"right"===(T=b[I]).align;)this._placeToken(T,t,_,f,M,"right",m),w-=T.width,M-=T.width,I--;for(S+=(n-(S-h)-(g-M)-w)/2;k<=I;)T=b[k],this._placeToken(T,t,_,f,S+T.width/2,"center",m),S+=T.width,k++;f+=_}},e.prototype._placeToken=function(t,e,n,a,i,r,o){var l=e.rich[t.styleName]||{};l.text=t.text;var s=t.verticalAlign,u=a+n/2;"top"===s?u=a+t.height/2:"bottom"===s&&(u=a+n-t.height/2),!t.isLineHolder&&_l(l)&&this._renderBackground(l,e,"right"===r?i-t.width:"center"===r?i-t.width/2:i,u-t.height/2,t.width,t.height);var c=!!l.backgroundColor,p=t.textPadding;p&&(i=bl(i,r,p),u-=t.height/2-p[0]-t.innerHeight/2);var d=this._getOrCreateChild(tl),h=d.createStyle();d.useStyle(h);var f=this._defaultStyle,g=!1,m=0,y=vl("fill"in l?l.fill:"fill"in e?e.fill:(g=!0,f.fill)),v=yl("stroke"in l?l.stroke:"stroke"in e?e.stroke:c||o||f.autoStroke&&!g?null:(m=2,f.stroke)),b=l.textShadowBlur>0||e.textShadowBlur>0;h.text=t.text,h.x=i,h.y=u,b&&(h.shadowBlur=l.textShadowBlur||e.textShadowBlur||0,h.shadowColor=l.textShadowColor||e.textShadowColor||"transparent",h.shadowOffsetX=l.textShadowOffsetX||e.textShadowOffsetX||0,h.shadowOffsetY=l.textShadowOffsetY||e.textShadowOffsetY||0),h.textAlign=r,h.textBaseline="middle",h.font=t.font||ba,h.opacity=nt(l.opacity,e.opacity,1),v&&(h.lineWidth=nt(l.lineWidth,e.lineWidth,m),h.lineDash=et(l.lineDash,e.lineDash),h.lineDashOffset=e.lineDashOffset||0,h.stroke=v),y&&(h.fill=y);var x=t.contentWidth,_=t.contentHeight;d.setBoundingRect(new ya(Sa(h.x,x,h.textAlign),Ma(h.y,_,h.textBaseline),x,_))},e.prototype._renderBackground=function(t,e,n,a,i,r){var o,l,s,u=t.backgroundColor,c=t.borderWidth,p=t.borderColor,d=u&&u.image,h=u&&!d,f=t.borderRadius,g=this;if(h||t.lineHeight||c&&p){(o=this._getOrCreateChild(cl)).useStyle(o.createStyle()),o.style.fill=null;var m=o.shape;m.x=n,m.y=a,m.width=i,m.height=r,m.r=f,o.dirtyShape()}if(h)(s=o.style).fill=u||null,s.fillOpacity=et(t.fillOpacity,1);else if(d){(l=this._getOrCreateChild(al)).onload=function(){g.dirtyStyle()};var y=l.style;y.image=u.image,y.x=n,y.y=a,y.width=i,y.height=r}c&&p&&((s=o.style).lineWidth=c,s.stroke=p,s.strokeOpacity=et(t.strokeOpacity,1),s.lineDash=t.borderDash,s.lineDashOffset=t.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(s.strokeFirst=!0,s.lineWidth*=2));var v=(o||l).style;v.shadowBlur=t.shadowBlur||0,v.shadowColor=t.shadowColor||"transparent",v.shadowOffsetX=t.shadowOffsetX||0,v.shadowOffsetY=t.shadowOffsetY||0,v.opacity=nt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";if(t.fontSize||t.fontFamily||t.fontWeight){var n="";n="string"!=typeof t.fontSize||-1===t.fontSize.indexOf("px")&&-1===t.fontSize.indexOf("rem")&&-1===t.fontSize.indexOf("em")?isNaN(+t.fontSize)?"12px":t.fontSize+"px":t.fontSize,e=[t.fontStyle,t.fontWeight,n,t.fontFamily||"sans-serif"].join(" ")}return e&&ot(e)||t.textFont||t.font},e}(Sr),fl={left:!0,right:1,center:1},gl={top:1,bottom:1,middle:1};function ml(t){if(t){t.font=hl.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||fl[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||gl[n]?n:"top",t.padding&&(t.padding=it(t.padding))}}function yl(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function vl(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function bl(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function xl(t){var e=t.text;return null!=e&&(e+=""),e}function _l(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var wl=zi(),kl=function(t,e,n,a){if(a){var i=wl(a);i.dataIndex=n,i.dataType=e,i.seriesIndex=t,"group"===a.type&&a.traverse((function(a){var i=wl(a);i.seriesIndex=t,i.dataIndex=n,i.dataType=e}))}},Sl=1,Ml={},Il=zi(),Tl=["emphasis","blur","select"],Cl=["normal","emphasis","blur","select"],Dl=10,Al="highlight",Ll="downplay",Pl="select",zl="unselect",Ol="toggleSelect";function Rl(t){return null!=t&&"none"!==t}var Nl=new Ae(100);function El(t){if("string"!=typeof t)return t;var e=Nl.get(t);return e||(e=Ye(t,-.1),Nl.put(t,e)),e}function Bl(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function Vl(t){Bl(t,"emphasis",2)}function Fl(t){2===t.hoverState&&Bl(t,"normal",0)}function Gl(t){Bl(t,"blur",1)}function Hl(t){1===t.hoverState&&Bl(t,"normal",0)}function Wl(t){t.selected=!0}function Ul(t){t.selected=!1}function Yl(t,e,n){e(t,n)}function Xl(t,e,n){Yl(t,e,n),t.isGroup&&t.traverse((function(t){Yl(t,e,n)}))}function Zl(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function jl(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,a){var i=n&&D(n,"select")>=0,r=!1;if(t instanceof Jo){var o=Il(t),l=i&&o.selectFill||o.normalFill,s=i&&o.selectStroke||o.normalStroke;if(Rl(l)||Rl(s)){var u=(a=a||{}).style||{};"inherit"===u.fill?(r=!0,a=I({},a),(u=I({},u)).fill=l):!Rl(u.fill)&&Rl(l)?(r=!0,a=I({},a),(u=I({},u)).fill=El(l)):!Rl(u.stroke)&&Rl(s)&&(r||(a=I({},a),u=I({},u)),u.stroke=El(s)),a.style=u}}if(a&&null==a.z2){r||(a=I({},a));var c=t.z2EmphasisLift;a.z2=t.z2+(null!=c?c:Dl)}return a}(this,0,e,n);if("blur"===t)return function(t,e,n){var a=D(t.currentStates,e)>=0,i=t.style.opacity,r=a?null:function(t,e,n,a){for(var i=t.style,r={},o=0;o<e.length;o++){var l=e[o],s=i[l];r[l]=null==s?a&&a[l]:s}for(o=0;o<t.animators.length;o++){var u=t.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveFinalToTarget(r,e)}return r}(t,["opacity"],e,{opacity:1}),o=(n=n||{}).style||{};return null==o.opacity&&(n=I({},n),o=I({opacity:a?i:.1*r.opacity},o),n.style=o),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=I({},n);var a=t.z2SelectLift;n.z2=t.z2+(null!=a?a:9)}return n}(this,0,n)}return n}function ql(t){t.stateProxy=jl;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=jl),n&&(n.stateProxy=jl)}function Kl(t,e){!is(t,e)&&!t.__highByOuter&&Xl(t,Vl)}function $l(t,e){!is(t,e)&&!t.__highByOuter&&Xl(t,Fl)}function Jl(t,e){t.__highByOuter|=1<<(e||0),Xl(t,Vl)}function Ql(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Xl(t,Fl)}function ts(t){Xl(t,Gl)}function es(t){Xl(t,Hl)}function ns(t){Xl(t,Wl)}function as(t){Xl(t,Ul)}function is(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function rs(t){t.getModel().eachComponent((function(e,n){("series"===e?t.getViewOfSeriesModel(n):t.getViewOfComponentModel(n)).group.traverse((function(t){Hl(t)}))}))}function os(t,e,n,a){var i=a.getModel();function r(t,e){for(var n=0;n<e.length;n++){var a=t.getItemGraphicEl(e[n]);a&&es(a)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var o=i.getSeriesByIndex(t),l=o.coordinateSystem;l&&l.master&&(l=l.master);var s=[];i.eachSeries((function(t){var i=o===t,u=t.coordinateSystem;if(u&&u.master&&(u=u.master),!("series"===n&&!i||"coordinateSystem"===n&&!(u&&l?u===l:i)||"series"===e&&i)){if(a.getViewOfSeriesModel(t).group.traverse((function(t){Gl(t)})),P(e))r(t.getData(),e);else if(X(e))for(var c=B(e),p=0;p<c.length;p++)r(t.getData(c[p]),e[c[p]]);s.push(t)}})),i.eachComponent((function(t,e){if("series"!==t){var n=a.getViewOfComponentModel(e);n&&n.blurSeries&&n.blurSeries(s,i)}}))}}function ls(t,e,n){if(null!=t&&null!=e){var a=n.getModel().getComponent(t,e);if(a){var i=n.getViewOfComponentModel(a);i&&i.focusBlurEnabled&&i.group.traverse((function(t){Gl(t)}))}}}function ss(t,e,n,a){var i={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return i;var r=a.getModel().getComponent(t,e);if(!r)return i;var o=a.getViewOfComponentModel(r);if(!o||!o.findHighDownDispatchers)return i;for(var l,s=o.findHighDownDispatchers(n),u=0;u<s.length;u++)if("self"===wl(s[u]).focus){l=!0;break}return{focusSelf:l,dispatchers:s}}function us(t){z(t.getAllData(),(function(e){var n=e.data,a=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,a)?ns(e):as(e)}))}))}function cs(t){var e=[];return t.eachSeries((function(t){z(t.getAllData(),(function(n){n.data;var a=n.type,i=t.getSelectedDataIndices();if(i.length>0){var r={dataIndex:i,seriesIndex:t.seriesIndex};null!=a&&(r.dataType=a),e.push(r)}}))})),e}function ps(t,e,n){ms(t,!0),Xl(t,ql),ds(t,e,n)}function ds(t,e,n){var a=wl(t);null!=e?(a.focus=e,a.blurScope=n):a.focus&&(a.focus=null)}var hs=["emphasis","blur","select"],fs={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function gs(t,e,n,a){n=n||"itemStyle";for(var i=0;i<hs.length;i++){var r=hs[i],o=e.getModel([r,n]);t.ensureState(r).style=a?a(o):o[fs[n]]()}}function ms(t,e){var n=!1===e,a=t;t.highDownSilentOnTouch&&(a.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!a.__highDownDispatcher||(a.__highByOuter=a.__highByOuter||0,a.__highDownDispatcher=!n)}function ys(t){return!(!t||!t.__highDownDispatcher)}function vs(t){var e=t.type;return e===Pl||e===zl||e===Ol}function bs(t){var e=t.type;return e===Al||e===Ll}var xs=Po.CMD,_s=[[],[],[]],ws=Math.sqrt,ks=Math.atan2;function Ss(t,e){if(e){var n,a,i,r,o,l,s=t.data,u=t.len(),c=xs.M,p=xs.C,d=xs.L,h=xs.R,f=xs.A,g=xs.Q;for(i=0,r=0;i<u;){switch(n=s[i++],r=i,a=0,n){case c:case d:a=1;break;case p:a=3;break;case g:a=2;break;case f:var m=e[4],y=e[5],v=ws(e[0]*e[0]+e[1]*e[1]),b=ws(e[2]*e[2]+e[3]*e[3]),x=ks(-e[1]/b,e[0]/v);s[i]*=v,s[i++]+=m,s[i]*=b,s[i++]+=y,s[i++]*=v,s[i++]*=b,s[i++]+=x,s[i++]+=x,r=i+=2;break;case h:l[0]=s[i++],l[1]=s[i++],Rt(l,l,e),s[r++]=l[0],s[r++]=l[1],l[0]+=s[i++],l[1]+=s[i++],Rt(l,l,e),s[r++]=l[0],s[r++]=l[1]}for(o=0;o<a;o++){var _=_s[o];_[0]=s[i++],_[1]=s[i++],Rt(_,_,e),s[r++]=_[0],s[r++]=_[1]}}t.increaseVersion()}}var Ms=Math.sqrt,Is=Math.sin,Ts=Math.cos,Cs=Math.PI;function Ds(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function As(t,e){return(t[0]*e[0]+t[1]*e[1])/(Ds(t)*Ds(e))}function Ls(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(As(t,e))}function Ps(t,e,n,a,i,r,o,l,s,u,c){var p=s*(Cs/180),d=Ts(p)*(t-n)/2+Is(p)*(e-a)/2,h=-1*Is(p)*(t-n)/2+Ts(p)*(e-a)/2,f=d*d/(o*o)+h*h/(l*l);f>1&&(o*=Ms(f),l*=Ms(f));var g=(i===r?-1:1)*Ms((o*o*(l*l)-o*o*(h*h)-l*l*(d*d))/(o*o*(h*h)+l*l*(d*d)))||0,m=g*o*h/l,y=g*-l*d/o,v=(t+n)/2+Ts(p)*m-Is(p)*y,b=(e+a)/2+Is(p)*m+Ts(p)*y,x=Ls([1,0],[(d-m)/o,(h-y)/l]),_=[(d-m)/o,(h-y)/l],w=[(-1*d-m)/o,(-1*h-y)/l],k=Ls(_,w);if(As(_,w)<=-1&&(k=Cs),As(_,w)>=1&&(k=0),k<0){var S=Math.round(k/Cs*1e6)/1e6;k=2*Cs+S%2*Cs}c.addData(u,v,b,o,l,x,k,p,r)}var zs=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Os=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,Rs=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.applyTransform=function(t){},e}(Jo);function Ns(t){return null!=t.setData}function Es(t,e){var n=function(t){var e=new Po;if(!t)return e;var n,a=0,i=0,r=a,o=i,l=Po.CMD,s=t.match(zs);if(!s)return e;for(var u=0;u<s.length;u++){for(var c=s[u],p=c.charAt(0),d=void 0,h=c.match(Os)||[],f=h.length,g=0;g<f;g++)h[g]=parseFloat(h[g]);for(var m=0;m<f;){var y=void 0,v=void 0,b=void 0,x=void 0,_=void 0,w=void 0,k=void 0,S=a,M=i,I=void 0,T=void 0;switch(p){case"l":a+=h[m++],i+=h[m++],d=l.L,e.addData(d,a,i);break;case"L":a=h[m++],i=h[m++],d=l.L,e.addData(d,a,i);break;case"m":a+=h[m++],i+=h[m++],d=l.M,e.addData(d,a,i),r=a,o=i,p="l";break;case"M":a=h[m++],i=h[m++],d=l.M,e.addData(d,a,i),r=a,o=i,p="L";break;case"h":a+=h[m++],d=l.L,e.addData(d,a,i);break;case"H":a=h[m++],d=l.L,e.addData(d,a,i);break;case"v":i+=h[m++],d=l.L,e.addData(d,a,i);break;case"V":i=h[m++],d=l.L,e.addData(d,a,i);break;case"C":d=l.C,e.addData(d,h[m++],h[m++],h[m++],h[m++],h[m++],h[m++]),a=h[m-2],i=h[m-1];break;case"c":d=l.C,e.addData(d,h[m++]+a,h[m++]+i,h[m++]+a,h[m++]+i,h[m++]+a,h[m++]+i),a+=h[m-2],i+=h[m-1];break;case"S":y=a,v=i,I=e.len(),T=e.data,n===l.C&&(y+=a-T[I-4],v+=i-T[I-3]),d=l.C,S=h[m++],M=h[m++],a=h[m++],i=h[m++],e.addData(d,y,v,S,M,a,i);break;case"s":y=a,v=i,I=e.len(),T=e.data,n===l.C&&(y+=a-T[I-4],v+=i-T[I-3]),d=l.C,S=a+h[m++],M=i+h[m++],a+=h[m++],i+=h[m++],e.addData(d,y,v,S,M,a,i);break;case"Q":S=h[m++],M=h[m++],a=h[m++],i=h[m++],d=l.Q,e.addData(d,S,M,a,i);break;case"q":S=h[m++]+a,M=h[m++]+i,a+=h[m++],i+=h[m++],d=l.Q,e.addData(d,S,M,a,i);break;case"T":y=a,v=i,I=e.len(),T=e.data,n===l.Q&&(y+=a-T[I-4],v+=i-T[I-3]),a=h[m++],i=h[m++],d=l.Q,e.addData(d,y,v,a,i);break;case"t":y=a,v=i,I=e.len(),T=e.data,n===l.Q&&(y+=a-T[I-4],v+=i-T[I-3]),a+=h[m++],i+=h[m++],d=l.Q,e.addData(d,y,v,a,i);break;case"A":b=h[m++],x=h[m++],_=h[m++],w=h[m++],k=h[m++],Ps(S=a,M=i,a=h[m++],i=h[m++],w,k,b,x,_,d=l.A,e);break;case"a":b=h[m++],x=h[m++],_=h[m++],w=h[m++],k=h[m++],Ps(S=a,M=i,a+=h[m++],i+=h[m++],w,k,b,x,_,d=l.A,e)}}"z"!==p&&"Z"!==p||(d=l.Z,e.addData(d),a=r,i=o),n=d}return e.toStatic(),e}(t),a=I({},e);return a.buildPath=function(t){if(Ns(t))t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1);else{var e=t;n.rebuildPath(e,1)}},a.applyTransform=function(t){Ss(n,t),this.dirtyShape()},a}function Bs(t,e){return new Rs(Es(t,e))}function Vs(t,e){e=e||{};var n=new Jo;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?Ss(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 Fs=function(){this.cx=0,this.cy=0,this.r=0},Gs=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Fs},e.prototype.buildPath=function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(Jo);Gs.prototype.type="circle";var Hs=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},Ws=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new Hs},e.prototype.buildPath=function(t,e){var n=.5522848,a=e.cx,i=e.cy,r=e.rx,o=e.ry,l=r*n,s=o*n;t.moveTo(a-r,i),t.bezierCurveTo(a-r,i-s,a-l,i-o,a,i-o),t.bezierCurveTo(a+l,i-o,a+r,i-s,a+r,i),t.bezierCurveTo(a+r,i+s,a+l,i+o,a,i+o),t.bezierCurveTo(a-l,i+o,a-r,i+s,a-r,i),t.closePath()},e}(Jo);Ws.prototype.type="ellipse";var Us=Math.PI,Ys=2*Us,Xs=Math.sin,Zs=Math.cos,js=Math.acos,qs=Math.atan2,Ks=Math.abs,$s=Math.sqrt,Js=Math.max,Qs=Math.min,tu=1e-4;function eu(t,e,n,a,i,r,o){var l=t-n,s=e-a,u=(o?r:-r)/$s(l*l+s*s),c=u*s,p=-u*l,d=t+c,h=e+p,f=n+c,g=a+p,m=(d+f)/2,y=(h+g)/2,v=f-d,b=g-h,x=v*v+b*b,_=i-r,w=d*g-f*h,k=(b<0?-1:1)*$s(Js(0,_*_*x-w*w)),S=(w*b-v*k)/x,M=(-w*v-b*k)/x,I=(w*b+v*k)/x,T=(-w*v+b*k)/x,C=S-m,D=M-y,A=I-m,L=T-y;return C*C+D*D>A*A+L*L&&(S=I,M=T),{cx:S,cy:M,x01:-c,y01:-p,x11:S*(i/_-1),y11:M*(i/_-1)}}function nu(t,e){var n=Js(e.r,0),a=Js(e.r0||0,0),i=n>0;if(i||a>0){if(i||(n=a,a=0),a>n){var r=n;n=a,a=r}var o,l=!!e.clockwise,s=e.startAngle,u=e.endAngle;if(s===u)o=0;else{var c=[s,u];Lo(c,!l),o=Ks(c[0]-c[1])}var p=e.cx,d=e.cy,h=e.cornerRadius||0,f=e.innerCornerRadius||0;if(n>tu)if(o>Ys-tu)t.moveTo(p+n*Zs(s),d+n*Xs(s)),t.arc(p,d,n,s,u,!l),a>tu&&(t.moveTo(p+a*Zs(u),d+a*Xs(u)),t.arc(p,d,a,u,s,l));else{var g=Ks(n-a)/2,m=Qs(g,h),y=Qs(g,f),v=y,b=m,x=n*Zs(s),_=n*Xs(s),w=a*Zs(u),k=a*Xs(u),S=void 0,M=void 0,I=void 0,T=void 0;if((m>tu||y>tu)&&(S=n*Zs(u),M=n*Xs(u),I=a*Zs(s),T=a*Xs(s),o<Us)){var C=function(t,e,n,a,i,r,o,l){var s=n-t,u=a-e,c=o-i,p=l-r,d=p*s-c*u;if(!(d*d<tu))return[t+(d=(c*(e-r)-p*(t-i))/d)*s,e+d*u]}(x,_,I,T,S,M,w,k);if(C){var D=x-C[0],A=_-C[1],L=S-C[0],P=M-C[1],z=1/Xs(js((D*L+A*P)/($s(D*D+A*A)*$s(L*L+P*P)))/2),O=$s(C[0]*C[0]+C[1]*C[1]);v=Qs(y,(a-O)/(z-1)),b=Qs(m,(n-O)/(z+1))}}if(o>tu)if(b>tu){var R=eu(I,T,x,_,n,b,l),N=eu(S,M,w,k,n,b,l);t.moveTo(p+R.cx+R.x01,d+R.cy+R.y01),b<m?t.arc(p+R.cx,d+R.cy,b,qs(R.y01,R.x01),qs(N.y01,N.x01),!l):(t.arc(p+R.cx,d+R.cy,b,qs(R.y01,R.x01),qs(R.y11,R.x11),!l),t.arc(p,d,n,qs(R.cy+R.y11,R.cx+R.x11),qs(N.cy+N.y11,N.cx+N.x11),!l),t.arc(p+N.cx,d+N.cy,b,qs(N.y11,N.x11),qs(N.y01,N.x01),!l))}else t.moveTo(p+x,d+_),t.arc(p,d,n,s,u,!l);else t.moveTo(p+x,d+_);a>tu&&o>tu?v>tu?(R=eu(w,k,S,M,a,-v,l),N=eu(x,_,I,T,a,-v,l),t.lineTo(p+R.cx+R.x01,d+R.cy+R.y01),v<y?t.arc(p+R.cx,d+R.cy,v,qs(R.y01,R.x01),qs(N.y01,N.x01),!l):(t.arc(p+R.cx,d+R.cy,v,qs(R.y01,R.x01),qs(R.y11,R.x11),!l),t.arc(p,d,a,qs(R.cy+R.y11,R.cx+R.x11),qs(N.cy+N.y11,N.cx+N.x11),l),t.arc(p+N.cx,d+N.cy,v,qs(N.y11,N.x11),qs(N.y01,N.x01),!l))):(t.lineTo(p+w,d+k),t.arc(p,d,a,u,s,l)):t.lineTo(p+w,d+k)}else t.moveTo(p,d);t.closePath()}}var au=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,this.innerCornerRadius=0},iu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new au},e.prototype.buildPath=function(t,e){nu(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(Jo);iu.prototype.type="sector";var ru=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},ou=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new ru},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,i=2*Math.PI;t.moveTo(n+e.r,a),t.arc(n,a,e.r,0,i,!1),t.moveTo(n+e.r0,a),t.arc(n,a,e.r0,0,i,!0)},e}(Jo);function lu(t,e,n,a,i,r,o){var l=.5*(n-t),s=.5*(a-e);return(2*(e-n)+l+s)*o+(-3*(e-n)-2*l-s)*r+l*i+e}function su(t,e,n){var a=e.smooth,i=e.points;if(i&&i.length>=2){if(a&&"spline"!==a){var r=function(t,e,n,a){var i,r,o,l,s=[],u=[],c=[],p=[];if(a){o=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,h=t.length;d<h;d++)Nt(o,o,t[d]),Et(l,l,t[d]);Nt(o,o,a[0]),Et(l,l,a[1])}for(d=0,h=t.length;d<h;d++){var f=t[d];if(n)i=t[d?d-1:h-1],r=t[(d+1)%h];else{if(0===d||d===h-1){s.push(bt(t[d]));continue}i=t[d-1],r=t[d+1]}kt(u,r,i),Ct(u,u,e);var g=At(f,i),m=At(f,r),y=g+m;0!==y&&(g/=y,m/=y),Ct(c,u,-g),Ct(p,u,m);var v=_t([],f,c),b=_t([],f,p);a&&(Et(v,v,o),Nt(v,v,l),Et(b,b,o),Nt(b,b,l)),s.push(v),s.push(b)}return n&&s.push(s.shift()),s}(i,a,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,l=0;l<(n?o:o-1);l++){var s=r[2*l],u=r[2*l+1],c=i[(l+1)%o];t.bezierCurveTo(s[0],s[1],u[0],u[1],c[0],c[1])}}else{"spline"===a&&(i=function(t,e){for(var n=t.length,a=[],i=0,r=1;r<n;r++)i+=At(t[r-1],t[r]);var o=i/2;for(o=o<n?n:o,r=0;r<o;r++){var l=r/(o-1)*(e?n:n-1),s=Math.floor(l),u=l-s,c=void 0,p=t[s%n],d=void 0,h=void 0;e?(c=t[(s-1+n)%n],d=t[(s+1)%n],h=t[(s+2)%n]):(c=t[0===s?s:s-1],d=t[s>n-2?n-1:s+1],h=t[s>n-3?n-1:s+2]);var f=u*u,g=u*f;a.push([lu(c[0],p[0],d[0],h[0],u,f,g),lu(c[1],p[1],d[1],h[1],u,f,g)])}return a}(i,n)),t.moveTo(i[0][0],i[0][1]),l=1;for(var p=i.length;l<p;l++)t.lineTo(i[l][0],i[l][1])}n&&t.closePath()}}ou.prototype.type="ring";var uu=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},cu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new uu},e.prototype.buildPath=function(t,e){su(t,e,!0)},e}(Jo);cu.prototype.type="polygon";var pu=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},du=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new pu},e.prototype.buildPath=function(t,e){su(t,e,!1)},e}(Jo);du.prototype.type="polyline";var hu={},fu=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},gu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fu},e.prototype.buildPath=function(t,e){var n,a,i,r;if(this.subPixelOptimize){var o=rl(hu,e,this.style);n=o.x1,a=o.y1,i=o.x2,r=o.y2}else n=e.x1,a=e.y1,i=e.x2,r=e.y2;var l=e.percent;0!==l&&(t.moveTo(n,a),l<1&&(i=n*(1-l)+i*l,r=a*(1-l)+r*l),t.lineTo(i,r))},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}(Jo);gu.prototype.type="line";var mu=[],yu=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function vu(t,e,n){var a=t.cpx2,i=t.cpy2;return null===a||null===i?[(n?Vr:Br)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Vr:Br)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Xr:Yr)(t.x1,t.cpx1,t.x2,e),(n?Xr:Yr)(t.y1,t.cpy1,t.y2,e)]}var bu=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new yu},e.prototype.buildPath=function(t,e){var n=e.x1,a=e.y1,i=e.x2,r=e.y2,o=e.cpx1,l=e.cpy1,s=e.cpx2,u=e.cpy2,c=e.percent;0!==c&&(t.moveTo(n,a),null==s||null==u?(c<1&&(jr(n,o,i,c,mu),o=mu[1],i=mu[2],jr(a,l,r,c,mu),l=mu[1],r=mu[2]),t.quadraticCurveTo(o,l,i,r)):(c<1&&(Hr(n,o,s,i,c,mu),o=mu[1],s=mu[2],i=mu[3],Hr(a,l,u,r,c,mu),l=mu[1],u=mu[2],r=mu[3]),t.bezierCurveTo(o,l,s,u,i,r)))},e.prototype.pointAt=function(t){return vu(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=vu(this.shape,t,!0);return Dt(e,e)},e}(Jo);bu.prototype.type="bezier-curve";var xu=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},_u=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new xu},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,i=Math.max(e.r,0),r=e.startAngle,o=e.endAngle,l=e.clockwise,s=Math.cos(r),u=Math.sin(r);t.moveTo(s*i+n,u*i+a),t.arc(n,a,i,r,o,!l)},e}(Jo);_u.prototype.type="arc";var wu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return n(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||[],a=0;a<n.length;a++)n[a].buildPath(t,n[a].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),Jo.prototype.getBoundingRect.call(this)},e}(Jo),ku=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),Su=function(t){function e(e,n,a,i,r,o){var l=t.call(this,r)||this;return l.x=null==e?0:e,l.y=null==n?0:n,l.x2=null==a?1:a,l.y2=null==i?0:i,l.type="linear",l.global=o||!1,l}return n(e,t),e}(ku),Mu=function(t){function e(e,n,a,i,r){var o=t.call(this,i)||this;return o.x=null==e?.5:e,o.y=null==n?.5:n,o.r=null==a?.5:a,o.type="radial",o.global=r||!1,o}return n(e,t),e}(ku),Iu=[0,0],Tu=[0,0],Cu=new sa,Du=new sa,Au=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new sa;for(n=0;n<2;n++)this._axes[n]=new sa;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,a=this._axes,i=t.x,r=t.y,o=i+t.width,l=r+t.height;if(n[0].set(i,r),n[1].set(o,r),n[2].set(o,l),n[3].set(i,l),e)for(var s=0;s<4;s++)n[s].transform(e);for(sa.sub(a[0],n[1],n[0]),sa.sub(a[1],n[3],n[0]),a[0].normalize(),a[1].normalize(),s=0;s<2;s++)this._origin[s]=a[s].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,a=!e;return Cu.set(1/0,1/0),Du.set(0,0),!this._intersectCheckOneSide(this,t,Cu,Du,a,1)&&(n=!1,a)||!this._intersectCheckOneSide(t,this,Cu,Du,a,-1)&&(n=!1,a)||a||sa.copy(e,n?Cu:Du),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,i,r){for(var o=!0,l=0;l<2;l++){var s=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,Iu),this._getProjMinMaxOnAxis(l,e._corners,Tu),Iu[1]<Tu[0]||Iu[0]>Tu[1]){if(o=!1,i)return o;var u=Math.abs(Tu[0]-Iu[1]),c=Math.abs(Iu[0]-Tu[1]);Math.min(u,c)>a.len()&&(u<c?sa.scale(a,s,-u*r):sa.scale(a,s,c*r))}else n&&(u=Math.abs(Tu[0]-Iu[1]),c=Math.abs(Iu[0]-Tu[1]),Math.min(u,c)<n.len()&&(u<c?sa.scale(n,s,u*r):sa.scale(n,s,-c*r)))}return o},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var a=this._axes[t],i=this._origin,r=e[0].dot(a)+i[t],o=r,l=r,s=1;s<e.length;s++){var u=e[s].dot(a)+i[t];o=Math.min(u,o),l=Math.max(u,l)}n[0]=o,n[1]=l},t}(),Lu=[],Pu=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 n(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 ya(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],a=n.getBoundingRect().clone();n.needLocalTransform()&&a.applyTransform(n.getLocalTransform(Lu)),t.union(a)}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 a=0;a<this._displayables.length;a++)if(this._displayables[a].contain(t,e))return!0;return!1},e}(Sr),zu=zi();function Ou(t,e,n,a,i){var r;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();r=o&&o.animation}var l="update"===t;if(e&&e.isAnimationEnabled()){var s=void 0,u=void 0,c=void 0;return a?(s=et(a.duration,200),u=et(a.easing,"cubicOut"),c=0):(s=e.getShallow(l?"animationDurationUpdate":"animationDuration"),u=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),r&&(null!=r.duration&&(s=r.duration),null!=r.easing&&(u=r.easing),null!=r.delay&&(c=r.delay)),"function"==typeof c&&(c=c(n,i)),"function"==typeof s&&(s=s(n)),{duration:s||0,delay:c,easing:u}}return null}function Ru(t,e,n,a,i,r,o){var l,s=!1;"function"==typeof i?(o=r,r=i,i=null):X(i)&&(r=i.cb,o=i.during,s=i.isFrom,l=i.removeOpt,i=i.dataIndex);var u="remove"===t;u||e.stopAnimation("remove");var c=Ou(t,a,i,u?l||{}:null,a&&a.getAnimationDelayParams?a.getAnimationDelayParams(e,i):null);if(c&&c.duration>0){var p={duration:c.duration,delay:c.delay||0,easing:c.easing,done:r,force:!!r||!!o,setToFinal:!u,scope:t,during:o};s?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!s&&e.attr(n),o&&o(1),r&&r()}function Nu(t,e,n,a,i,r){Ru("update",t,e,n,a,i,r)}function Eu(t,e,n,a,i,r){Ru("init",t,e,n,a,i,r)}function Bu(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("remove"===t.animators[e].scope)return!0;return!1}function Vu(t,e,n,a,i,r){Bu(t)||Ru("remove",t,e,n,a,i,r)}function Fu(t,e,n,a){t.removeTextContent(),t.removeTextGuideLine(),Vu(t,{style:{opacity:0}},e,n,a)}function Gu(t,e,n){function a(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||Fu(t,e,n,a)})):Fu(t,e,n,a)}function Hu(t){zu(t).oldStyle=t.style}var Wu=Math.max,Uu=Math.min,Yu={};function Xu(t){return Jo.extend(t)}var Zu=function(t,e){var a=Es(t,e);return function(t){function e(e){var n=t.call(this,e)||this;return n.applyTransform=a.applyTransform,n.buildPath=a.buildPath,n}return n(e,t),e}(Rs)};function ju(t,e){return Zu(t,e)}function qu(t,e){Yu[t]=e}function Ku(t){if(Yu.hasOwnProperty(t))return Yu[t]}function $u(t,e,n,a){var i=Bs(t,e);return n&&("center"===a&&(n=Qu(n,i.getBoundingRect())),ec(i,n)),i}function Ju(t,e,n){var a=new al({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};a.setStyle(Qu(e,i))}}});return a}function Qu(t,e){var n,a=e.width/e.height,i=t.height*a;return n=i<=t.width?t.height:(i=t.width)/a,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var tc=function(t,e){for(var n=[],a=t.length,i=0;i<a;i++){var r=t[i];n.push(r.getUpdatedPathProxy(!0))}var o=new Jo(e);return o.createPathProxy(),o.buildPath=function(t){if(Ns(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},o};function ec(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var nc=ll;function ac(t,e){for(var n=Hn([]);t&&t!==e;)Un(n,t.getLocalTransform(),n),t=t.parent;return n}function ic(t,e,n){return e&&!P(e)&&(e=oa.getLocalTransform(e)),n&&(e=jn([],e)),Rt([],t,e)}function rc(t,e,n){var a=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),r=["left"===t?-a:"right"===t?a:0,"top"===t?-i:"bottom"===t?i:0];return r=ic(r,e,n),Math.abs(r[0])>Math.abs(r[1])?r[0]>0?"right":"left":r[1]>0?"bottom":"top"}function oc(t){return!t.isGroup}function lc(t,e,n){if(t&&e){var a,i=(a={},t.traverse((function(t){oc(t)&&t.anid&&(a[t.anid]=t)})),a);e.traverse((function(t){if(oc(t)&&t.anid){var e=i[t.anid];if(e){var a=r(t);t.attr(r(e)),Nu(t,a,n,wl(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=I({},t.shape)),e}}function sc(t,e){return O(t,(function(t){var n=t[0];n=Wu(n,e.x),n=Uu(n,e.x+e.width);var a=t[1];return a=Wu(a,e.y),[n,a=Uu(a,e.y+e.height)]}))}function uc(t,e){var n=Wu(t.x,e.x),a=Uu(t.x+t.width,e.x+e.width),i=Wu(t.y,e.y),r=Uu(t.y+t.height,e.y+e.height);if(a>=n&&r>=i)return{x:n,y:i,width:a-n,height:r-i}}function cc(t,e,n){var a=I({rectHover:!0},e),i=a.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),T(i,n),new al(a)):$u(t.replace("path://",""),a,n,"center")}function pc(t,e,n,a,i){for(var r=0,o=i[i.length-1];r<i.length;r++){var l=i[r];if(dc(t,e,n,a,l[0],l[1],o[0],o[1]))return!0;o=l}}function dc(t,e,n,a,i,r,o,l){var s,u=n-t,c=a-e,p=o-i,d=l-r,h=hc(p,d,u,c);if((s=h)<=1e-6&&s>=-1e-6)return!1;var f=t-i,g=e-r,m=hc(f,g,u,c)/h;if(m<0||m>1)return!1;var y=hc(f,g,p,d)/h;return!(y<0||y>1)}function hc(t,e,n,a){return t*a-n*e}function fc(t){var e=t.itemTooltipOption,n=t.componentModel,a=t.itemName,i=W(e)?{formatter:e}:e,r=n.mainType,o=n.componentIndex,l={componentType:r,name:a,$vars:["name"]};l[r+"Index"]=o;var s=t.formatterParamsExtra;s&&z(B(s),(function(t){ft(l,t)||(l[t]=s[t],l.$vars.push(t))}));var u=wl(t.el);u.componentMainType=r,u.componentIndex=o,u.tooltipConfig={name:a,option:T({content:a,formatterParams:l},i)}}qu("circle",Gs),qu("ellipse",Ws),qu("sector",iu),qu("ring",ou),qu("polygon",cu),qu("polyline",du),qu("rect",cl),qu("line",gu),qu("bezierCurve",bu),qu("arc",_u);var gc=Object.freeze({__proto__:null,updateProps:Nu,initProps:Eu,removeElement:Vu,removeElementWithFadeOut:Gu,isElementRemoved:Bu,extendShape:Xu,extendPath:ju,registerShape:qu,getShapeClass:Ku,makePath:$u,makeImage:Ju,mergePath:tc,resizePath:ec,subPixelOptimizeLine:function(t){return rl(t.shape,t.shape,t.style),t},subPixelOptimizeRect:function(t){return ol(t.shape,t.shape,t.style),t},subPixelOptimize:nc,getTransform:ac,applyTransform:ic,transformDirection:rc,groupTransition:lc,clipPointsByRect:sc,clipRectByRect:uc,createIcon:cc,linePolygonIntersect:pc,lineLineIntersect:dc,setTooltipConfig:fc,Group:Va,Image:al,Text:hl,Circle:Gs,Ellipse:Ws,Sector:iu,Ring:ou,Polygon:cu,Polyline:du,Rect:cl,Line:gu,BezierCurve:bu,Arc:_u,IncrementalDisplayable:Pu,CompoundPath:wu,LinearGradient:Su,RadialGradient:Mu,BoundingRect:ya,OrientedBoundingRect:Au,Point:sa,Path:Jo}),mc={};function yc(t,e){for(var n=0;n<Tl.length;n++){var a=Tl[n],i=e[a],r=t.ensureState(a);r.style=r.style||{},r.style.text=i}var o=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(o,!0)}function vc(t,e,n){var a,i=t.labelFetcher,r=t.labelDataIndex,o=t.labelDimIndex,l=e.normal;i&&(a=i.getFormattedLabel(r,"normal",null,o,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==a&&(a=H(t.defaultText)?t.defaultText(r,t,n):t.defaultText);for(var s={normal:a},u=0;u<Tl.length;u++){var c=Tl[u],p=e[c];s[c]=et(i?i.getFormattedLabel(r,c,null,o,p&&p.get("formatter")):null,a)}return s}function bc(t,e,n,a){n=n||mc;for(var i=t instanceof hl,r=!1,o=0;o<Cl.length;o++)if((d=e[Cl[o]])&&d.getShallow("show")){r=!0;break}var l=i?t:t.getTextContent();if(r){i||(l||(l=new hl,t.setTextContent(l)),t.stateProxy&&(l.stateProxy=t.stateProxy));var s=vc(n,e),u=e.normal,c=!!u.getShallow("show"),p=_c(u,a&&a.normal,n,!1,!i);for(p.text=s.normal,i||t.setTextConfig(wc(u,n,!1)),o=0;o<Tl.length;o++){var d,h=Tl[o];if(d=e[h]){var f=l.ensureState(h),g=!!et(d.getShallow("show"),c);g!==c&&(f.ignore=!g),f.style=_c(d,a&&a[h],n,!0,!i),f.style.text=s[h],i||(t.ensureState(h).textConfig=wc(d,n,!0))}}l.silent=!!u.getShallow("silent"),null!=l.style.x&&(p.x=l.style.x),null!=l.style.y&&(p.y=l.style.y),l.ignore=!c,l.useStyle(p),l.dirty(),n.enableTextSetter&&(Cc(l).setLabelText=function(t){var a=vc(n,e,t);yc(l,a)})}else l&&(l.ignore=!0);t.dirty()}function xc(t,e){e=e||"label";for(var n={normal:t.getModel(e)},a=0;a<Tl.length;a++){var i=Tl[a];n[i]=t.getModel([i,e])}return n}function _c(t,e,n,a,i){var r={};return function(t,e,n,a,i){n=n||mc;var r,o=e.ecModel,l=o&&o.option.textStyle,s=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||mc).rich;if(n){e=e||{};for(var a=B(n),i=0;i<a.length;i++)e[a[i]]=1}t=t.parentModel}return e}(e);if(s)for(var u in r={},s)if(s.hasOwnProperty(u)){var c=e.getModel(["rich",u]);Ic(r[u]={},c,l,n,a,i,!1,!0)}r&&(t.rich=r);var p=e.get("overflow");p&&(t.overflow=p);var d=e.get("minMargin");null!=d&&(t.margin=d),Ic(t,e,l,n,a,i,!0,!1)}(r,t,n,a,i),e&&I(r,e),r}function wc(t,e,n){e=e||{};var a,i={},r=t.getShallow("rotate"),o=et(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(a=t.getShallow("position")||(n?null:"inside"))&&(a=e.defaultOutsidePosition||"top"),null!=a&&(i.position=a),null!=l&&(i.offset=l),null!=r&&(r*=Math.PI/180,i.rotation=r),null!=o&&(i.distance=o),i.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",i}var kc=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],Sc=["align","lineHeight","width","height","tag","verticalAlign"],Mc=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Ic(t,e,n,a,i,r,o,l){n=!i&&n||mc;var s=a&&a.inheritColor,u=e.getShallow("color"),c=e.getShallow("textBorderColor"),p=et(e.getShallow("opacity"),n.opacity);"inherit"!==u&&"auto"!==u||(u=s||null),"inherit"!==c&&"auto"!==c||(c=s||null),r||(u=u||n.color,c=c||n.textBorderColor),null!=u&&(t.fill=u),null!=c&&(t.stroke=c);var d=et(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var h=et(e.getShallow("textBorderType"),n.textBorderType);null!=h&&(t.lineDash=h);var f=et(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=f&&(t.lineDashOffset=f),i||null!=p||l||(p=a&&a.defaultOpacity),null!=p&&(t.opacity=p),i||r||null==t.fill&&a.inheritColor&&(t.fill=a.inheritColor);for(var g=0;g<kc.length;g++){var m=kc[g];null!=(v=et(e.getShallow(m),n[m]))&&(t[m]=v)}for(g=0;g<Sc.length;g++)m=Sc[g],null!=(v=e.getShallow(m))&&(t[m]=v);if(null==t.verticalAlign){var y=e.getShallow("baseline");null!=y&&(t.verticalAlign=y)}if(!o||!a.disableBox){for(g=0;g<Mc.length;g++){var v;m=Mc[g],null!=(v=e.getShallow(m))&&(t[m]=v)}var b=e.getShallow("borderType");null!=b&&(t.borderDash=b),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!s||(t.backgroundColor=s),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!s||(t.borderColor=s)}}function Tc(t,e){var n=e&&e.getModel("textStyle");return ot([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 Cc=zi();function Dc(t,e,n,a){if(t){var i=Cc(t);i.prevValue=i.value,i.value=n;var r=e.normal;i.valueAnimation=r.get("valueAnimation"),i.valueAnimation&&(i.precision=r.get("precision"),i.defaultInterpolatedText=a,i.statesModels=e)}}function Ac(t,e,n,a,i){var r=Cc(t);if(r.valueAnimation){var o=r.defaultInterpolatedText,l=et(r.interpolatedValue,r.prevValue),s=r.value;(null==r.prevValue?Eu:Nu)(t,{},a,e,null,(function(a){var u=Hi(n,r.precision,l,s,a);r.interpolatedValue=1===a?null:u;var c=vc({labelDataIndex:e,labelFetcher:i,defaultText:o?o(u):u+""},r.statesModels,u);yc(t,c)}))}}var Lc,Pc,zc=["textStyle","color"],Oc=new hl,Rc=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(zc):null)},t.prototype.getFont=function(){return Tc({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){return Oc.useStyle({text:t,fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily"),verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline"),padding:this.getShallow("padding"),lineHeight:this.getShallow("lineHeight"),rich:this.getShallow("rich")}),Oc.update(),Oc.getBoundingRect()},t}(),Nc=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Ec=Qi(Nc),Bc=function(){function t(){}return t.prototype.getLineStyle=function(t){return Ec(this,t)},t}(),Vc=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Fc=Qi(Vc),Gc=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return Fc(this,t,e)},t}(),Hc=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 a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){S(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,a=null==n?n:n[t];if(null==a&&!e){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},t.prototype.getModel=function(e,n){var a=null!=e,i=a?this.parsePath(e):null;return new t(a?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new 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(!o.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 a=0;a<t.length&&(!t[a]||null!=(n=n&&"object"==typeof n?n[t[a]]:null));a++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();Xi(Hc),Lc=Hc,Pc=["__\0is_clz",qi++].join("_"),Lc.prototype[Pc]=!0,Lc.isInstance=function(t){return!(!t||!t[Pc])},L(Hc,Bc),L(Hc,Gc),L(Hc,er),L(Hc,Rc);var Wc=Math.round(10*Math.random());function Uc(t){return[t||"",Wc++].join("_")}function Yc(t,e){return S(S({},t,!0),e,!0)}var Xc="ZH",Zc="EN",jc=Zc,qc={},Kc={},$c=o.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(Xc)>-1?Xc:jc;function Jc(t,e){t=t.toUpperCase(),Kc[t]=new Hc(e),qc[t]=e}Jc(Zc,{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","Friday","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"}},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:". "}}}}),Jc(Xc,{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:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表，"},series:{single:{prefix:"",withName:"图表类型是{seriesType}，表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}，",withoutName:"第{seriesId}个系列是一个{seriesType}，",separator:{middle:"；",end:"。"}}},data:{allData:"其数据是——",partialData:"其中，前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"，",end:""}}}});var Qc=1e3,tp=6e4,ep=36e5,np=864e5,ap=31536e6,ip={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}"},rp={year:"{yyyy}",month:"{yyyy}-{MM}",day:"{yyyy}-{MM}-{dd}",hour:"{yyyy}-{MM}-{dd} "+ip.hour,minute:"{yyyy}-{MM}-{dd} "+ip.minute,second:"{yyyy}-{MM}-{dd} "+ip.second,millisecond:ip.none},op=["year","month","day","hour","minute","second","millisecond"],lp=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function sp(t,e){return"0000".substr(0,e-(t+="").length)+t}function up(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 cp(t){return t===up(t)}function pp(t,e,n,a){var i=li(t),r=i[fp(n)](),o=i[gp(n)]()+1,l=Math.floor((o-1)/4)+1,s=i[mp(n)](),u=i["get"+(n?"UTC":"")+"Day"](),c=i[yp(n)](),p=(c-1)%12+1,d=i[vp(n)](),h=i[bp(n)](),f=i[xp(n)](),g=(a instanceof Hc?a:function(t){return Kc[t]}(a||$c)||Kc.EN).getModel("time"),m=g.get("month"),y=g.get("monthAbbr"),v=g.get("dayOfWeek"),b=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,r+"").replace(/{yy}/g,r%100+"").replace(/{Q}/g,l+"").replace(/{MMMM}/g,m[o-1]).replace(/{MMM}/g,y[o-1]).replace(/{MM}/g,sp(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,sp(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,v[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,sp(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,sp(p+"",2)).replace(/{h}/g,p+"").replace(/{mm}/g,sp(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,sp(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,sp(f,3)).replace(/{S}/g,f+"")}function dp(t,e){var n=li(t),a=n[gp(e)]()+1,i=n[mp(e)](),r=n[yp(e)](),o=n[vp(e)](),l=n[bp(e)](),s=0===n[xp(e)](),u=s&&0===l,c=u&&0===o,p=c&&0===r,d=p&&1===i;return d&&1===a?"year":d?"month":p?"day":c?"hour":u?"minute":s?"second":"millisecond"}function hp(t,e,n){var a="number"==typeof t?li(t):t;switch(e=e||dp(t,n)){case"year":return a[fp(n)]();case"half-year":return a[gp(n)]()>=6?1:0;case"quarter":return Math.floor((a[gp(n)]()+1)/4);case"month":return a[gp(n)]();case"day":return a[mp(n)]();case"half-day":return a[yp(n)]()/24;case"hour":return a[yp(n)]();case"minute":return a[vp(n)]();case"second":return a[bp(n)]();case"millisecond":return a[xp(n)]()}}function fp(t){return t?"getUTCFullYear":"getFullYear"}function gp(t){return t?"getUTCMonth":"getMonth"}function mp(t){return t?"getUTCDate":"getDate"}function yp(t){return t?"getUTCHours":"getHours"}function vp(t){return t?"getUTCMinutes":"getMinutes"}function bp(t){return t?"getUTCSeconds":"getSeconds"}function xp(t){return t?"getUTCMilliseconds":"getMilliseconds"}function _p(t){return t?"setUTCFullYear":"setFullYear"}function wp(t){return t?"setUTCMonth":"setMonth"}function kp(t){return t?"setUTCDate":"setDate"}function Sp(t){return t?"setUTCHours":"setHours"}function Mp(t){return t?"setUTCMinutes":"setMinutes"}function Ip(t){return t?"setUTCSeconds":"setSeconds"}function Tp(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Cp(t){if(!fi(t))return W(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Dp(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 Ap=it,Lp=/([&<>"'])/g,Pp={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function zp(t){return null==t?"":(t+"").replace(Lp,(function(t,e){return Pp[e]}))}function Op(t,e,n){function a(t){return t&&ot(t)?t:"-"}function i(t){return!(null==t||isNaN(t)||!isFinite(t))}var r="time"===e,o=t instanceof Date;if(r||o){var l=r?li(t):t;if(!isNaN(+l))return pp(l,"{yyyy}-{MM}-{dd} {hh}:{mm}:{ss}",n);if(o)return"-"}if("ordinal"===e)return U(t)?a(t):Y(t)&&i(t)?t+"":"-";var s=hi(t);return i(s)?Cp(s):U(t)?a(t):"-"}var Rp=["a","b","c","d","e","f","g"],Np=function(t,e){return"{"+t+(null==e?"":e)+"}"};function Ep(t,e,n){G(e)||(e=[e]);var a=e.length;if(!a)return"";for(var i=e[0].$vars||[],r=0;r<i.length;r++){var o=Rp[r];t=t.replace(Np(o),Np(o,0))}for(var l=0;l<a;l++)for(var s=0;s<i.length;s++){var u=e[l][i[s]];t=t.replace(Np(Rp[s],l),n?zp(u):u)}return t}function Bp(t,e){var n=W(t)?{color:t,extraCssText:e}:t||{},a=n.color,i=n.type;e=n.extraCssText;var r=n.renderMode||"html";return a?"html"===r?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+zp(a)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+zp(a)+";"+(e||"")+'"></span>':{renderMode:r,content:"{"+(n.markerId||"markerX")+"|}  ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:a}:{width:10,height:10,borderRadius:5,backgroundColor:a}}:""}function Vp(t,e){return e=e||"transparent",W(t)?t:X(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function Fp(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var Gp=z,Hp=["left","right","top","bottom","width","height"],Wp=[["width","left","right"],["height","top","bottom"]];function Up(t,e,n,a,i){var r=0,o=0;null==a&&(a=1/0),null==i&&(i=1/0);var l=0;e.eachChild((function(s,u){var c,p,d=s.getBoundingRect(),h=e.childAt(u+1),f=h&&h.getBoundingRect();if("horizontal"===t){var g=d.width+(f?-f.x+d.x:0);(c=r+g)>a||s.newline?(r=0,c=g,o+=l+n,l=d.height):l=Math.max(l,d.height)}else{var m=d.height+(f?-f.y+d.y:0);(p=o+m)>i||s.newline?(r+=l+n,o=0,p=m,l=d.width):l=Math.max(l,d.width)}s.newline||(s.x=r,s.y=o,s.markRedraw(),"horizontal"===t?r=c+n:o=p+n)}))}var Yp=Up;function Xp(t,e,n){n=Ap(n||0);var a=e.width,i=e.height,r=qa(t.left,a),o=qa(t.top,i),l=qa(t.right,a),s=qa(t.bottom,i),u=qa(t.width,a),c=qa(t.height,i),p=n[2]+n[0],d=n[1]+n[3],h=t.aspect;switch(isNaN(u)&&(u=a-l-d-r),isNaN(c)&&(c=i-s-p-o),null!=h&&(isNaN(u)&&isNaN(c)&&(h>a/i?u=.8*a:c=.8*i),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(r)&&(r=a-l-u-d),isNaN(o)&&(o=i-s-c-p),t.left||t.right){case"center":r=a/2-u/2-n[3];break;case"right":r=a-u-d}switch(t.top||t.bottom){case"middle":case"center":o=i/2-c/2-n[0];break;case"bottom":o=i-c-p}r=r||0,o=o||0,isNaN(u)&&(u=a-d-r-(l||0)),isNaN(c)&&(c=i-p-o-(s||0));var f=new ya(r+n[3],o+n[0],u,c);return f.margin=n,f}function Zp(t,e,n,a,i){var r=!i||!i.hv||i.hv[0],o=!i||!i.hv||i.hv[1],l=i&&i.boundingMode||"all";if(r||o){var s;if("raw"===l)s="group"===t.type?new ya(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(s=t.getBoundingRect(),t.needLocalTransform()){var u=t.getLocalTransform();(s=s.clone()).applyTransform(u)}var c=Xp(T({width:s.width,height:s.height},e),n,a),p=r?c.x-s.x:0,d=o?c.y-s.y:0;"raw"===l?(t.x=p,t.y=d):(t.x+=p,t.y+=d),t.markRedraw()}}function jp(t){var e=t.layoutMode||t.constructor.layoutMode;return X(e)?e:e?{type:e}:null}function qp(t,e,n){var a=n&&n.ignoreSize;!G(a)&&(a=[a,a]);var i=o(Wp[0],0),r=o(Wp[1],1);function o(n,i){var r={},o=0,u={},c=0;if(Gp(n,(function(e){u[e]=t[e]})),Gp(n,(function(t){l(e,t)&&(r[t]=u[t]=e[t]),s(r,t)&&o++,s(u,t)&&c++})),a[i])return s(e,n[1])?u[n[2]]=null:s(e,n[2])&&(u[n[1]]=null),u;if(2!==c&&o){if(o>=2)return r;for(var p=0;p<n.length;p++){var d=n[p];if(!l(r,d)&&l(t,d)){r[d]=t[d];break}}return r}return u}function l(t,e){return t.hasOwnProperty(e)}function s(t,e){return null!=t[e]&&"auto"!==t[e]}function u(t,e,n){Gp(t,(function(t){e[t]=n[t]}))}u(Wp[0],t,i),u(Wp[1],t,r)}function Kp(t){return $p({},t)}function $p(t,e){return e&&t&&Gp(Hp,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}F(Up,"vertical"),F(Up,"horizontal");var Jp=zi(),Qp=function(t){function e(e,n,a){var i=t.call(this,e,n,a)||this;return i.uid=Uc("ec_cpt_model"),i}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=jp(this),a=n?Kp(t):{};S(t,e.getTheme().get(this.mainType)),S(t,this.getDefaultOption()),n&&qp(t,a,n)},e.prototype.mergeOption=function(t,e){S(this.option,t,!0);var n=jp(this);n&&qp(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[Ui])}(t))return t.defaultOption;var e=Jp(this);if(!e.defaultOption){for(var n=[],a=t;a;){var i=a.prototype.defaultOption;i&&n.push(i),a=a.superClass}for(var r={},o=n.length-1;o>=0;o--)r=S(r,n[o],!0);e.defaultOption=r}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",a=t+"Id";return Vi(this.ecModel,t,{index:this.get(n,!0),id:this.get(a,!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.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(Hc);ji(Qp,Hc),Ji(Qp),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var a=Yi(t);e[a.main]=n},t.determineSubType=function(n,a){var i=a.type;if(!i){var r=Yi(n).main;t.hasSubTypes(n)&&e[r]&&(i=e[r](a))}return i}}(Qp),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,a,i,r){if(t.length){var o=function(t){var a={},i=[];return z(t,(function(r){var o=n(a,r),l=function(t,e){var n=[];return z(t,(function(t){D(e,t)>=0&&n.push(t)})),n}(o.originalDeps=e(r),t);o.entryCount=l.length,0===o.entryCount&&i.push(r),z(l,(function(t){D(o.predecessor,t)<0&&o.predecessor.push(t);var e=n(a,t);D(e.successor,t)<0&&e.successor.push(r)}))})),{graph:a,noEntryList:i}}(a),l=o.graph,s=o.noEntryList,u={};for(z(t,(function(t){u[t]=!0}));s.length;){var c=s.pop(),p=l[c],d=!!u[c];d&&(i.call(r,c,p.originalDeps.slice()),delete u[c]),z(p.successor,d?f:h)}z(u,(function(){throw new Error("")}))}function h(t){l[t].entryCount--,0===l[t].entryCount&&s.push(t)}function f(t){u[t]=!0,h(t)}}}(Qp,(function(t){var e=[];return z(Qp.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=O(e,(function(t){return Yi(t).main})),"dataset"!==t&&D(e,"dataset")<=0&&e.unshift("dataset"),e}));var td="";"undefined"!=typeof navigator&&(td=navigator.platform||"");var ed="rgba(0, 0, 0, 0.2)",nd={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:ed,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:ed,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:ed,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:ed,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:ed,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:ed,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:td.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},ad=pt(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),id="original",rd="arrayRows",od="objectRows",ld="keyedColumns",sd="typedArray",ud="unknown",cd="column",pd="row",dd=1,hd=2,fd=3,gd=zi();function md(t,e,n){var a={},i=vd(e);if(!i||!t)return a;var r,o,l=[],s=[],u=e.ecModel,c=gd(u).datasetMap,p=i.uid+"_"+n.seriesLayoutBy;z(t=t.slice(),(function(e,n){var i=X(e)?e:t[n]={name:e};"ordinal"===i.type&&null==r&&(r=n,o=f(i)),a[i.name]=[]}));var d=c.get(p)||c.set(p,{categoryWayDim:o,valueWayDim:0});function h(t,e,n){for(var a=0;a<n;a++)t.push(e+a)}function f(t){var e=t.dimsDef;return e?e.length:1}return z(t,(function(t,e){var n=t.name,i=f(t);if(null==r){var o=d.valueWayDim;h(a[n],o,i),h(s,o,i),d.valueWayDim+=i}else r===e?(h(a[n],0,i),h(l,0,i)):(o=d.categoryWayDim,h(a[n],o,i),h(s,o,i),d.categoryWayDim+=i)})),l.length&&(a.itemName=l),s.length&&(a.seriesName=s),a}function yd(t,e,n){var a={};if(!vd(t))return a;var i,r=e.sourceFormat,o=e.dimensionsDefine;r!==od&&r!==ld||z(o,(function(t,e){"name"===(X(t)?t.name:t)&&(i=e)}));var l=function(){for(var t={},a={},l=[],s=0,u=Math.min(5,n);s<u;s++){var c=xd(e.data,r,e.seriesLayoutBy,o,e.startIndex,s);l.push(c);var p=c===fd;if(p&&null==t.v&&s!==i&&(t.v=s),(null==t.n||t.n===t.v||!p&&l[t.n]===fd)&&(t.n=s),d(t)&&l[t.n]!==fd)return t;p||(c===hd&&null==a.v&&s!==i&&(a.v=s),null!=a.n&&a.n!==a.v||(a.n=s))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(a)?a:null}();if(l){a.value=[l.v];var s=null!=i?i:l.n;a.itemName=[s],a.seriesName=[s]}return a}function vd(t){if(!t.get("data",!0))return Vi(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},Ei).models[0]}function bd(t,e){return xd(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function xd(t,e,n,a,i,r){var o,l,s;if(j(t))return fd;if(a){var u=a[r];X(u)?(l=u.name,s=u.type):W(u)&&(l=u)}if(null!=s)return"ordinal"===s?dd:fd;if(e===rd){var c=t;if(n===pd){for(var p=c[r],d=0;d<(p||[]).length&&d<5;d++)if(null!=(o=v(p[i+d])))return o}else for(d=0;d<c.length&&d<5;d++){var h=c[i+d];if(h&&null!=(o=v(h[r])))return o}}else if(e===od){var f=t;if(!l)return fd;for(d=0;d<f.length&&d<5;d++)if((m=f[d])&&null!=(o=v(m[l])))return o}else if(e===ld){if(!l)return fd;if(!(p=t[l])||j(p))return fd;for(d=0;d<p.length&&d<5;d++)if(null!=(o=v(p[d])))return o}else if(e===id){var g=t;for(d=0;d<g.length&&d<5;d++){var m,y=Si(m=g[d]);if(!G(y))return fd;if(null!=(o=v(y[r])))return o}}function v(t){var e=W(t);return null!=t&&isFinite(t)&&""!==t?e?hd:fd:e&&"-"!==t?dd:void 0}return fd}var _d,wd,kd,Sd=pt(),Md=zi(),Id=zi(),Td=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var a=_i(this.get("color",!0)),i=this.get("colorLayer",!0);return Dd(this,Md,a,i,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,Md)},t}();function Cd(t,e,n,a){var i=_i(t.get(["aria","decal","decals"]));return Dd(t,Id,i,null,e,n,a)}function Dd(t,e,n,a,i,r,o){var l=e(r=r||t),s=l.paletteIdx||0,u=l.paletteNameMap=l.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=o&&a?function(t,e){for(var n=t.length,a=0;a<n;a++)if(t[a].length>e)return t[a];return t[n-1]}(a,o):n;if((c=c||n)&&c.length){var p=c[s];return i&&(u[i]=p),l.paletteIdx=(s+1)%c.length,p}}var Ad=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(t,e,n,a,i,r){a=a||{},this.option=null,this._theme=new Hc(a),this._locale=new Hc(i),this._optionManager=r},e.prototype.setOption=function(t,e,n){var a=zd(e);this._optionManager.setOption(t,n,a),this._resetOption(null,a)},e.prototype.resetOption=function(t,e){return this._resetOption(t,zd(e))},e.prototype._resetOption=function(t,e){var n=!1,a=this._optionManager;if(!t||"recreate"===t){var i=a.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):kd(this,i),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var r=a.getTimelineOption(this);r&&(n=!0,this._mergeOption(r,e))}if(!t||"recreate"===t||"media"===t){var o=a.getMediaOption(this);o.length&&z(o,(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,a=this._componentsMap,i=this._componentsCount,r=[],o=pt(),l=e&&e.replaceMergeMainTypeMap;gd(this).datasetMap=pt(),z(t,(function(t,e){null!=t&&(Qp.hasClass(e)?e&&(r.push(e),o.set(e,!0)):n[e]=null==n[e]?k(t):S(n[e],t,!0))})),l&&l.each((function(t,e){Qp.hasClass(e)&&!o.get(e)&&(r.push(e),o.set(e,!0))})),Qp.topologicalTravel(r,Qp.getAllClassMainTypes(),(function(e){var r=function(t,e,n){var a=Sd.get(e);if(!a)return n;var i=a(t);return i?n.concat(i):n}(this,e,_i(t[e])),o=a.get(e),s=Ii(o,r,o?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll");(function(t,e,n){z(t,(function(t){var a=t.newOption;X(a)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,a){return e.type?e.type:n?n.subType:a.determineSubType(t,e)}(e,a,t.existing,n))}))})(s,e,Qp),n[e]=null,a.set(e,null),i.set(e,0);var u=[],c=[],p=0;z(s,(function(t,n){var a=t.existing,i=t.newOption;if(i){var r="series"===e,o=Qp.getClass(e,t.keyInfo.subType,!r);if(!o)return;if(a&&a.constructor===o)a.name=t.keyInfo.name,a.mergeOption(i,this),a.optionUpdated(i,!1);else{var l=I({componentIndex:n},t.keyInfo);I(a=new o(i,this,this,l),l),t.brandNew&&(a.__requireNewView=!0),a.init(i,this,this),a.optionUpdated(null,!0)}}else a&&(a.mergeOption({},this),a.optionUpdated({},!1));a?(u.push(a.option),c.push(a),p++):(u.push(void 0),c.push(void 0))}),this),n[e]=u,a.set(e,c),i.set(e,p),"series"===e&&_d(this)}),this),this._seriesIndices||_d(this)},e.prototype.getOption=function(){var t=k(this.option);return z(t,(function(e,n){if(Qp.hasClass(n)){for(var a=_i(e),i=a.length,r=!1,o=i-1;o>=0;o--)a[o]&&!Li(a[o])?r=!0:(a[o]=null,!r&&i--);a.length=i,t[n]=a}})),delete t["\0_ec_inner"],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 a=n[e||0];if(a)return a;if(null==e)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,a=t.index,i=t.id,r=t.name,o=this._componentsMap.get(e);return o&&o.length?(null!=a?(n=[],z(_i(a),(function(t){o[t]&&n.push(o[t])}))):n=null!=i?Ld("id",i,o):null!=r?Ld("name",r,o):N(o,(function(t){return!!t})),Pd(n,t)):[]},e.prototype.findComponents=function(t){var e,n,a,i,r,o=t.query,l=t.mainType,s=(n=l+"Index",a=l+"Id",i=l+"Name",!(e=o)||null==e[n]&&null==e[a]&&null==e[i]?null:{mainType:l,index:e[n],id:e[a],name:e[i]}),u=s?this.queryComponents(s):N(this._componentsMap.get(l),(function(t){return!!t}));return r=Pd(u,t),t.filter?N(r,t.filter):r},e.prototype.eachComponent=function(t,e,n){var a=this._componentsMap;if(H(t)){var i=e,r=t;a.each((function(t,e){for(var n=0;t&&n<t.length;n++){var a=t[n];a&&r.call(i,e,a,a.componentIndex)}}))}else for(var o=W(t)?a.get(t):X(t)?this.findComponents(t):null,l=0;o&&l<o.length;l++){var s=o[l];s&&e.call(n,s,s.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=Di(t,null);return N(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 N(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return N(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){wd(this),z(this._seriesIndices,(function(n){var a=this._componentsMap.get("series")[n];t.call(e,a,n)}),this)},e.prototype.eachRawSeries=function(t,e){z(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){wd(this),z(this._seriesIndices,(function(a){var i=this._componentsMap.get("series")[a];i.subType===t&&e.call(n,i,a)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return z(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return wd(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){wd(this);var n=[];z(this._seriesIndices,(function(a){var i=this._componentsMap.get("series")[a];t.call(e,i,a)&&n.push(a)}),this),this._seriesIndices=n,this._seriesIndicesMap=pt(n)},e.prototype.restoreData=function(t){_d(this);var e=this._componentsMap,n=[];e.each((function(t,e){Qp.hasClass(e)&&n.push(e)})),Qp.topologicalTravel(n,Qp.getAllClassMainTypes(),(function(n){z(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,a=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=a&&t.id!==a||null!=i&&t.name!==i}}(e,t)||e.restoreData()}))}))},e.internalField=(_d=function(t){var e=t._seriesIndices=[];z(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=pt(e)},wd=function(t){},void(kd=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=pt({series:[]}),t._componentsCount=pt();var n=e.aria;X(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;z(e,(function(e,a){"colorLayer"===a&&n||Qp.hasClass(a)||("object"==typeof e?t[a]=t[a]?S(t[a],e,!1):k(e):null==t[a]&&(t[a]=e))}))}(e,t._theme.option),S(e,nd,!1),t._mergeOption(e,null)})),e}(Hc);function Ld(t,e,n){if(G(e)){var a=pt();return z(e,(function(t){null!=t&&null!=Di(t,null)&&a.set(t,!0)})),N(n,(function(e){return e&&a.get(e[t])}))}var i=Di(e,null);return N(n,(function(e){return e&&null!=i&&e[t]===i}))}function Pd(t,e){return e.hasOwnProperty("subType")?N(t,(function(t){return t&&t.subType===e.subType})):t}function zd(t){var e=pt();return t&&z(_i(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}L(Ad,Td);var Od=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Rd=function(t){z(Od,(function(e){this[e]=V(t[e],t)}),this)},Nd={},Ed=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];z(Nd,(function(a,i){var r=a.create(t,e);n=n.concat(r||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){z(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){Nd[t]=e},t.get=function(t){return Nd[t]},t}(),Bd=/^(min|max)?(.+)$/,Vd=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(z(_i(t.series),(function(t){t&&t.data&&j(t.data)&&st(t.data)})),z(_i(t.dataset),(function(t){t&&t.source&&j(t.source)&&st(t.source)}))),t=k(t);var a=this._optionBackup,i=function(t,e,n){var a,i,r=[],o=t.baseOption,l=t.timeline,s=t.options,u=t.media,c=!!t.media,p=!!(s||l||o&&o.timeline);function d(t){z(e,(function(e){e(t,n)}))}return o?(i=o).timeline||(i.timeline=l):((p||c)&&(t.options=t.media=null),i=t),c&&G(u)&&z(u,(function(t){t&&t.option&&(t.query?r.push(t):a||(a=t))})),d(i),z(s,(function(t){return d(t)})),z(r,(function(t){return d(t.option)})),{baseOption:i,timelineOptions:s||[],mediaDefault:a,mediaList:r}}(t,e,!a);this._newBaseOption=i.baseOption,a?(i.timelineOptions.length&&(a.timelineOptions=i.timelineOptions),i.mediaList.length&&(a.mediaList=i.mediaList),i.mediaDefault&&(a.mediaDefault=i.mediaDefault)):this._optionBackup=i},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 a=t.getComponent("timeline");a&&(e=k(n[a.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,a=this._api.getWidth(),i=this._api.getHeight(),r=this._mediaList,o=this._mediaDefault,l=[],s=[];if(!r.length&&!o)return s;for(var u=0,c=r.length;u<c;u++)Fd(r[u].query,a,i)&&l.push(u);return!l.length&&o&&(l=[-1]),l.length&&(e=l,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(s=O(l,(function(t){return k(-1===t?o.option:r[t].option)}))),this._currentMediaIndices=l,s},t}();function Fd(t,e,n){var a={width:e,height:n,aspectratio:e/n},i=!0;return z(t,(function(t,e){var n=e.match(Bd);if(n&&n[1]&&n[2]){var r=n[1],o=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(a[o],t,r)||(i=!1)}})),i}var Gd=z,Hd=X,Wd=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ud(t){var e=t&&t.itemStyle;if(e)for(var n=0,a=Wd.length;n<a;n++){var i=Wd[n],r=e.normal,o=e.emphasis;r&&r[i]&&(t[i]=t[i]||{},t[i].normal?S(t[i].normal,r[i]):t[i].normal=r[i],r[i]=null),o&&o[i]&&(t[i]=t[i]||{},t[i].emphasis?S(t[i].emphasis,o[i]):t[i].emphasis=o[i],o[i]=null)}}function Yd(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var a=t[e].normal,i=t[e].emphasis;a&&(n?(t[e].normal=t[e].emphasis=null,T(t[e],a)):t[e]=a),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function Xd(t){Yd(t,"itemStyle"),Yd(t,"lineStyle"),Yd(t,"areaStyle"),Yd(t,"label"),Yd(t,"labelLine"),Yd(t,"upperLabel"),Yd(t,"edgeLabel")}function Zd(t,e){var n=Hd(t)&&t[e],a=Hd(n)&&n.textStyle;if(a)for(var i=0,r=ki.length;i<r;i++){var o=ki[i];a.hasOwnProperty(o)&&(n[o]=a[o])}}function jd(t){t&&(Xd(t),Zd(t,"label"),t.emphasis&&Zd(t.emphasis,"label"))}function qd(t){return G(t)?t:t?[t]:[]}function Kd(t){return(G(t)?t[0]:t)||{}}function $d(t,e){Gd(qd(t.series),(function(t){Hd(t)&&function(t){if(Hd(t)){Ud(t),Xd(t),Zd(t,"label"),Zd(t,"upperLabel"),Zd(t,"edgeLabel"),t.emphasis&&(Zd(t.emphasis,"label"),Zd(t.emphasis,"upperLabel"),Zd(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Ud(e),jd(e));var n=t.markLine;n&&(Ud(n),jd(n));var a=t.markArea;a&&jd(a);var i=t.data;if("graph"===t.type){i=i||t.nodes;var r=t.links||t.edges;if(r&&!j(r))for(var o=0;o<r.length;o++)jd(r[o]);z(t.categories,(function(t){Xd(t)}))}if(i&&!j(i))for(o=0;o<i.length;o++)jd(i[o]);if((e=t.markPoint)&&e.data){var l=e.data;for(o=0;o<l.length;o++)jd(l[o])}if((n=t.markLine)&&n.data){var s=n.data;for(o=0;o<s.length;o++)G(s[o])?(jd(s[o][0]),jd(s[o][1])):jd(s[o])}"gauge"===t.type?(Zd(t,"axisLabel"),Zd(t,"title"),Zd(t,"detail")):"treemap"===t.type?(Yd(t.breadcrumb,"itemStyle"),z(t.levels,(function(t){Xd(t)}))):"tree"===t.type&&Xd(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Gd(n,(function(e){Gd(qd(t[e]),(function(t){t&&(Zd(t,"axisLabel"),Zd(t.axisPointer,"label"))}))})),Gd(qd(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;Zd(e,"axisLabel"),Zd(e&&e.axisPointer,"label")})),Gd(qd(t.calendar),(function(t){Yd(t,"itemStyle"),Zd(t,"dayLabel"),Zd(t,"monthLabel"),Zd(t,"yearLabel")})),Gd(qd(t.radar),(function(t){Zd(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)})),Gd(qd(t.geo),(function(t){Hd(t)&&(jd(t),Gd(qd(t.regions),(function(t){jd(t)})))})),Gd(qd(t.timeline),(function(t){jd(t),Yd(t,"label"),Yd(t,"itemStyle"),Yd(t,"controlStyle",!0);var e=t.data;G(e)&&z(e,(function(t){X(t)&&(Yd(t,"label"),Yd(t,"itemStyle"))}))})),Gd(qd(t.toolbox),(function(t){Yd(t,"iconStyle"),Gd(t.feature,(function(t){Yd(t,"iconStyle")}))})),Zd(Kd(t.axisPointer),"label"),Zd(Kd(t.tooltip).axisPointer,"label")}function Jd(t){t&&z(Qd,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var Qd=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],th=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],eh=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function nh(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<eh.length;n++){var a=eh[n][1],i=eh[n][0];null!=e[a]&&(e[i]=e[a])}}function ah(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function ih(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function rh(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&rh(t[n].children,e)}function oh(t,e){$d(t,e),t.series=_i(t.series),z(t.series,(function(t){if(X(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),ah(t.label),(i=t.data)&&!j(i))for(var n=0;n<i.length;n++)ah(i[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var a=function(t,e){for(var n="pointer.color".split(","),a=t,i=0;i<n.length&&null!=(a=a&&a[n[i]]);i++);return a}(t);null!=a&&function(t,e,n,a){for(var i,r="itemStyle.color".split(","),o=t,l=0;l<r.length-1;l++)null==o[i=r[l]]&&(o[i]={}),o=o[i];(a||null==o[r[l]])&&(o[r[l]]=n)}(t,0,a)}else if("bar"===e){var i;if(nh(t),nh(t.backgroundStyle),nh(t.emphasis),(i=t.data)&&!j(i))for(n=0;n<i.length;n++)"object"==typeof i[n]&&(nh(i[n]),nh(i[n]&&i[n].emphasis))}else if("sunburst"===e){var r=t.highlightPolicy;r&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=r)),ih(t),rh(t.data,ih)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&T(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),Jd(t)}})),t.dataRange&&(t.visualMap=t.dataRange),z(th,(function(e){var n=t[e];n&&(G(n)||(n=[n]),z(n,(function(t){Jd(t)})))}))}function lh(t){z(t,(function(e,n){var a=[],i=[NaN,NaN],r=[e.stackResultDimension,e.stackedOverDimension],o=e.data,l=e.isStackedByIndex;o.modify(r,(function(r,s,u){var c,p,d=o.get(e.stackedDimension,u);if(isNaN(d))return i;l?p=o.getRawIndex(u):c=o.get(e.stackedByDimension,u);for(var h=NaN,f=n-1;f>=0;f--){var g=t[f];if(l||(p=g.data.rawIndexOf(g.stackedByDimension,c)),p>=0){var m=g.data.getByRawIndex(g.stackResultDimension,p);if(d>=0&&m>0||d<=0&&m<0){d=ni(d,m),h=m;break}}}return a[0]=d,a[1]=h,a}))}))}var sh,uh,ch,ph,dh,hh=function(t){this.data=t.data||(t.sourceFormat===ld?{}:[]),this.sourceFormat=t.sourceFormat||ud,this.seriesLayoutBy=t.seriesLayoutBy||cd,this.startIndex=t.startIndex||0,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 a=e[n];null==a.type&&bd(this,n)===dd&&(a.type="ordinal")}};function fh(t){return t instanceof hh}function gh(t,e,n){n=n||yh(t);var a=e.seriesLayoutBy,i=function(t,e,n,a,i){var r,o;if(!t)return{dimensionsDefine:vh(i),startIndex:o,dimensionsDetectedCount:r};if(e===rd){var l=t;"auto"===a||null==a?bh((function(t){null!=t&&"-"!==t&&(W(t)?null==o&&(o=1):o=0)}),n,l,10):o=Y(a)?a:a?1:0,i||1!==o||(i=[],bh((function(t,e){i[e]=null!=t?t+"":""}),n,l,1/0)),r=i?i.length:n===pd?l.length:l[0]?l[0].length:null}else if(e===od)i||(i=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e){var a=[];return z(e,(function(t,e){a.push(e)})),a}}(t));else if(e===ld)i||(i=[],z(t,(function(t,e){i.push(e)})));else if(e===id){var s=Si(t[0]);r=G(s)&&s.length||1}return{startIndex:o,dimensionsDefine:vh(i),dimensionsDetectedCount:r}}(t,n,a,e.sourceHeader,e.dimensions);return new hh({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:k(e)})}function mh(t){return new hh({data:t,sourceFormat:j(t)?sd:id})}function yh(t){var e=ud;if(j(t))e=sd;else if(G(t)){0===t.length&&(e=rd);for(var n=0,a=t.length;n<a;n++){var i=t[n];if(null!=i){if(G(i)){e=rd;break}if(X(i)){e=od;break}}}}else if(X(t))for(var r in t)if(ft(t,r)&&P(t[r])){e=ld;break}return e}function vh(t){if(t){var e=pt();return O(t,(function(t,n){var a={name:(t=X(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==a.name)return a;a.name+="",null==a.displayName&&(a.displayName=a.name);var i=e.get(a.name);return i?a.name+="-"+i.count++:e.set(a.name,{count:1}),a}))}}function bh(t,e,n,a){if(e===pd)for(var i=0;i<n.length&&i<a;i++)t(n[i]?n[i][0]:null,i);else{var r=n[0]||[];for(i=0;i<r.length&&i<a;i++)t(r[i],i)}}function xh(t){var e=t.sourceFormat;return e===od||e===ld}var _h=function(){function t(t,e){var n=fh(t)?t:mh(t);this._source=n;var a=this._data=n.data;n.sourceFormat===sd&&(this._offset=0,this._dimSize=e,this._data=a),dh(this,a,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;dh=function(t,i,r){var o=r.sourceFormat,l=r.seriesLayoutBy,s=r.startIndex,u=r.dimensionsDefine;if(I(t,ph[Lh(o,l)]),o===sd)t.getItem=e,t.count=a,t.fillStorage=n;else{var c=Sh(o,l);t.getItem=V(c,null,i,s,u);var p=Th(o,l);t.count=V(p,null,i,s,u)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,a=this._dimSize,i=a*t,r=0;r<a;r++)e[r]=n[i+r];return e},n=function(t,e,n,a){for(var i=this._data,r=this._dimSize,o=0;o<r;o++){for(var l=a[o],s=null==l[0]?1/0:l[0],u=null==l[1]?-1/0:l[1],c=e-t,p=n[o],d=0;d<c;d++){var h=i[d*r+o];p[t+d]=h,h<s&&(s=h),h>u&&(u=h)}l[0]=s,l[1]=u}},a=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={}).arrayRows_column={pure:!0,appendData:i},t.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t.objectRows={pure:!0,appendData:i},t.keyedColumns={pure:!0,appendData:function(t){var e=this._data;z(t,(function(t,n){for(var a=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)a.push(t[i])}))}},t.original={appendData:i},t.typedArray={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},ph=t}(),t}(),wh=function(t,e,n,a){return t[a]},kh=((sh={}).arrayRows_column=function(t,e,n,a){return t[a+e]},sh.arrayRows_row=function(t,e,n,a,i){a+=e;for(var r=i||[],o=t,l=0;l<o.length;l++){var s=o[l];r[l]=s?s[a]:null}return r},sh.objectRows=wh,sh.keyedColumns=function(t,e,n,a,i){for(var r=i||[],o=0;o<n.length;o++){var l=t[n[o].name];r[o]=l?l[a]:null}return r},sh.original=wh,sh);function Sh(t,e){return kh[Lh(t,e)]}var Mh=function(t,e,n){return t.length},Ih=((uh={}).arrayRows_column=function(t,e,n){return Math.max(0,t.length-e)},uh.arrayRows_row=function(t,e,n){var a=t[0];return a?Math.max(0,a.length-e):0},uh.objectRows=Mh,uh.keyedColumns=function(t,e,n){var a=t[n[0].name];return a?a.length:0},uh.original=Mh,uh);function Th(t,e){return Ih[Lh(t,e)]}var Ch=function(t,e,n){return t[e]},Dh=((ch={}).arrayRows=Ch,ch.objectRows=function(t,e,n){return t[n]},ch.keyedColumns=Ch,ch.original=function(t,e,n){var a=Si(t);return a instanceof Array?a[e]:a},ch.typedArray=Ch,ch);function Ah(t){return Dh[t]}function Lh(t,e){return t===rd?t+"_"+e:t}function Ph(t,e,n){if(t){var a=t.getRawDataItem(e);if(null!=a){var i=t.getStore(),r=i.getSource().sourceFormat;if(null!=n){var o=t.getDimensionIndex(n),l=i.getDimensionProperty(o);return Ah(r)(a,o,l)}var s=a;return r===id&&(s=Si(a)),s}}}var zh=/\{@(.+?)\}/g,Oh=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),a=this.getRawValue(t,e),i=n.getRawIndex(t),r=n.getName(t),o=n.getRawDataItem(t),l=n.getItemVisual(t,"style"),s=l&&l[n.getItemVisual(t,"drawType")||"fill"],u=l&&l.stroke,c=this.mainType,p="series"===c,d=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:p?this.subType:null,seriesIndex:this.seriesIndex,seriesId:p?this.id:null,seriesName:p?this.name:null,name:r,dataIndex:i,data:o,dataType:e,value:a,color:s,borderColor:u,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,a,i,r){e=e||"normal";var o=this.getData(n),l=this.getDataParams(t,n);return r&&(l.value=r.interpolatedValue),null!=a&&G(l.value)&&(l.value=l.value[a]),i||(i=o.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),"function"==typeof i?(l.status=e,l.dimensionIndex=a,i(l)):"string"==typeof i?Ep(i,l).replace(zh,(function(e,n){var a=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(a-1)&&(i=+i.slice(1,a-1));var l=Ph(o,t,i);if(r&&G(r.interpolatedValue)){var s=o.getDimensionIndex(i);s>=0&&(l=r.interpolatedValue[s])}return null!=l?l+"":""})):void 0},t.prototype.getRawValue=function(t,e){return Ph(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Rh(t){var e,n;return X(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}function Nh(t){return new Eh(t)}var Eh=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,a=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!a&&(e=this._plan(this.context));var r,o=c(this._modBy),l=this._modDataCount||0,s=c(t&&t.modBy),u=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}o===s&&l===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,r=this._doReset(a)),this._modBy=s,this._modDataCount=u;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,h=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!a&&(r||d<h)){var f=this._progress;if(G(f))for(var g=0;g<f.length;g++)this._doProgress(f[g],d,h,s,u);else this._doProgress(f,d,h,s,u)}this._dueIndex=h;var m=null!=this._settedOutputEnd?this._settedOutputEnd:h;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,a,i){Bh.reset(e,n,a,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Bh.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),G(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.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}(),Bh=function(){var t,e,n,a,i,r={reset:function(s,u,c,p){e=s,t=u,n=c,a=p,i=Math.ceil(a/n),r.next=n>1&&a>0?l:o}};return r;function o(){return e<t?e++:null}function l(){var r=e%i*n+Math.ceil(e/i),o=e>=t?null:r<a?r:e;return e++,o}}();function Vh(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"===n&&"number"!=typeof t&&null!=t&&"-"!==t&&(t=+li(t)),null==t||""===t?NaN:+t)}var Fh=pt({number:function(t){return parseFloat(t)},time:function(t){return+li(t)},trim:function(t){return"string"==typeof t?ot(t):t}});function Gh(t){return Fh.get(t)}var Hh={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}},Wh=function(){function t(t,e){"number"!=typeof e&&vi(""),this._opFn=Hh[t],this._rvalFloat=hi(e)}return t.prototype.evaluate=function(t){return"number"==typeof t?this._opFn(t,this._rvalFloat):this._opFn(hi(t),this._rvalFloat)},t}(),Uh=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=typeof t,a=typeof e,i="number"===n?t:hi(t),r="number"===a?e:hi(e),o=isNaN(i),l=isNaN(r);if(o&&(i=this._incomparable),l&&(r=this._incomparable),o&&l){var s="string"===n,u="string"===a;s&&(i=u?t:0),u&&(r=s?e:0)}return i<r?this._resultLT:i>r?-this._resultLT:0},t}(),Yh=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=hi(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=hi(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Xh(t,e){return"eq"===t||"ne"===t?new Yh("eq"===t,e):ft(Hh,t)?new Wh(t,e):null}var Zh=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 Vh(t,e)},t}();function jh(t){return tf(t.sourceFormat)||vi(""),t.data}function qh(t){var e=t.sourceFormat,n=t.data;if(tf(e)||vi(""),e===rd){for(var a=[],i=0,r=n.length;i<r;i++)a.push(n[i].slice());return a}if(e===od){for(a=[],i=0,r=n.length;i<r;i++)a.push(I({},n[i]));return a}}function Kh(t,e,n){if(null!=n)return"number"==typeof n||!isNaN(n)&&!ft(e,n)?t[n]:ft(e,n)?e[n]:void 0}function $h(t){return k(t)}var Jh=pt();function Qh(t,e,n,a){var i="";e.length||vi(i),X(t)||vi(i);var r=t.type,o=Jh.get(r);o||vi(i);var l=O(e,(function(t){return function(t,e){var n=new Zh,a=t.data,i=n.sourceFormat=t.sourceFormat,r=t.startIndex,o="";t.seriesLayoutBy!==cd&&vi(o);var l=[],s={},u=t.dimensionsDefine;if(u)z(u,(function(t,e){var n=t.name,a={index:e,name:n,displayName:t.displayName};if(l.push(a),null!=n){var i="";ft(s,n)&&vi(i),s[n]=a}}));else for(var c=0;c<t.dimensionsDetectedCount;c++)l.push({index:c});var p=Sh(i,cd);e.__isBuiltIn&&(n.getRawDataItem=function(t){return p(a,r,l,t)},n.getRawData=V(jh,null,t)),n.cloneRawData=V(qh,null,t);var d=Th(i,cd);n.count=V(d,null,a,r,l);var h=Ah(i);n.retrieveValue=function(t,e){var n=p(a,r,l,t);return f(n,e)};var f=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=l[e];return n?h(t,e,n.name):void 0}};return n.getDimensionInfo=V(Kh,null,l,s),n.cloneAllDimensionInfo=V($h,null,l),n}(t,o)}));return O(_i(o.transform({upstream:l[0],upstreamList:l,config:k(t.config)})),(function(t,n){var a,i="";X(t)||vi(i),t.data||vi(i),tf(yh(t.data))||vi(i);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)),a={seriesLayoutBy:cd,sourceHeader:o,dimensions:r.metaRawOption.dimensions}}else a={seriesLayoutBy:cd,sourceHeader:0,dimensions:t.dimensions};return gh(t.data,a,null)}))}function tf(t){return t===rd||t===od}var ef,nf="undefined",af=typeof Uint32Array===nf?Array:Uint32Array,rf=typeof Uint16Array===nf?Array:Uint16Array,of=typeof Int32Array===nf?Array:Int32Array,lf=typeof Float64Array===nf?Array:Float64Array,sf={float:lf,int:of,ordinal:Array,number:Array,time:lf};function uf(t){return t>65535?af:rf}function cf(t,e,n,a,i){var r=sf[n||"float"];if(i){var o=t[e],l=o&&o.length;if(l!==a){for(var s=new r(a),u=0;u<l;u++)s[u]=o[u];t[e]=s}}else t[e]=new r(a)}var pf=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=pt()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),i=this.defaultDimValueGetter=ef[a.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[],xh(a),this._dimensions=O(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,a=this._dimensions,i=n.get(t);if(null!=i){if(a[i].type===e)return i}else i=a.length;return a[i]={type:e},n.set(t,i),this._chunks[i]=new sf[e||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],a=this._dimensions[t],i=this._rawExtent,r=a.ordinalOffset||0,o=n.length;0===r&&(i[t]=[1/0,-1/0]);for(var l=i[t],s=r;s<o;s++){var u=n[s]=e.parseAndCollect(n[s]);l[0]=Math.min(u,l[0]),l[1]=Math.max(u,l[1])}a.ordinalMeta=e,a.ordinalOffset=o,a.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 a=e.count();return e.persistent||(a+=n),n<a&&this._initDataFromProvider(n,a,!0),[n,a]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,a=this._dimensions,i=a.length,r=this._rawExtent,o=this.count(),l=o+Math.max(t.length,e||0),s=0;s<i;s++)cf(n,s,(h=a[s]).type,l,!0);for(var u=[],c=o;c<l;c++)for(var p=c-o,d=0;d<i;d++){var h=a[d],f=ef.arrayRows.call(this,t[p]||u,h.property,p,d);n[d][c]=f;var g=r[d];f<g[0]&&(g[0]=f),f>g[1]&&(g[1]=f)}return this._rawCount=this._count=l,{start:o,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,i=this._chunks,r=this._dimensions,o=r.length,l=this._rawExtent,s=O(r,(function(t){return t.property})),u=0;u<o;u++){var c=r[u];l[u]||(l[u]=[1/0,-1/0]),cf(i,u,c.type,e,n)}if(a.fillStorage)a.fillStorage(t,e,i,l);else for(var p=[],d=t;d<e;d++){p=a.getItem(d,p);for(var h=0;h<o;h++){var f=i[h],g=this._dimValueGetter(p,s[h],d,h);f[d]=g;var m=l[h];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!a.persistent&&a.clean&&a.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=[],a=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)a.push(i)}else a=t;i=0;for(var r=a.length;i<r;i++)n.push(this.get(a[i],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,a=this.count();n<a;n++){var i=this.get(t,n);isNaN(i)||(e+=i)}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})),a=this.count();return 0===a?0:a%2==1?n[(a-1)/2]:(n[a/2]+n[a/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 a=0,i=this._count-1;a<=i;){var r=(a+i)/2|0;if(e[r]<t)a=r+1;else{if(!(e[r]>t))return r;i=r-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var a=this._chunks[t],i=[];if(!a)return i;null==n&&(n=1/0);for(var r=1/0,o=-1,l=0,s=0,u=this.count();s<u;s++){var c=e-a[this.getRawIndex(s)],p=Math.abs(c);p<=n&&((p<r||p===r&&c>=0&&o<0)&&(r=p,o=c,l=0),c===o&&(i[l++]=s))}return i.length=l,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,a=this._count;if(n===Array){t=new n(a);for(var i=0;i<a;i++)t[i]=e[i]}else t=new n(e.buffer,0,a)}else for(t=new(n=uf(this._rawCount))(this.count()),i=0;i<t.length;i++)t[i]=i;return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),a=n.count(),i=new(uf(n._rawCount))(a),r=[],o=t.length,l=0,s=t[0],u=n._chunks,c=0;c<a;c++){var p=void 0,d=n.getRawIndex(c);if(0===o)p=e(c);else if(1===o)p=e(u[s][d],c);else{for(var h=0;h<o;h++)r[h]=u[t[h]][d];r[h]=c,p=e.apply(null,r)}p&&(i[l++]=d)}return l<a&&(n._indices=i),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var a=B(t),i=a.length;if(!i)return this;var r=e.count(),o=new(uf(e._rawCount))(r),l=0,s=a[0],u=t[s][0],c=t[s][1],p=e._chunks,d=!1;if(!e._indices){var h=0;if(1===i){for(var f=p[a[0]],g=0;g<n;g++)((b=f[g])>=u&&b<=c||isNaN(b))&&(o[l++]=h),h++;d=!0}else if(2===i){f=p[a[0]];var m=p[a[1]],y=t[a[1]][0],v=t[a[1]][1];for(g=0;g<n;g++){var b=f[g],x=m[g];(b>=u&&b<=c||isNaN(b))&&(x>=y&&x<=v||isNaN(x))&&(o[l++]=h),h++}d=!0}}if(!d)if(1===i)for(g=0;g<r;g++){var _=e.getRawIndex(g);((b=p[a[0]][_])>=u&&b<=c||isNaN(b))&&(o[l++]=_)}else for(g=0;g<r;g++){for(var w=!0,k=(_=e.getRawIndex(g),0);k<i;k++){var S=a[k];((b=p[S][_])<t[S][0]||b>t[S][1])&&(w=!1)}w&&(o[l++]=e.getRawIndex(g))}return l<r&&(e._indices=o),e._count=l,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 a=t._chunks,i=[],r=e.length,o=t.count(),l=[],s=t._rawExtent,u=0;u<e.length;u++)s[e[u]]=[1/0,-1/0];for(var c=0;c<o;c++){for(var p=t.getRawIndex(c),d=0;d<r;d++)l[d]=a[e[d]][p];l[r]=c;var h=n&&n.apply(null,l);if(null!=h)for("object"!=typeof h&&(i[0]=h,h=i),u=0;u<h.length;u++){var f=e[u],g=h[u],m=s[f],y=a[f];y&&(y[p]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}},t.prototype.lttbDownSample=function(t,e){var n,a,i,r=this.clone([t],!0),o=r._chunks[t],l=this.count(),s=0,u=Math.floor(1/e),c=this.getRawIndex(0),p=new(uf(this._rawCount))(Math.ceil(l/u)+2);p[s++]=c;for(var d=1;d<l-1;d+=u){for(var h=Math.min(d+u,l-1),f=Math.min(d+2*u,l),g=(f+h)/2,m=0,y=h;y<f;y++){var v=o[k=this.getRawIndex(y)];isNaN(v)||(m+=v)}m/=f-h;var b=d,x=Math.min(d+u,l),_=d-1,w=o[c];for(n=-1,i=b,y=b;y<x;y++){var k;v=o[k=this.getRawIndex(y)],isNaN(v)||(a=Math.abs((_-g)*(v-w)-(_-y)*(m-w)))>n&&(n=a,i=k)}p[s++]=i,c=i}return p[s++]=this.getRawIndex(l-1),r._count=s,r._indices=p,r.getRawIndex=this._getRawIdx,r},t.prototype.downSample=function(t,e,n,a){for(var i=this.clone([t],!0),r=i._chunks,o=[],l=Math.floor(1/e),s=r[t],u=this.count(),c=i._rawExtent[t]=[1/0,-1/0],p=new(uf(this._rawCount))(Math.ceil(u/l)),d=0,h=0;h<u;h+=l){l>u-h&&(l=u-h,o.length=l);for(var f=0;f<l;f++){var g=this.getRawIndex(h+f);o[f]=s[g]}var m=n(o),y=this.getRawIndex(Math.min(h+a(o,m)||0,u-1));s[y]=m,m<c[0]&&(c[0]=m),m>c[1]&&(c[1]=m),p[d++]=y}return i._count=d,i._indices=p,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,a=this._chunks,i=0,r=this.count();i<r;i++){var o=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(a[t[0]][o],i);break;case 2:e(a[t[0]][o],a[t[1]][o],i);break;default:for(var l=0,s=[];l<n;l++)s[l]=a[t[l]][o];s[l]=i,e.apply(null,s)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var a,i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(a=this._extent[t])return a.slice();for(var r=(a=n)[0],o=a[1],l=0;l<i;l++){var s=e[this.getRawIndex(l)];s<r&&(r=s),s>o&&(o=s)}return a=[r,o],this._extent[t]=a,a},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],a=this._chunks,i=0;i<a.length;i++)n.push(a[i][e]);return n},t.prototype.clone=function(e,n){var a,i,r=new t,o=this._chunks,l=e&&R(e,(function(t,e){return t[e]=!0,t}),{});if(l)for(var s=0;s<o.length;s++)r._chunks[s]=l[s]?(i=void 0,(i=(a=o[s]).constructor)===Array?a.slice():new i(a)):o[s];else r._chunks=o;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},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 a=0;a<n;a++)e[a]=this._indices[a]}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,a){return Vh(t[a],this._dimensions[a])}ef={arrayRows:t,objectRows:function(t,e,n,a){return Vh(t[e],this._dimensions[a])},keyedColumns:t,original:function(t,e,n,a){var i=t&&(null==t.value?t:t.value);return Vh(i instanceof Array?i[a]:i,this._dimensions[a])},typedArray:function(t,e,n,a){return t[a]}}}(),t}(),df=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,a=this._getUpstreamSourceManagers(),i=!!a.length;if(ff(n)){var r=n,o=void 0,l=void 0,s=void 0;if(i){var u=a[0];u.prepareSource(),o=(s=u.getSource()).data,l=s.sourceFormat,e=[u._getVersionSign()]}else l=j(o=r.get("data",!0))?sd:id,e=[];var c=this._getSourceMetaRawOption()||{},p=s&&s.metaRawOption||{},d=et(c.seriesLayoutBy,p.seriesLayoutBy)||null,h=et(c.sourceHeader,p.sourceHeader)||null,f=et(c.dimensions,p.dimensions);t=d!==p.seriesLayoutBy||!!h!=!!p.sourceHeader||f?[gh(o,{seriesLayoutBy:d,sourceHeader:h,dimensions:f},l)]:[]}else{var g=n;if(i){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else t=[gh(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,a=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){var r="";1!==t.length&&gf(r)}var o,l=[],s=[];return z(t,(function(t){t.prepareSource();var e=t.getSource(i||0);null==i||e||gf(""),l.push(e),s.push(t._getVersionSign())})),a?e=function(t,e,n){var a=_i(t),i=a.length;i||vi("");for(var r=0,o=i;r<o;r++)e=Qh(a[r],e),r!==o-1&&(e.length=Math.max(e.length,1));return e}(a,l,n.componentIndex):null!=i&&(e=[(o=l[0],new hh({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 a=this._storeList,i=a[0];i||(i=a[0]={});var r=i[n];if(!r){var o=this._getUpstreamSourceManagers()[0];ff(this._sourceHost)&&o?r=o._innerGetDataStore(t,e,n):(r=new pf).initData(new _h(e,t.length),t),i[n]=r}return r},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(ff(t)){var e=vd(t);return e?[e.getSourceManager()]:[]}return O(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?Vi(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},Ei).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,a=this._sourceHost;if(ff(a))t=a.get("seriesLayoutBy",!0),e=a.get("sourceHeader",!0),n=a.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=a;t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function hf(t){t.option.transform&&st(t.option.transform)}function ff(t){return"series"===t.mainType}function gf(t){throw new Error(t)}function mf(t,e){var n=t.color||"#6e7079",a=t.fontSize||12,i=t.fontWeight||"400",r=t.color||"#464646",o=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+zp(a+"")+"px;color:"+zp(n)+";font-weight:"+zp(i+""),valueStyle:"font-size:"+zp(o+"")+"px;color:"+zp(r)+";font-weight:"+zp(l+"")}:{nameStyle:{fontSize:a,fill:n,fontWeight:i},valueStyle:{fontSize:o,fill:r,fontWeight:l}}}var yf=[0,10,20,30],vf=["","\n","\n\n","\n\n\n"];function bf(t,e){return e.type=t,e}function xf(t){return ft(_f,t.type)&&_f[t.type]}var _f={section:{planLayout:function(t){var e=t.blocks.length,n=e>1||e>0&&!t.noHeader,a=0;z(t.blocks,(function(t){xf(t).planLayout(t);var e=t.__gapLevelBetweenSubBlocks;e>=a&&(a=e+(!n||e&&("section"!==t.type||t.noHeader)?0:1))})),t.__gapLevelBetweenSubBlocks=a},build:function(t,e,n,a){var i=e.noHeader,r=kf(e),o=function(t,e,n,a){var i=[],r=e.blocks||[];rt(!r||G(r)),r=r||[];var o=t.orderMode;if(e.sortBlocks&&o){r=r.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(ft(l,o)){var s=new Uh(l[o],null);r.sort((function(t,e){return s.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===o&&r.reverse()}var u=kf(e);if(z(r,(function(e,n){var r=xf(e).build(t,e,n>0?u.html:0,a);null!=r&&i.push(r)})),i.length)return"richText"===t.renderMode?i.join(u.richText):Sf(i.join(""),n)}(t,e,i?n:r.html,a);if(i)return o;var l=Op(e.header,"ordinal",t.useUTC),s=mf(a,t.renderMode).nameStyle;return"richText"===t.renderMode?Mf(t,l,s)+r.richText+o:Sf('<div style="'+s+';line-height:1;">'+zp(l)+"</div>"+o,n)}},nameValue:{planLayout:function(t){t.__gapLevelBetweenSubBlocks=0},build:function(t,e,n,a){var i=t.renderMode,r=e.noName,o=e.noValue,l=!e.markerType,s=e.name,u=e.value,c=t.useUTC;if(!r||!o){var p=l?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),d=r?"":Op(s,"ordinal",c),h=e.valueType,f=o?[]:G(u)?O(u,(function(t,e){return Op(t,G(h)?h[e]:h,c)})):[Op(u,G(h)?h[0]:h,c)],g=!l||!r,m=!l&&r,y=mf(a,i),v=y.nameStyle,b=y.valueStyle;return"richText"===i?(l?"":p)+(r?"":Mf(t,d,v))+(o?"":function(t,e,n,a,i){var r=[i],o=a?10:20;return n&&r.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(e.join("  "),r)}(t,f,g,m,b)):Sf((l?"":p)+(r?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+zp(t)+"</span>"}(d,!l,v))+(o?"":function(t,e,n,a){return'<span style="'+(e?"float:right;margin-left:"+(n?"10px":"20px"):"")+";"+a+'">'+O(t,(function(t){return zp(t)})).join("&nbsp;&nbsp;")+"</span>"}(f,g,m,b)),n)}}}};function wf(t,e,n,a,i,r){if(t){var o=xf(t);o.planLayout(t);var l={useUTC:i,renderMode:n,orderMode:a,markupStyleCreator:e};return o.build(l,t,0,r)}}function kf(t){var e=t.__gapLevelBetweenSubBlocks;return{html:yf[e],richText:vf[e]}}function Sf(t,e){return'<div style="margin: '+e+'px 0 0;line-height:1;">'+t+'<div style="clear:both"></div></div>'}function Mf(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function If(t,e){return Vp(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function Tf(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var Cf=function(){function t(){this.richTextStyles={},this._nextStyleNameId=gi()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var a="richText"===n?this._generateStyleName():null,i=Bp({color:e,type:t,renderMode:n,markerId:a});return W(i)?i:(this.richTextStyles[a]=i.style,i.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};G(e)?z(e,(function(t){return I(n,t)})):I(n,e);var a=this._generateStyleName();return this.richTextStyles[a]=n,"{"+a+"|"+t+"}"},t}();function Df(t){var e,n,a,i,r=t.series,o=t.dataIndex,l=t.multipleSeries,s=r.getData(),u=s.mapDimensionsAll("defaultedTooltip"),c=u.length,p=r.getRawValue(o),d=G(p),h=If(r,o);if(c>1||d&&!c){var f=function(t,e,n,a,i){var r=e.getData(),o=R(t,(function(t,e,n){var a=r.getDimensionInfo(n);return t||a&&!1!==a.tooltip&&null!=a.displayName}),!1),l=[],s=[],u=[];function c(t,e){var n=r.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?u.push(bf("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:t,valueType:n.type})):(l.push(t),s.push(n.type)))}return a.length?z(a,(function(t){c(Ph(r,n,t),t)})):z(t,c),{inlineValues:l,inlineValueTypes:s,blocks:u}}(p,r,o,u,h);e=f.inlineValues,n=f.inlineValueTypes,a=f.blocks,i=f.inlineValues[0]}else if(c){var g=s.getDimensionInfo(u[0]);i=e=Ph(s,o,u[0]),n=g.type}else i=e=d?p[0]:p;var m=Ai(r),y=m&&r.name||"",v=s.getName(o),b=l?y:v;return bf("section",{header:y,noHeader:l||!m,sortParam:i,blocks:[bf("nameValue",{markerType:"item",markerColor:h,name:b,noName:!ot(b),value:e,valueType:n})].concat(a||[])})}var Af=zi();function Lf(t,e){return t.getName(e)||t.getId(e)}var Pf=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return n(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Nh({count:Of,reset:Rf}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(Af(this).sourceManager=new df(this)).prepareSource();var a=this.getInitialData(t,n);Ef(a,this),this.dataTask.context.data=a,Af(this).dataBeforeProcessed=a,zf(this),this._initSelectedMapFromData(a)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=jp(this),a=n?Kp(t):{},i=this.subType;Qp.hasClass(i)&&(i+="Series"),S(t,e.getTheme().get(this.subType)),S(t,this.getDefaultOption()),wi(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&qp(t,a,n)},e.prototype.mergeOption=function(t,e){t=S(this.option,t,!0),this.fillDataTextStyle(t.data);var n=jp(this);n&&qp(this.option,t,n);var a=Af(this).sourceManager;a.dirty(),a.prepareSource();var i=this.getInitialData(t,e);Ef(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,Af(this).dataBeforeProcessed=i,zf(this),this._initSelectedMapFromData(i)},e.prototype.fillDataTextStyle=function(t){if(t&&!j(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&wi(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=Vf(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return Af(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=Vf(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}Af(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return pt(t)},e.prototype.getSourceManager=function(){return Af(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return Af(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 Df({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){if(o.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),!!t},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var a=this.ecModel,i=Td.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=a.getColorFromPalette(t,e,n)),i},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)for(var a=this.getData(e),i=0;i<t.length;i++){var r=Lf(a,t[i]);n[r]=!1,this._selectedDataIndicesMap[r]=-1}},e.prototype.toggleSelect=function(t,e){for(var n=[],a=0;a<t.length;a++)n[0]=t[a],this.isSelected(t[a],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){for(var t=this._selectedDataIndicesMap,e=B(t),n=[],a=0;a<e.length;a++){var i=t[e[a]];i>=0&&n.push(i)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;return n&&n[Lf(this.getData(e),t)]||!1},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,a,i=this.option.selectedMode,r=e.length;if(i&&r)if("multiple"===i)for(var o=this.option.selectedMap||(this.option.selectedMap={}),l=0;l<r;l++){var s=e[l];o[c=Lf(t,s)]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(s)}else if("single"===i||!0===i){var u=e[r-1],c=Lf(t,u);this.option.selectedMap=((n={})[c]=!0,n),this._selectedDataIndicesMap=((a={})[c]=t.getRawIndex(u),a)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var a=t.getRawDataItem(n);a&&a.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return Qp.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}(Qp);function zf(t){var e=t.name;Ai(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),a=[];return z(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&a.push(n.displayName)})),a.join(" ")}(t)||e)}function Of(t){return t.model.getRawData().count()}function Rf(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Nf}function Nf(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Ef(t,e){z(dt(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,F(Bf,e))}))}function Bf(t,e){var n=Vf(t);return n&&n.setOutputEnd((e||this).count()),e}function Vf(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var a=n.currentTask;if(a){var i=a.agentStubMap;i&&(a=i.get(t.uid))}return a}}L(Pf,Oh),L(Pf,Td),ji(Pf,Qp);var Ff=function(){function t(){this.group=new Va,this.uid=Uc("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,a){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,a){},t.prototype.updateLayout=function(t,e,n,a){},t.prototype.updateVisual=function(t,e,n,a){},t.prototype.blurSeries=function(t,e){},t}();function Gf(){var t=zi();return function(e){var n=t(e),a=e.pipelineContext,i=!!n.large,r=!!n.progressiveRender,o=n.large=!(!a||!a.large),l=n.progressiveRender=!(!a||!a.progressiveRender);return!(i===o&&r===l)&&"reset"}}Xi(Ff),Ji(Ff);var Hf=zi(),Wf=Gf(),Uf=function(){function t(){this.group=new Va,this.uid=Uc("viewChart"),this.renderTask=Nh({plan:Zf,reset:jf}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,a){},t.prototype.highlight=function(t,e,n,a){Xf(t.getData(),a,"emphasis")},t.prototype.downplay=function(t,e,n,a){Xf(t.getData(),a,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,a){this.render(t,e,n,a)},t.prototype.updateLayout=function(t,e,n,a){this.render(t,e,n,a)},t.prototype.updateVisual=function(t,e,n,a){this.render(t,e,n,a)},t.markUpdateMethod=function(t,e){Hf(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function Yf(t,e,n){t&&("emphasis"===e?Jl:Ql)(t,n)}function Xf(t,e,n){var a=Pi(t,e),i=e&&null!=e.highlightKey?function(t){var e=Ml[t];return null==e&&Sl<=32&&(e=Ml[t]=Sl++),e}(e.highlightKey):null;null!=a?z(_i(a),(function(e){Yf(t.getItemGraphicEl(e),n,i)})):t.eachItemGraphicEl((function(t){Yf(t,n,i)}))}function Zf(t){return Wf(t.model)}function jf(t){var e=t.model,n=t.ecModel,a=t.api,i=t.payload,r=e.pipelineContext.progressiveRender,o=t.view,l=i&&Hf(i).updateMethod,s=r?"incrementalPrepareRender":l&&o[l]?l:"render";return"render"!==s&&o[s](e,n,a,i),qf[s]}Xi(Uf),Ji(Uf);var qf={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)}}},Kf="\0__throttleOriginMethod",$f="\0__throttleRate",Jf="\0__throttleType";function Qf(t,e,n){var a,i,r,o,l,s=0,u=0,c=null;function p(){u=(new Date).getTime(),c=null,t.apply(r,o||[])}e=e||0;var d=function(){for(var t=[],d=0;d<arguments.length;d++)t[d]=arguments[d];a=(new Date).getTime(),r=this,o=t;var h=l||e,f=l||n;l=null,i=a-(f?s:u)-h,clearTimeout(c),f?c=setTimeout(p,h):i>=0?p():c=setTimeout(p,-i),s=a};return d.clear=function(){c&&(clearTimeout(c),c=null)},d.debounceNextCall=function(t){l=t},d}function tg(t,e,n,a){var i=t[e];if(i){var r=i[Kf]||i,o=i[Jf];if(i[$f]!==n||o!==a){if(null==n||!a)return t[e]=r;(i=t[e]=Qf(r,n,"debounce"===a))[Kf]=r,i[Jf]=a,i[$f]=n}return i}}var eg=zi(),ng={itemStyle:Qi(Vc,!0),lineStyle:Qi(Nc,!0)},ag={lineStyle:"stroke",itemStyle:"fill"};function ig(t,e){return t.visualStyleMapper||ng[e]||(console.warn("Unkown style type '"+e+"'."),ng.itemStyle)}function rg(t,e){return t.visualDrawType||ag[e]||(console.warn("Unkown style type '"+e+"'."),"fill")}var og={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",i=t.getModel(a),r=ig(t,a)(i),o=i.getShallow("decal");o&&(n.setVisual("decal",o),o.dirty=!0);var l=rg(t,a),s=r[l],u=H(s)?s:null,c="auto"===r.fill||"auto"===r.stroke;if(!r[l]||u||c){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());r[l]||(r[l]=p,n.setVisual("colorFromPalette",!0)),r.fill="auto"===r.fill||"function"==typeof r.fill?p:r.fill,r.stroke="auto"===r.stroke||"function"==typeof r.stroke?p:r.stroke}if(n.setVisual("style",r),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var a=t.getDataParams(n),i=I({},r);i[l]=u(a),e.setItemVisual(n,"style",i)}}}},lg=new Hc,sg={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),a=t.visualStyleAccessPath||"itemStyle",i=ig(t,a),r=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[a]){lg.option=n[a];var o=i(lg);I(t.ensureUniqueItemVisual(e,"style"),o),lg.option.decal&&(t.setItemVisual(e,"decal",lg.option.decal),lg.option.decal.dirty=!0),r in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},ug={performRawSeries:!0,overallReset:function(t){var e=pt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var a=t.type+"-"+n,i=e.get(a);i||(i={},e.set(a,i)),eg(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),a={},i=e.getData(),r=eg(e).scope,o=e.visualStyleAccessPath||"itemStyle",l=rg(e,o);i.each((function(t){var e=i.getRawIndex(t);a[e]=t})),n.each((function(t){var o=a[t];if(i.getItemVisual(o,"colorFromPalette")){var s=i.ensureUniqueItemVisual(o,"style"),u=n.getName(t)||t+"",c=n.count();s[l]=e.getColorFromPalette(u,r,c)}}))}}))}},cg=Math.PI,pg=function(){function t(t,e,n,a){this._stageTaskMap=pt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=n.concat(a)}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),a=n.context,i=!e&&n.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,r=a&&a.modDataCount;return{step:i,modBy:null!=r?Math.ceil(r/i):null,modDataCount:r}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),a=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&a>=n.threshold,r=t.get("large")&&a>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?a:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:o,large:r}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=pt();t.eachSeries((function(t){var a=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:a&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;z(this._allHandlers,(function(a){var i=t.get(a.uid)||t.set(a.uid,{}),r="";rt(!(a.reset&&a.overallReset),r),a.reset&&this._createSeriesStageTask(a,i,e,n),a.overallReset&&this._createOverallStageTask(a,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,a){var i=t.renderTask,r=i.context;r.model=e,r.ecModel=n,r.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},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,a){a=a||{};var i=!1,r=this;function o(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}z(t,(function(t,l){if(!a.visualType||a.visualType===t.visualType){var s=r._stageTaskMap.get(t.uid),u=s.seriesTaskMap,c=s.overallTask;if(c){var p,d=c.agentStubMap;d.each((function(t){o(a,t)&&(t.dirty(),p=!0)})),p&&c.dirty(),r.updatePayload(c,n);var h=r.getPerformArgs(c,a.block);d.each((function(t){t.perform(h)})),c.perform(h)&&(i=!0)}else u&&u.each((function(l,s){o(a,l)&&l.dirty();var u=r.getPerformArgs(l,a.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(l.context.model),r.updatePayload(l,n),l.perform(u)&&(i=!0)}))}})),this.unfinished=i||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,a){var i=this,r=e.seriesTaskMap,o=e.seriesTaskMap=pt(),l=t.seriesType,s=t.getTargetSeries;function u(e){var l=e.uid,s=o.set(l,r&&r.get(l)||Nh({plan:mg,reset:yg,count:xg}));s.context={model:e,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,s)}t.createOnAllSeries?n.eachRawSeries(u):l?n.eachRawSeriesByType(l,u):s&&s(n,a).each(u)},t.prototype._createOverallStageTask=function(t,e,n,a){var i=this,r=e.overallTask=e.overallTask||Nh({reset:dg});r.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:i};var o=r.agentStubMap,l=r.agentStubMap=pt(),s=t.seriesType,u=t.getTargetSeries,c=!0,p=!1,d="";function h(t){var e=t.uid,n=l.set(e,o&&o.get(e)||(p=!0,Nh({reset:hg,onDirty:gg})));n.context={model:t,overallProgress:c},n.agent=r,n.__block=c,i._pipe(t,n)}rt(!t.createOnAllSeries,d),s?n.eachRawSeriesByType(s,h):u?u(n,a).each(h):(c=!1,z(n.getSeries(),h)),p&&r.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,a=this._pipelineMap.get(n);!a.head&&(a.head=e),a.tail&&a.tail.pipe(e),a.tail=e,e.__idxInPipeline=a.count++,e.__pipeline=a},t.wrapStageHandler=function(t,e){return H(t)&&(t={overallReset:t,seriesType:_g(t)}),t.uid=Uc("stageHandler"),e&&(t.visualType=e),t},t}();function dg(t){t.overallReset(t.ecModel,t.api,t.payload)}function hg(t){return t.overallProgress&&fg}function fg(){this.agent.dirty(),this.getDownstream().dirty()}function gg(){this.agent&&this.agent.dirty()}function mg(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function yg(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=_i(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?O(e,(function(t,e){return bg(e)})):vg}var vg=bg(0);function bg(t){return function(e,n){var a=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var r=e.start;r<e.end;r++)i.dataEach(a,r);else i&&i.progress&&i.progress(e,a)}}function xg(t){return t.data.count()}function _g(t){wg=null;try{t(kg,Sg)}catch(t){}return wg}var wg,kg={},Sg={};function Mg(t,e){for(var n in e.prototype)t[n]=gt}Mg(kg,Ad),Mg(Sg,Rd),kg.eachSeriesByType=kg.eachRawSeriesByType=function(t){wg=t},kg.eachComponent=function(t){"series"===t.mainType&&t.subType&&(wg=t.subType)};var Ig=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],Tg={color:Ig,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Ig]},Cg="#B9B8CE",Dg="#100C2A",Ag=function(){return{axisLine:{lineStyle:{color:Cg}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Lg=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Pg={darkMode:!0,color:Lg,backgroundColor:Dg,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Cg}},textStyle:{color:Cg},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Cg}},dataZoom:{borderColor:"#71708A",textStyle:{color:Cg},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:Cg}},timeline:{lineStyle:{color:Cg},label:{color:Cg},controlStyle:{color:Cg,borderColor:Cg}},calendar:{itemStyle:{color:Dg},dayLabel:{color:Cg},monthLabel:{color:Cg},yearLabel:{color:Cg}},timeAxis:Ag(),logAxis:Ag(),valueAxis:Ag(),categoryAxis:Ag(),line:{symbol:"circle"},graph:{color:Lg},gauge:{title:{color:Cg},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Cg},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Pg.categoryAxis.splitLine.show=!1;var zg=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},a={};if(W(t)){var i=Yi(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var r=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};z(t,(function(t,i){for(var l=!1,s=0;s<r.length;s++){var u=r[s],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var p=i.slice(0,c);"data"!==p&&(e.mainType=p,e[u.toLowerCase()]=t,l=!0)}}o.hasOwnProperty(i)&&(n[i]=t,l=!0),l||(a[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:a}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,i=n.packedEvent,r=n.model,o=n.view;if(!r||!o)return!0;var l=e.cptQuery,s=e.dataQuery;return u(l,r,"mainType")&&u(l,r,"subType")&&u(l,r,"index","componentIndex")&&u(l,r,"name")&&u(l,r,"id")&&u(s,i,"name")&&u(s,i,"dataIndex")&&u(s,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(t,e.otherQuery,a,i));function u(t,e,n,a){return null==t[n]||e[a||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Og={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){var a=t.get("symbol"),i=t.get("symbolSize"),r=t.get("symbolKeepAspect"),o=t.get("symbolRotate"),l=t.get("symbolOffset"),s=H(a),u=H(i),c=H(o),p=H(l),d=s||u||c||p,h=!s&&a?a:t.defaultSymbol,f=u?null:i,g=c?null:o,m=p?null:l;if(n.setVisual({legendIcon:t.legendIcon||h,symbol:h,symbolSize:f,symbolKeepAspect:r,symbolRotate:g,symbolOffset:m}),!e.isSeriesFiltered(t))return{dataEach:d?function(e,n){var r=t.getRawValue(n),d=t.getDataParams(n);s&&e.setItemVisual(n,"symbol",a(r,d)),u&&e.setItemVisual(n,"symbolSize",i(r,d)),c&&e.setItemVisual(n,"symbolRotate",o(r,d)),p&&e.setItemVisual(n,"symbolOffset",l(r,d))}:null}}}};function Rg(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 Ng(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 Eg(t,e,n,a){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=a,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=a;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,a)}}function Bg(t,e){function n(e,n){var a=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){a.push(t.seriesIndex)})),a}z([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,a,i){e=I({},e),i.dispatchAction(I(e,{type:t[1],seriesIndex:n(a,e)}))}))}))}function Vg(t,e,n,a,i){var r=t+e;n.isSilent(r)||a.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,a=i.selected,o=0;o<a.length;o++)if(a[o].seriesIndex===e){var l=t.getData(),s=Pi(l,i.fromActionPayload);n.trigger(r,{type:r,seriesId:t.id,name:G(s)?l.getName(s[0]):l.getName(s),selected:I({},t.option.selectedMap)})}}))}function Fg(t,e,n){for(var a;t&&(!e(t)||(a=t,!n));)t=t.__hostTarget||t.parent;return a}var Gg=Math.round(9*Math.random()),Hg="function"==typeof Object.defineProperty,Wg=function(){function t(){this._id="__ec_inner_"+Gg++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return Hg?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}(),Ug=Jo.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,a=e.cy,i=e.width/2,r=e.height/2;t.moveTo(n,a-r),t.lineTo(n+i,a+r),t.lineTo(n-i,a+r),t.closePath()}}),Yg=Jo.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,a=e.cy,i=e.width/2,r=e.height/2;t.moveTo(n,a-r),t.lineTo(n+i,a),t.lineTo(n,a+r),t.lineTo(n-i,a),t.closePath()}}),Xg=Jo.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,a=e.y,i=e.width/5*3,r=Math.max(i,e.height),o=i/2,l=o*o/(r-o),s=a-r+o+l,u=Math.asin(l/o),c=Math.cos(u)*o,p=Math.sin(u),d=Math.cos(u),h=.6*o,f=.7*o;t.moveTo(n-c,s+l),t.arc(n,s,o,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-p*h,s+l+d*h,n,a-f,n,a),t.bezierCurveTo(n,a-f,n-c+p*h,s+l+d*h,n-c,s+l),t.closePath()}}),Zg=Jo.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,a=e.width,i=e.x,r=e.y,o=a/3*2;t.moveTo(i,r),t.lineTo(i+o,r+n),t.lineTo(i,r+n/4*3),t.lineTo(i-o,r+n),t.lineTo(i,r),t.closePath()}}),jg={line:function(t,e,n,a,i){i.x1=t,i.y1=e+a/2,i.x2=t+n,i.y2=e+a/2},rect:function(t,e,n,a,i){i.x=t,i.y=e,i.width=n,i.height=a},roundRect:function(t,e,n,a,i){i.x=t,i.y=e,i.width=n,i.height=a,i.r=Math.min(n,a)/4},square:function(t,e,n,a,i){var r=Math.min(n,a);i.x=t,i.y=e,i.width=r,i.height=r},circle:function(t,e,n,a,i){i.cx=t+n/2,i.cy=e+a/2,i.r=Math.min(n,a)/2},diamond:function(t,e,n,a,i){i.cx=t+n/2,i.cy=e+a/2,i.width=n,i.height=a},pin:function(t,e,n,a,i){i.x=t+n/2,i.y=e+a/2,i.width=n,i.height=a},arrow:function(t,e,n,a,i){i.x=t+n/2,i.y=e+a/2,i.width=n,i.height=a},triangle:function(t,e,n,a,i){i.cx=t+n/2,i.cy=e+a/2,i.width=n,i.height=a}},qg={};z({line:gu,rect:cl,roundRect:cl,square:cl,circle:Gs,diamond:Yg,pin:Xg,arrow:Zg,triangle:Ug},(function(t,e){qg[e]=new t}));var Kg=Jo.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var a=Ca(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(a.y=n.y+.4*n.height),a},buildPath:function(t,e,n){var a=e.symbolType;if("none"!==a){var i=qg[a];i||(i=qg[a="rect"]),jg[a](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function $g(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 Jg(t,e,n,a,i,r,o){var l,s=0===t.indexOf("empty");return s&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(l=0===t.indexOf("image://")?Ju(t.slice(8),new ya(e,n,a,i),o?"center":"cover"):0===t.indexOf("path://")?$u(t.slice(7),{},new ya(e,n,a,i),o?"center":"cover"):new Kg({shape:{symbolType:t,x:e,y:n,width:a,height:i}})).__isEmptyBrush=s,l.setColor=$g,r&&l.setColor(r),l}function Qg(t){return G(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function tm(t,e){if(null!=t)return G(t)||(t=[t,t]),[qa(t[0],e[0])||0,qa(et(t[1],t[0]),e[1])||0]}function em(t,e,n){for(var a="radial"===e.type?function(t,e,n){var a=n.width,i=n.height,r=Math.min(a,i),o=null==e.x?.5:e.x,l=null==e.y?.5:e.y,s=null==e.r?.5:e.r;return e.global||(o=o*a+n.x,l=l*i+n.y,s*=r),t.createRadialGradient(o,l,0,o,l,s)}(t,e,n):function(t,e,n){var a=null==e.x?0:e.x,i=null==e.x2?1:e.x2,r=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(a=a*n.width+n.x,i=i*n.width+n.x,r=r*n.height+n.y,o=o*n.height+n.y),a=isNaN(a)?0:a,i=isNaN(i)?1:i,r=isNaN(r)?0:r,o=isNaN(o)?0:o,t.createLinearGradient(a,r,i,o)}(t,e,n),i=e.colorStops,r=0;r<i.length;r++)a.addColorStop(i[r].offset,i[r].color);return a}function nm(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}function am(t,e){return t&&"solid"!==t&&e>0?(e=e||1,"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:Y(t)?[t]:G(t)?t:null):null}var im=new Po(!0);function rm(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function om(t){return"string"==typeof t&&"none"!==t}function lm(t){var e=t.fill;return null!=e&&"none"!==e}function sm(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 um(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 cm(t,e,n){var a=ir(e.image,e.__image,n);if(or(a)){var i=t.createPattern(a,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i.setTransform){var r=new DOMMatrix;r.rotateSelf(0,0,(e.rotation||0)/Math.PI*180),r.scaleSelf(e.scaleX||1,e.scaleY||1),r.translateSelf(e.x||0,e.y||0),i.setTransform(r)}return i}}var pm=["shadowBlur","shadowOffsetX","shadowOffsetY"],dm=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function hm(t,e,n,a,i){var r=!1;if(!a&&e===(n=n||{}))return!1;if(a||e.opacity!==n.opacity){r||(mm(t,i),r=!0);var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?xr.opacity:o}(a||e.blend!==n.blend)&&(r||(mm(t,i),r=!0),t.globalCompositeOperation=e.blend||xr.blend);for(var l=0;l<pm.length;l++){var s=pm[l];(a||e[s]!==n[s])&&(r||(mm(t,i),r=!0),t[s]=t.dpr*(e[s]||0))}return(a||e.shadowColor!==n.shadowColor)&&(r||(mm(t,i),r=!0),t.shadowColor=e.shadowColor||xr.shadowColor),r}function fm(t,e,n,a,i){var r=ym(e,i.inHover),o=a?null:n&&ym(n,i.inHover)||{};if(r===o)return!1;var l=hm(t,r,o,a,i);if((a||r.fill!==o.fill)&&(l||(mm(t,i),l=!0),om(r.fill)&&(t.fillStyle=r.fill)),(a||r.stroke!==o.stroke)&&(l||(mm(t,i),l=!0),om(r.stroke)&&(t.strokeStyle=r.stroke)),(a||r.opacity!==o.opacity)&&(l||(mm(t,i),l=!0),t.globalAlpha=null==r.opacity?1:r.opacity),e.hasStroke()){var s=r.lineWidth/(r.strokeNoScale&&e&&e.getLineScale?e.getLineScale():1);t.lineWidth!==s&&(l||(mm(t,i),l=!0),t.lineWidth=s)}for(var u=0;u<dm.length;u++){var c=dm[u],p=c[0];(a||r[p]!==o[p])&&(l||(mm(t,i),l=!0),t[p]=r[p]||c[1])}return l}function gm(t,e){var n=e.transform,a=t.dpr||1;n?t.setTransform(a*n[0],a*n[1],a*n[2],a*n[3],a*n[4],a*n[5]):t.setTransform(a,0,0,a,0,0)}function mm(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function ym(t,e){return e&&t.__hoverStyle||t.style}function vm(t,e){bm(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function bm(t,e,n,a){var i=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var r=e.__clipPaths,o=n.prevElClipPaths,l=!1,s=!1;if(o&&!nm(r,o)||(o&&o.length&&(mm(t,n),t.restore(),s=l=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),r&&r.length&&(mm(t,n),t.save(),function(t,e,n){for(var a=!1,i=0;i<t.length;i++){var r=t[i];a=a||r.isZeroArea(),gm(e,r),e.beginPath(),r.buildPath(e,r.shape),e.clip()}n.allClipped=a}(r,t,n),l=!0),n.prevElClipPaths=r),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var u=n.prevEl;u||(s=l=!0);var c,p,d=e instanceof Jo&&e.autoBatch&&function(t){var e=lm(t),n=rm(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);l||(c=i,p=u.transform,c&&p?c[0]!==p[0]||c[1]!==p[1]||c[2]!==p[2]||c[3]!==p[3]||c[4]!==p[4]||c[5]!==p[5]:c||p)?(mm(t,n),gm(t,e)):d||mm(t,n);var h=ym(e,n.inHover);e instanceof Jo?(1!==n.lastDrawType&&(s=!0,n.lastDrawType=1),fm(t,e,u,s,n),d&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,a){var i=rm(n),r=lm(n),o=n.strokePercent,l=o<1,s=!e.path;e.silent&&!l||!s||e.createPathProxy();var u=e.path||im;if(!a){var c=n.fill,p=n.stroke,d=r&&!!c.colorStops,h=i&&!!p.colorStops,f=r&&!!c.image,g=i&&!!p.image,m=void 0,y=void 0,v=void 0,b=void 0,x=void 0;(d||h)&&(x=e.getBoundingRect()),d&&(m=e.__dirty?em(t,c,x):e.__canvasFillGradient,e.__canvasFillGradient=m),h&&(y=e.__dirty?em(t,p,x):e.__canvasStrokeGradient,e.__canvasStrokeGradient=y),f&&(v=e.__dirty||!e.__canvasFillPattern?cm(t,c,e):e.__canvasFillPattern,e.__canvasFillPattern=v),g&&(b=e.__dirty||!e.__canvasStrokePattern?cm(t,p,e):e.__canvasStrokePattern,e.__canvasStrokePattern=v),d?t.fillStyle=m:f&&(v?t.fillStyle=v:r=!1),h?t.strokeStyle=y:g&&(b?t.strokeStyle=b:i=!1)}var _=n.lineDash&&n.lineWidth>0&&am(n.lineDash,n.lineWidth),w=n.lineDashOffset,k=!!t.setLineDash,S=e.getGlobalScale();if(u.setScale(S[0],S[1],e.segmentIgnoreThreshold),_){var M=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;M&&1!==M&&(_=O(_,(function(t){return t/M})),w/=M)}var I=!0;(s||4&e.__dirty||_&&!k&&i)&&(u.setDPR(t.dpr),l?u.setContext(null):(u.setContext(t),I=!1),u.reset(),_&&!k&&(u.setLineDash(_),u.setLineDashOffset(w)),e.buildPath(u,e.shape,a),u.toStatic(),e.pathUpdated()),I&&u.rebuildPath(t,l?o:1),_&&k&&(t.setLineDash(_),t.lineDashOffset=w),a||(n.strokeFirst?(i&&um(t,n),r&&sm(t,n)):(r&&sm(t,n),i&&um(t,n))),_&&k&&t.setLineDash([])}(t,e,h,d),d&&(n.batchFill=h.fill||"",n.batchStroke=h.stroke||"")):e instanceof tl?(3!==n.lastDrawType&&(s=!0,n.lastDrawType=3),fm(t,e,u,s,n),function(t,e,n){var a=n.text;if(null!=a&&(a+=""),a){t.font=n.font||ba,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var i=void 0;if(t.setLineDash){var r=n.lineDash&&n.lineWidth>0&&am(n.lineDash,n.lineWidth),o=n.lineDashOffset;if(r){var l=n.strokeNoScale&&e.getLineScale?e.getLineScale():1;l&&1!==l&&(r=O(r,(function(t){return t/l})),o/=l),t.setLineDash(r),t.lineDashOffset=o,i=!0}}n.strokeFirst?(rm(n)&&t.strokeText(a,n.x,n.y),lm(n)&&t.fillText(a,n.x,n.y)):(lm(n)&&t.fillText(a,n.x,n.y),rm(n)&&t.strokeText(a,n.x,n.y)),i&&t.setLineDash([])}}(t,e,h)):e instanceof al?(2!==n.lastDrawType&&(s=!0,n.lastDrawType=2),function(t,e,n,a,i){hm(t,ym(e,i.inHover),n&&ym(n,i.inHover),a,i)}(t,e,u,s,n),function(t,e,n){var a=e.__image=ir(n.image,e.__image,e,e.onload);if(a&&or(a)){var i=n.x||0,r=n.y||0,o=e.getWidth(),l=e.getHeight(),s=a.width/a.height;if(null==o&&null!=l?o=l*s:null==l&&null!=o?l=o/s:null==o&&null==l&&(o=a.width,l=a.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;t.drawImage(a,u,c,n.sWidth,n.sHeight,i,r,o,l)}else if(n.sx&&n.sy){var p=o-(u=n.sx),d=l-(c=n.sy);t.drawImage(a,u,c,p,d,i,r,o,l)}else t.drawImage(a,i,r,o,l)}}(t,e,h)):e instanceof Pu&&(4!==n.lastDrawType&&(s=!0,n.lastDrawType=4),function(t,e,n){var a=e.getDisplayables(),i=e.getTemporalDisplayables();t.save();var r,o,l={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(r=e.getCursor(),o=a.length;r<o;r++)(c=a[r]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),bm(t,c,l,r===o-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),l.prevEl=c;for(var s=0,u=i.length;s<u;s++){var c;(c=i[s]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),bm(t,c,l,s===u-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),l.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),d&&a&&mm(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var xm,_m=new Wg,wm=new Ae(100),km=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Sm(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),a=e.getZr(),i="svg"===a.painter.type;t.dirty&&_m.delete(t);var r=_m.get(t);if(r)return r;var o=T(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"===o.backgroundColor&&(o.backgroundColor=null);var l={repeat:"repeat"};return function(t){for(var e,r=[n],l=!0,s=0;s<km.length;++s){var u=o[km[s]],c=typeof u;if(null!=u&&!G(u)&&"string"!==c&&"number"!==c&&"boolean"!==c){l=!1;break}r.push(u)}if(l){e=r.join(",")+(i?"-svg":"");var p=wm.get(e);p&&(i?t.svgElement=p:t.image=p)}var d,h=Im(o.dashArrayX),f=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if("number"==typeof t){var e=Math.ceil(t);return[e,e]}var n=O(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(o.dashArrayY),g=Mm(o.symbol),m=O(h,(function(t){return Tm(t)})),y=Tm(f),v=!i&&C(),b=i&&a.painter.createSVGElement("g"),x=function(){for(var t=1,e=0,n=m.length;e<n;++e)t=yi(t,m[e]);var a=1;for(e=0,n=g.length;e<n;++e)a=yi(a,g[e].length);t*=a;var i=y*m.length*g.length;return{width:Math.max(1,Math.min(t,o.maxTileWidth)),height:Math.max(1,Math.min(i,o.maxTileHeight))}}();v&&(v.width=x.width*n,v.height=x.height*n,d=v.getContext("2d")),function(){d&&(d.clearRect(0,0,v.width,v.height),o.backgroundColor&&(d.fillStyle=o.backgroundColor,d.fillRect(0,0,v.width,v.height)));for(var t=0,e=0;e<f.length;++e)t+=f[e];if(!(t<=0))for(var r=-y,l=0,s=0,u=0;r<x.height;){if(l%2==0){for(var c=s/2%g.length,p=0,m=0,_=0;p<2*x.width;){var w=0;for(e=0;e<h[u].length;++e)w+=h[u][e];if(w<=0)break;if(m%2==0){var k=.5*(1-o.symbolSize),S=p+h[u][m]*k,M=r+f[l]*k,I=h[u][m]*o.symbolSize,T=f[l]*o.symbolSize,C=_/2%g[c].length;D(S,M,I,T,g[c][C])}p+=h[u][m],++_,++m===h[u].length&&(m=0)}++u===h.length&&(u=0)}r+=f[l],++s,++l===f.length&&(l=0)}function D(t,e,r,l,s){var u=i?1:n,c=Jg(s,t*u,e*u,r*u,l*u,o.color,o.symbolKeepAspect);i?b.appendChild(a.painter.paintOne(c)):vm(d,c)}}(),l&&wm.put(e,v||b),t.image=v,t.svgElement=b,t.svgWidth=x.width,t.svgHeight=x.height}(l),l.rotation=o.rotation,l.scaleX=l.scaleY=i?1:1/n,_m.set(t,l),t.dirty=!1,l}function Mm(t){if(!t||0===t.length)return[["rect"]];if("string"==typeof t)return[[t]];for(var e=!0,n=0;n<t.length;++n)if("string"!=typeof t[n]){e=!1;break}if(e)return Mm([t]);var a=[];for(n=0;n<t.length;++n)"string"==typeof t[n]?a.push([t[n]]):a.push(t[n]);return a}function Im(t){if(!t||0===t.length)return[[0,0]];if("number"==typeof t)return[[i=Math.ceil(t),i]];for(var e=!0,n=0;n<t.length;++n)if("number"!=typeof t[n]){e=!1;break}if(e)return Im([t]);var a=[];for(n=0;n<t.length;++n)if("number"==typeof t[n]){var i=Math.ceil(t[n]);a.push([i,i])}else(i=O(t[n],(function(t){return Math.ceil(t)}))).length%2==1?a.push(i.concat(i)):a.push(i);return a}function Tm(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}function Cm(t){W(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 Dm={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"},Am=B(Dm),Lm={"alignment-baseline":"textBaseline","stop-color":"stopColor"},Pm=B(Lm),zm=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=Cm(t);if(!n)throw new Error("Illegal svg");this._defsUsePending=[];var a=new Va;this._root=a;var i=[],r=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),Vm(n,a,null,!0,!1);for(var s,u,c=n.firstChild;c;)this._parseNode(c,a,i,null,!1,!1),c=c.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var a=e[n];a[0].style[a[1]]=t[a[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],r){var p=Wm(r);p.length>=4&&(s={x:parseFloat(p[0]||0),y:parseFloat(p[1]||0),width:parseFloat(p[2]),height:parseFloat(p[3])})}if(s&&null!=o&&null!=l&&(u=jm(s,{x:0,y:0,width:o,height:l}),!e.ignoreViewBox)){var d=a;(a=new Va).add(d),d.scaleX=d.scaleY=u.scale,d.x=u.x,d.y=u.y}return e.ignoreRootClip||null==o||null==l||a.setClipPath(new cl({shape:{x:0,y:0,width:o,height:l}})),{root:a,width:o,height:l,viewBoxRect:s,viewBoxTransform:u,named:i}},t.prototype._parseNode=function(t,e,n,a,i,r){var o,l=t.nodeName.toLowerCase(),s=a;if("defs"===l&&(i=!0),"text"===l&&(r=!0),"defs"===l||"switch"===l)o=e;else{if(!i){var u=xm[l];if(u&&ft(xm,l)){o=u.call(this,t,e);var c=t.getAttribute("name");if(c){var p={name:c,namedFrom:null,svgNodeTagLower:l,el:o};n.push(p),"g"===l&&(s=p)}else a&&n.push({name:a.name,namedFrom:a,svgNodeTagLower:l,el:o});e.add(o)}}var d=Om[l];if(d&&ft(Om,l)){var h=d.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=h)}}if(o&&o.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,o,n,s,i,r):3===g.nodeType&&r&&this._parseText(g,o),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new tl({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Em(e,n),Vm(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var a=n.textBaseline,i=a;a&&"auto"!==a?"baseline"===a?i="alphabetic":"before-edge"===a||"text-before-edge"===a?i="top":"after-edge"===a||"text-after-edge"===a?i="bottom":"central"!==a&&"mathematical"!==a||(i="middle"):i="alphabetic",t.style.textBaseline=i}var r=e.__inheritedStyle;if(r){var o=r.textAlign,l=o;o&&("middle"===o&&(l="center"),t.style.textAlign=l)}}(n,e);var a=n.style,i=a.fontSize;i&&i<9&&(a.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var r=(a.fontSize||a.fontFamily)&&[a.fontStyle,a.fontWeight,(a.fontSize||12)+"px",a.fontFamily||"sans-serif"].join(" ");a.font=r;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=void(xm={g:function(t,e){var n=new Va;return Em(e,n),Vm(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new cl;return Em(e,n),Vm(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 Gs;return Em(e,n),Vm(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 gu;return Em(e,n),Vm(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 Ws;return Em(e,n),Vm(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,a=t.getAttribute("points");a&&(n=Bm(a));var i=new cu({shape:{points:n||[]},silent:!0});return Em(e,i),Vm(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,a=t.getAttribute("points");a&&(n=Bm(a));var i=new du({shape:{points:n||[]},silent:!0});return Em(e,i),Vm(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new al;return Em(e,n),Vm(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",a=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",r=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(a)+parseFloat(r);var o=new Va;return Em(e,o),Vm(t,o,this._defsUsePending,!1,!0),o},tspan:function(t,e){var n=t.getAttribute("x"),a=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=a&&(this._textY=parseFloat(a));var i=t.getAttribute("dx")||"0",r=t.getAttribute("dy")||"0",o=new Va;return Em(e,o),Vm(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(r),o},path:function(t,e){var n=Bs(t.getAttribute("d")||"");return Em(e,n),Vm(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),Om={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),a=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),r=new Su(e,n,a,i);return Rm(t,r),Nm(t,r),r},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),a=parseInt(t.getAttribute("r")||"0",10),i=new Mu(e,n,a);return Rm(t,i),Nm(t,i),i}};function Rm(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function Nm(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var a=n.getAttribute("offset"),i=void 0;i=a&&a.indexOf("%")>0?parseInt(a,10)/100:a?parseFloat(a):0;var r={};Zm(n,r,r);var o=r.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function Em(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),T(e.__inheritedStyle,t.__inheritedStyle))}function Bm(t){for(var e=Wm(t),n=[],a=0;a<e.length;a+=2){var i=parseFloat(e[a]),r=parseFloat(e[a+1]);n.push([i,r])}return n}function Vm(t,e,n,a,i){var r=e,o=r.__inheritedStyle=r.__inheritedStyle||{},l={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var a=[],i=null;n.replace(Um,(function(t,e,n){return a.push(e,n),""}));for(var r=a.length-1;r>0;r-=2){var o=a[r],l=a[r-1],s=Wm(o);switch(i=i||[1,0,0,1,0,0],l){case"translate":Yn(i,i,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":Zn(i,i,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":Xn(i,i,-parseFloat(s[0])*Ym);break;case"skewX":Un(i,[1,0,Math.tan(parseFloat(s[0])*Ym),1,0,0],i);break;case"skewY":Un(i,[1,Math.tan(parseFloat(s[0])*Ym),0,1,0,0],i);break;case"matrix":i[0]=parseFloat(s[0]),i[1]=parseFloat(s[1]),i[2]=parseFloat(s[2]),i[3]=parseFloat(s[3]),i[4]=parseFloat(s[4]),i[5]=parseFloat(s[5])}}e.setLocalTransform(i)}}(t,e),Zm(t,o,l),a||function(t,e,n){for(var a=0;a<Am.length;a++){var i=Am[a];null!=(r=t.getAttribute(i))&&(e[Dm[i]]=r)}for(a=0;a<Pm.length;a++){var r;i=Pm[a],null!=(r=t.getAttribute(i))&&(n[Lm[i]]=r)}}(t,o,l)),r.style=r.style||{},null!=o.fill&&(r.style.fill=Gm(r,"fill",o.fill,n)),null!=o.stroke&&(r.style.stroke=Gm(r,"stroke",o.stroke,n)),z(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=o[t]&&(r.style[t]=parseFloat(o[t]))})),z(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=o[t]&&(r.style[t]=o[t])})),i&&(r.__selfStyle=l),o.lineDash&&(r.style.lineDash=O(Wm(o.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==o.visibility&&"collapse"!==o.visibility||(r.invisible=!0),"none"===o.display&&(r.ignore=!0)}var Fm=/^url\(\s*#(.*?)\)/;function Gm(t,e,n,a){var i=n&&n.match(Fm);if(!i)return"none"===n&&(n=null),n;var r=ot(i[1]);a.push([t,e,r])}var Hm=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Wm(t){return t.match(Hm)||[]}var Um=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Ym=Math.PI/180,Xm=/([^\s:;]+)\s*:\s*([^:;]+)/g;function Zm(t,e,n){var a,i=t.getAttribute("style");if(i)for(Xm.lastIndex=0;null!=(a=Xm.exec(i));){var r=a[1],o=ft(Dm,r)?Dm[r]:null;o&&(e[o]=a[2]);var l=ft(Lm,r)?Lm[r]:null;l&&(n[l]=a[2])}}function jm(t,e){var n=e.width/t.width,a=e.height/t.height,i=Math.min(n,a);return{scale:i,x:-(t.x+t.width/2)*i+(e.x+e.width/2),y:-(t.y+t.height/2)*i+(e.y+e.height/2)}}function qm(t,e){return Math.abs(t-e)<1e-8}function Km(t,e,n){var a=0,i=t[0];if(!i)return!1;for(var r=1;r<t.length;r++){var o=t[r];a+=Fo(i[0],i[1],o[0],o[1],e,n),i=o}var l=t[0];return qm(i[0],l[0])&&qm(i[1],l[1])||(a+=Fo(i[0],i[1],l[0],l[1],e,n)),0!==a}var $m=[],Jm=function(){function t(t){this.name=t}return t.prototype.getCenter=function(){},t}(),Qm=function(t){function e(e,n,a){var i=t.call(this,e)||this;if(i.type="geoJSON",i.geometries=n,a)a=[a[0],a[1]];else{var r=i.getBoundingRect();a=[r.x+r.width/2,r.y+r.height/2]}return i._center=a,i}return n(e,t),e.prototype.getBoundingRect=function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],a=[-e,-e],i=[],r=[],o=this.geometries,l=0;l<o.length;l++)"polygon"===o[l].type&&(ro(o[l].exterior,i,r),Nt(n,n,i),Et(a,a,r));return 0===l&&(n[0]=n[1]=a[0]=a[1]=0),this._rect=new ya(n[0],n[1],a[0]-n[0],a[1]-n[1])},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var a=0,i=n.length;a<i;a++)if("polygon"===n[a].type){var r=n[a].exterior,o=n[a].interiors;if(Km(r,t[0],t[1])){for(var l=0;l<(o?o.length:0);l++)if(Km(o[l],t[0],t[1]))continue t;return!0}}return!1},e.prototype.transformTo=function(t,e,n,a){var i=this.getBoundingRect(),r=i.width/i.height;n?a||(a=n/r):n=r*a;for(var o=new ya(t,e,n,a),l=i.calculateTransform(o),s=this.geometries,u=0;u<s.length;u++)if("polygon"===s[u].type){for(var c=s[u].exterior,p=s[u].interiors,d=0;d<c.length;d++)Rt(c[d],c[d],l);for(var h=0;h<(p?p.length:0);h++)for(d=0;d<p[h].length;d++)Rt(p[h][d],p[h][d],l)}(i=this._rect).copy(o),this._center=[i.x+i.width/2,i.y+i.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.prototype.getCenter=function(){return this._center},e.prototype.setCenter=function(t){this._center=t},e}(Jm),ty=function(t){function e(e,n){var a=t.call(this,e)||this;return a.type="geoSVG",a._elOnlyForCalculate=n,a}return n(e,t),e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this._calculateCenter()),t},e.prototype._calculateCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],a=Hn($m),i=t;i&&!i.isGeoSVGGraphicRoot;)Un(a,i.getLocalTransform(),a),i=i.parent;return jn(a,a),Rt(n,n,a),n},e}(Jm),ey=pt(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),ny=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=pt(),this._freedGraphics=[],this._mapName=t,this._parsedXML=Cm(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=pt();return z(t,(function(t){if(null==t.namedFrom){var a=new ty(t.name,t.el);e.push(a),n.set(t.name,a)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,a=e.regionsMap;this._regions=n,this._regionsMap=a}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,a,i;try{rt(null!=(n=(e=t&&(a=t,i={ignoreViewBox:!0,ignoreRootClip:!0},(new zm).parse(a,i))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var r=new Va;r.add(n),r.isGeoSVGGraphicRoot=!0;var o=e.width,l=e.height,s=e.viewBoxRect,u=this._boundingRect;if(!u){var c=void 0,p=void 0,d=void 0,h=void 0;if(null!=o?(c=0,d=o):s&&(c=s.x,d=s.width),null!=l?(p=0,h=l):s&&(p=s.y,h=s.height),null==c||null==p){var f=n.getBoundingRect();null==c&&(c=f.x,d=f.width),null==p&&(p=f.y,h=f.height)}u=this._boundingRect=new ya(c,p,d,h)}if(s){var g=jm(s,u);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}r.setClipPath(new cl({shape:u.plain()}));var m=[];return z(e.named,(function(t){var e;null!=ey.get(t.svgNodeTagLower)&&(m.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:r,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 ay(t,e,n){for(var a=[],i=e[0],r=e[1],o=0;o<t.length;o+=2){var l=t.charCodeAt(o)-64,s=t.charCodeAt(o+1)-64;l=l>>1^-(1&l),s=s>>1^-(1&s),i=l+=i,r=s+=r,a.push([l/n,s/n])}return a}function iy(t,e){return O(N((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);for(var a=e.features,i=0;i<a.length;i++){var r=a[i].geometry;if("Polygon"===r.type)for(var o=r.coordinates,l=0;l<o.length;l++)o[l]=ay(o[l],r.encodeOffsets[l],n);else if("MultiPolygon"===r.type)for(o=r.coordinates,l=0;l<o.length;l++)for(var s=o[l],u=0;u<s.length;u++)s[u]=ay(s[u],r.encodeOffsets[l][u],n)}return e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,a=t.geometry,i=[];if("Polygon"===a.type){var r=a.coordinates;i.push({type:"polygon",exterior:r[0],interiors:r.slice(1)})}"MultiPolygon"===a.type&&z(r=a.coordinates,(function(t){t[0]&&i.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var o=new Qm(n[e||"name"],i,n.cp);return o.properties=n,o}))}for(var ry=[126,25],oy="南海诸岛",ly=[[[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]]],sy=0;sy<ly.length;sy++)for(var uy=0;uy<ly[sy].length;uy++)ly[sy][uy][0]/=10.5,ly[sy][uy][1]/=-14,ly[sy][uy][0]+=ry[0],ly[sy][uy][1]+=ry[1];var cy={"南海诸岛":[32,80],"广东":[0,-10],"香港":[10,5],"澳门":[-10,10],"天津":[5,5]},py={Russia:[100,60],"United States":[-99,38],"United States of America":[-99,38]},dy=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]],hy=function(){function t(t,e,n){var a;this.type="geoJSON",this._parsedMap=pt(),this._mapName=t,this._specialAreas=n,this._geoJSON=W(a=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(a):new Function("return ("+a+");")():a}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var a=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:a,boundingRect:fy(a)})}var i=pt(),r=[];return z(n.regions,(function(e){var n=e.name;t&&t.hasOwnProperty(n)&&(e=e.cloneShallow(n=t[n])),r.push(e),i.set(n,e)})),{regions:r,boundingRect:n.boundingRect||new ya(0,0,0,0),regionsMap:i}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,a=this._geoJSON;try{e=a?iy(a,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===oy)return;e.push(new Qm(oy,O(ly,(function(t){return{type:"polygon",exterior:t}})),ry))}}(n,e),z(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=cy[e.name];if(n){var a=e.getCenter();a[0]+=n[0]/10.5,a[1]+=-n[1]/14,e.setCenter(a)}}}(n,t),function(t,e){if("world"===t){var n=py[e.name];if(n){var a=[n[0],n[1]];e.setCenter(a)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:dy[0]})}(n,t);var a=this._specialAreas&&this._specialAreas[e];a&&t.transformTo(a.left,a.top,a.width,a.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function fy(t){for(var e,n=0;n<t.length;n++){var a=t[n].getBoundingRect();(e=e||a.clone()).union(a)}return e}var gy=pt(),my=function(t,e,n){if(e.svg){var a=new ny(t,e.svg);gy.set(t,a)}else{var i=e.geoJson||e.geoJSON;i&&!e.features?n=e.specialAreas:i=e,a=new hy(t,i,n),gy.set(t,a)}},yy=function(t){return gy.get(t)},vy=function(t){var e=gy.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},by=function(t,e,n){var a=gy.get(t);if(a)return a.load(e,n)},xy=new Gt,_y="undefined"!=typeof window,wy=2e3,ky=4500,Sy={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:wy,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:ky,ARIA:6e3,DECAL:7e3}},My=/^[a-zA-Z0-9_]+$/,Iy="__connectUpdateStatus";function Ty(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return Dy(this,t,e);tv(this.id)}}function Cy(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return Dy(this,t,e)}}function Dy(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),Gt.prototype[e].apply(t,n)}var Ay,Ly,Py,zy,Oy,Ry,Ny,Ey,By,Vy,Fy,Gy,Hy,Wy,Uy,Yy,Xy,Zy,jy,qy=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Gt),Ky=qy.prototype;Ky.on=Cy("on"),Ky.off=Cy("off");var $y=function(t){function e(e,n,a){var i=t.call(this,new zg)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],a=a||{},"string"==typeof n&&(n=ov[n]),i._dom=e;var r="canvas",o=!1,l=i._zr=Ua(e,{renderer:a.renderer||r,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,useDirtyRect:null==a.useDirtyRect?o:a.useDirtyRect});i._throttledZrFlush=Qf(V(l.flush,l),17),(n=k(n))&&oh(n,!0),i._theme=n,i._locale=function(t){if(W(t)){var e=qc[t.toUpperCase()]||{};return t===Xc||t===Zc?k(e):S(k(e),k(qc.EN),!1)}return S(k(t),k(qc.EN),!1)}(a.locale||$c),i._coordSysMgr=new Ed;var s=i._api=Yy(i);function u(t,e){return t.__prio-e.__prio}return xe(rv,u),xe(av,u),i._scheduler=new pg(i,s,av,rv),i._messageCenter=new qy,i._initEvents(),i.resize=V(i.resize,i),l.animation.on("frame",i._onframe,i),Vy(l,i),Fy(l,i),st(i),i}return n(e,t),e.prototype._onframe=function(){if(!this._disposed){jy(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0,Ay(this),zy.update.call(this,null,this.__pendingUpdate.updateParams),this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,Ey.call(this,e),By.call(this,e)}else if(t.unfinished){var n=1,a=this._model,i=this._api;t.unfinished=!1;do{var r=+new Date;t.performSeriesTasks(a),t.performDataProcessorTasks(a),Ry(this,a),t.performVisualTasks(a),Uy(this,this._model,i,"remain",{}),n-=+new Date-r}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.setOption=function(t,e,n){if(this._disposed)tv(this.id);else{var a,i,r;if(X(e)&&(n=e.lazyUpdate,a=e.silent,i=e.replaceMerge,r=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var o=new Vd(this._api),l=this._theme,s=this._model=new Ad;s.scheduler=this._scheduler,s.init(null,null,null,l,this._locale,o)}this._model.setOption(t,{replaceMerge:i},iv);var u={seriesTransition:r,optionChanged:!0};n?(this.__pendingUpdate={silent:a,updateParams:u},this.__flagInMainProcess=!1,this.getZr().wakeUp()):(Ay(this),zy.update.call(this,null,u),this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,Ey.call(this,a),By.call(this,a))}},e.prototype.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},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||_y&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){if(o.canvasSupported)return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.getSvgDataURL=function(){if(o.svgSupported){var t=this._zr;return z(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,a=[],i=this;z(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(a.push(e),e.group.ignore=!0)}))}));var r="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return z(a,(function(t){t.group.ignore=!1})),r}tv(this.id)},e.prototype.getConnectedDataURL=function(t){if(this._disposed)tv(this.id);else if(o.canvasSupported){var e="svg"===t.type,n=this.group,a=Math.min,i=Math.max,r=1/0;if(uv[n]){var l=r,s=r,u=-1/0,c=-1/0,p=[],d=t&&t.pixelRatio||this.getDevicePixelRatio();z(sv,(function(r,o){if(r.group===n){var d=e?r.getZr().painter.getSvgDom().innerHTML:r.getRenderedCanvas(k(t)),h=r.getDom().getBoundingClientRect();l=a(h.left,l),s=a(h.top,s),u=i(h.right,u),c=i(h.bottom,c),p.push({dom:d,left:h.left,top:h.top})}}));var h=(u*=d)-(l*=d),f=(c*=d)-(s*=d),g=C(),m=Ua(g,{renderer:e?"svg":"canvas"});if(m.resize({width:h,height:f}),e){var y="";return z(p,(function(t){var e=t.left-l,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),m.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&m.painter.setBackgroundColor(t.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}return t.connectedBackgroundColor&&m.add(new cl({shape:{x:0,y:0,width:h,height:f},style:{fill:t.connectedBackgroundColor}})),z(p,(function(t){var e=new al({style:{x:t.left*d-l,y:t.top*d-s,image:t.dom}});m.add(e)})),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},e.prototype.convertToPixel=function(t,e){return Oy(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Oy(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return z(Ri(this._model,t),(function(t,a){a.indexOf("Models")>=0&&z(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===a){var r=this._chartsMap[t.__viewId];r&&r.containPoint&&(n=n||r.containPoint(e,t))}}),this)}),this),!!n;tv(this.id)},e.prototype.getVisual=function(t,e){var n=Ri(this._model,t,{defaultMainType:"series"}),a=n.seriesModel.getData(),i=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?a.indexOfRawIndex(n.dataIndex):null;return null!=i?Rg(a,i,e):Ng(a,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,a=this;z(Qy,(function(t){var e=function(e){var n,i=a.getModel(),r=e.target;if("globalout"===t?n={}:r&&Fg(r,(function(t){var e=wl(t);if(e&&null!=e.dataIndex){var a=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return n=a&&a.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return n=I({},e.eventData),!0}),!0),n){var o=n.componentType,l=n.componentIndex;"markLine"!==o&&"markPoint"!==o&&"markArea"!==o||(o="series",l=n.seriesIndex);var s=o&&null!=l&&i.getComponent(o,l),u=s&&a["series"===s.mainType?"_chartsMap":"_componentsMap"][s.__viewId];n.event=e,n.type=t,a._$eventProcessor.eventInfo={targetEl:r,packedEvent:n,model:s,view:u},a.trigger(t,n)}};e.zrEventfulCallAtLast=!0,a._zr.on(t,e,a)})),z(nv,(function(t,e){a._messageCenter.on(e,(function(t){this.trigger(e,t)}),a)})),z(["selectchanged"],(function(t){a._messageCenter.on(t,(function(e){this.trigger(t,e)}),a)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var a=n.getModel();t.isFromClick?(Vg("map","selectchanged",e,a,t),Vg("pie","selectchanged",e,a,t)):"select"===t.fromAction?(Vg("map","selected",e,a,t),Vg("pie","selected",e,a,t)):"unselect"===t.fromAction&&(Vg("map","unselected",e,a,t),Vg("pie","unselected",e,a,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?tv(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)tv(this.id);else{this._disposed=!0,Fi(this.getDom(),dv,"");var t=this,e=t._api,n=t._model;z(t._componentsViews,(function(t){t.dispose(n,e)})),z(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 sv[t.id]}},e.prototype.resize=function(t){if(this._disposed)tv(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),a=t&&t.silent;this.__pendingUpdate&&(null==a&&(a=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0,n&&Ay(this),zy.update.call(this,{type:"resize",animation:I({duration:0},t&&t.animation)}),this.__flagInMainProcess=!1,Ey.call(this,a),By.call(this,a)}}},e.prototype.showLoading=function(t,e){if(this._disposed)tv(this.id);else if(X(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),lv[t]){var n=lv[t](this._api,e),a=this._zr;this._loadingFX=n,a.add(n)}},e.prototype.hideLoading=function(){this._disposed?tv(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=I({},t);return e.type=nv[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)tv(this.id);else if(X(e)||(e={silent:!!e}),ev[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;Ny.call(this,t,n);var a=e.flush;a?this._zr.flush():!1!==a&&o.browser.weChat&&this._throttledZrFlush(),Ey.call(this,n),By.call(this,n)}},e.prototype.updateLabelLayout=function(){xy.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)tv(this.id);else{var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){for(var e=[],n=t.currentStates,a=0;a<n.length;a++){var i=n[a];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function e(t,e){t.preventAutoZ||a(e.group,t.get("z")||0,t.get("zlevel")||0,-1/0)}function a(t,e,n,i){var r=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var l=t.childrenRef(),s=0;s<l.length;s++)i=Math.max(a(l[s],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(r&&(r.z=e,r.zlevel=n,isFinite(i)&&(r.z2=i+2)),o){var u=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(i)&&(o.z2=i+(u&&u.showAbove?1:-1))}return i}function i(t,e){e.group.traverse((function(t){if(!Bu(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 r(e,n){var a=e.getModel("stateAnimation"),i=e.isAnimationEnabled(),r=a.get("duration"),o=r>0?{duration:r,delay:a.get("delay"),easing:a.get("easing")}:null;n.group.traverse((function(e){if(e.states&&e.states.emphasis){if(Bu(e))return;if(e instanceof Jo&&function(t){var e=Il(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}(e),e.__dirty){var n=e.prevStates;n&&e.useStates(n)}if(i){e.stateTransition=o;var a=e.getTextContent(),r=e.getTextGuideLine();a&&(a.stateTransition=o),r&&(r.stateTransition=o)}e.__dirty&&t(e)}}))}Ay=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Ly(t,!0),Ly(t,!1),e.plan()},Ly=function(t,e){for(var n=t._model,a=t._scheduler,i=e?t._componentsViews:t._chartsViews,r=e?t._componentsMap:t._chartsMap,o=t._zr,l=t._api,s=0;s<i.length;s++)i[s].__alive=!1;function u(t){var s=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!s&&r[u];if(!c){var p=Yi(t.type);(c=new(e?Ff.getClass(p.main,p.sub):Uf.getClass(p.sub))).init(n,l),r[u]=c,i.push(c),o.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&a.prepareView(c,t,n,l)}for(e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u),s=0;s<i.length;){var c=i[s];c.__alive?s++:(!e&&c.renderTask.dispose(),o.remove(c.group),c.dispose(n,l),i.splice(s,1),r[c.__id]===c&&delete r[c.__id],c.__id=c.group.__ecComponentInfo=null)}},Py=function(t,e,n,a,i){var r=t._model;if(r.setUpdatePayload(n),a){var o={};o[a+"Id"]=n[a+"Id"],o[a+"Index"]=n[a+"Index"],o[a+"Name"]=n[a+"Name"];var l={mainType:a,query:o};i&&(l.subType=i);var s,u=n.excludeSeriesId;null!=u&&(s=pt(),z(_i(u),(function(t){var e=Di(t,null);null!=e&&s.set(e,!0)}))),bs(n)&&rs(t._api),r&&r.eachComponent(l,(function(e){if(!s||null===s.get(e.id))if(bs(n))if(e instanceof Pf)n.type!==Al||n.notBlur||function(t,e,n){var a=t.seriesIndex,i=t.getData(e.dataType),r=Pi(i,e);r=(G(r)?r[0]:r)||0;var o=i.getItemGraphicEl(r);if(!o)for(var l=i.count(),s=0;!o&&s<l;)o=i.getItemGraphicEl(s++);if(o){var u=wl(o);os(a,u.focus,u.blurScope,n)}else{var c=t.get(["emphasis","focus"]),p=t.get(["emphasis","blurScope"]);null!=c&&os(a,c,p,n)}}(e,n,t._api);else{var a=ss(e.mainType,e.componentIndex,n.name,t._api),i=a.focusSelf,r=a.dispatchers;n.type===Al&&i&&!n.notBlur&&ls(e.mainType,e.componentIndex,t._api),r&&z(r,(function(t){n.type===Al?Jl(t):Ql(t)}))}else vs(n)&&e instanceof Pf&&(function(t,e,n){if(vs(e)){var a=e.dataType,i=Pi(t.getData(a),e);G(i)||(i=[i]),t[e.type===Ol?"toggleSelect":e.type===Pl?"select":"unselect"](i,a)}}(e,n,t._api),us(e),Zy(t))}),t),r&&r.eachComponent(l,(function(e){s&&null!==s.get(e.id)||c(t["series"===a?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else z([].concat(t._componentsViews).concat(t._chartsViews),c);function c(a){a&&a.__alive&&a[e]&&a[e](a.__model,r,t._api,n)}},zy={prepareAndUpdate:function(t){Ay(this),zy.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(t,e){var n=this._model,a=this._api,i=this._zr,r=this._coordSysMgr,l=this._scheduler;if(n){n.setUpdatePayload(t),l.restoreData(n,t),l.performSeriesTasks(n),r.create(n,a),l.performDataProcessorTasks(n,t),Ry(this,n),r.update(n,a),Gy(n),l.performVisualTasks(n,t),Hy(this,n,a,t,e);var s=n.get("backgroundColor")||"transparent",u=n.get("darkMode");if(o.canvasSupported)i.setBackgroundColor(s),null!=u&&"auto"!==u&&i.setDarkMode(u);else{var c=We(s);s=Qe(c,"rgb"),0===c[3]&&(s="transparent")}xy.trigger("afterupdate",n,a)}},updateTransform:function(t){var e=this,n=this._model,a=this._api;if(n){n.setUpdatePayload(t);var i=[];n.eachComponent((function(r,o){if("series"!==r){var l=e.getViewOfComponentModel(o);if(l&&l.__alive)if(l.updateTransform){var s=l.updateTransform(o,n,a,t);s&&s.update&&i.push(l)}else i.push(l)}}));var r=pt();n.eachSeries((function(i){var o=e._chartsMap[i.__viewId];if(o.updateTransform){var l=o.updateTransform(i,n,a,t);l&&l.update&&r.set(i.uid,1)}else r.set(i.uid,1)})),Gy(n),this._scheduler.performVisualTasks(n,t,{setDirty:!0,dirtyMap:r}),Uy(this,n,a,t,{},r),xy.trigger("afterupdate",n,a)}},updateView:function(t){var e=this._model;e&&(e.setUpdatePayload(t),Uf.markUpdateMethod(t,"updateView"),Gy(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),Hy(this,e,this._api,t,{}),xy.trigger("afterupdate",e,this._api))},updateVisual:function(t){var e=this,n=this._model;n&&(n.setUpdatePayload(t),n.eachSeries((function(t){t.getData().clearAllVisual()})),Uf.markUpdateMethod(t,"updateVisual"),Gy(n),this._scheduler.performVisualTasks(n,t,{visualType:"visual",setDirty:!0}),n.eachComponent((function(a,i){if("series"!==a){var r=e.getViewOfComponentModel(i);r&&r.__alive&&r.updateVisual(i,n,e._api,t)}})),n.eachSeries((function(a){e._chartsMap[a.__viewId].updateVisual(a,n,e._api,t)})),xy.trigger("afterupdate",n,this._api))},updateLayout:function(t){zy.update.call(this,t)}},Oy=function(t,e,n,a){if(t._disposed)tv(t.id);else for(var i,r=t._model,o=t._coordSysMgr.getCoordinateSystems(),l=Ri(r,n),s=0;s<o.length;s++){var u=o[s];if(u[e]&&null!=(i=u[e](r,l,a)))return i}},Ry=function(t,e){var n=t._chartsMap,a=t._scheduler;e.eachSeries((function(t){a.updateStreamModes(t,n[t.__viewId])}))},Ny=function(t,e){var n=this,a=this.getModel(),i=t.type,r=t.escapeConnect,o=ev[i],l=o.actionInfo,s=(l.update||"update").split(":"),u=s.pop(),c=null!=s[0]&&Yi(s[0]);this.__flagInMainProcess=!0;var p=[t],d=!1;t.batch&&(d=!0,p=O(t.batch,(function(e){return(e=T(I({},e),t)).batch=null,e})));var h,f=[],g=vs(t),m=bs(t);if(z(p,(function(e){if((h=(h=o.action(e,n._model,n._api))||I({},e)).type=l.event||h.type,f.push(h),m){var a=Ni(t),i=a.queryOptionMap,r=a.mainTypeSpecified?i.keys()[0]:"series";Py(n,u,e,r),Zy(n)}else g?(Py(n,u,e,"series"),Zy(n)):c&&Py(n,u,e,c.main,c.sub)})),"none"===u||m||g||c||(this.__pendingUpdate?(Ay(this),zy.update.call(this,t),this.__pendingUpdate=null):zy[u].call(this,t)),h=d?{type:l.event||i,escapeConnect:r,batch:f}:f[0],this.__flagInMainProcess=!1,!e){var y=this._messageCenter;if(y.trigger(h.type,h),g){var v={type:"selectchanged",escapeConnect:r,selected:cs(a),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};y.trigger(v.type,v)}}},Ey=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Ny.call(this,n,t)}},By=function(t){!t&&this.trigger("updated")},Vy=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},Fy=function(t,e){t.on("mouseover",(function(t){var n=Fg(t.target,ys);n&&(function(t,e,n){var a=wl(t),i=ss(a.componentMainType,a.componentIndex,a.componentHighDownName,n),r=i.dispatchers,o=i.focusSelf;r?(o&&ls(a.componentMainType,a.componentIndex,n),z(r,(function(t){return Kl(t,e)}))):(os(a.seriesIndex,a.focus,a.blurScope,n),"self"===a.focus&&ls(a.componentMainType,a.componentIndex,n),Kl(t,e))}(n,t,e._api),Zy(e))})).on("mouseout",(function(t){var n=Fg(t.target,ys);n&&(function(t,e,n){rs(n);var a=wl(t),i=ss(a.componentMainType,a.componentIndex,a.componentHighDownName,n).dispatchers;i?z(i,(function(t){return $l(t,e)})):$l(t,e)}(n,t,e._api),Zy(e))})).on("click",(function(t){var n=Fg(t.target,(function(t){return null!=wl(t).dataIndex}),!0);if(n){var a=n.selected?"unselect":"select",i=wl(n);e._api.dispatchAction({type:a,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}}))},Gy=function(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))},Hy=function(t,e,n,a,i){Wy(t,e,n,a,i),z(t._chartsViews,(function(t){t.__alive=!1})),Uy(t,e,n,a,i),z(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},Wy=function(t,n,a,o,l,s){z(s||t._componentsViews,(function(t){var l=t.__model;i(l,t),t.render(l,n,a,o),e(l,t),r(l,t)}))},Uy=function(t,n,a,l,s,u){var c=t._scheduler;s=I(s||{},{updatedSeries:n.getSeries()}),xy.trigger("series:beforeupdate",n,a,s);var p=!1;n.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var a=n.renderTask;c.updatePayload(a,l),i(e,n),u&&u.get(e.uid)&&a.dirty(),a.perform(c.getPerformArgs(a))&&(p=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.group.traverse((function(t){t.isGroup||(t.style.blend=n),t.eachPendingDisplayable&&t.eachPendingDisplayable((function(t){t.style.blend=n}))}))}(e,n),us(e)})),c.unfinished=p||c.unfinished,xy.trigger("series:layoutlabels",n,a,s),xy.trigger("series:transition",n,a,s),n.eachSeries((function(n){var a=t._chartsMap[n.__viewId];e(n,a),r(n,a)})),function(t,e){var n=t._zr.storage,a=0;n.traverse((function(t){t.isGroup||a++})),a>e.get("hoverLayerThreshold")&&!o.node&&!o.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,n),xy.trigger("series:afterupdate",n,a,s)},Zy=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},jy=function(e){e.__needsUpdateStatus&&(e.getZr().storage.traverse((function(e){Bu(e)||t(e)})),e.__needsUpdateStatus=!1)},Yy=function(t){return new(function(e){function a(){return null!==e&&e.apply(this,arguments)||this}return n(a,e),a.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},a.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},a.prototype.enterEmphasis=function(e,n){Jl(e,n),Zy(t)},a.prototype.leaveEmphasis=function(e,n){Ql(e,n),Zy(t)},a.prototype.enterBlur=function(e){ts(e),Zy(t)},a.prototype.leaveBlur=function(e){es(e),Zy(t)},a.prototype.enterSelect=function(e){ns(e),Zy(t)},a.prototype.leaveSelect=function(e){as(e),Zy(t)},a.prototype.getModel=function(){return t.getModel()},a.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},a.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},a}(Rd))(t)},Xy=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][Iy]=e}z(nv,(function(n,a){t._messageCenter.on(a,(function(n){if(uv[t.group]&&0!==t[Iy]){if(n&&n.escapeConnect)return;var a=t.makeActionFromEvent(n),i=[];z(sv,(function(e){e!==t&&e.group===t.group&&i.push(e)})),e(i,0),z(i,(function(t){1!==t[Iy]&&t.dispatchAction(a)})),e(i,2)}}))}))}}(),e}(Gt),Jy=$y.prototype;Jy.on=Ty("on"),Jy.off=Ty("off"),Jy.one=function(t,e,n){var a=this;this.on.call(this,t,(function n(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];e&&e.apply&&e.apply(this,i),a.off(t,n)}),n)};var Qy=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function tv(t){}var ev={},nv={},av=[],iv=[],rv=[],ov={},lv={},sv={},uv={},cv=+new Date-0,pv=+new Date-0,dv="_echarts_instance_";function hv(t){uv[t]=!1}var fv=hv;function gv(t){return sv[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,dv)]}function mv(t,e){ov[t]=e}function yv(t){D(iv,t)<0&&iv.push(t)}function vv(t,e){Tv(av,t,e,2e3)}function bv(t){_v("afterinit",t)}function xv(t){_v("afterupdate",t)}function _v(t,e){xy.on(t,e)}function wv(t,e,n){"function"==typeof e&&(n=e,e="");var a=X(t)?t.type:[t,t={event:e}][0];t.event=(t.event||a).toLowerCase(),e=t.event,nv[e]||(rt(My.test(a)&&My.test(e)),ev[a]||(ev[a]={action:n,actionInfo:t}),nv[e]=a)}function kv(t,e){Ed.register(t,e)}function Sv(t,e){Tv(rv,t,e,1e3,"layout")}function Mv(t,e){Tv(rv,t,e,3e3,"visual")}var Iv=[];function Tv(t,e,n,a,i){if((H(e)||X(e))&&(n=e,e=a),!(D(Iv,n)>=0)){Iv.push(n);var r=pg.wrapStageHandler(n,i);r.__prio=e,r.__raw=n,t.push(r)}}function Cv(t,e){lv[t]=e}function Dv(t,e,n){my(t,e,n)}var Av=function(t){var e=(t=k(t)).type,n="";e||vi(n);var a=e.split(":");2!==a.length&&vi(n);var i=!1;"echarts"===a[0]&&(e=a[1],i=!0),t.__isBuiltIn=i,Jh.set(e,t)};Mv(wy,og),Mv(ky,sg),Mv(ky,ug),Mv(wy,Og),Mv(ky,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){var n=t.getItemModel(e),a=n.getShallow("symbol",!0),i=n.getShallow("symbolSize",!0),r=n.getShallow("symbolRotate",!0),o=n.getShallow("symbolOffset",!0),l=n.getShallow("symbolKeepAspect",!0);null!=a&&t.setItemVisual(e,"symbol",a),null!=i&&t.setItemVisual(e,"symbolSize",i),null!=r&&t.setItemVisual(e,"symbolRotate",r),null!=o&&t.setItemVisual(e,"symbolOffset",o),null!=l&&t.setItemVisual(e,"symbolKeepAspect",l)}:null}}}),Mv(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var a=n.getData();a.hasItemVisual()&&a.each((function(t){var n=a.getItemVisual(t,"decal");n&&(a.ensureUniqueItemVisual(t,"style").decal=Sm(n,e))}));var i=a.getVisual("decal");i&&(a.getVisual("style").decal=Sm(i,e))}}))})),yv(oh),vv(900,(function(t){var e=pt();t.eachSeries((function(t){var n=t.get("stack");if(n){var a=e.get(n)||e.set(n,[]),i=t.getData(),r={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!r.stackedDimension||!r.isStackedByIndex&&!r.stackedByDimension)return;a.length&&i.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(r)}})),e.each(lh)})),Cv("default",(function(t,e){T(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",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Va,a=new cl({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(a);var i,r=new hl({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),o=new cl({style:{fill:"none"},textContent:r,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&((i=new _u({shape:{startAngle:-cg/2,endAngle:-cg/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*cg/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*cg/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=r.getBoundingRect().width,l=e.showSpinner?e.spinnerRadius:0,s=(t.getWidth()-2*l-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:l),u=t.getHeight()/2;e.showSpinner&&i.setShape({cx:s,cy:u}),o.setShape({x:s-l,y:u-l,width:2*l,height:2*l}),a.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),wv({type:Al,event:Al,update:Al},gt),wv({type:Ll,event:Ll,update:Ll},gt),wv({type:Pl,event:Pl,update:Pl},gt),wv({type:zl,event:zl,update:zl},gt),wv({type:Ol,event:Ol,update:Ol},gt),mv("light",Tg),mv("dark",Pg);var Lv=[],Pv={registerPreprocessor:yv,registerProcessor:vv,registerPostInit:bv,registerPostUpdate:xv,registerUpdateLifecycle:_v,registerAction:wv,registerCoordinateSystem:kv,registerLayout:Sv,registerVisual:Mv,registerTransform:Av,registerLoading:Cv,registerMap:Dv,PRIORITY:Sy,ComponentModel:Qp,ComponentView:Ff,SeriesModel:Pf,ChartView:Uf,registerComponentModel:function(t){Qp.registerClass(t)},registerComponentView:function(t){Ff.registerClass(t)},registerSeriesModel:function(t){Pf.registerClass(t)},registerChartView:function(t){Uf.registerClass(t)},registerSubTypeDefaulter:function(t,e){Qp.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){Ya(t,e)}};function zv(t){G(t)?z(t,(function(t){zv(t)})):D(Lv,t)>=0||(Lv.push(t),H(t)&&(t={install:t}),t.install(Pv))}function Ov(t){return null==t?0:t.length||1}function Rv(t){return t}var Nv=function(){function t(t,e,n,a,i,r){this._old=t,this._new=e,this._oldKeyGetter=n||Rv,this._newKeyGetter=a||Rv,this.context=i,this._diffModeMultiple="multiple"===r}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={},a=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(e,n,i,"_newKeyGetter");for(var r=0;r<t.length;r++){var o=a[r],l=n[o],s=Ov(l);if(s>1){var u=l.shift();1===l.length&&(n[o]=l[0]),this._update&&this._update(u,r)}else 1===s?(n[o]=null,this._update&&this._update(l,r)):this._remove&&this._remove(r)}this._performRestAdd(i,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},a={},i=[],r=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,a,r,"_newKeyGetter");for(var o=0;o<i.length;o++){var l=i[o],s=n[l],u=a[l],c=Ov(s),p=Ov(u);if(c>1&&1===p)this._updateManyToOne&&this._updateManyToOne(u,s),a[l]=null;else if(1===c&&p>1)this._updateOneToMany&&this._updateOneToMany(u,s),a[l]=null;else if(1===c&&1===p)this._update&&this._update(u,s),a[l]=null;else if(c>1&&p>1)this._updateManyToMany&&this._updateManyToMany(u,s),a[l]=null;else if(c>1)for(var d=0;d<c;d++)this._remove&&this._remove(s[d]);else this._remove&&this._remove(s)}this._performRestAdd(r,a)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var a=t[n],i=e[a],r=Ov(i);if(r>1)for(var o=0;o<r;o++)this._add&&this._add(i[o]);else 1===r&&this._add&&this._add(i);e[a]=null}},t.prototype._initIndexMap=function(t,e,n,a){for(var i=this._diffModeMultiple,r=0;r<t.length;r++){var o="_ec_"+this[a](t[r],r);if(i||(n[r]=o),e){var l=e[o],s=Ov(l);0===s?(e[o]=r,i&&n.push(o)):1===s?e[o]=[l,r]:l.push(r)}}},t}(),Ev=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 Bv(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Vv(t){return"category"===t?"ordinal":"time"===t?"time":"float"}var Fv=function(t){this.otherDims={},null!=t&&I(this,t)},Gv=zi(),Hv={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},Wv=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=Xv(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return et(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=xh(this.source),n=!Zv(t),a="",i=[],r=0,o=0;r<t;r++){var l=void 0,s=void 0,u=void 0,c=this.dimensions[o];if(c&&c.storeDimIndex===r)l=e?c.name:null,s=c.type,u=c.ordinalMeta,o++;else{var p=this.getSourceDimension(r);p&&(l=e?p.name:null,s=p.type)}i.push({property:l,type:s,ordinalMeta:u}),!e||null==l||c&&c.isCalculationCoord||(a+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),a+="$",a+=Hv[s]||"f",u&&(a+=u.uid),a+="$"}var d=this.source;return{dimensions:i,hash:[d.seriesLayoutBy,d.startIndex,a].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var a=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(a=i.name),n++;else{var r=this.getSourceDimension(e);r&&(a=r.name)}t.push(a)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Uv(t){return t instanceof Wv}function Yv(t){for(var e=pt(),n=0;n<(t||[]).length;n++){var a=t[n],i=X(a)?a.name:a;null!=i&&null==e.get(i)&&e.set(i,n)}return e}function Xv(t){var e=Gv(t);return e.dimNameMap||(e.dimNameMap=Yv(t.dimensionsDefine))}function Zv(t){return t>30}var jv,qv,Kv,$v,Jv,Qv,tb,eb=X,nb=O,ab="undefined"==typeof Int32Array?Array:Int32Array,ib=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],rb=["_approximateExtent"],ob=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var a=!1;Uv(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,n=t),n=n||["x","y"];for(var i={},r=[],o={},l=!1,s={},u=0;u<n.length;u++){var c=n[u],p=W(c)?new Fv({name:c}):c instanceof Fv?c:new Fv(c),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var h=p.otherDims=p.otherDims||{};r.push(d),i[d]=p,null!=s[d]&&(l=!0),p.createInvertedIndices&&(o[d]=[]),0===h.itemName&&(this._nameDimIdx=u),0===h.itemId&&(this._idDimIdx=u),a&&(p.storeDimIndex=u)}if(this.dimensions=r,this._dimInfos=i,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=o,this._dimOmitted){var f=this._dimIdxToName=pt();z(r,(function(t){f.set(i[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 a=this._schema.getSourceDimension(e);return a?a.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("number"==typeof 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 a=n.encode[t];return a?a[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 a,i=this;if(t instanceof pf&&(a=t),!a){var r=this.dimensions,o=fh(t)||P(t)?new _h(t,r.length):t;a=new pf;var l=nb(r,(function(t){return{type:i._dimInfos[t].type,property:t}}));a.initData(o,l,n)}this._store=a,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,a.count()),this._dimSummary=function(t,e){var n={},a=n.encode={},i=pt(),r=[],o=[],l={};z(t.dimensions,(function(e){var n,s=t.getDimensionInfo(e),u=s.coordDim;if(u){var c=s.coordDimIndex;Bv(a,u)[c]=e,s.isExtraCoord||(i.set(u,1),"ordinal"!==(n=s.type)&&"time"!==n&&(r[0]=e),Bv(l,u)[c]=t.getDimensionIndex(s.name)),s.defaultTooltip&&o.push(e)}ad.each((function(t,e){var n=Bv(a,e),i=s.otherDims[e];null!=i&&!1!==i&&(n[i]=s.name)}))}));var s=[],u={};i.each((function(t,e){var n=a[e];u[e]=n[0],s=s.concat(n)})),n.dataDimsOnCoord=s,n.dataDimIndicesOnCoord=O(s,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=u;var c=a.label;c&&c.length&&(r=c.slice());var p=a.tooltip;return p&&p.length?o=p.slice():o.length||(o=r.slice()),a.defaultedLabel=r,a.defaultedTooltip=o,n.userOutput=new Ev(l,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.length),a=n.start,i=n.end,r=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var o=a;o<i;o++){var l=o-a;this._nameList[o]=e[l],r&&tb(this,o)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var a=this._dimInfos[e[n]];a.ordinalMeta&&t.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==sd&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var a=this._nameList,i=this._idList;if(n.getSource().sourceFormat===id&&!n.pure)for(var r=[],o=t;o<e;o++){var l=n.getItem(o,r);if(!this.hasItemOption&&Mi(l)&&(this.hasItemOption=!0),l){var s=l.name;null==a[o]&&null!=s&&(a[o]=Di(s,null));var u=l.id;null==i[o]&&null!=u&&(i[o]=Di(u,null))}}if(this._shouldMakeIdFromName())for(o=t;o<e;o++)tb(this,o);jv(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){eb(t)?I(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=Kv(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),a=this._store.getOrdinalMeta(t);return a?a.categories[n]:n},t.prototype.getId=function(t){return qv(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.get(a.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.getByRawIndex(a.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,a=this._store;return G(t)?a.getValues(nb(t,(function(t){return n._getStoreDimIndex(t)})),e):a.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,a=e.length;n<a;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])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]);var a=n||this,i=nb($v(t),this._getStoreDimIndex,this);this._store.each(i,a?V(e,a):e)},t.prototype.filterSelf=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]);var a=n||this,i=nb($v(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,a?V(e,a):e),this},t.prototype.selectRange=function(t){var e=this,n={};return z(B(t),(function(a){var i=e._getStoreDimIndex(a);n[i]=t[a]})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=[]),n=n||this;var a=[];return this.each(t,(function(){a.push(e&&e.apply(this,arguments))}),n),a},t.prototype.map=function(t,e,n,a){var i=n||a||this,r=nb($v(t),this._getStoreDimIndex,this),o=Qv(this);return o._store=this._store.map(r,i?V(e,i):e),o},t.prototype.modify=function(t,e,n,a){var i=n||a||this,r=nb($v(t),this._getStoreDimIndex,this);this._store.modify(r,i?V(e,i):e)},t.prototype.downSample=function(t,e,n,a){var i=Qv(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,a),i},t.prototype.lttbDownSample=function(t,e){var n=Qv(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 Hc(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new Nv(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return qv(t,e)}),(function(t){return qv(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||{},eb(t)?I(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],a=n&&n[e];return null==a?this.getVisual(e):a},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,a=n[t];a||(a=n[t]={});var i=a[e];return null==i&&(G(i=this.getVisual(e))?i=i.slice():eb(i)&&(i=I({},i)),a[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,eb(e)?I(a,e):a[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){if(eb(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else 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?I(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;kl(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){z(this._graphicEls,(function(n,a){n&&t&&t.call(e,n,a)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:nb(this.dimensions,this._getDimInfo,this),this.hostModel)),Jv(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(at(arguments)))})},t.internalField=(jv=function(t){var e=t._invertedIndicesMap;z(e,(function(n,a){var i=t._dimInfos[a],r=i.ordinalMeta,o=t._store;if(r){n=e[a]=new ab(r.categories.length);for(var l=0;l<n.length;l++)n[l]=-1;for(l=0;l<o.count();l++)n[o.get(i.storeDimIndex,l)]=l}}))},Kv=function(t,e,n){return Di(t._getCategory(e,n),null)},qv=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=Kv(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},$v=function(t){return G(t)||(t=null!=t?[t]:[]),t},Qv=function(e){var n=new t(e._schema?e._schema:nb(e.dimensions,e._getDimInfo,e),e.hostModel);return Jv(n,e),n},Jv=function(t,e){z(ib.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,z(rb,(function(n){t[n]=k(e[n])})),t._calculationInfo=I({},e._calculationInfo)},void(tb=function(t,e){var n=t._nameList,a=t._idList,i=t._nameDimIdx,r=t._idDimIdx,o=n[e],l=a[e];if(null==o&&null!=i&&(n[e]=o=Kv(t,i,e)),null==l&&null!=r&&(a[e]=l=Kv(t,r,e)),null==l&&null!=o){var s=t._nameRepeatCount,u=s[o]=(s[o]||0)+1;l=o,u>1&&(l+="__ec__"+u),a[e]=l}})),t}();function lb(t,e){fh(t)||(t=mh(t));var n=(e=e||{}).coordDimensions||[],a=e.dimensionsDefine||t.dimensionsDefine||[],i=pt(),r=[],o=function(t,e,n,a){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,a||0);return z(e,(function(t){var e;X(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}(t,n,a,e.dimensionsCount),l=e.canOmitUnusedDimensions&&Zv(o),s=a===t.dimensionsDefine,u=s?Xv(t):Yv(a),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,o));for(var p=pt(c),d=new of(o),h=0;h<d.length;h++)d[h]=-1;function f(t){var e=d[t];if(e<0){var n=a[t],i=X(n)?n:{name:n},o=new Fv,l=i.name;null!=l&&null!=u.get(l)&&(o.name=o.displayName=l),null!=i.type&&(o.type=i.type),null!=i.displayName&&(o.displayName=i.displayName);var s=r.length;return d[t]=s,o.storeDimIndex=t,r.push(o),o}return r[e]}if(!l)for(h=0;h<o;h++)f(h);p.each((function(t,e){var n=_i(t).slice();if(1===n.length&&!W(n[0])&&n[0]<0)p.set(e,!1);else{var a=p.set(e,[]);z(n,(function(t,n){var i=W(t)?u.get(t):t;null!=i&&i<o&&(a[n]=i,m(f(i),e,n))}))}}));var g=0;function m(t,e,n){null!=ad.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,i.set(e,!0))}z(n,(function(t){var e,n,a,i;if(W(t))e=t,i={};else{e=(i=t).name;var r=i.ordinalMeta;i.ordinalMeta=null,(i=I({},i)).ordinalMeta=r,n=i.dimsDef,a=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var l=p.get(e);if(!1!==l){if(!(l=_i(l)).length)for(var u=0;u<(n&&n.length||1);u++){for(;g<o&&null!=f(g).coordDim;)g++;g<o&&l.push(g++)}z(l,(function(t,r){var o=f(t);if(s&&null!=i.type&&(o.type=i.type),m(T(o,i),e,r),null==o.name&&n){var l=n[r];!X(l)&&(l={name:l}),o.name=o.displayName=l.name,o.defaultTooltip=l.defaultTooltip}a&&T(o.otherDims,a)}))}}));var y=e.generateCoord,v=e.generateCoordCount,b=null!=v;v=y?v||1:0;var x=y||"value";function _(t){null==t.name&&(t.name=t.coordDim)}if(l)z(r,(function(t){_(t)})),r.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var w=0;w<o;w++){var k=f(w);null==k.coordDim&&(k.coordDim=sb(x,i,b),k.coordDimIndex=0,(!y||v<=0)&&(k.isExtraCoord=!0),v--),_(k),null!=k.type||bd(t,w)!==dd&&(!k.isExtraCoord||null==k.otherDims.itemName&&null==k.otherDims.seriesName)||(k.type="ordinal")}return function(t){for(var e=pt(),n=0;n<t.length;n++){var a=t[n],i=a.name,r=e.get(i)||0;r>0&&(a.name=i+(r-1)),r++,e.set(i,r)}}(r),new Wv({source:t,dimensions:r,fullDimensionCount:o,dimensionOmitted:l})}function sb(t,e,n){var a=e.data;if(n||a.hasOwnProperty(t)){for(var i=0;a.hasOwnProperty(t+i);)i++;t+=i}return e.set(t,!0),t}var ub=function(t){this.coordSysDims=[],this.axisMap=pt(),this.categoryAxisMap=pt(),this.coordSysName=t},cb={cartesian2d:function(t,e,n,a){var i=t.getReferringComponents("xAxis",Ei).models[0],r=t.getReferringComponents("yAxis",Ei).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",r),pb(i)&&(a.set("x",i),e.firstCategoryDimIndex=0),pb(r)&&(a.set("y",r),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,a){var i=t.getReferringComponents("singleAxis",Ei).models[0];e.coordSysDims=["single"],n.set("single",i),pb(i)&&(a.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,a){var i=t.getReferringComponents("polar",Ei).models[0],r=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",r),n.set("angle",o),pb(r)&&(a.set("radius",r),e.firstCategoryDimIndex=0),pb(o)&&(a.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,a){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,a){var i=t.ecModel,r=i.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=r.dimensions.slice();z(r.parallelAxisIndex,(function(t,r){var l=i.getComponent("parallelAxis",t),s=o[r];n.set(s,l),pb(l)&&(a.set(s,l),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=r))}))}};function pb(t){return"category"===t.get("type")}function db(t,e,n){var a,i,r,o=(n=n||{}).byIndex,l=n.stackedCoordDimension;!function(t){return!Uv(t.schema)}(e)?(i=e.schema,a=i.dimensions,r=e.store):a=e;var s,u,c,p,d=!(!t||!t.get("stack"));if(z(a,(function(t,e){W(t)&&(a[e]=t={name:t}),d&&!t.isExtraCoord&&(o||s||!t.ordinalMeta||(s=t),u||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(u=t))})),!u||o||s||(o=!0),u){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,s&&(s.createInvertedIndices=!0);var h=u.coordDim,f=u.type,g=0;z(a,(function(t){t.coordDim===h&&g++}));var m={name:c,coordDim:h,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},y={name:p,coordDim:p,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};i?(r&&(m.storeDimIndex=r.ensureCalculationDimension(p,f),y.storeDimIndex=r.ensureCalculationDimension(c,f)),i.appendCalculationDimension(m),i.appendCalculationDimension(y)):(a.push(m),a.push(y))}return{stackedDimension:u&&u.name,stackedByDimension:s&&s.name,isStackedByIndex:o,stackedOverDimension:p,stackResultDimension:c}}function hb(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function fb(t,e){return hb(t,e)?t.getCalculationInfo("stackResultDimension"):e}function gb(t,e,n){n=n||{};var a,i=e.getSourceManager(),r=!1;t?(r=!0,a=mh(t)):r=(a=i.getSource()).sourceFormat===id;var o=function(t){var e=t.get("coordinateSystem"),n=new ub(e),a=cb[e];if(a)return a(t,n,n.axisMap,n.categoryAxisMap),n}(e),l=function(t,e){var n,a=t.get("coordinateSystem"),i=Ed.get(a);return e&&e.coordSysDims&&(n=O(e.coordSysDims,(function(t){var n={name:t},a=e.axisMap.get(t);if(a){var i=a.get("type");n.type=Vv(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(e,o),s=n.useEncodeDefaulter,u=H(s)?s:s?F(md,l,e):null,c=lb(a,{coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!r}),p=function(t,e,n){var a,i;return n&&z(t,(function(t,r){var o=t.coordDim,l=n.categoryAxisMap.get(o);l&&(null==a&&(a=r),t.ordinalMeta=l.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(i=!0)})),i||null==a||(t[a].otherDims.itemName=0),a}(c.dimensions,n.createInvertedIndices,o),d=r?null:i.getSharedDataStore(c),h=db(e,{schema:c,store:d}),f=new ob(c,e);f.setCalculationInfo(h);var g=null!=p&&function(t){if(t.sourceFormat===id){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return null!=e&&!G(Si(e))}}(a)?function(t,e,n,a){return a===p?n:this.defaultDimValueGetter(t,e,n,a)}:null;return f.hasItemOption=!1,f.initData(r?a:d,null,g),f}var mb=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}();Ji(mb);var yb=0,vb=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++yb}return t.createByAxisModel=function(e){var n=e.option,a=n.data,i=a&&O(a,bb);return new t({categories:i,needCollect:!i,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("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=this._getOrCreateMap();return null==(e=a.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=pt(this.categories))},t}();function bb(t){return X(t)&&null!=t.value?t.value:t+""}var xb=Ka;function _b(t,e,n,a){var i={},r=t[1]-t[0],o=i.interval=ci(r/e,!0);null!=n&&o<n&&(o=i.interval=n),null!=a&&o>a&&(o=i.interval=a);var l=i.intervalPrecision=wb(o);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),kb(t,0,e),kb(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(i.niceTickExtent=[xb(Math.ceil(t[0]/o)*o,l),xb(Math.floor(t[1]/o)*o,l)],t),i}function wb(t){return Ja(t)+2}function kb(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function Sb(t,e){return t>=e[0]&&t<=e[1]}function Mb(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function Ib(t,e){return t*(e[1]-e[0])+e[0]}var Tb=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var a=n.getSetting("ordinalMeta");return a||(a=new vb({})),G(a)&&(a=new vb({categories:O(a,(function(t){return X(t)?t.value:t}))})),n._ordinalMeta=a,n._extent=n.getSetting("extent")||[0,a.categories.length-1],n}return n(e,t),e.prototype.parse=function(t){return"string"==typeof t?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return Sb(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return Mb(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(Ib(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=[],a=this._ticksByOrdinalNumber=[],i=0,r=this._ordinalMeta.categories.length,o=Math.min(r,e.length);i<o;++i){var l=e[i];n[i]=l,a[l]=i}for(var s=0;i<r;++i){for(;null!=a[s];)s++;n.push(s),a[s]=i}}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.niceTicks=function(){},e.prototype.niceExtent=function(){},e.type="ordinal",e}(mb);mb.registerClass(Tb);var Cb=Ka,Db=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 n(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Sb(t,this._extent)},e.prototype.normalize=function(t){return Mb(t,this._extent)},e.prototype.scale=function(t){return Ib(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=wb(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,a=this._niceExtent,i=this._intervalPrecision,r=[];if(!e)return r;n[0]<a[0]&&(t?r.push({value:Cb(a[0]-e,i)}):r.push({value:n[0]}));for(var o=a[0];o<=a[1]&&(r.push({value:o}),(o=Cb(o+e,i))!==r[r.length-1].value);)if(r.length>1e4)return[];var l=r.length?r[r.length-1].value:a[1];return n[1]>l&&(t?r.push({value:Cb(l+e,i)}):r.push({value:n[1]})),r},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],a=this.getExtent(),i=1;i<e.length;i++){for(var r=e[i],o=e[i-1],l=0,s=[],u=(r.value-o.value)/t;l<t-1;){var c=Cb(o.value+(l+1)*u);c>a[0]&&c<a[1]&&s.push(c),l++}n.push(s)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=Ja(t.value)||0:"auto"===n&&(n=this._intervalPrecision),Cp(Cb(t.value,n,!0))},e.prototype.niceTicks=function(t,e,n){t=t||5;var a=this._extent,i=a[1]-a[0];if(isFinite(i)){i<0&&(i=-i,a.reverse());var r=_b(a,t,e,n);this._intervalPrecision=r.intervalPrecision,this._interval=r.interval,this._niceExtent=r.niceTickExtent}},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=e[0];t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var a=e[1]-e[0];isFinite(a)||(e[0]=0,e[1]=1),this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=Cb(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=Cb(Math.ceil(e[1]/i)*i))},e.type="interval",e}(mb);mb.registerClass(Db);var Ab="__ec_stack_",Lb="undefined"!=typeof Float32Array?Float32Array:Array;function Pb(t){return t.get("stack")||Ab+t.seriesIndex}function zb(t){return t.dim+t.index}function Ob(t,e){var n=[];return e.eachSeriesByType(t,(function(t){Fb(t)&&!Gb(t)&&n.push(t)})),n}function Rb(t){var e=function(t){var e={};z(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var a=t.getData(),i=n.dim+"_"+n.index,r=a.getDimensionIndex(a.mapDimension(n.dim)),o=a.getStore(),l=0,s=o.count();l<s;++l){var u=o.get(r,l);e[i]?e[i].push(u):e[i]=[u]}}));var n={};for(var a in e)if(e.hasOwnProperty(a)){var i=e[a];if(i){i.sort((function(t,e){return t-e}));for(var r=null,o=1;o<i.length;++o){var l=i[o]-i[o-1];l>0&&(r=null===r?l:Math.min(r,l))}n[a]=r}}return n}(t),n=[];return z(t,(function(t){var a,i=t.coordinateSystem.getBaseAxis(),r=i.getExtent();if("category"===i.type)a=i.getBandWidth();else if("value"===i.type||"time"===i.type){var o=i.dim+"_"+i.index,l=e[o],s=Math.abs(r[1]-r[0]),u=i.scale.getExtent(),c=Math.abs(u[1]-u[0]);a=l?s/c*l:s}else{var p=t.getData();a=Math.abs(r[1]-r[0])/p.count()}var d=qa(t.get("barWidth"),a),h=qa(t.get("barMaxWidth"),a),f=qa(t.get("barMinWidth")||1,a),g=t.get("barGap"),m=t.get("barCategoryGap");n.push({bandWidth:a,barWidth:d,barMaxWidth:h,barMinWidth:f,barGap:g,barCategoryGap:m,axisKey:zb(i),stackId:Pb(t)})})),Nb(n)}function Nb(t){var e={};z(t,(function(t,n){var a=t.axisKey,i=t.bandWidth,r=e[a]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=r.stacks;e[a]=r;var l=t.stackId;o[l]||r.autoWidthCount++,o[l]=o[l]||{width:0,maxWidth:0};var s=t.barWidth;s&&!o[l].width&&(o[l].width=s,s=Math.min(r.remainedWidth,s),r.remainedWidth-=s);var u=t.barMaxWidth;u&&(o[l].maxWidth=u);var c=t.barMinWidth;c&&(o[l].minWidth=c);var p=t.barGap;null!=p&&(r.gap=p);var d=t.barCategoryGap;null!=d&&(r.categoryGap=d)}));var n={};return z(e,(function(t,e){n[e]={};var a=t.stacks,i=t.bandWidth,r=t.categoryGap;if(null==r){var o=B(a).length;r=Math.max(35-4*o,15)+"%"}var l=qa(r,i),s=qa(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,p=(u-l)/(c+(c-1)*s);p=Math.max(p,0),z(a,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)a=t.width,e&&(a=Math.min(a,e)),n&&(a=Math.max(a,n)),t.width=a,u-=a+s*a,c--;else{var a=p;e&&e<a&&(a=Math.min(e,u)),n&&n>a&&(a=n),a!==p&&(t.width=a,u-=a+s*a,c--)}})),p=(u-l)/(c+(c-1)*s),p=Math.max(p,0);var d,h=0;z(a,(function(t,e){t.width||(t.width=p),d=t,h+=t.width*(1+s)})),d&&(h-=d.width*s);var f=-h/2;z(a,(function(t,a){n[e][a]=n[e][a]||{bandWidth:i,offset:f,width:t.width},f+=t.width*(1+s)}))})),n}function Eb(t,e,n){if(t&&e){var a=t[zb(e)];return null!=a&&null!=n?a[Pb(n)]:a}}function Bb(t,e){var n=Ob(t,e),a=Rb(n),i={};z(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=Pb(t),l=a[zb(r)][o],s=l.offset,u=l.width,c=n.getOtherAxis(r),p=t.get("barMinHeight")||0;i[o]=i[o]||[],e.setLayout({bandWidth:l.bandWidth,offset:s,size:u});for(var d=e.mapDimension(c.dim),h=e.mapDimension(r.dim),f=hb(e,d),g=c.isHorizontal(),m=Hb(r,c),y=e.getStore(),v=e.getDimensionIndex(d),b=e.getDimensionIndex(h),x=0,_=y.count();x<_;x++){var w=y.get(v,x),k=y.get(b,x),S=w>=0?"p":"n",M=m;f&&(i[o][k]||(i[o][k]={p:m,n:m}),M=i[o][k][S]);var I,T=void 0,C=void 0,D=void 0,A=void 0;g?(T=M,C=(I=n.dataToPoint([w,k]))[1]+s,D=I[0]-m,A=u,Math.abs(D)<p&&(D=(D<0?-1:1)*p),isNaN(D)||f&&(i[o][k][S]+=D)):(T=(I=n.dataToPoint([k,w]))[0]+s,C=M,D=u,A=I[1]-m,Math.abs(A)<p&&(A=(A<=0?-1:1)*p),isNaN(A)||f&&(i[o][k][S]+=A)),e.setItemLayout(x,{x:T,y:C,width:D,height:A})}}))}var Vb={seriesType:"bar",plan:Gf(),reset:function(t){if(Fb(t)&&Gb(t)){var e=t.getData(),n=t.coordinateSystem,a=n.master.getRect(),i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),l=e.getDimensionIndex(e.mapDimension(i.dim)),s=r.isHorizontal(),u=s?0:1,c=Eb(Rb([t]),i,t).width;return c>.5||(c=.5),{progress:function(t,e){for(var p,d=t.count,h=new Lb(2*d),f=new Lb(2*d),g=new Lb(d),m=[],y=[],v=0,b=0,x=e.getStore();null!=(p=t.next());)y[u]=x.get(o,p),y[1-u]=x.get(l,p),m=n.dataToPoint(y,null),f[v]=s?a.x+a.width:m[0],h[v++]=m[0],f[v]=s?m[1]:a.y+a.height,h[v++]=m[1],g[b++]=p;e.setLayout({largePoints:h,largeDataIndices:g,largeBackgroundPoints:f,barWidth:c,valueAxisStart:Hb(i,r),backgroundStart:s?a.x:a.y,valueAxisHorizontal:s})}}}}};function Fb(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function Gb(t){return t.pipelineContext&&t.pipelineContext.large}function Hb(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}var Wb=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return n(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return pp(t.value,rp[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(up(this._minLevelUnit))]||rp.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var a=this.getSetting("useUTC");return function(t,e,n,a,i){var r=null;if("string"==typeof n)r=n;else if("function"==typeof n)r=n(t.value,e,{level:t.level});else{var o=I({},ip);if(t.level>0)for(var l=0;l<op.length;++l)o[op[l]]="{primary|"+o[op[l]]+"}";var s=n?!1===n.inherit?n:T(n,o):o,u=dp(t.value,i);if(s[u])r=s[u];else if(s.inherit){for(l=lp.indexOf(u)-1;l>=0;--l)if(s[u]){r=s[u];break}r=r||o.none}if(G(r)){var c=null==t.level?0:t.level>=0?t.level:r.length+t.level;r=r[c=Math.min(c,r.length-1)]}}return pp(new Date(t.value),r,i,a)}(t,e,n,this.getSetting("locale"),a)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,a=[];if(!e)return a;a.push({value:n[0],level:0});var i=this.getSetting("useUTC"),r=function(t,e,n,a){var i=1e4,r=lp,o=0;function l(t,e,n,i,r,o,l){for(var s=new Date(e),u=e,c=s[i]();u<n&&u<=a[1];)l.push({value:u}),c+=t,s[r](c),u=s.getTime();l.push({value:u,notAdd:!0})}function s(t,i,r){var o=[],s=!i.length;if(!function(t,e,n,a){var i=li(e),r=li(n),o=function(t){return hp(i,t,a)===hp(r,t,a)},l=function(){return o("year")},s=function(){return l()&&o("month")},u=function(){return s()&&o("day")},c=function(){return u()&&o("hour")},p=function(){return c()&&o("minute")},d=function(){return p()&&o("second")},h=function(){return d()&&o("millisecond")};switch(t){case"year":return l();case"month":return s();case"day":return u();case"hour":return c();case"minute":return p();case"second":return d();case"millisecond":return h()}}(up(t),a[0],a[1],n)){s&&(i=[{value:Kb(new Date(a[0]),t,n)},{value:a[1]}]);for(var u=0;u<i.length-1;u++){var c=i[u].value,p=i[u+1].value;if(c!==p){var d=void 0,h=void 0,f=void 0,g=!1;switch(t){case"year":d=Math.max(1,Math.round(e/np/365)),h=fp(n),f=_p(n);break;case"half-year":case"quarter":case"month":d=Xb(e),h=gp(n),f=wp(n);break;case"week":case"half-week":case"day":d=Yb(e),h=mp(n),f=kp(n),g=!0;break;case"half-day":case"quarter-day":case"hour":d=Zb(e),h=yp(n),f=Sp(n);break;case"minute":d=jb(e,!0),h=vp(n),f=Mp(n);break;case"second":d=jb(e,!1),h=bp(n),f=Ip(n);break;case"millisecond":d=qb(e),h=xp(n),f=Tp(n)}l(d,c,p,h,f,g,o),"year"===t&&r.length>1&&0===u&&r.unshift({value:r[0].value-d})}}for(u=0;u<o.length;u++)r.push(o[u]);return o}}for(var u=[],c=[],p=0,d=0,h=0;h<r.length&&o++<i;++h){var f=up(r[h]);if(cp(r[h])&&(s(r[h],u[u.length-1]||[],c),f!==(r[h+1]?up(r[h+1]):null))){if(c.length){d=p,c.sort((function(t,e){return t.value-e.value}));for(var g=[],m=0;m<c.length;++m){var y=c[m].value;0!==m&&c[m-1].value===y||(g.push(c[m]),y>=a[0]&&y<=a[1]&&p++)}var v=(a[1]-a[0])/e;if(p>1.5*v&&d>v/1.5)break;if(u.push(g),p>v||t===r[h])break}c=[]}}var b=N(O(u,(function(t){return N(t,(function(t){return t.value>=a[0]&&t.value<=a[1]&&!t.notAdd}))})),(function(t){return t.length>0})),x=[],_=b.length-1;for(h=0;h<b.length;++h)for(var w=b[h],k=0;k<w.length;++k)x.push({value:w[k].value,level:_-h});x.sort((function(t,e){return t.value-e.value}));var S=[];for(h=0;h<x.length;++h)0!==h&&x[h].value===x[h-1].value||S.push(x[h]);return S}(this._minLevelUnit,this._approxInterval,i,n);return(a=a.concat(r)).push({value:n[1],level:0}),a},e.prototype.niceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=np,e[1]+=np),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]-np}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.niceTicks=function(t,e,n){t=t||10;var a=this._extent,i=a[1]-a[0];this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var r=Ub.length,o=Math.min(function(t,e,n,a){for(;n<a;){var i=n+a>>>1;t[i][1]<e?n=i+1:a=i}return n}(Ub,this._approxInterval,0,r),r-1);this._interval=Ub[o][1],this._minLevelUnit=Ub[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return"number"==typeof t?t:+li(t)},e.prototype.contain=function(t){return Sb(this.parse(t),this._extent)},e.prototype.normalize=function(t){return Mb(this.parse(t),this._extent)},e.prototype.scale=function(t){return Ib(t,this._extent)},e.type="time",e}(Db),Ub=[["second",Qc],["minute",tp],["hour",ep],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",ap/2],["year",ap]];function Yb(t,e){return(t/=np)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function Xb(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function Zb(t){return(t/=ep)>12?12:t>6?6:t>3.5?4:t>2?2:1}function jb(t,e){return(t/=e?tp:Qc)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function qb(t){return ci(t,!0)}function Kb(t,e,n){var a=new Date(t);switch(up(e)){case"year":case"month":a[wp(n)](0);case"day":a[kp(n)](1);case"hour":a[Sp(n)](0);case"minute":a[Mp(n)](0);case"second":a[Ip(n)](0),a[Tp(n)](0)}return a.getTime()}mb.registerClass(Wb);var $b=mb.prototype,Jb=Db.prototype,Qb=Ka,tx=Math.floor,ex=Math.ceil,nx=Math.pow,ax=Math.log,ix=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Db,e._interval=0,e}return n(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,a=e.getExtent();return O(Jb.getTicks.call(this,t),(function(t){var e=t.value,i=Ka(nx(this.base,e));return i=e===n[0]&&this._fixMin?ox(i,a[0]):i,{value:i=e===n[1]&&this._fixMax?ox(i,a[1]):i}}),this)},e.prototype.setExtent=function(t,e){var n=this.base;t=ax(t)/ax(n),e=ax(e)/ax(n),Jb.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=$b.getExtent.call(this);e[0]=nx(t,e[0]),e[1]=nx(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=ox(e[0],n[0])),this._fixMax&&(e[1]=ox(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=ax(t[0])/ax(e),t[1]=ax(t[1])/ax(e),$b.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.niceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var a=si(n);for(t/n*a<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var i=[Ka(ex(e[0]/a)*a),Ka(tx(e[1]/a)*a)];this._interval=a,this._niceExtent=i}},e.prototype.niceExtent=function(t){Jb.niceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return Sb(t=ax(t)/ax(this.base),this._extent)},e.prototype.normalize=function(t){return Mb(t=ax(t)/ax(this.base),this._extent)},e.prototype.scale=function(t){return t=Ib(t,this._extent),nx(this.base,t)},e.type="log",e}(mb),rx=ix.prototype;function ox(t,e){return Qb(t,Ja(e))}rx.getMinorTicks=Jb.getMinorTicks,rx.getLabel=Jb.getLabel,mb.registerClass(ix);var lx=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 a=this._isOrdinal="ordinal"===t.type;this._needCrossZero=e.getNeedCrossZero&&e.getNeedCrossZero();var i=this._modelMinRaw=e.get("min",!0);H(i)?this._modelMinNum=px(t,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=px(t,i));var r=this._modelMaxRaw=e.get("max",!0);if(H(r)?this._modelMaxNum=px(t,r({min:n[0],max:n[1]})):"dataMax"!==r&&(this._modelMaxNum=px(t,r)),a)this._axisDataLen=e.getCategories().length;else{var o=e.get("boundaryGap"),l=G(o)?o:[o||0,o||0];"boolean"==typeof l[0]||"boolean"==typeof l[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Ta(l[0],1),Ta(l[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,a=this._axisDataLen,i=this._boundaryGapInner,r=t?null:n-e||Math.abs(e),o="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,s=null!=o,u=null!=l;null==o&&(o=t?a?0:NaN:e-i[0]*r),null==l&&(l=t?a?a-1:NaN:n+i[1]*r),(null==o||!isFinite(o))&&(o=NaN),(null==l||!isFinite(l))&&(l=NaN),o>l&&(o=NaN,l=NaN);var c=Q(o)||Q(l)||t&&!a;this._needCrossZero&&(o>0&&l>0&&!s&&(o=0),o<0&&l<0&&!u&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(o=p,s=!0),null!=d&&(l=d,u=!0),{min:o,max:l,minFixed:s,maxFixed:u,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[ux[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[sx[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),sx={min:"_determinedMin",max:"_determinedMax"},ux={min:"_dataMin",max:"_dataMax"};function cx(t,e,n){var a=t.rawExtentInfo;return a||(a=new lx(t,e,n),t.rawExtentInfo=a,a)}function px(t,e){return null==e?null:Q(e)?NaN:t.parse(e)}function dx(t,e){var n=t.type,a=cx(t,e,t.getExtent()).calculate();t.setBlank(a.isBlank);var i=a.min,r=a.max,o=e.ecModel;if(o&&"time"===n){var l=Ob("bar",o),s=!1;if(z(l,(function(t){s=s||t.getBaseAxis()===e.axis})),s){var u=Rb(l),c=function(t,e,n,a){var i=n.axis.getExtent(),r=i[1]-i[0],o=Eb(a,n.axis);if(void 0===o)return{min:t,max:e};var l=1/0;z(o,(function(t){l=Math.min(t.offset,l)}));var s=-1/0;z(o,(function(t){s=Math.max(t.offset+t.width,s)})),l=Math.abs(l),s=Math.abs(s);var u=l+s,c=e-t,p=c/(1-(l+s)/r)-c;return{min:t-=p*(l/u),max:e+=p*(s/u)}}(i,r,e,u);i=c.min,r=c.max}}return{extent:[i,r],fixMin:a.minFixed,fixMax:a.maxFixed}}function hx(t,e){var n=e,a=dx(t,n),i=a.extent,r=n.get("splitNumber");t instanceof ix&&(t.base=n.get("logBase"));var o=t.type;t.setExtent(i[0],i[1]),t.niceExtent({splitNumber:r,fixMin:a.fixMin,fixMax:a.fixMax,minInterval:"interval"===o||"time"===o?n.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?n.get("maxInterval"):null});var l=n.get("interval");null!=l&&t.setInterval&&t.setInterval(l)}function fx(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Tb({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new Wb({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(mb.getClass(e)||Db)}}function gx(t){var e,n,a=t.getLabelModel().get("formatter"),i="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=a,function(e,a){return t.scale.getFormattedLabel(e,a,n)}):"string"==typeof a?function(e){return function(n){var a=t.scale.getLabel(n);return e.replace("{value}",null!=a?a:"")}}(a):"function"==typeof a?(e=a,function(n,a){return null!=i&&(a=n.value-i),e(mx(t,n),a,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function mx(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function yx(t,e){var n=e*Math.PI/180,a=t.width,i=t.height,r=a*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),o=a*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new ya(t.x,t.y,r,o)}function vx(t){var e=t.get("interval");return null==e?"auto":e}function bx(t){return"category"===t.type&&0===vx(t.getLabelModel())}function xx(t,e){var n={};return z(t.mapDimensionsAll(e),(function(e){n[fb(t,e)]=!0})),B(n)}var _x=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),kx={isDimensionStacked:hb,enableDataStack:db,getStackedDimension:fb},Sx=Object.freeze({__proto__:null,createList:function(t){return gb(null,t)},getLayoutRect:Xp,dataStack:kx,createScale:function(t,e){var n=e;e instanceof Hc||(n=new Hc(e));var a=fx(n);return a.setExtent(t[0],t[1]),hx(a,n),a},mixinAxisModelCommonMethods:function(t){L(t,_x)},getECData:wl,createTextStyle:function(t,e){return _c(t,null,null,"normal"!==(e=e||{}).state)},createDimensions:function(t,e){return lb(t,e).dimensions},createSymbol:Jg,enableHoverEmphasis:ps}),Mx=Object.freeze({__proto__:null,linearMap:ja,round:Ka,asc:$a,getPrecision:Ja,getPrecisionSafe:Qa,getPixelPrecision:ti,getPercentWithPrecision:ei,MAX_SAFE_INTEGER:ai,remRadian:ii,isRadianAroundZero:ri,parseDate:li,quantity:si,quantityExponent:ui,nice:ci,quantile:pi,reformIntervals:di,isNumeric:fi,numericToNumber:hi}),Ix=Object.freeze({__proto__:null,parse:li,format:pp}),Tx=Object.freeze({__proto__:null,extendShape:Xu,extendPath:ju,makePath:$u,makeImage:Ju,mergePath:tc,resizePath:ec,createIcon:cc,updateProps:Nu,initProps:Eu,getTransform:ac,clipPointsByRect:sc,clipRectByRect:uc,registerShape:qu,getShapeClass:Ku,Group:Va,Image:al,Text:hl,Circle:Gs,Ellipse:Ws,Sector:iu,Ring:ou,Polygon:cu,Polyline:du,Rect:cl,Line:gu,BezierCurve:bu,Arc:_u,IncrementalDisplayable:Pu,CompoundPath:wu,LinearGradient:Su,RadialGradient:Mu,BoundingRect:ya}),Cx=Object.freeze({__proto__:null,addCommas:Cp,toCamelCase:Dp,normalizeCssArray:Ap,encodeHTML:zp,formatTpl:Ep,getTooltipMarker:Bp,formatTime:function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var a=li(e),i=n?"UTC":"",r=a["get"+i+"FullYear"](),o=a["get"+i+"Month"]()+1,l=a["get"+i+"Date"](),s=a["get"+i+"Hours"](),u=a["get"+i+"Minutes"](),c=a["get"+i+"Seconds"](),p=a["get"+i+"Milliseconds"]();return t.replace("MM",sp(o,2)).replace("M",o).replace("yyyy",r).replace("yy",r%100+"").replace("dd",sp(l,2)).replace("d",l).replace("hh",sp(s,2)).replace("h",s).replace("mm",sp(u,2)).replace("m",u).replace("ss",sp(c,2)).replace("s",c).replace("SSS",sp(p,3))},capitalFirst:function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},truncateText:sr,getTextRect:function(t,e,n,a,i,r,o,l){return new hl({style:{text:t,font:e,align:n,verticalAlign:a,padding:i,rich:r,overflow:o?"truncate":null,lineHeight:l}}).getBoundingRect()}}),Dx=Object.freeze({__proto__:null,map:O,each:z,indexOf:D,inherits:A,reduce:R,filter:N,bind:V,curry:F,isArray:G,isString:W,isObject:X,isFunction:H,extend:I,defaults:T,clone:k,merge:S}),Ax=zi();function Lx(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=zx(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=gx(t);return{labels:O(e,(function(e,a){return{level:e.level,formattedLabel:n(e,a),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function Px(t,e){return"category"===t.type?function(t,e){var n,a,i=Ox(t,"ticks"),r=vx(e),o=Rx(i,r);if(o)return o;if(e.get("show")&&!t.scale.isBlank()||(n=[]),H(r))n=Bx(t,r,!0);else if("auto"===r){var l=zx(t,t.getLabelModel());a=l.labelCategoryInterval,n=O(l.labels,(function(t){return t.tickValue}))}else n=Ex(t,a=r,!0);return Nx(i,r,{ticks:n,tickCategoryInterval:a})}(t,e):{ticks:O(t.scale.getTicks(),(function(t){return t.value}))}}function zx(t,e){var n,a,i=Ox(t,"labels"),r=vx(e);return Rx(i,r)||(H(r)?n=Bx(t,r):(a="auto"===r?function(t){var e=Ax(t).autoInterval;return null!=e?e:Ax(t).autoInterval=t.calculateCategoryInterval()}(t):r,n=Ex(t,a)),Nx(i,r,{labels:n,labelCategoryInterval:a}))}function Ox(t,e){return Ax(t)[e]||(Ax(t)[e]=[])}function Rx(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function Nx(t,e,n){return t.push({key:e,value:n}),n}function Ex(t,e,n){var a=gx(t),i=t.scale,r=i.getExtent(),o=t.getLabelModel(),l=[],s=Math.max((e||0)+1,1),u=r[0],c=i.count();0!==u&&s>1&&c/s>2&&(u=Math.round(Math.ceil(u/s)*s));var p=bx(t),d=o.get("showMinLabel")||p,h=o.get("showMaxLabel")||p;d&&u!==r[0]&&g(r[0]);for(var f=u;f<=r[1];f+=s)g(f);function g(t){var e={value:t};l.push(n?t:{formattedLabel:a(e),rawLabel:i.getLabel(e),tickValue:t})}return h&&f-s!==r[1]&&g(r[1]),l}function Bx(t,e,n){var a=t.scale,i=gx(t),r=[];return z(a.getTicks(),(function(t){var o=a.getLabel(t),l=t.value;e(t.value,o)&&r.push(n?l:{formattedLabel:i(t),rawLabel:o,tickValue:l})})),r}var Vx=[0,1],Fx=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]),a=Math.max(e[0],e[1]);return t>=n&&t<=a},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return ti(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,a=this.scale;return t=a.normalize(t),this.onBand&&"ordinal"===a.type&&Gx(n=n.slice(),a.count()),ja(t,Vx,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,a=this.scale;this.onBand&&"ordinal"===a.type&&Gx(n=n.slice(),a.count());var i=ja(t,n,Vx,e);return this.scale.scale(i)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=O(Px(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,a){var i=e.length;if(t.onBand&&!n&&i){var r,o,l=t.getExtent();if(1===i)e[0].coord=l[0],r=e[1]={coord:l[0]};else{var s=e[i-1].tickValue-e[0].tickValue,u=(e[i-1].coord-e[0].coord)/s;z(e,(function(t){t.coord-=u/2})),o=1+t.scale.getExtent()[1]-e[i-1].tickValue,r={coord:e[i-1].coord+u*o},e.push(r)}var c=l[0]>l[1];p(e[0].coord,l[0])&&(a?e[0].coord=l[0]:e.shift()),a&&p(l[0],e[0].coord)&&e.unshift({coord:l[0]}),p(l[1],r.coord)&&(a?r.coord=l[1]:e.pop()),a&&p(r.coord,l[1])&&e.push({coord:l[1]})}function p(t,e){return t=Ka(t),e=Ka(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),O(this.scale.getMinorTicks(t),(function(t){return O(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return Lx(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 a=Math.abs(t[1]-t[0]);return Math.abs(a)/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=gx(t),a=(e.axisRotate-e.labelRotate)/180*Math.PI,i=t.scale,r=i.getExtent(),o=i.count();if(r[1]-r[0]<1)return 0;var l=1;o>40&&(l=Math.max(1,Math.floor(o/40)));for(var s=r[0],u=t.dataToCoord(s+1)-t.dataToCoord(s),c=Math.abs(u*Math.cos(a)),p=Math.abs(u*Math.sin(a)),d=0,h=0;s<=r[1];s+=l){var f,g,m=ka(n({value:s}),e.font,"center","top");f=1.3*m.width,g=1.3*m.height,d=Math.max(d,f,7),h=Math.max(h,g,7)}var y=d/c,v=h/p;isNaN(y)&&(y=1/0),isNaN(v)&&(v=1/0);var b=Math.max(0,Math.floor(Math.min(y,v))),x=Ax(t.model),_=t.getExtent(),w=x.lastAutoInterval,k=x.lastTickCount;return null!=w&&null!=k&&Math.abs(w-b)<=1&&Math.abs(k-o)<=1&&w>b&&x.axisExtent0===_[0]&&x.axisExtent1===_[1]?b=w:(x.lastTickCount=o,x.lastAutoInterval=b,x.axisExtent0=_[0],x.axisExtent1=_[1]),b}(this)},t}();function Gx(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var Hx=2*Math.PI,Wx=Po.CMD,Ux=["top","right","bottom","left"];function Yx(t,e,n,a,i){var r=n.width,o=n.height;switch(t){case"top":a.set(n.x+r/2,n.y-e),i.set(0,-1);break;case"bottom":a.set(n.x+r/2,n.y+o+e),i.set(0,1);break;case"left":a.set(n.x-e,n.y+o/2),i.set(-1,0);break;case"right":a.set(n.x+r+e,n.y+o/2),i.set(1,0)}}function Xx(t,e,n,a,i,r,o,l,s){o-=t,l-=e;var u=Math.sqrt(o*o+l*l),c=(o/=u)*n+t,p=(l/=u)*n+e;if(Math.abs(a-i)%Hx<1e-4)return s[0]=c,s[1]=p,u-n;if(r){var d=a;a=Eo(i),i=Eo(d)}else a=Eo(a),i=Eo(i);a>i&&(i+=Hx);var h=Math.atan2(l,o);if(h<0&&(h+=Hx),h>=a&&h<=i||h+Hx>=a&&h+Hx<=i)return s[0]=c,s[1]=p,u-n;var f=n*Math.cos(a)+t,g=n*Math.sin(a)+e,m=n*Math.cos(i)+t,y=n*Math.sin(i)+e,v=(f-o)*(f-o)+(g-l)*(g-l),b=(m-o)*(m-o)+(y-l)*(y-l);return v<b?(s[0]=f,s[1]=g,Math.sqrt(v)):(s[0]=m,s[1]=y,Math.sqrt(b))}function Zx(t,e,n,a,i,r,o,l){var s=i-t,u=r-e,c=n-t,p=a-e,d=Math.sqrt(c*c+p*p),h=(s*(c/=d)+u*(p/=d))/d;l&&(h=Math.min(Math.max(h,0),1)),h*=d;var f=o[0]=t+h*c,g=o[1]=e+h*p;return Math.sqrt((f-i)*(f-i)+(g-r)*(g-r))}function jx(t,e,n,a,i,r,o){n<0&&(t+=n,n=-n),a<0&&(e+=a,a=-a);var l=t+n,s=e+a,u=o[0]=Math.min(Math.max(i,t),l),c=o[1]=Math.min(Math.max(r,e),s);return Math.sqrt((u-i)*(u-i)+(c-r)*(c-r))}var qx=[];function Kx(t,e,n){var a=jx(e.x,e.y,e.width,e.height,t.x,t.y,qx);return n.set(qx[0],qx[1]),a}function $x(t,e,n){for(var a,i,r=0,o=0,l=0,s=0,u=1/0,c=e.data,p=t.x,d=t.y,h=0;h<c.length;){var f=c[h++];1===h&&(l=r=c[h],s=o=c[h+1]);var g=u;switch(f){case Wx.M:r=l=c[h++],o=s=c[h++];break;case Wx.L:g=Zx(r,o,c[h],c[h+1],p,d,qx,!0),r=c[h++],o=c[h++];break;case Wx.C:g=Wr(r,o,c[h++],c[h++],c[h++],c[h++],c[h],c[h+1],p,d,qx),r=c[h++],o=c[h++];break;case Wx.Q:g=qr(r,o,c[h++],c[h++],c[h],c[h+1],p,d,qx),r=c[h++],o=c[h++];break;case Wx.A:var m=c[h++],y=c[h++],v=c[h++],b=c[h++],x=c[h++],_=c[h++];h+=1;var w=!!(1-c[h++]);a=Math.cos(x)*v+m,i=Math.sin(x)*b+y,h<=1&&(l=a,s=i),g=Xx(m,y,b,x,x+_,w,(p-m)*b/v+m,d,qx),r=Math.cos(x+_)*v+m,o=Math.sin(x+_)*b+y;break;case Wx.R:g=jx(l=r=c[h++],s=o=c[h++],c[h++],c[h++],p,d,qx);break;case Wx.Z:g=Zx(r,o,l,s,p,d,qx,!0),r=l,o=s}g<u&&(u=g,n.set(qx[0],qx[1]))}return u}var Jx=new sa,Qx=new sa,t_=new sa,e_=new sa,n_=new sa;function a_(t,e){if(t){var n=t.getTextGuideLine(),a=t.getTextContent();if(a&&n){var i=t.textGuideLineConfig||{},r=[[0,0],[0,0],[0,0]],o=i.candidates||Ux,l=a.getBoundingRect().clone();l.applyTransform(a.getComputedTransform());var s=1/0,u=i.anchor,c=t.getComputedTransform(),p=c&&jn([],c),d=e.get("length2")||0;u&&t_.copy(u);for(var h=0;h<o.length;h++){Yx(o[h],0,l,Jx,e_),sa.scaleAndAdd(Qx,Jx,e_,d),Qx.transform(p);var f=t.getBoundingRect(),g=u?u.distance(Qx):t instanceof Jo?$x(Qx,t.path,t_):Kx(Qx,f,t_);g<s&&(s=g,Qx.transform(c),t_.transform(c),t_.toArray(r[0]),Qx.toArray(r[1]),Jx.toArray(r[2]))}o_(r,e.get("minTurnAngle")),n.setShape({points:r})}}}var i_=[],r_=new sa;function o_(t,e){if(e<=180&&e>0){e=e/180*Math.PI,Jx.fromArray(t[0]),Qx.fromArray(t[1]),t_.fromArray(t[2]),sa.sub(e_,Jx,Qx),sa.sub(n_,t_,Qx);var n=e_.len(),a=n_.len();if(!(n<.001||a<.001)){e_.scale(1/n),n_.scale(1/a);var i=e_.dot(n_);if(Math.cos(e)<i){var r=Zx(Qx.x,Qx.y,t_.x,t_.y,Jx.x,Jx.y,i_,!1);r_.fromArray(i_),r_.scaleAndAdd(n_,r/Math.tan(Math.PI-e));var o=t_.x!==Qx.x?(r_.x-Qx.x)/(t_.x-Qx.x):(r_.y-Qx.y)/(t_.y-Qx.y);if(isNaN(o))return;o<0?sa.copy(r_,Qx):o>1&&sa.copy(r_,t_),r_.toArray(t[1])}}}}function l_(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,Jx.fromArray(t[0]),Qx.fromArray(t[1]),t_.fromArray(t[2]),sa.sub(e_,Qx,Jx),sa.sub(n_,t_,Qx);var a=e_.len(),i=n_.len();if(!(a<.001||i<.001)&&(e_.scale(1/a),n_.scale(1/i),e_.dot(e)<Math.cos(n))){var r=Zx(Qx.x,Qx.y,t_.x,t_.y,Jx.x,Jx.y,i_,!1);r_.fromArray(i_);var o=Math.PI/2,l=o+Math.acos(n_.dot(e))-n;if(l>=o)sa.copy(r_,t_);else{r_.scaleAndAdd(n_,r/Math.tan(Math.PI/2-l));var s=t_.x!==Qx.x?(r_.x-Qx.x)/(t_.x-Qx.x):(r_.y-Qx.y)/(t_.y-Qx.y);if(isNaN(s))return;s<0?sa.copy(r_,Qx):s>1&&sa.copy(r_,t_)}r_.toArray(t[1])}}}function s_(t,e,n,a){var i="normal"===n,r=i?t:t.ensureState(n);r.ignore=e;var o=a.get("smooth");o&&!0===o&&(o=.3),r.shape=r.shape||{},o>0&&(r.shape.smooth=o);var l=a.getModel("lineStyle").getLineStyle();i?t.useStyle(l):r.style=l}function u_(t,e){var n=e.smooth,a=e.points;if(a)if(t.moveTo(a[0][0],a[0][1]),n>0&&a.length>=3){var i=Lt(a[0],a[1]),r=Lt(a[1],a[2]);if(!i||!r)return t.lineTo(a[1][0],a[1][1]),void t.lineTo(a[2][0],a[2][1]);var o=Math.min(i,r)*n,l=Ot([],a[1],a[0],o/i),s=Ot([],a[1],a[2],o/r),u=Ot([],l,s,.5);t.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),t.bezierCurveTo(s[0],s[1],s[0],s[1],a[2][0],a[2][1])}else for(var c=1;c<a.length;c++)t.lineTo(a[c][0],a[c][1])}function c_(t,e,n){var a=t.getTextGuideLine(),i=t.getTextContent();if(i){for(var r=e.normal,o=r.get("show"),l=i.ignore,s=0;s<Cl.length;s++){var u=Cl[s],c=e[u],p="normal"===u;if(c){var d=c.get("show");if((p?l:et(i.states[u]&&i.states[u].ignore,l))||!et(d,o)){var h=p?a:a&&a.states.normal;h&&(h.ignore=!0);continue}a||(a=new du,t.setTextGuideLine(a),p||!l&&o||s_(a,!0,"normal",e.normal),t.stateProxy&&(a.stateProxy=t.stateProxy)),s_(a,!1,u,c)}}if(a){T(a.style,n),a.style.fill=null;var f=r.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=f||!1,a.buildPath=u_}}else a&&t.removeTextGuideLine()}function p_(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},a=0;a<Tl.length;a++){var i=Tl[a];n[i]=t.getModel([i,e])}return n}function d_(t){for(var e=[],n=0;n<t.length;n++){var a=t[n];if(!a.defaultAttr.ignore){var i=a.label,r=i.getComputedTransform(),o=i.getBoundingRect(),l=!r||r[1]<1e-5&&r[2]<1e-5,s=i.style.margin||0,u=o.clone();u.applyTransform(r),u.x-=s/2,u.y-=s/2,u.width+=s,u.height+=s;var c=l?new Au(o,r):null;e.push({label:i,labelLine:a.labelLine,rect:u,localRect:o,obb:c,priority:a.priority,defaultAttr:a.defaultAttr,layoutOption:a.computedLayoutOption,axisAligned:l,transform:r})}}return e}function h_(t,e,n,a,i,r){var o=t.length;if(!(o<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var l,s=0,u=!1,c=0,p=0;p<o;p++){var d=t[p],h=d.rect;(l=h[e]-s)<0&&(h[e]-=l,d.label[e]-=l,u=!0),c+=Math.max(-l,0),s=h[e]+h[n]}c>0&&r&&x(-c/o,0,o);var f,g,m=t[0],y=t[o-1];return v(),f<0&&_(-f,.8),g<0&&_(g,.8),v(),b(f,g,1),b(g,f,-1),v(),f<0&&w(-f),g<0&&w(g),u}function v(){f=m.rect[e]-a,g=i-y.rect[e]-y.rect[n]}function b(t,e,n){if(t<0){var a=Math.min(e,-t);if(a>0){x(a*n,0,o);var i=a+t;i<0&&_(-i*n,1)}else _(-t*n,1)}}function x(n,a,i){0!==n&&(u=!0);for(var r=a;r<i;r++){var o=t[r];o.rect[e]+=n,o.label[e]+=n}}function _(a,i){for(var r=[],l=0,s=1;s<o;s++){var u=t[s-1].rect,c=Math.max(t[s].rect[e]-u[e]-u[n],0);r.push(c),l+=c}if(l){var p=Math.min(Math.abs(a)/l,i);if(a>0)for(s=0;s<o-1;s++)x(r[s]*p,0,s+1);else for(s=o-1;s>0;s--)x(-r[s-1]*p,s,o)}}function w(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),a=0;a<o-1;a++)if(e>0?x(n,0,a+1):x(-n,o-a-1,o),(t-=n)<=0)return}}function f_(t,e,n,a){return h_(t,"y","height",e,n,a)}function g_(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new ya(0,0,0,0);function a(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var i=0;i<t.length;i++){var r=t[i],o=r.axisAligned,l=r.localRect,s=r.transform,u=r.label,c=r.labelLine;n.copy(r.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var p=r.obb,d=!1,h=0;h<e.length;h++){var f=e[h];if(n.intersect(f.rect)){if(o&&f.axisAligned){d=!0;break}if(f.obb||(f.obb=new Au(f.localRect,f.transform)),p||(p=new Au(l,s)),p.intersect(f.obb)){d=!0;break}}}d?(a(u),c&&a(c)):(u.attr("ignore",r.defaultAttr.ignore),c&&c.attr("ignore",r.defaultAttr.labelGuideIgnore),e.push(r))}}function m_(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function y_(t,e){var n=t.label,a=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:m_(a&&a.shape.points)}}var v_=["align","verticalAlign","width","height","fontSize"],b_=new oa,x_=zi(),__=zi();function w_(t,e,n){for(var a=0;a<n.length;a++){var i=n[a];null!=e[i]&&(t[i]=e[i])}}var k_=["x","y","rotation"],S_=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,a,i){var r=a.style,o=a.__hostTarget.textConfig||{},l=a.getComputedTransform(),s=a.getBoundingRect().plain();ya.applyTransform(s,s,l),l?b_.setLocalTransform(l):(b_.x=b_.y=b_.rotation=b_.originX=b_.originY=0,b_.scaleX=b_.scaleY=1);var u,c=a.__hostTarget;if(c){u=c.getBoundingRect().plain();var p=c.getComputedTransform();ya.applyTransform(u,u,p)}var d=u&&c.getTextGuideLine();this._labelList.push({label:a,labelLine:d,seriesModel:n,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:s,hostRect:u,priority:u?u.width*u.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:d&&d.ignore,x:b_.x,y:b_.y,scaleX:b_.scaleX,scaleY:b_.scaleY,rotation:b_.rotation,style:{x:r.x,y:r.y,align:r.align,verticalAlign:r.verticalAlign,width:r.width,height:r.height,fontSize:r.fontSize},cursor:a.cursor,attachedPos:o.position,attachedRot:o.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,a=n.get("labelLayout");(H(a)||B(a).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var i=t.getTextContent(),r=wl(t);i&&!i.disableLabelLayout&&e._addLabel(r.dataIndex,r.dataType,n,i,a)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function a(t,e){return function(){a_(t,e)}}for(var i=0;i<this._labelList.length;i++){var r=this._labelList[i],o=r.label,l=o.__hostTarget,s=r.defaultAttr,u=void 0;u=(u="function"==typeof r.layoutOption?r.layoutOption(y_(r,l)):r.layoutOption)||{},r.computedLayoutOption=u;var c=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=u.x||null!=u.y?null:s.attachedPos,rotation:null!=u.rotate?u.rotate*c:s.attachedRot,offset:[u.dx||0,u.dy||0]});var p=!1;if(null!=u.x?(o.x=qa(u.x,e),o.setStyle("x",0),p=!0):(o.x=s.x,o.setStyle("x",s.style.x)),null!=u.y?(o.y=qa(u.y,n),o.setStyle("y",0),p=!0):(o.y=s.y,o.setStyle("y",s.style.y)),u.labelLinePoints){var d=l.getTextGuideLine();d&&(d.setShape({points:u.labelLinePoints}),p=!1)}x_(o).needsUpdateLabelLine=p,o.rotation=null!=u.rotate?u.rotate*c:s.rotation,o.scaleX=s.scaleX,o.scaleY=s.scaleY;for(var h=0;h<v_.length;h++){var f=v_[h];o.setStyle(f,null!=u[f]?u[f]:s.style[f])}if(u.draggable){if(o.draggable=!0,o.cursor="move",l){var g=r.seriesModel;null!=r.dataIndex&&(g=r.seriesModel.getData(r.dataType).getItemModel(r.dataIndex)),o.on("drag",a(l,g.getModel("labelLine")))}}else o.off("drag"),o.cursor=s.cursor}},t.prototype.layout=function(t){var e,n=t.getWidth(),a=t.getHeight(),i=d_(this._labelList),r=N(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=N(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));h_(r,"x","width",0,n,e),f_(o,0,a),g_(N(i,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;z(this._chartViewList,(function(e){var n=e.__model,a=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore)return!0;var r=!a,o=e.getTextContent();!r&&o&&(r=x_(o).needsUpdateLabelLine),r&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),a=wl(t),i=a.dataIndex;if(n&&null!=i){var r=e.getData(a.dataType),o=r.getItemModel(i),l={},s=r.getItemVisual(i,"style"),u=r.getVisual("drawType");l.stroke=s[u];var c=o.getModel("labelLine");c_(t,p_(o),l),a_(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),a=t.getTextGuideLine();if(n&&!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Bu(t)){var i=(h=x_(n)).oldLayout,r=wl(t),o=r.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},s=e.getData(r.dataType);if(i){n.attr(i);var u=t.prevStates;u&&(D(u,"select")>=0&&n.attr(h.oldLayoutSelect),D(u,"emphasis")>=0&&n.attr(h.oldLayoutEmphasis)),Nu(n,l,e,o)}else if(n.attr(l),!Cc(n).valueAnimation){var c=et(n.style.opacity,1);n.style.opacity=0,Eu(n,{style:{opacity:c}},e,o)}if(h.oldLayout=l,n.states.select){var p=h.oldLayoutSelect={};w_(p,l,k_),w_(p,n.states.select,k_)}if(n.states.emphasis){var d=h.oldLayoutEmphasis={};w_(d,l,k_),w_(d,n.states.emphasis,k_)}Ac(n,o,s,e,e)}if(a&&!a.ignore&&!a.invisible){i=(h=__(a)).oldLayout;var h,f={points:a.shape.points};i?(a.attr({shape:i}),Nu(a,{shape:f},e)):(a.setShape(f),a.style.strokePercent=0,Eu(a,{style:{strokePercent:1}},e)),h.oldLayout=f}},t}(),M_=zi();function I_(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function T_(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=We(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}function C_(t,e,n,a,i){for(var r=e.length,o=n.length,l=t.newPos,s=l-a,u=0;l+1<r&&s+1<o&&i(e[l+1],n[s+1]);)l++,s++,u++;return u&&t.components.push({count:u,added:!1,removed:!1,indices:[]}),t.newPos=l,s}function D_(t,e,n){var a=t[t.length-1];a&&a.added===e&&a.removed===n?t[t.length-1]={count:a.count+1,added:e,removed:n,indices:[]}:t.push({count:1,added:e,removed:n,indices:[]})}function A_(t){for(var e=0,n=t.length,a=0,i=0;e<n;e++){var r=t[e];if(r.removed){for(l=i;l<i+r.count;l++)r.indices.push(l);i+=r.count}else{for(var o=[],l=a;l<a+r.count;l++)o.push(l);r.indices=o,a+=r.count,r.added||(i+=r.count)}}return t}function L_(t,e,n){return function(t,e,n){n||(n=function(t,e){return t===e}),t=t.slice();var a=(e=e.slice()).length,i=t.length,r=1,o=a+i,l=[{newPos:-1,components:[]}],s=C_(l[0],e,t,0,n);if(l[0].newPos+1>=a&&s+1>=i){for(var u=[],c=0;c<e.length;c++)u.push(c);return[{indices:u,count:e.length,added:!1,removed:!1}]}function p(){for(var o=-1*r;o<=r;o+=2){var s,u=l[o-1],c=l[o+1],p=(c?c.newPos:0)-o;u&&(l[o-1]=void 0);var d=u&&u.newPos+1<a,h=c&&0<=p&&p<i;if(d||h){if(!d||h&&u.newPos<c.newPos?D_((s={newPos:(f=c).newPos,components:f.components.slice(0)}).components,!1,!0):((s=u).newPos++,D_(s.components,!0,!1)),p=C_(s,e,t,o,n),s.newPos+1>=a&&p+1>=i)return A_(s.components);l[o]=s}else l[o]=void 0}var f;r++}for(;r<=o;){var d=p();if(d)return d}}(t,e,n)}var P_="none",z_=Math.round,O_=Math.sin,R_=Math.cos,N_=Math.PI,E_=2*Math.PI,B_=180/N_,V_=1e-4;function F_(t){return z_(1e3*t)/1e3}function G_(t){return z_(1e4*t)/1e4}function H_(t){return t<V_&&t>-1e-4}function W_(t,e){e&&U_(t,"transform","matrix("+F_(e[0])+","+F_(e[1])+","+F_(e[2])+","+F_(e[3])+","+G_(e[4])+","+G_(e[5])+")")}function U_(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function Y_(t,e,n){var a=null==e.opacity?1:e.opacity;if(n instanceof al)U_(t,"opacity",a+"");else{if(function(t){var e=t.fill;return null!=e&&e!==P_}(e)){var i=T_(e.fill);U_(t,"fill",i.color),U_(t,"fill-opacity",(null!=e.fillOpacity?e.fillOpacity*i.opacity*a:i.opacity*a)+"")}else U_(t,"fill",P_);if(function(t){var e=t.stroke;return null!=e&&e!==P_}(e)){var r=T_(e.stroke);U_(t,"stroke",r.color);var o=e.lineWidth,l=e.strokeNoScale?n.getLineScale():1;U_(t,"stroke-width",(l?o/l:0)+""),U_(t,"paint-order",e.strokeFirst?"stroke":"fill"),U_(t,"stroke-opacity",(null!=e.strokeOpacity?e.strokeOpacity*r.opacity*a:r.opacity*a)+"");var s=e.lineDash&&o>0&&am(e.lineDash,o);if(s){var u=e.lineDashOffset;l&&1!==l&&(s=O(s,(function(t){return t/l})),u&&(u=z_(u/=l))),U_(t,"stroke-dasharray",s.join(",")),U_(t,"stroke-dashoffset",(u||0)+"")}else U_(t,"stroke-dasharray",P_);e.lineCap&&U_(t,"stroke-linecap",e.lineCap),e.lineJoin&&U_(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&U_(t,"stroke-miterlimit",e.miterLimit+"")}else U_(t,"stroke",P_)}}var X_=function(){function t(){}return t.prototype.reset=function(){this._d=[],this._str=""},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,a,i,r){this._add("C",t,e,n,a,i,r)},t.prototype.quadraticCurveTo=function(t,e,n,a){this._add("Q",t,e,n,a)},t.prototype.arc=function(t,e,n,a,i,r){this.ellipse(t,e,n,n,0,a,i,r)},t.prototype.ellipse=function(t,e,n,a,i,r,o,l){var s=0===this._d.length,u=o-r,c=!l,p=Math.abs(u),d=H_(p-E_)||(c?u>=E_:-u>=E_),h=u>0?u%E_:u%E_+E_,f=!1;f=!!d||!H_(p)&&h>=N_==!!c;var g=G_(t+n*R_(r)),m=G_(e+a*O_(r));d&&(u=c?E_-1e-4:1e-4-E_,f=!0,s&&this._d.push("M",g,m));var y=G_(t+n*R_(r+u)),v=G_(e+a*O_(r+u));if(isNaN(g)||isNaN(m)||isNaN(n)||isNaN(a)||isNaN(i)||isNaN(B_)||isNaN(y)||isNaN(v))return"";this._d.push("A",G_(n),G_(a),z_(i*B_),+f,+c,y,v)},t.prototype.rect=function(t,e,n,a){this._add("M",t,e),this._add("L",t+n,e),this._add("L",t+n,e+a),this._add("L",t,e+a),this._add("L",t,e),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,a,i,r,o,l,s){this._d.push(t);for(var u=1;u<arguments.length;u++){var c=arguments[u];if(isNaN(c))return void(this._invalid=!0);this._d.push(G_(c))}},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(" "),this._d=[]},t.prototype.getStr=function(){return this._str},t}(),Z_={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=I_("path"),t.__svgEl=n),t.path||t.createPathProxy();var a=t.path;t.shapeChanged()&&(a.beginPath(),t.buildPath(a,t.shape),t.pathUpdated());var i=a.getVersion(),r=t,o=r.__svgPathBuilder;(r.__svgPathVersion!==i||!o||t.style.strokePercent<1)&&(o||(o=r.__svgPathBuilder=new X_),o.reset(),a.rebuildPath(o,t.style.strokePercent),o.generateStr(),r.__svgPathVersion=i),U_(n,"d",o.getStr()),Y_(n,e,t),W_(n,t.transform)}},j_={brush:function(t){var e=t.style,n=e.image;if(n instanceof HTMLImageElement?n=n.src:n instanceof HTMLCanvasElement&&(n=n.toDataURL()),n){var a=e.x||0,i=e.y||0,r=e.width,o=e.height,l=t.__svgEl;l||(l=I_("image"),t.__svgEl=l),n!==t.__imageSrc&&(function(t,e,n){t.setAttributeNS("http://www.w3.org/1999/xlink",e,n)}(l,"href",n),t.__imageSrc=n),U_(l,"width",r+""),U_(l,"height",o+""),U_(l,"x",a+""),U_(l,"y",i+""),Y_(l,e,t),W_(l,t.transform)}}},q_={left:"start",right:"end",center:"middle",middle:"middle"},K_={brush:function(t){var e=t.style,n=e.text;if(null!=n&&(n+=""),n&&!isNaN(e.x)&&!isNaN(e.y)){var a=t.__svgEl;a||(function(t,e,n){t.setAttributeNS("http://www.w3.org/XML/1998/namespace",e,n)}(a=I_("text"),"xml:space","preserve"),t.__svgEl=a);var i=e.font||ba;a.style.font=i,a.textContent=n,Y_(a,e,t),W_(a,t.transform);var r=e.x||0,o=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(e.y||0,Ia(i),e.textBaseline),l=q_[e.textAlign]||e.textAlign;U_(a,"dominant-baseline","central"),U_(a,"text-anchor",l),U_(a,"x",r+""),U_(a,"y",o+"")}}},$_=function(){function t(t,e,n,a,i){this.nextId=0,this._domName="_dom",this.createElement=I_,this._zrId=t,this._svgRoot=e,this._tagNames="string"==typeof n?[n]:n,this._markLabel=a,i&&(this._domName=i)}return t.prototype.getDefs=function(t){var e=this._svgRoot,n=this._svgRoot.getElementsByTagName("defs");if(0===n.length){if(t){var a=e.insertBefore(this.createElement("defs"),e.firstChild);return a.contains||(a.contains=function(t){var e=a.children;if(!e)return!1;for(var n=e.length-1;n>=0;--n)if(e[n]===t)return!0;return!1}),a}return null}return n[0]},t.prototype.doUpdate=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var a=this.add(t);a&&(t[this._domName]=a)}}},t.prototype.add=function(t){return null},t.prototype.addDom=function(t){var e=this.getDefs(!0);t.parentNode!==e&&e.appendChild(t)},t.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},t.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return z(this._tagNames,(function(n){for(var a=t.getElementsByTagName(n),i=0;i<a.length;i++)e.push(a[i])})),e},t.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;z(t,(function(t){t[e._markLabel]="0"}))},t.prototype.markDomUsed=function(t){t&&(t[this._markLabel]="1")},t.prototype.markDomUnused=function(t){t&&(t[this._markLabel]="0")},t.prototype.isDomUnused=function(t){return t&&"1"!==t[this._markLabel]},t.prototype.removeUnused=function(){var t=this,e=this.getDefs(!1);e&&z(this.getDoms(),(function(n){t.isDomUnused(n)&&e.removeChild(n)}))},t.prototype.getSvgProxy=function(t){return t instanceof Jo?Z_:t instanceof al?j_:t instanceof tl?K_:Z_},t.prototype.getSvgElement=function(t){return t.__svgEl},t}();function J_(t){return"linear"===t.type}function Q_(t){return"radial"===t.type}function tw(t){return t&&("linear"===t.type||"radial"===t.type)}var ew=function(t){function e(e,n){return t.call(this,e,n,["linearGradient","radialGradient"],"__gradient_in_use__")||this}return n(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;z(["fill","stroke"],(function(a){var i=e.style[a];if(tw(i)){var r=i,o=n.getDefs(!0),l=void 0;r.__dom?(l=r.__dom,o.contains(r.__dom)||n.addDom(l)):l=n.add(r),n.markUsed(e);var s=l.getAttribute("id");t.setAttribute(a,"url(#"+s+")")}}))}},e.prototype.add=function(t){var e;if(J_(t))e=this.createElement("linearGradient");else{if(!Q_(t))return w("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},e.prototype.update=function(t){if(tw(t)){var e=this;this.doUpdate(t,(function(){var n=t.__dom;if(n){var a=n.tagName,i=t.type;"linear"===i&&"linearGradient"===a||"radial"===i&&"radialGradient"===a?e.updateDom(t,t.__dom):(e.removeDom(t),e.add(t))}}))}},e.prototype.updateDom=function(t,e){if(J_(t))e.setAttribute("x1",t.x+""),e.setAttribute("y1",t.y+""),e.setAttribute("x2",t.x2+""),e.setAttribute("y2",t.y2+"");else{if(!Q_(t))return void w("Illegal gradient type.");e.setAttribute("cx",t.x+""),e.setAttribute("cy",t.y+""),e.setAttribute("r",t.r+"")}t.global?e.setAttribute("gradientUnits","userSpaceOnUse"):e.setAttribute("gradientUnits","objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,a=0,i=n.length;a<i;++a){var r=this.createElement("stop");r.setAttribute("offset",100*n[a].offset+"%");var o=n[a].color;if(o.indexOf("rgba")>-1){var l=We(o)[3],s=Xe(o);r.setAttribute("stop-color","#"+s),r.setAttribute("stop-opacity",l+"")}else r.setAttribute("stop-color",n[a].color);e.appendChild(r)}t.__dom=e},e.prototype.markUsed=function(e){if(e.style){var n=e.style.fill;n&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom),(n=e.style.stroke)&&n.__dom&&t.prototype.markDomUsed.call(this,n.__dom)}},e}($_);function nw(t){return t&&(!!t.image||!!t.svgElement)}var aw=new Wg,iw=function(t){function e(e,n){return t.call(this,e,n,["pattern"],"__pattern_in_use__")||this}return n(e,t),e.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;z(["fill","stroke"],(function(a){var i=e.style[a];if(nw(i)){var r=n.getDefs(!0),o=aw.get(i);o?r.contains(o)||n.addDom(o):o=n.add(i),n.markUsed(e);var l=o.getAttribute("id");t.setAttribute(a,"url(#"+l+")")}}))}},e.prototype.add=function(t){if(nw(t)){var e=this.createElement("pattern");return t.id=null==t.id?this.nextId++:t.id,e.setAttribute("id","zr"+this._zrId+"-pattern-"+t.id),e.setAttribute("x","0"),e.setAttribute("y","0"),e.setAttribute("patternUnits","userSpaceOnUse"),this.updateDom(t,e),this.addDom(e),e}},e.prototype.update=function(t){if(nw(t)){var e=this;this.doUpdate(t,(function(){var n=aw.get(t);e.updateDom(t,n)}))}},e.prototype.updateDom=function(t,e){var n=t.svgElement;if(n instanceof SVGElement)n.parentNode!==e&&(e.innerHTML="",e.appendChild(n),e.setAttribute("width",t.svgWidth+""),e.setAttribute("height",t.svgHeight+""));else{var a=void 0,i=e.getElementsByTagName("image");if(i.length){if(!t.image)return void e.removeChild(i[0]);a=i[0]}else t.image&&(a=this.createElement("image"));if(a){var r=void 0,o=t.image;if("string"==typeof o?r=o:o instanceof HTMLImageElement?r=o.src:o instanceof HTMLCanvasElement&&(r=o.toDataURL()),r){a.setAttribute("href",r),a.setAttribute("x","0"),a.setAttribute("y","0");var l=ir(r,a,{dirty:function(){}},(function(t){e.setAttribute("width",t.width+""),e.setAttribute("height",t.height+"")}));l&&l.width&&l.height&&(e.setAttribute("width",l.width+""),e.setAttribute("height",l.height+"")),e.appendChild(a)}}}var s="translate("+(t.x||0)+", "+(t.y||0)+") rotate("+(t.rotation||0)/Math.PI*180+") scale("+(t.scaleX||1)+", "+(t.scaleY||1)+")";e.setAttribute("patternTransform",s),aw.set(t,e)},e.prototype.markUsed=function(e){e.style&&(nw(e.style.fill)&&t.prototype.markDomUsed.call(this,aw.get(e.style.fill)),nw(e.style.stroke)&&t.prototype.markDomUsed.call(this,aw.get(e.style.stroke)))},e}($_);function rw(t){var e=t.__clipPaths;return e&&e.length>0}var ow=function(t){function e(e,n){var a=t.call(this,e,n,"clipPath","__clippath_in_use__")||this;return a._refGroups={},a._keyDuplicateCount={},a}return n(e,t),e.prototype.markAllUnused=function(){t.prototype.markAllUnused.call(this);var e=this._refGroups;for(var n in e)e.hasOwnProperty(n)&&this.markDomUnused(e[n]);this._keyDuplicateCount={}},e.prototype._getClipPathGroup=function(t,e){if(rw(t)){var n=t.__clipPaths,a=this._keyDuplicateCount,i=function(t){var e=[];if(t)for(var n=0;n<t.length;n++){var a=t[n];e.push(a.id)}return e.join(",")}(n);return nm(n,e&&e.__clipPaths)&&(a[i]=a[i]||0,a[i]&&(i+="-"+a[i]),a[i]++),this._refGroups[i]||(this._refGroups[i]=this.createElement("g"))}},e.prototype.update=function(t,e){var n=this._getClipPathGroup(t,e);return n&&(this.markDomUsed(n),this.updateDom(n,t.__clipPaths)),n},e.prototype.updateDom=function(t,e){if(e&&e.length>0){var n=this.getDefs(!0),a=e[0],i=void 0,r=void 0;a._dom?(r=a._dom.getAttribute("id"),i=a._dom,n.contains(i)||n.appendChild(i)):(r="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(i=this.createElement("clipPath")).setAttribute("id",r),n.appendChild(i),a._dom=i),this.getSvgProxy(a).brush(a);var o=this.getSvgElement(a);i.innerHTML="",i.appendChild(o),t.setAttribute("clip-path","url(#"+r+")"),e.length>1&&this.updateDom(i,e.slice(1))}else t&&t.setAttribute("clip-path","none")},e.prototype.markUsed=function(e){var n=this;e.__clipPaths&&z(e.__clipPaths,(function(e){e._dom&&t.prototype.markDomUsed.call(n,e._dom)}))},e.prototype.removeUnused=function(){t.prototype.removeUnused.call(this);var e={},n=this._refGroups;for(var a in n)if(n.hasOwnProperty(a)){var i=n[a];this.isDomUnused(i)?i.parentNode&&i.parentNode.removeChild(i):e[a]=i}this._refGroups=e},e}($_),lw=function(t){function e(e,n){var a=t.call(this,e,n,["filter"],"__filter_in_use__","_shadowDom")||this;return a._shadowDomMap={},a._shadowDomPool=[],a}return n(e,t),e.prototype._getFromPool=function(){var t=this._shadowDomPool.pop();if(!t){(t=this.createElement("filter")).setAttribute("id","zr"+this._zrId+"-shadow-"+this.nextId++);var e=this.createElement("feDropShadow");t.appendChild(e),this.addDom(t)}return t},e.prototype.update=function(t,e){if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(e.style)){var n=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(",")}(e),a=e._shadowDom=this._shadowDomMap[n];a||(a=this._getFromPool(),this._shadowDomMap[n]=a),this.updateDom(t,e,a)}else this.remove(t,e)},e.prototype.remove=function(t,e){null!=e._shadowDom&&(e._shadowDom=null,t.removeAttribute("filter"))},e.prototype.updateDom=function(t,e,n){var a=n.children[0],i=e.style,r=e.getGlobalScale(),o=r[0],l=r[1];if(o&&l){var s=i.shadowOffsetX||0,u=i.shadowOffsetY||0,c=i.shadowBlur,p=T_(i.shadowColor);a.setAttribute("dx",s/o+""),a.setAttribute("dy",u/l+""),a.setAttribute("flood-color",p.color),a.setAttribute("flood-opacity",p.opacity+"");var d=c/2/o+" "+c/2/l;a.setAttribute("stdDeviation",d),n.setAttribute("x","-100%"),n.setAttribute("y","-100%"),n.setAttribute("width","300%"),n.setAttribute("height","300%"),e._shadowDom=n;var h=n.getAttribute("id");t.setAttribute("filter","url(#"+h+")")}},e.prototype.removeUnused=function(){if(this.getDefs(!1)){var t=this._shadowDomPool,e=this._shadowDomMap;for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);this._shadowDomMap={}}},e}($_);function sw(t){return parseInt(t,10)}function uw(t){return t instanceof Jo?Z_:t instanceof al?j_:t instanceof tl?K_:Z_}function cw(t,e){return e&&t&&e.parentNode!==t}function pw(t,e,n){if(cw(t,e)&&n){var a=n.nextSibling;a?t.insertBefore(e,a):t.appendChild(e)}}function dw(t,e){if(cw(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function hw(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function fw(t){return t.__svgEl}var gw=function(){function t(t,e,n,a){this.type="svg",this.refreshHover=mw("refreshHover"),this.pathToImage=mw("pathToImage"),this.configLayer=mw("configLayer"),this.root=t,this.storage=e,this._opts=n=I({},n||{});var i=I_("svg");i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/svg"),i.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),i.setAttribute("version","1.1"),i.setAttribute("baseProfile","full"),i.style.cssText="user-select:none;position:absolute;left:0;top:0;";var r=I_("g");i.appendChild(r);var o=I_("g");i.appendChild(o),this._gradientManager=new ew(a,o),this._patternManager=new iw(a,o),this._clipPathManager=new ow(a,o),this._shadowManager=new lw(a,o);var l=document.createElement("div");l.style.cssText="overflow:hidden;position:relative",this._svgDom=i,this._svgRoot=o,this._backgroundRoot=r,this._viewport=l,t.appendChild(l),l.appendChild(i),this.resize(n.width,n.height),this._visibleList=[]}return t.prototype.getType=function(){return"svg"},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.getSvgRoot=function(){return this._svgRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},t.prototype.setBackgroundColor=function(t){this._backgroundRoot&&this._backgroundNode&&this._backgroundRoot.removeChild(this._backgroundNode);var e=I_("rect");e.setAttribute("width",this.getWidth()),e.setAttribute("height",this.getHeight()),e.setAttribute("x",0),e.setAttribute("y",0),e.setAttribute("id",0);var n=T_(t),a=n.color,i=n.opacity;e.setAttribute("fill",a),e.setAttribute("fill-opacity",i),this._backgroundRoot.appendChild(e),this._backgroundNode=e},t.prototype.createSVGElement=function(t){return I_(t)},t.prototype.paintOne=function(t){var e=uw(t);return e&&e.brush(t),fw(t)},t.prototype._paintList=function(t){var e=this._gradientManager,n=this._patternManager,a=this._clipPathManager,i=this._shadowManager;e.markAllUnused(),n.markAllUnused(),a.markAllUnused(),i.markAllUnused();for(var r=this._svgRoot,o=this._visibleList,l=t.length,s=[],u=0;u<l;u++){var c=uw(x=t[u]),p=fw(x);x.invisible||(!x.__dirty&&p||(c&&c.brush(x),(p=fw(x))&&x.style&&(e.update(x.style.fill),e.update(x.style.stroke),n.update(x.style.fill),n.update(x.style.stroke),i.update(p,x)),x.__dirty=0),p&&s.push(x))}var d,h,f,g,m,y=L_(o,s);for(u=0;u<y.length;u++)if((b=y[u]).removed)for(var v=0;v<b.count;v++)p=fw(x=o[b.indices[v]]),rw(x)?(f=p)&&f.parentNode&&f.parentNode.removeChild(f):hw(r,p);for(u=0;u<y.length;u++){var b;if(!(b=y[u]).removed)for(v=0;v<b.count;v++){var x=s[b.indices[v]],_=a.update(x,g);_!==m&&(d=h,_&&(d?pw(r,_,d):dw(r,_),h=_,d=null),m=_),p=fw(x),d?pw(m||r,p,d):dw(m||r,p),d=p||d,m||(h=d),e.markUsed(x),e.addWithoutUpdate(p,x),n.markUsed(x),n.addWithoutUpdate(p,x),a.markUsed(x),g=x}}e.removeUnused(),n.removeUnused(),a.removeUnused(),i.removeUnused(),this._visibleList=s},t.prototype.resize=function(t,e){var n=this._viewport;n.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var i=n.style;i.width=t+"px",i.height=e+"px";var r=this._svgDom;r.setAttribute("width",t+""),r.setAttribute("height",e+"")}this._backgroundNode&&(this._backgroundNode.setAttribute("width",t),this._backgroundNode.setAttribute("height",e))},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,l=document.defaultView.getComputedStyle(o);return(o[a]||sw(l[n])||sw(o.style[n]))-(sw(l[i])||0)-(sw(l[r])||0)|0},t.prototype.dispose=function(){this.root.innerHTML="",this._svgRoot=this._backgroundRoot=this._svgDom=this._backgroundNode=this._viewport=this.storage=null},t.prototype.clear=function(){var t=this._viewport;t&&t.parentNode&&t.parentNode.removeChild(t)},t.prototype.toDataURL=function(){this.refresh();var t=this._svgDom,e=t.outerHTML||(t.parentNode&&t.parentNode).innerHTML;return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(e.replace(/></g,">\n\r<"))},t}();function mw(t){return function(){w('In SVG mode painter not support method "'+t+'"')}}function yw(){return!1}function vw(t,e,n){var a=C(),i=e.getWidth(),r=e.getHeight(),o=a.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=r+"px",a.setAttribute("data-zr-dom-id",t)),a.width=i*n,a.height=r*n,a}var bw=function(t){function e(e,n,a){var i,r=t.call(this)||this;r.motionBlur=!1,r.lastFrameAlpha=.7,r.dpr=1,r.virtual=!1,r.config={},r.incremental=!1,r.zlevel=0,r.maxRepaintRectCount=5,r.__dirty=!0,r.__firstTimePaint=!0,r.__used=!1,r.__drawIndex=0,r.__startIndex=0,r.__endIndex=0,r.__prevStartIndex=null,r.__prevEndIndex=null,a=a||Bn,"string"==typeof e?i=vw(e,n,a):X(e)&&(e=(i=e).id),r.id=e,r.dom=i;var o=i.style;return o&&(i.onselectstart=yw,o.webkitUserSelect="none",o.userSelect="none",o.webkitTapHighlightColor="rgba(0,0,0,0)",o["-webkit-touch-callout"]="none",o.padding="0",o.margin="0",o.borderWidth="0"),r.domBack=null,r.ctxBack=null,r.painter=n,r.config=null,r.dpr=a,r}return n(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=vw("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,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,r=[],o=this.maxRepaintRectCount,l=!1,s=new ya(0,0,0,0);function u(t){if(t.isFinite()&&!t.isZero())if(0===r.length)(e=new ya(0,0,0,0)).copy(t),r.push(e);else{for(var e,n=!1,a=1/0,i=0,u=0;u<r.length;++u){var c=r[u];if(c.intersect(t)){var p=new ya(0,0,0,0);p.copy(c),p.union(t),r[u]=p,n=!0;break}if(l){s.copy(t),s.union(c);var d=t.width*t.height,h=c.width*c.height,f=s.width*s.height-d-h;f<a&&(a=f,i=u)}}l&&(r[i].union(t),n=!0),n||((e=new ya(0,0,0,0)).copy(t),r.push(e)),l||(l=r.length>=o)}}for(var c=this.__startIndex;c<this.__endIndex;++c)if(h=t[c]){var p=h.shouldBePainted(n,a,!0,!0);(f=h.__isRendered&&(1&h.__dirty||!p)?h.getPrevPaintRect():null)&&u(f);var d=p&&(1&h.__dirty||!h.__isRendered)?h.getPaintRect():null;d&&u(d)}for(c=this.__prevStartIndex;c<this.__prevEndIndex;++c){var h,f;p=(h=e[c]).shouldBePainted(n,a,!0,!0),!h||p&&h.__zr||!h.__isRendered||(f=h.getPrevPaintRect())&&u(f)}do{for(i=!1,c=0;c<r.length;)if(r[c].isZero())r.splice(c,1);else{for(var g=c+1;g<r.length;)r[c].intersect(r[g])?(i=!0,r[c].union(r[g]),r.splice(g,1)):g++;c++}}while(i);return this._paintRects=r,r},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,a=this.dom,i=a.style,r=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),a.width=t*n,a.height=e*n,r&&(r.width=t*n,r.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var a=this.dom,i=this.ctx,r=a.width,o=a.height;e=e||this.clearColor;var l=this.motionBlur&&!t,s=this.lastFrameAlpha,u=this.dpr,c=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,r/u,o/u));var p=this.domBack;function d(t,n,a,r){if(i.clearRect(t,n,a,r),e&&"transparent"!==e){var o=void 0;K(e)?(o=e.__canvasGradient||em(i,e,{x:0,y:0,width:a,height:r}),e.__canvasGradient=o):$(e)&&(o=cm(i,e,{dirty:function(){c.setUnpainted(),c.__painter.refresh()}})),i.save(),i.fillStyle=o||e,i.fillRect(t,n,a,r),i.restore()}l&&(i.save(),i.globalAlpha=s,i.drawImage(p,t,n,a,r),i.restore())}!n||l?d(0,0,r,o):n.length&&z(n,(function(t){d(t.x*u,t.y*u,t.width*u,t.height*u)}))},e}(Gt),xw=1e5,_w=314159,ww=.01;function kw(t){return parseInt(t,10)}var Sw=function(){function t(t,e,n,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=I({},n||{}),this.dpr=n.devicePixelRatio||Bn,this._singleCanvas=i,this.root=t;var r=t.style;r&&(r.webkitTapHighlightColor="transparent",r.webkitUserSelect="none",r.userSelect="none",r["-webkit-touch-callout"]="none",t.innerHTML=""),this.storage=e;var o=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(i){var s=t,u=s.width,c=s.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,s.width=u*this.dpr,s.height=c*this.dpr,this._width=u,this._height=c;var p=new bw(s,this,this.dpr);p.__builtin__=!0,p.initContext(),l[314159]=p,p.zlevel=_w,o.push(_w),this._domRoot=t}else{this._width=this._getSize(0),this._height=this._getSize(1);var d=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(d)}}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,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var i=0;i<a.length;i++){var r=a[i],o=this._layers[r];if(!o.__builtin__&&o.refresh){var l=0===i?this._backgroundColor:null;o.refresh(l)}}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 a,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},r=0;r<e;r++){var o=t[r];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(xw)),a||(a=n.ctx).save(),bm(a,o,i,r===e-1))}a&&a.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(xw)},t.prototype.paintOne=function(t,e){vm(t,e)},t.prototype._paintList=function(t,e,n,a){if(this._redrawId===a){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,n),r=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),r)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var l=this;Me((function(){l._paintList(t,e,n,a)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(_w).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(a){a.virtual&&t.drawImage(a.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var a=this,i=[],r=this._opts.useDirtyRect,l=0;l<this._zlevelList.length;l++){var s=this._zlevelList[l],u=this._layers[s];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&i.push(u)}for(var c=!0,p=!1,d=function(o){var l,s=i[o],u=s.ctx,d=r&&s.createRepaintRects(t,e,h._width,h._height),f=n?s.__startIndex:s.__drawIndex,g=!n&&s.incremental&&Date.now,m=g&&Date.now(),y=s.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(s.__startIndex===s.__endIndex)s.clear(!1,y,d);else if(f===s.__startIndex){var v=t[f];v.incremental&&v.notClear&&!n||s.clear(!1,y,d)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=s.__startIndex);var b=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(l=f;l<s.__endIndex;l++){var i=t[l];if(i.__inHover&&(p=!0),a._doPaintEl(i,s,r,e,n,l===s.__endIndex-1),g&&Date.now()-m>15)break}n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)l=s.__endIndex;else for(var x=h.dpr,_=0;_<d.length;++_){var w=d[_];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),b(w),u.restore()}else u.save(),b(),u.restore();s.__drawIndex=l,s.__drawIndex<s.__endIndex&&(c=!1)},h=this,f=0;f<i.length;f++)d(f);return o.wxa&&z(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:c,needsRefreshHover:p}},t.prototype._doPaintEl=function(t,e,n,a,i,r){var o=e.ctx;if(n){var l=t.getPaintRect();(!a||l&&l.intersect(a))&&(bm(o,t,i,r),t.setPrevPaintRect(l))}else bm(o,t,i,r)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=_w);var n=this._layers[t];return n||((n=new bw("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?S(n,this._layerConfig[t],!0):this._layerConfig[t-ww]&&S(n,this._layerConfig[t-ww],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,a=this._zlevelList,i=a.length,r=this._domRoot,o=null,l=-1;if(n[t])w("ZLevel "+t+" has been used already");else if(function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(i>0&&t>a[0]){for(l=0;l<i-1&&!(a[l]<t&&a[l+1]>t);l++);o=n[a[l]]}if(a.splice(l+1,0,t),n[t]=e,!e.virtual)if(o){var s=o.dom;s.nextSibling?r.insertBefore(e.dom,s.nextSibling):r.appendChild(e.dom)}else r.firstChild?r.insertBefore(e.dom,r.firstChild):r.appendChild(e.dom);e.__painter=this}else w("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a];t.call(e,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],r=this._layers[i];r.__builtin__&&t.call(e,r,i)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],r=this._layers[i];r.__builtin__||t.call(e,r,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){r&&(r.__endIndex!==t&&(r.__dirty=!0),r.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++)if((l=t[n]).zlevel!==t[n-1].zlevel||l.incremental){this._needsManuallyCompositing=!0;break}var a,i,r=null,o=0;for(i=0;i<t.length;i++){var l,s=(l=t[i]).zlevel,u=void 0;a!==s&&(a=s,o=0),l.incremental?((u=this.getLayer(s+.001,this._needsManuallyCompositing)).incremental=!0,o=1):u=this.getLayer(s+(o>0?ww:0),this._needsManuallyCompositing),u.__builtin__||w("ZLevel "+s+" has been used by unkown layer "+u.id),u!==r&&(u.__used=!0,u.__startIndex!==i&&(u.__dirty=!0),u.__startIndex=i,u.incremental?u.__drawIndex=-1:u.__drawIndex=i,e(i),r=u),1&l.__dirty&&!l.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=i))}e(i),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,z(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?S(n[t],e,!0):n[t]=e;for(var a=0;a<this._zlevelList.length;a++){var i=this._zlevelList[a];i!==t&&i!==t+ww||S(this._layers[i],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,a=e[t];a&&(a.dom.parentNode.removeChild(a.dom),delete e[t],n.splice(D(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var a=this._opts;if(null!=t&&(a.width=t),null!=e&&(a.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||e!==this._height){for(var i in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(i)&&this._layers[i].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(_w).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 bw("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 a=e.dom.width,i=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,a,i):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var r={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),l=0,s=o.length;l<s;l++){var u=o[l];bm(n,u,r,l===s-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype._getSize=function(t){var e=this._opts,n=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],r=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,l=document.defaultView.getComputedStyle(o);return(o[a]||kw(l[n])||kw(o.style[n]))-(kw(l[i])||0)-(kw(l[r])||0)|0},t.prototype.pathToImage=function(t,e){e=e||this.dpr;var n=document.createElement("canvas"),a=n.getContext("2d"),i=t.getBoundingRect(),r=t.style,o=r.shadowBlur*e,l=r.shadowOffsetX*e,s=r.shadowOffsetY*e,u=t.hasStroke()?r.lineWidth:0,c=Math.max(u/2,-l+o),p=Math.max(u/2,l+o),d=Math.max(u/2,-s+o),h=Math.max(u/2,s+o),f=i.width+c+p,g=i.height+d+h;n.width=f*e,n.height=g*e,a.scale(e,e),a.clearRect(0,0,f,g),a.dpr=e;var m={x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY,rotation:t.rotation,originX:t.originX,originY:t.originY};t.x=c-i.x,t.y=d-i.y,t.rotation=0,t.scaleX=1,t.scaleY=1,t.updateTransform(),t&&bm(a,t,{inHover:!1,viewWidth:this._width,viewHeight:this._height},!0);var y=new al({style:{x:0,y:0,image:n}});return I(t,m),y},t}(),Mw=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t){return gb(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new Va,n=Jg("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var a=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),r="none"===a?"circle":a,o=.8*t.itemHeight,l=Jg(r,(t.itemWidth-o)/2,(t.itemHeight-o)/2,o,o,t.itemStyle.fill);e.add(l),l.setStyle(t.itemStyle);var s="inherit"===t.iconRotate?i:t.iconRotate||0;return l.rotation=s*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),r.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={zlevel:0,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,lineStyle:{width:"bolder"}},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"}},e}(Pf);function Iw(t,e){var n=t.mapDimensionsAll("defaultedLabel"),a=n.length;if(1===a){var i=Ph(t,e,n[0]);return null!=i?i+"":null}if(a){for(var r=[],o=0;o<n.length;o++)r.push(Ph(t,e,n[o]));return r.join(" ")}}function Tw(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!G(e))return e+"";for(var a=[],i=0;i<n.length;i++){var r=t.getDimensionIndex(n[i]);r>=0&&a.push(e[r])}return a.join(" ")}var Cw=function(t){function e(e,n,a,i){var r=t.call(this)||this;return r.updateData(e,n,a,i),r}return n(e,t),e.prototype._createSymbol=function(t,e,n,a,i){this.removeAll();var r=Jg(t,-1,-1,2,2,null,i);r.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),r.drift=Dw,this._symbolType=t,this.add(r)},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(){Jl(this.childAt(0))},e.prototype.downplay=function(){Ql(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){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},e.prototype.updateData=function(t,n,a,i){this.silent=!1;var r=t.getItemVisual(n,"symbol")||"circle",o=t.hostModel,l=e.getSymbolSize(t,n),s=r!==this._symbolType,u=i&&i.disableAnimation;if(s){var c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(r,t,n,l,c)}else{(d=this.childAt(0)).silent=!1;var p={scaleX:l[0]/2,scaleY:l[1]/2};u?d.attr(p):Nu(d,p,o,n),Hu(d)}if(this._updateCommon(t,n,l,a,i),s){var d=this.childAt(0);u||(p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}},d.scaleX=d.scaleY=0,d.style.opacity=0,Eu(d,p,o,n))}u&&this.childAt(0).stopAnimation("remove"),this._seriesModel=o},e.prototype._updateCommon=function(t,e,n,a,i){var r,o,l,s,u,c,p,d,h=this.childAt(0),f=t.hostModel;if(a&&(r=a.emphasisItemStyle,o=a.blurItemStyle,l=a.selectItemStyle,s=a.focus,u=a.blurScope,c=a.labelStatesModels,p=a.hoverScale,d=a.cursorStyle),!a||t.hasItemOption){var g=a&&a.itemModel?a.itemModel:t.getItemModel(e),m=g.getModel("emphasis");r=m.getModel("itemStyle").getItemStyle(),l=g.getModel(["select","itemStyle"]).getItemStyle(),o=g.getModel(["blur","itemStyle"]).getItemStyle(),s=m.get("focus"),u=m.get("blurScope"),c=xc(g),p=m.getShallow("scale"),d=g.getShallow("cursor")}var y=t.getItemVisual(e,"symbolRotate");h.attr("rotation",(y||0)*Math.PI/180||0);var v=tm(t.getItemVisual(e,"symbolOffset"),n);v&&(h.x=v[0],h.y=v[1]),d&&h.attr("cursor",d);var b=t.getItemVisual(e,"style"),x=b.fill;if(h instanceof al){var _=h.style;h.useStyle(I({image:_.image,x:_.x,y:_.y,width:_.width,height:_.height},b))}else h.__isEmptyBrush?h.useStyle(I({},b)):h.useStyle(b),h.style.decal=null,h.setColor(x,i&&i.symbolInnerColor),h.style.strokeNoScale=!0;var w=t.getItemVisual(e,"liftZ"),k=this._z2;null!=w?null==k&&(this._z2=h.z2,h.z2+=w):null!=k&&(h.z2=k,this._z2=null);var S=i&&i.useNameLabel;bc(h,c,{labelFetcher:f,labelDataIndex:e,defaultText:function(e){return S?t.getName(e):Iw(t,e)},inheritColor:x,defaultOpacity:b.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var M=h.ensureState("emphasis");if(M.style=r,h.ensureState("select").style=l,h.ensureState("blur").style=o,p){var T=Math.max(1.1,3/this._sizeY);M.scaleX=this._sizeX*T,M.scaleY=this._sizeY*T}this.setSymbolScale(1),ps(this,s,u)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e){var n=this.childAt(0),a=this._seriesModel,i=wl(this).dataIndex,r=e&&e.animation;if(this.silent=n.silent=!0,e&&e.fadeLabel){var o=n.getTextContent();o&&Vu(o,{style:{opacity:0}},a,{dataIndex:i,removeOpt:r,cb:function(){n.removeTextContent()}})}else n.removeTextContent();Vu(n,{style:{opacity:0},scaleX:0,scaleY:0},a,{dataIndex:i,cb:t,removeOpt:r})},e.getSymbolSize=function(t,e){return Qg(t.getItemVisual(e,"symbolSize"))},e}(Va);function Dw(t,e){this.parent.drift(t,e)}function Aw(t,e,n,a){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(a.isIgnore&&a.isIgnore(n))&&!(a.clipShape&&!a.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function Lw(t){return null==t||X(t)||(t={isIgnore:t}),t||{}}function Pw(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"),hoverScale:n.get("scale"),labelStatesModels:xc(e),cursorStyle:e.get("cursor")}}var zw=function(){function t(t){this.group=new Va,this._SymbolCtor=t||Cw}return t.prototype.updateData=function(t,e){e=Lw(e);var n=this.group,a=t.hostModel,i=this._data,r=this._SymbolCtor,o=e.disableAnimation,l=Pw(t),s={disableAnimation:o},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};i||n.removeAll(),t.diff(i).add((function(a){var i=u(a);if(Aw(t,i,a,e)){var o=new r(t,a,l,s);o.setPosition(i),t.setItemGraphicEl(a,o),n.add(o)}})).update((function(c,p){var d=i.getItemGraphicEl(p),h=u(c);if(Aw(t,h,c,e)){var f=t.getItemVisual(c,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==f)n.remove(d),(d=new r(t,c,l,s)).setPosition(h);else{d.updateData(t,c,l,s);var m={x:h[0],y:h[1]};o?d.attr(m):Nu(d,m,a)}n.add(d),t.setItemGraphicEl(c,d)}else n.remove(d)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}))})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.isPersistent=function(){return!0},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var a=t._getSymbolPoint(n);e.setPosition(a),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Pw(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function a(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}n=Lw(n);for(var i=t.start;i<t.end;i++){var r=e.getItemLayout(i);if(Aw(e,r,i,n)){var o=new this._SymbolCtor(e,i,this._seriesScope);o.traverse(a),o.setPosition(r),this.group.add(o),e.setItemGraphicEl(i,o)}}},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}))})):e.removeAll()},t}();function Ow(t,e,n){var a=t.getBaseAxis(),i=t.getOtherAxis(a),r=function(t,e){var n=0,a=t.scale.getExtent();return"start"===e?n=a[0]:"end"===e?n=a[1]:a[0]>0?n=a[0]:a[1]<0&&(n=a[1]),n}(i,n),o=a.dim,l=i.dim,s=e.mapDimension(l),u=e.mapDimension(o),c="x"===l||"radius"===l?1:0,p=O(t.dimensions,(function(t){return e.mapDimension(t)})),d=!1,h=e.getCalculationInfo("stackResultDimension");return hb(e,p[0])&&(d=!0,p[0]=h),hb(e,p[1])&&(d=!0,p[1]=h),{dataDimsForPoint:p,valueStart:r,valueAxisDim:l,baseAxisDim:o,stacked:!!d,valueDim:s,baseDim:u,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function Rw(t,e,n,a){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),a)),isNaN(i)&&(i=t.valueStart);var r=t.baseDataOffset,o=[];return o[r]=n.get(t.baseDim,a),o[1-r]=i,e.dataToPoint(o)}var Nw="undefined"!=typeof Float32Array,Ew=Nw?Float32Array:Array;function Bw(t){return G(t)?Nw?new Float32Array(t):t:new Ew(t)}var Vw=Math.min,Fw=Math.max;function Gw(t,e){return isNaN(t)||isNaN(e)}function Hw(t,e,n,a,i,r,o,l,s){for(var u,c,p,d,h,f,g=n,m=0;m<a;m++){var y=e[2*g],v=e[2*g+1];if(g>=i||g<0)break;if(Gw(y,v)){if(s){g+=r;continue}break}if(g===n)t[r>0?"moveTo":"lineTo"](y,v),p=y,d=v;else{var b=y-u,x=v-c;if(b*b+x*x<.5){g+=r;continue}if(o>0){var _=g+r,w=e[2*_],k=e[2*_+1],S=m+1;if(s)for(;Gw(w,k)&&S<a;)S++,w=e[2*(_+=r)],k=e[2*_+1];var M=.5,I=0,T=0,C=void 0,D=void 0;if(S>=a||Gw(w,k))h=y,f=v;else{I=w-u,T=k-c;var A=y-u,L=w-y,P=v-c,z=k-v,O=void 0,R=void 0;"x"===l?(O=Math.abs(A),R=Math.abs(L),h=y-O*o,f=v,C=y+O*o,D=v):"y"===l?(O=Math.abs(P),R=Math.abs(z),h=y,f=v-O*o,C=y,D=v+O*o):(O=Math.sqrt(A*A+P*P),h=y-I*o*(1-(M=(R=Math.sqrt(L*L+z*z))/(R+O))),f=v-T*o*(1-M),D=v+T*o*M,C=Vw(C=y+I*o*M,Fw(w,y)),D=Vw(D,Fw(k,v)),C=Fw(C,Vw(w,y)),f=v-(T=(D=Fw(D,Vw(k,v)))-v)*O/R,h=Vw(h=y-(I=C-y)*O/R,Fw(u,y)),f=Vw(f,Fw(c,v)),C=y+(I=y-(h=Fw(h,Vw(u,y))))*R/O,D=v+(T=v-(f=Fw(f,Vw(c,v))))*R/O)}t.bezierCurveTo(p,d,h,f,y,v),p=C,d=D}else t.lineTo(y,v)}u=y,c=v,g+=r}return m}var Ww=function(){this.smooth=0,this.smoothConstraint=!0},Uw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Ww},e.prototype.buildPath=function(t,e){var n=e.points,a=0,i=n.length/2;if(e.connectNulls){for(;i>0&&Gw(n[2*i-2],n[2*i-1]);i--);for(;a<i&&Gw(n[2*a],n[2*a+1]);a++);}for(;a<i;)a+=Hw(t,n,a,i,i,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,a,i=this.path.data,r=Po.CMD,o="x"===e,l=[],s=0;s<i.length;){var u=void 0,c=void 0,p=void 0,d=void 0,h=void 0,f=void 0,g=void 0;switch(i[s++]){case r.M:n=i[s++],a=i[s++];break;case r.L:if(u=i[s++],c=i[s++],(g=o?(t-n)/(u-n):(t-a)/(c-a))<=1&&g>=0){var m=o?(c-a)*g+a:(u-n)*g+n;return o?[t,m]:[m,t]}n=u,a=c;break;case r.C:u=i[s++],c=i[s++],p=i[s++],d=i[s++],h=i[s++],f=i[s++];var y=o?Fr(n,u,p,h,t,l):Fr(a,c,d,f,t,l);if(y>0)for(var v=0;v<y;v++){var b=l[v];if(b<=1&&b>=0)return m=o?Br(a,c,d,f,b):Br(n,u,p,h,b),o?[t,m]:[m,t]}n=h,a=f}}},e}(Jo),Yw=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e}(Ww),Xw=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return n(e,t),e.prototype.getDefaultShape=function(){return new Yw},e.prototype.buildPath=function(t,e){var n=e.points,a=e.stackedOnPoints,i=0,r=n.length/2,o=e.smoothMonotone;if(e.connectNulls){for(;r>0&&Gw(n[2*r-2],n[2*r-1]);r--);for(;i<r&&Gw(n[2*i],n[2*i+1]);i++);}for(;i<r;){var l=Hw(t,n,i,r,r,1,e.smooth,o,e.connectNulls);Hw(t,a,i+l-1,l,r,-1,e.stackedOnSmooth,o,e.connectNulls),i+=l+1,t.closePath()}},e}(Jo);function Zw(t,e,n,a,i){var r=t.getArea(),o=r.x,l=r.y,s=r.width,u=r.height,c=n.get(["lineStyle","width"])||2;o-=c/2,l-=c/2,s+=c,u+=c,o=Math.floor(o),s=Math.round(s);var p=new cl({shape:{x:o,y:l,width:s,height:u}});if(e){var d=t.getBaseAxis(),h=d.isHorizontal(),f=d.inverse;h?(f&&(p.shape.x+=s),p.shape.width=0):(f||(p.shape.y+=u),p.shape.height=0),Eu(p,{shape:{width:s,height:u,x:o,y:l}},n,null,a,"function"==typeof i?function(t){i(t,p)}:null)}return p}function jw(t,e,n){var a=t.getArea(),i=Ka(a.r0,1),r=Ka(a.r,1),o=new iu({shape:{cx:Ka(t.cx,1),cy:Ka(t.cy,1),r0:i,r:r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return e&&("angle"===t.getBaseAxis().dim?o.shape.endAngle=a.startAngle:o.shape.r=i,Eu(o,{shape:{endAngle:a.endAngle,r:r}},n)),o}function qw(t,e,n,a,i){return t?"polar"===t.type?jw(t,e,n):"cartesian2d"===t.type?Zw(t,e,n,a,i):null:null}function Kw(t,e){return t.type===e}function $w(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function Jw(t){for(var e=1/0,n=1/0,a=-1/0,i=-1/0,r=0;r<t.length;){var o=t[r++],l=t[r++];isNaN(o)||(e=Math.min(o,e),a=Math.max(o,a)),isNaN(l)||(n=Math.min(l,n),i=Math.max(l,i))}return[[e,n],[a,i]]}function Qw(t,e){var n=Jw(t),a=n[0],i=n[1],r=Jw(e),o=r[0],l=r[1];return Math.max(Math.abs(a[0]-o[0]),Math.abs(a[1]-o[1]),Math.abs(i[0]-l[0]),Math.abs(i[1]-l[1]))}function tk(t){return"number"==typeof t?t:t?.5:0}function ek(t,e,n){for(var a=e.getBaseAxis(),i="x"===a.dim||"radius"===a.dim?0:1,r=[],o=0,l=[],s=[],u=[];o<t.length-2;o+=2)switch(u[0]=t[o+2],u[1]=t[o+3],s[0]=t[o],s[1]=t[o+1],r.push(s[0],s[1]),n){case"end":l[i]=u[i],l[1-i]=s[1-i],r.push(l[0],l[1]);break;case"middle":var c=(s[i]+u[i])/2,p=[];l[i]=p[i]=c,l[1-i]=s[1-i],p[1-i]=u[1-i],r.push(l[0],l[1]),r.push(p[0],p[1]);break;default:l[i]=s[i],l[1-i]=u[1-i],r.push(l[0],l[1])}return r.push(t[o++],t[o++]),r}function nk(t,e,n){var a=t.getVisual("visualMeta");if(a&&a.length&&t.count()&&"cartesian2d"===e.type){for(var i,r,o=a.length-1;o>=0;o--){var l=t.getDimensionInfo(a[o].dimension);if("x"===(i=l&&l.coordDim)||"y"===i){r=a[o];break}}if(r){var s=e.getAxis(i),u=O(r.stops,(function(t){return{coord:s.toGlobalCoord(s.dataToCoord(t.value)),color:t.color}})),c=u.length,p=r.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),p.reverse());var d=function(t,e){var n,a,i=[],r=t.length;function o(t,e,n){var a=t.coord;return{coord:n,color:qe((n-a)/(e.coord-a),[t.color,e.color])}}for(var l=0;l<r;l++){var s=t[l],u=s.coord;if(u<0)n=s;else{if(u>e){a&&i.push(o(a,s,e));break}n&&(i.push(o(n,s,0)),n=null),i.push(s),a=s}}return i}(u,"x"===i?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?p[1]?p[1]:u[c-1].color:p[0]?p[0]:u[0].color;var f=d[0].coord-0,g=d[h-1].coord+0,m=g-f;if(m<.001)return"transparent";z(d,(function(t){t.offset=(t.coord-f)/m})),d.push({offset:h?d[h-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:p[0]||"transparent"});var y=new Su(0,0,0,0,d,!0);return y[i]=f,y[i+"2"]=g,y}}}function ak(t,e,n){var a=t.get("showAllSymbol"),i="auto"===a;if(!a||i){var r=n.getAxesByScale("ordinal")[0];if(r&&(!i||!function(t,e){var n=t.getExtent(),a=Math.abs(n[1]-n[0])/t.scale.count();isNaN(a)&&(a=0);for(var i=e.count(),r=Math.max(1,Math.round(i/5)),o=0;o<i;o+=r)if(1.5*Cw.getSymbolSize(e,o)[t.isHorizontal()?1:0]>a)return!1;return!0}(r,e))){var o=e.mapDimension(r.dim),l={};return z(r.getViewLabels(),(function(t){var e=r.scale.getRawOrdinalNumber(t.tickValue);l[e]=1})),function(t){return!l.hasOwnProperty(e.get(o,t))}}}}function ik(t,e){return[t[2*e],t[2*e+1]]}function rk(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<Tl.length;e++)if(t.get([Tl[e],"endLabel","show"]))return!0;return!1}function ok(t,e,n,a){if(Kw(e,"cartesian2d")){var i=a.getModel("endLabel"),r=i.get("valueAnimation"),o=a.getData(),l={lastFrameIndex:0},s=rk(a)?function(n,a){t._endLabelOnDuring(n,a,o,l,r,i,e)}:null,u=e.getBaseAxis().isHorizontal(),c=Zw(e,n,a,(function(){var e=t._endLabel;e&&n&&null!=l.originalX&&e.attr({x:l.originalX,y:l.originalY})}),s);if(!a.get("clip",!0)){var p=c.shape,d=Math.max(p.width,p.height);u?(p.y-=d,p.height+=2*d):(p.x-=d,p.width+=2*d)}return s&&s(1,c),c}return jw(e,n,a)}var lk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(){var t=new Va,e=new zw;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var a=this,i=t.coordinateSystem,r=this.group,o=t.getData(),l=t.getModel("lineStyle"),s=t.getModel("areaStyle"),u=o.getLayout("points")||[],c="polar"===i.type,p=this._coordSys,d=this._symbolDraw,h=this._polyline,f=this._polygon,g=this._lineGroup,m=t.get("animation"),y=!s.isEmpty(),v=s.get("origin"),b=Ow(i,o,v),x=y&&function(t,e,n){if(!n.valueDim)return[];for(var a=e.count(),i=Bw(2*a),r=0;r<a;r++){var o=Rw(n,t,e,r);i[2*r]=o[0],i[2*r+1]=o[1]}return i}(i,o,b),_=t.get("showSymbol"),w=_&&!c&&ak(t,o,i),k=this._data;k&&k.eachItemGraphicEl((function(t,e){t.__temp&&(r.remove(t),k.setItemGraphicEl(e,null))})),_||d.remove(),r.add(g);var S,M=!c&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(S=i.getArea()).width?(S.x-=.1,S.y-=.1,S.width+=.2,S.height+=.2):S.r0&&(S.r0-=.5,S.r+=.5)),this._clipShapeForSymbol=S;var I=nk(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(h&&p.type===i.type&&M===this._step){y&&!f?f=this._newPolygon(u,x):f&&!y&&(g.remove(f),f=this._polygon=null),c||this._initOrUpdateEndLabel(t,i,Vp(I));var C=g.getClipPath();C?Eu(C,{shape:ok(this,i,!1,t).shape},t):g.setClipPath(ok(this,i,!0,t)),_&&d.updateData(o,{isIgnore:w,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),$w(this._stackedOnPoints,x)&&$w(this._points,u)||(m?this._doUpdateAnimation(o,x,i,n,M,v):(M&&(u=ek(u,i,M),x&&(x=ek(x,i,M))),h.setShape({points:u}),f&&f.setShape({points:u,stackedOnPoints:x})))}else _&&d.updateData(o,{isIgnore:w,clipShape:S,disableAnimation:!0,getSymbolPoint:function(t){return[u[2*t],u[2*t+1]]}}),m&&this._initSymbolLabelAnimation(o,i,S),M&&(u=ek(u,i,M),x&&(x=ek(x,i,M))),h=this._newPolyline(u),y&&(f=this._newPolygon(u,x)),c||this._initOrUpdateEndLabel(t,i,Vp(I)),g.setClipPath(ok(this,i,!0,t));var D=t.get(["emphasis","focus"]),A=t.get(["emphasis","blurScope"]);h.useStyle(T(l.getLineStyle(),{fill:"none",stroke:I,lineJoin:"bevel"})),gs(h,t,"lineStyle"),h.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(h.getState("emphasis").style.lineWidth=+h.style.lineWidth+1),wl(h).seriesIndex=t.seriesIndex,ps(h,D,A);var L=tk(t.get("smooth")),P=t.get("smoothMonotone"),z=t.get("connectNulls");if(h.setShape({smooth:L,smoothMonotone:P,connectNulls:z}),f){var O=o.getCalculationInfo("stackedOnSeries"),R=0;f.useStyle(T(s.getAreaStyle(),{fill:I,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),O&&(R=tk(O.get("smooth"))),f.setShape({smooth:L,stackedOnSmooth:R,smoothMonotone:P,connectNulls:z}),gs(f,t,"areaStyle"),wl(f).seriesIndex=t.seriesIndex,ps(f,D,A)}var N=function(t){a._changePolyState(t)};o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=N)})),this._polyline.onHoverStateChange=N,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=u,this._step=M,this._valueOrigin=v},e.prototype.dispose=function(){},e.prototype.highlight=function(t,e,n,a){var i=t.getData(),r=Pi(i,a);if(this._changePolyState("emphasis"),!(r instanceof Array)&&null!=r&&r>=0){var o=i.getLayout("points"),l=i.getItemGraphicEl(r);if(!l){var s=o[2*r],u=o[2*r+1];if(isNaN(s)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(s,u))return;var c=t.get("zlevel"),p=t.get("z");(l=new Cw(i,r)).x=s,l.y=u,l.setZ(c,p);var d=l.getSymbolPath().getTextContent();d&&(d.zlevel=c,d.z=p,d.z2=this._polyline.z2+1),l.__temp=!0,i.setItemGraphicEl(r,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else Uf.prototype.highlight.call(this,t,e,n,a)},e.prototype.downplay=function(t,e,n,a){var i=t.getData(),r=Pi(i,a);if(this._changePolyState("normal"),null!=r&&r>=0){var o=i.getItemGraphicEl(r);o&&(o.__temp?(i.setItemGraphicEl(r,null),this.group.remove(o)):o.downplay())}else Uf.prototype.downplay.call(this,t,e,n,a)},e.prototype._changePolyState=function(t){var e=this._polygon;Zl(this._polyline,t),e&&Zl(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new Uw({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 Xw({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var a,i,r=e.getBaseAxis(),o=r.inverse;"cartesian2d"===e.type?(a=r.isHorizontal(),i=!1):"polar"===e.type&&(a="angle"===r.dim,i=!0);var l=t.hostModel,s=l.get("animationDuration");"function"==typeof s&&(s=s(null));var u=l.get("animationDelay")||0,c="function"==typeof u?u(null):u;t.eachItemGraphicEl((function(t,r){var l=t;if(l){var p=[t.x,t.y],d=void 0,h=void 0,f=void 0;if(n)if(i){var g=n,m=e.pointToCoord(p);a?(d=g.startAngle,h=g.endAngle,f=-m[1]/180*Math.PI):(d=g.r0,h=g.r,f=m[0])}else{var y=n;a?(d=y.x,h=y.x+y.width,f=t.x):(d=y.y+y.height,h=y.y,f=t.y)}var v=h===d?0:(f-d)/(h-d);o&&(v=1-v);var b="function"==typeof u?u(r):s*v+c,x=l.getSymbolPath(),_=x.getTextContent();l.attr({scaleX:0,scaleY:0}),l.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:b}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:b}),x.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var a=t.getModel("endLabel");if(rk(t)){var i=t.getData(),r=this._polyline,o=this._endLabel;o||((o=this._endLabel=new hl({z2:200})).ignoreClip=!0,r.setTextContent(this._endLabel),r.disableLabelAnimation=!0);var l=function(t){for(var e,n,a=t.length/2;a>0&&(e=t[2*a-2],n=t[2*a-1],isNaN(e)||isNaN(n));a--);return a-1}(i.getLayout("points"));l>=0&&(bc(r,xc(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?Tw(i,n):Iw(i,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),a=n.isHorizontal(),i=n.inverse,r=a?i?"right":"left":"center",o=a?"middle":i?"top":"bottom";return{normal:{align:t.get("align")||r,verticalAlign:t.get("verticalAlign")||o}}}(a,e)),r.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,a,i,r,o){var l=this._endLabel,s=this._polyline;if(l){t<1&&null==a.originalX&&(a.originalX=l.x,a.originalY=l.y);var u=n.getLayout("points"),c=n.hostModel,p=c.get("connectNulls"),d=r.get("precision"),h=r.get("distance")||0,f=o.getBaseAxis(),g=f.isHorizontal(),m=f.inverse,y=e.shape,v=m?g?y.x:y.y+y.height:g?y.x+y.width:y.y,b=(g?h:0)*(m?-1:1),x=(g?0:-h)*(m?-1:1),_=g?"x":"y",w=function(t,e,n){for(var a,i,r=t.length/2,o="x"===n?0:1,l=0,s=-1,u=0;u<r;u++)if(i=t[2*u+o],!isNaN(i)&&!isNaN(t[2*u+1-o]))if(0!==u){if(a<=e&&i>=e||a>=e&&i<=e){s=u;break}l=u,a=i}else a=i;return{range:[l,s],t:(e-a)/(i-a)}}(u,v,_),k=w.range,S=k[1]-k[0],M=void 0;if(S>=1){if(S>1&&!p){var I=ik(u,k[0]);l.attr({x:I[0]+b,y:I[1]+x}),i&&(M=c.getRawValue(k[0]))}else{(I=s.getPointOn(v,_))&&l.attr({x:I[0]+b,y:I[1]+x});var T=c.getRawValue(k[0]),C=c.getRawValue(k[1]);i&&(M=Hi(n,d,T,C,w.t))}a.lastFrameIndex=k[0]}else{var D=1===t||a.lastFrameIndex>0?k[0]:0;I=ik(u,D),i&&(M=c.getRawValue(D)),l.attr({x:I[0]+b,y:I[1]+x})}i&&Cc(l).setLabelText(M)}},e.prototype._doUpdateAnimation=function(t,e,n,a,i,r){var o=this._polyline,l=this._polygon,s=t.hostModel,u=function(t,e,n,a,i,r,o,l){for(var s=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=[],c=[],p=[],d=[],h=[],f=[],g=[],m=Ow(i,e,o),y=t.getLayout("points")||[],v=e.getLayout("points")||[],b=0;b<s.length;b++){var x=s[b],_=!0,w=void 0,k=void 0;switch(x.cmd){case"=":w=2*x.idx,k=2*x.idx1;var S=y[w],M=y[w+1],I=v[k],T=v[k+1];(isNaN(S)||isNaN(M))&&(S=I,M=T),u.push(S,M),c.push(I,T),p.push(n[w],n[w+1]),d.push(a[k],a[k+1]),g.push(e.getRawIndex(x.idx1));break;case"+":var C=x.idx,D=m.dataDimsForPoint,A=i.dataToPoint([e.get(D[0],C),e.get(D[1],C)]);k=2*C,u.push(A[0],A[1]),c.push(v[k],v[k+1]);var L=Rw(m,i,e,C);p.push(L[0],L[1]),d.push(a[k],a[k+1]),g.push(e.getRawIndex(C));break;case"-":_=!1}_&&(h.push(x),f.push(f.length))}f.sort((function(t,e){return g[t]-g[e]}));var P=u.length,z=Bw(P),O=Bw(P),R=Bw(P),N=Bw(P),E=[];for(b=0;b<f.length;b++){var B=f[b],V=2*b,F=2*B;z[V]=u[F],z[V+1]=u[F+1],O[V]=c[F],O[V+1]=c[F+1],R[V]=p[F],R[V+1]=p[F+1],N[V]=d[F],N[V+1]=d[F+1],E[b]=h[B]}return{current:z,next:O,stackedOnCurrent:R,stackedOnNext:N,status:E}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),c=u.current,p=u.stackedOnCurrent,d=u.next,h=u.stackedOnNext;if(i&&(c=ek(u.current,n,i),p=ek(u.stackedOnCurrent,n,i),d=ek(u.next,n,i),h=ek(u.stackedOnNext,n,i)),Qw(c,d)>3e3||l&&Qw(p,h)>3e3)return o.stopAnimation(),o.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:h})));o.shape.__points=u.current,o.shape.points=c;var f={shape:{points:d}};u.current!==c&&(f.shape.__points=u.next),o.stopAnimation(),Nu(o,f,s),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),Nu(l,{shape:{stackedOnPoints:h}},s),o.shape.points!==l.shape.points&&(l.shape.points=o.shape.points));for(var g=[],m=u.status,y=0;y<m.length;y++)if("="===m[y].cmd){var v=t.getItemGraphicEl(m[y].idx1);v&&g.push({el:v,ptIdx:y})}o.animators&&o.animators.length&&o.animators[0].during((function(){l&&l.dirtyShape();for(var t=o.shape.__points,e=0;e<g.length;e++){var n=g[e].el,a=2*g[e].ptIdx;n.x=t[a],n.y=t[a+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,a){t.__temp&&(e.remove(t),n.setItemGraphicEl(a,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(Uf);function sk(t,e){return{seriesType:t,plan:Gf(),reset:function(t){var n=t.getData(),a=t.coordinateSystem,i=t.pipelineContext,r=e||i.large;if(a){var o=O(a.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),l=o.length,s=n.getCalculationInfo("stackResultDimension");hb(n,o[0])&&(o[0]=s),hb(n,o[1])&&(o[1]=s);var u=n.getStore(),c=n.getDimensionIndex(o[0]),p=n.getDimensionIndex(o[1]);return l&&{progress:function(t,e){for(var n=t.end-t.start,i=r&&Bw(n*l),o=[],s=[],d=t.start,h=0;d<t.end;d++){var f=void 0;if(1===l){var g=u.get(c,d);f=a.dataToPoint(g,null,s)}else o[0]=u.get(c,d),o[1]=u.get(p,d),f=a.dataToPoint(o,null,s);r?(i[h++]=f[0],i[h++]=f[1]):e.setItemLayout(d,f.slice())}r&&e.setLayout("points",i)}}}}}}var uk={average:function(t){for(var e=0,n=0,a=0;a<t.length;a++)isNaN(t[a])||(e+=t[a],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]}},ck=function(t){return Math.round(t.length/2)};function pk(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),i=t.get("sampling"),r=t.coordinateSystem,o=a.count();if(o>10&&"cartesian2d"===r.type&&i){var l=r.getBaseAxis(),s=r.getOtherAxis(l),u=l.getExtent(),c=n.getDevicePixelRatio(),p=Math.abs(u[1]-u[0])*(c||1),d=Math.round(o/p);if(d>1){"lttb"===i&&t.setData(a.lttbDownSample(a.mapDimension(s.dim),1/d));var h=void 0;"string"==typeof i?h=uk[i]:"function"==typeof i&&(h=i),h&&t.setData(a.downSample(a.mapDimension(s.dim),1/d,h,ck))}}}}}var dk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return gb(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t){var e=this.coordinateSystem;if(e&&e.clampData){var n=e.dataToPoint(e.clampData(t)),a=this.getData(),i=a.getLayout("offset"),r=a.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=i+r/2,n}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Pf);Pf.registerClass(dk);var hk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(){return gb(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=Yc(dk.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}(dk),fk=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},gk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return n(e,t),e.prototype.getDefaultShape=function(){return new fk},e.prototype.buildPath=function(t,e){var n=e.cx,a=e.cy,i=Math.max(e.r0||0,0),r=Math.max(e.r,0),o=.5*(r-i),l=i+o,s=e.startAngle,u=e.endAngle,c=e.clockwise,p=Math.cos(s),d=Math.sin(s),h=Math.cos(u),f=Math.sin(u);(c?u-s<2*Math.PI:s-u<2*Math.PI)&&(t.moveTo(p*i+n,d*i+a),t.arc(p*l+n,d*l+a,o,-Math.PI+s,s,!c)),t.arc(n,a,r,s,u,!c),t.moveTo(h*r+n,f*r+a),t.arc(h*l+n,f*l+a,o,u-2*Math.PI,u-Math.PI,!c),0!==i&&(t.arc(n,a,i,u,s,c),t.moveTo(p*i+n,f*i+a)),t.closePath()},e}(Jo);function mk(t,e,n){return e*Math.sin(t)*(n?-1:1)}function yk(t,e,n){return e*Math.cos(t)*(n?1:-1)}var vk=[0,0],bk=Math.max,xk=Math.min,_k=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return n(e,t),e.prototype.render=function(t,e,n,a){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,a))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._incrementalRenderLarge(t,e)},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,a){var i,r=this.group,o=t.getData(),l=this._data,s=t.coordinateSystem,u=s.getBaseAxis();"cartesian2d"===s.type?i=u.isHorizontal():"polar"===s.type&&(i="angle"===u.dim);var c=t.isAnimationEnabled()?t:null,p=function(t,e){var n=t.get("realtimeSort",!0),a=e.getBaseAxis();if(n&&"category"===a.type&&"cartesian2d"===e.type)return{baseAxis:a,otherAxis:e.getOtherAxis(a)}}(t,s);p&&this._enableRealtimeSort(p,o,n);var d=t.get("clip",!0)||p,h=function(t,e){var n=t.getArea&&t.getArea();if(Kw(t,"cartesian2d")){var a=t.getBaseAxis();if("category"!==a.type||!a.onBand){var i=e.getLayout("bandWidth");a.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}(s,o);r.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),m=t.getModel("backgroundStyle"),y=m.get("borderRadius")||0,v=[],b=this._backgroundEls,x=a&&a.isInitSort,_=a&&"changeAxisOrder"===a.type;function w(t){var e=Dk[s.type](o,t),n=function(t,e,n){return new("polar"===t.type?iu:cl)({shape:Nk(e,n,t),silent:!0,z2:0})}(s,i,e);return n.useStyle(m.getItemStyle()),"cartesian2d"===s.type&&n.setShape("r",y),v[t]=n,n}o.diff(l).add((function(e){var n=o.getItemModel(e),a=Dk[s.type](o,e,n);if(g&&w(e),o.hasValue(e)&&Ck[s.type](a)){var l=!1;d&&(l=wk[s.type](h,a));var m=kk[s.type](t,o,e,a,i,c,u.model,!1,f);Lk(m,o,e,n,a,t,i,"polar"===s.type),x?m.attr({shape:a}):p?Sk(p,c,m,a,e,i,!1,!1):Eu(m,{shape:a},t,e),o.setItemGraphicEl(e,m),r.add(m),m.ignore=l}})).update((function(e,n){var a=o.getItemModel(e),k=Dk[s.type](o,e,a);if(g){var S=void 0;0===b.length?S=w(n):((S=b[n]).useStyle(m.getItemStyle()),"cartesian2d"===s.type&&S.setShape("r",y),v[e]=S);var M=Dk[s.type](o,e);Nu(S,{shape:Nk(i,M,s)},c,e)}var I=l.getItemGraphicEl(n);if(o.hasValue(e)&&Ck[s.type](k)){var T=!1;d&&(T=wk[s.type](h,k))&&r.remove(I),I?Hu(I):I=kk[s.type](t,o,e,k,i,c,u.model,!!I,f),_||Lk(I,o,e,a,k,t,i,"polar"===s.type),x?I.attr({shape:k}):p?Sk(p,c,I,k,e,i,!0,_):Nu(I,{shape:k},t,e,null),o.setItemGraphicEl(e,I),I.ignore=T,r.add(I)}else r.remove(I)})).remove((function(e){var n=l.getItemGraphicEl(e);n&&Gu(n,t,e)})).execute();var k=this._backgroundGroup||(this._backgroundGroup=new Va);k.removeAll();for(var S=0;S<v.length;++S)k.add(v[S]);r.add(k),this._backgroundEls=v,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),Ok(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),Ok(e,this.group,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)?qw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var a=this;if(e.count()){var i=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var r=function(t){var n=e.getItemGraphicEl(t);if(n){var a=n.shape;return(i.isHorizontal()?Math.abs(a.height):Math.abs(a.width))||0}return 0};this._onRendered=function(){a._updateSortWithinSameData(e,r,i,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var a=[];return t.each(t.mapDimension(e.dim),(function(t,e){var i=n(e);i=null==i?NaN:i,a.push({dataIndex:e,mappedValue:i,ordinalNumber:t})})),a.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:O(a,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var a=n.scale,i=t.mapDimension(n.dim),r=Number.MAX_VALUE,o=0,l=a.getOrdinalMeta().categories.length;o<l;++o){var s=t.rawIndexOf(i,a.getRawOrdinalNumber(o)),u=s<0?Number.MIN_VALUE:e(t.indexOfRawIndex(s));if(u>r)return!0;r=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,a=n.getExtent(),i=Math.max(0,a[0]),r=Math.min(a[1],n.getOrdinalMeta().categories.length-1);i<=r;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,a){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var a=e.baseAxis,i=this._dataSort(t,a,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:i})},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){Gu(e,t,wl(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}(Uf),wk={cartesian2d:function(t,e){var n=e.width<0?-1:1,a=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,r=t.y+t.height,o=bk(e.x,t.x),l=xk(e.x+e.width,i),s=bk(e.y,t.y),u=xk(e.y+e.height,r),c=l<o,p=u<s;return e.x=c&&o>i?l:o,e.y=p&&s>r?u:s,e.width=c?0:l-o,e.height=p?0:u-s,n<0&&(e.x+=e.width,e.width=-e.width),a<0&&(e.y+=e.height,e.height=-e.height),c||p},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var a=e.r;e.r=e.r0,e.r0=a}var i=xk(e.r,t.r),r=bk(e.r0,t.r0);e.r=i,e.r0=r;var o=i-r<0;return n<0&&(a=e.r,e.r=e.r0,e.r0=a),o}},kk={cartesian2d:function(t,e,n,a,i,r,o,l,s){var u=new cl({shape:I({},a),z2:1});return u.__dataIndex=n,u.name="item",r&&(u.shape[i?"height":"width"]=0),u},polar:function(t,e,n,a,i,r,o,l,s){var u=!i&&s?gk:iu,c=new u({shape:a,z2:1});c.name="item";var p,d,h=Ak(i);if(c.calculateTextPosition=(p=h,d=({isRoundCap:u===gk}||{}).isRoundCap,function(t,e,n){var a=e.position;if(!a||a instanceof Array)return Ca(t,e,n);var i=p(a),r=null!=e.distance?e.distance:5,o=this.shape,l=o.cx,s=o.cy,u=o.r,c=o.r0,h=(u+c)/2,f=o.startAngle,g=o.endAngle,m=(f+g)/2,y=d?Math.abs(u-c)/2:0,v=Math.cos,b=Math.sin,x=l+u*v(f),_=s+u*b(f),w="left",k="top";switch(i){case"startArc":x=l+(c-r)*v(m),_=s+(c-r)*b(m),w="center",k="top";break;case"insideStartArc":x=l+(c+r)*v(m),_=s+(c+r)*b(m),w="center",k="bottom";break;case"startAngle":x=l+h*v(f)+mk(f,r+y,!1),_=s+h*b(f)+yk(f,r+y,!1),w="right",k="middle";break;case"insideStartAngle":x=l+h*v(f)+mk(f,-r+y,!1),_=s+h*b(f)+yk(f,-r+y,!1),w="left",k="middle";break;case"middle":x=l+h*v(m),_=s+h*b(m),w="center",k="middle";break;case"endArc":x=l+(u+r)*v(m),_=s+(u+r)*b(m),w="center",k="bottom";break;case"insideEndArc":x=l+(u-r)*v(m),_=s+(u-r)*b(m),w="center",k="top";break;case"endAngle":x=l+h*v(g)+mk(g,r+y,!0),_=s+h*b(g)+yk(g,r+y,!0),w="left",k="middle";break;case"insideEndAngle":x=l+h*v(g)+mk(g,-r+y,!0),_=s+h*b(g)+yk(g,-r+y,!0),w="right",k="middle";break;default:return Ca(t,e,n)}return(t=t||{}).x=x,t.y=_,t.align=w,t.verticalAlign=k,t}),r){var f=i?"r":"endAngle",g={};c.shape[f]=i?0:a.startAngle,g[f]=a[f],(l?Nu:Eu)(c,{shape:g},r)}return c}};function Sk(t,e,n,a,i,r,o,l){var s,u;r?(u={x:a.x,width:a.width},s={y:a.y,height:a.height}):(u={y:a.y,height:a.height},s={x:a.x,width:a.width}),l||(o?Nu:Eu)(n,{shape:s},e,i,null),(o?Nu:Eu)(n,{shape:u},e?t.baseAxis.model:null,i)}function Mk(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var Ik=["x","y","width","height"],Tk=["cx","cy","r","startAngle","endAngle"],Ck={cartesian2d:function(t){return!Mk(t,Ik)},polar:function(t){return!Mk(t,Tk)}},Dk={cartesian2d:function(t,e,n){var a=t.getItemLayout(e),i=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var a=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),r=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(a,i,r)}(n,a):0,r=a.width>0?1:-1,o=a.height>0?1:-1;return{x:a.x+r*i/2,y:a.y+o*i/2,width:a.width-r*i,height:a.height-o*i}},polar:function(t,e,n){var a=t.getItemLayout(e);return{cx:a.cx,cy:a.cy,r0:a.r0,r:a.r,startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}}};function Ak(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 Lk(t,e,n,a,i,r,o,l){var s=e.getItemVisual(n,"style");l||t.setShape("r",a.get(["itemStyle","borderRadius"])||0),t.useStyle(s);var u=a.getShallow("cursor");u&&t.attr("cursor",u);var c=l?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=xc(a);bc(t,p,{labelFetcher:r,labelDataIndex:n,defaultText:Iw(r.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:c});var d=t.getTextContent();if(l&&d){var h=a.get(["label","position"]);t.textConfig.inside="middle"===h||null,function(t,e,n,a){if("number"!=typeof a)if(G(e))t.setTextConfig({rotation:0});else{var i,r=t.shape,o=r.clockwise?r.startAngle:r.endAngle,l=r.clockwise?r.endAngle:r.startAngle,s=(o+l)/2,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=s;break;case"startAngle":case"insideStartAngle":i=o;break;case"endAngle":case"insideEndAngle":i=l;break;default:return void t.setTextConfig({rotation:0})}var c=1.5*Math.PI-i;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),t.setTextConfig({rotation:c})}else t.setTextConfig({rotation:a})}(t,"outside"===h?c:h,Ak(o),a.get(["label","rotate"]))}Dc(d,p,r.getRawValue(n),(function(t){return Tw(e,t)}));var f=a.getModel(["emphasis"]);ps(t,f.get("focus"),f.get("blurScope")),gs(t,a),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(i)&&(t.style.fill="none",t.style.stroke="none",z(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var Pk=function(){},zk=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return n(e,t),e.prototype.getDefaultShape=function(){return new Pk},e.prototype.buildPath=function(t,e){for(var n=e.points,a=this.__startPoint,i=this.__baseDimIdx,r=0;r<n.length;r+=2)a[i]=n[r+i],t.moveTo(a[0],a[1]),t.lineTo(n[r],n[r+1])},e}(Jo);function Ok(t,e,n){var a=t.getData(),i=[],r=a.getLayout("valueAxisHorizontal")?1:0;i[1-r]=a.getLayout("valueAxisStart");var o=a.getLayout("largeDataIndices"),l=a.getLayout("barWidth"),s=t.getModel("backgroundStyle");if(t.get("showBackground",!0)){var u=a.getLayout("largeBackgroundPoints"),c=[];c[1-r]=a.getLayout("backgroundStart");var p=new zk({shape:{points:u},incremental:!!n,silent:!0,z2:0});p.__startPoint=c,p.__baseDimIdx=r,p.__largeDataIndices=o,p.__barWidth=l,function(t,e,n){var a=e.get("borderColor")||e.get("color"),i=e.getItemStyle();t.useStyle(i),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=n.getLayout("barWidth")}(p,s,a),e.add(p)}var d=new zk({shape:{points:a.getLayout("largePoints")},incremental:!!n});d.__startPoint=i,d.__baseDimIdx=r,d.__largeDataIndices=o,d.__barWidth=l,e.add(d),function(t,e,n){var a=n.getVisual("style");t.useStyle(I({},a)),t.style.fill=null,t.style.stroke=a.fill,t.style.lineWidth=n.getLayout("barWidth")}(d,0,a),wl(d).seriesIndex=t.seriesIndex,t.get("silent")||(d.on("mousedown",Rk),d.on("mousemove",Rk))}var Rk=Qf((function(t){var e=function(t,e,n){var a=t.__baseDimIdx,i=1-a,r=t.shape.points,o=t.__largeDataIndices,l=Math.abs(t.__barWidth/2),s=t.__startPoint[i];vk[0]=e,vk[1]=n;for(var u=vk[a],c=vk[1-a],p=u-l,d=u+l,h=0,f=r.length/2;h<f;h++){var g=2*h,m=r[g+a],y=r[g+i];if(m>=p&&m<=d&&(s<=y?c>=s&&c<=y:c>=y&&c<=s))return o[h]}return-1}(this,t.offsetX,t.offsetY);wl(this).dataIndex=e>=0?e:null}),30,!1);function Nk(t,e,n){if(Kw(n,"cartesian2d")){var a=e,i=n.getArea();return{x:t?a.x:i.x,y:t?i.y:a.y,width:t?a.width:i.width,height:t?i.height:a.height}}var r=e;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:t?i.r0:r.r0,r:t?i.r:r.r,startAngle:t?r.startAngle:0,endAngle:t?r.endAngle:2*Math.PI}}var Ek=2*Math.PI,Bk=Math.PI/180;function Vk(t,e){return Xp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Fk(t,e){var n=Vk(t,e),a=t.get("center"),i=t.get("radius");G(i)||(i=[0,i]),G(a)||(a=[a,a]);var r=qa(n.width,e.getWidth()),o=qa(n.height,e.getHeight()),l=Math.min(r,o);return{cx:qa(a[0],r)+n.x,cy:qa(a[1],o)+n.y,r0:qa(i[0],l/2),r:qa(i[1],l/2)}}function Gk(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),a=e.mapDimension("value"),i=Vk(t,n),r=Fk(t,n),o=r.cx,l=r.cy,s=r.r,u=r.r0,c=-t.get("startAngle")*Bk,p=t.get("minAngle")*Bk,d=0;e.each(a,(function(t){!isNaN(t)&&d++}));var h=e.getSum(a),f=Math.PI/(h||d)*2,g=t.get("clockwise"),m=t.get("roseType"),y=t.get("stillShowZeroSum"),v=e.getDataExtent(a);v[0]=0;var b=Ek,x=0,_=c,w=g?1:-1;if(e.setLayout({viewRect:i,r:s}),e.each(a,(function(t,n){var a;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:o,cy:l,r0:u,r:m?NaN:s});else{(a="area"!==m?0===h&&y?f:t*f:Ek/d)<p?(a=p,b-=p):x+=t;var i=_+w*a;e.setItemLayout(n,{angle:a,startAngle:_,endAngle:i,clockwise:g,cx:o,cy:l,r0:u,r:m?ja(t,v,[u,s]):s}),_=i}})),b<Ek&&d)if(b<=.001){var k=Ek/d;e.each(a,(function(t,n){if(!isNaN(t)){var a=e.getItemLayout(n);a.angle=k,a.startAngle=c+w*n*k,a.endAngle=c+w*(n+1)*k}}))}else f=b/x,_=c,e.each(a,(function(t,n){if(!isNaN(t)){var a=e.getItemLayout(n),i=a.angle===p?p:t*f;a.startAngle=_,a.endAngle=_+w*i,_+=w*i}}))}))}function Hk(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var a=t.getData();a.filterSelf((function(t){for(var e=a.getName(t),i=0;i<n.length;i++)if(!n[i].isSelected(e))return!1;return!0}))}}}}var Wk=Math.PI/180;function Uk(t,e,n,a,i,r,o,l,s,u){if(!(t.length<2)){for(var c=t.length,p=0;p<c;p++)if("outer"===t[p].position&&"labelLine"===t[p].labelAlignTo){var d=t[p].label.x-u;t[p].linePoints[1][0]+=d,t[p].label.x=u}f_(t,s,s+o)&&function(t){for(var r={list:[],maxY:0},o={list:[],maxY:0},l=0;l<t.length;l++)if("none"===t[l].labelAlignTo){var s=t[l],u=s.label.y>n?o:r,c=Math.abs(s.label.y-n);if(c>u.maxY){var p=s.label.x-e-s.len2*i,d=a+s.len,f=Math.abs(p)<d?Math.sqrt(c*c/(1-p*p/d/d)):d;u.rB=f,u.maxY=c}u.list.push(s)}h(r),h(o)}(t)}function h(t){for(var r=t.rB,o=r*r,l=0;l<t.list.length;l++){var s=t.list[l],u=Math.abs(s.label.y-n),c=a+s.len,p=c*c,d=Math.sqrt((1-Math.abs(u*u/o))*p);s.label.x=e+(d+s.len2)*i}}}function Yk(t){return"center"===t.position}function Xk(t){var e,n,a=t.getData(),i=[],r=!1,o=(t.get("minShowLabelAngle")||0)*Wk,l=a.getLayout("viewRect"),s=a.getLayout("r"),u=l.width,c=l.x,p=l.y,d=l.height;function h(t){t.ignore=!0}a.each((function(t){var l=a.getItemGraphicEl(t),p=l.shape,d=l.getTextContent(),f=l.getTextGuideLine(),g=a.getItemModel(t),m=g.getModel("label"),y=m.get("position")||g.get(["emphasis","label","position"]),v=m.get("distanceToLabelLine"),b=m.get("alignTo"),x=qa(m.get("edgeDistance"),u),_=m.get("bleedMargin"),w=g.getModel("labelLine"),k=w.get("length");k=qa(k,u);var S=w.get("length2");if(S=qa(S,u),Math.abs(p.endAngle-p.startAngle)<o)return z(d.states,h),void(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}(d)){var M,I,T,C,D=(p.startAngle+p.endAngle)/2,A=Math.cos(D),L=Math.sin(D);e=p.cx,n=p.cy;var P,O="inside"===y||"inner"===y;if("center"===y)M=p.cx,I=p.cy,C="center";else{var R=(O?(p.r+p.r0)/2*A:p.r*A)+e,N=(O?(p.r+p.r0)/2*L:p.r*L)+n;if(M=R+3*A,I=N+3*L,!O){var E=R+A*(k+s-p.r),B=N+L*(k+s-p.r),V=E+(A<0?-1:1)*S;M="edge"===b?A<0?c+x:c+u-x:V+(A<0?-v:v),I=B,T=[[R,N],[E,B],[V,B]]}C=O?"center":"edge"===b?A>0?"right":"left":A>0?"left":"right"}var F=m.get("rotate");if("number"==typeof F)P=F*(Math.PI/180);else if("center"===y)P=0;else{var G=A<0?-D+Math.PI:-D;"radial"===F||!0===F?P=G:"tangential"===F&&"outside"!==y&&"outer"!==y?(P=G+Math.PI/2)>Math.PI/2&&(P-=Math.PI):P=0}if(r=!!P,d.x=M,d.y=I,d.rotation=P,d.setStyle({verticalAlign:"middle"}),O){d.setStyle({align:C});var H=d.states.select;H&&(H.x+=d.x,H.y+=d.y)}else{var W=d.getBoundingRect().clone();W.applyTransform(d.getComputedTransform());var U=(d.style.margin||0)+2.1;W.y-=U/2,W.height+=U,i.push({label:d,labelLine:f,position:y,len:k,len2:S,minTurnAngle:w.get("minTurnAngle"),maxSurfaceAngle:w.get("maxSurfaceAngle"),surfaceNormal:new sa(A,L),linePoints:T,textAlign:C,labelDistance:v,labelAlignTo:b,edgeDistance:x,bleedMargin:_,rect:W})}l.setTextConfig({inside:O})}})),!r&&t.get("avoidLabelOverlap")&&function(t,e,n,a,i,r,o,l){for(var s=[],u=[],c=Number.MAX_VALUE,p=-Number.MAX_VALUE,d=0;d<t.length;d++){var h=t[d].label;Yk(t[d])||(h.x<e?(c=Math.min(c,h.x),s.push(t[d])):(p=Math.max(p,h.x),u.push(t[d])))}for(Uk(u,e,n,a,1,0,r,0,l,p),Uk(s,e,n,a,-1,0,r,0,l,c),d=0;d<t.length;d++){var f=t[d];if(h=f.label,!Yk(f)){var g=f.linePoints;if(g){var m="edge"===f.labelAlignTo,y=f.rect.width,v=void 0;(v=m?h.x<e?g[2][0]-f.labelDistance-o-f.edgeDistance:o+i-f.edgeDistance-g[2][0]-f.labelDistance:h.x<e?h.x-o-f.bleedMargin:o+i-h.x-f.bleedMargin)<f.rect.width&&(f.label.style.width=v,"edge"===f.labelAlignTo&&(y=v));var b=g[1][0]-g[2][0];m?h.x<e?g[2][0]=o+f.edgeDistance+y+f.labelDistance:g[2][0]=o+i-f.edgeDistance-y-f.labelDistance:(h.x<e?g[2][0]=h.x+f.labelDistance:g[2][0]=h.x-f.labelDistance,g[1][0]=g[2][0]+b),g[1][1]=g[2][1]=h.y}}}}(i,e,n,s,u,d,c,p);for(var f=0;f<i.length;f++){var g=i[f],m=g.label,y=g.labelLine,v=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),v&&(z(m.states,h),m.ignore=!0);var b=m.states.select;b&&(b.x+=m.x,b.y+=m.y)}if(y){var x=g.linePoints;v||!x?(z(y.states,h),y.ignore=!0):(o_(x,g.minTurnAngle),l_(x,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new sa(x[0][0],x[0][1])})}}}function Zk(t,e,n){var a=t.get("borderRadius");return null==a?n?{innerCornerRadius:0,cornerRadius:0}:null:(G(a)||(a=[a,a]),{innerCornerRadius:Ta(a[0],e.r0),cornerRadius:Ta(a[1],e.r)})}var jk=function(t){function e(e,n,a){var i=t.call(this)||this;i.z2=2;var r=new hl;return i.setTextContent(r),i.updateData(e,n,a,!0),i}return n(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,l=t.getItemModel(e),s=l.getModel("emphasis"),u=t.getItemLayout(e),c=I(Zk(l.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))r.setShape(c);else{i?(r.setShape(c),"scale"===o.getShallow("animationType")?(r.shape.r=u.r0,Eu(r,{shape:{r:u.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),Eu(r,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,e)):(r.shape.endAngle=u.startAngle,Nu(r,{shape:{endAngle:u.endAngle}},o,e))):(Hu(r),Nu(r,{shape:c},o,e)),r.useStyle(t.getItemVisual(e,"style")),gs(r,l);var p=(u.startAngle+u.endAngle)/2,d=o.get("selectedOffset"),h=Math.cos(p)*d,f=Math.sin(p)*d,g=l.getShallow("cursor");g&&r.attr("cursor",g),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=a({r:u.r+(s.get("scale")&&s.get("scaleSize")||0)},Zk(s.getModel("itemStyle"),u)),I(r.ensureState("select"),{x:h,y:f,shape:Zk(l.getModel(["select","itemStyle"]),u)}),I(r.ensureState("blur"),{shape:Zk(l.getModel(["blur","itemStyle"]),u)});var m=r.getTextGuideLine(),y=r.getTextContent();m&&I(m.ensureState("select"),{x:h,y:f}),I(y.ensureState("select"),{x:h,y:f}),ps(this,s.get("focus"),s.get("blurScope"))}},e.prototype._updateLabel=function(t,e,n){var a=this,i=e.getItemModel(n),r=i.getModel("labelLine"),o=e.getItemVisual(n,"style"),l=o&&o.fill,s=o&&o.opacity;bc(a,xc(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:s,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var u=a.getTextContent();a.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)a.removeTextGuideLine();else{var p=this.getTextGuideLine();p||(p=new du,this.setTextGuideLine(p)),c_(this,p_(i),{stroke:l,opacity:nt(r.get(["lineStyle","opacity"]),s,1)})}},e}(iu),qk=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return n(e,t),e.prototype.init=function(){var t=new Va;this._sectorGroup=t},e.prototype.render=function(t,e,n,a){var i,r=t.getData(),o=this._data,l=this.group;if(!o&&r.count()>0){for(var s=r.getItemLayout(0),u=1;isNaN(s&&s.startAngle)&&u<r.count();++u)s=r.getItemLayout(u);s&&(i=s.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),0===r.count()&&t.get("showEmptyCircle")){var c=new iu({shape:Fk(t,n)});c.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=c,l.add(c)}r.diff(o).add((function(t){var e=new jk(r,t,i);r.setItemGraphicEl(t,e),l.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(r,t,i),n.off("click"),l.add(n),r.setItemGraphicEl(t,n)})).remove((function(e){Gu(o.getItemGraphicEl(e),t,e)})).execute(),Xk(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=r)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var a=t[0]-n.cx,i=t[1]-n.cy,r=Math.sqrt(a*a+i*i);return r<=n.r&&r>=n.r0}},e.type="pie",e}(Uf);function Kk(t,e,n){e=G(e)&&{coordDimensions:e}||I({encodeDefine:t.getEncode()},e);var a=t.getSource(),i=lb(a,e).dimensions,r=new ob(i,t);return r.initData(a,n),r}var $k=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}(),Jk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new $k(V(this.getData,this),V(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return Kk(this,{coordDimensions:["value"],encodeDefaulter:F(yd,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),a=t.prototype.getDataParams.call(this,e),i=[];return n.each(n.mapDimension("value"),(function(t){i.push(t)})),a.percent=ei(i,e,n.hostModel.get("percentPrecision")),a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){wi(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={zlevel:0,z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,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}(Pf),Qk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){return gb(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.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,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}(Pf),tS=function(){},eS=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new tS},e.prototype.buildPath=function(t,e){var n=e.points,a=e.size,i=this.symbolProxy,r=i.shape,o=t.getContext?t.getContext():t;if(o&&a[0]<4)this._ctx=o;else{this._ctx=null;for(var l=0;l<n.length;){var s=n[l++],u=n[l++];isNaN(s)||isNaN(u)||this.softClipShape&&!this.softClipShape.contain(s,u)||(r.x=s-a[0]/2,r.y=u-a[1]/2,r.width=a[0],r.height=a[1],i.buildPath(t,r,!0))}}},e.prototype.afterBrush=function(){var t=this.shape,e=t.points,n=t.size,a=this._ctx;if(a)for(var i=0;i<e.length;){var r=e[i++],o=e[i++];isNaN(r)||isNaN(o)||this.softClipShape&&!this.softClipShape.contain(r,o)||a.fillRect(r-n[0]/2,o-n[1]/2,n[0],n[1])}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,a=n.points,i=n.size,r=Math.max(i[0],4),o=Math.max(i[1],4),l=a.length/2-1;l>=0;l--){var s=2*l,u=a[s]-r/2,c=a[s+1]-o/2;if(t>=u&&e>=c&&t<=u+r&&e<=c+o)return l}return-1},e}(Jo),nS=function(){function t(){this.group=new Va}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t,e){this.group.removeAll();var n=new eS({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},t.prototype.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),a=4*t.startIndex*2;e=new Float32Array(e.buffer,a,n)}t.setShape("points",e)}))}},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new Pu({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e,n){var a;this._incremental?(a=new eS,this._incremental.addDisplayable(a,!0)):((a=new eS({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(a)),a.setShape({points:e.getLayout("points")}),this._setCommon(a,e,!!this._incremental,n)},t.prototype._setCommon=function(t,e,n,a){var i=e.hostModel;a=a||{};var r=e.getVisual("symbolSize");t.setShape("size",r instanceof Array?r:[r,r]),t.softClipShape=a.clipShape||null,t.symbolProxy=Jg(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 l=e.getVisual("style"),s=l&&l.fill;if(s&&t.setColor(s),!n){var u=wl(t);u.seriesIndex=i.seriesIndex,t.on("mousemove",(function(e){u.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(u.dataIndex=n+(t.startIndex||0))}))}},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),aS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=t.getData();this._updateSymbolDraw(a,t).updateData(a,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var a=t.getData();this._updateSymbolDraw(a,t).incrementalPrepareUpdate(a),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 a=t.getData();if(this.group.dirty(),!this._finished||a.count()>1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=sk("").reset(t,e,n);i.progress&&i.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,a=e.pipelineContext.large;return n&&a===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=a?new nS:new zw,this._isLargeDraw=a,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}(Uf),iS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,zlevel:0,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Qp),rS=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",Ei).models[0]},e.type="cartesian2dAxis",e}(Qp);L(rS,_x);var oS={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#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,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},lS=S({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},oS),sS=S({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}}},oS),uS={category:lS,value:sS,time:S({scale:!0,splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},sS),log:T({scale:!0,logBase:10},sS)},cS={value:1,category:1,time:1,log:1};function pS(t,e,a,i){z(cS,(function(r,o){var l=S(S({},uS[o],!0),i,!0),s=function(t){function a(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+o,n}return n(a,t),a.prototype.mergeDefaultAndTheme=function(t,e){var n=jp(this),a=n?Kp(t):{};S(t,e.getTheme().get(o+"Axis")),S(t,this.getDefaultOption()),t.type=dS(t),n&&qp(t,a,n)},a.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=vb.createByAxisModel(this))},a.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},a.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},a.type=e+"Axis."+o,a.defaultOption=l,a}(a);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",dS)}function dS(t){return t.type||(t.data?"category":"value")}var hS=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 O(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),N(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}(),fS=["x","y"];function gS(t){return"interval"===t.type||"time"===t.type}var mS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=fS,e}return n(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(gS(t)&&gS(e)){var n=t.getExtent(),a=e.getExtent(),i=this.dataToPoint([n[0],a[0]]),r=this.dataToPoint([n[1],a[1]]),o=n[1]-n[0],l=a[1]-a[0];if(o&&l){var s=(r[0]-i[0])/o,u=(r[1]-i[1])/l,c=i[0]-n[0]*s,p=i[1]-a[0]*u,d=this._transform=[s,0,0,u,c,p];this._invTransform=jn([],d)}}},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.dataToPoint=function(t,e,n){n=n||[];var a=t[0],i=t[1];if(this._transform&&null!=a&&isFinite(a)&&null!=i&&isFinite(i))return Rt(n,t,this._transform);var r=this.getAxis("x"),o=this.getAxis("y");return n[0]=r.toGlobalCoord(r.dataToCoord(a,e)),n[1]=o.toGlobalCoord(o.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,a=this.getAxis("y").scale,i=n.getExtent(),r=a.getExtent(),o=n.parse(t[0]),l=a.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(r[0],r[1]),l),Math.max(r[0],r[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return Rt(n,t,this._invTransform);var a=this.getAxis("x"),i=this.getAxis("y");return n[0]=a.coordToData(a.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),a=Math.min(e[0],e[1]),i=Math.max(t[0],t[1])-n,r=Math.max(e[0],e[1])-a;return new ya(n,a,i,r)},e}(hS),yS=function(t){function e(e,n,a,i,r){var o=t.call(this,e,n,a)||this;return o.index=0,o.type=i||"value",o.position=r||"bottom",o}return n(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}(Fx);function vS(t,e,n){n=n||{};var a=t.coordinateSystem,i=e.axis,r={},o=i.getAxesOnZeroOf()[0],l=i.position,s=o?"onZero":l,u=i.dim,c=a.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=e.get("offset")||0,f="x"===u?[p[2]-h,p[3]+h]:[p[0]-h,p[1]+h];if(o){var g=o.toGlobalCoord(o.dataToCoord(0));f[d.onZero]=Math.max(Math.min(g,f[1]),f[0])}r.position=["y"===u?f[d[s]]:p[0],"x"===u?f[d[s]]:p[3]],r.rotation=Math.PI/2*("x"===u?0:1),r.labelDirection=r.tickDirection=r.nameDirection={top:-1,bottom:1,left:-1,right:1}[l],r.labelOffset=o?f[d[l]]-f[d.onZero]:0,e.get(["axisTick","inside"])&&(r.tickDirection=-r.tickDirection),tt(n.labelInside,e.get(["axisLabel","inside"]))&&(r.labelDirection=-r.labelDirection);var m=e.get(["axisLabel","rotate"]);return r.labelRotate="top"===s?-m:m,r.z2=1,r}function bS(t){return"cartesian2d"===t.get("coordinateSystem")}function xS(t){var e={xAxisModel:null,yAxisModel:null};return z(e,(function(n,a){var i=a.replace(/Model$/,""),r=t.getReferringComponents(i,Ei).models[0];e[a]=r})),e}var _S=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=fS,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;this._updateScale(t,this.model),z(n.x,(function(t){hx(t.scale,t.model)})),z(n.y,(function(t){hx(t.scale,t.model)}));var a={};z(n.x,(function(t){kS(n,"y",t,a)})),z(n.y,(function(t){kS(n,"x",t,a)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),r=Xp(a,{width:e.getWidth(),height:e.getHeight()});this._rect=r;var o=this._axesList;function l(){z(o,(function(t){var e=t.isHorizontal(),n=e?[0,r.width]:[0,r.height],a=t.inverse?1:0;t.setExtent(n[a],n[1-a]),function(t,e){var n=t.getExtent(),a=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return a-t+e}}(t,e?r.x:r.y)}))}l(),i&&(z(o,(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 a,i,r=n.getExtent();i=n instanceof Tb?n.count():(a=n.getTicks()).length;var o,l=t.getLabelModel(),s=gx(t),u=1;i>40&&(u=Math.ceil(i/40));for(var c=0;c<i;c+=u){var p=s(a?a[c]:{value:r[0]+c},c),d=yx(l.getTextRect(p),l.get("rotate")||0);o?o.union(d):o=d}return o}}(t);if(e){var n=t.isHorizontal()?"height":"width",a=t.model.get(["axisLabel","margin"]);r[n]-=e[n]+a,"top"===t.position?r.y+=e.height+a:"left"===t.position&&(r.x+=e.width+a)}}})),l()),z(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]}X(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,i=this._coordsList;a<i.length;a++)if(i[a].getAxis("x").index===t||i[a].getAxis("y").index===e)return i[a]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.dataToPoint(n):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.pointToData(n):a.axis?a.axis.coordToData(a.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,a=t.seriesModel,i=t.xAxisModel||a&&a.getReferringComponents("xAxis",Ei).models[0],r=t.yAxisModel||a&&a.getReferringComponents("yAxis",Ei).models[0],o=t.gridModel,l=this._coordsList;return a?D(l,e=a.coordinateSystem)<0&&(e=null):i&&r?e=this.getCartesian(i.componentIndex,r.componentIndex):i?n=this.getAxis("x",i.componentIndex):r?n=this.getAxis("y",r.componentIndex):o&&o.coordinateSystem===this&&(e=this._coordsList[0]),{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 a=this,i=this,r={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",s("x"),this),e.eachComponent("yAxis",s("y"),this),!l.x||!l.y)return this._axesMap={},void(this._axesList=[]);function s(e){return function(n,a){if(wS(n,t)){var s=n.get("position");"x"===e?"top"!==s&&"bottom"!==s&&(s=r.bottom?"top":"bottom"):"left"!==s&&"right"!==s&&(s=r.left?"right":"left"),r[s]=!0;var u=new yS(e,fx(n),[0,0],n.get("type"),s),c="category"===u.type;u.onBand=c&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=i,u.index=a,i._axesList.push(u),o[e][a]=u,l[e]++}}}this._axesMap=o,z(o.x,(function(e,n){z(o.y,(function(i,r){var o="x"+n+"y"+r,l=new mS(o);l.master=a,l.model=t,a._coordsMap[o]=l,a._coordsList.push(l),l.addAxis(e),l.addAxis(i)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){z(xx(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}z(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(bS(t)){var a=xS(t),i=a.xAxisModel,r=a.yAxisModel;if(!wS(i,e)||!wS(r,e))return;var o=this.getCartesian(i.componentIndex,r.componentIndex),l=t.getData(),s=o.getAxis("x"),u=o.getAxis("y");"list"===l.type&&(n(l,s),n(l,u))}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return z(this.getCartesians(),(function(a){var i=null!=t&&"auto"!==t?a.getAxis(t):a.getBaseAxis(),r=a.getOtherAxis(i);D(e,i)<0&&e.push(i),D(n,r)<0&&n.push(r)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var a=[];return e.eachComponent("grid",(function(i,r){var o=new t(i,e,n);o.name="grid_"+r,o.resize(i,n,!0),i.coordinateSystem=o,a.push(o)})),e.eachSeries((function(t){if(bS(t)){var e=xS(t),n=e.xAxisModel,a=e.yAxisModel,i=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=i.getCartesian(n.componentIndex,a.componentIndex)}})),a},t.dimensions=fS,t}();function wS(t,e){return t.getCoordSysModel()===e}function kS(t,e,n,a){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,r=t[e],o=n.model,l=o.get(["axisLine","onZero"]),s=o.get(["axisLine","onZeroAxisIndex"]);if(l){if(null!=s)SS(r[s])&&(i=r[s]);else for(var u in r)if(r.hasOwnProperty(u)&&SS(r[u])&&!a[c(r[u])]){i=r[u];break}i&&(a[c(i)]=!0)}function c(t){return t.dim+"_"+t.index}}function SS(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],a=e[1];return!(n>0&&a>0||n<0&&a<0)}(t)}var MS=Math.PI,IS=function(){function t(t,e){this.group=new Va,this.opt=e,this.axisModel=t,T(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new Va({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!TS[t]},t.prototype.add=function(t){TS[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var a,i,r=ii(e-t);return ri(r)?(i=n>0?"top":"bottom",a="center"):ri(r-MS)?(i=n>0?"bottom":"top",a="center"):(i="middle",a=r>0&&r<MS?n>0?"right":"left":n>0?"left":"right"),{rotation:r,textAlign:a,textVerticalAlign:i}},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}(),TS={axisLine:function(t,e,n,a){var i=e.get(["axisLine","show"]);if("auto"===i&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),i){var r=e.axis.getExtent(),o=a.transform,l=[r[0],0],s=[r[1],0];o&&(Rt(l,l,o),Rt(s,s,o));var u=I({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new gu({subPixelOptimize:!0,shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:u,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);"string"==typeof p&&(p=[p,p]),"string"!=typeof d&&"number"!=typeof d||(d=[d,d]);var h=tm(e.get(["axisLine","symbolOffset"])||0,d),f=d[0],g=d[1];z([{rotate:t.rotation+Math.PI/2,offset:h[0],r:0},{rotate:t.rotation-Math.PI/2,offset:h[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],(function(e,a){if("none"!==p[a]&&null!=p[a]){var i=Jg(p[a],-f/2,-g/2,f,g,u.stroke,!0),r=e.r+e.offset;i.attr({rotation:e.rotate,x:l[0]+r*Math.cos(t.rotation),y:l[1]-r*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,a){var i=function(t,e,n,a){var i=n.axis,r=n.getModel("axisTick"),o=r.get("show");if("auto"===o&&a.handleAutoShown&&(o=a.handleAutoShown("axisTick")),o&&!i.scale.isBlank()){for(var l=r.getModel("lineStyle"),s=a.tickDirection*r.get("length"),u=LS(i.getTicksCoords(),e.transform,s,T(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<u.length;c++)t.add(u[c]);return u}}(n,a,e,t),r=function(t,e,n,a){var i=n.axis;if(tt(a.axisLabelShow,n.get(["axisLabel","show"]))&&!i.scale.isBlank()){var r=n.getModel("axisLabel"),o=r.get("margin"),l=i.getViewLabels(),s=(tt(a.labelRotate,r.get("rotate"))||0)*MS/180,u=IS.innerTextLayout(a.rotation,s,a.labelDirection),c=n.getCategories&&n.getCategories(!0),p=[],d=IS.isLabelSilent(n),h=n.get("triggerEvent");return z(l,(function(l,s){var f="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(l.tickValue):l.tickValue,g=l.formattedLabel,m=l.rawLabel,y=r;if(c&&c[f]){var v=c[f];X(v)&&v.textStyle&&(y=new Hc(v.textStyle,r,n.ecModel))}var b=y.getTextColor()||n.get(["axisLine","lineStyle","color"]),x=i.dataToCoord(f),_=new hl({x:x,y:a.labelOffset+a.labelDirection*o,rotation:u.rotation,silent:d,z2:10+(l.level||0),style:_c(y,{text:g,align:y.getShallow("align",!0)||u.textAlign,verticalAlign:y.getShallow("verticalAlign",!0)||y.getShallow("baseline",!0)||u.textVerticalAlign,fill:"function"==typeof b?b("category"===i.type?m:"value"===i.type?f+"":f,s):b})});if(_.anid="label_"+f,h){var w=IS.makeAxisEventDataBase(n);w.targetType="axisLabel",w.value=m,wl(_).eventData=w}e.add(_),_.updateTransform(),p.push(_),t.add(_),_.decomposeTransform()})),p}}(n,a,e,t);(function(t,e,n){if(!bx(t.axis)){var a=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);n=n||[];var r=(e=e||[])[0],o=e[1],l=e[e.length-1],s=e[e.length-2],u=n[0],c=n[1],p=n[n.length-1],d=n[n.length-2];!1===a?(CS(r),CS(u)):DS(r,o)&&(a?(CS(o),CS(c)):(CS(r),CS(u))),!1===i?(CS(l),CS(p)):DS(s,l)&&(i?(CS(s),CS(d)):(CS(l),CS(p)))}})(e,r,i),function(t,e,n,a){var i=n.axis,r=n.getModel("minorTick");if(r.get("show")&&!i.scale.isBlank()){var o=i.getMinorTicksCoords();if(o.length)for(var l=r.getModel("lineStyle"),s=a*r.get("length"),u=T(l.getLineStyle(),T(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var p=LS(o[c],e.transform,s,u,"minorticks_"+c),d=0;d<p.length;d++)t.add(p[d])}}(n,a,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])&&g_(d_(O(r,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,a){var i=tt(t.axisName,e.get("name"));if(i){var r,o,l=e.get("nameLocation"),s=t.nameDirection,u=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,p=e.axis.getExtent(),d=p[0]>p[1]?-1:1,h=["start"===l?p[0]-d*c:"end"===l?p[1]+d*c:(p[0]+p[1])/2,AS(l)?t.labelOffset+s*c:0],f=e.get("nameRotate");null!=f&&(f=f*MS/180),AS(l)?r=IS.innerTextLayout(t.rotation,null!=f?f:t.rotation,s):(r=function(t,e,n,a){var i,r,o=ii(n-t),l=a[0]>a[1],s="start"===e&&!l||"start"!==e&&l;return ri(o-MS/2)?(r=s?"bottom":"top",i="center"):ri(o-1.5*MS)?(r=s?"top":"bottom",i="center"):(r="middle",i=o<1.5*MS&&o>MS/2?s?"left":"right":s?"right":"left"),{rotation:o,textAlign:i,textVerticalAlign:r}}(t.rotation,l,f||0,p),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var g=u.getFont(),m=e.get("nameTruncate",!0)||{},y=m.ellipsis,v=tt(t.nameTruncateMaxWidth,m.maxWidth,o),b=new hl({x:h[0],y:h[1],rotation:r.rotation,silent:IS.isLabelSilent(e),style:_c(u,{text:i,font:g,overflow:"truncate",width:v,ellipsis:y,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||r.textAlign,verticalAlign:u.get("verticalAlign")||r.textVerticalAlign}),z2:1});if(fc({el:b,componentModel:e,itemName:i}),b.__fullText=i,b.anid="name",e.get("triggerEvent")){var x=IS.makeAxisEventDataBase(e);x.targetType="axisName",x.name=i,wl(b).eventData=x}a.add(b),b.updateTransform(),n.add(b),b.decomposeTransform()}}};function CS(t){t&&(t.ignore=!0)}function DS(t,e){var n=t&&t.getBoundingRect().clone(),a=e&&e.getBoundingRect().clone();if(n&&a){var i=Hn([]);return Xn(i,i,-t.rotation),n.applyTransform(Un([],i,t.getLocalTransform())),a.applyTransform(Un([],i,e.getLocalTransform())),n.intersect(a)}}function AS(t){return"middle"===t||"center"===t}function LS(t,e,n,a,i){for(var r=[],o=[],l=[],s=0;s<t.length;s++){var u=t[s].coord;o[0]=u,o[1]=0,l[0]=u,l[1]=n,e&&(Rt(o,o,e),Rt(l,l,e));var c=new gu({subPixelOptimize:!0,shape:{x1:o[0],y1:o[1],x2:l[0],y2:l[1]},style:a,z2:2,autoBatch:!0,silent:!0});c.anid=i+"_"+t[s].tickValue,r.push(c)}return r}function PS(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var a=e.getComponent("tooltip"),i=e.getComponent("axisPointer"),r=i.get("link",!0)||[],o=[];z(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var l=ES(n.model),s=t.coordSysAxesInfo[l]={};t.coordSysMap[l]=n;var u=n.model.getModel("tooltip",a);if(z(n.getAxes(),F(h,!1,null)),n.getTooltipAxes&&a&&u.get("show")){var c="axis"===u.get("trigger"),p="cross"===u.get(["axisPointer","type"]),d=n.getTooltipAxes(u.get(["axisPointer","axis"]));(c||p)&&z(d.baseAxes,F(h,!p||"cross",c)),p&&z(d.otherAxes,F(h,"cross",!1))}}function h(a,l,c){var p=c.model.getModel("axisPointer",i),d=p.get("show");if(d&&("auto"!==d||a||NS(p))){null==l&&(l=p.get("triggerTooltip"));var h=(p=a?function(t,e,n,a,i,r){var o=e.getModel("axisPointer"),l={};z(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){l[t]=k(o.get(t))})),l.snap="category"!==t.type&&!!r,"cross"===o.get("type")&&(l.type="line");var s=l.label||(l.label={});if(null==s.show&&(s.show=!1),"cross"===i){var u=o.get(["label","show"]);if(s.show=null==u||u,!r){var c=l.lineStyle=o.get("crossStyle");c&&T(s,c.textStyle)}}return t.model.getModel("axisPointer",new Hc(l,n,a))}(c,u,i,e,a,l):p).get("snap"),f=ES(c.model),g=l||h||"category"===c.type,m=t.axesInfo[f]={key:f,axis:c,coordSys:n,axisPointerModel:p,triggerTooltip:l,involveSeries:g,snap:h,useHandle:NS(p),seriesModels:[],linkGroup:null};s[f]=m,t.seriesInvolved=t.seriesInvolved||g;var y=function(t,e){for(var n=e.model,a=e.dim,i=0;i<t.length;i++){var r=t[i]||{};if(zS(r[a+"AxisId"],n.id)||zS(r[a+"AxisIndex"],n.componentIndex)||zS(r[a+"AxisName"],n.name))return i}}(r,c);if(null!=y){var v=o[y]||(o[y]={axesInfo:{}});v.axesInfo[f]=m,v.mapper=r[y].mapper,m.linkGroup=v}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,a=e.get(["tooltip","trigger"],!0),i=e.get(["tooltip","show"],!0);n&&"none"!==a&&!1!==a&&"item"!==a&&!1!==i&&!1!==e.get(["axisPointer","show"],!0)&&z(t.coordSysAxesInfo[ES(n.model)],(function(t){var a=t.axis;n.getAxis(a.dim)===a&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function zS(t,e){return"all"===t||G(t)&&D(t,e)>=0||t===e}function OS(t){var e=RS(t);if(e){var n=e.axisPointerModel,a=e.axis.scale,i=n.option,r=n.get("status"),o=n.get("value");null!=o&&(o=a.parse(o));var l=NS(n);null==r&&(i.status=l?"show":"hide");var s=a.getExtent().slice();s[0]>s[1]&&s.reverse(),(null==o||o>s[1])&&(o=s[1]),o<s[0]&&(o=s[0]),i.value=o,l&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function RS(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[ES(t)]}function NS(t){return!!t.get(["handle","show"])}function ES(t){return t.type+"||"+t.id}var BS={},VS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(e,n,a,i){this.axisPointerClass&&OS(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,a,!0)},e.prototype.updateAxisPointer=function(t,e,n,a){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,a){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var r=function(t){var e=RS(t);return e&&e.axisPointerModel}(t);r?(this._axisPointer||(this._axisPointer=new i)).render(t,r,n,a):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){BS[t]=e},e.getAxisPointerClass=function(t){return t&&BS[t]},e.type="axis",e}(Ff),FS=zi();function GS(t,e,n,a){var i=n.axis;if(!i.scale.isBlank()){var r=n.getModel("splitArea"),o=r.getModel("areaStyle"),l=o.get("color"),s=a.coordinateSystem.getRect(),u=i.getTicksCoords({tickModel:r,clamp:!0});if(u.length){var c=l.length,p=FS(t).splitAreaColors,d=pt(),h=0;if(p)for(var f=0;f<u.length;f++){var g=p.get(u[f].tickValue);if(null!=g){h=(g+(c-1)*f)%c;break}}var m=i.toGlobalCoord(u[0].coord),y=o.getAreaStyle();for(l=G(l)?l:[l],f=1;f<u.length;f++){var v=i.toGlobalCoord(u[f].coord),b=void 0,x=void 0,_=void 0,w=void 0;i.isHorizontal()?(b=m,x=s.y,_=v-b,w=s.height,m=b+_):(b=s.x,x=m,_=s.width,m=x+(w=v-x));var k=u[f-1].tickValue;null!=k&&d.set(k,h),e.add(new cl({anid:null!=k?"area_"+k:null,shape:{x:b,y:x,width:_,height:w},style:T({fill:l[h]},y),autoBatch:!0,silent:!0})),h=(h+1)%c}FS(t).splitAreaColors=d}}}function HS(t){FS(t).splitAreaColors=null}var WS=["axisLine","axisTickLabel","axisName"],US=["splitArea","splitLine","minorSplitLine"],YS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return n(e,t),e.prototype.render=function(e,n,a,i){this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new Va,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),l=vS(o,e),s=new IS(e,I({handleAutoShown:function(t){for(var n=o.coordinateSystem.getCartesians(),a=0;a<n.length;a++){var i=n[a].getOtherAxis(e.axis).type;if("value"===i||"log"===i)return!0}return!1}},l));z(WS,s.add,s),this._axisGroup.add(s.getGroup()),z(US,(function(t){e.get([t,"show"])&&XS[t](this,this._axisGroup,e,o)}),this),i&&"changeAxisOrder"===i.type&&i.isInitSort||lc(r,this._axisGroup,e),t.prototype.render.call(this,e,n,a,i)}},e.prototype.remove=function(){HS(this)},e.type="cartesianAxis",e}(VS),XS={splitLine:function(t,e,n,a){var i=n.axis;if(!i.scale.isBlank()){var r=n.getModel("splitLine"),o=r.getModel("lineStyle"),l=o.get("color");l=G(l)?l:[l];for(var s=a.coordinateSystem.getRect(),u=i.isHorizontal(),c=0,p=i.getTicksCoords({tickModel:r}),d=[],h=[],f=o.getLineStyle(),g=0;g<p.length;g++){var m=i.toGlobalCoord(p[g].coord);u?(d[0]=m,d[1]=s.y,h[0]=m,h[1]=s.y+s.height):(d[0]=s.x,d[1]=m,h[0]=s.x+s.width,h[1]=m);var y=c++%l.length,v=p[g].tickValue;e.add(new gu({anid:null!=v?"line_"+p[g].tickValue:null,subPixelOptimize:!0,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:h[0],y2:h[1]},style:T({stroke:l[y]},f),silent:!0}))}}},minorSplitLine:function(t,e,n,a){var i=n.axis,r=n.getModel("minorSplitLine").getModel("lineStyle"),o=a.coordinateSystem.getRect(),l=i.isHorizontal(),s=i.getMinorTicksCoords();if(s.length)for(var u=[],c=[],p=r.getLineStyle(),d=0;d<s.length;d++)for(var h=0;h<s[d].length;h++){var f=i.toGlobalCoord(s[d][h].coord);l?(u[0]=f,u[1]=o.y,c[0]=f,c[1]=o.y+o.height):(u[0]=o.x,u[1]=f,c[0]=o.x+o.width,c[1]=f),e.add(new gu({anid:"minor_line_"+s[d][h].tickValue,subPixelOptimize:!0,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:c[0],y2:c[1]},style:p,silent:!0}))}},splitArea:function(t,e,n,a){GS(t,e,n,a)}},ZS=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="xAxis",e}(YS),jS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=ZS.type,e}return n(e,t),e.type="yAxis",e}(YS),qS=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return n(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new cl({shape:t.coordinateSystem.getRect(),style:T({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(Ff),KS={offset:0};function $S(t){t.registerComponentView(qS),t.registerComponentModel(iS),t.registerCoordinateSystem("cartesian2d",_S),pS(t,"x",rS,KS),pS(t,"y",rS,KS),t.registerComponentView(ZS),t.registerComponentView(jS),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function JS(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],a=t.coordinateSystem;if(a){var i=a.getIndicatorAxes();z(i,(function(t,r){e.each(e.mapDimension(i[r].dim),(function(t,e){n[e]=n[e]||[];var i=a.dataToPoint(t,r);n[e][r]=QS(i)?i:tM(a)}))})),e.each((function(t){var i=E(n[t],(function(t){return QS(t)}))||tM(a);n[t].push(i.slice()),e.setItemLayout(t,n[t])}))}}))}function QS(t){return!isNaN(t[0])&&!isNaN(t[1])}function tM(t){return[t.cx,t.cy]}function eM(t){var e=t.polar;if(e){G(e)||(e=[e]);var n=[];z(e,(function(e,a){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],G(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}z(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var nM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=t.coordinateSystem,i=this.group,r=t.getData(),o=this._data;function l(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var a=Qg(t.getItemVisual(e,"symbolSize")),i=Jg(n,-1,-1,2,2),r=t.getItemVisual(e,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:a[0]/2,scaleY:a[1]/2,rotation:r*Math.PI/180||0}),i}}function s(e,n,a,i,r,o){a.removeAll();for(var s=0;s<n.length-1;s++){var u=l(i,r);u&&(u.__dimIdx=s,e[s]?(u.setPosition(e[s]),gc[o?"initProps":"updateProps"](u,{x:n[s][0],y:n[s][1]},t,r)):u.setPosition(n[s]),a.add(u))}}function u(t){return O(t,(function(t){return[a.cx,a.cy]}))}r.diff(o).add((function(e){var n=r.getItemLayout(e);if(n){var a=new cu,i=new du,o={shape:{points:n}};a.shape.points=u(n),i.shape.points=u(n),Eu(a,o,t,e),Eu(i,o,t,e);var l=new Va,c=new Va;l.add(i),l.add(a),l.add(c),s(i.shape.points,n,c,r,e,!0),r.setItemGraphicEl(e,l)}})).update((function(e,n){var a=o.getItemGraphicEl(n),i=a.childAt(0),l=a.childAt(1),u=a.childAt(2),c={shape:{points:r.getItemLayout(e)}};c.shape.points&&(s(i.shape.points,c.shape.points,u,r,e,!1),Hu(l),Hu(i),Nu(i,c,t),Nu(l,c,t),r.setItemGraphicEl(e,a))})).remove((function(t){i.remove(o.getItemGraphicEl(t))})).execute(),r.eachItemGraphicEl((function(t,e){var n=r.getItemModel(e),a=t.childAt(0),o=t.childAt(1),l=t.childAt(2),s=r.getItemVisual(e,"style"),u=s.fill;i.add(t),a.useStyle(T(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:u})),gs(a,n,"lineStyle"),gs(o,n,"areaStyle");var c=n.getModel("areaStyle"),p=c.isEmpty()&&c.parentModel.isEmpty();o.ignore=p,z(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),a=e.isEmpty()&&e.parentModel.isEmpty();o.ensureState(t).ignore=a&&p})),o.useStyle(T(c.getAreaStyle(),{fill:u,opacity:.7,decal:s.decal}));var d=n.getModel("emphasis"),h=d.getModel("itemStyle").getItemStyle();l.eachChild((function(t){if(t instanceof al){var a=t.style;t.useStyle(I({image:a.image,x:a.x,y:a.y,width:a.width,height:a.height},s))}else t.useStyle(s),t.setColor(u),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=k(h);var i=r.getStore().get(r.getDimensionIndex(t.__dimIdx),e);(null==i||isNaN(i))&&(i=""),bc(t,xc(n),{labelFetcher:r.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:i,inheritColor:u,defaultOpacity:s.opacity})})),ps(t,d.get("focus"),d.get("blurScope"))})),this._data=r},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(Uf),aM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new $k(V(this.getData,this),V(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return Kk(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),r=this.getData().getName(t),o=""===r?this.name:r,l=If(this,t);return bf("section",{header:o,sortBlocks:!0,blocks:O(i,(function(e){var n=a.get(a.mapDimension(e.dim),t);return bf("nameValue",{markerType:"subItem",markerColor:l,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,a=e.getValues(O(n.dimensions,(function(t){return e.mapDimension(t)})),t),i=0,r=a.length;i<r;i++)if(!isNaN(a[i])){var o=n.getIndicatorAxes();return n.coordToPoint(o[i].dataToCoord(a[i]),i)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={zlevel:0,z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(Pf),iM=uS.value;function rM(t,e){return T({show:e},t)}var oM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),a=this.get("axisLine"),i=this.get("axisTick"),r=this.get("axisLabel"),o=this.get("axisName"),l=this.get(["axisName","show"]),s=this.get(["axisName","formatter"]),u=this.get("axisNameGap"),c=this.get("triggerEvent"),p=O(this.get("indicator")||[],(function(p){null!=p.max&&p.max>0&&!p.min?p.min=0:null!=p.min&&p.min<0&&!p.max&&(p.max=0);var d=o;null!=p.color&&(d=T({color:p.color},o));var h=S(k(p),{boundaryGap:t,splitNumber:e,scale:n,axisLine:a,axisTick:i,axisLabel:r,name:p.text,nameLocation:"end",nameGap:u,nameTextStyle:d,triggerEvent:c},!1);if(l||(h.name=""),"string"==typeof s){var f=h.name;h.name=s.replace("{value}",null!=f?f:"")}else"function"==typeof s&&(h.name=s(h.name,h));var g=new Hc(h,null,this.ecModel);return L(g,_x.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=p},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={zlevel:0,z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:S({lineStyle:{color:"#bbb"}},iM.axisLine),axisLabel:rM(iM.axisLabel,!1),axisTick:rM(iM.axisTick,!1),splitLine:rM(iM.splitLine,!0),splitArea:rM(iM.splitArea,!0),indicator:[]},e}(Qp),lM=["axisLine","axisTickLabel","axisName"],sM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(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;z(O(e.getIndicatorAxes(),(function(t){return new IS(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){z(lM,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 a=t.get("shape"),i=t.getModel("splitLine"),r=t.getModel("splitArea"),o=i.getModel("lineStyle"),l=r.getModel("areaStyle"),s=i.get("show"),u=r.get("show"),c=o.get("color"),p=l.get("color"),d=G(c)?c:[c],h=G(p)?p:[p],f=[],g=[];if("circle"===a)for(var m=n[0].getTicksCoords(),y=e.cx,v=e.cy,b=0;b<m.length;b++)s&&f[C(f,d,b)].push(new Gs({shape:{cx:y,cy:v,r:m[b].coord}})),u&&b<m.length-1&&g[C(g,h,b)].push(new ou({shape:{cx:y,cy:v,r0:m[b].coord,r:m[b+1].coord}}));else{var x,_=O(n,(function(t,n){var a=t.getTicksCoords();return x=null==x?a.length-1:Math.min(a.length-1,x),O(a,(function(t){return e.coordToPoint(t.coord,n)}))})),w=[];for(b=0;b<=x;b++){for(var k=[],S=0;S<n.length;S++)k.push(_[S][b]);k[0]&&k.push(k[0].slice()),s&&f[C(f,d,b)].push(new du({shape:{points:k}})),u&&w&&g[C(g,h,b-1)].push(new cu({shape:{points:k.concat(w)}})),w=k.slice().reverse()}}var M=o.getLineStyle(),I=l.getAreaStyle();z(g,(function(t,e){this.group.add(tc(t,{style:T({stroke:"none",fill:h[e%h.length]},I),silent:!0}))}),this),z(f,(function(t,e){this.group.add(tc(t,{style:T({fill:"none",stroke:d[e%d.length]},M),silent:!0}))}),this)}function C(t,e,n){var a=n%e.length;return t[a]=t[a]||[],a}},e.type="radar",e}(Ff),uM=function(t){function e(e,n,a){var i=t.call(this,e,n,a)||this;return i.type="value",i.angle=0,i.name="",i}return n(e,t),e}(Fx),cM=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=O(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,a=new uM(n,new Db);return a.name=t.get("name"),a.model=t,t.axis=a,this.dimensions.push(n),a}),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,a=Math.sqrt(e*e+n*n);e/=a,n/=a;for(var i,r=Math.atan2(-n,e),o=1/0,l=-1,s=0;s<this._indicatorAxes.length;s++){var u=this._indicatorAxes[s],c=Math.abs(r-u.angle);c<o&&(i=u,l=s,o=c)}return[l,+(i&&i.coordToData(a))]},t.prototype.resize=function(t,e){var n=t.get("center"),a=e.getWidth(),i=e.getHeight(),r=Math.min(a,i)/2;this.cx=qa(n[0],a),this.cy=qa(n[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var o=t.get("radius");"string"!=typeof o&&"number"!=typeof o||(o=[0,o]),this.r0=qa(o[0],r),this.r=qa(o[1],r),z(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,a=this._model;z(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,i){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===a){var r=e.getData();z(n,(function(t){t.scale.unionExtentFromData(r,r.mapDimension(t.dim))}))}}),this);var i=a.get("splitNumber");function r(t){var e=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),n=t/e;return 2===n?n=5:n*=2,n*e}z(n,(function(t,e){var n=dx(t.scale,t.model).extent;hx(t.scale,t.model);var a=t.model,o=t.scale,l=px(o,a.get("min",!0)),s=px(o,a.get("max",!0)),u=o.getInterval();if(null!=l&&null!=s)o.setExtent(+l,+s),o.setInterval((s-l)/i);else if(null!=l){var c=void 0;do{c=l+u*i,o.setExtent(+l,c),o.setInterval(u),u=r(u)}while(c<n[1]&&isFinite(c)&&isFinite(n[1]))}else if(null!=s){var p=void 0;do{p=s-u*i,o.setExtent(p,+s),o.setInterval(u),u=r(u)}while(p>n[0]&&isFinite(p)&&isFinite(n[0]))}else o.getTicks().length-1>i&&(u=r(u)),p=Ka((c=Math.ceil(n[1]/u)*u)-u*i),o.setExtent(p,c),o.setInterval(u)}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var a=[];return e.eachComponent("radar",(function(i){var r=new t(i,e,n);a.push(r),i.coordinateSystem=r})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("radarIndex")||0])})),a},t.dimensions=[],t}();function pM(t){t.registerCoordinateSystem("radar",cM),t.registerComponentModel(oM),t.registerComponentView(sM),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 dM="\0_ec_interaction_mutex";function hM(t,e){return!!fM(t)[e]}function fM(t){return t[dM]||(t[dM]={})}wv({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){}));var gM=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var a=V(n._mousedownHandler,n),i=V(n._mousemoveHandler,n),r=V(n._mouseupHandler,n),o=V(n._mousewheelHandler,n),l=V(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=T(k(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",a),e.on("mousemove",i),e.on("mouseup",r)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",o),e.on("pinch",l))},n.disable=function(){e.off("mousedown",a),e.off("mousemove",i),e.off("mouseup",r),e.off("mousewheel",o),e.off("pinch",l)},n}return n(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(!(ae(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&vM("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!hM(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,a=this._x,i=this._y,r=e-a,o=n-i;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&ne(t.event),yM(this,"pan","moveOnMouseMove",t,{dx:r,dy:o,oldX:a,oldY:i,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){ae(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=vM("zoomOnMouseWheel",t,this._opt),n=vM("moveOnMouseWheel",t,this._opt),a=t.wheelDelta,i=Math.abs(a),r=t.offsetX,o=t.offsetY;if(0!==a&&(e||n)){if(e){var l=i>3?1.4:i>1?1.2:1.1;mM(this,"zoom","zoomOnMouseWheel",t,{scale:a>0?l:1/l,originX:r,originY:o,isAvailableBehavior:null})}if(n){var s=Math.abs(a);mM(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(a>0?1:-1)*(s>3?.4:s>1?.15:.05),originX:r,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){hM(this._zr,"globalPan")||mM(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(Gt);function mM(t,e,n,a,i){t.pointerChecker&&t.pointerChecker(a,i.originX,i.originY)&&(ne(a.event),yM(t,e,n,a,i))}function yM(t,e,n,a,i){i.isAvailableBehavior=V(vM,null,n,a),t.trigger(e,i)}function vM(t,e,n){var a=n[t];return!t||a&&(!W(a)||e.event[a+"Key"])}function bM(t,e,n){var a=t.target;a.x+=e,a.y+=n,a.dirty()}function xM(t,e,n,a){var i=t.target,r=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,r){var l=r.min||0,s=r.max||1/0;o=Math.max(Math.min(s,o),l)}var u=o/t.zoom;t.zoom=o,i.x-=(n-i.x)*(u-1),i.y-=(a-i.y)*(u-1),i.scaleX*=u,i.scaleY*=u,i.dirty()}var _M={axisPointer:1,tooltip:1,brush:1};function wM(t,e,n){var a=e.getComponentByElement(t.topTarget),i=a&&a.coordinateSystem;return a&&a!==n&&!_M.hasOwnProperty(a.mainType)&&i&&i.model!==n}var kM=["rect","circle","line","ellipse","polygon","polyline","path"],SM=pt(kM),MM=pt(kM.concat(["g"])),IM=pt(kM.concat(["g"])),TM=zi();function CM(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}var DM=function(){function t(t){var e=new Va;this.uid=Uc("ec_map_draw"),this._controller=new gM(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new Va),e.add(this._svgGroup=new Va)}return t.prototype.draw=function(t,e,n,a,i){var r="geo"===t.mainType,o=t.getData&&t.getData();r&&e.eachComponent({mainType:"series",subType:"map"},(function(e){o||e.getHostGeoModel()!==t||(o=e.getData())}));var l=t.coordinateSystem,s=this._regionsGroup,u=this.group,c=l.getTransformInfo(),p=c.raw,d=c.roam;!s.childAt(0)||i?(u.x=d.x,u.y=d.y,u.scaleX=d.scaleX,u.scaleY=d.scaleY,u.dirty()):Nu(u,d,t);var h=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0,f={api:n,geo:l,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:h,isGeo:r,transformInfoRaw:p};"geoJSON"===l.resourceType?this._buildGeoJSON(f):"geoSVG"===l.resourceType&&this._buildSVG(f),this._updateController(t,e,n),this._updateMapSelectHandler(t,s,n,a)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=pt(),n=pt(),a=this._regionsGroup,i=t.transformInfoRaw,r=t.mapOrGeoModel,o=t.data,l=function(t){return[t[0]*i.scaleX+i.x,t[1]*i.scaleY+i.y]};a.removeAll(),z(t.geo.regions,(function(i){var s=i.name,u=e.get(s),c=n.get(s)||{},p=c.dataIdx,d=c.regionModel;u||(u=e.set(s,new Va),a.add(u),p=o?o.indexOfName(s):null,d=t.isGeo?r.getRegionModel(s):o?o.getItemModel(p):null,n.set(s,{dataIdx:p,regionModel:d}));var h=new wu({segmentIgnoreThreshold:1,shape:{paths:[]}});u.add(h),z(i.geometries,(function(t){if("polygon"===t.type){for(var e=[],n=0;n<t.exterior.length;++n)e.push(l(t.exterior[n]));for(h.shape.paths.push(new cu({segmentIgnoreThreshold:1,shape:{points:e}})),n=0;n<(t.interiors?t.interiors.length:0);++n){for(var a=t.interiors[n],i=[],r=0;r<a.length;++r)i.push(l(a[r]));h.shape.paths.push(new cu({segmentIgnoreThreshold:1,shape:{points:i}}))}}})),AM(t,h,p,d),h instanceof Sr&&(h.culling=!0);var f=l(i.getCenter());LM(t,h,s,d,r,p,f)})),e.each((function(e,a){var i=n.get(a),o=i.dataIdx,l=i.regionModel;PM(t,e,a,l,r,o),zM(t,e,a,l,r),OM(t,e,a,l,r)}),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 a=this._svgDispatcherMap=pt(),i=!1;z(this._svgGraphicRecord.named,(function(e){var n=e.name,r=t.mapOrGeoModel,o=t.data,l=e.svgNodeTagLower,s=e.el,u=o?o.indexOfName(n):null,c=r.getRegionModel(n);null!=SM.get(l)&&s instanceof Sr&&AM(t,s,u,c),s instanceof Sr&&(s.culling=!0),s.z2EmphasisLift=0,e.namedFrom||(null!=IM.get(l)&&LM(t,s,n,c,r,u,null),PM(t,s,n,c,r,u),zM(t,s,n,c,r),null!=MM.get(l)&&("self"===OM(t,s,n,c,r)&&(i=!0),(a.get(n)||a.set(n,[])).push(s)))}),this),this._enableBlurEntireSVG(i,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){ql(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 a=this._regionsGroupByName;if(a){var i=a.get(t);return i?[i]:[]}}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=yy(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=yy(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 a=t.coordinateSystem,i=this._controller,r=this._controllerHost;r.zoomLimit=t.get("scaleLimit"),r.zoom=a.getZoom(),i.enable(t.get("roam")||!1);var o=t.mainType;function l(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}i.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,bM(r,t.dx,t.dy),n.dispatchAction(I(l(),{dx:t.dx,dy:t.dy}))}),this),i.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,xM(r,t.scale,t.originX,t.originY),n.dispatchAction(I(l(),{zoom:t.scale,originX:t.originX,originY:t.originY}))}),this),i.setPointerChecker((function(e,i,r){return a.containPoint([i,r])&&!wM(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=TM(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,a){var i=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){i._mouseDownFlag=!0})),e.on("click",(function(t){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},t}();function AM(t,e,n,a){var i=a.getModel("itemStyle"),r=a.getModel(["emphasis","itemStyle"]),o=a.getModel(["blur","itemStyle"]),l=a.getModel(["select","itemStyle"]),s=CM(i),u=CM(r),c=CM(l),p=CM(o),d=t.data;if(d){var h=d.getItemVisual(n,"style"),f=d.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&h.fill&&(s.fill=h.fill),f&&(s.decal=Sm(f,t.api))}e.setStyle(s),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=c,e.ensureState("blur").style=p,ql(e)}function LM(t,e,n,a,i,r,o){var l=t.data,s=t.isGeo,u=l&&isNaN(l.get(l.mapDimension("value"),r)),c=l&&l.getItemLayout(r);if(s||u||c&&c.showLabel){var p=s?n:r,d=void 0;(!l||r>=0)&&(d=i);var h=o?{normal:{align:"center",verticalAlign:"middle"}}:null;bc(e,xc(a),{labelFetcher:d,labelDataIndex:p,defaultText:n},h);var f=e.getTextContent();if(f&&(TM(f).ignore=f.ignore,e.textConfig&&o)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(o[0]-g.x)/g.width*100+"%",(o[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function PM(t,e,n,a,i,r){t.data?t.data.setItemGraphicEl(r,e):wl(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:a&&a.option||{}}}function zM(t,e,n,a,i){t.data||fc({el:e,componentModel:i,itemName:n,itemTooltipOption:a.get("tooltip")})}function OM(t,e,n,a,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var r=a.getModel("emphasis"),o=r.get("focus");return ps(e,o,r.get("blurScope")),t.isGeo&&function(t,e,n){var a=wl(t);a.componentMainType=e.mainType,a.componentIndex=e.componentIndex,a.componentHighDownName=n}(e,i,n),o}var RM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,a){if(!a||"mapToggleSelect"!==a.type||a.from!==this.uid){var i=this.group;if(i.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&a&&"geoRoam"===a.type&&this._mapDraw.resetForLabelLayout(),a&&"geoRoam"===a.type&&"series"===a.componentType&&a.seriesId===t.id)(r=this._mapDraw)&&i.add(r.group);else if(t.needsDrawMap){var r=this._mapDraw||new DM(n);i.add(r.group),r.draw(t,e,n,this,a),this._mapDraw=r}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 a=t.originalData,i=this.group;a.each(a.mapDimension("value"),(function(e,n){if(!isNaN(e)){var r=a.getItemLayout(n);if(r&&r.point){var o=r.point,l=r.offset,s=new Gs({style:{fill:t.getData().getVisual("style").fill},shape:{cx:o[0]+9*l,cy:o[1],r:3},silent:!0,z2:8+(l?0:11)});if(!l){var u=t.mainSeries.getData(),c=a.getName(n),p=u.indexOfName(c),d=a.getItemModel(n),h=d.getModel("label"),f=u.getItemGraphicEl(p);bc(s,xc(d),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(p,n)}}}),s.disableLabelAnimation=!0,h.get("position")||s.setTextConfig({position:"bottom"}),f.onHoverStateChange=function(t){Zl(s,t)}}i.add(s)}}}))},e.type="map",e}(Uf),NM=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,a=n.getRegion(e);return a&&n.dataToPoint(a.getCenter())}},n}return n(e,t),e.prototype.getInitialData=function(t){for(var e=Kk(this,{coordDimensions:["value"],encodeDefaulter:F(yd,this)}),n=pt(),a=[],i=0,r=e.count();i<r;i++){var o=e.getName(i);n.set(o,!0)}return z(by(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||a.push(e)})),e.appendValues([],a),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 a=this.getData(),i=this.getRawValue(t),r=a.getName(t),o=this.seriesGroup,l=[],s=0;s<o.length;s++){var u=o[s].originalData.indexOfName(r),c=a.mapDimension("value");isNaN(o[s].originalData.get(c,u))||l.push(o[s].name)}return bf("section",{header:l.join(", "),noHeader:!l.length,blocks:[bf("nameValue",{name:r,value:i})]})},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=Jg(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={zlevel:0,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}(Pf);function EM(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),a=n?"o"+n.id:"i"+t.getMapType();(e[a]=e[a]||[]).push(t)})),z(e,(function(t,e){for(var n,a,i,r=(n=O(t,(function(t){return t.getData()})),a=t[0].get("mapValueCalculation"),i={},z(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var a="ec-"+t.getName(n);i[a]=i[a]||[],isNaN(e)||i[a].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var r="ec-"+n[0].getName(e),o=0,l=1/0,s=-1/0,u=i[r].length,c=0;c<u;c++)l=Math.min(l,i[r][c]),s=Math.max(s,i[r][c]),o+=i[r][c];return 0===u?NaN:"min"===a?l:"max"===a?s:"average"===a?o/u:o}))),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=0===o&&!t[o].getHostGeoModel(),t[o].setData(r.cloneShallow()),t[o].mainSeries=t[0]}))}function BM(t){var e={};t.eachSeriesByType("map",(function(n){var a=n.getMapType();if(!n.getHostGeoModel()&&!e[a]){var i={};z(n.seriesGroup,(function(e){var n=e.coordinateSystem,a=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&a.each(a.mapDimension("value"),(function(t,e){var r=a.getName(e),o=n.getRegion(r);if(o&&!isNaN(t)){var l=i[r]||0,s=n.dataToPoint(o.getCenter());i[r]=l+1,a.setItemLayout(e,{point:s,offset:l})}}))}));var r=n.getData();r.each((function(t){var e=r.getName(t),n=r.getItemLayout(t)||{};n.showLabel=!i[e],r.setItemLayout(t,n)})),e[a]=!0}}))}var VM=Rt,FM=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new oa,n._rawTransformable=new oa,n.name=e,n}return n(e,t),e.prototype.setBoundingRect=function(t,e,n,a){return this._rect=new ya(t,e,n,a),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,a){this._transformTo(t,e,n,a),this._viewRect=new ya(t,e,n,a)},e.prototype._transformTo=function(t,e,n,a){var i=this.getBoundingRect(),r=this._rawTransformable;r.transform=i.calculateTransform(new ya(t,e,n,a));var o=r.parent;r.parent=null,r.decomposeTransform(),r.parent=o,this._updateTransform()},e.prototype.setCenter=function(t){t&&(this._center=t,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(),a=this.getCenter(),i=this.getZoom();a=Rt([],a,t),n=Rt([],n,t),e.originX=a[0],e.originY=a[1],e.x=n[0]-a[0],e.y=n[1]-a[1],e.scaleX=e.scaleY=i,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),Wn(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],jn(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new oa;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 a=e?this._rawTransform:this.transform;return n=n||[],a?VM(n,t,a):vt(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?VM([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var a=GM(e);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var a=GM(e);return a===this?a.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(oa);function GM(t){var e=t.seriesModel;return e?e.coordinateSystem:null}var HM={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},WM=["lng","lat"],UM=function(t){function e(e,n,a){var i=t.call(this,e)||this;i.dimensions=WM,i.type="geo",i._nameCoordMap=pt(),i.map=n;var r=by(n,a.nameMap,a.nameProperty),o=yy(n);i.resourceType=o?o.type:null;var l=HM[o.type];i._regionsMap=r.regionsMap,i._invertLongitute=l.invertLongitute,i.regions=r.regions,i.aspectScale=et(a.aspectScale,l.aspectScale);var s=r.boundingRect;return i.setBoundingRect(s.x,s.y,s.width,s.height),i}return n(e,t),e.prototype._transformTo=function(t,e,n,a){var i=this.getBoundingRect(),r=this._invertLongitute;i=i.clone(),r&&(i.y=-i.y-i.height);var o=this._rawTransformable;o.transform=i.calculateTransform(new ya(t,e,n,a));var l=o.parent;o.parent=null,o.decomposeTransform(),o.parent=l,r&&(o.scaleY=-o.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 a=e[n];if("geoJSON"===a.type&&a.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("string"==typeof t&&(t=this.getGeoCoord(t)),t)return FM.prototype.dataToPoint.call(this,t,e,n)},e.prototype.convertToPixel=function(t,e,n){var a=YM(e);return a===this?a.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var a=YM(e);return a===this?a.pointToData(n):null},e}(FM);function YM(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",Ei).models[0]||{}).coordinateSystem:null}function XM(t,e){var n=t.get("boundingCoords");if(null!=n){var a=n[0],i=n[1];isNaN(a[0])||isNaN(a[1])||isNaN(i[0])||isNaN(i[1])||this.setBoundingRect(a[0],a[1],i[0]-a[0],i[1]-a[1])}var r,o,l,s=this.getBoundingRect(),u=t.get("layoutCenter"),c=t.get("layoutSize"),p=e.getWidth(),d=e.getHeight(),h=s.width/s.height*this.aspectScale,f=!1;if(u&&c&&(r=[qa(u[0],p),qa(u[1],d)],o=qa(c,Math.min(p,d)),isNaN(r[0])||isNaN(r[1])||isNaN(o)||(f=!0)),f)l={},h>1?(l.width=o,l.height=o/h):(l.height=o,l.width=o*h),l.y=r[1]-l.height/2,l.x=r[0]-l.width/2;else{var g=t.getBoxLayoutParams();g.aspect=h,l=Xp(g,{width:p,height:d})}this.setViewRect(l.x,l.y,l.width,l.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}L(UM,FM);var ZM=new(function(){function t(){this.dimensions=WM}return t.prototype.create=function(t,e){var n=[];t.eachComponent("geo",(function(t,a){var i=t.get("map"),r=new UM(i+a,i,{nameMap:t.get("nameMap"),nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale")});r.zoomLimit=t.get("scaleLimit"),n.push(r),t.coordinateSystem=r,r.model=t,r.resize=XM,r.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var a={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();a[e]=a[e]||[],a[e].push(t)}})),z(a,(function(t,a){var i=O(t,(function(t){return t.get("nameMap")})),r=new UM(a,a,{nameMap:M(i),nameProperty:t[0].get("nameProperty"),aspectScale:t[0].get("aspectScale")});r.zoomLimit=tt.apply(null,O(t,(function(t){return t.get("scaleLimit")}))),n.push(r),r.resize=XM,r.resize(t[0],e),z(t,(function(t){t.coordinateSystem=r,function(t,e){z(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(r,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,a){for(var i=(t||[]).slice(),r=pt(),o=0;o<i.length;o++)r.set(i[o].name,i[o]);return z(by(e,n,a).regions,(function(t){var e=t.name;!r.get(e)&&i.push({name:e})})),i},t}()),jM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e,n){var a=yy(t.map);if(a&&"geoJSON"===a.type){var i=t.itemStyle=t.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(t,n),wi(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=ZM.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=R(e.regions||[],(function(e,a){var i=a.name;return i&&(e.set(i,new Hc(a,t,t.ecModel)),a.selected&&(n[i]=!0)),e}),pt()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new Hc(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),a="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:t};return"function"==typeof a?(i.status=e,a(i)):"string"==typeof a?a.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={zlevel:0,z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},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}(Qp);function qM(t,e,n){var a=t.getZoom(),i=t.getCenter(),r=e.zoom,o=t.dataToPoint(i);if(null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,t.setCenter(t.pointToData(o))),null!=r){if(n){var l=n.min||0,s=n.max||1/0;r=Math.max(Math.min(a*r,s),l)/a}t.scaleX*=r,t.scaleY*=r;var u=(e.originX-t.x)*(r-1),c=(e.originY-t.y)*(r-1);t.x-=u,t.y-=c,t.updateTransform(),t.setCenter(t.pointToData(o)),t.setZoom(r*a)}return{center:t.getCenter(),zoom:t.getZoom()}}var KM=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return n(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,a){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new DM(n));var i=this._mapDraw;i.draw(t,e,n,this,a),i.group.on("click",this._handleRegionClick,this),i.group.silent=t.get("silent"),this.group.add(i.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;Fg(t.target,(function(t){return null!=(e=wl(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var a=this;this._mapDraw.group.traverse((function(t){var e=wl(t).eventData;if(e)return a._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}(Ff);function $M(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var a={},i=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),z(n.coordinateSystem.regions,(function(t){a[t.name]=n.isSelected(t.name)||!1}));var r=[];z(a,(function(t,e){a[e]&&r.push(e)})),i.push({geoIndex:n.componentIndex,name:r})})),{selected:a,allSelected:i,name:t.name}}))}t.registerCoordinateSystem("geo",ZM),t.registerComponentModel(jM),t.registerComponentView(KM),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){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var a=e.coordinateSystem;if("geo"===a.type){var i=qM(a,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(i.center),e.setZoom&&e.setZoom(i.zoom),"series"===n&&z(e.seriesGroup,(function(t){t.setCenter(i.center),t.setZoom(i.zoom)}))}}))}))}function JM(t,e){var n=t.isExpand?t.children:[],a=t.parentNode.children,i=t.hierNode.i?a[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,a=0,i=0;--n>=0;){var r=e[n];r.hierNode.prelim+=a,r.hierNode.modifier+=a,i+=r.hierNode.change,a+=r.hierNode.shift+i}}(t);var r=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-r):t.hierNode.prelim=r}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=function(t,e,n,a){if(e){for(var i=t,r=t,o=r.parentNode.children[0],l=e,s=i.hierNode.modifier,u=r.hierNode.modifier,c=o.hierNode.modifier,p=l.hierNode.modifier;l=nI(l),r=aI(r),l&&r;){i=nI(i),o=aI(o),i.hierNode.ancestor=t;var d=l.hierNode.prelim+p-r.hierNode.prelim-u+a(l,r);d>0&&(rI(iI(l,t,n),t,d),u+=d,s+=d),p+=l.hierNode.modifier,u+=r.hierNode.modifier,s+=i.hierNode.modifier,c+=o.hierNode.modifier}l&&!nI(i)&&(i.hierNode.thread=l,i.hierNode.modifier+=p-s),r&&!aI(o)&&(o.hierNode.thread=r,o.hierNode.modifier+=u-c,n=t)}return n}(t,i,t.parentNode.hierNode.defaultAncestor||a[0],e)}function QM(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function tI(t){return arguments.length?t:oI}function eI(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function nI(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function aI(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function iI(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function rI(t,e,n){var a=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=a,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=a}function oI(t,e){return t.parentNode===e.parentNode?1:2}var lI=function(){this.parentPoint=[],this.childPoints=[]},sI=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new lI},e.prototype.buildPath=function(t,e){var n=e.childPoints,a=n.length,i=e.parentPoint,r=n[0],o=n[a-1];if(1===a)return t.moveTo(i[0],i[1]),void t.lineTo(r[0],r[1]);var l=e.orient,s="TB"===l||"BT"===l?0:1,u=1-s,c=qa(e.forkPosition,1),p=[];p[s]=i[s],p[u]=i[u]+(o[u]-i[u])*c,t.moveTo(i[0],i[1]),t.lineTo(p[0],p[1]),t.moveTo(r[0],r[1]),p[s]=r[s],t.lineTo(p[0],p[1]),p[s]=o[s],t.lineTo(p[0],p[1]),t.lineTo(o[0],o[1]);for(var d=1;d<a-1;d++){var h=n[d];t.moveTo(h[0],h[1]),p[s]=h[s],t.lineTo(p[0],p[1])}},e}(Jo),uI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new Va,n}return n(e,t),e.prototype.init=function(t,e){this._controller=new gM(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var a=t.getData(),i=t.layoutInfo,r=this._mainGroup;"radial"===t.get("layout")?(r.x=i.x+i.width/2,r.y=i.y+i.height/2):(r.x=i.x,r.y=i.y),this._updateViewCoordSys(t),this._updateController(t,e,n);var o=this._data;a.diff(o).add((function(e){cI(a,e)&&pI(a,e,null,r,t)})).update((function(e,n){var i=o.getItemGraphicEl(n);cI(a,e)?pI(a,e,i,r,t):i&&fI(o,n,i,r,t)})).remove((function(e){var n=o.getItemGraphicEl(e);n&&fI(o,e,n,r,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&a.eachItemGraphicEl((function(e,a){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:a})}))})),this._data=a},e.prototype._updateViewCoordSys=function(t){var e=t.getData(),n=[];e.each((function(t){var a=e.getItemLayout(t);!a||isNaN(a.x)||isNaN(a.y)||n.push([+a.x,+a.y])}));var a=[],i=[];ro(n,a,i);var r=this._min,o=this._max;i[0]-a[0]==0&&(a[0]=r?r[0]:a[0]-1,i[0]=o?o[0]:i[0]+1),i[1]-a[1]==0&&(a[1]=r?r[1]:a[1]-1,i[1]=o?o[1]:i[1]+1);var l=t.coordinateSystem=new FM;l.zoomLimit=t.get("scaleLimit"),l.setBoundingRect(a[0],a[1],i[0]-a[0],i[1]-a[1]),l.setCenter(t.get("center")),l.setZoom(t.get("zoom")),this.group.attr({x:l.x,y:l.y,scaleX:l.scaleX,scaleY:l.scaleY}),this._min=a,this._max=i},e.prototype._updateController=function(t,e,n){var a=this,i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(e,a,i){var r=o.getBoundingRect();return r.applyTransform(o.transform),r.contain(a,i)&&!wM(e,n,t)})),i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){bM(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){xM(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),a._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,a=e.scaleX||1;return((e.getZoom()-1)*n+1)/a},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}(Uf);function cI(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function pI(t,e,n,a,i){var r=!n,o=t.tree.getNodeByDataIndex(e),l=o.getModel(),s=o.getVisual("style").fill,u=!1===o.isExpand&&0!==o.children.length?s:"#fff",c=t.tree.root,p=o.parentNode===c?o:o.parentNode||o,d=t.getItemGraphicEl(p.dataIndex),h=p.getLayout(),f=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:h,g=o.getLayout();r?((n=new Cw(t,e,null,{symbolInnerColor:u,useNameLabel:!0})).x=f.x,n.y=f.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,a.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,Nu(n,{x:g.x,y:g.y},i);var m=n.getSymbolPath();if("radial"===i.get("layout")){var y=c.children[0],v=y.getLayout(),b=y.children.length,x=void 0,_=void 0;if(g.x===v.x&&!0===o.isExpand){var w={x:(y.children[0].getLayout().x+y.children[b-1].getLayout().x)/2,y:(y.children[0].getLayout().y+y.children[b-1].getLayout().y)/2};(x=Math.atan2(w.y-v.y,w.x-v.x))<0&&(x=2*Math.PI+x),(_=w.x<v.x)&&(x-=Math.PI)}else(x=Math.atan2(g.y-v.y,g.x-v.x))<0&&(x=2*Math.PI+x),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(_=g.x<v.x)&&(x-=Math.PI):(_=g.x>v.x)||(x-=Math.PI);var k=_?"left":"right",S=l.getModel("label"),M=S.get("rotate"),I=M*(Math.PI/180),C=m.getTextContent();C&&(m.setTextConfig({position:S.get("position")||k,rotation:null==M?-x:I,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=l.get(["emphasis","focus"]),A="ancestor"===D?o.getAncestorsIndices():"descendant"===D?o.getDescendantIndices():null;A&&(wl(n).focus=A),function(t,e,n,a,i,r,o,l){var s=e.getModel(),u=t.get("edgeShape"),c=t.get("layout"),p=t.getOrient(),d=t.get(["lineStyle","curveness"]),h=t.get("edgeForkPosition"),f=s.getModel("lineStyle").getLineStyle(),g=a.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=a.__edge=new bu({shape:gI(c,p,d,i,i)})),Nu(g,{shape:gI(c,p,d,r,o)},t));else if("polyline"===u&&"orthogonal"===c&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var m=e.children,y=[],v=0;v<m.length;v++){var b=m[v].getLayout();y.push([b.x,b.y])}g||(g=a.__edge=new sI({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:p,forkPosition:h}})),Nu(g,{shape:{parentPoint:[o.x,o.y],childPoints:y}},t)}g&&(g.useStyle(T({strokeNoScale:!0,fill:null},f)),gs(g,s,"lineStyle"),ql(g),l.add(g))}(i,o,c,n,f,h,g,a),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var a=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);a&&1===a.hoverState||Zl(n.__edge,e)}})}function dI(t,e,n,a,i){var r=hI(e.tree.root,t),o=r.source,l=r.sourceLayout,s=e.getItemGraphicEl(t.dataIndex);if(s){var u=e.getItemGraphicEl(o.dataIndex).__edge,c=s.__edge||(!1===o.isExpand||1===o.children.length?u:void 0),p=a.get("edgeShape"),d=a.get("layout"),h=a.get("orient"),f=a.get(["lineStyle","curveness"]);c&&("curve"===p?Vu(c,{shape:gI(d,h,f,l,l),style:{opacity:0}},a,{cb:function(){n.remove(c)},removeOpt:i}):"polyline"===p&&"orthogonal"===a.get("layout")&&Vu(c,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},a,{cb:function(){n.remove(c)},removeOpt:i}))}}function hI(t,e){for(var n,a=e.parentNode===t?e:e.parentNode||e;null==(n=a.getLayout());)a=a.parentNode===t?a:a.parentNode||a;return{source:a,sourceLayout:n}}function fI(t,e,n,a,i){var r=t.tree.getNodeByDataIndex(e),o=hI(t.tree.root,r).sourceLayout,l={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Vu(n,{x:o.x+1,y:o.y+1},i,{cb:function(){a.remove(n),t.setItemGraphicEl(e,null)},removeOpt:l}),n.fadeOut(null,{fadeLabel:!0,animation:l}),r.children.forEach((function(e){dI(e,t,a,i,l)})),dI(r,t,a,i,l)}function gI(t,e,n,a,i){var r,o,l,s,u,c,p,d;if("radial"===t){u=a.rawX,p=a.rawY,c=i.rawX,d=i.rawY;var h=eI(u,p),f=eI(u,p+(d-p)*n),g=eI(c,d+(p-d)*n),m=eI(c,d);return{x1:h.x||0,y1:h.y||0,x2:m.x||0,y2:m.y||0,cpx1:f.x||0,cpy1:f.y||0,cpx2:g.x||0,cpy2:g.y||0}}return u=a.x,p=a.y,c=i.x,d=i.y,"LR"!==e&&"RL"!==e||(r=u+(c-u)*n,o=p,l=c+(u-c)*n,s=d),"TB"!==e&&"BT"!==e||(r=u,o=p+(d-p)*n,l=c,s=d+(p-d)*n),{x1:u,y1:p,x2:c,y2:d,cpx1:r,cpy1:o,cpx2:l,cpy2:s}}var mI=zi();function yI(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,kI(e,n,t),z(n,(function(n){z(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,F(vI,t))}))})),e.wrapMethod("cloneShallow",F(xI,t)),z(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,F(bI,t))})),rt(n[e.dataType]===e)}function vI(t,e){if(mI(a=this).mainData===a){var n=I({},mI(this).datas);n[this.dataType]=e,kI(e,n,t)}else SI(e,this.dataType,mI(this).mainData,t);var a;return e}function bI(t,e){return t.struct&&t.struct.update(),e}function xI(t,e){return z(mI(e).datas,(function(n,a){n!==e&&SI(n.cloneShallow(),a,e,t)})),e}function _I(t){var e=mI(this).mainData;return null==t||null==e?e:mI(e).datas[t]}function wI(){var t=mI(this).mainData;return null==t?[{data:t}]:O(B(mI(t).datas),(function(e){return{type:e,data:mI(t).datas[e]}}))}function kI(t,e,n){mI(t).datas={},z(e,(function(e,a){SI(e,a,t,n)}))}function SI(t,e,n,a){mI(n).datas[e]=t,mI(t).mainData=n,t.dataType=e,a.struct&&(t[a.structAttr]=a.struct,a.struct[a.datasAttr[e]]=t),t.getLinkedData=_I,t.getLinkedDataAll=wI}var MI=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){"function"==typeof t&&(n=e,e=t,t=null),W(t=t||{})&&(t={order:t});var a,i=t.order||"preorder",r=this[t.attr||"children"];"preorder"===i&&(a=e.call(n,this));for(var o=0;!a&&o<r.length;o++)r[o].eachNode(t,e,n);"postorder"===i&&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 a=this.children[n];a.updateDepthAndHeight(t+1),a.height>e&&(e=a.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,a=n.length;e<a;e++){var i=n[e].getNodeById(t);if(i)return i}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,a=n.length;e<a;e++){var i=n[e].contains(t);if(i)return i}},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}(),II=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,a=e.length;n<a;n++)e[n].dataIndex=-1;for(n=0,a=t.count();n<a;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,a){var i=new t(n),r=[],o=1;!function t(e,n){var a=e.value;o=Math.max(o,G(a)?a.length:1),r.push(e);var l=new MI(Di(e.name,""),i);n?function(t,e){var n=e.children;t.parentNode!==e&&(n.push(t),t.parentNode=e)}(l,n):i.root=l,i._nodes.push(l);var s=e.children;if(s)for(var u=0;u<s.length;u++)t(s[u],l)}(e),i.root.updateDepthAndHeight(0);var l=lb(r,{coordDimensions:["value"],dimensionsCount:o}).dimensions,s=new ob(l,n);return s.initData(r),a&&a(s),yI({mainData:s,struct:i,structAttr:"tree"}),i.update(),i},t}();function TI(t,e,n){if(t&&D(e,t.type)>=0){var a=n.getData().tree.root,i=t.targetNode;if("string"==typeof i&&(i=a.getNodeById(i)),i&&a.contains(i))return{node:i};var r=t.targetNodeId;if(null!=r&&(i=a.getNodeById(r)))return{node:i}}}function CI(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function DI(t,e){return D(CI(t),e)>=0}function AI(t,e){for(var n=[];t;){var a=t.dataIndex;n.push({name:t.name,dataIndex:a,value:e.getRawValue(a)}),t=t.parentNode}return n.reverse(),n}var LI=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return n(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},a=new Hc(n,this,this.ecModel),i=II.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=a),t}))})),r=0;i.eachNode("preorder",(function(t){t.depth>r&&(r=t.depth)}));var o=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:r;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=o})),i.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 a=this.getData().tree,i=a.root.children[0],r=a.getNodeByDataIndex(t),o=r.getValue(),l=r.name;r&&r!==i;)l=r.parentNode.name+"."+l,r=r.parentNode;return bf("nameValue",{name:l,value:o,noValue:isNaN(o)||null==o})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=AI(a,this),n},e.type="series.tree",e.layoutMode="box",e.defaultOption={zlevel:0,z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Pf);function PI(t,e){for(var n,a=[t];n=a.pop();)if(e(n),n.isExpand){var i=n.children;if(i.length)for(var r=i.length-1;r>=0;r--)a.push(i[r])}}function zI(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return Xp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var a=t.get("layout"),i=0,r=0,o=null;"radial"===a?(i=2*Math.PI,r=Math.min(n.height,n.width)/2,o=tI((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(i=n.width,r=n.height,o=tI());var l=t.getData().tree.root,s=l.children[0];if(s){!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,a,i=[e];n=i.pop();)if(a=n.children,n.isExpand&&a.length)for(var r=a.length-1;r>=0;r--){var o=a[r];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:r,thread:null},i.push(o)}}(l),function(t,e,n){for(var a,i=[t],r=[];a=i.pop();)if(r.push(a),a.isExpand){var o=a.children;if(o.length)for(var l=0;l<o.length;l++)i.push(o[l])}for(;a=r.pop();)e(a,n)}(s,JM,o),l.hierNode.modifier=-s.hierNode.prelim,PI(s,QM);var u=s,c=s,p=s;PI(s,(function(t){var e=t.getLayout().x;e<u.getLayout().x&&(u=t),e>c.getLayout().x&&(c=t),t.depth>p.depth&&(p=t)}));var d=u===c?1:o(u,c)/2,h=d-u.getLayout().x,f=0,g=0,m=0,y=0;if("radial"===a)f=i/(c.getLayout().x+d+h),g=r/(p.depth-1||1),PI(s,(function(t){m=(t.getLayout().x+h)*f,y=(t.depth-1)*g;var e=eI(m,y);t.setLayout({x:e.x,y:e.y,rawX:m,rawY:y},!0)}));else{var v=t.getOrient();"RL"===v||"LR"===v?(g=r/(c.getLayout().x+d+h),f=i/(p.depth-1||1),PI(s,(function(t){y=(t.getLayout().x+h)*g,m="LR"===v?(t.depth-1)*f:i-(t.depth-1)*f,t.setLayout({x:m,y:y},!0)}))):"TB"!==v&&"BT"!==v||(f=i/(c.getLayout().x+d+h),g=r/(p.depth-1||1),PI(s,(function(t){m=(t.getLayout().x+h)*f,y="TB"===v?(t.depth-1)*g:r-(t.depth-1)*g,t.setLayout({x:m,y:y},!0)})))}}}(t,e)}))}function OI(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();I(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var RI=function(){},NI=["treemapZoomToNode","treemapRender","treemapMove"];function EI(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var a=e;a&&a.depth>1;)a=a.parentNode;var i=Cd(t.ecModel,a.name||a.dataIndex+"",n);e.setVisual("decal",i)}))}var BI=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};VI(n);var a=t.levels||[],i=this.designatedVisualItemStyle={},r=new Hc({itemStyle:i},this,e),o=O((a=t.levels=function(t,e){var n,a,i=_i(e.get("color")),r=_i(e.get(["aria","decal","decals"]));if(i){z(t=t||[],(function(t){var e=new Hc(t),i=e.get("color"),r=e.get("decal");(e.get(["itemStyle","color"])||i&&"none"!==i)&&(n=!0),(e.get(["itemStyle","decal"])||r&&"none"!==r)&&(a=!0)}));var o=t[0]||(t[0]={});return n||(o.color=i.slice()),!a&&r&&(o.decal=r.slice()),t}}(a,e))||[],(function(t){return new Hc(t,r,e)}),this),l=II.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=l.getNodeByDataIndex(e),a=n?o[n.depth]:null;return t.parentModel=a||r,t}))}));return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),i=this.getRawValue(t);return bf("nameValue",{name:a.getName(t),value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=AI(a,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},I(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=pt(),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(){EI(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,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"}}},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%"],ellipsis:!0,verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Pf);function VI(t){var e=0;z(t.children,(function(t){VI(t);var n=t.value;G(n)&&(n=n[0]),e+=n}));var n=t.value;G(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),G(t.value)?t.value[0]=n:t.value=n}var FI=function(){function t(t){this.group=new Va,t.add(this.group)}return t.prototype.render=function(t,e,n,a){var i=t.getModel("breadcrumb"),r=this.group;if(r.removeAll(),i.get("show")&&n){var o=i.getModel("itemStyle"),l=o.getModel("textStyle"),s={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,s,l),this._renderContent(t,s,o,l,a),Zp(r,s.pos,s.box)}},t.prototype._prepare=function(t,e,n){for(var a=t;a;a=a.parentNode){var i=Di(a.getModel().get("name"),""),r=n.getTextRect(i),o=Math.max(r.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:a,text:i,width:o})}},t.prototype._renderContent=function(t,e,n,a,i){for(var r,o,l,s,u,c,p,d,h,f=0,g=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),y=(r=e.pos,s=(o=e.box).width,u=o.height,c=qa(r.left,s),p=qa(r.top,u),d=qa(r.right,s),h=qa(r.bottom,u),(isNaN(c)||isNaN(parseFloat(r.left)))&&(c=0),(isNaN(d)||isNaN(parseFloat(r.right)))&&(d=s),(isNaN(p)||isNaN(parseFloat(r.top)))&&(p=0),(isNaN(h)||isNaN(parseFloat(r.bottom)))&&(h=u),l=Ap(l||0),{width:Math.max(d-c-l[1]-l[3],0),height:Math.max(h-p-l[0]-l[2],0)}),v=e.totalWidth,b=e.renderList,x=b.length-1;x>=0;x--){var _=b[x],w=_.node,k=_.width,S=_.text;v>y.width&&(v-=k-g,k=g,S=null);var M=new cu({shape:{points:GI(f,0,k,m,x===b.length-1,0===x)},style:T(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new hl({style:{text:S,fill:a.getTextColor(),font:a.getFont()}}),textConfig:{position:"inside"},z2:1e5,onclick:F(i,w)});M.disableLabelAnimation=!0,this.group.add(M),HI(M,t,w),f+=k+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function GI(t,e,n,a,i,r){var o=[[i?t:t-5,e],[t+n,e],[t+n,e+a],[i?t:t-5,e+a]];return!r&&o.splice(2,0,[t+n+5,e+a/2]),!i&&o.push([t,e+a/2]),o}function HI(t,e,n){wl(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.componentIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&AI(n,e)}}var WI=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,a,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:a,easing:i}),!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())},a=0,i=this._storage.length;a<i;a++){var r=this._storage[a];r.el.animateTo(r.target,{duration:r.duration,delay:r.delay,easing:r.easing,setToFinal:!0,done:n,aborted:n})}return this},t}(),UI=Va,YI=cl,XI="label",ZI="upperLabel",jI=Qi([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),qI=function(t){var e=jI(t);return e.stroke=e.fill=e.lineWidth=null,e},KI=zi(),$I=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 n(e,t),e.prototype.render=function(t,e,n,a){if(!(D(e.findComponents({mainType:"series",subType:"treemap",query:a}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var i=TI(a,["treemapZoomToNode","treemapRootToNode"],t),r=a&&a.type,o=t.layoutInfo,l=!this._oldTree,s=this._storage,u="treemapRootToNode"===r&&i&&s?{rootNodeGroup:s.nodeGroup[i.node.getRawIndex()],direction:a.direction}:null,c=this._giveContainerGroup(o),p=t.get("animation"),d=this._doRender(c,t,u);!p||l||r&&"treemapZoomToNode"!==r&&"treemapRootToNode"!==r?d.renderFinally():this._doAnimation(c,d,t,u),this._resetController(n),this._renderBreadcrumb(t,n,i)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new UI,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var a=e.getData().tree,i=this._oldTree,r={nodeGroup:[],background:[],content:[]},o={nodeGroup:[],background:[],content:[]},l=this._storage,s=[];function u(t,a,i,u){return function(t,e,n,a,i,r,o,l,s,u){if(o){var c=o.getLayout(),p=t.getData(),d=o.getModel();if(p.setItemGraphicEl(o.dataIndex,null),c&&c.isInView){var h=c.width,f=c.height,g=c.borderWidth,m=c.invisible,y=o.getRawIndex(),v=l&&l.getRawIndex(),b=o.viewChildren,x=c.upperHeight,_=b&&b.length,w=d.getModel("itemStyle"),k=d.getModel(["emphasis","itemStyle"]),S=d.getModel(["blur","itemStyle"]),M=d.getModel(["select","itemStyle"]),T=w.get("borderRadius")||0,C=V("nodeGroup",UI);if(C){if(s.add(C),C.x=c.x||0,C.y=c.y||0,C.markRedraw(),KI(C).nodeWidth=h,KI(C).nodeHeight=f,c.isAboveViewRoot)return C;var D=V("background",YI,u,20);D&&O(C,D,_&&c.upperLabelHeight);var A=d.get(["emphasis","focus"]),L=d.get(["emphasis","blurScope"]),P="ancestor"===A?o.getAncestorsIndices():"descendant"===A?o.getDescendantIndices():A;if(_)ys(C)&&ms(C,!1),D&&(ms(D,!0),p.setItemGraphicEl(o.dataIndex,D),ds(D,P,L));else{var z=V("content",YI,u,30);z&&R(C,z),D.disableMorphing=!0,D&&ys(D)&&ms(D,!1),ms(C,!0),p.setItemGraphicEl(o.dataIndex,C),ds(C,P,L)}return C}}}function O(e,n,a){var i=wl(n);if(i.dataIndex=o.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:h,height:f,r:T}),m)N(n);else{n.invisible=!1;var r=o.getVisual("style"),l=r.stroke,s=qI(w);s.fill=l;var u=jI(k);u.fill=k.get("borderColor");var c=jI(S);c.fill=S.get("borderColor");var p=jI(M);if(p.fill=M.get("borderColor"),a){var d=h-2*g;E(n,l,r.opacity,{x:g,y:0,width:d,height:x})}else n.removeTextContent();n.setStyle(s),n.ensureState("emphasis").style=u,n.ensureState("blur").style=c,n.ensureState("select").style=p,ql(n)}e.add(n)}function R(e,n){var a=wl(n);a.dataIndex=o.dataIndex,a.seriesIndex=t.seriesIndex;var i=Math.max(h-2*g,0),r=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:r,r:T}),m)N(n);else{n.invisible=!1;var l=o.getVisual("style"),s=l.fill,u=qI(w);u.fill=s,u.decal=l.decal;var c=jI(k),p=jI(S),d=jI(M);E(n,s,l.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=p,n.ensureState("select").style=d,ql(n)}e.add(n)}function N(t){!t.invisible&&r.push(t)}function E(e,n,a,i){var r=d.getModel(i?ZI:XI),l=Di(d.get("name"),null),s=r.getShallow("show");bc(e,xc(d,i?ZI:XI),{defaultText:s?l:null,inheritColor:n,defaultOpacity:a,labelFetcher:t,labelDataIndex:o.dataIndex});var u=e.getTextContent();if(u){var p=u.style,h=it(p.padding||0);i&&(e.setTextConfig({layoutRect:i}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((i?i.width:e.shape.width)-h[1]-h[3],0),n=Math.max((i?i.height:e.shape.height)-h[0]-h[2],0);p.width===t&&p.height===n||u.setStyle({width:t,height:n})},p.truncateMinChar=2,p.lineOverflow="truncate",B(p,i,c);var f=u.getState("emphasis");B(f?f.style:null,i,c)}}function B(e,n,a){var i=e?e.text:null;if(!n&&a.isLeafRoot&&null!=i){var r=t.get("drillDownIcon",!0);e.text=r?r+" "+i:i}}function V(t,a,r,o){var l=null!=v&&n[t][v],s=i[t];return l?(n[t][v]=null,F(s,l)):m||((l=new a)instanceof Sr&&(l.z2=function(t,e){return 100*t+e}(r,o)),G(s,l)),e[t][y]=l}function F(t,e){var n=t[y]={};e instanceof UI?(n.oldX=e.x,n.oldY=e.y):n.oldShape=I({},e.shape)}function G(t,e){var n=t[y]={},r=o.parentNode,l=e instanceof Va;if(r&&(!a||"drillDown"===a.direction)){var s=0,u=0,c=i.background[r.getRawIndex()];!a&&c&&c.oldShape&&(s=c.oldShape.width,u=c.oldShape.height),l?(n.oldX=0,n.oldY=u):n.oldShape={x:s,y:u,width:0,height:0}}n.fadein=!l}}(e,o,l,n,r,s,t,a,i,u)}!function t(e,n,a,i,r){function o(t){return t.getId()}function l(o,l){var s=null!=o?e[o]:null,c=null!=l?n[l]:null,p=u(s,c,a,r);p&&t(s&&s.viewChildren||[],c&&c.viewChildren||[],p,i,r+1)}i?(n=e,z(e,(function(t,e){!t.isRemoved()&&l(e,e)}))):new Nv(n,e,o,o).add(l).update(l).remove(F(l,null)).execute()}(a.root?[a.root]:[],i&&i.root?[i.root]:[],t,a===i||!i,0);var c=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&z(t,(function(t,n){var a=e[n];z(t,(function(t){t&&(a.push(t),KI(t).willDelete=!0)}))})),e}(l);return this._oldTree=a,this._storage=o,{lastsForAnimation:r,willDeleteEls:c,renderFinally:function(){z(c,(function(t){z(t,(function(t){t.parent&&t.parent.remove(t)}))})),z(s,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,a){var i=n.get("animationDurationUpdate"),r=n.get("animationEasing"),o=(H(i)?0:i)||0,l=(H(r)?null:r)||"cubicOut",s=new WI;z(e.willDeleteEls,(function(t,e){z(t,(function(t,n){if(!t.invisible){var i,r=t.parent,u=KI(r);if(a&&"drillDown"===a.direction)i=r===a.rootNodeGroup?{shape:{x:0,y:0,width:u.nodeWidth,height:u.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var c=0,p=0;u.willDelete||(c=u.nodeWidth/2,p=u.nodeHeight/2),i="nodeGroup"===e?{x:c,y:p,style:{opacity:0}}:{shape:{x:c,y:p,width:0,height:0},style:{opacity:0}}}i&&s.add(t,i,o,0,l)}}))})),z(this._storage,(function(t,n){z(t,(function(t,a){var i=e.lastsForAnimation[n][a],r={};i&&(t instanceof Va?null!=i.oldX&&(r.x=t.x,r.y=t.y,t.x=i.oldX,t.y=i.oldY):(i.oldShape&&(r.shape=I({},t.shape),t.setShape(i.oldShape)),i.fadein?(t.setStyle("opacity",0),r.style={opacity:1}):1!==t.style.opacity&&(r.style={opacity:1})),s.add(t,r,o,0,l))}))}),this),this._state="animating",s.finished(V((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new gM(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",V(this._onPan,this)),e.on("zoom",V(this._onZoom,this)));var n=new ya(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,a){return n.contain(e,a)}))},e.prototype._clearController=function(){var t=this._controller;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;if("animating"!==this._state){var a=this.seriesModel.getData().tree.root;if(!a)return;var i=a.getLayout();if(!i)return;var r=new ya(i.x,i.y,i.width,i.height),o=this.seriesModel.layoutInfo,l=[1,0,0,1,0,0];Yn(l,l,[-(e-=o.x),-(n-=o.y)]),Zn(l,l,[t.scale,t.scale]),Yn(l,l,[e,n]),r.applyTransform(l),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:r.x,y:r.y,width:r.width,height:r.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 a=e.findTarget(t.offsetX,t.offsetY);if(a){var i=a.node;if(i.getLayout().isLeafRoot)e._rootToNode(a);else if("zoomToNode"===n)e._zoomToNode(a);else if("link"===n){var r=i.hostTree.data.getItemModel(i.dataIndex),o=r.get("link",!0),l=r.get("target",!0)||"blank";o&&Fp(o,l)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var a=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 FI(this.group))).render(t,e,n.node,(function(e){"animating"!==a._state&&(DI(t.getViewRoot(),e)?a._rootToNode({node:e}):a._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(a){var i=this._storage.background[a.getRawIndex()];if(i){var r=i.transformCoordToLocal(t,e),o=i.shape;if(!(o.x<=r[0]&&r[0]<=o.x+o.width&&o.y<=r[1]&&r[1]<=o.y+o.height))return!1;n={node:a,offsetX:r[0],offsetY:r[1]}}}),this),n},e.type="treemap",e}(Uf),JI=z,QI=X,tT=-1,eT=function(){function t(e){var n=e.mappingMethod,a=e.type,i=this.option=k(e);this.type=a,this.mappingMethod=n,this._normalizeData=pT[n];var r=t.visualHandlers[a];this.applyVisual=r.applyVisual,this.getColorMapper=r.getColorMapper,this._normalizedToVisual=r._normalizedToVisual[n],"piecewise"===n?(nT(i),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,z(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(i)):"category"===n?i.categories?function(t){var e=t.categories,n=t.categoryMap={},a=t.visual;if(JI(e,(function(t,e){n[t]=e})),!G(a)){var i=[];X(a)?JI(a,(function(t,e){var a=n[e];i[null!=a?a:tT]=t})):i[-1]=a,a=cT(t,i)}for(var r=e.length-1;r>=0;r--)null==a[r]&&(delete n[e[r]],e.pop())}(i):nT(i,!0):(rt("linear"!==n||i.dataExtent),nT(i))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return V(this._normalizeData,this)},t.listVisualTypes=function(){return B(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){X(t)?z(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,a){var i,r=G(e)?[]:X(e)?{}:(i=!0,null);return t.eachVisual(e,(function(t,e){var o=n.call(a,t,e);i?r=o:r[e]=o})),r},t.retrieveVisuals=function(e){var n,a={};return e&&JI(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(a[i]=e[i],n=!0)})),n?a:null},t.prepareVisualTypes=function(t){if(G(t))t=t.slice();else{if(!QI(t))return[];var e=[];JI(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 a,i=1/0,r=0,o=e.length;r<o;r++){var l=e[r].value;if(null!=l){if(l===t||"string"==typeof l&&l===t+"")return r;n&&p(l,r)}}for(r=0,o=e.length;r<o;r++){var s=e[r],u=s.interval,c=s.close;if(u){if(u[0]===-1/0){if(dT(c[1],t,u[1]))return r}else if(u[1]===1/0){if(dT(c[0],u[0],t))return r}else if(dT(c[0],u[0],t)&&dT(c[1],t,u[1]))return r;n&&p(u[0],r),n&&p(u[1],r)}}if(n)return t===1/0?e.length-1:t===-1/0?0:a;function p(e,n){var r=Math.abs(e-t);r<i&&(i=r,a=n)}},t.visualHandlers={color:{applyVisual:rT("color"),getColorMapper:function(){var t=this.option;return V("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),oT.call(this,t)}:function(e,n,a){var i=!!a;return!n&&(e=this._normalizeData(e)),a=Ze(e,t.parsedVisual,a),i?a:Qe(a,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Qe(Ze(t,this.option.parsedVisual),"rgba")},category:oT,piecewise:function(t,e){var n=uT.call(this,e);return null==n&&(n=Qe(Ze(t,this.option.parsedVisual),"rgba")),n},fixed:lT}},colorHue:aT((function(t,e){return $e(t,e)})),colorSaturation:aT((function(t,e){return $e(t,null,e)})),colorLightness:aT((function(t,e){return $e(t,null,null,e)})),colorAlpha:aT((function(t,e){return Je(t,e)})),decal:{applyVisual:rT("decal"),_normalizedToVisual:{linear:null,category:oT,piecewise:null,fixed:null}},opacity:{applyVisual:rT("opacity"),_normalizedToVisual:sT([0,1])},liftZ:{applyVisual:rT("liftZ"),_normalizedToVisual:{linear:lT,category:lT,piecewise:lT,fixed:lT}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:iT,category:oT,piecewise:function(t,e){var n=uT.call(this,e);return null==n&&(n=iT.call(this,t)),n},fixed:lT}},symbolSize:{applyVisual:rT("symbolSize"),_normalizedToVisual:sT([0,1])}},t}();function nT(t,e){var n=t.visual,a=[];X(n)?JI(n,(function(t){a.push(t)})):null!=n&&a.push(n),e||1!==a.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(a[1]=a[0]),cT(t,a)}function aT(t){return{applyVisual:function(e,n,a){var i=this.mapValueToVisual(e);a("color",t(n("color"),i))},_normalizedToVisual:sT([0,1])}}function iT(t){var e=this.option.visual;return e[Math.round(ja(t,[0,1],[0,e.length-1],!0))]||{}}function rT(t){return function(e,n,a){a(t,this.mapValueToVisual(e))}}function oT(t){var e=this.option.visual;return e[this.option.loop&&t!==tT?t%e.length:t]}function lT(){return this.option.visual[0]}function sT(t){return{linear:function(e){return ja(e,t,this.option.visual,!0)},category:oT,piecewise:function(e,n){var a=uT.call(this,n);return null==a&&(a=ja(e,t,this.option.visual,!0)),a},fixed:lT}}function uT(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var a=n[eT.findPieceIndex(t,n)];if(a&&a.visual)return a.visual[this.type]}}function cT(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=O(e,(function(t){return We(t)}))),e}var pT={linear:function(t){return ja(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=eT.findPieceIndex(t,e,!0);if(null!=n)return ja(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?tT:e},fixed:gt};function dT(t,e,n){return t?e<=n:e<n}var hT=zi(),fT={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||gT(e,{},t.getViewRoot().getAncestors(),t)}};function gT(t,e,n,a){var i=t.getModel(),r=t.getLayout(),o=t.hostTree.data;if(r&&!r.invisible&&r.isInView){var l,s=i.getModel("itemStyle"),u=function(t,e,n){var a=I({},e),i=n.designatedVisualItemStyle;return z(["color","colorAlpha","colorSaturation"],(function(n){i[n]=e[n];var r=t.get(n);i[n]=null,null!=r&&(a[n]=r)})),a}(s,e,a),c=o.ensureUniqueItemVisual(t.dataIndex,"style"),p=s.get("borderColor"),d=s.get("borderColorSaturation");null!=d&&(p=function(t,e){return null!=e?$e(e,null,null,t):null}(d,l=mT(u))),c.stroke=p;var h=t.viewChildren;if(h&&h.length){var f=function(t,e,n,a,i,r){if(r&&r.length){var o=vT(e,"color")||null!=i.color&&"none"!==i.color&&(vT(e,"colorAlpha")||vT(e,"colorSaturation"));if(o){var l=e.get("visualMin"),s=e.get("visualMax"),u=n.dataExtent.slice();null!=l&&l<u[0]&&(u[0]=l),null!=s&&s>u[1]&&(u[1]=s);var c=e.get("colorMappingBy"),p={type:o.name,dataExtent:u,visual:o.range};"color"!==p.type||"index"!==c&&"id"!==c?p.mappingMethod="linear":(p.mappingMethod="category",p.loop=!0);var d=new eT(p);return hT(d).drColorMappingBy=c,d}}}(0,i,r,0,u,h);z(h,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var r=function(t,e,n,a,i,r){var o=I({},e);if(i){var l=i.type,s="color"===l&&hT(i).drColorMappingBy,u="index"===s?a:"id"===s?r.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));o[l]=i.mapValueToVisual(u)}return o}(i,u,t,e,f,a);gT(t,r,n,a)}}))}else l=mT(u),c.fill=l}}function mT(t){var e=yT(t,"color");if(e){var n=yT(t,"colorAlpha"),a=yT(t,"colorSaturation");return a&&(e=$e(e,null,null,a)),n&&(e=Je(e,n)),e}}function yT(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function vT(t,e){var n=t.get(e);return G(n)&&n.length?{name:e,range:n}:null}var bT=Math.max,xT=Math.min,_T=tt,wT=z,kT=["itemStyle","borderWidth"],ST=["itemStyle","gapWidth"],MT=["upperLabel","show"],IT=["upperLabel","height"],TT={seriesType:"treemap",reset:function(t,e,n,a){var i=n.getWidth(),r=n.getHeight(),o=t.option,l=Xp(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=o.size||[],u=qa(_T(l.width,s[0]),i),c=qa(_T(l.height,s[1]),r),p=a&&a.type,d=TI(a,["treemapZoomToNode","treemapRootToNode"],t),h="treemapRender"===p||"treemapMove"===p?a.rootRect:null,f=t.getViewRoot(),g=CI(f);if("treemapMove"!==p){var m="treemapZoomToNode"===p?function(t,e,n,a,i){var r,o=(e||{}).node,l=[a,i];if(!o||o===n)return l;for(var s=a*i,u=s*t.option.zoomToNodeRatio;r=o.parentNode;){for(var c=0,p=r.children,d=0,h=p.length;d<h;d++)c+=p[d].getValue();var f=o.getValue();if(0===f)return l;u*=c/f;var g=r.getModel(),m=g.get(kT);(u+=4*m*m+(3*m+Math.max(m,PT(g)))*Math.pow(u,.5))>ai&&(u=ai),o=r}u<s&&(u=s);var y=Math.pow(u/s,.5);return[a*y,i*y]}(t,d,f,u,c):h?[h.width,h.height]:[u,c],y=o.sort;y&&"asc"!==y&&"desc"!==y&&(y="desc");var v={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};f.hostTree.clearLayouts();var b={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};f.setLayout(b),CT(f,v,!1,0),b=f.getLayout(),wT(g,(function(t,e){var n=(g[e+1]||f).getValue();t.setLayout(I({dataExtent:[n,n],borderWidth:0,upperHeight:0},b))}))}var x=t.getData().tree.root;x.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var a={x:0,y:0};if(!n)return a;var i=n.node,r=i.getLayout();if(!r)return a;for(var o=[r.width/2,r.height/2],l=i;l;){var s=l.getLayout();o[0]+=s.x,o[1]+=s.y,l=l.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(l,h,d),!0),t.setLayoutInfo(l),LT(x,new ya(-l.x,-l.y,i,r),g,f,0)}};function CT(t,e,n,a){var i,r;if(!t.isRemoved()){var o=t.getLayout();i=o.width,r=o.height;var l=t.getModel(),s=l.get(kT),u=l.get(ST)/2,c=PT(l),p=Math.max(s,c),d=s-u,h=p-u;t.setLayout({borderWidth:s,upperHeight:p,upperLabelHeight:c},!0);var f=(i=bT(i-2*d,0))*(r=bT(r-d-h,0)),g=function(t,e,n,a,i,r){var o=t.children||[],l=a.sort;"asc"!==l&&"desc"!==l&&(l=null);var s=null!=a.leafDepth&&a.leafDepth<=r;if(i&&!s)return t.viewChildren=[];!function(t,e){e&&t.sort((function(t,n){var a="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===a?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:a}))}(o=N(o,(function(t){return!t.isRemoved()})),l);var u=function(t,e,n){for(var a=0,i=0,r=e.length;i<r;i++)a+=e[i].getValue();var o,l=t.get("visualDimension");return e&&e.length?"value"===l&&n?(o=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&o.reverse()):(o=[1/0,-1/0],wT(e,(function(t){var e=t.getValue(l);e<o[0]&&(o[0]=e),e>o[1]&&(o[1]=e)}))):o=[NaN,NaN],{sum:a,dataExtent:o}}(e,o,l);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,a,i){if(!a)return n;for(var r=t.get("visibleMin"),o=i.length,l=o,s=o-1;s>=0;s--){var u=i["asc"===a?o-s-1:s].getValue();u/n*e<r&&(l=s,n-=u)}return"asc"===a?i.splice(0,o-l):i.splice(l,o-l),n}(e,n,u.sum,l,o),0===u.sum)return t.viewChildren=[];for(var c=0,p=o.length;c<p;c++){var d=o[c].getValue()/u.sum*n;o[c].setLayout({area:d})}return s&&(o.length&&t.setLayout({isLeafRoot:!0},!0),o.length=0),t.viewChildren=o,t.setLayout({dataExtent:u.dataExtent},!0),o}(t,l,f,e,n,a);if(g.length){var m={x:d,y:h,width:i,height:r},y=xT(i,r),v=1/0,b=[];b.area=0;for(var x=0,_=g.length;x<_;){var w=g[x];b.push(w),b.area+=w.getLayout().area;var k=DT(b,y,e.squareRatio);k<=v?(x++,v=k):(b.area-=b.pop().getLayout().area,AT(b,y,m,u,!1),y=xT(m.width,m.height),b.length=b.area=0,v=1/0)}if(b.length&&AT(b,y,m,u,!0),!n){var S=l.get("childrenVisibleMin");null!=S&&f<S&&(n=!0)}for(x=0,_=g.length;x<_;x++)CT(g[x],e,n,a+1)}}}function DT(t,e,n){for(var a=0,i=1/0,r=0,o=void 0,l=t.length;r<l;r++)(o=t[r].getLayout().area)&&(o<i&&(i=o),o>a&&(a=o));var s=t.area*t.area,u=e*e*n;return s?bT(u*a/s,s/(u*i)):1/0}function AT(t,e,n,a,i){var r=e===n.width?0:1,o=1-r,l=["x","y"],s=["width","height"],u=n[l[r]],c=e?t.area/e:0;(i||c>n[s[o]])&&(c=n[s[o]]);for(var p=0,d=t.length;p<d;p++){var h=t[p],f={},g=c?h.getLayout().area/c:0,m=f[s[o]]=bT(c-2*a,0),y=n[l[r]]+n[s[r]]-u,v=p===d-1||y<g?y:g,b=f[s[r]]=bT(v-2*a,0);f[l[o]]=n[l[o]]+xT(a,m/2),f[l[r]]=u+xT(a,b/2),u+=v,h.setLayout(f,!0)}n[l[o]]+=c,n[s[o]]-=c}function LT(t,e,n,a,i){var r=t.getLayout(),o=n[i],l=o&&o===t;if(!(o&&!l||i===n.length&&t!==a)){t.setLayout({isInView:!0,invisible:!l&&!e.intersect(r),isAboveViewRoot:l},!0);var s=new ya(e.x-r.x,e.y-r.y,e.width,e.height);wT(t.viewChildren||[],(function(t){LT(t,s,n,a,i+1)}))}}function PT(t){return t.get(MT)?t.get(IT):0}function zT(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),a=t.getGraph().data,i=n.mapArray(n.getName);a.filterSelf((function(t){var n=a.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=i[n]);for(var r=0;r<e.length;r++)if(!e[r].isSelected(n))return!1}return!0}))}))}function OT(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),a=t.getData(),i={};n.each((function(a){var r=n.getName(a);i["ec-"+r]=a;var o=n.getItemModel(a),l=o.getModel("itemStyle").getItemStyle();l.fill||(l.fill=t.getColorFromPalette(r,e)),n.setItemVisual(a,"style",l);for(var s=["symbol","symbolSize","symbolKeepAspect"],u=0;u<s.length;u++){var c=o.getShallow(s[u],!0);null!=c&&n.setItemVisual(a,s[u],c)}})),n.count()&&a.each((function(t){var e=a.getItemModel(t).getShallow("category");if(null!=e){"string"==typeof e&&(e=i["ec-"+e]);var r=n.getItemVisual(e,"style");I(a.ensureUniqueItemVisual(t,"style"),r);for(var o=["symbol","symbolSize","symbolKeepAspect"],l=0;l<o.length;l++)a.setItemVisual(t,o[l],n.getItemVisual(e,o[l]))}}))}))}function RT(t){return t instanceof Array||(t=[t,t]),t}function NT(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),a=RT(t.get("edgeSymbol")),i=RT(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",a&&a[0]),n.setVisual("toSymbol",a&&a[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var a=n.getItemModel(t),i=e.getEdgeByIndex(t),r=RT(a.getShallow("symbol",!0)),o=RT(a.getShallow("symbolSize",!0)),l=a.getModel("lineStyle").getLineStyle(),s=n.ensureUniqueItemVisual(t,"style");switch(I(s,l),s.stroke){case"source":var u=i.node1.getVisual("style");s.stroke=u&&u.fill;break;case"target":u=i.node2.getVisual("style"),s.stroke=u&&u.fill}r[0]&&i.setVisual("fromSymbol",r[0]),r[1]&&i.setVisual("toSymbol",r[1]),o[0]&&i.setVisual("fromSymbolSize",o[0]),o[1]&&i.setVisual("toSymbolSize",o[1])}))}))}var ET="--\x3e",BT=function(t){return t.get("autoCurveness")||null},VT=function(t,e){var n=BT(t),a=20,i=[];if("number"==typeof n)a=n;else if(G(n))return void(t.__curvenessList=n);e>a&&(a=e);var r=a%2?a+2:a+3;i=[];for(var o=0;o<r;o++)i.push((o%2?o+1:o)/10*(o%2?-1:1));t.__curvenessList=i},FT=function(t,e,n){var a=[t.id,t.dataIndex].join("."),i=[e.id,e.dataIndex].join(".");return[n.uid,a,i].join(ET)},GT=function(t){var e=t.split(ET);return[e[0],e[2],e[1]].join(ET)},HT=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function WT(t,e,n,a){var i=BT(e),r=G(i);if(!i)return null;var o=function(t,e){var n=FT(t.node1,t.node2,e);return e.__edgeMap[n]}(t,e);if(!o)return null;for(var l=-1,s=0;s<o.length;s++)if(o[s]===n){l=s;break}var u=function(t,e){return HT(FT(t.node1,t.node2,e),e)+HT(FT(t.node2,t.node1,e),e)}(t,e);VT(e,u),t.lineStyle=t.lineStyle||{};var c=FT(t.node1,t.node2,e),p=e.__curvenessList,d=r||u%2?0:1;if(o.isForward)return p[d+l];var h=GT(c),f=HT(h,e),g=p[l+f+d];return a?r?i&&0===i[0]?(f+d)%2?g:-g:((f%2?0:1)+d)%2?g:-g:(f+d)%2?g:-g:p[l+f+d]}function UT(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")])})),YT(n,t)}}function YT(t,e){t.eachEdge((function(t,n){var a=nt(t.getModel().get(["lineStyle","curveness"]),-WT(t,e,n,!0),0),i=bt(t.node1.getLayout()),r=bt(t.node2.getLayout()),o=[i,r];+a&&o.push([(i[0]+r[0])/2-(i[1]-r[1])*a,(i[1]+r[1])/2-(r[0]-i[0])*a]),t.setLayout(o)}))}function XT(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var a=t.getData(),i=[];z(n.dimensions,(function(t){i=i.concat(a.mapDimensionsAll(t))}));for(var r=0;r<a.count();r++){for(var o=[],l=!1,s=0;s<i.length;s++){var u=a.get(i[s],r);isNaN(u)||(l=!0),o.push(u)}l?a.setItemLayout(r,n.dataToPoint(o)):a.setItemLayout(r,[NaN,NaN])}YT(a.graph,t)}else e&&"none"!==e||UT(t)}))}function ZT(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,a=e.scaleX;return((e.getZoom()-1)*n+1)/a}function jT(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var qT=Math.PI,KT=[];function $T(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var a=n.getBoundingRect(),i=t.getData(),r=i.graph,o=a.width/2+a.x,l=a.height/2+a.y,s=Math.min(a.width,a.height)/2,u=i.count();i.setLayout({cx:o,cy:l}),u&&(JT[e](t,r,i,s,o,l,u),r.eachEdge((function(e,n){var a,i=nt(e.getModel().get(["lineStyle","curveness"]),WT(e,t,n),0),r=bt(e.node1.getLayout()),s=bt(e.node2.getLayout()),u=(r[0]+s[0])/2,c=(r[1]+s[1])/2;+i&&(a=[o*(i*=3)+u*(1-i),l*i+c*(1-i)]),e.setLayout([r,s,a])})))}}var JT={value:function(t,e,n,a,i,r,o){var l=0,s=n.getSum("value"),u=2*Math.PI/(s||o);e.eachNode((function(t){var e=t.getValue("value"),n=u*(s?e:1)/2;l+=n,t.setLayout([a*Math.cos(l)+i,a*Math.sin(l)+r]),l+=n}))},symbolSize:function(t,e,n,a,i,r,o){var l=0;KT.length=o;var s=ZT(t);e.eachNode((function(t){var e=jT(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=s;var n=Math.asin(e/2/a);isNaN(n)&&(n=qT/2),KT[t.dataIndex]=n,l+=2*n}));var u=(2*qT-l)/o/2,c=0;e.eachNode((function(t){var e=u+KT[t.dataIndex];c+=e,t.setLayout([a*Math.cos(c)+i,a*Math.sin(c)+r]),c+=e}))}};function QT(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&$T(t,"symbolSize")}))}var tC=wt;function eC(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},a=t.getGraph(),i=a.data,r=a.edgeData,o=t.getModel("force"),l=o.get("initLayout");t.preservedPoints?i.each((function(t){var e=i.getId(t);i.setItemLayout(t,n[e]||[NaN,NaN])})):l&&"none"!==l?"circular"===l&&$T(t,"value"):UT(t);var s=i.getDataExtent("value"),u=r.getDataExtent("value"),c=o.get("repulsion"),p=o.get("edgeLength"),d=G(c)?c:[c,c],h=G(p)?p:[p,p];h=[h[1],h[0]];var f=i.mapArray("value",(function(t,e){var n=i.getItemLayout(e),a=ja(t,s,d);return isNaN(a)&&(a=(d[0]+d[1])/2),{w:a,rep:a,fixed:i.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=r.mapArray("value",(function(e,n){var i=a.getEdgeByIndex(n),r=ja(e,u,h);isNaN(r)&&(r=(h[0]+h[1])/2);var o=i.getModel(),l=nt(i.getModel().get(["lineStyle","curveness"]),-WT(i,t,n,!0),0);return{n1:f[i.node1.dataIndex],n2:f[i.node2.dataIndex],d:r,curveness:l,ignoreForceLayout:o.get("ignoreForceLayout")}})),m=e.getBoundingRect(),y=function(t,e,n){for(var a=t,i=e,r=n.rect,o=r.width,l=r.height,s=[r.x+o/2,r.y+l/2],u=null==n.gravity?.1:n.gravity,c=0;c<a.length;c++){var p=a[c];p.p||(p.p=yt(o*(Math.random()-.5)+s[0],l*(Math.random()-.5)+s[1])),p.pp=bt(p.p),p.edges=null}var d,h,f=null==n.friction?.6:n.friction,g=f;return{warmUp:function(){g=.8*f},setFixed:function(t){a[t].fixed=!0},setUnfixed:function(t){a[t].fixed=!1},beforeStep:function(t){d=t},afterStep:function(t){h=t},step:function(t){d&&d(a,i);for(var e=[],n=a.length,r=0;r<i.length;r++){var o=i[r];if(!o.ignoreForceLayout){var l=o.n1;kt(e,(m=o.n2).p,l.p);var c=St(e)-o.d,p=m.w/(l.w+m.w);isNaN(p)&&(p=0),Dt(e,e),!l.fixed&&tC(l.p,l.p,e,p*c*g),!m.fixed&&tC(m.p,m.p,e,-(1-p)*c*g)}}for(r=0;r<n;r++)(b=a[r]).fixed||(kt(e,s,b.p),tC(b.p,b.p,e,u*g));for(r=0;r<n;r++){l=a[r];for(var f=r+1;f<n;f++){var m;kt(e,(m=a[f]).p,l.p),0===(c=St(e))&&(xt(e,Math.random()-.5,Math.random()-.5),c=1);var y=(l.rep+m.rep)/c/c;!l.fixed&&tC(l.pp,l.pp,e,y),!m.fixed&&tC(m.pp,m.pp,e,-y)}}var v=[];for(r=0;r<n;r++){var b;(b=a[r]).fixed||(kt(v,b.p,b.pp),tC(b.p,b.p,v,g),vt(b.pp,b.p))}var x=(g*=.992)<.01;h&&h(a,i,x),t&&t(x)}}}(f,g,{rect:m,gravity:o.get("gravity"),friction:o.get("friction")});y.beforeStep((function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].fixed&&vt(t[n].p,a.getNodeByIndex(n).getLayout())})),y.afterStep((function(t,e,r){for(var o=0,l=t.length;o<l;o++)t[o].fixed||a.getNodeByIndex(o).setLayout(t[o].p),n[i.getId(o)]=t[o].p;for(o=0,l=e.length;o<l;o++){var s=e[o],u=a.getEdgeByIndex(o),c=s.n1.p,p=s.n2.p,d=u.getLayout();(d=d?d.slice():[])[0]=d[0]||[],d[1]=d[1]||[],vt(d[0],c),vt(d[1],p),+s.curveness&&(d[2]=[(c[0]+p[0])/2-(c[1]-p[1])*s.curveness,(c[1]+p[1])/2-(p[0]-c[0])*s.curveness]),u.setLayout(d)}})),t.forceLayout=y,t.preservedPoints=n,y.step()}else t.forceLayout=null}))}function nC(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var a=t.get("coordinateSystem");if(!a||"view"===a){var i=t.getData(),r=[],o=[];ro(i.mapArray((function(t){var e=i.getItemModel(t);return[+e.get("x"),+e.get("y")]})),r,o),o[0]-r[0]==0&&(o[0]+=1,r[0]-=1),o[1]-r[1]==0&&(o[1]+=1,r[1]-=1);var l=(o[0]-r[0])/(o[1]-r[1]),s=function(t,e,n){return Xp(I(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,l);isNaN(l)&&(r=[s.x,s.y],o=[s.x+s.width,s.y+s.height]);var u=o[0]-r[0],c=o[1]-r[1],p=s.width,d=s.height,h=t.coordinateSystem=new FM;h.zoomLimit=t.get("scaleLimit"),h.setBoundingRect(r[0],r[1],u,c),h.setViewRect(s.x,s.y,p,d),h.setCenter(t.get("center")),h.setZoom(t.get("zoom")),n.push(h)}})),n}var aC=gu.prototype,iC=bu.prototype,rC=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function oC(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}n(e,t)}(rC);var lC=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new rC},e.prototype.buildPath=function(t,e){oC(e)?aC.buildPath.call(this,t,e):iC.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return oC(this.shape)?aC.pointAt.call(this,t):iC.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=oC(e)?[e.x2-e.x1,e.y2-e.y1]:iC.tangentAt.call(this,t);return Dt(n,n)},e}(Jo),sC=["fromSymbol","toSymbol"];function uC(t){return"_"+t+"Type"}function cC(t,e,n){var a=e.getItemVisual(n,t);if(a&&"none"!==a){var i=e.getItemVisual(n,t+"Size"),r=e.getItemVisual(n,t+"Rotate"),o=e.getItemVisual(n,t+"Offset"),l=e.getItemVisual(n,t+"KeepAspect"),s=Qg(i),u=tm(o||0,s),c=Jg(a,-s[0]/2+u[0],-s[1]/2+u[1],s[0],s[1],null,l);return c.__specifiedRotation=null==r||isNaN(r)?void 0:+r*Math.PI/180||0,c.name=t,c}}function pC(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 dC=function(t){function e(e,n,a){var i=t.call(this)||this;return i._createLine(e,n,a),i}return n(e,t),e.prototype._createLine=function(t,e,n){var a=t.hostModel,i=function(t){var e=new lC({name:"line",subPixelOptimize:!0});return pC(e.shape,t),e}(t.getItemLayout(e));i.shape.percent=0,Eu(i,{shape:{percent:1}},a,e),this.add(i),z(sC,(function(n){var a=cC(n,t,e);this.add(a),this[uC(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var a=t.hostModel,i=this.childOfName("line"),r=t.getItemLayout(e),o={shape:{}};pC(o.shape,r),Nu(i,o,a,e),z(sC,(function(n){var a=t.getItemVisual(e,n),i=uC(n);if(this[i]!==a){this.remove(this.childOfName(n));var r=cC(n,t,e);this.add(r)}this[i]=a}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var a=t.hostModel,i=this.childOfName("line"),r=n&&n.emphasisLineStyle,o=n&&n.blurLineStyle,l=n&&n.selectLineStyle,s=n&&n.labelStatesModels;if(!n||t.hasItemOption){var u=t.getItemModel(e);r=u.getModel(["emphasis","lineStyle"]).getLineStyle(),o=u.getModel(["blur","lineStyle"]).getLineStyle(),l=u.getModel(["select","lineStyle"]).getLineStyle(),s=xc(u)}var c=t.getItemVisual(e,"style"),p=c.stroke;i.useStyle(c),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=r,i.ensureState("blur").style=o,i.ensureState("select").style=l,z(sC,(function(t){var e=this.childOfName(t);if(e){e.setColor(p),e.style.opacity=c.opacity;for(var n=0;n<Tl.length;n++){var a=Tl[n],r=i.getState(a);if(r){var o=r.style||{},l=e.ensureState(a),s=l.style||(l.style={});null!=o.stroke&&(s[e.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(s.opacity=o.opacity)}}e.markRedraw()}}),this);var d=a.getRawValue(e);bc(this,s,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return a.getFormattedLabel(e,n,t.dataType)}},inheritColor:p||"#000",defaultOpacity:c.opacity,defaultText:(null==d?t.getName(e):isFinite(d)?Ka(d):d)+""});var h=this.getTextContent();if(h){var f=s.normal;h.__align=h.style.align,h.__verticalAlign=h.style.verticalAlign,h.__position=f.get("position")||"middle";var g=f.get("distance");G(g)||(g=[g,g]),h.__labelDistance=g}this.setTextConfig({position:null,local:!0,inside:!1}),ps(this)},e.prototype.highlight=function(){Jl(this)},e.prototype.downplay=function(){Ql(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");pC(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),a=t.getTextContent();if(e||n||a&&!a.ignore){for(var i=1,r=this.parent;r;)r.scaleX&&(i/=r.scaleX),r=r.parent;var o=t.childOfName("line");if(this.__dirty||o.__dirty){var l=o.shape.percent,s=o.pointAt(0),u=o.pointAt(l),c=kt([],u,s);if(Dt(c,c),e&&(e.setPosition(s),k(e,0),e.scaleX=e.scaleY=i*l,e.markRedraw()),n&&(n.setPosition(u),k(n,1),n.scaleX=n.scaleY=i*l,n.markRedraw()),a&&!a.ignore){a.x=a.y=0,a.originX=a.originY=0;var p=void 0,d=void 0,h=a.__labelDistance,f=h[0]*i,g=h[1]*i,m=l/2,y=o.tangentAt(m),v=[y[1],-y[0]],b=o.pointAt(m);v[1]>0&&(v[0]=-v[0],v[1]=-v[1]);var x=y[0]<0?-1:1;if("start"!==a.__position&&"end"!==a.__position){var _=-Math.atan2(y[1],y[0]);u[0]<s[0]&&(_=Math.PI+_),a.rotation=_}var w=void 0;switch(a.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":w=-g,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":w=g,d="top";break;default:w=0,d="middle"}switch(a.__position){case"end":a.x=c[0]*f+u[0],a.y=c[1]*g+u[1],p=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":a.x=-c[0]*f+s[0],a.y=-c[1]*g+s[1],p=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":a.x=f*x+s[0],a.y=s[1]+w,p=y[0]<0?"right":"left",a.originX=-f*x,a.originY=-w;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":a.x=b[0],a.y=b[1]+w,p="center",a.originY=-w;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":a.x=-f*x+u[0],a.y=u[1]+w,p=y[0]>=0?"right":"left",a.originX=f*x,a.originY=-w}a.scaleX=a.scaleY=i,a.setStyle({verticalAlign:a.__verticalAlign||d,align:a.__align||p})}}}function k(t,e){var n=t.__specifiedRotation;if(null==n){var a=o.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(a[1],a[0]))}else t.attr("rotation",n)}},e}(Va),hC=function(){function t(t){this.group=new Va,this._LineCtor=t||dC}return t.prototype.isPersistent=function(){return!0},t.prototype.updateData=function(t){var e=this,n=this,a=n.group,i=n._lineData;n._lineData=t,i||a.removeAll();var r=fC(t);t.diff(i).add((function(n){e._doAdd(t,n,r)})).update((function(n,a){e._doUpdate(i,t,a,n,r)})).remove((function(t){a.remove(i.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=fC(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)}for(var a=t.start;a<t.end;a++)if(mC(e.getItemLayout(a))){var i=new this._LineCtor(e,a,this._seriesScope);i.traverse(n),this.group.add(i),e.setItemGraphicEl(a,i)}},t.prototype.remove=function(){this.group.removeAll()},t.prototype._doAdd=function(t,e,n){if(mC(t.getItemLayout(e))){var a=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,a),this.group.add(a)}},t.prototype._doUpdate=function(t,e,n,a,i){var r=t.getItemGraphicEl(n);mC(e.getItemLayout(a))?(r?r.updateData(e,a,i):r=new this._LineCtor(e,a,i),e.setItemGraphicEl(a,r),this.group.add(r)):this.group.remove(r)},t}();function fC(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["emphasis","lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),labelStatesModels:xc(e)}}function gC(t){return isNaN(t[0])||isNaN(t[1])}function mC(t){return!gC(t[0])&&!gC(t[1])}var yC=[],vC=[],bC=[],xC=Yr,_C=zt,wC=Math.abs;function kC(t,e,n){for(var a,i=t[0],r=t[1],o=t[2],l=1/0,s=n*n,u=.1,c=.1;c<=.9;c+=.1)yC[0]=xC(i[0],r[0],o[0],c),yC[1]=xC(i[1],r[1],o[1],c),(h=wC(_C(yC,e)-s))<l&&(l=h,a=c);for(var p=0;p<32;p++){var d=a+u;vC[0]=xC(i[0],r[0],o[0],a),vC[1]=xC(i[1],r[1],o[1],a),bC[0]=xC(i[0],r[0],o[0],d),bC[1]=xC(i[1],r[1],o[1],d);var h=_C(vC,e)-s;if(wC(h)<.01)break;var f=_C(bC,e)-s;u/=2,h<0?f>=0?a+=u:a-=u:f>=0?a-=u:a+=u}return a}function SC(t,e){var n=[],a=jr,i=[[],[],[]],r=[[],[]],o=[];e/=2,t.eachEdge((function(t,l){var s=t.getLayout(),u=t.getVisual("fromSymbol"),c=t.getVisual("toSymbol");s.__original||(s.__original=[bt(s[0]),bt(s[1])],s[2]&&s.__original.push(bt(s[2])));var p=s.__original;if(null!=s[2]){if(vt(i[0],p[0]),vt(i[1],p[2]),vt(i[2],p[1]),u&&"none"!==u){var d=jT(t.node1),h=kC(i,p[0],d*e);a(i[0][0],i[1][0],i[2][0],h,n),i[0][0]=n[3],i[1][0]=n[4],a(i[0][1],i[1][1],i[2][1],h,n),i[0][1]=n[3],i[1][1]=n[4]}c&&"none"!==c&&(d=jT(t.node2),h=kC(i,p[1],d*e),a(i[0][0],i[1][0],i[2][0],h,n),i[1][0]=n[1],i[2][0]=n[2],a(i[0][1],i[1][1],i[2][1],h,n),i[1][1]=n[1],i[2][1]=n[2]),vt(s[0],i[0]),vt(s[1],i[2]),vt(s[2],i[1])}else vt(r[0],p[0]),vt(r[1],p[1]),kt(o,r[1],r[0]),Dt(o,o),u&&"none"!==u&&(d=jT(t.node1),wt(r[0],r[0],o,d*e)),c&&"none"!==c&&(d=jT(t.node2),wt(r[1],r[1],o,-d*e)),vt(s[0],r[0]),vt(s[1],r[1])}))}function MC(t){return"view"===t.type}var IC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){var n=new zw,a=new hC,i=this.group;this._controller=new gM(e.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(a.group),this._symbolDraw=n,this._lineDraw=a,this._firstRender=!0},e.prototype.render=function(t,e,n){var a=this,i=t.coordinateSystem;this._model=t;var r=this._symbolDraw,o=this._lineDraw,l=this.group;if(MC(i)){var s={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?l.attr(s):Nu(l,s,t)}SC(t.getGraph(),ZT(t));var u=t.getData();r.updateData(u);var c=t.getEdgeData();o.updateData(c),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var p=t.forceLayout,d=t.get(["force","layoutAnimation"]);p&&this._startForceLayoutIteration(p,d),u.graph.eachNode((function(t){var e=t.dataIndex,n=t.getGraphicEl(),i=t.getModel();n.off("drag").off("dragend");var r=i.get("draggable");r&&n.on("drag",(function(){p&&(p.warmUp(),!a._layouting&&a._startForceLayoutIteration(p,d),p.setFixed(e),u.setItemLayout(e,[n.x,n.y]))})).on("dragend",(function(){p&&p.setUnfixed(e)})),n.setDraggable(r&&!!p),"adjacency"===i.get(["emphasis","focus"])&&(wl(n).focus=t.getAdjacentDataIndices())})),u.graph.eachEdge((function(t){var e=t.getGraphicEl();"adjacency"===t.getModel().get(["emphasis","focus"])&&(wl(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var h="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),f=u.getLayout("cx"),g=u.getLayout("cy");u.eachItemGraphicEl((function(t,e){var n=u.getItemModel(e).get(["label","rotate"])||0,a=t.getSymbolPath();if(h){var i=u.getItemLayout(e),r=Math.atan2(i[1]-g,i[0]-f);r<0&&(r=2*Math.PI+r);var o=i[0]<f;o&&(r-=Math.PI);var l=o?"left":"right";a.setTextConfig({rotation:-r,position:l,origin:"center"});var s=a.ensureState("emphasis");I(s.textConfig||(s.textConfig={}),{position:l})}else a.setTextConfig({rotation:n*=Math.PI/180})})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function a(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(a,16):a())}))}()},e.prototype._updateController=function(t,e,n){var a=this,i=this._controller,r=this._controllerHost,o=this.group;i.setPointerChecker((function(e,a,i){var r=o.getBoundingRect();return r.applyTransform(o.transform),r.contain(a,i)&&!wM(e,n,t)})),MC(t.coordinateSystem)?(i.enable(t.get("roam")),r.zoomLimit=t.get("scaleLimit"),r.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){bM(r,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){xM(r,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),a._updateNodeAndLinkScale(),SC(t.getGraph(),ZT(t)),a._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=ZT(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){SC(t.getGraph(),ZT(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(Uf);function TC(t){return"_EC_"+t}var CC=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[TC(t)]){var a=new DC(t,e);return a.hostGraph=this,this.nodes.push(a),n[TC(t)]=a,a}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[TC(t)]},t.prototype.addEdge=function(t,e,n){var a=this._nodesMap,i=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),t instanceof DC||(t=a[TC(t)]),e instanceof DC||(e=a[TC(e)]),t&&e){var r=t.id+"-"+e.id,o=new AC(t,e,n);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),i[r]=o,o}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof DC&&(t=t.id),e instanceof DC&&(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,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&t.call(e,n[i],i)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},t.prototype.breadthFirstTraverse=function(t,e,n,a){if(e instanceof DC||(e=this._nodesMap[TC(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",r=0;r<this.nodes.length;r++)this.nodes[r].__visited=!1;if(!t.call(a,e,null))for(var o=[e];o.length;){var l=o.shift(),s=l[i];for(r=0;r<s.length;r++){var u=s[r],c=u.node1===l?u.node2:u.node1;if(!c.__visited){if(t.call(a,c,l))return;o.push(c),c.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,a=this.edges,i=0,r=n.length;i<r;i++)n[i].dataIndex=-1;for(i=0,r=t.count();i<r;i++)n[t.getRawIndex(i)].dataIndex=i;for(e.filterSelf((function(t){var n=a[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0})),i=0,r=a.length;i<r;i++)a[i].dataIndex=-1;for(i=0,r=e.count();i<r;i++)a[e.getRawIndex(i)].dataIndex=i},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,a=this.edges,i=0;i<n.length;i++)e.addNode(n[i].id,n[i].dataIndex);for(i=0;i<a.length;i++){var r=a[i];e.addEdge(r.node1.id,r.node2.id,r.dataIndex)}return e},t}(),DC=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];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),AC=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}();function LC(t,e){return{getValue:function(n){var a=this[t][e];return a.getStore().get(a.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,a){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,a)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,a){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,a)},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)}}}function PC(t,e,n,a,i){for(var r=new CC(a),o=0;o<t.length;o++)r.addNode(tt(t[o].id,t[o].name,o),o);var l=[],s=[],u=0;for(o=0;o<e.length;o++){var c=e[o],p=c.source,d=c.target;r.addEdge(p,d,u)&&(s.push(c),l.push(tt(Di(c.id,null),p+" > "+d)),u++)}var h,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)h=gb(t,n);else{var g=Ed.get(f),m=g&&g.dimensions||[];D(m,"value")<0&&m.concat(["value"]);var y=lb(t,{coordDimensions:m,encodeDefine:n.getEncode()}).dimensions;(h=new ob(y,n)).initData(t)}var v=new ob(["value"],n);return v.initData(s,l),i&&i(h,v),yI({mainData:h,struct:r,structAttr:"graph",datas:{node:h,edge:v},datasAttr:{node:"data",edge:"edgeData"}}),r.update(),r}L(DC,LC("hostGraph","data")),L(AC,LC("hostGraph","edgeData"));var zC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function a(){return n._categoriesData}this.legendVisualProvider=new $k(a,a),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),wi(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,a=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&a){BT(n=this)&&(n.__curvenessList=[],n.__edgeMap={},VT(n));var o=PC(i,a,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=Hc.prototype.getModel;function a(t,e){var a=n.call(this,t,e);return a.resolveParentPath=i,a}function i(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=i,t.getModel=a,t}))}));return z(o.edges,(function(t){!function(t,e,n,a){if(BT(n)){var i=FT(t,e,n),r=n.__edgeMap,o=r[GT(i)];r[i]&&!o?r[i].isForward=!0:o&&r[i]&&(o.isForward=!0,r[i].isForward=!1),r[i]=r[i]||[],r[i].push(a)}}(t.node1,t.node2,this,t.dataIndex)}),this),o.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 a=this.getData(),i=this.getDataParams(t,n),r=a.graph.getEdgeByIndex(t),o=a.getName(r.node1.dataIndex),l=a.getName(r.node2.dataIndex),s=[];return null!=o&&s.push(o),null!=l&&s.push(l),bf("nameValue",{name:s.join(" > "),value:i.value,noValue:null==i.value})}return Df({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=O(this.option.categories||[],(function(t){return null!=t.value?t:I({value:0},t)})),e=new ob(["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={zlevel:0,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}(Pf),OC={type:"graphRoam",event:"graphRoam",update:"none"},RC=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},NC=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return n(e,t),e.prototype.getDefaultShape=function(){return new RC},e.prototype.buildPath=function(t,e){var n=Math.cos,a=Math.sin,i=e.r,r=e.width,o=e.angle,l=e.x-n(o)*r*(r>=i/3?1:2),s=e.y-a(o)*r*(r>=i/3?1:2);o=e.angle-Math.PI/2,t.moveTo(l,s),t.lineTo(e.x+n(o)*r,e.y+a(o)*r),t.lineTo(e.x+n(e.angle)*i,e.y+a(e.angle)*i),t.lineTo(e.x-n(o)*r,e.y-a(o)*r),t.lineTo(l,s)},e}(Jo);function EC(t,e){var n=null==t?"":t+"";return e&&("string"==typeof e?n=e.replace("{value}",n):"function"==typeof e&&(n=e(t))),n}var BC=2*Math.PI,VC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var a=t.get(["axisLine","lineStyle","color"]),i=function(t,e){var n=t.get("center"),a=e.getWidth(),i=e.getHeight(),r=Math.min(a,i);return{cx:qa(n[0],e.getWidth()),cy:qa(n[1],e.getHeight()),r:qa(t.get("radius"),r/2)}}(t,n);this._renderMain(t,e,n,a,i),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,a,i){for(var r=this.group,o=t.get("clockwise"),l=-t.get("startAngle")/180*Math.PI,s=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),c=u.get("roundCap")?gk:iu,p=u.get("show"),d=u.getModel("lineStyle"),h=d.get("width"),f=(s-l)%BC||s===l?(s-l)%BC:BC,g=l,m=0;p&&m<a.length;m++){var y=new c({shape:{startAngle:g,endAngle:s=l+f*Math.min(Math.max(a[m][0],0),1),cx:i.cx,cy:i.cy,clockwise:o,r0:i.r-h,r:i.r},silent:!0});y.setStyle({fill:a[m][1]}),y.setStyle(d.getLineStyle(["color","width"])),r.add(y),g=s}var v=function(t){if(t<=0)return a[0][1];var e;for(e=0;e<a.length;e++)if(a[e][0]>=t&&(0===e?0:a[e-1][0])<t)return a[e][1];return a[e-1][1]};if(!o){var b=l;l=s,s=b}this._renderTicks(t,e,n,v,i,l,s,o,h),this._renderTitleAndDetail(t,e,n,v,i),this._renderAnchor(t,i),this._renderPointer(t,e,n,v,i,l,s,o,h)},e.prototype._renderTicks=function(t,e,n,a,i,r,o,l,s){for(var u,c,p=this.group,d=i.cx,h=i.cy,f=i.r,g=+t.get("min"),m=+t.get("max"),y=t.getModel("splitLine"),v=t.getModel("axisTick"),b=t.getModel("axisLabel"),x=t.get("splitNumber"),_=v.get("splitNumber"),w=qa(y.get("length"),f),k=qa(v.get("length"),f),S=r,M=(o-r)/x,I=M/_,T=y.getModel("lineStyle").getLineStyle(),C=v.getModel("lineStyle").getLineStyle(),D=y.get("distance"),A=0;A<=x;A++){if(u=Math.cos(S),c=Math.sin(S),y.get("show")){var L=new gu({shape:{x1:u*(f-(P=D?D+s:s))+d,y1:c*(f-P)+h,x2:u*(f-w-P)+d,y2:c*(f-w-P)+h},style:T,silent:!0});"auto"===T.stroke&&L.setStyle({stroke:a(A/x)}),p.add(L)}if(b.get("show")){var P=b.get("distance")+D,z=EC(Ka(A/x*(m-g)+g),b.get("formatter")),O=a(A/x);p.add(new hl({style:_c(b,{text:z,x:u*(f-w-P)+d,y:c*(f-w-P)+h,verticalAlign:c<-.8?"top":c>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:O}),silent:!0}))}if(v.get("show")&&A!==x){P=(P=v.get("distance"))?P+s:s;for(var R=0;R<=_;R++){u=Math.cos(S),c=Math.sin(S);var N=new gu({shape:{x1:u*(f-P)+d,y1:c*(f-P)+h,x2:u*(f-k-P)+d,y2:c*(f-k-P)+h},silent:!0,style:C});"auto"===C.stroke&&N.setStyle({stroke:a((A+R/_)/x)}),p.add(N),S+=I}S-=I}else S+=M}},e.prototype._renderPointer=function(t,e,n,a,i,r,o,l,s){var u=this.group,c=this._data,p=this._progressEls,d=[],h=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),m=t.getData(),y=m.mapDimension("value"),v=+t.get("min"),b=+t.get("max"),x=[v,b],_=[r,o];function w(e,n){var a,r=m.getItemModel(e).getModel("pointer"),o=qa(r.get("width"),i.r),l=qa(r.get("length"),i.r),s=t.get(["pointer","icon"]),u=r.get("offsetCenter"),c=qa(u[0],i.r),p=qa(u[1],i.r),d=r.get("keepAspect");return(a=s?Jg(s,c-o/2,p-l,o,l,null,d):new NC({shape:{angle:-Math.PI/2,width:o,r:l,x:c,y:p}})).rotation=-(n+Math.PI/2),a.x=i.cx,a.y=i.cy,a}function k(t,e){var n=f.get("roundCap")?gk:iu,a=f.get("overlap"),o=a?f.get("width"):s/m.count(),u=a?i.r-o:i.r-(t+1)*o,c=a?i.r:i.r-t*o,p=new n({shape:{startAngle:r,endAngle:e,cx:i.cx,cy:i.cy,clockwise:l,r0:u,r:c}});return a&&(p.z2=b-m.get(y,t)%b),p}(g||h)&&(m.diff(c).add((function(e){if(h){var n=w(e,r);Eu(n,{rotation:-(ja(m.get(y,e),x,_,!0)+Math.PI/2)},t),u.add(n),m.setItemGraphicEl(e,n)}if(g){var a=k(e,r),i=f.get("clip");Eu(a,{shape:{endAngle:ja(m.get(y,e),x,_,i)}},t),u.add(a),kl(t.seriesIndex,m.dataType,e,a),d[e]=a}})).update((function(e,n){if(h){var a=c.getItemGraphicEl(n),i=a?a.rotation:r,o=w(e,i);o.rotation=i,Nu(o,{rotation:-(ja(m.get(y,e),x,_,!0)+Math.PI/2)},t),u.add(o),m.setItemGraphicEl(e,o)}if(g){var l=p[n],s=k(e,l?l.shape.endAngle:r),v=f.get("clip");Nu(s,{shape:{endAngle:ja(m.get(y,e),x,_,v)}},t),u.add(s),kl(t.seriesIndex,m.dataType,e,s),d[e]=s}})).execute(),m.each((function(t){var e=m.getItemModel(t),n=e.getModel("emphasis");if(h){var i=m.getItemGraphicEl(t),r=m.getItemVisual(t,"style"),o=r.fill;if(i instanceof al){var l=i.style;i.useStyle(I({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},r))}else i.useStyle(r),"pointer"!==i.type&&i.setColor(o);i.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===i.style.fill&&i.setStyle("fill",a(ja(m.get(y,t),x,[0,1],!0))),i.z2EmphasisLift=0,gs(i,e),ps(i,n.get("focus"),n.get("blurScope"))}if(g){var s=d[t];s.useStyle(m.getItemVisual(t,"style")),s.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),s.z2EmphasisLift=0,gs(s,e),ps(s,n.get("focus"),n.get("blurScope"))}})),this._progressEls=d)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var a=n.get("size"),i=n.get("icon"),r=n.get("offsetCenter"),o=n.get("keepAspect"),l=Jg(i,e.cx-a/2+qa(r[0],e.r),e.cy-a/2+qa(r[1],e.r),a,a,null,o);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,a,i){var r=this,o=t.getData(),l=o.mapDimension("value"),s=+t.get("min"),u=+t.get("max"),c=new Va,p=[],d=[],h=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);o.diff(this._data).add((function(t){p[t]=new hl({silent:!0}),d[t]=new hl({silent:!0})})).update((function(t,e){p[t]=r._titleEls[e],d[t]=r._detailEls[e]})).execute(),o.each((function(e){var n=o.getItemModel(e),r=o.get(l,e),g=new Va,m=a(ja(r,[s,u],[0,1],!0)),y=n.getModel("title");if(y.get("show")){var v=y.get("offsetCenter"),b=i.cx+qa(v[0],i.r),x=i.cy+qa(v[1],i.r);(C=p[e]).attr({z2:f?0:2,style:_c(y,{x:b,y:x,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:m})}),g.add(C)}var _=n.getModel("detail");if(_.get("show")){var w=_.get("offsetCenter"),k=i.cx+qa(w[0],i.r),S=i.cy+qa(w[1],i.r),M=qa(_.get("width"),i.r),I=qa(_.get("height"),i.r),T=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:m,C=d[e],D=_.get("formatter");C.attr({z2:f?0:2,style:_c(_,{x:k,y:S,text:EC(r,D),width:isNaN(M)?null:M,height:isNaN(I)?null:I,align:"center",verticalAlign:"middle"},{inheritColor:T})}),Dc(C,{normal:_},r,(function(t){return EC(t,D)})),h&&Ac(C,e,o,t,{getFormattedLabel:function(t,e,n,a,i,o){return EC(o?o.interpolatedValue:r,D)}}),g.add(C)}c.add(g)})),this.group.add(c),this._titleEls=p,this._detailEls=d},e.type="gauge",e}(Uf),FC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return n(e,t),e.prototype.getInitialData=function(t,e){return Kk(this,["value"])},e.type="series.gauge",e.defaultOption={zlevel:0,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},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}(Pf),GC=["itemStyle","opacity"],HC=function(t){function e(e,n){var a=t.call(this)||this,i=a,r=new du,o=new hl;return i.setTextContent(o),a.setTextGuideLine(r),a.updateData(e,n,!0),a}return n(e,t),e.prototype.updateData=function(t,e,n){var a=this,i=t.hostModel,r=t.getItemModel(e),o=t.getItemLayout(e),l=r.getModel("emphasis"),s=r.get(GC);s=null==s?1:s,n||Hu(a),a.useStyle(t.getItemVisual(e,"style")),a.style.lineJoin="round",n?(a.setShape({points:o.points}),a.style.opacity=0,Eu(a,{style:{opacity:s}},i,e)):Nu(a,{style:{opacity:s},shape:{points:o.points}},i,e),gs(a,r),this._updateLabel(t,e),ps(this,l.get("focus"),l.get("blurScope"))},e.prototype._updateLabel=function(t,e){var n=this,a=this.getTextGuideLine(),i=n.getTextContent(),r=t.hostModel,o=t.getItemModel(e),l=t.getItemLayout(e).label,s=t.getItemVisual(e,"style"),u=s.fill;bc(i,xc(o),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:s.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:u,outsideFill:u});var c=l.linePoints;a.setShape({points:c}),n.textGuideLineConfig={anchor:c?new sa(c[0][0],c[0][1]):null},Nu(i,{style:{x:l.x,y:l.y}},r,e),i.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),c_(n,p_(o),{stroke:u})},e}(cu),WC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return n(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this._data,r=this.group;a.diff(i).add((function(t){var e=new HC(a,t);a.setItemGraphicEl(t,e),r.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(a,t),r.add(n),a.setItemGraphicEl(t,n)})).remove((function(e){Gu(i.getItemGraphicEl(e),t,e)})).execute(),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(Uf),UC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new $k(V(this.getData,this),V(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return Kk(this,{coordDimensions:["value"],encodeDefaulter:F(yd,this)})},e.prototype._defaultLabelLine=function(t){wi(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(),a=t.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),r=n.getSum(i);return a.percent=r?+(n.get(i,e)/r*100).toFixed(2):0,a.$vars.push("percent"),a},e.type="series.funnel",e.defaultOption={zlevel:0,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}(Pf);function YC(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),a=n.mapDimension("value"),i=t.get("sort"),r=function(t,e){return Xp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),o=t.get("orient"),l=r.width,s=r.height,u=function(t,e){for(var n=t.mapDimension("value"),a=t.mapArray(n,(function(t){return t})),i=[],r="ascending"===e,o=0,l=t.count();o<l;o++)i[o]=o;return"function"==typeof e?i.sort(e):"none"!==e&&i.sort((function(t,e){return r?a[t]-a[e]:a[e]-a[t]})),i}(n,i),c=r.x,p=r.y,d="horizontal"===o?[qa(t.get("minSize"),s),qa(t.get("maxSize"),s)]:[qa(t.get("minSize"),l),qa(t.get("maxSize"),l)],h=n.getDataExtent(a),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(h[0],0)),null==g&&(g=h[1]);var m=t.get("funnelAlign"),y=t.get("gap"),v=(("horizontal"===o?l:s)-y*(n.count()-1))/n.count(),b=function(t,e){if("horizontal"===o){var i=ja(n.get(a,t)||0,[f,g],d,!0),r=void 0;switch(m){case"top":r=p;break;case"center":r=p+(s-i)/2;break;case"bottom":r=p+(s-i)}return[[e,r],[e,r+i]]}var u,h=ja(n.get(a,t)||0,[f,g],d,!0);switch(m){case"left":u=c;break;case"center":u=c+(l-h)/2;break;case"right":u=c+l-h}return[[u,e],[u+h,e]]};"ascending"===i&&(v=-v,y=-y,"horizontal"===o?c+=l:p+=s,u=u.reverse());for(var x=0;x<u.length;x++){var _=u[x],w=u[x+1],k=n.getItemModel(_);if("horizontal"===o){var S=k.get(["itemStyle","width"]);null==S?S=v:(S=qa(S,l),"ascending"===i&&(S=-S));var M=b(_,c),I=b(w,c+S);c+=S+y,n.setItemLayout(_,{points:M.concat(I.slice().reverse())})}else{var T=k.get(["itemStyle","height"]);null==T?T=v:(T=qa(T,s),"ascending"===i&&(T=-T)),M=b(_,p),I=b(w,p+T),p+=T+y,n.setItemLayout(_,{points:M.concat(I.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var a,i,r,o,l=t.getItemModel(n),s=l.getModel("label").get("position"),u=l.getModel("labelLine"),c=t.getItemLayout(n),p=c.points,d="inner"===s||"inside"===s||"center"===s||"insideLeft"===s||"insideRight"===s;if(d)"insideLeft"===s?(i=(p[0][0]+p[3][0])/2+5,r=(p[0][1]+p[3][1])/2,a="left"):"insideRight"===s?(i=(p[1][0]+p[2][0])/2-5,r=(p[1][1]+p[2][1])/2,a="right"):(i=(p[0][0]+p[1][0]+p[2][0]+p[3][0])/4,r=(p[0][1]+p[1][1]+p[2][1]+p[3][1])/4,a="center"),o=[[i,r],[i,r]];else{var h=void 0,f=void 0,g=void 0,m=void 0,y=u.get("length");"left"===s?(h=(p[3][0]+p[0][0])/2,f=(p[3][1]+p[0][1])/2,i=(g=h-y)-5,a="right"):"right"===s?(h=(p[1][0]+p[2][0])/2,f=(p[1][1]+p[2][1])/2,i=(g=h+y)+5,a="left"):"top"===s?(h=(p[3][0]+p[0][0])/2,r=(m=(f=(p[3][1]+p[0][1])/2)-y)-5,a="center"):"bottom"===s?(h=(p[1][0]+p[2][0])/2,r=(m=(f=(p[1][1]+p[2][1])/2)+y)+5,a="center"):"rightTop"===s?(h="horizontal"===e?p[3][0]:p[1][0],f="horizontal"===e?p[3][1]:p[1][1],"horizontal"===e?(r=(m=f-y)-5,a="center"):(i=(g=h+y)+5,a="top")):"rightBottom"===s?(h=p[2][0],f=p[2][1],"horizontal"===e?(r=(m=f+y)+5,a="center"):(i=(g=h+y)+5,a="bottom")):"leftTop"===s?(h=p[0][0],f="horizontal"===e?p[0][1]:p[1][1],"horizontal"===e?(r=(m=f-y)-5,a="center"):(i=(g=h-y)-5,a="right")):"leftBottom"===s?(h="horizontal"===e?p[1][0]:p[3][0],f="horizontal"===e?p[1][1]:p[2][1],"horizontal"===e?(r=(m=f+y)+5,a="center"):(i=(g=h-y)-5,a="right")):(h=(p[1][0]+p[2][0])/2,f=(p[1][1]+p[2][1])/2,"horizontal"===e?(r=(m=f+y)+5,a="center"):(i=(g=h+y)+5,a="left")),"horizontal"===e?i=g=h:r=m=f,o=[[h,f],[g,m]]}c.label={linePoints:o,x:i,y:r,verticalAlign:"middle",textAlign:a,inside:d}}))}(n)}))}var XC=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new Va,n._initialized=!1,n}return n(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,a){var i=this._dataGroup,r=t.getData(),o=this._data,l=t.coordinateSystem,s=l.dimensions,u=qC(t);if(r.diff(o).add((function(t){KC(jC(r,i,t,s,l),r,t,u)})).update((function(e,n){var a=o.getItemGraphicEl(n),i=ZC(r,e,s,l);r.setItemGraphicEl(e,a),Nu(a,{shape:{points:i}},t,e),Hu(a),KC(a,r,e,u)})).remove((function(t){var e=o.getItemGraphicEl(t);i.remove(e)})).execute(),!this._initialized){this._initialized=!0;var c=function(t,e,n){var a=t.model,i=t.getRect(),r=new cl({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),o="horizontal"===a.get("layout")?"width":"height";return r.setShape(o,0),Eu(r,{shape:{width:i.width,height:i.height}},e,n),r}(l,t,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(c)}this._data=r},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 a=e.getData(),i=e.coordinateSystem,r=i.dimensions,o=qC(e),l=t.start;l<t.end;l++){var s=jC(a,this._dataGroup,l,r,i);s.incremental=!0,KC(s,a,l,o)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(Uf);function ZC(t,e,n,a){for(var i,r=[],o=0;o<n.length;o++){var l=n[o],s=t.get(t.mapDimension(l),e);i=s,("category"===a.getAxis(l).type?null==i:null==i||isNaN(i))||r.push(a.dataToPoint(s,l))}return r}function jC(t,e,n,a,i){var r=ZC(t,n,a,i),o=new du({shape:{points:r},z2:10});return e.add(o),t.setItemGraphicEl(n,o),o}function qC(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),Q(e=hi(e))&&(e=0),{smooth:e}}function KC(t,e,n,a){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",a.smooth);var i=e.getItemModel(n),r=i.getModel("emphasis");gs(t,i,"lineStyle"),ps(t,r.get("focus"),r.get("blurScope"))}var $C=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 n(e,t),e.prototype.getInitialData=function(t,e){return gb(null,this,{useEncodeDefaulter:V(JC,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),a=[];return e.eachActiveState(n,(function(e,i){t===e&&a.push(n.getRawIndex(i))})),a},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(Pf);function JC(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return z(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}var QC=["lineStyle","opacity"],tD={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,a={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 i=a[t];if("normal"===t&&e.hasItemOption){var r=e.getItemModel(n).get(QC,!0);null!=r&&(i=r)}e.ensureUniqueItemVisual(n,"style").opacity=i}),t.start,t.end)}}}};function eD(t){!function(t){if(!t.parallel){var e=!1;z(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}(t),function(t){z(_i(t.parallelAxis),(function(e){if(X(e)){var n=e.parallelIndex||0,a=_i(t.parallel)[n];a&&a.parallelAxisDefault&&S(e,a.parallelAxisDefault,!1)}}))}(t)}var nD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},z(aD,(function(t,e){n.getZr().on(e,this._handlers[e]=V(t,this))}),this)),tg(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){z(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(I({type:"parallelAxisExpand"},t))},e.type="parallel",e}(Ff),aD={mousedown:function(t){iD(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(iD(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 a=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==a.behavior&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&iD(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),a=n.behavior;"jump"===a&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===a?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===a?null:{duration:0}})}}};function iD(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var rD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&S(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){z(["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=[];z(N(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={zlevel:0,z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Qp),oD=function(t){function e(e,n,a,i,r){var o=t.call(this,e,n,a)||this;return o.type=i||"value",o.axisIndex=r,o}return n(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(Fx);function lD(t,e,n,a,i,r){t=t||0;var o=n[1]-n[0];if(null!=i&&(i=uD(i,[0,o])),null!=r&&(r=Math.max(r,null!=i?i:0)),"all"===a){var l=Math.abs(e[1]-e[0]);l=uD(l,[0,o]),i=r=uD(l,[i,r]),a=0}e[0]=uD(e[0],n),e[1]=uD(e[1],n);var s=sD(e,a);e[a]+=t;var u,c=i||0,p=n.slice();return s.sign<0?p[0]+=c:p[1]-=c,e[a]=uD(e[a],p),u=sD(e,a),null!=i&&(u.sign!==s.sign||u.span<i)&&(e[1-a]=e[a]+s.sign*i),u=sD(e,a),null!=r&&u.span>r&&(e[1-a]=e[a]+u.sign*r),e}function sD(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 uD(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var cD=z,pD=Math.min,dD=Math.max,hD=Math.floor,fD=Math.ceil,gD=Ka,mD=Math.PI,yD=function(){function t(t,e,n){this.type="parallel",this._axesMap=pt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var a=t.dimensions,i=t.parallelAxisIndex;cD(a,(function(t,n){var a=i[n],r=e.getComponent("parallelAxis",a),o=this._axesMap.set(t,new oD(t,fx(r),[0,0],r.get("type"),a)),l="category"===o.type;o.onBand=l&&r.get("boundaryGap"),o.inverse=r.get("inverse"),r.axis=o,o.model=r,o.coordinateSystem=r.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,a=e.layoutBase,i=e.pixelDimIndex,r=t[1-i],o=t[i];return r>=n&&r<=n+e.axisLength&&o>=a&&o<=a+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 a=n.getData();cD(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(a,a.mapDimension(t)),hx(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=Xp(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,a=["x","y"],i=["width","height"],r=e.get("layout"),o="horizontal"===r?0:1,l=n[i[o]],s=[0,l],u=this.dimensions.length,c=vD(e.get("axisExpandWidth"),s),p=vD(e.get("axisExpandCount")||0,[0,u]),d=e.get("axisExpandable")&&u>3&&u>p&&p>1&&c>0&&l>0,h=e.get("axisExpandWindow");h?(t=vD(h[1]-h[0],s),h[1]=h[0]+t):(t=vD(c*(p-1),s),(h=[c*(e.get("axisExpandCenter")||hD(u/2))-t/2])[1]=h[0]+t);var f=(l-t)/(u-p);f<3&&(f=0);var g=[hD(gD(h[0]/c,1))+1,fD(gD(h[1]/c,1))-1],m=f/c*h[0];return{layout:r,pixelDimIndex:o,layoutBase:n[a[o]],layoutLength:l,axisBase:n[a[1-o]],axisLength:n[i[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:f,axisExpandWindow:h,axisCount:u,winInnerIndices:g,axisExpandWindow0Pos:m}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,a=this._makeLayoutInfo(),i=a.layout;e.each((function(t){var e=[0,a.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),cD(n,(function(e,n){var r=(a.axisExpandable?xD:bD)(n,a),o={horizontal:{x:r.position,y:a.axisLength},vertical:{x:0,y:r.position}},l={horizontal:mD/2,vertical:0},s=[o[i].x+t.x,o[i].y+t.y],u=l[i],c=[1,0,0,1,0,0];Xn(c,c,u),Yn(c,c,s),this._axesLayout[e]={position:s,rotation:u,transform:c,axisNameAvailableWidth:r.axisNameAvailableWidth,axisLabelShow:r.axisLabelShow,nameTruncateMaxWidth:r.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,a){null==n&&(n=0),null==a&&(a=t.count());var i=this._axesMap,r=this.dimensions,o=[],l=[];z(r,(function(e){o.push(t.mapDimension(e)),l.push(i.get(e).model)}));for(var s=this.hasAxisBrushed(),u=n;u<a;u++){var c=void 0;if(s){c="active";for(var p=t.getValues(o,u),d=0,h=r.length;d<h;d++)if("inactive"===l[d].getActiveState(p[d])){c="inactive";break}}else c="normal";e(c,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,a=0,i=t.length;a<i;a++)"normal"!==e.get(t[a]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return ic([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,a=e.axisExpandWindow.slice(),i=a[1]-a[0],r=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:a};var o,l=t[n]-e.layoutBase-e.axisExpandWindow0Pos,s="slide",u=e.axisCollapseWidth,c=this._model.get("axisExpandSlideTriggerArea"),p=null!=c[0];if(u)p&&u&&l<i*c[0]?(s="jump",o=l-i*c[2]):p&&u&&l>i*(1-c[0])?(s="jump",o=l-i*(1-c[2])):(o=l-i*c[1])>=0&&(o=l-i*(1-c[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?lD(o,a,r,"all"):s="none";else{var d=a[1]-a[0];(a=[dD(0,r[1]*l/d-d/2)])[1]=pD(r[1],a[0]+d),a[0]=a[1]-d}return{axisExpandWindow:a,behavior:s}},t}();function vD(t,e){return pD(dD(t,e[0]),e[1])}function bD(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function xD(t,e){var n,a,i=e.layoutLength,r=e.axisExpandWidth,o=e.axisCount,l=e.axisCollapseWidth,s=e.winInnerIndices,u=l,c=!1;return t<s[0]?(n=t*l,a=l):t<=s[1]?(n=e.axisExpandWindow0Pos+t*r-e.axisExpandWindow[0],u=r,c=!0):(n=i-(o-1-t)*l,a=l),{position:n,axisNameAvailableWidth:u,axisLabelShow:c,nameTruncateMaxWidth:a}}var _D={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(a,i){var r=new yD(a,t,e);r.name="parallel_"+i,r.resize(a,e),a.coordinateSystem=r,r.model=a,n.push(r)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",Ei).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},wD=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return n(e,t),e.prototype.getAreaSelectStyle=function(){return Qi([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","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--)$a(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 a=0,i=e.length;a<i;a++)if(e[a][0]<=t&&t<=e[a][1])return"active";return"inactive"},e}(Qp);L(wD,_x);var kD=!0,SD=Math.min,MD=Math.max,ID=Math.pow,TD="globalPan",CD={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},DD={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},AD={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},LD=0,PD=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new Va,n._uid="brushController_"+LD++,z(rA,(function(t,e){this._handlers[e]=V(t,this)}),n),n}return n(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){fM(t)[e]=n}(e,TD,this._uid),z(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=S(k(AD),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var a=fM(t);a[e]===n&&(a[e]=null)}(t,TD,this._uid),z(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={};z(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=O(t,(function(t){return S(k(AD),t,!0)}));var e=this._covers,n=this._covers=[],a=this,i=this._creatingCover;return new Nv(e,t,(function(t,e){return r(t.__brushOption,e)}),r).add(o).update(o).remove((function(t){e[t]!==i&&a.group.remove(e[t])})).execute(),this;function r(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function o(r,o){var l=t[r];if(null!=o&&e[o]===i)n[r]=e[o];else{var s=n[r]=null!=o?(e[o].__brushOption=l,e[o]):OD(a,zD(a,l));ED(a,s)}}},e.prototype.unmount=function(){return this.enableBrush(!1),GD(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Gt);function zD(t,e){var n=lA[e.brushType].createCover(t,e);return n.__brushOption=e,ND(n,e),t.group.add(n),n}function OD(t,e){var n=BD(e);return n.endCreating&&(n.endCreating(t,e),ND(e,e.__brushOption)),e}function RD(t,e){var n=e.__brushOption;BD(e).updateCoverShape(t,e,n.range,n)}function ND(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=n,t.z2=n}))}function ED(t,e){BD(e).updateCommon(t,e),RD(t,e)}function BD(t){return lA[t.__brushOption.brushType]}function VD(t,e,n){var a,i=t._panels;if(!i)return kD;var r=t._transform;return z(i,(function(t){t.isTargetByCursor(e,n,r)&&(a=t)})),a}function FD(t,e){var n=t._panels;if(!n)return kD;var a=e.__brushOption.panelId;return null!=a?n[a]:kD}function GD(t){var e=t._covers,n=e.length;return z(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function HD(t,e){var n=O(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 WD(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function UD(t,e,n,a){var i=new Va;return i.add(new cl({name:"main",style:jD(n),silent:!0,draggable:!0,cursor:"move",drift:F($D,t,e,i,["n","s","w","e"]),ondragend:F(HD,e,{isEnd:!0})})),z(a,(function(n){i.add(new cl({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:F($D,t,e,i,n),ondragend:F(HD,e,{isEnd:!0})}))})),i}function YD(t,e,n,a){var i=a.brushStyle.lineWidth||0,r=MD(i,6),o=n[0][0],l=n[1][0],s=o-i/2,u=l-i/2,c=n[0][1],p=n[1][1],d=c-r+i/2,h=p-r+i/2,f=c-o,g=p-l,m=f+i,y=g+i;ZD(t,e,"main",o,l,f,g),a.transformable&&(ZD(t,e,"w",s,u,r,y),ZD(t,e,"e",d,u,r,y),ZD(t,e,"n",s,u,m,r),ZD(t,e,"s",s,h,m,r),ZD(t,e,"nw",s,u,r,r),ZD(t,e,"ne",d,u,r,r),ZD(t,e,"sw",s,h,r,r),ZD(t,e,"se",d,h,r,r))}function XD(t,e){var n=e.__brushOption,a=n.transformable,i=e.childAt(0);i.useStyle(jD(n)),i.attr({silent:!a,cursor:a?"move":"default"}),z([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=e.childOfName(n.join("")),r=1===n.length?KD(t,n[0]):function(t,e){var n=[KD(t,e[0]),KD(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);i&&i.attr({silent:!a,invisible:!a,cursor:a?DD[r]+"-resize":null})}))}function ZD(t,e,n,a,i,r,o){var l=e.childOfName(n);l&&l.setShape(function(t){var e=SD(t[0][0],t[1][0]),n=SD(t[0][1],t[1][1]);return{x:e,y:n,width:MD(t[0][0],t[1][0])-e,height:MD(t[0][1],t[1][1])-n}}(tA(t,e,[[a,i],[a+r,i+o]])))}function jD(t){return T({strokeNoScale:!0},t.brushStyle)}function qD(t,e,n,a){var i=[SD(t,n),SD(e,a)],r=[MD(t,n),MD(e,a)];return[[i[0],r[0]],[i[1],r[1]]]}function KD(t,e){return{left:"w",right:"e",top:"n",bottom:"s"}[rc({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return ac(t.group)}(t))]}function $D(t,e,n,a,i,r){var o=n.__brushOption,l=t.toRectRange(o.range),s=QD(e,i,r);z(a,(function(t){var e=CD[t];l[e[0]][e[1]]+=s[e[0]]})),o.range=t.fromRectRange(qD(l[0][0],l[1][0],l[0][1],l[1][1])),ED(e,n),HD(e,{isEnd:!1})}function JD(t,e,n,a){var i=e.__brushOption.range,r=QD(t,n,a);z(i,(function(t){t[0]+=r[0],t[1]+=r[1]})),ED(t,e),HD(t,{isEnd:!1})}function QD(t,e,n){var a=t.group,i=a.transformCoordToLocal(e,n),r=a.transformCoordToLocal(0,0);return[i[0]-r[0],i[1]-r[1]]}function tA(t,e,n){var a=FD(t,e);return a&&a!==kD?a.clipPath(n,t._transform):k(n)}function eA(t){var e=t.event;e.preventDefault&&e.preventDefault()}function nA(t,e,n){return t.childOfName("main").contain(e,n)}function aA(t,e,n,a){var i,r=t._creatingCover,o=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],a=e[0],i=n[0]-a[0],r=n[1]-a[1];return ID(i*i+r*r,.5)>6}(t)||r){if(o&&!r){"single"===l.brushMode&&GD(t);var s=k(l);s.brushType=iA(s.brushType,o),s.panelId=o===kD?null:o.panelId,r=t._creatingCover=zD(t,s),t._covers.push(r)}if(r){var u=lA[iA(t._brushType,o)];r.__brushOption.range=u.getCreatingRange(tA(t,r,t._track)),a&&(OD(t,r),u.updateCommon(t,r)),RD(t,r),i={isEnd:a}}}else a&&"single"===l.brushMode&&l.removeOnClick&&VD(t,e,n)&&GD(t)&&(i={isEnd:a,removeOnClick:!0});return i}function iA(t,e){return"auto"===t?e.defaultBrushType:t}var rA={mousedown:function(t){if(this._dragging)oA(this,t);else if(!t.target||!t.target.draggable){eA(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=VD(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,a=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var a=t._zr;return e<0||e>a.getWidth()||n<0||n>a.getHeight()}(t,e.offsetX,e.offsetY)){var a=t._zr,i=t._covers,r=VD(t,e,n);if(!t._dragging)for(var o=0;o<i.length;o++){var l=i[o].__brushOption;if(r&&(r===kD||l.panelId===r.panelId)&&lA[l.brushType].contain(i[o],n[0],n[1]))return}r&&a.setCursorStyle("crosshair")}}(this,t,a),this._dragging){eA(t);var i=aA(this,t,a,!1);i&&HD(this,i)}},mouseup:function(t){oA(this,t)}};function oA(t,e){if(t._dragging){eA(e);var n=e.offsetX,a=e.offsetY,i=t.group.transformCoordToLocal(n,a),r=aA(t,e,i,!0);t._dragging=!1,t._track=[],t._creatingCover=null,r&&HD(t,r)}}var lA={lineX:sA(0),lineY:sA(1),rect:{createCover:function(t,e){function n(t){return t}return UD({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=WD(t);return qD(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,a){YD(t,e,n,a)},updateCommon:XD,contain:nA},polygon:{createCover:function(t,e){var n=new Va;return n.add(new du({name:"main",style:jD(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new cu({name:"main",draggable:!0,drift:F(JD,t,e),ondragend:F(HD,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,a){e.childAt(0).setShape({points:tA(t,e,n)})},updateCommon:XD,contain:nA}};function sA(t){return{createCover:function(e,n){return UD({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=WD(e);return[SD(n[0][t],n[1][t]),MD(n[0][t],n[1][t])]},updateCoverShape:function(e,n,a,i){var r,o=FD(e,n);if(o!==kD&&o.getLinearBrushOtherExtent)r=o.getLinearBrushOtherExtent(t);else{var l=e._zr;r=[0,[l.getWidth(),l.getHeight()][1-t]]}var s=[a,r];t&&s.reverse(),YD(e,n,s,i)},updateCommon:XD,contain:nA}}function uA(t){return t=dA(t),function(e){return sc(e,t)}}function cA(t,e){return t=dA(t),function(n){var a=null!=e?e:n,i=a?t.width:t.height,r=a?t.x:t.y;return[r,r+(i||0)]}}function pA(t,e,n){var a=dA(t);return function(t,i){return a.contain(i[0],i[1])&&!wM(t,e,n)}}function dA(t){return ya.create(t)}var hA=["axisLine","axisTickLabel","axisName"],fA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new PD(n.getZr())).on("brush",V(this._onBrush,this))},e.prototype.render=function(t,e,n,a){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,a)){this.axisModel=t,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new Va,this.group.add(this._axisGroup),t.get("show")){var r=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),o=r.coordinateSystem,l=t.getAreaSelectStyle(),s=l.width,u=t.axis.dim,c=I({strokeContainThreshold:s},o.getAxisLayout(u)),p=new IS(t,c);z(hA,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(c,l,t,r,s,n),lc(i,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,a,i,r){var o=n.axis.getExtent(),l=o[1]-o[0],s=Math.min(30,.1*Math.abs(l)),u=ya.create({x:o[0],y:-i/2,width:l,height:i});u.x-=s,u.width+=2*s,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:uA(u),isTargetByCursor:pA(u,r,a),getLinearBrushOtherExtent:cA(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return O(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,a=n.axis,i=O(e,(function(t){return[a.coordToData(t.range[0],!0),a.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Ff),gA={type:"axisAreaSelect",event:"axisAreaSelected"},mA={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function yA(t){t.registerComponentView(nD),t.registerComponentModel(rD),t.registerCoordinateSystem("parallel",_D),t.registerPreprocessor(eD),t.registerComponentModel(wD),t.registerComponentView(fA),pS(t,"parallel",wD,mA),function(t){t.registerAction(gA,(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 vA=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},bA=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultShape=function(){return new vA},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(){Jl(this)},e.prototype.downplay=function(){Ql(this)},e}(Jo),xA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return n(e,t),e.prototype.render=function(t,e,n){var a=this,i=t.getGraph(),r=this.group,o=t.layoutInfo,l=o.width,s=o.height,u=t.getData(),c=t.getData("edge"),p=t.get("orient");this._model=t,r.removeAll(),r.x=o.x,r.y=o.y,i.eachEdge((function(e){var n=new bA,a=wl(n);a.dataIndex=e.dataIndex,a.seriesIndex=t.seriesIndex,a.dataType="edge";var i,o,u,d,h,f,g,m,y=e.getModel(),v=y.getModel("lineStyle"),b=v.get("curveness"),x=e.node1.getLayout(),_=e.node1.getModel(),w=_.get("localX"),k=_.get("localY"),S=e.node2.getLayout(),M=e.node2.getModel(),I=M.get("localX"),T=M.get("localY"),C=e.getLayout();switch(n.shape.extent=Math.max(1,C.dy),n.shape.orient=p,"vertical"===p?(i=(null!=w?w*l:x.x)+C.sy,o=(null!=k?k*s:x.y)+x.dy,u=(null!=I?I*l:S.x)+C.ty,h=i,f=o*(1-b)+(d=null!=T?T*s:S.y)*b,g=u,m=o*b+d*(1-b)):(i=(null!=w?w*l:x.x)+x.dx,o=(null!=k?k*s:x.y)+C.sy,h=i*(1-b)+(u=null!=I?I*l:S.x)*b,f=o,g=i*b+u*(1-b),m=d=(null!=T?T*s:S.y)+C.ty),n.setShape({x1:i,y1:o,x2:u,y2:d,cpx1:h,cpy1:f,cpx2:g,cpy2:m}),n.useStyle(v.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var D=e.node1.getVisual("color"),A=e.node2.getVisual("color");"string"==typeof D&&"string"==typeof A&&(n.style.fill=new Su(0,0,+("horizontal"===p),+("vertical"===p),[{color:D,offset:0},{color:A,offset:1}]))}var L=y.getModel("emphasis");gs(n,y,"lineStyle",(function(t){return t.getItemStyle()})),r.add(n),c.setItemGraphicEl(e.dataIndex,n);var P=L.get("focus");ps(n,"adjacency"===P?e.getAdjacentDataIndices():P,L.get("blurScope")),wl(n).dataType="edge"})),i.eachNode((function(e){var n=e.getLayout(),a=e.getModel(),i=a.get("localX"),o=a.get("localY"),c=a.getModel("emphasis"),p=new cl({shape:{x:null!=i?i*l:n.x,y:null!=o?o*s:n.y,width:n.dx,height:n.dy},style:a.getModel("itemStyle").getItemStyle(),z2:10});bc(p,xc(a),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),p.disableLabelAnimation=!0,p.setStyle("fill",e.getVisual("color")),p.setStyle("decal",e.getVisual("style").decal),gs(p,a),r.add(p),u.setItemGraphicEl(e.dataIndex,p),wl(p).dataType="node";var d=c.get("focus");ps(p,"adjacency"===d?e.getAdjacentDataIndices():d,c.get("blurScope"))})),u.eachItemGraphicEl((function(e,i){u.getItemModel(i).get("draggable")&&(e.drift=function(e,r){a._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=r,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(i),localX:this.shape.x/l,localY:this.shape.y/s})},e.ondragend=function(){a._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&r.setClipPath(function(t,e,n){var a=new cl({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Eu(a,{shape:{width:t.width+20}},e,n),a}(r.getBoundingRect(),t,(function(){r.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(Uf),_A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,a=t.data||t.nodes,i=t.levels;this.levelModels=[];for(var r=this.levelModels,o=0;o<i.length;o++)null!=i[o].depth&&i[o].depth>=0&&(r[i[o].depth]=new Hc(i[o],this,e));if(a&&n)return PC(a,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,a=n.getData().getItemLayout(e);if(a){var i=a.depth,r=n.levelModels[i];r&&(t.parentModel=r)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,a=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(a){var i=a.depth,r=n.levelModels[i];r&&(t.parentModel=r)}return t}))})).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 a(t){return isNaN(t)||null==t}if("edge"===n){var i=this.getDataParams(t,n),r=i.data,o=i.value;return bf("nameValue",{name:r.source+" -- "+r.target,value:o,noValue:a(o)})}var l=this.getGraph().getNodeByIndex(t).getLayout().value,s=this.getDataParams(t,n).data.name;return bf("nameValue",{name:null!=s?s+"":null,value:l,noValue:a(l)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var a=t.prototype.getDataParams.call(this,e,n);if(null==a.value&&"node"===n){var i=this.getGraph().getNodeByIndex(e).getLayout().value;a.value=i}return a},e.type="series.sankey",e.defaultOption={zlevel:0,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},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}(Pf);function wA(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),a=t.get("nodeGap"),i=function(t,e){return Xp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=i;var r=i.width,o=i.height,l=t.getGraph(),s=l.nodes,u=l.edges;!function(t){z(t,(function(t){var e=PA(t.outEdges,LA),n=PA(t.inEdges,LA),a=t.getValue()||0,i=Math.max(e,n,a);t.setLayout({value:i},!0)}))}(s),function(t,e,n,a,i,r,o,l,s){(function(t,e,n,a,i,r,o){for(var l=[],s=[],u=[],c=[],p=0,d=0;d<e.length;d++)l[d]=1;for(d=0;d<t.length;d++)s[d]=t[d].inEdges.length,0===s[d]&&u.push(t[d]);for(var h=-1;u.length;){for(var f=0;f<u.length;f++){var g=u[f],m=g.hostGraph.data.getRawDataItem(g.dataIndex),y=null!=m.depth&&m.depth>=0;y&&m.depth>h&&(h=m.depth),g.setLayout({depth:y?m.depth:p},!0),"vertical"===r?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var v=0;v<g.outEdges.length;v++){var b=g.outEdges[v];l[e.indexOf(b)]=0;var x=b.node2;0==--s[t.indexOf(x)]&&c.indexOf(x)<0&&c.push(x)}}++p,u=c,c=[]}for(d=0;d<l.length;d++)if(1===l[d])throw new Error("Sankey is a DAG, the original data has cycle!");var _=h>p-1?h:p-1;o&&"left"!==o&&function(t,e,n,a){if("right"===e){for(var i=[],r=t,o=0;r.length;){for(var l=0;l<r.length;l++){var s=r[l];s.setLayout({skNodeHeight:o},!0);for(var u=0;u<s.inEdges.length;u++){var c=s.inEdges[u];i.indexOf(c.node1)<0&&i.push(c.node1)}}r=i,i=[],++o}z(t,(function(t){kA(t)||t.setLayout({depth:Math.max(0,a-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){z(t,(function(t){kA(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,a)}(t,o,0,_),function(t,e,n){z(t,(function(t){var a=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:a},!0):t.setLayout({x:a},!0)}))}(t,"vertical"===r?(i-n)/_:(a-n)/_,r)})(t,e,n,i,r,l,s),function(t,e,n,a,i,r,o){var l=function(t,e){var n=[],a="vertical"===e?"y":"x",i=Gi(t,(function(t){return t.getLayout()[a]}));return i.keys.sort((function(t,e){return t-e})),z(i.keys,(function(t){n.push(i.buckets.get(t))})),n}(t,o);(function(t,e,n,a,i,r){var o=1/0;z(t,(function(t){var e=t.length,l=0;z(t,(function(t){l+=t.getLayout().value}));var s="vertical"===r?(a-(e-1)*i)/l:(n-(e-1)*i)/l;s<o&&(o=s)})),z(t,(function(t){z(t,(function(t,e){var n=t.getLayout().value*o;"vertical"===r?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),z(e,(function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)}))})(l,e,n,a,i,o),SA(l,i,n,a,o);for(var s=1;r>0;r--)MA(l,s*=.99,o),SA(l,i,n,a,o),zA(l,s,o),SA(l,i,n,a,o)}(t,e,r,i,a,o,l),function(t,e){var n="vertical"===e?"x":"y";z(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]}))})),z(t,(function(t){var e=0,n=0;z(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),z(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,l)}(s,u,n,a,r,o,0!==N(s,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function kA(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function SA(t,e,n,a,i){var r="vertical"===i?"x":"y";z(t,(function(t){var o,l,s;t.sort((function(t,e){return t.getLayout()[r]-e.getLayout()[r]}));for(var u=0,c=t.length,p="vertical"===i?"dx":"dy",d=0;d<c;d++)(s=u-(l=t[d]).getLayout()[r])>0&&(o=l.getLayout()[r]+s,"vertical"===i?l.setLayout({x:o},!0):l.setLayout({y:o},!0)),u=l.getLayout()[r]+l.getLayout()[p]+e;if((s=u-e-("vertical"===i?a:n))>0)for(o=l.getLayout()[r]-s,"vertical"===i?l.setLayout({x:o},!0):l.setLayout({y:o},!0),u=o,d=c-2;d>=0;--d)(s=(l=t[d]).getLayout()[r]+l.getLayout()[p]+e-u)>0&&(o=l.getLayout()[r]-s,"vertical"===i?l.setLayout({x:o},!0):l.setLayout({y:o},!0)),u=l.getLayout()[r]}))}function MA(t,e,n){z(t.slice().reverse(),(function(t){z(t,(function(t){if(t.outEdges.length){var a=PA(t.outEdges,IA,n)/PA(t.outEdges,LA);if(isNaN(a)){var i=t.outEdges.length;a=i?PA(t.outEdges,TA,n)/i:0}if("vertical"===n){var r=t.getLayout().x+(a-AA(t,n))*e;t.setLayout({x:r},!0)}else{var o=t.getLayout().y+(a-AA(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function IA(t,e){return AA(t.node2,e)*t.getValue()}function TA(t,e){return AA(t.node2,e)}function CA(t,e){return AA(t.node1,e)*t.getValue()}function DA(t,e){return AA(t.node1,e)}function AA(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function LA(t){return t.getValue()}function PA(t,e,n){for(var a=0,i=t.length,r=-1;++r<i;){var o=+e(t[r],n);isNaN(o)||(a+=o)}return a}function zA(t,e,n){z(t,(function(t){z(t,(function(t){if(t.inEdges.length){var a=PA(t.inEdges,CA,n)/PA(t.inEdges,LA);if(isNaN(a)){var i=t.inEdges.length;a=i?PA(t.inEdges,DA,n)/i:0}if("vertical"===n){var r=t.getLayout().x+(a-AA(t,n))*e;t.setLayout({x:r},!0)}else{var o=t.getLayout().y+(a-AA(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function OA(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,a=-1/0;z(e,(function(t){var e=t.getLayout().value;e<n&&(n=e),e>a&&(a=e)})),z(e,(function(e){var i=new eT({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),r=e.getModel().get(["itemStyle","color"]);null!=r?(e.setVisual("color",r),e.setVisual("style",{fill:r})):(e.setVisual("color",i),e.setVisual("style",{fill:i}))}))}}))}var RA=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,a,i=e.getComponent("xAxis",this.get("xAxisIndex")),r=e.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),l=r.get("type");"category"===o?(t.layout="horizontal",n=i.getOrdinalMeta(),a=!0):"category"===l?(t.layout="vertical",n=r.getOrdinalMeta(),a=!0):t.layout=t.layout||"horizontal";var s=["x","y"],u="horizontal"===t.layout?0:1,c=this._baseAxisDim=s[u],p=s[1-u],d=[i,r],h=d[u].get("type"),f=d[1-u].get("type"),g=t.data;if(g&&a){var m=[];z(g,(function(t,e){var n;G(t)?(n=t.slice(),t.unshift(e)):G(t.value)?((n=I({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,m.push(n)})),t.data=m}var y=this.defaultValueDimensions,v=[{name:c,type:Vv(h),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:p,type:Vv(f),dimsDef:y.slice()}];return Kk(this,{coordDimensions:v,dimensionsCount:y.length+1,encodeDefaulter:F(md,v,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),NA=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 n(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,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}(Pf);L(NA,RA,!0);var EA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this.group,r=this._data;this._data||i.removeAll();var o="horizontal"===t.get("layout")?1:0;a.diff(r).add((function(t){if(a.hasValue(t)){var e=FA(a.getItemLayout(t),a,t,o,!0);a.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=r.getItemGraphicEl(e);if(a.hasValue(t)){var l=a.getItemLayout(t);n?(Hu(n),GA(l,n,a,t)):n=FA(l,a,t,o),i.add(n),a.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=a},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}(Uf),BA=function(){},VA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return n(e,t),e.prototype.getDefaultShape=function(){return new BA},e.prototype.buildPath=function(t,e){var n=e.points,a=0;for(t.moveTo(n[a][0],n[a][1]),a++;a<4;a++)t.lineTo(n[a][0],n[a][1]);for(t.closePath();a<n.length;a++)t.moveTo(n[a][0],n[a][1]),a++,t.lineTo(n[a][0],n[a][1])},e}(Jo);function FA(t,e,n,a,i){var r=t.ends,o=new VA({shape:{points:i?HA(r,a,t):r}});return GA(t,o,e,n,i),o}function GA(t,e,n,a,i){var r=n.hostModel;(0,gc[i?"initProps":"updateProps"])(e,{shape:{points:t.ends}},r,a),e.useStyle(n.getItemVisual(a,"style")),e.style.strokeNoScale=!0,e.z2=100;var o=n.getItemModel(a);gs(e,o),ps(e,o.get(["emphasis","focus"]),o.get(["emphasis","blurScope"]))}function HA(t,e,n){return O(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}function WA(t,e){}var UA=z;function YA(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var a=t.getBaseAxis(),i=D(n,a);i<0&&(i=n.length,n[i]=a,e[i]={axis:a,seriesModels:[]}),e[i].seriesModels.push(t)})),e}(t);UA(e,(function(t){var e=t.seriesModels;e.length&&(function(t){var e,n,a=t.axis,i=t.seriesModels,r=i.length,o=t.boxWidthList=[],l=t.boxOffsetList=[],s=[];if("category"===a.type)n=a.getBandWidth();else{var u=0;UA(i,(function(t){u=Math.max(u,t.getData().count())})),e=a.getExtent(),Math.abs(e[1]-e[0])}UA(i,(function(t){var e=t.get("boxWidth");G(e)||(e=[e,e]),s.push([qa(e[0],n)||0,qa(e[1],n)||0])}));var c=.8*n-2,p=c/r*.3,d=(c-p*(r-1))/r,h=d/2-c/2;UA(i,(function(t,e){l.push(h),h+=p+d,o.push(Math.min(Math.max(d,s[e][0]),s[e][1]))}))}(t),UA(e,(function(e,n){!function(t,e,n){var a=t.coordinateSystem,i=t.getData(),r=n/2,o="horizontal"===t.get("layout")?0:1,l=1-o,s=["x","y"],u=i.mapDimension(s[o]),c=i.mapDimensionsAll(s[l]);if(!(null==u||c.length<5))for(var p=0;p<i.count();p++){var d=i.get(u,p),h=b(d,c[2],p),f=b(d,c[0],p),g=b(d,c[1],p),m=b(d,c[3],p),y=b(d,c[4],p),v=[];x(v,g,!1),x(v,m,!0),v.push(f,g,y,m),_(v,f),_(v,y),_(v,h),i.setItemLayout(p,{initBaseline:h[l],ends:v})}function b(t,n,r){var s,u=i.get(n,r),c=[];return c[o]=t,c[l]=u,isNaN(t)||isNaN(u)?s=[NaN,NaN]:(s=a.dataToPoint(c))[o]+=e,s}function x(t,e,n){var a=e.slice(),i=e.slice();a[o]+=r,i[o]-=r,n?t.push(a,i):t.push(i,a)}function _(t,e){var n=e.slice(),a=e.slice();n[o]-=r,a[o]+=r,t.push(n,a)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var XA={type:"echarts:boxplot",transform:function(t){var e=t.upstream;e.sourceFormat!==rd&&vi("");var n=function(t,e){for(var n=[],a=[],i=(e=e||{}).boundIQR,r="none"===i||0===i,o=0;o<t.length;o++){var l=$a(t[o].slice()),s=pi(l,.25),u=pi(l,.5),c=pi(l,.75),p=l[0],d=l[l.length-1],h=(null==i?1.5:i)*(c-s),f=r?p:Math.max(p,s-h),g=r?d:Math.min(d,c+h),m=e.itemNameFormatter,y=H(m)?m({value:o}):W(m)?m.replace("{value}",o+""):o+"";n.push([y,f,s,u,c,g]);for(var v=0;v<l.length;v++){var b=l[v];if(b<f||b>g){var x=[y,b];a.push(x)}}}return{boxData:n,outliers:a}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}},ZA=["color","borderColor"],jA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),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,a){this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},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,a=this.group,i=e.getLayout("isSimpleBox"),r=t.get("clip",!0),o=t.coordinateSystem,l=o.getArea&&o.getArea();this._data||a.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(r&&JA(l,o))return;var s=$A(o,n,!0);Eu(s,{shape:{points:o.ends}},t,n),QA(s,e,n,i),a.add(s),e.setItemGraphicEl(n,s)}})).update((function(o,s){var u=n.getItemGraphicEl(s);if(e.hasValue(o)){var c=e.getItemLayout(o);r&&JA(l,c)?a.remove(u):(u?(Nu(u,{shape:{points:c.ends}},t,o),Hu(u)):u=$A(c),QA(u,e,o,i),a.add(u),e.setItemGraphicEl(o,u))}else a.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&a.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),aL(t,this.group);var e=t.get("clip",!0)?qw(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,a=e.getData(),i=a.getLayout("isSimpleBox");null!=(n=t.next());){var r=$A(a.getItemLayout(n));QA(r,a,n,i),r.incremental=!0,this.group.add(r)}},e.prototype._incrementalRenderLarge=function(t,e){aL(e,this.group,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(Uf),qA=function(){},KA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return n(e,t),e.prototype.getDefaultShape=function(){return new qA},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}(Jo);function $A(t,e,n){var a=t.ends;return new KA({shape:{points:n?tL(a,t):a},z2:100})}function JA(t,e){for(var n=!0,a=0;a<e.ends.length;a++)if(t.contain(e.ends[a][0],e.ends[a][1])){n=!1;break}return n}function QA(t,e,n,a){var i=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=a,gs(t,i)}function tL(t,e){return O(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var eL=function(){},nL=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return n(e,t),e.prototype.getDefaultShape=function(){return new eL},e.prototype.buildPath=function(t,e){for(var n=e.points,a=0;a<n.length;)if(this.__sign===n[a++]){var i=n[a++];t.moveTo(i,n[a++]),t.lineTo(i,n[a++])}else a+=3},e}(Jo);function aL(t,e,n){var a=t.getData().getLayout("largePoints"),i=new nL({shape:{points:a},__sign:1});e.add(i);var r=new nL({shape:{points:a},__sign:-1});e.add(r),iL(1,i,t),iL(-1,r,t),n&&(i.incremental=!0,r.incremental=!0)}function iL(t,e,n,a){var i=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),r=n.getModel("itemStyle").getItemStyle(ZA);e.useStyle(r),e.style.fill=null,e.style.stroke=i}var rL=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 n(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var a=e.getItemLayout(t);return a&&n.rect(a.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(Pf);function oL(t){t&&G(t.series)&&z(t.series,(function(t){X(t)&&"k"===t.type&&(t.type="candlestick")}))}L(rL,RA,!0);var lL=["itemStyle","borderColor"],sL=["itemStyle","borderColor0"],uL=["itemStyle","color"],cL=["itemStyle","color0"],pL={seriesType:"candlestick",plan:Gf(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?uL:cL)}function a(t,e){return e.get(t>0?lL:sL)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var i;null!=(i=t.next());){var r=e.getItemModel(i),o=e.getItemLayout(i).sign,l=r.getItemStyle();l.fill=n(o,r),l.stroke=a(o,r)||l.fill,I(e.ensureUniqueItemVisual(i,"style"),l)}}}}},dL="undefined"!=typeof Float32Array?Float32Array:Array,hL={seriesType:"candlestick",plan:Gf(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),a=function(t,e){var n,a=t.getBaseAxis(),i="category"===a.type?a.getBandWidth():(n=a.getExtent(),Math.abs(n[1]-n[0])/e.count()),r=qa(et(t.get("barMaxWidth"),i),i),o=qa(et(t.get("barMinWidth"),1),i),l=t.get("barWidth");return null!=l?qa(l,i):Math.max(Math.min(i/2,r),o)}(t,n),i=["x","y"],r=n.getDimensionIndex(n.mapDimension(i[0])),o=O(n.mapDimensionsAll(i[1]),n.getDimensionIndex,n),l=o[0],s=o[1],u=o[2],c=o[3];if(n.setLayout({candleWidth:a,isSimpleBox:a<=1.3}),!(r<0||o.length<4))return{progress:t.pipelineContext.large?function(t,n){for(var a,i,o=new dL(4*t.count),p=0,d=[],h=[],f=n.getStore();null!=(i=t.next());){var g=f.get(r,i),m=f.get(l,i),y=f.get(s,i),v=f.get(u,i),b=f.get(c,i);isNaN(g)||isNaN(v)||isNaN(b)?(o[p++]=NaN,p+=3):(o[p++]=fL(f,i,m,y,s),d[0]=g,d[1]=v,a=e.dataToPoint(d,null,h),o[p++]=a?a[0]:NaN,o[p++]=a?a[1]:NaN,d[1]=b,a=e.dataToPoint(d,null,h),o[p++]=a?a[1]:NaN)}n.setLayout("largePoints",o)}:function(t,n){for(var i,o=n.getStore();null!=(i=t.next());){var p=o.get(r,i),d=o.get(l,i),h=o.get(s,i),f=o.get(u,i),g=o.get(c,i),m=Math.min(d,h),y=Math.max(d,h),v=k(m,p),b=k(y,p),x=k(f,p),_=k(g,p),w=[];S(w,b,0),S(w,v,1),w.push(I(_),I(b),I(x),I(v)),n.setItemLayout(i,{sign:fL(o,i,d,h,s),initBaseline:d>h?b[1]:v[1],ends:w,brushRect:M(f,g,p)})}function k(t,n){var a=[];return a[0]=n,a[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(a)}function S(t,e,n){var i=e.slice(),r=e.slice();i[0]=nc(i[0]+a/2,1,!1),r[0]=nc(r[0]-a/2,1,!0),n?t.push(i,r):t.push(r,i)}function M(t,e,n){var i=k(t,n),r=k(e,n);return i[0]-=a/2,r[0]-=a/2,{x:i[0],y:i[1],width:a,height:r[1]-i[1]}}function I(t){return t[0]=nc(t[0],1),t}}}}};function fL(t,e,n,a,i){return n>a?-1:n<a?1:e>0?t.get(i,e-1)<=a?1:-1:1}function gL(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 mL=function(t){function e(e,n){var a=t.call(this)||this,i=new Cw(e,n),r=new Va;return a.add(i),a.add(r),a.updateData(e,n),a}return n(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,a=t.rippleNumber,i=this.childAt(1),r=0;r<a;r++){var o=Jg(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var l=-r/a*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(l).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(l).start(),i.add(o)}gL(i,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),a=["symbolType","period","rippleScale","rippleNumber"],i=0;i<a.length;i++){var r=a[i];if(e[r]!==t[r])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}gL(n,t)},e.prototype.highlight=function(){Jl(this)},e.prototype.downplay=function(){Ql(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,a=t.hostModel;this.childAt(0).updateData(t,e);var i=this.childAt(1),r=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),l=Qg(t.getItemVisual(e,"symbolSize")),s=t.getItemVisual(e,"style"),u=s&&s.fill;i.setScale(l),i.traverse((function(t){t.setStyle("fill",u)}));var c=tm(t.getItemVisual(e,"symbolOffset"),l);c&&(i.x=c[0],i.y=c[1]);var p=t.getItemVisual(e,"symbolRotate");i.rotation=(p||0)*Math.PI/180||0;var d={};d.showEffectOn=a.get("showEffectOn"),d.rippleScale=r.get(["rippleEffect","scale"]),d.brushType=r.get(["rippleEffect","brushType"]),d.period=1e3*r.get(["rippleEffect","period"]),d.effectOffset=e/t.count(),d.z=a.getShallow("z")||0,d.zlevel=a.getShallow("zlevel")||0,d.symbolType=o,d.color=u,d.rippleEffectColor=r.get(["rippleEffect","color"]),d.rippleNumber=r.get(["rippleEffect","number"]),this.off("mouseover").off("mouseout").off("emphasis").off("normal"),"render"===d.showEffectOn?(this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==d.showEffectOn&&n.startEffectAnimation(d):"normal"===t&&"render"!==d.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=d,ps(this)},e.prototype.fadeOut=function(t){this.off("mouseover").off("mouseout"),t&&t()},e}(Va),yL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this._symbolDraw=new zw(mL)},e.prototype.render=function(t,e,n){var a=t.getData(),i=this._symbolDraw;i.updateData(a,{clipShape:this._getClipShape(t)}),this.group.add(i.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 a=t.getData();this.group.dirty();var i=sk("").reset(t,e,n);i.progress&&i.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=qn(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(Uf),vL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){return gb(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",zlevel:0,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}(Pf),bL=function(t){function e(e,n,a){var i=t.call(this)||this;return i.add(i.createLine(e,n,a)),i._updateEffectSymbol(e,n),i}return n(e,t),e.prototype.createLine=function(t,e,n){return new dC(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),a=n.get("symbolSize"),i=n.get("symbol");G(a)||(a=[a,a]);var r=t.getItemVisual(e,"style"),o=n.get("color")||r&&r.stroke,l=this.childAt(1);this._symbolType!==i&&(this.remove(l),(l=Jg(i,-.5,-.5,1,1,o)).z2=100,l.culling=!0,this.add(l)),l&&(l.setStyle("shadowColor",o),l.setStyle(n.getItemStyle(["color"])),l.scaleX=a[0],l.scaleY=a[1],l.setColor(o),this._symbolType=i,this._symbolScale=a,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var a=this.childAt(1);if(a){var i=this,r=t.getItemLayout(n),o=1e3*e.get("period"),l=e.get("loop"),s=e.get("constantSpeed"),u=tt(e.get("delay"),(function(e){return e/t.count()*o/3}));if(a.ignore=!0,this._updateAnimationPoints(a,r),s>0&&(o=this._getLineLength(a)/s*1e3),(o!==this._period||l!==this._loop)&&(a.stopAnimation(),o>0)){var c=void 0;c="function"==typeof u?u(n):u,a.__t>0&&(c=-o*a.__t),a.__t=0;var p=a.animate("",l).when(o,{__t:1}).delay(c).during((function(){i._updateSymbolPosition(a)}));l||p.done((function(){i.remove(a)})),p.start()}this._period=o,this._loop=l}},e.prototype._getLineLength=function(t){return Lt(t.__p1,t.__cp1)+Lt(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,a=t.__cp1,i=t.__t,r=[t.x,t.y],o=r.slice(),l=Yr,s=Xr;r[0]=l(e[0],a[0],n[0],i),r[1]=l(e[1],a[1],n[1],i);var u=s(e[0],a[0],n[0],i),c=s(e[1],a[1],n[1],i);t.rotation=-Math.atan2(c,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*Lt(o,r),1===i&&(r[0]=o[0]+(r[0]-o[0])/2,r[1]=o[1]+(r[1]-o[1])/2)):1===t.__lastT?t.scaleY=2*Lt(e,r):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=r[0],t.y=r[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}(Va),xL=function(t){function e(e,n,a){var i=t.call(this)||this;return i._createPolyline(e,n,a),i}return n(e,t),e.prototype._createPolyline=function(t,e,n){var a=t.getItemLayout(e),i=new du({shape:{points:a}});this.add(i),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var a=t.hostModel;Nu(this.childAt(0),{shape:{points:t.getItemLayout(e)}},a,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var a=this.childAt(0),i=t.getItemModel(e),r=n&&n.emphasisLineStyle;n&&!t.hasItemOption||(r=i.getModel(["emphasis","lineStyle"]).getLineStyle()),a.useStyle(t.getItemVisual(e,"style")),a.style.fill=null,a.style.strokeNoScale=!0,a.ensureState("emphasis").style=r,ps(this)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(Va),_L=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return n(e,t),e.prototype.createLine=function(t,e,n){return new xL(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],a=0,i=1;i<e.length;i++){var r=e[i-1],o=e[i];a+=Lt(r,o),n.push(a)}if(0!==a){for(i=0;i<n.length;i++)n[i]/=a;this._offsets=n,this._length=a}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t,n=this._points,a=this._offsets,i=n.length;if(a){var r,o=this._lastFrame;if(e<this._lastFramePercent){for(r=Math.min(o+1,i-1);r>=0&&!(a[r]<=e);r--);r=Math.min(r,i-2)}else{for(r=o;r<i&&!(a[r]>e);r++);r=Math.min(r-1,i-2)}var l=(e-a[r])/(a[r+1]-a[r]),s=n[r],u=n[r+1];t.x=s[0]*(1-l)+l*u[0],t.y=s[1]*(1-l)+l*u[1];var c=u[0]-s[0],p=u[1]-s[1];t.rotation=-Math.atan2(p,c)-Math.PI/2,this._lastFrame=r,this._lastFramePercent=e,t.ignore=!1}},e}(bL),wL=function(){this.polyline=!1,this.curveness=0,this.segs=[]},kL=function(t){function e(e){return t.call(this,e)||this}return n(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new wL},e.prototype.buildPath=function(t,e){var n=e.segs,a=e.curveness;if(e.polyline)for(var i=0;i<n.length;){var r=n[i++];if(r>0){t.moveTo(n[i++],n[i++]);for(var o=1;o<r;o++)t.lineTo(n[i++],n[i++])}}else for(i=0;i<n.length;){var l=n[i++],s=n[i++],u=n[i++],c=n[i++];if(t.moveTo(l,s),a>0){var p=(l+u)/2-(s-c)*a,d=(s+c)/2-(u-l)*a;t.quadraticCurveTo(p,d,u,c)}else t.lineTo(u,c)}},e.prototype.findDataIndex=function(t,e){var n=this.shape,a=n.segs,i=n.curveness,r=this.style.lineWidth;if(n.polyline)for(var o=0,l=0;l<a.length;){var s=a[l++];if(s>0)for(var u=a[l++],c=a[l++],p=1;p<s;p++)if(zo(u,c,d=a[l++],h=a[l++],r,t,e))return o;o++}else for(o=0,l=0;l<a.length;){u=a[l++],c=a[l++];var d=a[l++],h=a[l++];if(i>0){if(Ro(u,c,(u+d)/2-(c-h)*i,(c+h)/2-(d-u)*i,d,h,r,t,e))return o}else if(zo(u,c,d,h,r,t,e))return o;o++}return-1},e}(Jo),SL=function(){function t(){this.group=new Va}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t){this.group.removeAll();var e=new kL({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new Pu({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e){var n=new kL;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},t.prototype.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},t.prototype._setCommon=function(t,e,n){var a=e.hostModel;t.setShape({polyline:a.get("polyline"),curveness:a.get(["lineStyle","curveness"])}),t.useStyle(a.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("style");if(i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null),!n){var r=wl(t);r.seriesIndex=a.seriesIndex,t.on("mousemove",(function(e){r.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(r.dataIndex=n+t.__startIndex)}))}},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),ML={seriesType:"lines",plan:Gf(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),a=t.pipelineContext.large;return{progress:function(i,r){var o=[];if(a){var l=void 0,s=i.end-i.start;if(n){for(var u=0,c=i.start;c<i.end;c++)u+=t.getLineCoordsCount(c);l=new Float32Array(s+2*u)}else l=new Float32Array(4*s);var p=0,d=[];for(c=i.start;c<i.end;c++){var h=t.getLineCoords(c,o);n&&(l[p++]=h);for(var f=0;f<h;f++)d=e.dataToPoint(o[f],!1,d),l[p++]=d[0],l[p++]=d[1]}r.setLayout("linesPoints",l)}else for(c=i.start;c<i.end;c++){var g=r.getItemModel(c),m=(h=t.getLineCoords(c,o),[]);if(n)for(var y=0;y<h;y++)m.push(e.dataToPoint(o[y]));else{m[0]=e.dataToPoint(o[0]),m[1]=e.dataToPoint(o[1]);var v=g.get(["lineStyle","curveness"]);+v&&(m[2]=[(m[0][0]+m[1][0])/2-(m[0][1]-m[1][1])*v,(m[0][1]+m[1][1])/2-(m[1][0]-m[0][0])*v])}r.setItemLayout(c,m)}}}}},IL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this._updateLineDraw(a,t),r=t.get("zlevel"),o=t.get(["effect","trailLength"]),l=n.getZr(),s="svg"===l.painter.getType();s||l.painter.getLayer(r).clear(!0),null==this._lastZlevel||s||l.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o&&(s||l.configLayer(r,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),i.updateData(a);var u=t.get("clip",!0)&&qw(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=r,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var a=t.getData();this._updateLineDraw(a,t).incrementalPrepareUpdate(a),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.updateTransform=function(t,e,n){var a=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var r=ML.reset(t,e,n);r.progress&&r.progress({start:0,end:a.count(),count:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,a=this._showEffect(e),i=!!e.get("polyline"),r=e.pipelineContext.large;return n&&a===this._hasEffet&&i===this._isPolyline&&r===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=r?new SL:new hC(i?a?_L:xL:a?bL:dC),this._hasEffet=a,this._isPolyline=i,this._isLargeDraw=r),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}(Uf),TL="undefined"==typeof Uint32Array?Array:Uint32Array,CL="undefined"==typeof Float64Array?Array:Float64Array;function DL(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=O(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),M([e,t[0],t[1]])})))}var AL=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 n(e,t),e.prototype.init=function(e){e.data=e.data||[],DL(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(DL(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=dt(this._flatCoords,e.flatCoords),this._flatCoordsOffset=dt(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],a=this._flatCoordsOffset[2*t+1],i=0;i<a;i++)e[i]=e[i]||[],e[i][0]=this._flatCoords[n+2*i],e[i][1]=this._flatCoords[n+2*i+1];return a}var r=this._getCoordsFromItemModel(t);for(i=0;i<r.length;i++)e[i]=e[i]||[],e[i][0]=r[i][0],e[i][1]=r[i][1];return r.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),"number"==typeof t[0]){for(var n=t.length,a=new TL(n),i=new CL(n),r=0,o=0,l=0,s=0;s<n;){l++;var u=t[s++];a[o++]=r+e,a[o++]=u;for(var c=0;c<u;c++){var p=t[s++],d=t[s++];i[r++]=p,i[r++]=d}}return{flatCoordsOffset:new Uint32Array(a.buffer,0,o),flatCoords:i,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new ob(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,a,i){if(t instanceof Array)return NaN;n.hasItemOption=!0;var r=t.value;return null!=r?r instanceof Array?r[i]:r:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var a=this.getData().getItemModel(t),i=a.get("name");if(i)return i;var r=a.get("fromName"),o=a.get("toName"),l=[];return null!=r&&l.push(r),null!=o&&l.push(o),bf("nameValue",{name:l.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.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",zlevel:0,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}(Pf);function LL(t){return t instanceof Array||(t=[t,t]),t}var PL={seriesType:"lines",reset:function(t){var e=LL(t.get("symbol")),n=LL(t.get("symbolSize")),a=t.getData();return a.setVisual("fromSymbol",e&&e[0]),a.setVisual("toSymbol",e&&e[1]),a.setVisual("fromSymbolSize",n&&n[0]),a.setVisual("toSymbolSize",n&&n[1]),{dataEach:a.hasItemOption?function(t,e){var n=t.getItemModel(e),a=LL(n.getShallow("symbol",!0)),i=LL(n.getShallow("symbolSize",!0));a[0]&&t.setItemVisual(e,"fromSymbol",a[0]),a[1]&&t.setItemVisual(e,"toSymbol",a[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1])}:null}}},zL=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=C();this.canvas=t}return t.prototype.update=function(t,e,n,a,i,r){var o=this._getBrush(),l=this._getGradient(i,"inRange"),s=this._getGradient(i,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,p=c.getContext("2d"),d=t.length;c.width=e,c.height=n;for(var h=0;h<d;++h){var f=t[h],g=f[0],m=f[1],y=a(f[2]);p.globalAlpha=y,p.drawImage(o,g-u,m-u)}if(!c.width||!c.height)return c;for(var v=p.getImageData(0,0,c.width,c.height),b=v.data,x=0,_=b.length,w=this.minOpacity,k=this.maxOpacity-w;x<_;){y=b[x+3]/256;var S=4*Math.floor(255*y);if(y>0){var M=r(y)?l:s;y>0&&(y=y*k+w),b[x++]=M[S],b[x++]=M[S+1],b[x++]=M[S+2],b[x++]=M[S+3]*y*256}else x+=4}return p.putImageData(v,0,0),c},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=C()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var a=t.getContext("2d");return a.clearRect(0,0,n,n),a.shadowOffsetX=n,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,2*Math.PI,!0),a.closePath(),a.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,a=n[e]||(n[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],r=0,o=0;o<256;o++)t[e](o/255,!0,i),a[r++]=i[0],a[r++]=i[1],a[r++]=i[2],a[r++]=i[3];return a},t}();function OL(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var RL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(a=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):OL(i)&&this._renderOnGeo(i,t,a,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,a){var i=e.coordinateSystem;i&&(OL(i)?this.render(e,n,a):this._renderOnCartesianAndCalendar(e,a,t.start,t.end,!0))},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,a,i){var r,o,l,s,u=t.coordinateSystem;if(Kw(u,"cartesian2d")){var c=u.getAxis("x"),p=u.getAxis("y");r=c.getBandWidth(),o=p.getBandWidth(),l=c.scale.getExtent(),s=p.scale.getExtent()}for(var d=this.group,h=t.getData(),f=t.getModel(["emphasis","itemStyle"]).getItemStyle(),g=t.getModel(["blur","itemStyle"]).getItemStyle(),m=t.getModel(["select","itemStyle"]).getItemStyle(),y=xc(t),v=t.get(["emphasis","focus"]),b=t.get(["emphasis","blurScope"]),x=Kw(u,"cartesian2d")?[h.mapDimension("x"),h.mapDimension("y"),h.mapDimension("value")]:[h.mapDimension("time"),h.mapDimension("value")],_=n;_<a;_++){var w=void 0,k=h.getItemVisual(_,"style");if(Kw(u,"cartesian2d")){var S=h.get(x[0],_),M=h.get(x[1],_);if(isNaN(h.get(x[2],_))||S<l[0]||S>l[1]||M<s[0]||M>s[1])continue;var I=u.dataToPoint([S,M]);w=new cl({shape:{x:Math.floor(Math.round(I[0])-r/2),y:Math.floor(Math.round(I[1])-o/2),width:Math.ceil(r),height:Math.ceil(o)},style:k})}else{if(isNaN(h.get(x[1],_)))continue;w=new cl({z2:1,shape:u.dataToRect([h.get(x[0],_)]).contentShape,style:k})}var T=h.getItemModel(_);if(h.hasItemOption){var C=T.getModel("emphasis");f=C.getModel("itemStyle").getItemStyle(),g=T.getModel(["blur","itemStyle"]).getItemStyle(),m=T.getModel(["select","itemStyle"]).getItemStyle(),v=C.get("focus"),b=C.get("blurScope"),y=xc(T)}var D=t.getRawValue(_),A="-";D&&null!=D[2]&&(A=D[2]+""),bc(w,y,{labelFetcher:t,labelDataIndex:_,defaultOpacity:k.opacity,defaultText:A}),w.ensureState("emphasis").style=f,w.ensureState("blur").style=g,w.ensureState("select").style=m,ps(w,v,b),w.incremental=i,i&&(w.states.emphasis.hoverLayer=!0),d.add(w),h.setItemGraphicEl(_,w)}},e.prototype._renderOnGeo=function(t,e,n,a){var i=n.targetVisuals.inRange,r=n.targetVisuals.outOfRange,o=e.getData(),l=this._hmLayer||this._hmLayer||new zL;l.blurSize=e.get("blurSize"),l.pointSize=e.get("pointSize"),l.minOpacity=e.get("minOpacity"),l.maxOpacity=e.get("maxOpacity");var s=t.getViewRect().clone(),u=t.getRoamTransform();s.applyTransform(u);var c=Math.max(s.x,0),p=Math.max(s.y,0),d=Math.min(s.width+s.x,a.getWidth()),h=Math.min(s.height+s.y,a.getHeight()),f=d-c,g=h-p,m=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],y=o.mapArray(m,(function(e,n,a){var i=t.dataToPoint([e,n]);return i[0]-=c,i[1]-=p,i.push(a),i})),v=n.getExtent(),b="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]}}(v,n.option.range):function(t,e,n){var a=t[1]-t[0],i=(e=O(e,(function(e){return{interval:[(e.interval[0]-t[0])/a,(e.interval[1]-t[0])/a]}}))).length,r=0;return function(t){var a;for(a=r;a<i;a++)if((o=e[a].interval)[0]<=t&&t<=o[1]){r=a;break}if(a===i)for(a=r-1;a>=0;a--){var o;if((o=e[a].interval)[0]<=t&&t<=o[1]){r=a;break}}return a>=0&&a<i&&n[a]}}(v,n.getPieceList(),n.option.selected);l.update(y,f,g,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:r.color.getColorMapper()},b);var x=new al({style:{width:f,height:g,x:c,y:p,image:l.canvas},silent:!0});this.group.add(x)},e.type="heatmap",e}(Uf),NL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.getInitialData=function(t,e){return gb(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=Ed.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",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Pf),EL=["itemStyle","borderWidth"],BL=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],VL=new Gs,FL=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=this.group,i=t.getData(),r=this._data,o=t.coordinateSystem,l=o.getBaseAxis().isHorizontal(),s=o.master.getRect(),u={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[s.x,s.x+s.width],[s.y,s.y+s.height]],isHorizontal:l,valueDim:BL[+l],categoryDim:BL[1-+l]};return i.diff(r).add((function(t){if(i.hasValue(t)){var e=jL(i,t),n=GL(i,t,e,u),r=$L(i,u,n);i.setItemGraphicEl(t,r),a.add(r),nP(r,u,n)}})).update((function(t,e){var n=r.getItemGraphicEl(e);if(i.hasValue(t)){var o=jL(i,t),l=GL(i,t,o,u),s=QL(i,l);n&&s!==n.__pictorialShapeStr&&(a.remove(n),i.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var a=n.animationModel,i=n.dataIndex;Nu(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},a,i),n.symbolRepeat?UL(t,e,n,!0):YL(t,e,n,!0),XL(t,n,!0),ZL(t,e,n,!0)}(n,u,l):n=$L(i,u,l,!0),i.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=l,a.add(n),nP(n,u,l)}else a.remove(n)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&JL(r,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=i,this.group},e.prototype.remove=function(t,e){var n=this.group,a=this._data;t.get("animation")?a&&a.eachItemGraphicEl((function(e){JL(a,wl(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(Uf);function GL(t,e,n,a){var i=t.getItemLayout(e),r=n.get("symbolRepeat"),o=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=(n.get("symbolRotate")||0)*Math.PI/180||0,u=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),p={dataIndex:e,layout:i,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:r,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:u,rotation:s,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,a,i){var r,o=a.valueDim,l=t.get("symbolBoundingData"),s=a.coordSys.getOtherAxis(a.coordSys.getBaseAxis()),u=s.toGlobalCoord(s.dataToCoord(0)),c=1-+(n[o.wh]<=0);if(G(l)){var p=[HL(s,l[0])-u,HL(s,l[1])-u];p[1]<p[0]&&p.reverse(),r=p[c]}else r=null!=l?HL(s,l)-u:e?a.coordSysExtent[o.index][c]-u:n[o.wh];i.boundingLength=r,e&&(i.repeatCutLength=n[o.wh]),i.pxSign=r>0?1:r<0?-1:0}(n,r,i,a,p),function(t,e,n,a,i,r,o,l,s,u){var c,p=s.valueDim,d=s.categoryDim,h=Math.abs(n[d.wh]),f=t.getItemVisual(e,"symbolSize");(c=G(f)?f.slice():null==f?["100%","100%"]:[f,f])[d.index]=qa(c[d.index],h),c[p.index]=qa(c[p.index],a?h:Math.abs(r)),u.symbolSize=c,(u.symbolScale=[c[0]/l,c[1]/l])[p.index]*=(s.isHorizontal?-1:1)*o}(t,e,i,r,0,p.boundingLength,p.pxSign,u,a,p),function(t,e,n,a,i){var r=t.get(EL)||0;r&&(VL.attr({scaleX:e[0],scaleY:e[1],rotation:n}),VL.updateTransform(),r/=VL.getLineScale(),r*=e[a.valueDim.index]),i.valueLineWidth=r}(n,p.symbolScale,s,a,p);var d=p.symbolSize,h=tm(n.get("symbolOffset"),d);return function(t,e,n,a,i,r,o,l,s,u,c,p){var d=c.categoryDim,h=c.valueDim,f=p.pxSign,g=Math.max(e[h.index]+l,0),m=g;if(a){var y=Math.abs(s),v=tt(t.get("symbolMargin"),"15%")+"",b=!1;v.lastIndexOf("!")===v.length-1&&(b=!0,v=v.slice(0,v.length-1));var x=qa(v,e[h.index]),_=Math.max(g+2*x,0),w=b?0:2*x,k=fi(a),S=k?a:aP((y+w)/_);_=g+2*(x=(y-S*g)/2/(b?S:Math.max(S-1,1))),w=b?0:2*x,k||"fixed"===a||(S=u?aP((Math.abs(u)+w)/_):0),m=S*_-w,p.repeatTimes=S,p.symbolMargin=x}var M=f*(m/2),T=p.pathPosition=[];T[d.index]=n[d.wh]/2,T[h.index]="start"===o?M:"end"===o?s-M:s/2,r&&(T[0]+=r[0],T[1]+=r[1]);var C=p.bundlePosition=[];C[d.index]=n[d.xy],C[h.index]=n[h.xy];var D=p.barRectShape=I({},n);D[h.wh]=f*Math.max(Math.abs(n[h.wh]),Math.abs(T[h.index]+M)),D[d.wh]=n[d.wh];var A=p.clipShape={};A[d.xy]=-n[d.xy],A[d.wh]=c.ecSize[d.wh],A[h.xy]=0,A[h.wh]=n[h.wh]}(n,d,i,r,0,h,l,p.valueLineWidth,p.boundingLength,p.repeatCutLength,a,p),p}function HL(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function WL(t){var e=t.symbolPatternSize,n=Jg(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function UL(t,e,n,a){var i=t.__pictorialBundle,r=n.symbolSize,o=n.valueLineWidth,l=n.pathPosition,s=e.valueDim,u=n.repeatTimes||0,c=0,p=r[e.valueDim.index]+o+2*n.symbolMargin;for(tP(t,(function(t){t.__pictorialAnimationIndex=c,t.__pictorialRepeatTimes=u,c<u?eP(t,null,f(c),n,a):eP(t,null,{scaleX:0,scaleY:0},n,a,(function(){i.remove(t)})),c++}));c<u;c++){var d=WL(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,i.add(d);var h=f(c);eP(d,{x:h.x,y:h.y,scaleX:0,scaleY:0},{scaleX:h.scaleX,scaleY:h.scaleY,rotation:h.rotation},n,a)}function f(t){var e=l.slice(),a=n.pxSign,i=t;return("start"===n.symbolRepeatDirection?a>0:a<0)&&(i=u-1-t),e[s.index]=p*(i-u/2+.5)+l[s.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function YL(t,e,n,a){var i=t.__pictorialBundle,r=t.__pictorialMainPath;r?eP(r,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,a):(r=t.__pictorialMainPath=WL(n),i.add(r),eP(r,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,a))}function XL(t,e,n){var a=I({},e.barRectShape),i=t.__pictorialBarRect;i?eP(i,null,{shape:a},e,n):((i=t.__pictorialBarRect=new cl({z2:2,shape:a,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(i))}function ZL(t,e,n,a){if(n.symbolClip){var i=t.__pictorialClipPath,r=I({},n.clipShape),o=e.valueDim,l=n.animationModel,s=n.dataIndex;if(i)Nu(i,{shape:r},l,s);else{r[o.wh]=0,i=new cl({shape:r}),t.__pictorialBundle.setClipPath(i),t.__pictorialClipPath=i;var u={};u[o.wh]=n.clipShape[o.wh],gc[a?"updateProps":"initProps"](i,{shape:u},l,s)}}}function jL(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=qL,n.isAnimationEnabled=KL,n}function qL(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function KL(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function $L(t,e,n,a){var i=new Va,r=new Va;return i.add(r),i.__pictorialBundle=r,r.x=n.bundlePosition[0],r.y=n.bundlePosition[1],n.symbolRepeat?UL(i,e,n):YL(i,0,n),XL(i,n,a),ZL(i,e,n,a),i.__pictorialShapeStr=QL(t,n),i.__pictorialSymbolMeta=n,i}function JL(t,e,n,a){var i=a.__pictorialBarRect;i&&i.removeTextContent();var r=[];tP(a,(function(t){r.push(t)})),a.__pictorialMainPath&&r.push(a.__pictorialMainPath),a.__pictorialClipPath&&(n=null),z(r,(function(t){Vu(t,{scaleX:0,scaleY:0},n,e,(function(){a.parent&&a.parent.remove(a)}))})),t.setItemGraphicEl(e,null)}function QL(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function tP(t,e,n){z(t.__pictorialBundle.children(),(function(a){a!==t.__pictorialBarRect&&e.call(n,a)}))}function eP(t,e,n,a,i,r){e&&t.attr(e),a.symbolClip&&!i?n&&t.attr(n):n&&gc[i?"updateProps":"initProps"](t,n,a.animationModel,a.dataIndex,r)}function nP(t,e,n){var a=n.dataIndex,i=n.itemModel,r=i.getModel("emphasis"),o=r.getModel("itemStyle").getItemStyle(),l=i.getModel(["blur","itemStyle"]).getItemStyle(),s=i.getModel(["select","itemStyle"]).getItemStyle(),u=i.getShallow("cursor"),c=r.get("focus"),p=r.get("blurScope"),d=r.get("scale");tP(t,(function(t){if(t instanceof al){var e=t.style;t.useStyle(I({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var a=t.ensureState("emphasis");a.style=o,d&&(a.scaleX=1.1*t.scaleX,a.scaleY=1.1*t.scaleY),t.ensureState("blur").style=l,t.ensureState("select").style=s,u&&(t.cursor=u),t.z2=n.z2}));var h=e.valueDim.posDesc[+(n.boundingLength>0)];bc(t.__pictorialBarRect,xc(i),{labelFetcher:e.seriesModel,labelDataIndex:a,defaultText:Iw(e.seriesModel.getData(),a),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:h}),ps(t,c,p)}function aP(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var iP=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 n(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=Yc(dk.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(dk),rP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return n(e,t),e.prototype.render=function(t,e,n){var a=t.getData(),i=this,r=this.group,o=t.getLayerSeries(),l=a.getLayout("layoutInfo"),s=l.rect,u=l.boundaryGap;function c(t){return t.name}r.x=0,r.y=s.y+u[0];var p=new Nv(this._layersSeries||[],o,c,c),d=[];function h(e,n,l){var s=i._layers;if("remove"!==e){for(var u,c,p=[],h=[],f=o[n].indices,g=0;g<f.length;g++){var m=a.getItemLayout(f[g]),y=m.x,v=m.y0,b=m.y;p.push(y,v),h.push(y,v+b),u=a.getItemVisual(f[g],"style")}var x=a.getItemLayout(f[0]),_=t.getModel("label").get("margin"),w=t.getModel("emphasis");if("add"===e){var k=d[n]=new Va;c=new Xw({shape:{points:p,stackedOnPoints:h,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),k.add(c),r.add(k),t.isAnimationEnabled()&&c.setClipPath(function(t,e,n){var a=new cl({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Eu(a,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),a}(c.getBoundingRect(),t,(function(){c.removeClipPath()})))}else k=s[l],c=k.childAt(0),r.add(k),d[n]=k,Nu(c,{shape:{points:p,stackedOnPoints:h}},t),Hu(c);bc(c,xc(t),{labelDataIndex:f[g-1],defaultText:a.getName(f[g-1]),inheritColor:u.fill},{normal:{verticalAlign:"middle"}}),c.setTextConfig({position:null,local:!0});var S=c.getTextContent();S&&(S.x=x.x-_,S.y=x.y0+x.y/2),c.useStyle(u),a.setItemGraphicEl(n,c),gs(c,t),ps(c,w.get("focus"),w.get("blurScope"))}else r.remove(s[n])}p.add(V(h,this,"add")).update(V(h,this,"update")).remove(V(h,this,"remove")).execute(),this._layersSeries=o,this._layers=d},e.type="themeRiver",e}(Uf),oP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new $k(V(this.getData,this),V(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},a=Gi(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),i=[];a.buckets.each((function(t,e){i.push({name:e,dataList:t})}));for(var r=i.length,o=0;o<r;++o){for(var l=i[o].name,s=0;s<i[o].dataList.length;++s){var u=i[o].dataList[s][0]+"";n[u]=o}for(var u in n)n.hasOwnProperty(u)&&n[u]!==o&&(n[u]=o,t[e]=[u,0,l],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",Ei).models[0].get("type"),a=N(t.data,(function(t){return void 0!==t[2]})),i=this.fixData(a||[]),r=[],o=this.nameMap=pt(),l=0,s=0;s<i.length;++s)r.push(i[s][2]),o.get(i[s][2])||(o.set(i[s][2],l),l++);var u=lb(i,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Vv(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,c=new ob(u,this);return c.initData(i),c},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],a=0;a<e;++a)n[a]=a;var i=t.mapDimension("single"),r=Gi(n,(function(e){return t.get("name",e)})),o=[];return r.buckets.each((function(e,n){e.sort((function(e,n){return t.get(i,e)-t.get(i,n)})),o.push({name:n,indices:e})})),o},e.prototype.getAxisTooltipData=function(t,e,n){G(t)||(t=t?[t]:[]);for(var a,i=this.getData(),r=this.getLayerSeries(),o=[],l=r.length,s=0;s<l;++s){for(var u=Number.MAX_VALUE,c=-1,p=r[s].indices.length,d=0;d<p;++d){var h=i.get(t[0],r[s].indices[d]),f=Math.abs(h-e);f<=u&&(a=h,u=f,c=r[s].indices[d])}o.push(c)}return{dataIndices:o,nestestValue:a}},e.prototype.formatTooltip=function(t,e,n){var a=this.getData();return bf("nameValue",{name:a.getName(t),value:a.get(a.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={zlevel:0,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}(Pf);function lP(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,a={},i=n.getRect();a.rect=i;var r=t.get("boundaryGap"),o=n.getAxis();a.boundaryGap=r,"horizontal"===o.orient?(r[0]=qa(r[0],i.height),r[1]=qa(r[1],i.height),sP(e,t,i.height-r[0]-r[1])):(r[0]=qa(r[0],i.width),r[1]=qa(r[1],i.width),sP(e,t,i.width-r[0]-r[1])),e.setLayout("layoutInfo",a)}))}function sP(t,e,n){if(t.count())for(var a,i=e.coordinateSystem,r=e.getLayerSeries(),o=t.mapDimension("single"),l=t.mapDimension("value"),s=O(r,(function(e){return O(e.indices,(function(e){var n=i.dataToPoint(t.get(o,e));return n[1]=t.get(l,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,a=[],i=[],r=0,o=0;o<n;++o){for(var l=0,s=0;s<e;++s)l+=t[s][o][1];l>r&&(r=l),a.push(l)}for(var u=0;u<n;++u)i[u]=(r-a[u])/2;r=0;for(var c=0;c<n;++c){var p=a[c]+i[c];p>r&&(r=p)}return{y0:i,max:r}}(s),c=u.y0,p=n/u.max,d=r.length,h=r[0].indices.length,f=0;f<h;++f){a=c[f]*p,t.setItemLayout(r[0].indices[f],{layerIndex:0,x:s[0][f][0],y0:a,y:s[0][f][1]*p});for(var g=1;g<d;++g)a+=s[g-1][f][1]*p,t.setItemLayout(r[g].indices[f],{layerIndex:g,x:s[g][f][0],y0:a,y:s[g][f][1]*p})}}var uP=function(t){function e(e,n,a,i){var r=t.call(this)||this;r.z2=2,r.textConfig={inside:!0},wl(r).seriesIndex=n.seriesIndex;var o=new hl({z2:4,silent:e.getModel().get(["label","silent"])});return r.setTextContent(o),r.updateData(!0,e,n,a,i),r}return n(e,t),e.prototype.updateData=function(t,e,n,a,i){this.node=e,e.piece=this,n=n||this._seriesModel,a=a||this._ecModel;var r=this;wl(r).dataIndex=e.dataIndex;var o=e.getModel(),l=o.getModel("emphasis"),s=e.getLayout(),u=I({},s);u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var p=e.getVisual("decal");p&&(c.decal=Sm(p,i));var d=Zk(o.getModel("itemStyle"),u,!0);I(u,d),z(Tl,(function(t){var e=r.ensureState(t),n=o.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var a=Zk(n,u);a&&(e.shape=a)})),t?(r.setShape(u),r.shape.r=s.r0,Nu(r,{shape:{r:s.r}},n,e.dataIndex)):(Nu(r,{shape:u},n),Hu(r)),r.useStyle(c),this._updateLabel(n);var h=o.getShallow("cursor");h&&r.attr("cursor",h),this._seriesModel=n||this._seriesModel,this._ecModel=a||this._ecModel;var f=l.get("focus");ps(this,"ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f,l.get("blurScope"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),a=n.getModel("label"),i=this.node.getLayout(),r=i.endAngle-i.startAngle,o=(i.startAngle+i.endAngle)/2,l=Math.cos(o),s=Math.sin(o),u=this,c=u.getTextContent(),p=this.node.dataIndex,d=a.get("minAngle")/180*Math.PI,h=a.get("show")&&!(null!=d&&Math.abs(r)<d);function f(t,e){var n=t.get(e);return null==n?a.get(e):n}c.ignore=!h,z(Cl,(function(a){var r="normal"===a?n.getModel("label"):n.getModel([a,"label"]),d="normal"===a,h=d?c:c.ensureState(a),g=t.getFormattedLabel(p,a);d&&(g=g||e.node.name),h.style=_c(r,{},null,"normal"!==a,!0),g&&(h.style.text=g);var m=r.get("show");null==m||d||(h.ignore=!m);var y,v=f(r,"position"),b=d?u:u.states[a],x=b.style.fill;b.textConfig={outsideFill:"inherit"===r.get("color")?x:null,inside:"outside"!==v};var _=f(r,"distance")||0,w=f(r,"align");"outside"===v?(y=i.r+_,w=o>Math.PI/2?"right":"left"):w&&"center"!==w?"left"===w?(y=i.r0+_,o>Math.PI/2&&(w="right")):"right"===w&&(y=i.r-_,o>Math.PI/2&&(w="left")):(y=(i.r+i.r0)/2,w="center"),h.style.align=w,h.style.verticalAlign=f(r,"verticalAlign")||"middle",h.x=y*l+i.cx,h.y=y*s+i.cy;var k=f(r,"rotate"),S=0;"radial"===k?(S=-o)<-Math.PI/2&&(S+=Math.PI):"tangential"===k?(S=Math.PI/2-o)>Math.PI/2?S-=Math.PI:S<-Math.PI/2&&(S+=Math.PI):"number"==typeof k&&(S=k*Math.PI/180),h.rotation=S})),c.dirtyStyle()},e}(iu),cP="sunburstRootToNode",pP="sunburstHighlight",dP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,a){var i=this;this.seriesModel=t,this.api=n,this.ecModel=e;var r=t.getData(),o=r.tree.root,l=t.getViewRoot(),s=this.group,u=t.get("renderLabelForZeroData"),c=[];l.eachNode((function(t){c.push(t)}));var p=this._oldChildren||[];!function(a,i){function l(t){return t.getId()}function c(l,c){!function(a,i){if(u||!a||a.getValue()||(a=null),a!==o&&i!==o)if(i&&i.piece)a?(i.piece.updateData(!1,a,t,e,n),r.setItemGraphicEl(a.dataIndex,i.piece)):function(t){t&&t.piece&&(s.remove(t.piece),t.piece=null)}(i);else if(a){var l=new uP(a,t,e,n);s.add(l),r.setItemGraphicEl(a.dataIndex,l)}}(null==l?null:a[l],null==c?null:i[c])}0===a.length&&0===i.length||new Nv(i,a,l,l).add(c).update(c).remove(F(c,null)).execute()}(c,p),function(a,r){r.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,a,t,e,n):(i.virtualPiece=new uP(a,t,e,n),s.add(i.virtualPiece)),r.piece.off("click"),i.virtualPiece.on("click",(function(t){i._rootToNode(r.parentNode)}))):i.virtualPiece&&(s.remove(i.virtualPiece),i.virtualPiece=null)}(o,l),this._initEvents(),this._oldChildren=c},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(a){if(!n&&a.piece&&a.piece===e.target){var i=a.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(a);else if("link"===i){var r=a.getModel(),o=r.get("link");o&&Fp(o,r.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:cP,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var a=t[0]-n.cx,i=t[1]-n.cy,r=Math.sqrt(a*a+i*i);return r<=n.r&&r>=n.r0}},e.type="sunburst",e}(Uf),hP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return n(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};fP(n);var a=this._levelModels=O(t.levels||[],(function(t){return new Hc(t,this,e)}),this),i=II.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e),r=a[n.depth];return r&&(t.parentModel=r),t}))}));return i.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=AI(a,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(){EI(this)},e.type="series.sunburst",e.defaultOption={zlevel:0,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}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Pf);function fP(t){var e=0;z(t.children,(function(t){fP(t);var n=t.value;G(n)&&(n=n[0]),e+=n}));var n=t.value;G(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),G(t.value)?t.value[0]=n:t.value=n}var gP=Math.PI/180;function mP(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),a=t.get("radius");G(a)||(a=[0,a]),G(e)||(e=[e,e]);var i=n.getWidth(),r=n.getHeight(),o=Math.min(i,r),l=qa(e[0],i),s=qa(e[1],r),u=qa(a[0],o/2),c=qa(a[1],o/2),p=-t.get("startAngle")*gP,d=t.get("minAngle")*gP,h=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,m=t.get("sort");null!=m&&yP(f,m);var y=0;z(f.children,(function(t){!isNaN(t.getValue())&&y++}));var v=f.getValue(),b=Math.PI/(v||y)*2,x=f.depth>0,_=f.height-(x?-1:1),w=(c-u)/(_||1),k=t.get("clockwise"),S=t.get("stillShowZeroSum"),M=k?1:-1,I=function(e,n){if(e){var a=n;if(e!==h){var i=e.getValue(),r=0===v&&S?b:i*b;r<d&&(r=d),a=n+M*r;var c=e.depth-g-(x?-1:1),p=u+w*c,f=u+w*(c+1),m=t.getLevelModel(e);if(m){var y=m.get("r0",!0),_=m.get("r",!0),T=m.get("radius",!0);null!=T&&(y=T[0],_=T[1]),null!=y&&(p=qa(y,o/2)),null!=_&&(f=qa(_,o/2))}e.setLayout({angle:r,startAngle:n,endAngle:a,clockwise:k,cx:l,cy:s,r0:p,r:f})}if(e.children&&e.children.length){var C=0;z(e.children,(function(t){C+=I(t,n+C)}))}return a-n}};if(x){var T=u,C=u+w,D=2*Math.PI;h.setLayout({angle:D,startAngle:p,endAngle:p+D,clockwise:k,cx:l,cy:s,r0:T,r:C})}I(f,p)}))}function yP(t,e){var n=t.children||[];t.children=function(t,e){if("function"==typeof e){var n=O(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)})),O(n,(function(e){return t[e.index]}))}var a="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(a?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(a?-1:1):n}))}(n,e),n.length&&z(t.children,(function(t){yP(t,e)}))}function vP(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),a=n.tree;a.eachNode((function(i){var r=i.getModel().getModel("itemStyle").getItemStyle();r.fill||(r.fill=function(t,n,a){for(var i=t;i&&i.depth>1;)i=i.parentNode;var r=n.getColorFromPalette(i.name||i.dataIndex+"",e);return t.depth>1&&"string"==typeof r&&(r=Ye(r,(t.depth-1)/(a-1)*.5)),r}(i,t,a.root.height)),I(n.ensureUniqueItemVisual(i.dataIndex,"style"),r)}))}))}var bP={x:1,y:1,scaleX:1,scaleY:1,originX:1,originY:1,rotation:1},xP={color:"fill",borderColor:"stroke"},_P={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},wP=zi(),kP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(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 gb(null,this)},e.prototype.getDataParams=function(e,n,a){var i=t.prototype.getDataParams.call(this,e,n);return a&&(i.info=wP(a).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,clip:!1},e}(Pf);function SP(t,e){return e=e||[0,0],O(["x","y"],(function(n,a){var i=this.getAxis(n),r=e[a],o=t[a]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(r-o)-i.dataToCoord(r+o))}),this)}function MP(t,e){return e=e||[0,0],O([0,1],(function(n){var a=e[n],i=t[n]/2,r=[],o=[];return r[n]=a-i,o[n]=a+i,r[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(r)[n]-this.dataToPoint(o)[n])}),this)}function IP(t,e){var n=this.getAxis(),a=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(a-i)-n.dataToCoord(a+i))}function TP(t,e){return e=e||[0,0],O(["Radius","Angle"],(function(n,a){var i=this["get"+n+"Axis"](),r=e[a],o=t[a]/2,l="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(r-o)-i.dataToCoord(r+o));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function CP(t,e,n,a){return t&&(t.legacy||!1!==t.legacy&&!n&&!a&&"tspan"!==e&&("text"===e||ft(t,"text")))}function DP(t,e,n){var a,i,r,o=t;if("text"===e)r=o;else{r={},ft(o,"text")&&(r.text=o.text),ft(o,"rich")&&(r.rich=o.rich),ft(o,"textFill")&&(r.fill=o.textFill),ft(o,"textStroke")&&(r.stroke=o.textStroke),ft(o,"fontFamily")&&(r.fontFamily=o.fontFamily),ft(o,"fontSize")&&(r.fontSize=o.fontSize),ft(o,"fontStyle")&&(r.fontStyle=o.fontStyle),ft(o,"fontWeight")&&(r.fontWeight=o.fontWeight),i={type:"text",style:r,silent:!0},a={};var l=ft(o,"textPosition");n?a.position=l?o.textPosition:"inside":l&&(a.position=o.textPosition),ft(o,"textPosition")&&(a.position=o.textPosition),ft(o,"textOffset")&&(a.offset=o.textOffset),ft(o,"textRotation")&&(a.rotation=o.textRotation),ft(o,"textDistance")&&(a.distance=o.textDistance)}return AP(r,t),z(r.rich,(function(t){AP(t,t)})),{textConfig:a,textContent:i}}function AP(t,e){e&&(e.font=e.textFont||e.font,ft(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),ft(e,"textAlign")&&(t.align=e.textAlign),ft(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),ft(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),ft(e,"textWidth")&&(t.width=e.textWidth),ft(e,"textHeight")&&(t.height=e.textHeight),ft(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),ft(e,"textPadding")&&(t.padding=e.textPadding),ft(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),ft(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),ft(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),ft(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),ft(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),ft(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),ft(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function LP(t,e,n){var a=t;a.textPosition=a.textPosition||n.position||"inside",null!=n.offset&&(a.textOffset=n.offset),null!=n.rotation&&(a.textRotation=n.rotation),null!=n.distance&&(a.textDistance=n.distance);var i=a.textPosition.indexOf("inside")>=0,r=t.fill||"#000";PP(a,e);var o=null==a.textFill;return i?o&&(a.textFill=n.insideFill||"#fff",!a.textStroke&&n.insideStroke&&(a.textStroke=n.insideStroke),!a.textStroke&&(a.textStroke=r),null==a.textStrokeWidth&&(a.textStrokeWidth=2)):(o&&(a.textFill=t.fill||n.outsideFill||"#000"),!a.textStroke&&n.outsideStroke&&(a.textStroke=n.outsideStroke)),a.text=e.text,a.rich=e.rich,z(e.rich,(function(t){PP(t,t)})),a}function PP(t,e){e&&(ft(e,"fill")&&(t.textFill=e.fill),ft(e,"stroke")&&(t.textStroke=e.fill),ft(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),ft(e,"font")&&(t.font=e.font),ft(e,"fontStyle")&&(t.fontStyle=e.fontStyle),ft(e,"fontWeight")&&(t.fontWeight=e.fontWeight),ft(e,"fontSize")&&(t.fontSize=e.fontSize),ft(e,"fontFamily")&&(t.fontFamily=e.fontFamily),ft(e,"align")&&(t.textAlign=e.align),ft(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),ft(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),ft(e,"width")&&(t.textWidth=e.width),ft(e,"height")&&(t.textHeight=e.height),ft(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),ft(e,"padding")&&(t.textPadding=e.padding),ft(e,"borderColor")&&(t.textBorderColor=e.borderColor),ft(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),ft(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),ft(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),ft(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),ft(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),ft(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),ft(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),ft(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),ft(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),ft(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var zP={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]};function OP(t,e,n){var a=t[n],i=zP[n];a&&(e[i[0]]=a[0],e[i[1]]=a[1])}function RP(t,e,n){null!=t[n]&&(e[n]=t[n])}function NP(t,e,n){n&&(t[e]=n[e])}function EP(t,e,n,a,i){var r=n[t];if(r){var o,l=e[t],s=r.enterFrom;if(i&&s){!o&&(o=a[t]={});for(var u=B(s),c=0;c<u.length;c++)o[v=u[c]]=s[v]}if(!i&&l)if(r.transition){!o&&(o=a[t]={});var p=_i(r.transition);for(c=0;c<p.length;c++){var d=l[v=p[c]];o[v]=d}}else if(D(n.transition,t)>=0){!o&&(o=a[t]={});var h=B(l);for(c=0;c<h.length;c++)d=l[v=h[c]],VP(r[v],d)&&(o[v]=d)}var f=r.leaveTo;if(f){var g=FP(e),m=g[t]||(g[t]={}),y=B(f);for(c=0;c<y.length;c++){var v;m[v=y[c]]=f[v]}}}}function BP(t,e,n){var a=e[t];if(a)for(var i=n[t]={},r=B(a),o=0;o<r.length;o++){var l=r[o];i[l]=dn(a[l])}}function VP(t,e){return P(t)?t!==e:null!=t&&isFinite(t)}function FP(t){var e=wP(t);return e.leaveToProps||(e.leaveToProps={})}B(bP).join(", ");var GP="emphasis",HP="normal",WP="blur",UP="select",YP=[HP,GP,WP,UP],XP={normal:["itemStyle"],emphasis:[GP,"itemStyle"],blur:[WP,"itemStyle"],select:[UP,"itemStyle"]},ZP={normal:["label"],emphasis:[GP,"label"],blur:[WP,"label"],select:[UP,"label"]},jP={normal:{},emphasis:{},blur:{},select:{}},qP={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:V(SP,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:V(MP,t)}}},singleAxis: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:V(IP,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:function(a){var i=e.dataToRadius(a[0]),r=n.dataToAngle(a[1]),o=t.coordToPoint([i,r]);return o.push(i,r*Math.PI/180),o},size:V(TP,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 KP(t){return t instanceof Jo}function $P(t){return t instanceof Sr}var JP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,a){var i=this._data,r=t.getData(),o=this.group,l=oz(t,r,e,n);i||o.removeAll(),r.diff(i).add((function(e){sz(n,null,e,l(e,a),t,o,r)})).remove((function(e){yz(i.getItemGraphicEl(e),t,o)})).update((function(e,s){var u=i.getItemGraphicEl(s);sz(n,u,e,l(e,a),t,o,r)})).execute();var s=t.get("clip",!0)?qw(t.coordinateSystem,!1,t):null;s?o.setClipPath(s):o.removeClipPath(),this._data=r},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,a,i){var r=e.getData(),o=oz(e,r,n,a);function l(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var s=t.start;s<t.end;s++){var u=sz(null,null,s,o(s,i),e,this.group,r);u&&u.traverse(l)}},e.prototype.filterForExposedEvent=function(t,e,n,a){var i=e.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},e.type="custom",e}(Uf);function QP(t){var e,n=t.type;if("path"===n){var a=t.shape,i=null!=a.width&&null!=a.height?{x:a.x||0,y:a.y||0,width:a.width,height:a.height}:null,r=vz(a);e=$u(r,null,i,a.layout||"center"),wP(e).customPathData=r}else if("image"===n)e=new al({}),wP(e).customImagePath=t.style.image;else if("text"===n)e=new hl({});else if("group"===n)e=new Va;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=Ku(n);o||vi(""),e=new o}return wP(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function tz(t,e,n,a,i,r,o,l){var s=i&&i.normal.cfg;s&&e.setTextConfig(s);var u=a&&a.style;if(u){if("text"===e.type){var c=u;ft(c,"textFill")&&(c.fill=c.textFill),ft(c,"textStroke")&&(c.stroke=c.textStroke)}var p=void 0,d=KP(e)?u.decal:null;t&&d&&(d.dirty=!0,p=Sm(d,t)),u.__decalPattern=p}wP(e).userDuring=a.during;var h={},f={};EP("shape",e,a,h,o),BP("shape",a,f),function(t,e,n,a){var i=e.enterFrom;if(a&&i)for(var r=B(i),o=0;o<r.length;o++)n[d=r[o]]=i[d];if(!a)if(e.transition){var l=_i(e.transition);for(o=0;o<l.length;o++)if("style"!==(d=l[o])&&"shape"!==d&&"extra"!==d){var s=t[d];n[d]=s}}else NP(n,"x",t),NP(n,"y",t);var u=e.leaveTo;if(u){var c=FP(t),p=B(u);for(o=0;o<p.length;o++){var d;c[d=p[o]]=u[d]}}}(e,a,h,o),function(t,e,n){OP(e,n,"position"),OP(e,n,"scale"),OP(e,n,"origin"),RP(e,n,"x"),RP(e,n,"y"),RP(e,n,"scaleX"),RP(e,n,"scaleY"),RP(e,n,"originX"),RP(e,n,"originY"),RP(e,n,"rotation")}(0,a,f),EP("extra",e,a,h,o),BP("extra",a,f),function(t,e,n,a,i){if(n){var r,o=t.style,l=n.enterFrom;if(i&&l){var s=B(l);!r&&(r=a.style={});for(var u=0;u<s.length;u++)r[b=s[u]]=l[b]}if(!i&&o)if(n.transition){var c=_i(n.transition);for(!r&&(r=a.style={}),u=0;u<c.length;u++){var p=o[b=c[u]];r[b]=p}}else if(t.getAnimationStyleProps&&D(e.transition,"style")>=0){var d=t.getAnimationStyleProps(),h=d?d.style:null;if(h){!r&&(r=a.style={});var f=B(n);for(u=0;u<f.length;u++)h[b=f[u]]&&(p=o[b],r[b]=p)}}var g=n.leaveTo;if(g){var m=B(g),y=FP(t),v=y.style||(y.style={});for(u=0;u<m.length;u++){var b;v[b=m[u]]=g[b]}}}}(e,a,u,h,o),f.style=u,function(t,e){var n=t.isGroup?null:t,a=e.style;if(n&&a){n.useStyle(a);var i=a.__decalPattern;i&&(n.style.decal=i);for(var r=n.animators,o=0;o<r.length;o++){var l=r[o];"style"===l.targetName&&l.changeTarget(n.style)}}e&&(e.style=null,e&&t.attr(e),e.style=a)}(e,f),function(t,e,n,a,i){if(a){var r=wP(t).userDuring,o={dataIndex:e,isFrom:!0,during:r?V(az,{el:t,userDuring:r}):null};i?Eu(t,a,n,o):Nu(t,a,n,o)}}(e,n,r,h,o),function(t,e,n){ft(e,"silent")&&(t.silent=e.silent),ft(e,"ignore")&&(t.ignore=e.ignore),$P(t)&&ft(e,"invisible")&&(t.invisible=e.invisible),KP(t)&&ft(e,"autoBatch")&&(t.autoBatch=e.autoBatch),n||ft(e,"info")&&(wP(t).info=e.info)}(e,a,l),u?e.dirty():e.markRedraw()}var ez={},nz={setTransform:function(t,e){return ez.el[t]=e,this},getTransform:function(t){return ez.el[t]},setShape:function(t,e){return(ez.el.shape||(ez.el.shape={}))[t]=e,ez.isShapeDirty=!0,this},getShape:function(t){var e=ez.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=ez.el.style;return n&&(n[t]=e,ez.isStyleDirty=!0),this},getStyle:function(t){var e=ez.el.style;if(e)return e[t]},setExtra:function(t,e){return(ez.el.extra||(ez.el.extra={}))[t]=e,this},getExtra:function(t){var e=ez.el.extra;if(e)return e[t]}};function az(){var t=this,e=t.el;if(e){var n=wP(e).userDuring,a=t.userDuring;n===a?(ez.el=e,ez.isShapeDirty=!1,ez.isStyleDirty=!1,a(nz),ez.isShapeDirty&&e.dirtyShape&&e.dirtyShape(),ez.isStyleDirty&&e.dirtyStyle&&e.dirtyStyle()):t.el=t.userDuring=null}}function iz(t,e,n,a,i,r,o){var l=e.isGroup?null:e,s=i&&i[t].cfg;if(l){var u=l.ensureState(t);if(!1===a){var c=l.getState(t);c&&(c.style=null)}else u.style=a||null;s&&(u.textConfig=s),ql(l)}}function rz(t,e,n){var a=n===HP,i=a?e:dz(e,n),r=i?i.z2:null;null!=r&&((a?t:t.ensureState(n)).z2=r||0)}function oz(t,e,n,a){var i=t.get("renderItem"),r=t.coordinateSystem,o={};r&&(o=r.prepareCustoms?r.prepareCustoms(r):qP[r.type](r));for(var l,s,u=T({getWidth:a.getWidth,getHeight:a.getHeight,getZr:a.getZr,getDevicePixelRatio:a.getDevicePixelRatio,value:function(t,n){return null==n&&(n=l),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,a){null==a&&(a=l);var i=e.getItemVisual(a,"style"),r=i&&i.fill,o=i&&i.opacity,s=v(a,HP).getItemStyle();null!=r&&(s.fill=r),null!=o&&(s.opacity=o);var u={inheritColor:W(r)?r:"#000"},c=b(a,HP),p=_c(c,null,u,!1,!0);p.text=c.getShallow("show")?et(t.getFormattedLabel(a,HP),Iw(e,a)):null;var d=wc(c,u,!1);return _(n,s),s=LP(s,p,d),n&&x(s,n),s.legacy=!0,s},ordinalRawValue:function(t,n){null==n&&(n=l),t=t||0;var a=e.getDimensionInfo(t);if(!a){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,n):void 0}var r=e.get(a.name,n),o=a&&a.ordinalMeta;return o?o.categories[r]:r},styleEmphasis:function(n,a){null==a&&(a=l);var i=v(a,GP).getItemStyle(),r=b(a,GP),o=_c(r,null,null,!0,!0);o.text=r.getShallow("show")?nt(t.getFormattedLabel(a,GP),t.getFormattedLabel(a,HP),Iw(e,a)):null;var s=wc(r,null,!0);return _(n,i),i=LP(i,o,s),n&&x(i,n),i.legacy=!0,i},visual:function(t,n){if(null==n&&(n=l),ft(xP,t)){var a=e.getItemVisual(n,"style");return a?a[xP[t]]:null}if(ft(_P,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===r.type)return function(t){var e=[],n=t.axis,a="axis0";if("category"===n.type){for(var i=n.getBandWidth(),r=0;r<t.count;r++)e.push(T({bandWidth:i,axisKey:a,stackId:Ab+r},t));var o=Nb(e),l=[];for(r=0;r<t.count;r++){var s=o.axis0[Ab+r];s.offsetCenter=s.offset+s.width/2,l.push(s)}return l}}(T({axis:r.getBaseAxis()},t))},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return Tc(t,n)}},o.api||{}),c={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:lz(t.getData())},p={},d={},h={},f={},g=0;g<YP.length;g++){var m=YP[g];h[m]=t.getModel(XP[m]),f[m]=t.getModel(ZP[m])}function y(t){return t===l?s||(s=e.getItemModel(t)):e.getItemModel(t)}function v(t,n){return e.hasItemOption?t===l?p[n]||(p[n]=y(t).getModel(XP[n])):y(t).getModel(XP[n]):h[n]}function b(t,n){return e.hasItemOption?t===l?d[n]||(d[n]=y(t).getModel(ZP[n])):y(t).getModel(ZP[n]):f[n]}return function(t,n){return l=t,s=null,p={},d={},i&&i(T({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},c),u)};function x(t,e){for(var n in e)ft(e,n)&&(t[n]=e[n])}function _(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function lz(t){var e={};return z(t.dimensions,(function(n){var a=t.getDimensionInfo(n);if(!a.isExtraCoord){var i=a.coordDim;(e[i]=e[i]||[])[a.coordDimIndex]=t.getDimensionIndex(n)}})),e}function sz(t,e,n,a,i,r,o){if(a){var l=uz(t,e,n,a,i,r);return l&&o.setItemGraphicEl(n,l),l&&ps(l,a.focus,a.blurScope),l}r.remove(e)}function uz(t,e,n,a,i,r,o){var l=-1,s=e;e&&cz(e,a,i)&&(l=D(r.childrenRef(),e),e=null);var u,c,p=!e,d=e;d?d.clearStates():(d=QP(a),s&&(u=s,(c=d).copyTransform(u),$P(c)&&$P(u)&&(c.setStyle(u.style),c.z=u.z,c.z2=u.z2,c.zlevel=u.zlevel,c.invisible=u.invisible,c.ignore=u.ignore,KP(c)&&KP(u)&&c.setShape(u.shape)))),!1===a.morph?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),jP.normal.cfg=jP.normal.conOpt=jP.emphasis.cfg=jP.emphasis.conOpt=jP.blur.cfg=jP.blur.conOpt=jP.select.cfg=jP.select.conOpt=null,jP.isLegacy=!1,function(t,e,n,a,i,r){if(!t.isGroup){pz(n,null,r),pz(n,GP,r);var o=r.normal.conOpt,l=r.emphasis.conOpt,s=r.blur.conOpt,u=r.select.conOpt;if(null!=o||null!=l||null!=u||null!=s){var c=t.getTextContent();if(!1===o)c&&t.removeTextContent();else{o=r.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=QP(o),t.setTextContent(c)),tz(null,c,e,o,null,a,i,!0);for(var p=o&&o.style,d=0;d<YP.length;d++){var h=YP[d];h!==HP&&iz(h,c,0,hz(o,r[h].conOpt,h),null)}p?c.dirty():c.markRedraw()}}}}(d,n,a,i,p,jP),function(t,e,n,a,i){var r=n.clipPath;if(!1===r)t&&t.getClipPath()&&t.removeClipPath();else if(r){var o=t.getClipPath();o&&cz(o,r,a)&&(o=null),o||(o=QP(r),t.setClipPath(o)),tz(null,o,e,r,null,a,i,!1)}}(d,n,a,i,p),tz(t,d,n,a,jP,i,p,!1);for(var h=0;h<YP.length;h++){var f=YP[h];f!==HP&&iz(f,d,0,hz(a,dz(a,f),f),jP)}return function(t,e,n){if(!t.isGroup){var a=t,i=n.currentZ,r=n.currentZLevel;a.z=i,a.zlevel=r;var o=e.z2;null!=o&&(a.z2=o||0);for(var l=0;l<YP.length;l++)rz(a,e,YP[l])}}(d,a,i),"group"===a.type&&function(t,e,n,a,i){var r=a.children,o=r?r.length:0,l=a.$mergeChildren,s="byName"===l||a.diffChildrenByName,u=!1===l;if(o||s||u){if(s)return c={api:t,oldChildren:e.children()||[],newChildren:r||[],dataIndex:n,seriesModel:i,group:e},void new Nv(c.oldChildren,c.newChildren,fz,fz,c).add(gz).update(gz).remove(mz).execute();var c;u&&e.removeAll();for(var p=0;p<o;p++)r[p]&&uz(t,e.childAt(p),n,r[p],i,e);for(var d=e.childCount()-1;d>=p;d--)yz(e.childAt(d),i,e)}}(t,d,n,a,i),l>=0?r.replaceAt(d,l):r.add(d),d}function cz(t,e,n){var a,i=wP(t),r=e.type,o=e.shape,l=e.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||"path"===r&&(a=o)&&(ft(a,"pathData")||ft(a,"d"))&&vz(o)!==i.customPathData||"image"===r&&ft(l,"image")&&l.image!==i.customImagePath}function pz(t,e,n){var a=e?dz(t,e):t,i=e?hz(t,a,GP):t.style,r=t.type,o=a?a.textConfig:null,l=t.textContent,s=l?e?dz(l,e):l:null;if(i&&(n.isLegacy||CP(i,r,!!o,!!s))){n.isLegacy=!0;var u=DP(i,r,!e);!o&&u.textConfig&&(o=u.textConfig),!s&&u.textContent&&(s=u.textContent)}if(!e&&s){var c=s;!c.type&&(c.type="text")}var p=e?n[e]:n.normal;p.cfg=o,p.conOpt=s}function dz(t,e){return e?t?t[e]:null:t}function hz(t,e,n){var a=e&&e.style;return null==a&&n===GP&&t&&(a=t.styleEmphasis),a}function fz(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function gz(t,e){var n=this.context,a=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;uz(n.api,i,n.dataIndex,a,n.seriesModel,n.group)}function mz(t){var e=this.context;yz(e.oldChildren[t],e.seriesModel,e.group)}function yz(t,e,n){if(t){var a=wP(t).leaveToProps;a?Nu(t,a,e,{cb:function(){n.remove(t)}}):n.remove(t)}}function vz(t){return t&&(t.pathData||t.d)}var bz=zi(),xz=k,_z=V,wz=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,a){var i=e.get("value"),r=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,a||this._lastValue!==i||this._lastStatus!==r){this._lastValue=i,this._lastStatus=r;var o=this._group,l=this._handle;if(!r||"hide"===r)return o&&o.hide(),void(l&&l.hide());o&&o.show(),l&&l.show();var s={};this.makeElOption(s,i,t,e,n);var u=s.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var c=this._moveAnimation=this.determineAnimation(t,e);if(o){var p=F(kz,e,c);this.updatePointerEl(o,s,p),this.updateLabelEl(o,s,p,e)}else o=this._group=new Va,this.createPointerEl(o,s,t,e),this.createLabelEl(o,s,t,e),n.getZr().add(o);Tz(o,e,!0),this._renderHandle(i)}},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"),a=t.axis,i="category"===a.type,r=e.get("snap");if(!r&&!i)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(i&&a.getBandWidth()>o)return!0;if(r){var l=RS(t).seriesDataCount,s=a.getExtent();return Math.abs(s[0]-s[1])/l>o}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,a,i){},t.prototype.createPointerEl=function(t,e,n,a){var i=e.pointer;if(i){var r=bz(t).pointerEl=new gc[i.type](xz(e.pointer));t.add(r)}},t.prototype.createLabelEl=function(t,e,n,a){if(e.label){var i=bz(t).labelEl=new hl(xz(e.label));t.add(i),Mz(i,a)}},t.prototype.updatePointerEl=function(t,e,n){var a=bz(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),n(a,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,a){var i=bz(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),Mz(i,a))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,a=this._api.getZr(),i=this._handle,r=n.getModel("handle"),o=n.get("status");if(!r.get("show")||!o||"hide"===o)return i&&a.remove(i),void(this._handle=null);this._handle||(e=!0,i=this._handle=cc(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ne(t.event)},onmousedown:_z(this._onHandleDragMove,this,0,0),drift:_z(this._onHandleDragMove,this),ondragend:_z(this._onHandleDragEnd,this)}),a.add(i)),Tz(i,n,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=r.get("size");G(l)||(l=[l,l]),i.scaleX=l[0]/2,i.scaleY=l[1]/2,tg(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){kz(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Iz(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var a=this.updateHandleTransform(Iz(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,n.stopAnimation(),n.attr(Iz(a)),bz(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,a=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null)},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 kz(t,e,n,a){Sz(bz(n).lastProp,a)||(bz(n).lastProp=a,e?Nu(n,a,t):(n.stopAnimation(),n.attr(a)))}function Sz(t,e){if(X(t)&&X(e)){var n=!0;return z(e,(function(e,a){n=n&&Sz(t[a],e)})),!!n}return t===e}function Mz(t,e){t[e.get(["label","show"])?"show":"hide"]()}function Iz(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function Tz(t,e,n){var a=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=a&&(t.z=a),null!=i&&(t.zlevel=i),t.silent=n)}))}function Cz(t){var e,n=t.get("type"),a=t.getModel(n+"Style");return"line"===n?(e=a.getLineStyle()).fill=null:"shadow"===n&&((e=a.getAreaStyle()).stroke=null),e}function Dz(t,e,n,a,i){var r=Az(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),o=n.getModel("label"),l=Ap(o.get("padding")||0),s=o.getFont(),u=ka(r,s),c=i.position,p=u.width+l[1]+l[3],d=u.height+l[0]+l[2],h=i.align;"right"===h&&(c[0]-=p),"center"===h&&(c[0]-=p/2);var f=i.verticalAlign;"bottom"===f&&(c[1]-=d),"middle"===f&&(c[1]-=d/2),function(t,e,n,a){var i=a.getWidth(),r=a.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,r)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(c,p,d,a);var g=o.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:_c(o,{text:r,font:s,fill:o.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function Az(t,e,n,a,i){t=e.scale.parse(t);var r=e.scale.getLabel({value:t},{precision:i.precision}),o=i.formatter;if(o){var l={value:mx(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};z(a,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),a=t.dataIndexInside,i=e&&e.getDataParams(a);i&&l.seriesData.push(i)})),W(o)?r=o.replace("{value}",r):H(o)&&(r=o(l))}return r}function Lz(t,e,n){var a=[1,0,0,1,0,0];return Xn(a,a,n.rotation),Yn(a,a,n.position),ic([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],a)}function Pz(t,e,n,a,i,r){var o=IS.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),Dz(e,a,i,r,{position:Lz(a.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function zz(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function Oz(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function Rz(t,e,n,a,i,r){return{cx:t,cy:e,r0:n,r:a,startAngle:i,endAngle:r,clockwise:!0}}var Nz=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,a,i){var r=n.axis,o=r.grid,l=a.get("type"),s=Ez(o,r).getOtherAxis(r).getGlobalExtent(),u=r.toGlobalCoord(r.dataToCoord(e,!0));if(l&&"none"!==l){var c=Cz(a),p=Bz[l](r,u,s);p.style=c,t.graphicKey=p.type,t.pointer=p}Pz(e,t,vS(o.model,n),n,a,i)},e.prototype.getHandleTransform=function(t,e,n){var a=vS(e.axis.grid.model,e,{labelInside:!1});a.labelMargin=n.get(["handle","margin"]);var i=Lz(e.axis,t,a);return{x:i[0],y:i[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,a){var i=n.axis,r=i.grid,o=i.getGlobalExtent(!0),l=Ez(r,i).getOtherAxis(i).getGlobalExtent(),s="x"===i.dim?0:1,u=[t.x,t.y];u[s]+=e[s],u[s]=Math.min(o[1],u[s]),u[s]=Math.max(o[0],u[s]);var c=(l[1]+l[0])/2,p=[c,c];return p[s]=u[s],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:p,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][s]}},e}(wz);function Ez(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var Bz={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:zz([e,n[0]],[e,n[1]],Vz(t))}},shadow:function(t,e,n){var a=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:Oz([e-a/2,n[0]],[a,i],Vz(t))}}};function Vz(t){return"x"===t.dim?0:1}var Fz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="axisPointer",e.defaultOption={show:"auto",zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!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}(Qp),Gz=zi(),Hz=z;function Wz(t,e,n){if(!o.node){var a=e.getZr();Gz(a).records||(Gz(a).records={}),function(t,e){function n(n,a){t.on(n,(function(n){var i=function(t){var e={showTip:[],hideTip:[]},n=function(a){var i=e[a.type];i?i.push(a):(a.dispatchAction=n,t.dispatchAction(a))};return{dispatchAction:n,pendings:e}}(e);Hz(Gz(t).records,(function(t){t&&a(t,n,i.dispatchAction)})),function(t,e){var n,a=t.showTip.length,i=t.hideTip.length;a?n=t.showTip[a-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(i.pendings,e)}))}Gz(t).initialized||(Gz(t).initialized=!0,n("click",F(Yz,"click")),n("mousemove",F(Yz,"mousemove")),n("globalout",Uz))}(a,e),(Gz(a).records[t]||(Gz(a).records[t]={})).handler=n}}function Uz(t,e,n){t.handler("leave",null,n)}function Yz(t,e,n,a){e.handler(t,n,a)}function Xz(t,e){if(!o.node){var n=e.getZr();(Gz(n).records||{})[t]&&(Gz(n).records[t]=null)}}var Zz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=e.getComponent("tooltip"),i=t.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";Wz("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){Xz("axisPointer",e)},e.prototype.dispose=function(t,e){Xz("axisPointer",e)},e.type="axisPointer",e}(Ff);function jz(t,e){var n,a=[],i=t.seriesIndex;if(null==i||!(n=e.getSeriesByIndex(i)))return{point:[]};var r=n.getData(),o=Pi(r,t);if(null==o||o<0||G(o))return{point:[]};var l=r.getItemGraphicEl(o),s=n.coordinateSystem;if(n.getTooltipPosition)a=n.getTooltipPosition(o)||[];else if(s&&s.dataToPoint)if(t.isStacked){var u=s.getBaseAxis(),c=s.getOtherAxis(u).dim,p=u.dim,d="x"===c||"radius"===c?1:0,h=r.mapDimension(p),f=[];f[d]=r.get(h,o),f[1-d]=r.get(r.getCalculationInfo("stackResultDimension"),o),a=s.dataToPoint(f)||[]}else a=s.dataToPoint(r.getValues(O(s.dimensions,(function(t){return r.mapDimension(t)})),o))||[];else if(l){var g=l.getBoundingRect().clone();g.applyTransform(l.transform),a=[g.x+g.width/2,g.y+g.height/2]}return{point:a,el:l}}var qz=zi();function Kz(t,e,n){var a=t.currTrigger,i=[t.x,t.y],r=t,o=t.dispatchAction||V(n.dispatchAction,n),l=e.getComponent("axisPointer").coordSysAxesInfo;if(l){eO(i)&&(i=jz({seriesIndex:r.seriesIndex,dataIndex:r.dataIndex},e).point);var s=eO(i),u=r.axesInfo,c=l.axesInfo,p="leave"===a||eO(i),d={},h={},f={list:[],map:{}},g={showPointer:F(Jz,h),showTooltip:F(Qz,f)};z(l.coordSysMap,(function(t,e){var n=s||t.containPoint(i);z(l.coordSysAxesInfo[e],(function(t,e){var a=t.axis,r=function(t,e){for(var n=0;n<(t||[]).length;n++){var a=t[n];if(e.axis.dim===a.axisDim&&e.axis.model.componentIndex===a.axisIndex)return a}}(u,t);if(!p&&n&&(!u||r)){var o=r&&r.value;null!=o||s||(o=a.pointToData(i)),null!=o&&$z(t,o,g,!1,d)}}))}));var m={};return z(c,(function(t,e){var n=t.linkGroup;n&&!h[e]&&z(n.axesInfo,(function(e,a){var i=h[a];if(e!==t&&i){var r=i.value;n.mapper&&(r=t.axis.scale.parse(n.mapper(r,tO(e),tO(t)))),m[t.key]=r}}))})),z(m,(function(t,e){$z(c[e],t,g,!0,d)})),function(t,e,n){var a=n.axesInfo=[];z(e,(function(e,n){var i=e.axisPointerModel.option,r=t[n];r?(!e.useHandle&&(i.status="show"),i.value=r.value,i.seriesDataIndices=(r.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&a.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}(h,c,d),function(t,e,n,a){if(!eO(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};a({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else a({type:"hideTip"})}(f,i,t,o),function(t,e,n){var a=n.getZr(),i="axisPointerLastHighlights",r=qz(a)[i]||{},o=qz(a)[i]={};z(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&z(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t}))}));var l=[],s=[];z(r,(function(t,e){!o[e]&&s.push(t)})),z(o,(function(t,e){!r[e]&&l.push(t)})),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}(c,0,n),d}}function $z(t,e,n,a,i){var r=t.axis;if(!r.scale.isBlank()&&r.containData(e))if(t.involveSeries){var o=function(t,e){var n=e.axis,a=n.dim,i=t,r=[],o=Number.MAX_VALUE,l=-1;return z(e.seriesModels,(function(e,s){var u,c,p=e.getData().mapDimensionsAll(a);if(e.getAxisTooltipData){var d=e.getAxisTooltipData(p,t,n);c=d.dataIndices,u=d.nestestValue}else{if(!(c=e.getData().indicesOfNearest(p[0],t,"category"===n.type?.5:null)).length)return;u=e.getData().get(p[0],c[0])}if(null!=u&&isFinite(u)){var h=t-u,f=Math.abs(h);f<=o&&((f<o||h>=0&&l<0)&&(o=f,l=h,i=u,r.length=0),z(c,(function(t){r.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:r,snapToValue:i}}(e,t),l=o.payloadBatch,s=o.snapToValue;l[0]&&null==i.seriesIndex&&I(i,l[0]),!a&&t.snap&&r.containData(s)&&null!=s&&(e=s),n.showPointer(t,e,l),n.showTooltip(t,o,s)}else n.showPointer(t,e)}function Jz(t,e,n,a){t[e.key]={value:n,payloadBatch:a}}function Qz(t,e,n,a){var i=n.payloadBatch,r=e.axis,o=r.model,l=e.axisPointerModel;if(e.triggerTooltip&&i.length){var s=e.coordSys.model,u=ES(s),c=t.map[u];c||(c=t.map[u]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:r.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:a,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function tO(t){var e=t.axis.model,n={},a=n.axisDim=t.axis.dim;return n.axisIndex=n[a+"AxisIndex"]=e.componentIndex,n.axisName=n[a+"AxisName"]=e.name,n.axisId=n[a+"AxisId"]=e.id,n}function eO(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function nO(t){VS.registerAxisPointerClass("CartesianAxisPointer",Nz),t.registerComponentModel(Fz),t.registerComponentView(Zz),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!G(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=PS(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Kz)}var aO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,a,i){var r=n.axis;"angle"===r.dim&&(this.animationThreshold=Math.PI/18);var o=r.polar,l=o.getOtherAxis(r).getExtent(),s=r.dataToCoord(e),u=a.get("type");if(u&&"none"!==u){var c=Cz(a),p=iO[u](r,o,s,l);p.style=c,t.graphicKey=p.type,t.pointer=p}var d=function(t,e,n,a,i){var r=e.axis,o=r.dataToCoord(t),l=a.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s,u,c,p=a.getRadiusAxis().getExtent();if("radius"===r.dim){var d=[1,0,0,1,0,0];Xn(d,d,l),Yn(d,d,[a.cx,a.cy]),s=ic([o,-i],d);var h=e.getModel("axisLabel").get("rotate")||0,f=IS.innerTextLayout(l,h*Math.PI/180,-1);u=f.textAlign,c=f.textVerticalAlign}else{var g=p[1];s=a.coordToPoint([g+i,o]);var m=a.cx,y=a.cy;u=Math.abs(s[0]-m)/g<.3?"center":s[0]>m?"left":"right",c=Math.abs(s[1]-y)/g<.3?"middle":s[1]>y?"top":"bottom"}return{position:s,align:u,verticalAlign:c}}(e,n,0,o,a.get(["label","margin"]));Dz(t,n,a,i,d)},e}(wz),iO={line:function(t,e,n,a){return"angle"===t.dim?{type:"Line",shape:zz(e.coordToPoint([a[0],n]),e.coordToPoint([a[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,a){var i=Math.max(1,t.getBandWidth()),r=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:Rz(e.cx,e.cy,a[0],a[1],(-n-i/2)*r,(i/2-n)*r)}:{type:"Sector",shape:Rz(e.cx,e.cy,n-i/2,n+i/2,0,2*Math.PI)}}},rO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(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={zlevel:0,z:0,center:["50%","50%"],radius:"80%"},e}(Qp),oO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",Ei).models[0]},e.type="polarAxis",e}(Qp);L(oO,_x);var lO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="angleAxis",e}(oO),sO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="radiusAxis",e}(oO),uO=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return n(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(Fx);uO.prototype.dataToRadius=Fx.prototype.dataToCoord,uO.prototype.radiusToData=Fx.prototype.coordToData;var cO=zi(),pO=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return n(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,a=n.getExtent(),i=n.count();if(a[1]-a[0]<1)return 0;var r=a[0],o=t.dataToCoord(r+1)-t.dataToCoord(r),l=Math.abs(o),s=ka(null==r?"":r+"",e.getFont(),"center","top"),u=Math.max(s.height,7)/l;isNaN(u)&&(u=1/0);var c=Math.max(0,Math.floor(u)),p=cO(t.model),d=p.lastAutoInterval,h=p.lastTickCount;return null!=d&&null!=h&&Math.abs(d-c)<=1&&Math.abs(h-i)<=1&&d>c?c=d:(p.lastTickCount=i,p.lastAutoInterval=c),c},e}(Fx);pO.prototype.dataToAngle=Fx.prototype.dataToCoord,pO.prototype.angleToData=Fx.prototype.coordToData;var dO=["radius","angle"],hO=function(){function t(t){this.dimensions=dO,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new uO,this._angleAxis=new pO,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,a=this._radiusAxis;return n.scale.type===t&&e.push(n),a.scale.type===t&&e.push(a),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,a=this.getAngleAxis(),i=a.getExtent(),r=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]);a.inverse?r=o-360:o=r+360;var l=Math.sqrt(e*e+n*n);e/=l,n/=l;for(var s=Math.atan2(-n,e)/Math.PI*180,u=s<r?1:-1;s<r||s>o;)s+=360*u;return[l,s]},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(),a=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*a,endAngle:-n[1]*a,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,a=e-this.cy,i=n*n+a*a,r=this.r,o=this.r0;return i<=r*r&&i>=o*o}}},t.prototype.convertToPixel=function(t,e,n){return fO(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return fO(e)===this?this.pointToData(n):null},t}();function fO(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function gO(t,e){var n=this,a=n.getAngleAxis(),i=n.getRadiusAxis();if(a.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();z(xx(e,"radius"),(function(t){i.scale.unionExtentFromData(e,t)})),z(xx(e,"angle"),(function(t){a.scale.unionExtentFromData(e,t)}))}})),hx(a.scale,a.model),hx(i.scale,i.model),"category"===a.type&&!a.onBand){var r=a.getExtent(),o=360/a.scale.count();a.inverse?r[1]+=o:r[1]-=o,a.setExtent(r[0],r[1])}}function mO(t,e){if(t.type=e.get("type"),t.scale=fx(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 n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var yO={dimensions:dO,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,a){var i=new hO(a+"");i.update=gO;var r=i.getRadiusAxis(),o=i.getAngleAxis(),l=t.findAxisModel("radiusAxis"),s=t.findAxisModel("angleAxis");mO(r,l),mO(o,s),function(t,e,n){var a=e.get("center"),i=n.getWidth(),r=n.getHeight();t.cx=qa(a[0],i),t.cy=qa(a[1],r);var o=t.getRadiusAxis(),l=Math.min(i,r)/2,s=e.get("radius");null==s?s=[0,"100%"]:G(s)||(s=[0,s]);var u=[qa(s[0],l),qa(s[1],l)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",Ei).models[0];t.coordinateSystem=e.coordinateSystem}})),n}},vO=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function bO(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var a=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:a[0],y1:a[1],x2:i[0],y2:i[1]}}function xO(t){return t.getRadiusAxis().inverse?0:1}function _O(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 wO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return n(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,a=n.polar,i=a.getRadiusAxis().getExtent(),r=n.getTicksCoords(),o=n.getMinorTicksCoords(),l=O(n.getViewLabels(),(function(t){t=k(t);var e=n.scale,a="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(a),t}));_O(l),_O(r),z(vO,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||kO[e](this.group,t,a,r,o,i,l)}),this)}},e.type="angleAxis",e}(VS),kO={axisLine:function(t,e,n,a,i,r){var o,l=e.getModel(["axisLine","lineStyle"]),s=xO(n),u=s?0:1;(o=0===r[u]?new Gs({shape:{cx:n.cx,cy:n.cy,r:r[s]},style:l.getLineStyle(),z2:1,silent:!0}):new ou({shape:{cx:n.cx,cy:n.cy,r:r[s],r0:r[u]},style:l.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(o)},axisTick:function(t,e,n,a,i,r){var o=e.getModel("axisTick"),l=(o.get("inside")?-1:1)*o.get("length"),s=r[xO(n)],u=O(a,(function(t){return new gu({shape:bO(n,[s,s+l],t.coord)})}));t.add(tc(u,{style:T(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,a,i,r){if(i.length){for(var o=e.getModel("axisTick"),l=e.getModel("minorTick"),s=(o.get("inside")?-1:1)*l.get("length"),u=r[xO(n)],c=[],p=0;p<i.length;p++)for(var d=0;d<i[p].length;d++)c.push(new gu({shape:bO(n,[u,u+s],i[p][d].coord)}));t.add(tc(c,{style:T(l.getModel("lineStyle").getLineStyle(),T(o.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,a,i,r,o){var l=e.getCategories(!0),s=e.getModel("axisLabel"),u=s.get("margin"),c=e.get("triggerEvent");z(o,(function(a,i){var o=s,p=a.tickValue,d=r[xO(n)],h=n.coordToPoint([d+u,a.coord]),f=n.cx,g=n.cy,m=Math.abs(h[0]-f)/d<.3?"center":h[0]>f?"left":"right",y=Math.abs(h[1]-g)/d<.3?"middle":h[1]>g?"top":"bottom";if(l&&l[p]){var v=l[p];X(v)&&v.textStyle&&(o=new Hc(v.textStyle,s,s.ecModel))}var b=new hl({silent:IS.isLabelSilent(e),style:_c(o,{x:h[0],y:h[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:a.formattedLabel,align:m,verticalAlign:y})});if(t.add(b),c){var x=IS.makeAxisEventDataBase(e);x.targetType="axisLabel",x.value=a.rawLabel,wl(b).eventData=x}}),this)},splitLine:function(t,e,n,a,i,r){var o=e.getModel("splitLine").getModel("lineStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=0;c<a.length;c++){var p=s++%l.length;u[p]=u[p]||[],u[p].push(new gu({shape:bO(n,r,a[c].coord)}))}for(c=0;c<u.length;c++)t.add(tc(u[c],{style:T({stroke:l[c%l.length]},o.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,a,i,r){if(i.length){for(var o=e.getModel("minorSplitLine").getModel("lineStyle"),l=[],s=0;s<i.length;s++)for(var u=0;u<i[s].length;u++)l.push(new gu({shape:bO(n,r,i[s][u].coord)}));t.add(tc(l,{style:o.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,a,i,r){if(a.length){var o=e.getModel("splitArea").getModel("areaStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=Math.PI/180,p=-a[0].coord*c,d=Math.min(r[0],r[1]),h=Math.max(r[0],r[1]),f=e.get("clockwise"),g=1,m=a.length;g<=m;g++){var y=g===m?a[0].coord:a[g].coord,v=s++%l.length;u[v]=u[v]||[],u[v].push(new iu({shape:{cx:n.cx,cy:n.cy,r0:d,r:h,startAngle:p,endAngle:-y*c,clockwise:f},silent:!0})),p=-y*c}for(g=0;g<u.length;g++)t.add(tc(u[g],{style:T({fill:l[g%l.length]},o.getAreaStyle()),silent:!0}))}}},SO=["axisLine","axisTickLabel","axisName"],MO=["splitLine","splitArea","minorSplitLine"],IO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return n(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,a=this._axisGroup=new Va;this.group.add(a);var i=t.axis,r=i.polar,o=r.getAngleAxis(),l=i.getTicksCoords(),s=i.getMinorTicksCoords(),u=o.getExtent()[0],c=i.getExtent(),p=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}}(r,t,u),d=new IS(t,p);z(SO,d.add,d),a.add(d.getGroup()),lc(n,a,t),z(MO,(function(e){t.get([e,"show"])&&!i.scale.isBlank()&&TO[e](this.group,t,r,u,c,l,s)}),this)}},e.type="radiusAxis",e}(VS),TO={splitLine:function(t,e,n,a,i,r){var o=e.getModel("splitLine").getModel("lineStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=0;c<r.length;c++){var p=s++%l.length;u[p]=u[p]||[],u[p].push(new Gs({shape:{cx:n.cx,cy:n.cy,r:r[c].coord}}))}for(c=0;c<u.length;c++)t.add(tc(u[c],{style:T({stroke:l[c%l.length],fill:null},o.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,a,i,r,o){if(o.length){for(var l=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],u=0;u<o.length;u++)for(var c=0;c<o[u].length;c++)s.push(new Gs({shape:{cx:n.cx,cy:n.cy,r:o[u][c].coord}}));t.add(tc(s,{style:T({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,a,i,r){if(r.length){var o=e.getModel("splitArea").getModel("areaStyle"),l=o.get("color"),s=0;l=l instanceof Array?l:[l];for(var u=[],c=r[0].coord,p=1;p<r.length;p++){var d=s++%l.length;u[d]=u[d]||[],u[d].push(new iu({shape:{cx:n.cx,cy:n.cy,r0:c,r:r[p].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),c=r[p].coord}for(p=0;p<u.length;p++)t.add(tc(u[p],{style:T({fill:l[p%l.length]},o.getAreaStyle()),silent:!0}))}}};function CO(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function DO(t,e){return e.dim+t.model.componentIndex}function AO(t,e,n){var a={},i=function(t){var e={};z(t,(function(t,n){var a=t.getData(),i=t.coordinateSystem,r=i.getBaseAxis(),o=DO(i,r),l=r.getExtent(),s="category"===r.type?r.getBandWidth():Math.abs(l[1]-l[0])/a.count(),u=e[o]||{bandWidth:s,remainedWidth:s,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},c=u.stacks;e[o]=u;var p=CO(t);c[p]||u.autoWidthCount++,c[p]=c[p]||{width:0,maxWidth:0};var d=qa(t.get("barWidth"),s),h=qa(t.get("barMaxWidth"),s),f=t.get("barGap"),g=t.get("barCategoryGap");d&&!c[p].width&&(d=Math.min(u.remainedWidth,d),c[p].width=d,u.remainedWidth-=d),h&&(c[p].maxWidth=h),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var n={};return z(e,(function(t,e){n[e]={};var a=t.stacks,i=t.bandWidth,r=qa(t.categoryGap,i),o=qa(t.gap,1),l=t.remainedWidth,s=t.autoWidthCount,u=(l-r)/(s+(s-1)*o);u=Math.max(u,0),z(a,(function(t,e){var n=t.maxWidth;n&&n<u&&(n=Math.min(n,l),t.width&&(n=Math.min(n,t.width)),l-=n,t.width=n,s--)})),u=(l-r)/(s+(s-1)*o),u=Math.max(u,0);var c,p=0;z(a,(function(t,e){t.width||(t.width=u),c=t,p+=t.width*(1+o)})),c&&(p-=c.width*o);var d=-p/2;z(a,(function(t,a){n[e][a]=n[e][a]||{offset:d,width:t.width},d+=t.width*(1+o)}))})),n}(N(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,r=n.getBaseAxis(),o=DO(n,r),l=CO(t),s=i[o][l],u=s.offset,c=s.width,p=n.getOtherAxis(r),d=t.coordinateSystem.cx,h=t.coordinateSystem.cy,f=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;a[l]=a[l]||[];for(var m=e.mapDimension(p.dim),y=e.mapDimension(r.dim),v=hb(e,m),b="radius"!==r.dim||!t.get("roundCap",!0),x=p.dataToCoord(0),_=0,w=e.count();_<w;_++){var k=e.get(m,_),S=e.get(y,_),M=k>=0?"p":"n",I=x;v&&(a[l][S]||(a[l][S]={p:x,n:x}),I=a[l][S][M]);var T=void 0,C=void 0,D=void 0,A=void 0;if("radius"===p.dim){var L=p.dataToCoord(k)-x,P=r.dataToCoord(S);Math.abs(L)<f&&(L=(L<0?-1:1)*f),T=I,C=I+L,A=(D=P-u)-c,v&&(a[l][S][M]=C)}else{var z=p.dataToCoord(k,b)-x,O=r.dataToCoord(S);Math.abs(z)<g&&(z=(z<0?-1:1)*g),C=(T=O+u)+c,D=I,A=I+z,v&&(a[l][S][M]=A)}e.setItemLayout(_,{cx:d,cy:h,r0:T,r:C,startAngle:-D*Math.PI/180,endAngle:-A*Math.PI/180,clockwise:D>=A})}}}))}var LO={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},PO={splitNumber:5},zO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="polar",e}(Ff);function OO(t,e){e=e||{};var n=t.coordinateSystem,a=t.axis,i={},r=a.position,o=a.orient,l=n.getRect(),s=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};i.position=["vertical"===o?u.vertical[r]:s[0],"horizontal"===o?u.horizontal[r]:s[3]],i.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[r],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),tt(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var c=e.rotate;return null==c&&(c=t.get(["axisLabel","rotate"])),i.labelRotation="top"===r?-c:c,i.z2=1,i}var RO=["axisLine","axisTickLabel","axisName"],NO=["splitArea","splitLine"],EO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return n(e,t),e.prototype.render=function(e,n,a,i){var r=this.group;r.removeAll();var o=this._axisGroup;this._axisGroup=new Va;var l=OO(e),s=new IS(e,l);z(RO,s.add,s),r.add(this._axisGroup),r.add(s.getGroup()),z(NO,(function(t){e.get([t,"show"])&&BO[t](this,this.group,this._axisGroup,e)}),this),lc(o,this._axisGroup,e),t.prototype.render.call(this,e,n,a,i)},e.prototype.remove=function(){HS(this)},e.type="singleAxis",e}(VS),BO={splitLine:function(t,e,n,a){var i=a.axis;if(!i.scale.isBlank()){var r=a.getModel("splitLine"),o=r.getModel("lineStyle"),l=o.get("color");l=l instanceof Array?l:[l];for(var s=a.coordinateSystem.getRect(),u=i.isHorizontal(),c=[],p=0,d=i.getTicksCoords({tickModel:r}),h=[],f=[],g=0;g<d.length;++g){var m=i.toGlobalCoord(d[g].coord);u?(h[0]=m,h[1]=s.y,f[0]=m,f[1]=s.y+s.height):(h[0]=s.x,h[1]=m,f[0]=s.x+s.width,f[1]=m);var y=p++%l.length;c[y]=c[y]||[],c[y].push(new gu({subPixelOptimize:!0,shape:{x1:h[0],y1:h[1],x2:f[0],y2:f[1]},silent:!0}))}var v=o.getLineStyle(["color"]);for(g=0;g<c.length;++g)e.add(tc(c[g],{style:T({stroke:l[g%l.length]},v),silent:!0}))}},splitArea:function(t,e,n,a){GS(t,n,a,a)}},VO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(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}(Qp);L(VO,_x.prototype);var FO=function(t){function e(e,n,a,i,r){var o=t.call(this,e,n,a)||this;return o.type=i||"value",o.position=r||"bottom",o}return n(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}(Fx),GO=["single"],HO=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=GO,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var a=this.dimension,i=new FO(a,fx(t),[0,0],t.get("type"),t.get("position")),r="category"===i.type;i.onBand=r&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();z(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),hx(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=Xp({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(),a=n?[0,t.width]:[0,t.height],i=e.reverse?1:0;e.setExtent(a[i],a[1-i]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),a=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(t){return t+e}:function(t){return a-t+e},t.toLocalCoord=i?function(t){return t-e}:function(t){return a-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(),a=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),a[i]=e.toGlobalCoord(e.dataToCoord(+t)),a[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,a},t.prototype.convertToPixel=function(t,e,n){return WO(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return WO(e)===this?this.pointToData(n):null},t}();function WO(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}var UO={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(a,i){var r=new HO(a,t,e);r.name="single_"+i,r.resize(a,e),a.coordinateSystem=r,n.push(r)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",Ei).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:GO},YO=["x","y"],XO=["width","height"],ZO=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.makeElOption=function(t,e,n,a,i){var r=n.axis,o=r.coordinateSystem,l=KO(o,1-qO(r)),s=o.dataToPoint(e)[0],u=a.get("type");if(u&&"none"!==u){var c=Cz(a),p=jO[u](r,s,l);p.style=c,t.graphicKey=p.type,t.pointer=p}Pz(e,t,OO(n),n,a,i)},e.prototype.getHandleTransform=function(t,e,n){var a=OO(e,{labelInside:!1});a.labelMargin=n.get(["handle","margin"]);var i=Lz(e.axis,t,a);return{x:i[0],y:i[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,a){var i=n.axis,r=i.coordinateSystem,o=qO(i),l=KO(r,o),s=[t.x,t.y];s[o]+=e[o],s[o]=Math.min(l[1],s[o]),s[o]=Math.max(l[0],s[o]);var u=KO(r,1-o),c=(u[1]+u[0])/2,p=[c,c];return p[o]=s[o],{x:s[0],y:s[1],rotation:t.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}},e}(wz),jO={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:zz([e,n[0]],[e,n[1]],qO(t))}},shadow:function(t,e,n){var a=t.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:Oz([e-a/2,n[0]],[a,i],qO(t))}}};function qO(t){return t.isHorizontal()?0:1}function KO(t,e){var n=t.getRect();return[n[YO[e]],n[YO[e]]+n[XO[e]]]}var $O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="single",e}(Ff),JO=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(e,n,a){var i=Kp(e);t.prototype.init.apply(this,arguments),QO(e,i)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),QO(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Qp);function QO(t,e){var n,a=t.cellSize;1===(n=G(a)?a:t.cellSize=[a,a]).length&&(n[1]=n[0]);var i=O([0,1],(function(t){return function(t,e){return null!=t[Wp[e][0]]||null!=t[Wp[e][1]]&&null!=t[Wp[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));qp(t,e,{type:"box",ignoreSize:i})}var tR={EN:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CN:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},eR={EN:["S","M","T","W","T","F","S"],CN:["日","一","二","三","四","五","六"]},nR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){var a=this.group;a.removeAll();var i=t.coordinateSystem,r=i.getRangeInfo(),o=i.getOrient();this._renderDayRect(t,r,a),this._renderLines(t,r,o,a),this._renderYearText(t,r,o,a),this._renderMonthText(t,o,a),this._renderWeekText(t,r,o,a)},e.prototype._renderDayRect=function(t,e,n){for(var a=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),r=a.getCellWidth(),o=a.getCellHeight(),l=e.start.time;l<=e.end.time;l=a.getNextNDay(l,1).time){var s=a.dataToRect([l],!1).tl,u=new cl({shape:{x:s[0],y:s[1],width:r,height:o},cursor:"default",style:i});n.add(u)}},e.prototype._renderLines=function(t,e,n,a){var i=this,r=t.coordinateSystem,o=t.getModel(["splitLine","lineStyle"]).getLineStyle(),l=t.get(["splitLine","show"]),s=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){d(u.formatedDate),0===c&&(u=r.getDateInfo(e.start.y+"-"+e.start.m));var p=u.date;p.setMonth(p.getMonth()+1),u=r.getDateInfo(p)}function d(e){i._firstDayOfMonth.push(r.getDateInfo(e)),i._firstDayPoints.push(r.dataToRect([e],!1).tl);var s=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(s[0]),i._blpoints.push(s[s.length-1]),l&&i._drawSplitline(s,o,a)}d(r.getNextNDay(e.end.time,1).formatedDate),l&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,s,n),o,a),l&&this._drawSplitline(i._getEdgesPoints(i._blpoints,s,n),o,a)},e.prototype._getEdgesPoints=function(t,e,n){var a=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return a[0][i]=a[0][i]-e/2,a[1][i]=a[1][i]+e/2,a},e.prototype._drawSplitline=function(t,e,n){var a=new du({z2:20,shape:{points:t},style:e});n.add(a)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var a=t.coordinateSystem,i=a.getDateInfo(e),r=[],o=0;o<7;o++){var l=a.getNextNDay(i.time,o),s=a.dataToRect([l.time],!1);r[2*l.day]=s.tl,r[2*l.day+1]=s["horizontal"===n?"bl":"tr"]}return r},e.prototype._formatterLabel=function(t,e){return"string"==typeof t&&t?(n=t,z(e,(function(t,e){n=n.replace("{"+e+"}",a?zp(t):t)})),n):"function"==typeof t?t(e):e.nameMap;var n,a},e.prototype._yearTextPositionControl=function(t,e,n,a,i){var r=e[0],o=e[1],l=["center","bottom"];"bottom"===a?(o+=i,l=["center","top"]):"left"===a?r-=i:"right"===a?(r+=i,l=["center","top"]):o-=i;var s=0;return"left"!==a&&"right"!==a||(s=Math.PI/2),{rotation:s,x:r,y:o,style:{align:l[0],verticalAlign:l[1]}}},e.prototype._renderYearText=function(t,e,n,a){var i=t.getModel("yearLabel");if(i.get("show")){var r=i.get("margin"),o=i.get("position");o||(o="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],s=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,c="horizontal"===n?0:1,p={top:[s,l[c][1]],bottom:[s,l[1-c][1]],left:[l[1-c][0],u],right:[l[c][0],u]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var h=i.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:d},g=this._formatterLabel(h,f),m=new hl({z2:30,style:_c(i,{text:g})});m.attr(this._yearTextPositionControl(m,p[o],n,o,r)),a.add(m)}},e.prototype._monthTextPositionControl=function(t,e,n,a,i){var r="left",o="top",l=t[0],s=t[1];return"horizontal"===n?(s+=i,e&&(r="center"),"start"===a&&(o="bottom")):(l+=i,e&&(o="middle"),"start"===a&&(r="right")),{x:l,y:s,align:r,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n){var a=t.getModel("monthLabel");if(a.get("show")){var i=a.get("nameMap"),r=a.get("margin"),o=a.get("position"),l=a.get("align"),s=[this._tlpoints,this._blpoints];W(i)&&(i=tR[i.toUpperCase()]||[]);var u="start"===o?0:1,c="horizontal"===e?0:1;r="start"===o?-r:r;for(var p="center"===l,d=0;d<s[u].length-1;d++){var h=s[u][d].slice(),f=this._firstDayOfMonth[d];if(p){var g=this._firstDayPoints[d];h[c]=(g[c]+s[0][d+1][c])/2}var m=a.get("formatter"),y=i[+f.m-1],v={yyyy:f.y,yy:(f.y+"").slice(2),MM:f.m,M:+f.m,nameMap:y},b=this._formatterLabel(m,v),x=new hl({z2:30,style:I(_c(a,{text:b}),this._monthTextPositionControl(h,p,e,o,r))});n.add(x)}}},e.prototype._weekTextPositionControl=function(t,e,n,a,i){var r="center",o="middle",l=t[0],s=t[1],u="start"===n;return"horizontal"===e?(l=l+a+(u?1:-1)*i[0]/2,r=u?"right":"left"):(s=s+a+(u?1:-1)*i[1]/2,o=u?"bottom":"top"),{x:l,y:s,align:r,verticalAlign:o}},e.prototype._renderWeekText=function(t,e,n,a){var i=t.getModel("dayLabel");if(i.get("show")){var r=t.coordinateSystem,o=i.get("position"),l=i.get("nameMap"),s=i.get("margin"),u=r.getFirstDayOfWeek();W(l)&&(l=eR[l.toUpperCase()]||[]);var c=r.getNextNDay(e.end.time,7-e.lweek).time,p=[r.getCellWidth(),r.getCellHeight()];s=qa(s,Math.min(p[1],p[0])),"start"===o&&(c=r.getNextNDay(e.start.time,-(7+e.fweek)).time,s=-s);for(var d=0;d<7;d++){var h,f=r.getNextNDay(c,d),g=r.dataToRect([f.time],!1).center;h=Math.abs((d+u)%7);var m=new hl({z2:30,style:I(_c(i,{text:l[h]}),this._weekTextPositionControl(g,n,o,s,p))});a.add(m)}}},e.type="calendar",e}(Ff),aR=864e5,iR=function(){function t(e,n,a){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=li(t)).getFullYear(),n=t.getMonth()+1,a=n<10?"0"+n:""+n,i=t.getDate(),r=i<10?"0"+i:""+i,o=t.getDay();return{y:e+"",m:a,d:r,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+a+"-"+r,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,a=["width","height"],i=this._model.getCellSize().slice(),r=this._model.getBoxLayoutParams(),o="horizontal"===this._orient?[n,7]:[7,n];z([0,1],(function(t){u(i,t)&&(r[a[t]]=i[t]*o[t])}));var l={width:e.getWidth(),height:e.getHeight()},s=this._rect=Xp(r,l);function u(t,e){return null!=t[e]&&"auto"!==t[e]}z([0,1],(function(t){u(i,t)||(i[t]=s[a[t]]/o[t])})),this._sw=i[0],this._sh=i[1]},t.prototype.dataToPoint=function(t,e){G(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),a=this._rangeInfo,i=n.formatedDate;if(e&&!(n.time>=a.start.time&&n.time<a.end.time+aR))return[NaN,NaN];var r=n.day,o=this._getRangeInfo([a.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+r*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]:[this._rect.x+o*this._sw+this._sw/2,this._rect.y+r*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,a=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,a):this._getDateByWeeksAndDay(e,n-1,a)},t.prototype.convertToPixel=function(t,e,n){var a=rR(e);return a===this?a.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var a=rR(e);return a===this?a.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(G(e)&&1===e.length&&(e=e[0]),G(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 a=this.getDateInfo(n),i=a.date;i.setMonth(i.getMonth()+1);var r=this.getNextNDay(i,-1);t=[a.formatedDate,r.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var o=this._getRangeInfo(t);return o.start.time>o.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 a=Math.floor(n[1].time/aR)-Math.floor(n[0].time/aR)+1,i=new Date(n[0].time),r=i.getDate(),o=n[1].date.getDate();i.setDate(r+a-1);var l=i.getDate();if(l!==o)for(var s=i.getTime()-n[1].time>0?1:-1;(l=i.getDate())!==o&&(i.getTime()-n[1].time)*s>0;)a-=s,i.setDate(l-s);var u=Math.floor((a+n[0].day+6)/7),c=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:u,nthWeek:c,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var a=this._getRangeInfo(n);if(t>a.weeks||0===t&&e<a.fweek||t===a.weeks&&e>a.lweek)return null;var i=7*(t-1)-a.fweek+e,r=new Date(a.start.time);return r.setDate(+a.start.d+i),this.getDateInfo(r)},t.create=function(e,n){var a=[];return e.eachComponent("calendar",(function(i){var r=new t(i,e,n);a.push(r),i.coordinateSystem=r})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=a[t.get("calendarIndex")||0])})),a},t.dimensions=["time","value"],t}();function rR(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}var oR=zi(),lR={path:null,compoundPath:null,group:Va,image:al,text:hl},sR=function(t){var e=t.graphic;G(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])},uR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return n(e,t),e.prototype.mergeOption=function(e,n){var a=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=a},e.prototype.optionUpdated=function(t,e){var n=this.option,a=(e?n:t).elements,i=n.elements=e?[]:n.elements,r=[];this._flatten(a,r,null);var o=Ii(i,r,"normalMerge"),l=this._elOptionsToUpdate=[];z(o,(function(t,e){var n=t.newOption;n&&(l.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 a=e.parentOption;a?e.parentId=a.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var a=I({},n),i=t[e],r=n.$action||"merge";"merge"===r?i?(S(i,a,!0),qp(i,a,{ignoreSize:!0}),$p(n,i)):t[e]=a:"replace"===r?t[e]=a:"remove"===r&&i&&(t[e]=null)}(i,e,n),function(t,e){if(t&&(t.hv=e.hv=[hR(e,["left","right"]),hR(e,["top","bottom"])],"group"===t.type)){var n=t,a=e;null==n.width&&(n.width=a.width=0),null==n.height&&(n.height=a.height=0)}}(i[e],n))}),this);for(var s=i.length-1;s>=0;s--)null==i[s]?i.splice(s,1):delete i[s].$action},e.prototype._flatten=function(t,e,n){z(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var a=t.children;"group"===t.type&&a&&this._flatten(a,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}(Qp),cR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this._elMap=pt()},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,a=this.group;z(e,(function(e){var i=Di(e.id,null),r=null!=i?n.get(i):null,o=Di(e.parentId,null),l=null!=o?n.get(o):a,s=e.type,u=e.style;"text"===s&&u&&e.hv&&e.hv[1]&&(u.textVerticalAlign=u.textBaseline=u.verticalAlign=u.align=null);var c=e.textContent,p=e.textConfig;if(u&&CP(u,s,!!p,!!c)){var d=DP(u,s,!0);!p&&d.textConfig&&(p=e.textConfig=d.textConfig),!c&&d.textContent&&(c=d.textContent)}var h=function(t){return t=I({},t),z(["id","parentId","$action","hv","bounding","textContent"].concat(Hp),(function(e){delete t[e]})),t}(e),f=e.$action||"merge";"merge"===f?r?r.attr(h):pR(i,l,h,n):"replace"===f?(dR(r,n),pR(i,l,h,n)):"remove"===f&&dR(r,n);var g=n.get(i);if(g&&c)if("merge"===f){var m=g.getTextContent();m?m.attr(c):g.setTextContent(new hl(c))}else"replace"===f&&g.setTextContent(new hl(c));if(g){var y=oR(g);y.__ecGraphicWidthOption=e.width,y.__ecGraphicHeightOption=e.height,function(t,e,n){var a=wl(t).eventData;t.silent||t.ignore||a||(a=wl(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),a&&(a.info=n.info)}(g,t,e),fc({el:g,componentModel:t,itemName:g.name,itemTooltipOption:e.tooltip})}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,a=this.group,i=this._elMap,r=e.getWidth(),o=e.getHeight(),l=0;l<n.length;l++)if((h=null!=(d=Di((p=n[l]).id,null))?i.get(d):null)&&h.isGroup){var s=(f=h.parent)===a,u=oR(h),c=oR(f);u.__ecGraphicWidth=qa(u.__ecGraphicWidthOption,s?r:c.__ecGraphicWidth)||0,u.__ecGraphicHeight=qa(u.__ecGraphicHeightOption,s?o:c.__ecGraphicHeight)||0}for(l=n.length-1;l>=0;l--){var p,d,h;if(h=null!=(d=Di((p=n[l]).id,null))?i.get(d):null){var f=h.parent;c=oR(f),Zp(h,p,f===a?{width:r,height:o}:{width:c.__ecGraphicWidth,height:c.__ecGraphicHeight},null,{hv:p.hv,boundingMode:p.bounding})}}},e.prototype._clear=function(){var t=this._elMap;t.each((function(e){dR(e,t)})),this._elMap=pt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ff);function pR(t,e,n,a){var i=n.type,r=new(ft(lR,i)?lR[i]:Ku(i))(n);e.add(r),a.set(t,r),oR(r).__ecGraphicId=t}function dR(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){dR(t,e)})),e.removeKey(oR(t).__ecGraphicId),n.remove(t))}function hR(t,e){var n;return z(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var fR=["x","y","radius","angle","single"],gR=["cartesian2d","polar","singleAxis"];function mR(t){return t+"Axis"}function yR(t,e){var n,a=pt(),i=[],r=pt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){r.get(t.uid)||l(t)}));do{n=!1,t.eachComponent("dataZoom",o)}while(n);function o(t){!r.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var i=a.get(t);i&&i[n]&&(e=!0)})),e}(t)&&(l(t),n=!0)}function l(t){r.set(t.uid,!0),i.push(t),t.eachTargetAxis((function(t,e){(a.get(t)||a.set(t,[]))[e]=!0}))}return i}function vR(t){var e=t.ecModel,n={infoList:[],infoMap:pt()};return t.eachTargetAxis((function(t,a){var i=e.getComponent(mR(t),a);if(i){var r=i.getCoordSysModel();if(r){var o=r.uid,l=n.infoMap.get(o);l||(l={model:r,axisModels:[]},n.infoList.push(l),n.infoMap.set(o,l)),l.axisModels.push(i)}}})),n}var bR=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}(),xR=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 n(e,t),e.prototype.init=function(t,e,n){var a=_R(t);this.settledOption=a,this.mergeDefaultAndTheme(t,n),this._doInit(a)},e.prototype.mergeOption=function(t){var e=_R(t);S(this.option,t,!0),S(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;z([["start","startValue"],["end","endValue"]],(function(t,a){"value"===this._rangePropMode[a]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=pt();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 z(fR,(function(n){var a=this.getReferringComponents(mR(n),Bi);if(a.specified){e=!0;var i=new bR;z(a.models,(function(t){i.add(t.componentIndex)})),t.set(n,i)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,a=!0;if(a){var i="vertical"===e?"y":"x";r(n.findComponents({mainType:i+"Axis"}),i)}function r(e,n){var i=e[0];if(i){var r=new bR;if(r.add(i.componentIndex),t.set(n,r),a=!1,"x"===n||"y"===n){var o=i.getReferringComponents("grid",Ei).models[0];o&&z(e,(function(t){i.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",Ei).models[0]&&r.add(t.componentIndex)}))}}}a&&r(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single"),a&&z(fR,(function(e){if(a){var i=n.findComponents({mainType:mR(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var r=new bR;r.add(i[0].componentIndex),t.set(e,r),a=!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");z([["start","startValue"],["end","endValue"]],(function(a,i){var r=null!=t[a[0]],o=null!=t[a[1]];r&&!o?e[i]="percent":!r&&o?e[i]="value":n?e[i]=n[i]:r&&(e[i]="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(mR(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,a){z(n.indexList,(function(n){t.call(e,a,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(mR(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;z([["start","startValue"],["end","endValue"]],(function(a){null==t[a[0]]&&null==t[a[1]]||(e[a[0]]=n[a[0]]=t[a[0]],e[a[1]]=n[a[1]]=t[a[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;z(["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(),a=0;a<n.length;a++)for(var i=n[a],r=this._targetAxisInfoMap.get(i),o=0;o<r.indexList.length;o++){var l=this.getAxisProxy(i,r.indexList[o]);if(l.hostedBy(this))return l;e||(e=l)}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={zlevel:0,z:4,filterMode:"filter",start:0,end:100},e}(Qp);function _R(t){var e={};return z(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}var wR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.select",e}(xR),kR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n,a){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(Ff),SR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.select",e}(kR),MR=z,IR=$a,TR=function(){function t(t,e,n,a){this._dimName=t,this._axisIndex=e,this.ecModel=a,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 D(gR,e)>=0}(e)){var n=mR(this._dimName),a=e.getReferringComponents(n,Ei).models[0];a&&this._axisIndex===a.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,a=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),r=[0,100],o=[],l=[];MR(["start","end"],(function(s,u){var c=t[s],p=t[s+"Value"];"percent"===i[u]?(null==c&&(c=r[u]),p=a.parse(ja(c,r,n))):(e=!0,c=ja(p=null==p?n[u]:a.parse(p),n,r)),l[u]=p,o[u]=c})),IR(l),IR(o);var s=this._minMaxSpan;function u(t,e,n,i,r){var o=r?"Span":"ValueSpan";lD(0,t,n,"all",s["min"+o],s["max"+o]);for(var l=0;l<2;l++)e[l]=ja(t[l],n,i,!0),r&&(e[l]=a.parse(e[l]))}return e?u(l,o,n,r,!1):u(o,l,r,n,!0),{valueWindow:l,percentWindow:o}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var a=[1/0,-1/0];MR(n,(function(t){!function(t,e,n){e&&z(xx(e,n),(function(n){var a=e.getApproximateExtent(n);a[0]<t[0]&&(t[0]=a[0]),a[1]>t[1]&&(t[1]=a[1])}))}(a,t.getData(),e)}));var i=t.getAxisModel(),r=cx(i.axis.scale,i,a).calculate();return[r.min,r.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,a=this.getTargetSeriesModels(),i=t.get("filterMode"),r=this._valueWindow;"none"!==i&&MR(a,(function(t){var e=t.getData(),a=e.mapDimensionsAll(n);if(a.length){if("weakFilter"===i){var o=e.getStore(),l=O(a,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,i,s=0;s<a.length;s++){var u=o.get(l[s],t),c=!isNaN(u),p=u<r[0],d=u>r[1];if(c&&!p&&!d)return!0;c&&(i=!0),p&&(e=!0),d&&(n=!0)}return i&&e&&n}))}else MR(a,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return function(t){return t>=r[0]&&t<=r[1]}(t)?t:NaN})));else{var a={};a[n]=r,e.selectRange(a)}}));MR(a,(function(t){e.setApproximateExtent(r,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;MR(["min","max"],(function(a){var i=e.get(a+"Span"),r=e.get(a+"ValueSpan");null!=r&&(r=this.getAxisModel().axis.scale.parse(r)),null!=r?i=ja(n[0]+r,n,[0,100],!0):null!=i&&(r=ja(i,[0,100],n,!0)-n[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=r}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var a=ti(n,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(a)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(a)),i.freeze()}},t}(),CR={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(a,i){var r=t.getComponent(mR(a),i);e(a,i,r,n)}))}))}e((function(t,e,n,a){n.__dzAxisProxy=null}));var n=[];e((function(e,a,i,r){i.__dzAxisProxy||(i.__dzAxisProxy=new TR(e,a,r,t),n.push(i.__dzAxisProxy))}));var a=pt();return z(n,(function(t){z(t.getTargetSeriesModels(),(function(t){a.set(t.uid,t)}))})),a},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,a){t.getAxisProxy(n,a).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),a=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:a[0],endValue:a[1]})}}))}},DR=!1;function AR(t){DR||(DR=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,CR),function(t){t.registerAction("dataZoom",(function(t,e){z(yR(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 LR(t){t.registerComponentModel(wR),t.registerComponentView(SR),AR(t)}var PR=function(){},zR={};function OR(t,e){zR[t]=e}function RR(t){return zR[t]}var NR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;z(this.option.feature,(function(t,n){var a=RR(n);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(e)),S(t,a.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,zlevel:0,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Qp);function ER(t,e){var n=Ap(e.get("padding")),a=e.getItemStyle(["color","opacity"]);return a.fill=e.get("backgroundColor"),new cl({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:a,silent:!0,z2:-1})}var BR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,a){var i=this.group;if(i.removeAll(),t.get("show")){var r=+t.get("itemSize"),o=t.get("feature")||{},l=this._features||(this._features={}),s=[];z(o,(function(t,e){s.push(e)})),new Nv(this._featureNames||[],s).add(u).update(u).remove(F(u,null)).execute(),this._featureNames=s,function(t,e,n){var a=e.getBoxLayoutParams(),i=e.get("padding"),r={width:n.getWidth(),height:n.getHeight()},o=Xp(a,r,i);Yp(e.get("orient"),t,e.get("itemGap"),o.width,o.height),Zp(t,a,r,i)}(i,t,n),i.add(ER(i.getBoundingRect(),t)),i.eachChild((function(t){var e=t.__title,a=t.ensureState("emphasis"),o=a.textConfig||(a.textConfig={}),l=t.getTextContent(),s=l&&l.states.emphasis;if(s&&!H(s)&&e){var u=s.style||(s.style={}),c=ka(e,hl.makeFont(u)),p=t.x+i.x,d=!1;t.y+i.y+r+c.height>n.getHeight()&&(o.position="top",d=!0);var h=d?-5-c.height:r+8;p+c.width/2>n.getWidth()?(o.position=["100%",h],u.align="right"):p-c.width/2<0&&(o.position=[0,h],u.align="left")}}))}function u(u,c){var p,d=s[u],h=s[c],f=o[d],g=new Hc(f,t,t.ecModel);if(a&&null!=a.newTitle&&a.featureName===d&&(f.title=a.newTitle),d&&!h){if(function(t){return 0===t.indexOf("my")}(d))p={onclick:g.option.onclick,featureName:d};else{var m=RR(d);if(!m)return;p=new m}l[d]=p}else if(!(p=l[h]))return;p.uid=Uc("toolbox-feature"),p.model=g,p.ecModel=e,p.api=n;var y=p instanceof PR;d||!h?!g.get("show")||y&&p.unusable?y&&p.remove&&p.remove(e,n):(function(a,o,l){var s,u,c=a.getModel("iconStyle"),p=a.getModel(["emphasis","iconStyle"]),d=o instanceof PR&&o.getIcons?o.getIcons():a.get("icon"),h=a.get("title")||{};"string"==typeof d?(s={})[l]=d:s=d,"string"==typeof h?(u={})[l]=h:u=h;var f=a.iconPaths={};z(s,(function(l,s){var d=cc(l,{},{x:-r/2,y:-r/2,width:r,height:r});d.setStyle(c.getItemStyle()),d.ensureState("emphasis").style=p.getItemStyle();var h=new hl({style:{text:u[s],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null},ignore:!0});d.setTextContent(h),fc({el:d,componentModel:t,itemName:s,formatterParamsExtra:{title:u[s]}}),d.__title=u[s],d.on("mouseover",(function(){var e=p.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";h.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||n}),h.ignore=!t.get("showTitle"),Jl(this)})).on("mouseout",(function(){"emphasis"!==a.get(["iconStatus",s])&&Ql(this),h.hide()})),("emphasis"===a.get(["iconStatus",s])?Jl:Ql)(d),i.add(d),d.on("click",V(o.onclick,o,e,n,s)),f[s]=d}))}(g,p,d),g.setIconStatus=function(t,e){var n=this.option,a=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,a[t]&&("emphasis"===e?Jl:Ql)(a[t])},p instanceof PR&&p.render&&p.render(g,e,n,a)):y&&p.dispose&&p.dispose(e,n)}},e.prototype.updateView=function(t,e,n,a){z(this._features,(function(t){t instanceof PR&&t.updateView&&t.updateView(t.model,e,n,a)}))},e.prototype.remove=function(t,e){z(this._features,(function(n){n instanceof PR&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){z(this._features,(function(n){n instanceof PR&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Ff),VR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){var n=this.model,a=n.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),r=i?"svg":n.get("type",!0)||"png",l=e.getConnectedDataURL({type:r,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||!o.browser.newEdge&&(o.browser.ie||o.browser.edge))if(window.navigator.msSaveOrOpenBlob||i){var s=l.split(","),u=s[0].indexOf("base64")>-1,c=i?decodeURIComponent(s[1]):s[1];u&&(c=window.atob(c));var p=a+"."+r;if(window.navigator.msSaveOrOpenBlob){for(var d=c.length,h=new Uint8Array(d);d--;)h[d]=c.charCodeAt(d);var f=new Blob([h]);window.navigator.msSaveOrOpenBlob(f,p)}else{var g=document.createElement("iframe");document.body.appendChild(g);var m=g.contentWindow,y=m.document;y.open("image/svg+xml","replace"),y.write(c),y.close(),m.focus(),y.execCommand("SaveAs",!0,p),document.body.removeChild(g)}}else{var v=n.get("lang"),b='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(v&&v[0]||"")+'" /></body>',x=window.open();x.document.write(b),x.document.title=a}else{var _=document.createElement("a");_.download=a+"."+r,_.target="_blank",_.href=l;var w=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});_.dispatchEvent(w)}},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",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(PR);VR.prototype.unusable=!o.canvasSupported;var FR="__ec_magicType_stack__",GR=[["line","bar"],["stack"]],HR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return z(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 a=this.model,i=a.get(["seriesIndex",n]);if(WR[n]){var r,o={series:[]};z(GR,(function(t){D(t,n)>=0&&z(t,(function(t){a.setIconStatus(t,"normal")}))})),a.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},(function(t){var e=t.subType,i=t.id,r=WR[n](e,i,t,a);r&&(T(r,t.option),o.series.push(r));var l=t.coordinateSystem;if(l&&"cartesian2d"===l.type&&("line"===n||"bar"===n)){var s=l.getAxesByScale("ordinal")[0];if(s){var u=s.dim+"Axis",c=t.getReferringComponents(u,Ei).models[0].componentIndex;o[u]=o[u]||[];for(var p=0;p<=c;p++)o[u][c]=o[u][c]||{};o[u][c].boundaryGap="bar"===n}}}));var l=n;"stack"===n&&(r=S({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),"emphasis"!==a.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:o,newTitle:r,featureName:"magicType"})}},e}(PR),WR={line:function(t,e,n,a){if("bar"===t)return S({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","line"])||{},!0)},bar:function(t,e,n,a){if("line"===t)return S({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},a.get(["option","bar"])||{},!0)},stack:function(t,e,n,a){var i=n.get("stack")===FR;if("line"===t||"bar"===t)return a.setIconStatus("stack",i?"normal":"emphasis"),S({id:e,stack:i?"":FR},a.get(["option","stack"])||{},!0)}};wv({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var UR=new Array(60).join("-"),YR="\t";function XR(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var ZR=new RegExp("[\t]+","g");function jR(t,e){var n=t.split(new RegExp("\n*"+UR+"\n*","g")),a={series:[]};return z(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(YR)>=0)return!0}(t)){var i=function(t){for(var e=t.split(/\n+/g),n=[],a=O(XR(e.shift()).split(ZR),(function(t){return{name:t,data:[]}})),i=0;i<e.length;i++){var r=XR(e[i]).split(ZR);n.push(r.shift());for(var o=0;o<r.length;o++)a[o]&&(a[o].data[i]=r[o])}return{series:a,categories:n}}(t),r=e[n],o=r.axisDim+"Axis";r&&(a[o]=a[o]||[],a[o][r.axisIndex]={data:i.categories},a.series=a.series.concat(i.series))}else i=function(t){for(var e=t.split(/\n+/g),n=XR(e.shift()),a=[],i=0;i<e.length;i++){var r=XR(e[i]);if(r){var o=r.split(ZR),l="",s=void 0,u=!1;isNaN(o[0])?(u=!0,l=o[0],o=o.slice(1),a[i]={name:l,value:[]},s=a[i].value):s=a[i]=[];for(var c=0;c<o.length;c++)s.push(+o[c]);1===s.length&&(u?a[i].value=s[0]:a[i]=s[0])}}return{name:n,data:a}}(t),a.series.push(i)})),a}var qR=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){var n=e.getDom(),a=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;left:5px;top:5px;bottom:5px;right:5px;",i.style.backgroundColor=a.get("backgroundColor")||"#fff";var r=document.createElement("h4"),o=a.get("lang")||[];r.innerHTML=o[0]||a.get("title"),r.style.cssText="margin: 10px 20px;",r.style.color=a.get("textColor");var l=document.createElement("div"),s=document.createElement("textarea");l.style.cssText="display:block;width:100%;overflow:auto;";var u=a.get("optionToContent"),c=a.get("contentToOption"),p=function(t){var e,n,a,i=function(t){var e={},n=[],a=[];return t.eachRawSeries((function(t){var i=t.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(t);else{var r=i.getBaseAxis();if("category"===r.type){var o=r.dim+"_"+r.index;e[o]||(e[o]={categoryAxis:r,valueAxis:i.getOtherAxis(r),series:[]},a.push({axisDim:r.dim,axisIndex:r.index})),e[o].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:a}}(t);return{value:N([(n=i.seriesGroupByCategoryAxis,a=[],z(n,(function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,r=[" "].concat(O(t.series,(function(t){return t.name}))),o=[n.model.getCategories()];z(t.series,(function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(i),(function(t){return t})))}));for(var l=[r.join(YR)],s=0;s<o[0].length;s++){for(var u=[],c=0;c<o.length;c++)u.push(o[c][s]);l.push(u.join(YR))}a.push(l.join("\n"))})),a.join("\n\n"+UR+"\n\n")),(e=i.other,O(e,(function(t){var e=t.getRawData(),n=[t.name],a=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],r=e.getName(i),o=0;o<t-1;o++)a[o]=arguments[o];n.push((r?r+YR:"")+a.join(YR))})),n.join("\n")})).join("\n\n"+UR+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+UR+"\n\n"),meta:i.meta}}(t);if("function"==typeof u){var d=u(e.getOption());"string"==typeof d?l.innerHTML=d:q(d)&&l.appendChild(d)}else l.appendChild(s),s.readOnly=a.get("readOnly"),s.style.cssText="width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;",s.style.color=a.get("textColor"),s.style.borderColor=a.get("textareaBorderColor"),s.style.backgroundColor=a.get("textareaColor"),s.value=p.value;var h=p.meta,f=document.createElement("div");f.style.cssText="position:absolute;bottom:0;left:0;right:0;";var g="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),y=document.createElement("div");g+=";background-color:"+a.get("buttonColor"),g+=";color:"+a.get("buttonTextColor");var v=this;function b(){n.removeChild(i),v._dom=null}ee(m,"click",b),ee(y,"click",(function(){if(null==c&&null!=u||null!=c&&null==u)b();else{var t;try{t="function"==typeof c?c(l,e.getOption()):jR(s.value,h)}catch(t){throw b(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),b()}})),m.innerHTML=o[1],y.innerHTML=o[2],y.style.cssText=g,m.style.cssText=g,!a.get("readOnly")&&f.appendChild(y),f.appendChild(m),i.appendChild(r),i.appendChild(l),i.appendChild(f),l.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},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}(PR);function KR(t,e){return O(t,(function(t,n){var a=e&&e[n];if(X(a)&&!G(a)){X(t)&&!G(t)||(t={value:t});var i=null!=a.name&&null==t.name;return t=T(t,a),i&&delete t.name,t}return t}))}wv({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];z(t.newOption.series,(function(t){var a=e.getSeriesByName(t.name)[0];if(a){var i=a.get("data");n.push({name:t.name,data:KR(t.data,i)})}else n.push(I({type:"scatter"},t))})),e.mergeOption(T({series:n},t.newOption))}));var $R=z,JR=zi();function QR(t){var e=JR(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var tN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.onclick=function(t,e){!function(t){JR(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}(PR);wv({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var eN=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],nN=function(){function t(t,e,n){var a=this;this._targetInfoList=[];var i=iN(e,t);z(rN,(function(t,e){(!n||!n.include||D(n.include,e)>=0)&&t(i,a._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 a=sN[t.brushType](0,n,e);t.__rangeOffset={offset:cN[t.brushType](a.values,t.range,[1,1]),xyMinMax:a.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){z(t,(function(t){var a=this.findTargetInfo(t,e);a&&!0!==a&&z(a.coordSyses,(function(a){var i=sN[t.brushType](1,a,t.range,!0);n(t,i.values,a,e)}))}),this)},t.prototype.setInputRanges=function(t,e){z(t,(function(t){var n,a,i,r,o,l=this.findTargetInfo(t,e);if(t.range=t.range||[],l&&!0!==l){t.panelId=l.panelId;var s=sN[t.brushType](0,l.coordSys,t.coordRange),u=t.__rangeOffset;t.range=u?cN[t.brushType](s.values,u.offset,(n=s.xyMinMax,a=u.xyMinMax,i=dN(n),r=dN(a),o=[i[0]/r[0],i[1]/r[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):s.values}}),this)},t.prototype.makePanelOpts=function(t,e){return O(this._targetInfoList,(function(n){var a=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:uA(a),isTargetByCursor:pA(a,t,n.coordSysModel),getLinearBrushOtherExtent:cA(a)}}))},t.prototype.controlSeries=function(t,e,n){var a=this.findTargetInfo(t,n);return!0===a||a&&D(a.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,a=iN(e,t),i=0;i<n.length;i++){var r=n[i],o=t.panelId;if(o){if(r.panelId===o)return r}else for(var l=0;l<oN.length;l++)if(oN[l](a,r))return r}return!0},t}();function aN(t){return t[0]>t[1]&&t.reverse(),t}function iN(t,e){return Ri(t,e,{includeMainTypes:eN})}var rN={grid:function(t,e){var n=t.xAxisModels,a=t.yAxisModels,i=t.gridModels,r=pt(),o={},l={};(n||a||i)&&(z(n,(function(t){var e=t.axis.grid.model;r.set(e.id,e),o[e.id]=!0})),z(a,(function(t){var e=t.axis.grid.model;r.set(e.id,e),l[e.id]=!0})),z(i,(function(t){r.set(t.id,t),o[t.id]=!0,l[t.id]=!0})),r.each((function(t){var i=t.coordinateSystem,r=[];z(i.getCartesians(),(function(t,e){(D(n,t.getAxis("x").model)>=0||D(a,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:lN.grid,xAxisDeclared:o[t.id],yAxisDeclared:l[t.id]})})))},geo:function(t,e){z(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:lN.geo})}))}},oN=[function(t,e){var n=t.xAxisModel,a=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&a&&(i=a.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],lN={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(ac(t)),e}},sN={lineX:F(uN,0),lineY:F(uN,1),rect:function(t,e,n,a){var i=t?e.pointToData([n[0][0],n[1][0]],a):e.dataToPoint([n[0][0],n[1][0]],a),r=t?e.pointToData([n[0][1],n[1][1]],a):e.dataToPoint([n[0][1],n[1][1]],a),o=[aN([i[0],r[0]]),aN([i[1],r[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n,a){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:O(n,(function(n){var r=t?e.pointToData(n,a):e.dataToPoint(n,a);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r})),xyMinMax:i}}};function uN(t,e,n,a){var i=n.getAxis(["x","y"][t]),r=aN(O([0,1],(function(t){return e?i.coordToData(i.toLocalCoord(a[t]),!0):i.toGlobalCoord(i.dataToCoord(a[t]))}))),o=[];return o[t]=r,o[1-t]=[NaN,NaN],{values:r,xyMinMax:o}}var cN={lineX:F(pN,0),lineY:F(pN,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 O(t,(function(t,a){return[t[0]-n[0]*e[a][0],t[1]-n[1]*e[a][1]]}))}};function pN(t,e,n,a){return[e[0]-a[t]*n[0],e[1]-a[t]*n[1]]}function dN(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var hN,fN,gN=z,mN=xi+"toolbox-dataZoom_",yN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n,a){this._brushController||(this._brushController=new PD(n.getZr()),this._brushController.on("brush",V(this._onBrush,this)).mount()),function(t,e,n,a,i){var r=n._isZoomActive;a&&"takeGlobalCursor"===a.type&&(r="dataZoomSelect"===a.key&&a.dataZoomSelectActive),n._isZoomActive=r,t.setIconStatus("zoom",r?"emphasis":"normal");var o=new nN(bN(t),e,{include:["grid"]}).makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(o).enableBrush(!(!r||!o.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,a,n),function(t,e){t.setIconStatus("back",function(t){return QR(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){vN[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={},a=this.ecModel;this._brushController.updateCovers([]),new nN(bN(this.model),a,{include:["grid"]}).matchOutputRanges(e,a,(function(t,e,n){if("cartesian2d"===n.type){var a=t.brushType;"rect"===a?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[a],n,e)}})),function(t,e){var n=QR(t);$R(e,(function(e,a){for(var i=n.length-1;i>=0&&!n[i][a];i--);if(i<0){var r=t.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(r){var o=r.getPercentRange();n[0][a]={dataZoomId:a,start:o[0],end:o[1]}}}})),n.push(e)}(a,n),this._dispatchZoomAction(n)}function i(t,e,i){var r=e.getAxis(t),o=r.model,l=function(t,e,n){var a;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(a=n)})),a}(t,o,a),s=l.findRepresentativeAxisProxy(o).getMinMaxSpan();null==s.minValueSpan&&null==s.maxValueSpan||(i=lD(0,i.slice(),r.scale.getExtent(),0,s.minValueSpan,s.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:i[0],endValue:i[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];gN(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}(PR),vN={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=QR(t),n=e[e.length-1];e.length>1&&e.pop();var a={};return $R(n,(function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){a[n]=t;break}})),a}(this.ecModel))}};function bN(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}hN="dataZoom",fN=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var a=e.getModel(n),i=[],r=Ri(t,bN(a));return gN(r.xAxisModels,(function(t){return o(t,"xAxis","xAxisIndex")})),gN(r.yAxisModels,(function(t){return o(t,"yAxis","yAxisIndex")})),i}function o(t,e,n){var r=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:a.get("filterMode",!0)||"filter",id:mN+e+r};o[n]=r,i.push(o)}},rt(null==Sd.get(hN)&&fN),Sd.set(hN,fN);var xN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={zlevel:0,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}(Qp);function _N(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function wN(t){if(o.domSupported)for(var e=document.documentElement.style,n=0,a=t.length;n<a;n++)if(t[n]in e)return t[n]}var kN=wN(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function SN(t,e){if(!t)return e;e=Dp(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var MN=SN(wN(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),IN=SN(kN,"transform"),TN="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(o.transform3dSupported?"will-change:transform;":"");function CN(t,e,n){var a=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!o.transformSupported)return n?"top:"+i+";left:"+a+";":[["top",i],["left",a]];var r=o.transform3dSupported,l="translate"+(r?"3d":"")+"("+a+","+i+(r?",0":"")+")";return n?"top:0;left:0;"+IN+":"+l+";":[["top",0],["left",0],[kN,l]]}function DN(t,e,n){var a=[],i=t.get("transitionDuration"),r=t.get("backgroundColor"),l=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),p=t.getModel("textStyle"),d=Tf(t,"html"),h=u+"px "+c+"px "+l+"px "+s;return a.push("box-shadow:"+h),e&&i&&a.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",a=" "+t/2+"s "+n,i="opacity"+a+",visibility"+a;return e||(a=" "+t+"s "+n,i+=o.transformSupported?","+IN+a:",left"+a+",top"+a),MN+":"+i}(i,n)),r&&(o.canvasSupported?a.push("background-color:"+r):(a.push("background-color:#"+Xe(r)),a.push("filter:alpha(opacity=70)"))),z(["width","color","radius"],(function(e){var n="border-"+e,i=Dp(n),r=t.get(i);null!=r&&a.push(n+":"+r+("color"===e?"":"px"))})),a.push(function(t){var e=[],n=t.get("fontSize"),a=t.getTextColor();a&&e.push("color:"+a),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var i=t.get("textShadowColor"),r=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return i&&r&&e.push("text-shadow:"+o+"px "+l+"px "+r+"px "+i),z(["decoration","align"],(function(n){var a=t.get(n);a&&e.push("text-"+n+":"+a)})),e.join(";")}(p)),null!=d&&a.push("padding:"+Ap(d).join("px ")+"px"),a.join(";")+";"}function AN(t,e,n,a,i){var r=e&&e.painter;if(n){var o=r&&r.getViewportRoot();o&&function(t,e,n,a,i){Xt(Yt,e,a,i,!0)&&Xt(t,n,Yt[0],Yt[1])}(t,o,document.body,a,i)}else{t[0]=a,t[1]=i;var l=r&&r.getViewportRootOffset();l&&(t[0]+=l.offsetLeft,t[1]+=l.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var LN=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow=!0,this._longHide=!0,o.wxa)return null;var a=document.createElement("div");a.domBelongToZr=!0,this.el=a;var i=this._zr=e.getZr(),r=this._appendToBody=n&&n.appendToBody;AN(this._styleCoord,i,r,e.getWidth()/2,e.getHeight()/2),r?document.body.appendChild(a):t.appendChild(a),this._container=t;var l=this;a.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},a.onmousemove=function(t){if(t=t||window.event,!l._enterable){var e=i.handler;te(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},a.onmouseleave=function(){l._inContent=!1,l._enterable&&l._show&&l.hideLater(l._hideDelay)}}return t.prototype.update=function(t){var e,n,a,i=this._container,r=(n="position",(a=(e=i).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n?a[n]:a:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative"),t.get("alwaysShowContent")&&this._moveIfResized(),this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,a=n.style,i=this._styleCoord;n.innerHTML?a.cssText=TN+DN(t,!this._firstShow,this._longHide)+CN(i[0],i[1],!0)+"border-color:"+Vp(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,a,i){var r=this.el;if(null!=t){var o="";if(W(i)&&"item"===n.get("trigger")&&!_N(n)&&(o=function(t,e,n){if(!W(n)||"inside"===n)return"";var a=t.get("backgroundColor"),i=t.get("borderWidth");e=Vp(e);var r,o,l="left"===(r=n)?"right":"right"===r?"left":"top"===r?"bottom":"top",s=Math.max(1.5*Math.round(i),6),u="",c=IN+":";D(["left","right"],l)>-1?(u+="top:50%",c+="translateY(-50%) rotate("+(o="left"===l?-225:-45)+"deg)"):(u+="left:50%",c+="translateX(-50%) rotate("+(o="top"===l?225:45)+"deg)");var p=o*Math.PI/180,d=s+i,h=d*Math.abs(Math.cos(p))+d*Math.abs(Math.sin(p)),f=e+" solid "+i+"px;";return'<div style="'+["position:absolute;width:"+s+"px;height:"+s+"px;",(u+=";"+l+":-"+Math.round(100*((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-d)/2))/100+"px")+";"+c+";","border-bottom:"+f,"border-right:"+f,"background-color:"+a+";"].join("")+'"></div>'}(n,a,i)),W(t))r.innerHTML=t+o;else if(t){r.innerHTML="",G(t)||(t=[t]);for(var l=0;l<t.length;l++)q(t[l])&&t[l].parentNode!==r&&r.appendChild(t[l]);if(o&&r.childNodes.length){var s=document.createElement("div");s.innerHTML=o,r.appendChild(s)}}}else r.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(AN(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var a=this.el.style;z(CN(n[0],n[1]),(function(t){a[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",o.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||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(V(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}(),PN=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._zr=t.getZr(),RN(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){t.get("alwaysShowContent")&&this._moveIfResized()},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,a,i){X(t)&&vi(""),this.el&&this._zr.remove(this.el);var r=n.getModel("textStyle");this.el=new hl({style:{rich:e.richTextStyles,text:t,lineHeight:22,backgroundColor:n.get("backgroundColor"),borderRadius:n.get("borderRadius"),borderWidth:1,borderColor:a,shadowColor:n.get("shadowColor"),shadowBlur:n.get("shadowBlur"),shadowOffsetX:n.get("shadowOffsetX"),shadowOffsetY:n.get("shadowOffsetY"),textShadowColor:r.get("textShadowColor"),textShadowBlur:r.get("textShadowBlur")||0,textShadowOffsetX:r.get("textShadowOffsetX")||0,textShadowOffsetY:r.get("textShadowOffsetY")||0,fill:n.get(["textStyle","color"]),padding:Tf(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),this._zr.add(this.el);var o=this;this.el.on("mouseover",(function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0})),this.el.on("mouseout",(function(){o._enterable&&o._show&&o.hideLater(o._hideDelay),o._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=ON(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 a=this._styleCoord;RN(a,this._zr,t,e),t=a[0],e=a[1];var i=n.style,r=zN(i.borderWidth||0),o=ON(i);n.x=t+r+o.left,n.y=e+r+o.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||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(V(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function zN(t){return Math.max(0,t)}function ON(t){var e=zN(t.shadowBlur||0),n=zN(t.shadowOffsetX||0),a=zN(t.shadowOffsetY||0);return{left:zN(e-n),right:zN(e+n),top:zN(e-a),bottom:zN(e+a)}}function RN(t,e,n,a){t[0]=n,t[1]=a,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var NN=V,EN=z,BN=qa,VN=new cl({shape:{x:-1,y:-1,width:2,height:2}}),FN=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){if(!o.node){var n,a=t.getComponent("tooltip"),i=a.get("renderMode");this._renderMode="auto"===(n=i)?o.domSupported?"html":"richText":n||"html",this._tooltipContent="richText"===this._renderMode?new PN(e):new LN(e.getDom(),e,{appendToBody:a.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!o.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n,this._alwaysShowContent=t.get("alwaysShowContent");var a=this._tooltipContent;a.update(t),a.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),this._updatePosition="html"===this._renderMode?Qf(NN(this._doUpdatePosition,this),50):this._doUpdatePosition}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");Wz("itemTooltip",this._api,NN((function(e,n,a){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,a):"leave"===e&&this._hide(a))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&a.manuallyShowTip(t,e,n,{x:a._lastX,y:a._lastY,dataByCoordSys:a._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,a){if(a.from!==this.uid&&!o.node){var i=HN(a,n);this._ticket="";var r=a.dataByCoordSys,l=function(t,e,n){var a=Ni(t).queryOptionMap,i=a.keys()[0];if(i&&"series"!==i){var r,o=Vi(e,i,a.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(o)return n.getViewOfComponentModel(o).group.traverse((function(e){var n=wl(e).tooltipConfig;if(n&&n.name===t.name)return r=e,!0})),r?{componentMainType:i,componentIndex:o.componentIndex,el:r}:void 0}}(a,e,n);if(l){var s=l.el.getBoundingRect().clone();s.applyTransform(l.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:l.el,position:a.position,positionDefault:"bottom"},i)}else if(a.tooltip&&null!=a.x&&null!=a.y){var u=VN;u.x=a.x,u.y=a.y,u.update(),wl(u).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:u},i)}else if(r)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:r,tooltipOption:a.tooltipOption},i);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,a))return;var c=jz(a,e),p=c.point[0],d=c.point[1];null!=p&&null!=d&&this._tryShow({offsetX:p,offsetY:d,target:c.el,position:a.position,positionDefault:"bottom"},i)}else null!=a.x&&null!=a.y&&(n.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:n.getZr().findHover(a.x,a.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,a){var i=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(HN(a,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,a){var i=a.seriesIndex,r=a.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=r&&null!=o){var l=e.getSeriesByIndex(i);if(l&&"axis"===GN([l.getData().getItemModel(r),l,(l.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:r,position:a.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var a=t.dataByCoordSys;if(a&&a.length)this._showAxisTooltip(a,t);else if(n){var i,r;this._lastDataByCoordSys=null,Fg(n,(function(t){return null!=wl(t).dataIndex?(i=t,!0):null!=wl(t).tooltipConfig?(r=t,!0):void 0}),!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=V(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,a=this._tooltipModel,i=[e.offsetX,e.offsetY],r=GN([e.tooltipOption],a),o=this._renderMode,l=[],s=bf("section",{blocks:[],noHeader:!0}),u=[],c=new Cf;EN(t,(function(t){EN(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),a=t.value;if(e&&null!=a){var i=Az(a,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),r=bf("section",{header:i,noHeader:!ot(i),sortBlocks:!0,blocks:[]});s.blocks.push(r),z(t.seriesDataIndices,(function(s){var p=n.getSeriesByIndex(s.seriesIndex),d=s.dataIndexInside,h=p.getDataParams(d);if(!(h.dataIndex<0)){h.axisDim=t.axisDim,h.axisIndex=t.axisIndex,h.axisType=t.axisType,h.axisId=t.axisId,h.axisValue=mx(e.axis,{value:a}),h.axisValueLabel=i,h.marker=c.makeTooltipMarker("item",Vp(h.color),o);var f=Rh(p.formatTooltip(d,!0,null));f.markupFragment&&r.blocks.push(f.markupFragment),f.markupText&&u.push(f.markupText),l.push(h)}}))}}))})),s.blocks.reverse(),u.reverse();var p=e.position,d=r.get("order"),h=wf(s,c,o,d,n.get("useUTC"),r.get("textStyle"));h&&u.unshift(h);var f="richText"===o?"\n\n":"<br/>",g=u.join(f);this._showOrMove(r,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(r,p,i[0],i[1],this._tooltipContent,l):this._showTooltipContent(r,g,l,Math.random()+"",i[0],i[1],p,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var a=this._ecModel,i=wl(e),r=i.seriesIndex,o=a.getSeriesByIndex(r),l=i.dataModel||o,s=i.dataIndex,u=i.dataType,c=l.getData(u),p=this._renderMode,d=t.positionDefault,h=GN([c.getItemModel(s),l,o&&(o.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),f=h.get("trigger");if(null==f||"item"===f){var g=l.getDataParams(s,u),m=new Cf;g.marker=m.makeTooltipMarker("item",Vp(g.color),p);var y=Rh(l.formatTooltip(s,!1,u)),v=h.get("order"),b=y.markupFragment?wf(y.markupFragment,m,p,v,a.get("useUTC"),h.get("textStyle")):y.markupText,x="item_"+l.name+"_"+s;this._showOrMove(h,(function(){this._showTooltipContent(h,b,g,x,t.offsetX,t.offsetY,t.position,t.target,m)})),n({type:"showTip",dataIndexInside:s,dataIndex:c.getRawIndex(s),seriesIndex:r,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var a=wl(e),i=a.tooltipConfig.option||{};W(i)&&(i={content:i,formatter:i});var r=[i],o=this._ecModel.getComponent(a.componentMainType,a.componentIndex);o&&r.push(o),r.push({formatter:i.content});var l=t.positionDefault,s=GN(r,this._tooltipModel,l?{position:l}:null),u=s.get("content"),c=Math.random()+"",p=new Cf;this._showOrMove(s,(function(){var n=k(s.get("formatterParams")||{});this._showTooltipContent(s,u,n,c,t.offsetX,t.offsetY,t.position,e,p)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,a,i,r,o,l,s){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,c=t.get("formatter");o=o||t.get("position");var p=e,d=this._getNearestPoint([i,r],n,t.get("trigger"),t.get("borderColor")).color;if(c)if(W(c)){var h=t.ecModel.get("useUTC"),f=G(n)?n[0]:n;p=c,f&&f.axisType&&f.axisType.indexOf("time")>=0&&(p=pp(f.axisValue,p,h)),p=Ep(p,n,!0)}else if(H(c)){var g=NN((function(e,a){e===this._ticket&&(u.setContent(a,s,t,d,o),this._updatePosition(t,o,i,r,u,n,l))}),this);this._ticket=a,p=c(n,a,g)}else p=c;u.setContent(p,s,t,d,o),u.show(t,d),this._updatePosition(t,o,i,r,u,n,l)}},e.prototype._getNearestPoint=function(t,e,n,a){return"axis"===n||G(e)?{color:a||("html"===this._renderMode?"#fff":"none")}:G(e)?void 0:{color:a||e.color||e.borderColor}},e.prototype._doUpdatePosition=function(t,e,n,a,i,r,o){var l=this._api.getWidth(),s=this._api.getHeight();e=e||t.get("position");var u=i.getSize(),c=t.get("align"),p=t.get("verticalAlign"),d=o&&o.getBoundingRect().clone();if(o&&d.applyTransform(o.transform),H(e)&&(e=e([n,a],r,i.el,d,{viewSize:[l,s],contentSize:u.slice()})),G(e))n=BN(e[0],l),a=BN(e[1],s);else if(X(e)){var h=e;h.width=u[0],h.height=u[1];var f=Xp(h,{width:l,height:s});n=f.x,a=f.y,c=null,p=null}else if(W(e)&&o){var g=function(t,e,n,a){var i=n[0],r=n[1],o=Math.ceil(Math.SQRT2*a)+8,l=0,s=0,u=e.width,c=e.height;switch(t){case"inside":l=e.x+u/2-i/2,s=e.y+c/2-r/2;break;case"top":l=e.x+u/2-i/2,s=e.y-r-o;break;case"bottom":l=e.x+u/2-i/2,s=e.y+c+o;break;case"left":l=e.x-i-o,s=e.y+c/2-r/2;break;case"right":l=e.x+u+o,s=e.y+c/2-r/2}return[l,s]}(e,d,u,t.get("borderWidth"));n=g[0],a=g[1]}else g=function(t,e,n,a,i,r,o){var l=n.getSize(),s=l[0],u=l[1];return null!=r&&(t+s+r+2>a?t-=s+r:t+=r),null!=o&&(e+u+o>i?e-=u+o:e+=o),[t,e]}(n,a,i,l,s,c?null:20,p?null:20),n=g[0],a=g[1];c&&(n-=WN(c)?u[0]/2:"right"===c?u[0]:0),p&&(a-=WN(p)?u[1]/2:"bottom"===p?u[1]:0),_N(t)&&(g=function(t,e,n,a,i){var r=n.getSize(),o=r[0],l=r[1];return t=Math.min(t+o,a)-o,e=Math.min(e+l,i)-l,[t=Math.max(t,0),e=Math.max(e,0)]}(n,a,i,l,s),n=g[0],a=g[1]),i.moveTo(n,a)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,a=this._cbParamsList,i=!!n&&n.length===t.length;return i&&EN(n,(function(n,r){var o=n.dataByAxis||[],l=(t[r]||{}).dataByAxis||[];(i=i&&o.length===l.length)&&EN(o,(function(t,n){var r=l[n]||{},o=t.seriesDataIndices||[],s=r.seriesDataIndices||[];(i=i&&t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&o.length===s.length)&&EN(o,(function(t,e){var n=s[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),a&&z(t.seriesDataIndices,(function(t){var n=t.seriesIndex,r=e[n],o=a[n];r&&o&&o.data!==r.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){o.node||(this._tooltipContent.dispose(),Xz("itemTooltip",e))},e.type="tooltip",e}(Ff);function GN(t,e,n){var a,i=e.ecModel;n?(a=new Hc(n,i,i),a=new Hc(e.option,a,i)):a=e;for(var r=t.length-1;r>=0;r--){var o=t[r];o&&(o instanceof Hc&&(o=o.get("tooltip",!0)),W(o)&&(o={formatter:o}),o&&(a=new Hc(o,a,i)))}return a}function HN(t,e){return t.dispatchAction||V(e.dispatchAction,e)}function WN(t){return"center"===t||"middle"===t}var UN=["rect","polygon","keep","clear"];function YN(t,e){var n=_i(t?t.brush:[]);if(n.length){var a=[];z(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(a=a.concat(e))}));var i=t&&t.toolbox;G(i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var r=i.feature||(i.feature={}),o=r.brush||(r.brush={}),l=o.type||(o.type=[]);l.push.apply(l,a),function(t){var e={};z(t,(function(t){e[t]=1})),t.length=0,z(e,(function(e,n){t.push(n)}))}(l),e&&!l.length&&l.push.apply(l,UN)}}var XN=z;function ZN(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function jN(t,e,n){var a={};return XN(e,(function(e){var i,r=a[e]=((i=function(){}).prototype.__hidden=i.prototype,new i);XN(t[e],(function(t,a){if(eT.isValidType(a)){var i={type:a,visual:t};n&&n(i,e),r[a]=new eT(i),"opacity"===a&&((i=k(i)).type="colorAlpha",r.__hidden.__alphaForOpacity=new eT(i))}}))})),a}function qN(t,e,n){var a;z(n,(function(t){e.hasOwnProperty(t)&&ZN(e[t])&&(a=!0)})),a&&z(n,(function(n){e.hasOwnProperty(n)&&ZN(e[n])?t[n]=k(e[n]):delete t[n]}))}var KN={lineX:$N(0),lineY:$N(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])&&Km(n.range,t[0],t[1])},rect:function(t,e,n){var a=n.range;if(!t||a.length<=1)return!1;var i=t.x,r=t.y,o=t.width,l=t.height,s=a[0];return!!(Km(a,i,r)||Km(a,i+o,r)||Km(a,i,r+l)||Km(a,i+o,r+l)||ya.create(t).contain(s[0],s[1])||pc(i,r,i+o,r,a)||pc(i,r,i,r+l,a)||pc(i+o,r,i+o,r+l,a)||pc(i,r+l,i+o,r+l,a))||void 0}}};function $N(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,a){if(e){var i=a.range;return JN(e[t],i)}},rect:function(a,i,r){if(a){var o=r.range,l=[a[e[t]],a[e[t]]+a[n[t]]];return l[1]<l[0]&&l.reverse(),JN(l[0],o)||JN(l[1],o)||JN(o[0],l)||JN(o[1],l)}}}}function JN(t,e){return e[0]<=t&&t<=e[1]}var QN=["inBrush","outOfBrush"],tE="__ecBrushSelect",eE="__ecInBrushSelectEvent";function nE(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new nN(e.option,t)).setInputRanges(e.areas,t)}))}function aE(t,e,n){var a,i,r=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),nE(t),t.eachComponent({mainType:"brush"},(function(e,n){var o={brushId:e.id,brushIndex:n,brushName:e.name,areas:k(e.areas),selected:[]};r.push(o);var l=e.option,s=l.brushLink,u=[],c=[],p=[],d=!1;n||(a=l.throttleType,i=l.throttleDelay);var h=O(e.areas,(function(t){var e=oE[t.brushType],n=T({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(a){return KN[e].point(a,n,t)},rect:function(a){return KN[e].rect(a,n,t)}};return n}(n),n})),f=jN(e.option,QN,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===s||!!u[t]}function m(t){return!!t.length}G(s)&&z(s,(function(t){u[t]=1})),t.eachSeries((function(n,a){var i=p[a]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;d=d||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(c[e]=1)}))}(n,a):function(n,a,i){if(n.brushSelector&&!function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(G(n)?D(n,e)<0:e!==n)}(e,a)&&(z(h,(function(a){e.brushTargetManager.controlSeries(a,n,t)&&i.push(a),d=d||m(i)})),g(a)&&m(i))){var r=n.getData();r.each((function(t){rE(n,i,r,t)&&(c[t]=1)}))}}(n,a,i)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};o.selected.push(n);var a=p[e],i=t.getData(),r=g(e)?function(t){return c[t]?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return rE(t,a,i,e)?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?d:m(a))&&function(t,e,n,a,i,r){var o,l={};function s(t){return Rg(n,o,t)}function u(t,e){Eg(n,o,t,e)}function c(t,c){o=null==r?t:c;var p=n.getRawDataItem(o);if(!p||!1!==p.visualMap)for(var d=a.call(i,t),h=e[d],f=l[d],g=0,m=f.length;g<m;g++){var y=f[g];h[y]&&h[y].applyVisual(t,s,u)}}z(t,(function(t){var n=eT.prepareVisualTypes(e[t]);l[t]=n})),null==r?n.each(c):n.each([r],c)}(QN,f,i,r)}))})),function(t,e,n,a,i){if(i){var r=t.getZr();r[eE]||(r.__ecBrushSelect||(r.__ecBrushSelect=iE),tg(r,tE,n,e)(t,a))}}(e,a,i,r,n)}function iE(t,e){if(!t.isDisposed()){var n=t.getZr();n[eE]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[eE]=!1}}function rE(t,e,n,a){for(var i=0,r=e.length;i<r;i++){var o=e[i];if(t.brushSelector(a,n,o.selectors,o))return!0}}var oE={rect:function(t){return lE(t.range)},polygon:function(t){for(var e,n=t.range,a=0,i=n.length;a<i;a++){e=e||[[1/0,-1/0],[1/0,-1/0]];var r=n[a];r[0]<e[0][0]&&(e[0][0]=r[0]),r[0]>e[0][1]&&(e[0][1]=r[0]),r[1]<e[1][0]&&(e[1][0]=r[1]),r[1]>e[1][1]&&(e[1][1]=r[1])}return e&&lE(e)}};function lE(t){return new ya(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var sE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new PD(e.getZr())).on("brush",V(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,a){this.model=t,this._updateController(t,e,n,a)},e.prototype.updateTransform=function(t,e,n,a){nE(e),this._updateController(t,e,n,a)},e.prototype.updateVisual=function(t,e,n,a){this.updateTransform(t,e,n,a)},e.prototype.updateView=function(t,e,n,a){this._updateController(t,e,n,a)},e.prototype._updateController=function(t,e,n,a){(!a||a.$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}(Ff),uE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return n(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&qN(n,t,["inBrush","outOfBrush"]);var a=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},a.hasOwnProperty("liftZ")||(a.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=O(t,(function(t){return cE(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=cE(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}(Qp);function cE(t,e){return S({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new Hc(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var pE=["rect","polygon","lineX","lineY","keep","clear"],dE=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return n(e,t),e.prototype.render=function(t,e,n){var a,i,r;e.eachComponent({mainType:"brush"},(function(t){a=t.brushType,i=t.brushOption.brushMode||"single",r=r||!!t.areas.length})),this._brushType=a,this._brushMode=i,z(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===i:"clear"===e?r:e===a)?"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 z(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var a=this._brushType,i=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?a:a!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},e.getDefaultOption=function(t){return{show:!0,type:pE.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}(PR),hE=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 n(e,t),e.type="title",e.defaultOption={zlevel:0,z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Qp),fE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var a=this.group,i=t.getModel("textStyle"),r=t.getModel("subtextStyle"),o=t.get("textAlign"),l=et(t.get("textBaseline"),t.get("textVerticalAlign")),s=new hl({style:_c(i,{text:t.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),u=s.getBoundingRect(),c=t.get("subtext"),p=new hl({style:_c(r,{text:c,fill:r.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),d=t.get("link"),h=t.get("sublink"),f=t.get("triggerEvent",!0);s.silent=!d&&!f,p.silent=!h&&!f,d&&s.on("click",(function(){Fp(d,"_"+t.get("target"))})),h&&p.on("click",(function(){Fp(h,"_"+t.get("subtarget"))})),wl(s).eventData=wl(p).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(s),c&&a.add(p);var g=a.getBoundingRect(),m=t.getBoxLayoutParams();m.width=g.width,m.height=g.height;var y=Xp(m,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));o||("middle"===(o=t.get("left")||t.get("right"))&&(o="center"),"right"===o?y.x+=y.width:"center"===o&&(y.x+=y.width/2)),l||("center"===(l=t.get("top")||t.get("bottom"))&&(l="middle"),"bottom"===l?y.y+=y.height:"middle"===l&&(y.y+=y.height/2),l=l||"top"),a.x=y.x,a.y=y.y,a.markRedraw();var v={align:o,verticalAlign:l};s.setStyle(v),p.setStyle(v),g=a.getBoundingRect();var b=y.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var _=new cl({shape:{x:g.x-b[3],y:g.y-b[0],width:g.width+b[1]+b[3],height:g.height+b[0]+b[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});a.add(_)}},e.type="title",e}(Ff),gE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return n(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||[],a=e.axisType,i=this._names=[];"category"===a?(t=[],z(n,(function(e,n){var a,r=Di(Si(e),"");X(e)?(a=k(e)).value=n:a=n,t.push(a),i.push(r)}))):t=n;var r={category:"ordinal",time:"time",value:"number"}[a]||"number";(this._data=new ob([{name:"value",type:r}],this)).initData(t,i)},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={zlevel:0,z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Qp),mE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline.slider",e.defaultOption=Yc(gE.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}(gE);L(mE,Oh.prototype);var yE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="timeline",e}(Ff),vE=function(t){function e(e,n,a,i){var r=t.call(this,e,n,a)||this;return r.type=i||"value",r}return n(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(Fx),bE=Math.PI,xE=zi(),_E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(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 a=this._layout(t,n),i=this._createGroup("_mainGroup"),r=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(a,t);t.formatTooltip=function(t){return bf("nameValue",{noName:!0,value:o.scale.getLabel({value:t})})},z(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](a,i,o,t)}),this),this._renderAxisLabel(a,r,o,t),this._position(a,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,a,i,r,o=t.get(["label","position"]),l=t.get("orient"),s=function(t,e){return Xp(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),u={horizontal:"center",vertical:(n=null==o||"auto"===o?"horizontal"===l?s.y+s.height/2<e.getHeight()/2?"-":"+":s.x+s.width/2<e.getWidth()/2?"+":"-":W(o)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[l][o]:o)>=0||"+"===n?"left":"right"},c={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},p={horizontal:0,vertical:bE/2},d="vertical"===l?s.height:s.width,h=t.getModel("controlStyle"),f=h.get("show",!0),g=f?h.get("itemSize"):0,m=f?h.get("itemGap"):0,y=g+m,v=t.get(["label","rotate"])||0;v=v*bE/180;var b=h.get("position",!0),x=f&&h.get("showPlayBtn",!0),_=f&&h.get("showPrevBtn",!0),w=f&&h.get("showNextBtn",!0),k=0,S=d;"left"===b||"bottom"===b?(x&&(a=[0,0],k+=y),_&&(i=[k,0],k+=y),w&&(r=[S-g,0],S-=y)):(x&&(a=[S-g,0],S-=y),_&&(i=[0,0],k+=y),w&&(r=[S-g,0],S-=y));var M=[k,S];return t.get("inverse")&&M.reverse(),{viewRect:s,mainLength:d,orient:l,rotation:p[l],labelRotation:v,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[l],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||c[l],playPosition:a,prevBtnPosition:i,nextBtnPosition:r,axisExtent:M,controlSize:g,controlGap:m}},e.prototype._position=function(t,e){var n=this._mainGroup,a=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var r=[1,0,0,1,0,0],o=i.x,l=i.y+i.height;Yn(r,r,[-o,-l]),Xn(r,r,-bE/2),Yn(r,r,[o,l]),(i=i.clone()).applyTransform(r)}var s=m(i),u=m(n.getBoundingRect()),c=m(a.getBoundingRect()),p=[n.x,n.y],d=[a.x,a.y];d[0]=p[0]=s[0][0];var h,f=t.labelPosOpt;function g(t){t.originX=s[0][0]-t.x,t.originY=s[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function y(t,e,n,a,i){t[a]+=n[a][i]-e[a][i]}null==f||W(f)?(y(p,u,s,1,h="+"===f?0:1),y(d,c,s,1,1-h)):(y(p,u,s,1,h=f>=0?0:1),d[1]=p[1]+f),n.setPosition(p),a.setPosition(d),n.rotation=a.rotation=t.rotation,g(n),g(a)},e.prototype._createAxis=function(t,e){var n=e.getData(),a=e.get("axisType"),i=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new Tb({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new Wb({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Db}}(e,a);i.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var r=n.getDataExtent("value");i.setExtent(r[0],r[1]),i.niceTicks();var o=new vE("value",i,t.axisExtent,a);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new Va;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,a){var i=n.getExtent();if(a.get(["lineStyle","show"])){var r=new gu({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:I({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(r);var o=this._progressLine=new gu({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:T({lineCap:"round",lineWidth:r.style.lineWidth},a.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(o)}},e.prototype._renderAxisTick=function(t,e,n,a){var i=this,r=a.getData(),o=n.scale.getTicks();this._tickSymbols=[],z(o,(function(t){var o=n.dataToCoord(t.value),l=r.getItemModel(t.value),s=l.getModel("itemStyle"),u=l.getModel(["emphasis","itemStyle"]),c=l.getModel(["progress","itemStyle"]),p={x:o,y:0,onclick:V(i._changeTimeline,i,t.value)},d=wE(l,s,e,p);d.ensureState("emphasis").style=u.getItemStyle(),d.ensureState("progress").style=c.getItemStyle(),ps(d);var h=wl(d);l.get("tooltip")?(h.dataIndex=t.value,h.dataModel=a):h.dataIndex=h.dataModel=null,i._tickSymbols.push(d)}))},e.prototype._renderAxisLabel=function(t,e,n,a){var i=this;if(n.getLabelModel().get("show")){var r=a.getData(),o=n.getViewLabels();this._tickLabels=[],z(o,(function(a){var o=a.tickValue,l=r.getItemModel(o),s=l.getModel("label"),u=l.getModel(["emphasis","label"]),c=l.getModel(["progress","label"]),p=n.dataToCoord(a.tickValue),d=new hl({x:p,y:0,rotation:t.labelRotation-t.rotation,onclick:V(i._changeTimeline,i,o),silent:!1,style:_c(s,{text:a.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});d.ensureState("emphasis").style=_c(u),d.ensureState("progress").style=_c(c),e.add(d),ps(d),xE(d).dataIndex=o,i._tickLabels.push(d)}))}},e.prototype._renderControl=function(t,e,n,a){var i=t.controlSize,r=t.rotation,o=a.getModel("controlStyle").getItemStyle(),l=a.getModel(["emphasis","controlStyle"]).getItemStyle(),s=a.getPlayState(),u=a.get("inverse",!0);function c(t,n,s,u){if(t){var c=Ta(et(a.get(["controlStyle",n+"BtnSize"]),i),i),p=function(t,e,n,a){var i=a.style,r=cc(t.get(["controlStyle",e]),a||{},new ya(n[0],n[1],n[2],n[3]));return i&&r.setStyle(i),r}(a,n+"Icon",[0,-c/2,c,c],{x:t[0],y:t[1],originX:i/2,originY:0,rotation:u?-r:0,rectHover:!0,style:o,onclick:s});p.ensureState("emphasis").style=l,e.add(p),ps(p)}}c(t.nextBtnPosition,"next",V(this._changeTimeline,this,u?"-":"+")),c(t.prevBtnPosition,"prev",V(this._changeTimeline,this,u?"+":"-")),c(t.playPosition,s?"stop":"play",V(this._handlePlayClick,this,!s),!0)},e.prototype._renderCurrentPointer=function(t,e,n,a){var i=a.getData(),r=a.getCurrentIndex(),o=i.getItemModel(r).getModel("checkpointStyle"),l=this,s={onCreate:function(t){t.draggable=!0,t.drift=V(l._handlePointerDrag,l),t.ondragend=V(l._handlePointerDragend,l),kE(t,l._progressLine,r,n,a,!0)},onUpdate:function(t){kE(t,l._progressLine,r,n,a)}};this._currentPointer=wE(o,o,this._mainGroup,{},this._currentPointer,s)},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],a=$a(this._axis.getExtent().slice());n>a[1]&&(n=a[1]),n<a[0]&&(n=a[0]),this._currentPointer.x=n,this._currentPointer.markRedraw(),this._progressLine.shape.x2=n,this._progressLine.dirty();var i=this._findNearestTick(n),r=this.model;(e||i!==r.getCurrentIndex()&&r.get("realtime"))&&this._changeTimeline(i)},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 ic(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),a=1/0,i=this._axis;return n.each(["value"],(function(n,r){var o=i.dataToCoord(n),l=Math.abs(o-t);l<a&&(a=l,e=r)})),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 a=0;a<e.length;a++)e&&e[a]&&e[a].toggleState("progress",a<t);if(n)for(a=0;a<n.length;a++)n&&n[a]&&n[a].toggleState("progress",xE(n[a]).dataIndex<=t)},e.type="timeline.slider",e}(yE);function wE(t,e,n,a,i,r){var o=e.get("color");i?(i.setColor(o),n.add(i),r&&r.onUpdate(i)):((i=Jg(t.get("symbol"),-1,-1,2,2,o)).setStyle("strokeNoScale",!0),n.add(i),r&&r.onCreate(i));var l=e.getItemStyle(["color"]);i.setStyle(l),a=S({rectHover:!0,z2:100},a,!0);var s=Qg(t.get("symbolSize"));a.scaleX=s[0]/2,a.scaleY=s[1]/2;var u=tm(t.get("symbolOffset"),s);u&&(a.x=(a.x||0)+u[0],a.y=(a.y||0)+u[1]);var c=t.get("symbolRotate");return a.rotation=(c||0)*Math.PI/180||0,i.attr(a),i.updateTransform(),i}function kE(t,e,n,a,i,r){if(!t.dragging){var o=i.getModel("checkpointStyle"),l=a.dataToCoord(i.getData().get("value",n));if(r||!o.get("animation",!0))t.attr({x:l,y:0}),e&&e.attr({shape:{x2:l}});else{var s={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:l,y:0},s),e&&e.animateTo({shape:{x2:l}},s)}}}function SE(t){var e=t&&t.timeline;G(e)||(e=e?[e]:[]),z(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),ME(t),IE(t,"controlPosition")){var a=t.controlStyle||(t.controlStyle={});IE(a,"position")||(a.position=t.controlPosition),"none"!==a.position||IE(a,"show")||(a.show=!1,delete a.position),delete t.controlPosition}z(t.data||[],(function(t){X(t)&&!G(t)&&(!IE(t,"value")&&IE(t,"name")&&(t.value=t.name),ME(t))}))}(t)}))}function ME(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),a=t.label||t.label||{},i=a.normal||(a.normal={}),r={normal:1,emphasis:1};z(a,(function(t,e){r[e]||IE(i,e)||(i[e]=t)})),n.label&&!IE(a,"emphasis")&&(a.emphasis=n.label,delete n.label)}function IE(t,e){return t.hasOwnProperty(e)}function TE(t,e){if(!t)return!1;for(var n=G(t)?t:[t],a=0;a<n.length;a++)if(n[a]&&n[a][e])return!0;return!1}function CE(t){wi(t,"label",["show"])}var DE=zi(),AE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(o.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,a){var i=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),r=DE(t)[i];n&&n.data?(r?r._mergeOption(n,e,!0):(a&&CE(n),z(n.data,(function(t){t instanceof Array?(CE(t[0]),CE(t[1])):CE(t)})),I(r=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),r.__hostSeries=t),DE(t)[i]=r):DE(t)[i]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var a=this.getData(),i=this.getRawValue(t),r=a.getName(t);return bf("section",{header:this.name,blocks:[bf("nameValue",{name:r,value:i,noName:!r,noValue:null==i})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return DE(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Qp);L(AE,Oh.prototype);var LE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markPoint",e.defaultOption={zlevel:0,z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(AE);function PE(t,e,n,a,i,r){var o=[],l=hb(e,a)?e.getCalculationInfo("stackResultDimension"):a,s=BE(e,l,t),u=e.indicesOfNearest(l,s)[0];o[i]=e.get(n,u),o[r]=e.get(l,u);var c=e.get(a,u),p=Ja(e.get(a,u));return(p=Math.min(p,20))>=0&&(o[r]=+o[r].toFixed(p)),[o,c]}var zE={min:F(PE,"min"),max:F(PE,"max"),average:F(PE,"average"),median:F(PE,"median")};function OE(t,e){var n=t.getData(),a=t.coordinateSystem;if(e&&!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!G(e.coord)&&a){var i=a.dimensions,r=RE(e,n,a,t);if((e=k(e)).type&&zE[e.type]&&r.baseAxis&&r.valueAxis){var o=D(i,r.baseAxis.dim),l=D(i,r.valueAxis.dim),s=zE[e.type](n,r.baseDataDim,r.valueDataDim,o,l);e.coord=s[0],e.value=s[1]}else{for(var u=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis],c=0;c<2;c++)zE[u[c]]&&(u[c]=BE(n,n.mapDimension(i[c]),u[c]));e.coord=u}}return e}function RE(t,e,n,a){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(a,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=a.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function NE(t,e){return!(t&&t.containData&&e.coord&&!function(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}(e))||t.containData(e.coord)}function EE(t,e){return t?function(t,n,a,i){return Vh(i<2?t.coord&&t.coord[i]:t.value,e[i])}:function(t,n,a,i){return Vh(t.value,e[i])}}function BE(t,e,n){if("average"===n){var a=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(a+=t,i++)})),a/i}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var VE=zi(),FE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.init=function(){this.markerGroupMap=pt()},e.prototype.render=function(t,e,n){var a=this,i=this.markerGroupMap;i.each((function(t){VE(t).keep=!1})),e.eachSeries((function(t){var i=AE.getMarkerModelFromSeries(t,a.type);i&&a.renderSeries(t,i,e,n)})),i.each((function(t){!VE(t).keep&&a.group.remove(t.group)}))},e.prototype.markKeep=function(t){VE(t).keep=!0},e.prototype.blurSeries=function(t){var e=this;z(t,(function(t){var n=AE.getMarkerModelFromSeries(t,e.type);n&&n.getData().eachItemGraphicEl((function(t){t&&ts(t)}))}))},e.type="marker",e}(Ff);function GE(t,e,n){var a=e.coordinateSystem;t.each((function(i){var r,o=t.getItemModel(i),l=qa(o.get("x"),n.getWidth()),s=qa(o.get("y"),n.getHeight());if(isNaN(l)||isNaN(s)){if(e.getMarkerPosition)r=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(a){var u=t.get(a.dimensions[0],i),c=t.get(a.dimensions[1],i);r=a.dataToPoint([u,c])}}else r=[l,s];isNaN(l)||(r[0]=l),isNaN(s)||(r[1]=s),t.setItemLayout(i,r)}))}var HE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=AE.getMarkerModelFromSeries(t,"markPoint");e&&(GE(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,a){var i=t.coordinateSystem,r=t.id,o=t.getData(),l=this.markerGroupMap,s=l.get(r)||l.set(r,new zw),u=function(t,e,n){var a;a=t?O(t&&t.dimensions,(function(t){return I(I({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new ob(a,n),r=O(n.get("data"),F(OE,e));t&&(r=N(r,F(NE,t)));var o=EE(!!t,a);return i.initData(r,null,o),i}(i,t,e);e.setData(u),GE(e.getData(),t,a),u.each((function(t){var n=u.getItemModel(t),a=n.getShallow("symbol"),i=n.getShallow("symbolSize"),r=n.getShallow("symbolRotate"),l=n.getShallow("symbolOffset"),s=n.getShallow("symbolKeepAspect");if(H(a)||H(i)||H(r)||H(l)){var c=e.getRawValue(t),p=e.getDataParams(t);H(a)&&(a=a(c,p)),H(i)&&(i=i(c,p)),H(r)&&(r=r(c,p)),H(l)&&(l=l(c,p))}var d=n.getModel("itemStyle").getItemStyle(),h=Ng(o,"color");d.fill||(d.fill=h),u.setItemVisual(t,{symbol:a,symbolSize:i,symbolRotate:r,symbolOffset:l,symbolKeepAspect:s,style:d})})),s.updateData(u),this.group.add(s.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){wl(t).dataModel=e}))})),this.markKeep(s),s.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(FE),WE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markLine",e.defaultOption={zlevel:0,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}(AE),UE=zi(),YE=function(t,e,n,a){var i,r=t.getData();if(G(a))i=a;else{var o=a.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=a.xAxis||null!=a.yAxis){var l=void 0,s=void 0;if(null!=a.yAxis||null!=a.xAxis)l=e.getAxis(null!=a.yAxis?"y":"x"),s=tt(a.yAxis,a.xAxis);else{var u=RE(a,r,e,t);l=u.valueAxis,s=BE(r,fb(r,u.valueDataDim),o)}var c="x"===l.dim?0:1,p=1-c,d=k(a),h={coord:[]};d.type=null,d.coord=[],d.coord[p]=-1/0,h.coord[p]=1/0;var f=n.get("precision");f>=0&&"number"==typeof s&&(s=+s.toFixed(Math.min(f,20))),d.coord[c]=h.coord[c]=s,i=[d,h,{type:o,valueIndex:a.valueIndex,value:s}]}else i=[]}var g=[OE(t,i[0]),OE(t,i[1]),I({},i[2])];return g[2].type=g[2].type||null,S(g[2],g[0]),S(g[2],g[1]),g};function XE(t){return!isNaN(t)&&!isFinite(t)}function ZE(t,e,n,a){var i=1-t,r=a.dimensions[t];return XE(e[i])&&XE(n[i])&&e[t]===n[t]&&a.getAxis(r).containData(e[t])}function jE(t,e){if("cartesian2d"===t.type){var n=e[0].coord,a=e[1].coord;if(n&&a&&(ZE(1,n,a,t)||ZE(0,n,a,t)))return!0}return NE(t,e[0])&&NE(t,e[1])}function qE(t,e,n,a,i){var r,o=a.coordinateSystem,l=t.getItemModel(e),s=qa(l.get("x"),i.getWidth()),u=qa(l.get("y"),i.getHeight());if(isNaN(s)||isNaN(u)){if(a.getMarkerPosition)r=a.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=o.dimensions,p=t.get(c[0],e),d=t.get(c[1],e);r=o.dataToPoint([p,d])}if(Kw(o,"cartesian2d")){var h=o.getAxis("x"),f=o.getAxis("y");c=o.dimensions,XE(t.get(c[0],e))?r[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):XE(t.get(c[1],e))&&(r[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(s)||(r[0]=s),isNaN(u)||(r[1]=u)}else r=[s,u];t.setItemLayout(e,r)}var KE=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=AE.getMarkerModelFromSeries(t,"markLine");if(e){var a=e.getData(),i=UE(e).from,r=UE(e).to;i.each((function(e){qE(i,e,!0,t,n),qE(r,e,!1,t,n)})),a.each((function(t){a.setItemLayout(t,[i.getItemLayout(t),r.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,a){var i=t.coordinateSystem,r=t.id,o=t.getData(),l=this.markerGroupMap,s=l.get(r)||l.set(r,new hC);this.group.add(s.group);var u=function(t,e,n){var a;a=t?O(t&&t.dimensions,(function(t){return I(I({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new ob(a,n),r=new ob(a,n),o=new ob([],n),l=O(n.get("data"),F(YE,e,t,n));t&&(l=N(l,F(jE,t)));var s=EE(!!t,a);return i.initData(O(l,(function(t){return t[0]})),null,s),r.initData(O(l,(function(t){return t[1]})),null,s),o.initData(O(l,(function(t){return t[2]}))),o.hasItemOption=!0,{from:i,to:r,line:o}}(i,t,e),c=u.from,p=u.to,d=u.line;UE(e).from=c,UE(e).to=p,e.setData(d);var h=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),m=e.get("symbolOffset");function y(e,n,i){var r=e.getItemModel(n);qE(e,n,i,t,a);var l=r.getModel("itemStyle").getItemStyle();null==l.fill&&(l.fill=Ng(o,"color")),e.setItemVisual(n,{symbolKeepAspect:r.get("symbolKeepAspect"),symbolOffset:et(r.get("symbolOffset",!0),m[i?0:1]),symbolRotate:et(r.get("symbolRotate",!0),g[i?0:1]),symbolSize:et(r.get("symbolSize"),f[i?0:1]),symbol:et(r.get("symbol",!0),h[i?0:1]),style:l})}G(h)||(h=[h,h]),G(f)||(f=[f,f]),G(g)||(g=[g,g]),G(m)||(m=[m,m]),u.from.each((function(t){y(c,t,!0),y(p,t,!1)})),d.each((function(t){var e=d.getItemModel(t).getModel("lineStyle").getLineStyle();d.setItemLayout(t,[c.getItemLayout(t),p.getItemLayout(t)]),null==e.stroke&&(e.stroke=c.getItemVisual(t,"style").fill),d.setItemVisual(t,{fromSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:c.getItemVisual(t,"symbolOffset"),fromSymbolRotate:c.getItemVisual(t,"symbolRotate"),fromSymbolSize:c.getItemVisual(t,"symbolSize"),fromSymbol:c.getItemVisual(t,"symbol"),toSymbolKeepAspect:p.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:p.getItemVisual(t,"symbolOffset"),toSymbolRotate:p.getItemVisual(t,"symbolRotate"),toSymbolSize:p.getItemVisual(t,"symbolSize"),toSymbol:p.getItemVisual(t,"symbol"),style:e})})),s.updateData(d),u.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){wl(t).dataModel=e}))})),this.markKeep(s),s.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(FE),$E=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,a){return new e(t,n,a)},e.type="markArea",e.defaultOption={zlevel:0,z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(AE),JE=zi(),QE=function(t,e,n,a){var i=OE(t,a[0]),r=OE(t,a[1]),o=i.coord,l=r.coord;o[0]=tt(o[0],-1/0),o[1]=tt(o[1],-1/0),l[0]=tt(l[0],1/0),l[1]=tt(l[1],1/0);var s=M([{},i,r]);return s.coord=[i.coord,r.coord],s.x0=i.x,s.y0=i.y,s.x1=r.x,s.y1=r.y,s};function tB(t){return!isNaN(t)&&!isFinite(t)}function eB(t,e,n,a){var i=1-t;return tB(e[i])&&tB(n[i])}function nB(t,e){var n=e.coord[0],a=e.coord[1];return!!(Kw(t,"cartesian2d")&&n&&a&&(eB(1,n,a)||eB(0,n,a)))||NE(t,{coord:n,x:e.x0,y:e.y0})||NE(t,{coord:a,x:e.x1,y:e.y1})}function aB(t,e,n,a,i){var r,o=a.coordinateSystem,l=t.getItemModel(e),s=qa(l.get(n[0]),i.getWidth()),u=qa(l.get(n[1]),i.getHeight());if(isNaN(s)||isNaN(u)){if(a.getMarkerPosition)r=a.getMarkerPosition(t.getValues(n,e));else{var c=[h=t.get(n[0],e),f=t.get(n[1],e)];o.clampData&&o.clampData(c,c),r=o.dataToPoint(c,!0)}if(Kw(o,"cartesian2d")){var p=o.getAxis("x"),d=o.getAxis("y"),h=t.get(n[0],e),f=t.get(n[1],e);tB(h)?r[0]=p.toGlobalCoord(p.getExtent()["x0"===n[0]?0:1]):tB(f)&&(r[1]=d.toGlobalCoord(d.getExtent()["y0"===n[1]?0:1]))}isNaN(s)||(r[0]=s),isNaN(u)||(r[1]=u)}else r=[s,u];return r}var iB=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],rB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=AE.getMarkerModelFromSeries(t,"markArea");if(e){var a=e.getData();a.each((function(e){var i=O(iB,(function(i){return aB(a,e,i,t,n)}));a.setItemLayout(e,i),a.getItemGraphicEl(e).setShape("points",i)}))}}),this)},e.prototype.renderSeries=function(t,e,n,a){var i=t.coordinateSystem,r=t.id,o=t.getData(),l=this.markerGroupMap,s=l.get(r)||l.set(r,{group:new Va});this.group.add(s.group),this.markKeep(s);var u=function(t,e,n){var a,i,r=["x0","y0","x1","y1"];if(t){var o=O(t&&t.dimensions,(function(t){var n=e.getData();return I(I({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));i=O(r,(function(t,e){return{name:t,type:o[e%2].type}})),a=new ob(i,n)}else a=new ob(i=[{name:"value",type:"float"}],n);var l=O(n.get("data"),F(QE,e,t,n));t&&(l=N(l,F(nB,t)));var s=t?function(t,e,n,a){return Vh(t.coord[Math.floor(a/2)][a%2],i[a])}:function(t,e,n,a){return Vh(t.value,i[a])};return a.initData(l,null,s),a.hasItemOption=!0,a}(i,t,e);e.setData(u),u.each((function(e){var n=O(iB,(function(n){return aB(u,e,n,t,a)})),r=i.getAxis("x").scale,l=i.getAxis("y").scale,s=r.getExtent(),c=l.getExtent(),p=[r.parse(u.get("x0",e)),r.parse(u.get("x1",e))],d=[l.parse(u.get("y0",e)),l.parse(u.get("y1",e))];$a(p),$a(d);var h=!!(s[0]>p[1]||s[1]<p[0]||c[0]>d[1]||c[1]<d[0]);u.setItemLayout(e,{points:n,allClipped:h});var f=u.getItemModel(e).getModel("itemStyle").getItemStyle(),g=Ng(o,"color");f.fill||(f.fill=g,"string"==typeof f.fill&&(f.fill=Je(f.fill,.4))),f.stroke||(f.stroke=g),u.setItemVisual(e,"style",f)})),u.diff(JE(s).data).add((function(t){var e=u.getItemLayout(t);if(!e.allClipped){var n=new cu({shape:{points:e.points}});u.setItemGraphicEl(t,n),s.group.add(n)}})).update((function(t,n){var a=JE(s).data.getItemGraphicEl(n),i=u.getItemLayout(t);i.allClipped?a&&s.group.remove(a):(a?Nu(a,{shape:{points:i.points}},e,t):a=new cu({shape:{points:i.points}}),u.setItemGraphicEl(t,a),s.group.add(a))})).remove((function(t){var e=JE(s).data.getItemGraphicEl(t);s.group.remove(e)})).execute(),u.eachItemGraphicEl((function(t,n){var a=u.getItemModel(n),i=u.getItemVisual(n,"style");t.useStyle(u.getItemVisual(n,"style")),bc(t,xc(a),{labelFetcher:e,labelDataIndex:n,defaultText:u.getName(n)||"",inheritColor:"string"==typeof i.fill?Je(i.fill,1):"#000"}),gs(t,a),ps(t),wl(t).dataModel=e})),JE(s).data=u,s.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(FE),oB=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 n(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"]),G(e)&&z(e,(function(t,a){W(t)&&(t={type:t}),e[a]=S(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 a=t[n].get("name");if(this.isSelected(a)){this.select(a),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(a){var i,r=a.name;if(n.push(r),a.legendVisualProvider){var o=a.legendVisualProvider.getAllNames();t.isSeriesFiltered(a)||(n=n.concat(o)),o.length?e=e.concat(o):i=!0}else i=!0;i&&Ai(a)&&e.push(a.name)})),this._availableNames=n;var a=O(this.get("data")||e,(function(t){return"string"!=typeof t&&"number"!=typeof t||(t={name:t}),new Hc(t,this,this.ecModel)}),this);this._data=a},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&z(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;z(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;z(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])&&D(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={zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,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}(Qp),lB=F,sB=z,uB=Va,cB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return n(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new uB),this.group.add(this._selectorGroup=new uB),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 a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var i=t.get("align"),r=t.get("orient");i&&"auto"!==i||(i="right"===t.get("left")&&"vertical"===r?"right":"left");var o=t.get("selector",!0),l=t.get("selectorPosition",!0);!o||l&&"auto"!==l||(l="horizontal"===r?"end":"start"),this.renderInner(i,t,e,n,o,r,l);var s=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),p=Xp(s,u,c),d=this.layoutInner(t,i,p,a,o,l),h=Xp(T({width:d.width,height:d.height},s),u,c);this.group.x=h.x-d.x,this.group.y=h.y-d.y,this.group.markRedraw(),this.group.add(this._backgroundEl=ER(d,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,a,i,r,o){var l=this.getContentGroup(),s=pt(),u=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),sB(e.getData(),(function(i,r){var o=i.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var p=new uB;return p.newline=!0,void l.add(p)}var d=n.getSeriesByName(o)[0];if(!s.get(o))if(d){var h=d.getData(),f=h.getVisual("legendLineStyle")||{},g=h.getVisual("legendIcon"),m=h.getVisual("style");this._createItem(d,o,r,i,e,t,f,m,g,u).on("click",lB(pB,o,null,a,c)).on("mouseover",lB(hB,d.name,null,a,c)).on("mouseout",lB(fB,d.name,null,a,c)),s.set(o,!0)}else n.eachRawSeries((function(n){if(!s.get(o)&&n.legendVisualProvider){var l=n.legendVisualProvider;if(!l.containName(o))return;var p=l.indexOfName(o),d=l.getItemVisual(p,"style"),h=l.getItemVisual(p,"legendIcon"),f=We(d.fill);f&&0===f[3]&&(f[3]=.2,d.fill=Qe(f,"rgba")),this._createItem(n,o,r,i,e,t,{},d,h,u).on("click",lB(pB,null,o,a,c)).on("mouseover",lB(hB,null,o,a,c)).on("mouseout",lB(fB,null,o,a,c)),s.set(o,!0)}}),this)}),this),i&&this._createSelector(i,e,a,r,o)},e.prototype._createSelector=function(t,e,n,a,i){var r=this.getSelectorGroup();sB(t,(function(t){var a=t.type,i=new hl({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===a?"legendAllSelect":"legendInverseSelect"})}});r.add(i),bc(i,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),ps(i)}))},e.prototype._createItem=function(t,e,n,a,i,r,o,l,s,u){var c=t.visualDrawType,p=i.get("itemWidth"),d=i.get("itemHeight"),h=i.isSelected(e),f=a.get("symbolRotate"),g=a.get("symbolKeepAspect"),m=a.get("icon"),y=function(t,e,n,a,i,r){function o(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),sB(t,(function(n,a){"inherit"===t[a]&&(t[a]=e[a])}))}var l=e.getModel("itemStyle").getItemStyle(),s=0===t.lastIndexOf("empty",0)?"fill":"stroke";l.decal=a.decal,"inherit"===l.fill&&(l.fill=a[i]),"inherit"===l.stroke&&(l.stroke=a[s]),"inherit"===l.opacity&&(l.opacity=("fill"===i?a:n).opacity),o(l,a);var u=e.getModel("lineStyle"),c=u.getLineStyle();if(o(c,n),"auto"===l.fill&&(l.fill=a.fill),"auto"===l.stroke&&(l.stroke=a.fill),"auto"===c.stroke&&(c.stroke=a.fill),!r){var p=e.get("inactiveBorderWidth"),d=l[s];l.lineWidth="auto"===p?a.lineWidth>0&&d?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),c.stroke=u.get("inactiveColor"),c.lineWidth=u.get("inactiveWidth")}return{itemStyle:l,lineStyle:c}}(s=m||s||"roundRect",a,o,l,c,h),v=new uB,b=a.getModel("textStyle");if("function"!=typeof t.getLegendIcon||m&&"inherit"!==m){var x="inherit"===m&&t.getData().getVisual("symbol")?"inherit"===f?t.getData().getVisual("symbolRotate"):f:0;v.add(function(t){var e=t.icon||"roundRect",n=Jg(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return 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),n}({itemWidth:p,itemHeight:d,icon:s,iconRotate:x,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}))}else v.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:s,iconRotate:f,itemStyle:y.itemStyle,lineStyle:y.lineStyle,symbolKeepAspect:g}));var _="left"===r?p+5:-5,w=r,k=i.get("formatter"),S=e;"string"==typeof k&&k?S=k.replace("{name}",null!=e?e:""):"function"==typeof k&&(S=k(e));var M=a.get("inactiveColor");v.add(new hl({style:_c(b,{text:S,x:_,y:d/2,fill:h?b.getTextColor():M,align:w,verticalAlign:"middle"})}));var I=new cl({shape:v.getBoundingRect(),invisible:!0}),T=a.getModel("tooltip");return T.get("show")&&fc({el:I,componentModel:i,itemName:e,itemTooltipOption:T.option}),v.add(I),v.eachChild((function(t){t.silent=!0})),I.silent=!u,this.getContentGroup().add(v),ps(v),v.__legendDataIndex=n,v},e.prototype.layoutInner=function(t,e,n,a,i,r){var o=this.getContentGroup(),l=this.getSelectorGroup();Yp(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var s=o.getBoundingRect(),u=[-s.x,-s.y];if(l.markRedraw(),o.markRedraw(),i){Yp("horizontal",l,t.get("selectorItemGap",!0));var c=l.getBoundingRect(),p=[-c.x,-c.y],d=t.get("selectorButtonGap",!0),h=t.getOrient().index,f=0===h?"width":"height",g=0===h?"height":"width",m=0===h?"y":"x";"end"===r?p[h]+=s[f]+d:u[h]+=c[f]+d,p[1-h]+=s[g]/2-c[g]/2,l.x=p[0],l.y=p[1],o.x=u[0],o.y=u[1];var y={x:0,y:0};return y[f]=s[f]+d+c[f],y[g]=Math.max(s[g],c[g]),y[m]=Math.min(0,c[m]+p[1-h]),y}return o.x=u[0],o.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Ff);function pB(t,e,n,a){fB(t,e,n,a),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),hB(t,e,n,a)}function dB(t){for(var e,n=t.getZr().storage.getDisplayList(),a=0,i=n.length;a<i&&!(e=n[a].states.emphasis);)a++;return e&&e.hoverLayer}function hB(t,e,n,a){dB(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:a})}function fB(t,e,n,a){dB(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:a})}function gB(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 mB(t,e,n){var a,i={},r="toggleSelected"===t;return n.eachComponent("legend",(function(n){r&&null!=a?n[a?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),a=n.isSelected(e.name)),z(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var a=n.isSelected(e);i.hasOwnProperty(e)?i[e]=i[e]&&a:i[e]=a}}))})),"allSelect"===t||"inverseSelect"===t?{selected:i}:{name:e.name,selected:i}}function yB(t){t.registerComponentModel(oB),t.registerComponentView(cB),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,gB),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",F(mB,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",F(mB,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",F(mB,"inverseSelect")),t.registerAction("legendSelect","legendselected",F(mB,"select")),t.registerAction("legendUnSelect","legendunselected",F(mB,"unSelect"))}(t)}var vB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,a){var i=Kp(e);t.prototype.init.call(this,e,n,a),bB(this,e,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),bB(this,this.option,e)},e.type="legend.scroll",e.defaultOption=Yc(oB.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}(oB);function bB(t,e,n){var a=[1,1];a[t.getOrient().index]=0,qp(e,n,{type:"box",ignoreSize:!!a})}var xB=Va,_B=["width","height"],wB=["x","y"],kB=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 n(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new xB),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new xB)},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,a,i,r,o,l){var s=this;t.prototype.renderInner.call(this,e,n,a,i,r,o,l);var u=this._controllerGroup,c=n.get("pageIconSize",!0),p=G(c)?c:[c,c];h("pagePrev",0);var d=n.getModel("pageTextStyle");function h(t,e){var a=t+"DataIndex",r=cc(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:V(s._pageGo,s,a,n,i)},{x:-p[0]/2,y:-p[1]/2,width:p[0],height:p[1]});r.name=t,u.add(r)}u.add(new hl({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),h("pageNext",1)},e.prototype.layoutInner=function(t,e,n,a,i,r){var o=this.getSelectorGroup(),l=t.getOrient().index,s=_B[l],u=wB[l],c=_B[1-l],p=wB[1-l];i&&Yp("horizontal",o,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),h=o.getBoundingRect(),f=[-h.x,-h.y],g=k(n);i&&(g[s]=n[s]-h[s]-d);var m=this._layoutContentAndController(t,a,g,l,s,c,p,u);if(i){if("end"===r)f[l]+=m[s]+d;else{var y=h[s]+d;f[l]-=y,m[u]-=y}m[s]+=h[s]+d,f[1-l]+=m[p]+m[c]/2-h[c]/2,m[c]=Math.max(m[c],h[c]),m[p]=Math.min(m[p],h[p]+f[1-l]),o.x=f[0],o.y=f[1],o.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,a,i,r,o,l){var s=this.getContentGroup(),u=this._containerGroup,c=this._controllerGroup;Yp(t.get("orient"),s,t.get("itemGap"),a?n.width:null,a?null:n.height),Yp("horizontal",c,t.get("pageButtonItemGap",!0));var p=s.getBoundingRect(),d=c.getBoundingRect(),h=this._showController=p[i]>n[i],f=[-p.x,-p.y];e||(f[a]=s[l]);var g=[0,0],m=[-d.x,-d.y],y=et(t.get("pageButtonGap",!0),t.get("itemGap",!0));h&&("end"===t.get("pageButtonPosition",!0)?m[a]+=n[i]-d[i]:g[a]+=d[i]+y),m[1-a]+=p[r]/2-d[r]/2,s.setPosition(f),u.setPosition(g),c.setPosition(m);var v={x:0,y:0};if(v[i]=h?n[i]:p[i],v[r]=Math.max(p[r],d[r]),v[o]=Math.min(0,d[o]+m[1-a]),u.__rectSize=n[i],h){var b={x:0,y:0};b[i]=Math.max(n[i]-d[i]-y,0),b[r]=v[r],u.setClipPath(new cl({shape:b})),u.__rectSize=b[i]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var x=this._getPageInfo(t);return null!=x.pageIndex&&Nu(s,{x:x.contentPosition[0],y:x.contentPosition[1]},h?t:null),this._updatePageInfoView(t,x),v},e.prototype._pageGo=function(t,e,n){var a=this._getPageInfo(e)[t];null!=a&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;z(["pagePrev","pageNext"],(function(a){var i=null!=e[a+"DataIndex"],r=n.childOfName(a);r&&(r.setStyle("fill",i?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),r.cursor=i?"pointer":"default")}));var a=n.childOfName("pageText"),i=t.get("pageFormatter"),r=e.pageIndex,o=null!=r?r+1:0,l=e.pageCount;a&&i&&a.setStyle("text",W(i)?i.replace("{current}",null==o?"":o+"").replace("{total}",null==l?"":l+""):i({current:o,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),a=this._containerGroup.__rectSize,i=t.getOrient().index,r=_B[i],o=wB[i],l=this._findTargetItemIndex(e),s=n.children(),u=s[l],c=s.length,p=c?1:0,d={contentPosition:[n.x,n.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var h=v(u);d.contentPosition[i]=-h.s;for(var f=l+1,g=h,m=h,y=null;f<=c;++f)(!(y=v(s[f]))&&m.e>g.s+a||y&&!b(y,g.s))&&(g=m.i>g.i?m:y)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=g.i),++d.pageCount),m=y;for(f=l-1,g=h,m=h,y=null;f>=-1;--f)(y=v(s[f]))&&b(m,y.s)||!(g.i<m.i)||(m=g,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=g.i),++d.pageCount,++d.pageIndex),g=y;return d;function v(t){if(t){var e=t.getBoundingRect(),n=e[o]+t[o];return{s:n,e:n+e[r],i:t.__legendDataIndex}}}function b(t,e){return t.e>=e&&t.s<=e+a}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(a,i){var r=a.__legendDataIndex;null==n&&null!=r&&(n=i),r===t&&(e=i)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(cB);function SB(t){zv(yB),t.registerComponentModel(vB),t.registerComponentView(kB),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 MB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.inside",e.defaultOption=Yc(xR.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(xR),IB=zi();function TB(t,e,n){IB(t).coordSysRecordMap.each((function(t){var a=t.dataZoomInfoMap.get(e.uid);a&&(a.getRange=n)}))}function CB(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function DB(t,e){t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function AB(t,e,n,a){return t.coordinateSystem.containPoint([n,a])}function LB(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=IB(e),a=n.coordSysRecordMap||(n.coordSysRecordMap=pt());a.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){z(vR(t).infoList,(function(n){var i=n.model.uid,r=a.get(i)||a.set(i,function(t,e){var n={model:e,containsPoint:F(AB,e),dispatchAction:F(DB,t),dataZoomInfoMap:null,controller:null},a=n.controller=new gM(t.getZr());return z(["pan","zoom","scrollMove"],(function(t){a.on(t,(function(e){var a=[];n.dataZoomInfoMap.each((function(i){if(e.isAvailableBehavior(i.model.option)){var r=(i.getRange||{})[t],o=r&&r(i.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!i.model.get("disabled",!0)&&o&&a.push({dataZoomId:i.model.id,start:o[0],end:o[1]})}})),a.length&&n.dispatchAction(a)}))})),n}(e,n.model));(r.dataZoomInfoMap||(r.dataZoomInfoMap=pt())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),a.each((function(t){var e,n=t.controller,i=t.dataZoomInfoMap;if(i){var r=i.keys()[0];null!=r&&(e=i.get(r))}if(e){var o=function(t){var e,n="type_",a={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each((function(t){var r=t.model,o=!r.get("disabled",!0)&&(!r.get("zoomLock",!0)||"move");a[n+o]>a[n+e]&&(e=o),i=i&&r.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(i);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),tg(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else CB(a,t)}))}))}var PB=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return n(e,t),e.prototype.render=function(e,n,a){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),TB(a,e,{pan:V(zB.pan,this),zoom:V(zB.zoom,this),scrollMove:V(zB.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=IB(t).coordSysRecordMap,a=n.keys(),i=0;i<a.length;i++){var r=a[i],o=n.get(r),l=o.dataZoomInfoMap;if(l){var s=e.uid;l.get(s)&&(l.removeKey(s),l.keys().length||CB(n,o))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(kR),zB={zoom:function(t,e,n,a){var i=this.range,r=i.slice(),o=t.axisModels[0];if(o){var l=RB[e](null,[a.originX,a.originY],o,n,t),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(r[1]-r[0])+r[0],u=Math.max(1/a.scale,0);r[0]=(r[0]-s)*u+s,r[1]=(r[1]-s)*u+s;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return lD(0,r,[0,100],0,c.minSpan,c.maxSpan),this.range=r,i[0]!==r[0]||i[1]!==r[1]?r:void 0}},pan:OB((function(t,e,n,a,i,r){var o=RB[a]([r.oldX,r.oldY],[r.newX,r.newY],e,i,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:OB((function(t,e,n,a,i,r){return RB[a]([0,0],[r.scrollDelta,r.scrollDelta],e,i,n).signal*(t[1]-t[0])*r.scrollDelta}))};function OB(t){return function(e,n,a,i){var r=this.range,o=r.slice(),l=e.axisModels[0];if(l)return lD(t(o,l,e,n,a,i),o,[0,100],"all"),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}}var RB={grid:function(t,e,n,a,i){var r=n.axis,o={},l=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===r.dim?(o.pixel=e[0]-t[0],o.pixelLength=l.width,o.pixelStart=l.x,o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=l.height,o.pixelStart=l.y,o.signal=r.inverse?-1:1),o},polar:function(t,e,n,a,i){var r=n.axis,o={},l=i.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),u=l.getAngleAxis().getExtent();return t=t?l.pointToCoord(t):[0,0],e=l.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=s[1]-s[0],o.pixelStart=s[0],o.signal=r.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=r.inverse?-1:1),o},singleAxis:function(t,e,n,a,i){var r=n.axis,o=i.model.coordinateSystem.getRect(),l={};return t=t||[0,0],"horizontal"===r.orient?(l.pixel=e[0]-t[0],l.pixelLength=o.width,l.pixelStart=o.x,l.signal=r.inverse?1:-1):(l.pixel=e[1]-t[1],l.pixelLength=o.height,l.pixelStart=o.y,l.signal=r.inverse?-1:1),l}};function NB(t){AR(t),t.registerComponentModel(MB),t.registerComponentView(PB),LB(t)}var EB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Yc(xR.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:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(xR),BB=cl,VB="horizontal",FB="vertical",GB=["line","bar","candlestick","scatter"],HB={easing:"cubicOut",duration:100,delay:0},WB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return n(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=V(this._onBrush,this),this._onBrushEnd=V(this._onBrushEnd,this)},e.prototype.render=function(e,n,a,i){if(t.prototype.render.apply(this,arguments),tg(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.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(){var t,e,n;(n=(t=this)[e="_dispatchZoomAction"])&&n[Kf]&&(t[e]=n[Kf]);var a=this.api.getZr();a.off("mousemove",this._onBrush),a.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 Va;this._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,a=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},r=this._orient===VB?{right:i.width-a.x-a.width,top:i.height-30-7-n,width:a.width,height:30}:{right:7,top:a.y,width:30,height:a.height},o=Kp(t.option);z(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=r[t])}));var l=Xp(o,i);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===FB&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),i=a&&a.get("inverse"),r=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;r.attr(n!==VB||i?n===VB&&i?{scaleY:o?1:-1,scaleX:-1}:n!==FB||i?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var l=t.getBoundingRect([r]);t.x=e.x-l.x,t.y=e.y-l.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,a=t.get("brushSelect");n.add(new BB({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new BB({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:V(this._onClickPanel,this)}),r=this.api.getZr();a?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",r.on("mousemove",this._onBrush),r.on("mouseup",this._onBrushEnd)):(r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=t.series,a=n.getRawData(),i=n.getShadowDim?n.getShadowDim():t.otherDim;if(null!=i){var r=a.getDataExtent(i),o=.3*(r[1]-r[0]);r=[r[0]-o,r[1]+o];var l,s=[0,e[1]],u=[0,e[0]],c=[[e[0],0],[0,0]],p=[],d=u[1]/(a.count()-1),h=0,f=Math.round(a.count()/e[0]);a.each([i],(function(t,e){if(f>0&&e%f)h+=d;else{var n=null==t||isNaN(t)||""===t,a=n?0:ja(t,r,s,!0);n&&!l&&e?(c.push([c[c.length-1][0],0]),p.push([p[p.length-1][0],0])):!n&&l&&(c.push([h,0]),p.push([h,0])),c.push([h,a]),p.push([h,a]),h+=d,l=n}}));for(var g=this.dataZoomModel,m=0;m<3;m++){var y=v(1===m);this._displayables.sliderGroup.add(y),this._displayables.dataShadowSegs.push(y)}}}function v(t){var e=g.getModel(t?"selectedDataBackground":"dataBackground"),n=new Va,a=new cu({shape:{points:c},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new du({shape:{points:p},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(a),n.add(i),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,a=this.ecModel;return t.eachTargetAxis((function(i,r){z(t.getAxisProxy(i,r).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&D(GB,t.get("type"))<0)){var o,l=a.getComponent(mR(i),r).axis,s={x:"y",y:"x",radius:"angle",angle:"radius"}[i],u=t.coordinateSystem;null!=s&&u.getOtherAxis&&(o=u.getOtherAxis(l).inverse),s=t.getData().mapDimension(s),n={thisAxis:l,series:t,thisDim:i,otherDim:s,otherAxisInverse:o}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],a=e.handleLabels=[null,null],i=this._displayables.sliderGroup,r=this._size,o=this.dataZoomModel,l=this.api,s=o.get("borderRadius")||0,u=o.get("brushSelect"),c=e.filler=new BB({silent:u,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});i.add(c),i.add(new BB({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:r[0],height:r[1],r:s},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),z([0,1],(function(e){var r=o.get("handleIcon");!qg[r]&&r.indexOf("path://")<0&&r.indexOf("image://")<0&&(r="path://"+r);var l=Jg(r,-1,0,2,2,null,!0);l.attr({cursor:UB(this._orient),draggable:!0,drift:V(this._onDragMove,this,e),ondragend:V(this._onDragEnd,this),onmouseover:V(this._showDataInfo,this,!0),onmouseout:V(this._showDataInfo,this,!1),z2:5});var s=l.getBoundingRect(),u=o.get("handleSize");this._handleHeight=qa(u,this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,l.setStyle(o.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),ps(l);var c=o.get("handleColor");null!=c&&(l.style.fill=c),i.add(n[e]=l);var p=o.getModel("textStyle");t.add(a[e]=new hl({silent:!0,invisible:!0,style:_c(p,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:p.getTextColor(),font:p.getFont()}),z2:10}))}),this);var p=c;if(u){var d=qa(o.get("moveHandleSize"),r[1]),h=e.moveHandle=new cl({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:r[1]-.5,height:d}}),f=.8*d,g=e.moveHandleIcon=Jg(o.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=r[1]+d/2-.5,h.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var m=Math.min(r[1]/2,Math.max(d,10));(p=e.moveZone=new cl({invisible:!0,shape:{y:r[1]-m,height:d+m}})).on("mouseover",(function(){l.enterEmphasis(h)})).on("mouseout",(function(){l.leaveEmphasis(h)})),i.add(h),i.add(g),i.add(p)}p.attr({draggable:!0,cursor:UB(this._orient),drift:V(this._onDragMove,this,"all"),ondragstart:V(this._showDataInfo,this,!0),ondragend:V(this._onDragEnd,this),onmouseover:V(this._showDataInfo,this,!0),onmouseout:V(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[ja(t[0],[0,100],e,!0),ja(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,a=this._handleEnds,i=this._getViewExtent(),r=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];lD(e,a,i,n.get("zoomLock")?"all":t,null!=r.minSpan?ja(r.minSpan,o,i,!0):null,null!=r.maxSpan?ja(r.maxSpan,o,i,!0):null);var l=this._range,s=this._range=$a([ja(a[0],i,o,!0),ja(a[1],i,o,!0)]);return!l||l[0]!==s[0]||l[1]!==s[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,a=$a(n.slice()),i=this._size;z([0,1],(function(t){var a=e.handles[t],r=this._handleHeight;a.attr({scaleX:r/2,scaleY:r/2,x:n[t]+(t?-1:1),y:i[1]/2-r/2})}),this),e.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:i[1]});var r={x:a[0],width:a[1]-a[0]};e.moveHandle&&(e.moveHandle.setShape(r),e.moveZone.setShape(r),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",r.x+r.width/2));for(var o=e.dataShadowSegs,l=[0,a[0],a[1],i[0]],s=0;s<o.length;s++){var u=o[s],c=u.getClipPath();c||(c=new cl,u.setClipPath(c)),c.setShape({x:l[s],y:0,width:l[s+1]-l[s],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,a=n.handleLabels,i=this._orient,r=["",""];if(e.get("showDetail")){var o=e.findRepresentativeAxisProxy();if(o){var l=o.getAxisModel().axis,s=this._range,u=t?o.calculateDataWindow({start:s[0],end:s[1]}).valueWindow:o.getDataValueWindow();r=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var c=$a(this._handleEnds.slice());function p(t){var e=ac(n.handles[t].parent,this.group),o=rc(0===t?"right":"left",e),l=this._handleWidth/2+5,s=ic([c[t]+(0===t?-l:l),this._size[1]/2],e);a[t].setStyle({x:s[0],y:s[1],verticalAlign:i===VB?"middle":o,align:i===VB?o:"center",text:r[t]})}p.call(this,0),p.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,a=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=e.getPixelPrecision());var r=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return H(a)?a(t,r):W(a)?a.replace("{value}",r):r},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,a){this._dragging=!0,ne(a.event);var i=ic([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),r=this._updateInterval(t,i[0]),o=this.dataZoomModel.get("realtime");this._updateView(!o),r&&o&&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 a=this._handleEnds,i=(a[0]+a[1])/2,r=this._updateInterval("all",n[0]-i);this._updateView(),r&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new sa(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 a=this._getViewExtent(),i=[0,100];this._range=$a([ja(n.x,a,i,!0),ja(n.x+n.width,a,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ne(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,a=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new BB({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var r=this._brushStart,o=this._displayables.sliderGroup,l=o.transformCoordToLocal(t,e),s=o.transformCoordToLocal(r.x,r.y),u=this._size;l[0]=Math.max(Math.min(u[0],l[0]),0),i.setShape({x:s[0],y:0,width:l[0]-s[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?HB:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=vR(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var a=this.api.getWidth(),i=this.api.getHeight();t={x:.2*a,y:.2*i,width:.6*a,height:.6*i}}return t},e.type="dataZoom.slider",e}(kR);function UB(t){return"vertical"===t?"ns-resize":"ew-resize"}function YB(t){t.registerComponentModel(EB),t.registerComponentView(WB),AR(t)}var XB=function(t,e,n){var a=k((ZB[t]||{})[e]);return n&&G(a)?a[a.length-1]:a},ZB={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]}},jB=eT.mapVisual,qB=eT.eachVisual,KB=G,$B=z,JB=$a,QB=ja,tV=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 n(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;o.canvasSupported||(n.realtime=!1),!e&&qN(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=V(t,this),this.controllerVisuals=jN(this.option.controller,e,t),this.targetVisuals=jN(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=_i(t),e},e.prototype.eachTargetSeries=function(t,e){z(this.getTargetSeriesIndices(),(function(n){var a=this.ecModel.getSeriesByIndex(n);a&&t.call(e,a)}),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 a,i=this.option,r=i.precision,o=this.dataBound,l=i.formatter;n=n||["<",">"],G(t)&&(t=t.slice(),a=!0);var s=e?t:a?[u(t[0]),u(t[1])]:u(t);return W(l)?l.replace("{value}",a?s[0]:s).replace("{value2}",a?s[1]:s):H(l)?a?l(t[0],t[1]):l(t):a?t[0]===o[0]?n[0]+" "+s[1]:t[1]===o[1]?n[1]+" "+s[0]:s[0]+" - "+s[1]:s;function u(t){return t===o[0]?"min":t===o[1]?"max":(+t).toFixed(Math.min(r,20))}},e.prototype.resetExtent=function(){var t=this.option,e=JB([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,a=n.length-1;a>=0;a--){var i=n[a],r=t.getDimensionInfo(i);if(!r.isCalculationCoord)return r.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},a=e.target||(e.target={}),i=e.controller||(e.controller={});S(a,n),S(i,n);var r=this.isCategory();function o(n){KB(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}o.call(this,a),o.call(this,i),function(t,e,n){var a=t[e],i=t[n];a&&!i&&(i=t[n]={},$B(a,(function(t,e){if(eT.isValidType(e)){var n=XB(e,"inactive",r);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}.call(this,a,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,a=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";$B(this.stateList,(function(o){var l=this.itemSize,s=t[o];s||(s=t[o]={color:r?a:[a]}),null==s.symbol&&(s.symbol=e&&k(e)||(r?i:[i])),null==s.symbolSize&&(s.symbolSize=n&&k(n)||(r?l[0]:[l[0],l[0]])),s.symbol=jB(s.symbol,(function(t){return"none"===t?i:t}));var u=s.symbolSize;if(null!=u){var c=-1/0;qB(u,(function(t){t>c&&(c=t)})),s.symbolSize=jB(u,(function(t){return QB(t,[0,c],[0,l[0]],!0)}))}}),this)}.call(this,i)},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,zlevel: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}(Qp),eV=[20,140],nV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(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]=eV[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=eV[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):G(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),z(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=$a((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 a=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(e,n){t[0]<=e&&e<=t[1]&&a.push(n)}),this),e.push({seriesId:n.id,dataIndex:a})}),this),e},e.prototype.getVisualMeta=function(t){var e=aV(this,"outOfRange",this.getExtent()),n=aV(this,"inRange",this.option.range.slice()),a=[];function i(e,n){a.push({value:e,color:t(e,n)})}for(var r=0,o=0,l=n.length,s=e.length;o<s&&(!n.length||e[o]<=n[0]);o++)e[o]<n[r]&&i(e[o],"outOfRange");for(var u=1;r<l;r++,u=0)u&&a.length&&i(n[r],"outOfRange"),i(n[r],"inRange");for(u=1;o<s;o++)(!n.length||n[n.length-1]<e[o])&&(u&&(a.length&&i(a[a.length-1].value,"outOfRange"),u=0),i(e[o],"outOfRange"));var c=a.length;return{stops:a,outerColors:[c?a[0].color:"transparent",c?a[c-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=Yc(tV.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}(tV);function aV(t,e,n){if(n[0]===n[1])return n.slice();for(var a=(n[1]-n[0])/200,i=n[0],r=[],o=0;o<=200&&i<n[1];o++)r.push(i),i+=a;return r.push(n[1]),r}var iV=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 n(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,a){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,a):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=Ap(e.get("padding")||0),a=t.getBoundingRect();t.add(new cl({z2:-1,silent:!0,shape:{x:a.x-n[3],y:a.y-n[0],width:a.width+n[3]+n[1],height:a.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 a=(n=n||{}).forceState,i=this.visualMapModel,r={};if("color"===e){var o=i.get("contentColor");r.color=o}function l(t){return r[t]}function s(t,e){r[t]=e}var u=i.controllerVisuals[a||i.getValueState(t)];return z(eT.prepareVisualTypes(u),(function(a){var i=u[a];n.convertOpacityToAlpha&&"opacity"===a&&(a="colorAlpha",i=u.__alphaForOpacity),eT.dependsOn(a,e)&&i&&i.applyVisual(t,l,s)})),r[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;Zp(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,a){},e.type="visualMap",e}(Ff),rV=[["left","right","width"],["top","bottom","height"]];function oV(t,e,n){var a=t.option,i=a.align;if(null!=i&&"auto"!==i)return i;for(var r={width:e.getWidth(),height:e.getHeight()},o="horizontal"===a.orient?1:0,l=rV[o],s=[0,null,10],u={},c=0;c<3;c++)u[rV[1-o][c]]=s[c],u[l[c]]=2===c?n[0]:a[l[c]];var p=[["x","width",3],["y","height",0]][o],d=Xp(u,r,a.padding);return l[(d.margin[p[2]]||0)+d[p[0]]+.5*d[p[1]]<.5*r[p[1]]?0:1]}function lV(t,e){return z(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var sV=ja,uV=z,cV=Math.min,pV=Math.max,dV=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 n(e,t),e.prototype.doRender=function(t,e,n,a){this._api=n,a&&"selectDataRange"===a.type&&a.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.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var a=e[1-n];a=null!=a?a+"":"";var i=this.visualMapModel,r=i.get("textGap"),o=i.itemSize,l=this._shapes.mainGroup,s=this._applyTransform([o[0]/2,0===n?-r:o[1]+r],l),u=this._applyTransform(0===n?"bottom":"top",l),c=this._orient,p=this.visualMapModel.textStyleModel;this.group.add(new hl({style:{x:s[0],y:s[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:a,font:p.getFont(),fill:p.getTextColor()}}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,a=e.itemSize,i=this._orient,r=this._useHandle,o=oV(e,this.api,a),l=n.mainGroup=this._createBarGroup(o),s=new Va;l.add(s),s.add(n.outOfRange=hV()),s.add(n.inRange=hV(null,r?gV(this._orient):null,V(this._dragHandle,this,"all",!1),V(this._dragHandle,this,"all",!0))),s.setClipPath(new cl({shape:{x:0,y:0,width:a[0],height:a[1],r:3}}));var u=e.textStyleModel.getTextRect("国"),c=pV(u.width,u.height);r&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,l,0,a,c,i),this._createHandle(e,l,1,a,c,i)),this._createIndicator(e,l,a,c,i),t.add(l)},e.prototype._createHandle=function(t,e,n,a,i,r){var o=V(this._dragHandle,this,n,!1),l=V(this._dragHandle,this,n,!0),s=Ta(t.get("handleSize"),a[0]),u=Jg(t.get("handleIcon"),-s/2,-s/2,s,s,null,!0),c=gV(this._orient);u.attr({cursor:c,draggable:!0,drift:o,ondragend:l,onmousemove:function(t){ne(t.event)}}),u.x=a[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(),ms(u,!0),e.add(u);var p=this.visualMapModel.textStyleModel,d=new hl({cursor:c,draggable:!0,drift:o,onmousemove:function(t){ne(t.event)},ondragend:l,style:{x:0,y:0,text:"",font:p.getFont(),fill:p.getTextColor()}});d.ensureState("blur").style={opacity:.1},d.stateTransition={duration:200},this.group.add(d);var h=[s,0],f=this._shapes;f.handleThumbs[n]=u,f.handleLabelPoints[n]=h,f.handleLabels[n]=d},e.prototype._createIndicator=function(t,e,n,a,i){var r=Ta(t.get("indicatorSize"),n[0]),o=Jg(t.get("indicatorIcon"),-r/2,-r/2,r,r,null,!0);o.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var l=t.getModel("indicatorStyle").getItemStyle();if(o instanceof al){var s=o.style;o.useStyle(I({image:s.image,x:s.x,y:s.y,width:s.width,height:s.height},l))}else o.useStyle(l);e.add(o);var u=this.visualMapModel.textStyleModel,c=new hl({silent:!0,invisible:!0,style:{x:0,y:0,text:"",font:u.getFont(),fill:u.getTextColor()}});this.group.add(c);var p=[("horizontal"===i?a/2:6)+n[0]/2,0],d=this._shapes;d.indicator=o,d.indicatorLabel=c,d.indicatorLabelPoint=p,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,a){if(this._useHandle){if(this._dragging=!e,!e){var i=this._applyTransform([n,a],this._shapes.mainGroup,!0);this._updateInterval(t,i[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():fV(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),a=[0,t.itemSize[1]];this._handleEnds=[sV(e[0],n,a,!0),sV(e[1],n,a,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,a=this._handleEnds,i=[0,n.itemSize[1]];lD(e,a,i,t,0);var r=n.getExtent();this._dataInterval=[sV(a[0],i,r,!0),sV(a[1],i,r,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),a=this._shapes,i=[0,e.itemSize[1]],r=t?i:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,r,"inRange"),l=this._createBarVisual(n,n,i,"outOfRange");a.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),a.outOfRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),this._updateHandle(r,o)},e.prototype._createBarVisual=function(t,e,n,a){var i={forceState:a,convertOpacityToAlpha:!0},r=this._makeColorGradient(t,i),o=[this.getControllerVisual(t[0],"symbolSize",i),this.getControllerVisual(t[1],"symbolSize",i)],l=this._createBarPoints(n,o);return{barColor:new Su(0,0,0,1,r),barPoints:l,handlesColor:[r[0].color,r[r.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],a=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var i=1;i<100;i++){var r=t[0]+a*i;if(r>t[1])break;n.push({color:this.getControllerVisual(r,"color",e),offset:i/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 Va("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,a=this.visualMapModel,i=n.handleThumbs,r=n.handleLabels,o=a.itemSize,l=a.getExtent();uV([0,1],(function(s){var u=i[s];u.setStyle("fill",e.handlesColor[s]),u.y=t[s];var c=sV(t[s],[0,o[1]],l,!0),p=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=p/o[0],u.x=o[0]-p/2;var d=ic(n.handleLabelPoints[s],ac(u,this.group));r[s].setStyle({x:d[0],y:d[1],text:a.formatValueText(this._dataInterval[s]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,a){var i=this.visualMapModel,r=i.getExtent(),o=i.itemSize,l=[0,o[1]],s=this._shapes,u=s.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),p=this.getControllerVisual(t,"symbolSize"),d=sV(t,r,l,!0),h=o[0]-p/2,f={x:u.x,y:u.y};u.y=d,u.x=h;var g=ic(s.indicatorLabelPoint,ac(u,this.group)),m=s.indicatorLabel;m.attr("invisible",!1);var y=this._applyTransform("left",s.mainGroup),v="horizontal"===this._orient;m.setStyle({text:(n||"")+i.formatValueText(e),verticalAlign:v?y:"middle",align:v?"center":y});var b={x:h,y:d,style:{fill:c}},x={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var _={duration:100,easing:"cubicInOut",additive:!0};u.x=f.x,u.y=f.y,u.animateTo(b,_),m.animateTo(x,_)}else u.attr(b),m.attr(x);this._firstShowIndicator=!1;var w=this._shapes.handleLabels;if(w)for(var k=0;k<w.length;k++)this._api.enterBlur(w[k])}},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,a=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);a[1]=cV(pV(0,a[1]),n[1]),t._doHoverLinkToSeries(a[1],0<=a[0]&&a[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,a=n.itemSize;if(n.option.hoverLink){var i=[0,a[1]],r=n.getExtent();t=cV(pV(i[0],t),i[1]);var o=function(t,e,n){var a=6,i=t.get("hoverLinkDataSize");return i&&(a=sV(i,e,n,!0)/2),a}(n,r,i),l=[t-o,t+o],s=sV(t,i,r,!0),u=[sV(l[0],i,r,!0),sV(l[1],i,r,!0)];l[0]<i[0]&&(u[0]=-1/0),l[1]>i[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(s,u[1],"< ",o):u[1]===1/0?this._showIndicator(s,u[0],"> ",o):this._showIndicator(s,s,"≈ ",o));var c=this._hoverLinkDataIndices,p=[];(e||fV(n))&&(p=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var d=function(t,e){var n={},a={};return i(t||[],n),i(e||[],a,n),[r(n),r(a)];function i(t,e,n){for(var a=0,i=t.length;a<i;a++){var r=Di(t[a].seriesId,null);if(null==r)return;for(var o=_i(t[a].dataIndex),l=n&&n[r],s=0,u=o.length;s<u;s++){var c=o[s];l&&l[c]?l[c]=null:(e[r]||(e[r]={}))[c]=1}}}function r(t,e){var n=[];for(var a in t)if(t.hasOwnProperty(a)&&null!=t[a])if(e)n.push(+a);else{var i=r(t[a],!0);i.length&&n.push({seriesId:a,dataIndex:i})}return n}}(c,p);this._dispatchHighDown("downplay",lV(d[0],n)),this._dispatchHighDown("highlight",lV(d[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=wl(e).dataIndex){var a=wl(e),i=this.ecModel.getSeriesByIndex(a.seriesIndex);if(n.isTargetSeries(i)){var r=i.getData(a.dataType),o=r.getStore().get(n.getDataDimensionIndex(r),a.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",lV(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,a){var i=ac(e,a?null:this.group);return G(t)?ic(t,i,n):rc(t,i,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.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(iV);function hV(t,e,n,a){return new cu({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){ne(t.event)},ondragend:a})}function fV(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function gV(t){return"vertical"===t?"ns-resize":"ew-resize"}var mV={type:"selectDataRange",event:"dataRangeSelected",update:"update"},yV=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},vV=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var a,i,r,o,l,s=t.pipelineContext;!e.isTargetSeries(t)||s&&s.large||n.push((a=e.stateList,i=e.targetVisuals,r=V(e.getValueState,e),o=e.getDataDimensionIndex(t.getData()),l={},z(a,(function(t){var e=eT.prepareVisualTypes(i[t]);l[t]=e})),{progress:function(t,e){var n,a;function s(t){return Rg(e,a,t)}function u(t,n){Eg(e,a,t,n)}null!=o&&(n=e.getDimensionIndex(o));for(var c=e.getStore();null!=(a=t.next());){var p=e.getRawDataItem(a);if(!p||!1!==p.visualMap)for(var d=null!=o?c.get(n,a):a,h=r(d),f=i[h],g=l[h],m=0,y=g.length;m<y;m++){var v=g[m];f[v]&&f[v].applyVisual(d,s,u)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),a=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var i=e.getVisualMeta(V(bV,null,t,e))||{stops:[],outerColors:[]},r=e.getDataDimensionIndex(n);r>=0&&(i.dimension=r,a.push(i))}})),t.getData().setVisual("visualMeta",a)}}];function bV(t,e,n,a){for(var i=e.targetVisuals[a],r=eT.prepareVisualTypes(i),o={color:Ng(t.getData(),"color")},l=0,s=r.length;l<s;l++){var u=r[l],c=i["opacity"===u?"__alphaForOpacity":u];c&&c.applyVisual(n,p,d)}return o.color;function p(t){return o[t]}function d(t,e){o[t]=e}}var xV=z;function _V(t){var e=t&&t.visualMap;G(e)||(e=e?[e]:[]),xV(e,(function(t){if(t){wV(t,"splitList")&&!wV(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&G(e)&&xV(e,(function(t){X(t)&&(wV(t,"start")&&!wV(t,"min")&&(t.min=t.start),wV(t,"end")&&!wV(t,"max")&&(t.max=t.end))}))}}))}function wV(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var kV=!1;function SV(t){kV||(kV=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(mV,yV),z(vV,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(_V))}function MV(t){t.registerComponentModel(nV),t.registerComponentView(dV),SV(t)}var IV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return n(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],TV[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===a?(t.mappingMethod="category",t.categories=k(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=O(this._pieceList,(function(t){return t=k(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},a=eT.listVisualTypes(),i=this.isCategory();function r(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}z(e.pieces,(function(t){z(a,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),z(n,(function(t,n){var a=!1;z(this.stateList,(function(t){a=a||r(e,t,n)||r(e.target,t,n)}),this),!a&&z(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=XB(n,"inRange"===t?"active":"inactive",i)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,a=this._pieceList,i=(e?n:t).selected||{};if(n.selected=i,z(a,(function(t,e){var n=this.getSelectedMapKey(t);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var r=!1;z(a,(function(t,e){var n=this.getSelectedMapKey(t);i[n]&&(r?i[n]=!1:r=!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=eT.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(a){var i=[],r=a.getData();r.each(this.getDataDimensionIndex(r),(function(e,a){eT.findPieceIndex(e,n)===t&&i.push(a)}),this),e.push({seriesId:a.id,dataIndex:i})}),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=["",""],a=this,i=this._pieceList.slice();if(i.length){var r=i[0].interval[0];r!==-1/0&&i.unshift({interval:[-1/0,r]}),(r=i[i.length-1].interval[1])!==1/0&&i.push({interval:[r,1/0]})}else i.push({interval:[-1/0,1/0]});var o=-1/0;return z(i,(function(t){var e=t.interval;e&&(e[0]>o&&l([o,e[0]],"outOfRange"),l(e.slice()),o=e[1])}),this),{stops:e,outerColors:n}}function l(i,r){var o=a.getRepresentValue({interval:i});r||(r=a.getValueState(o));var l=t(o,r);i[0]===-1/0?n[0]=l:i[1]===1/0?n[1]=l:e.push({value:i[0],color:l},{value:i[1],color:l})}},e.type="visualMap.piecewise",e.defaultOption=Yc(tV.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}(tV),TV={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),a=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var r=(a[1]-a[0])/i;+r.toFixed(n)!==r&&n<5;)n++;e.precision=n,r=+r.toFixed(n),e.minOpen&&t.push({interval:[-1/0,a[0]],close:[0,0]});for(var o=0,l=a[0];o<i;l+=r,o++){var s=o===i-1?a[1]:l+r;t.push({interval:[l,s],close:[1,1]})}e.maxOpen&&t.push({interval:[a[1],1/0],close:[0,0]}),di(t),z(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;z(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),CV(e,t)},pieces:function(t){var e=this.option;z(e.pieces,(function(e,n){X(e)||(e={value:e});var a={text:"",index:n};if(null!=e.label&&(a.text=e.label),e.hasOwnProperty("value")){var i=a.value=e.value;a.interval=[i,i],a.close=[1,1]}else{for(var r=a.interval=[],o=a.close=[0,0],l=[1,0,1],s=[-1/0,1/0],u=[],c=0;c<2;c++){for(var p=[["gte","gt","min"],["lte","lt","max"]][c],d=0;d<3&&null==r[c];d++)r[c]=e[p[d]],o[c]=l[d],u[c]=2===d;null==r[c]&&(r[c]=s[c])}u[0]&&r[1]===1/0&&(o[0]=0),u[1]&&r[0]===-1/0&&(o[1]=0),r[0]===r[1]&&o[0]&&o[1]&&(a.value=r[0])}a.visual=eT.retrieveVisuals(e),t.push(a)}),this),CV(e,t),di(t),z(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 CV(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var DV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return n(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),a=e.textStyleModel,i=a.getFont(),r=a.getTextColor(),o=this._getItemAlign(),l=e.itemSize,s=this._getViewData(),u=s.endsText,c=tt(e.get("showLabel",!0),!u);u&&this._renderEndsText(t,u[0],l,c,o),z(s.viewPieceList,(function(a){var s=a.piece,u=new Va;u.onclick=V(this._onItemClick,this,s),this._enableHoverLink(u,a.indexInModelPieceList);var p=e.getRepresentValue(s);if(this._createItemSymbol(u,p,[0,0,l[0],l[1]]),c){var d=this.visualMapModel.getValueState(p);u.add(new hl({style:{x:"right"===o?-n:l[0]+n,y:l[1]/2,text:s.text,verticalAlign:"middle",align:o,font:i,fill:r,opacity:"outOfRange"===d?.5:1}}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],l,c,o),Yp(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 a("highlight")})).on("mouseout",(function(){return a("downplay")}));var a=function(t){var a=n.visualMapModel;a.option.hoverLink&&n.api.dispatchAction({type:t,batch:lV(a.findTargetDataIndices(e),a)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return oV(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,a,i){if(e){var r=new Va,o=this.visualMapModel.textStyleModel;r.add(new hl({style:{x:a?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:a?i:"center",text:e,font:o.getFont(),fill:o.getTextColor()}})),t.add(r)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=O(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),a=t.get("orient"),i=t.get("inverse");return("horizontal"===a?i:!i)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(Jg(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,a=k(n.selected),i=e.getSelectedMapKey(t);"single"===n.selectedMode?(a[i]=!0,z(a,(function(t,e){a[e]=e===i}))):a[i]=!a[i],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})},e.type="visualMap.piecewise",e}(iV);function AV(t){t.registerComponentModel(IV),t.registerComponentView(DV),SV(t)}var LV={label:{enabled:!0},decal:{show:!1}},PV=zi(),zV={};function OV(t,e){var n=t.getModel("aria");if(n.get("enabled")){var a=k(LV);S(a.label,t.getLocaleModel().get("aria"),!1),S(n.option,a,!1),function(){if(n.getModel("decal").get("show")){var e=pt();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),PV(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if("function"!=typeof e.enableAriaDecal){var n=e.getData();if(e.isColorBySeries()){var a=Cd(e.ecModel,e.name,zV,t.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",u(i,a))}else{var r=e.getRawData(),o={},l=PV(e).scope;n.each((function(t){var e=n.getRawIndex(t);o[e]=t}));var s=r.count();r.each((function(t){var a=o[t],i=r.getName(t)||t+"",c=Cd(e.ecModel,i,l,s),p=n.getItemVisual(a,"decal");n.setItemVisual(a,"decal",u(p,c))}))}}else e.enableAriaDecal();function u(t,e){var n=t?I(I({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var a=t.getLocaleModel().get("aria"),r=n.getModel("label");if(r.option=T(r.option,a),r.get("enabled")){var o=e.getZr().dom;if(r.get("description"))o.setAttribute("aria-label",r.get("description"));else{var l,s=t.getSeriesCount(),u=r.get(["data","maxCount"])||10,c=r.get(["series","maxCount"])||10,p=Math.min(s,c);if(!(s<1)){var d=function(){var e=t.get("title");return e&&e.length&&(e=e[0]),e&&e.text}();l=d?i(r.get(["general","withTitle"]),{title:d}):r.get(["general","withoutTitle"]);var h=[];l+=i(s>1?r.get(["series","multiple","prefix"]):r.get(["series","single","prefix"]),{seriesCount:s}),t.eachSeries((function(e,n){if(n<p){var a=void 0,o=e.get("name")?"withName":"withoutName";a=i(a=s>1?r.get(["series","multiple",o]):r.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(b=e.subType,t.getLocaleModel().get(["series","typeNames"])[b]||"自定义图")});var l=e.getData();l.count()>u?a+=i(r.get(["data","partialData"]),{displayCnt:u}):a+=r.get(["data","allData"]);for(var c=[],d=0;d<l.count();d++)if(d<u){var f=l.getName(d),g=Ph(l,d),m=r.get(["data",f?"withName":"withoutName"]);c.push(i(m,{name:f,value:g}))}var y=r.get(["data","separator","middle"]),v=r.get(["data","separator","end"]);a+=c.join(y)+v,h.push(a)}var b}));var f=r.getModel(["series","multiple","separator"]),g=f.get("middle"),m=f.get("end");l+=h.join(g)+m,o.setAttribute("aria-label",l)}}}}()}function i(t,e){if("string"!=typeof t)return t;var n=t;return z(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}}function RV(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},z(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var NV={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},EV=function(){function t(t){null==(this._condVal=W(t)?new RegExp(t):J(t)?t:null)&&vi("")}return t.prototype.evaluate=function(t){var e=typeof t;return"string"===e?this._condVal.test(t):"number"===e&&this._condVal.test(t+"")},t}(),BV=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),VV=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}(),FV=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}(),GV=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),HV=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,a=0;a<this.subCondList.length;a++)if(!this.subCondList[a].evaluate(t?n:e))return!1;return!0},t}();function WV(t,e){if(!0===t||!1===t){var n=new BV;return n.value=t,n}var a="";return YV(t)||vi(a),t.and?UV("and",t,e):t.or?UV("or",t,e):t.not?function(t,e){var n=t.not,a="";YV(n)||vi(a);var i=new GV;return i.child=WV(n,e),i.child||vi(a),i}(t,e):function(t,e){for(var n="",a=e.prepareGetValue(t),i=[],r=B(t),o=t.parser,l=o?Gh(o):null,s=0;s<r.length;s++){var u=r[s];if("parser"!==u&&!e.valueGetterAttrMap.get(u)){var c=ft(NV,u)?NV[u]:u,p=t[u],d=l?l(p):p,h=Xh(c,d)||"reg"===c&&new EV(d);h||vi(n),i.push(h)}}i.length||vi(n);var f=new HV;return f.valueGetterParam=a,f.valueParser=l,f.getValue=e.getValue,f.subCondList=i,f}(t,e)}function UV(t,e,n){var a=e[t],i="";G(a)||vi(i),a.length||vi(i);var r="and"===t?new VV:new FV;return r.children=O(a,(function(t){return WV(t,n)})),r.children.length||vi(i),r}function YV(t){return X(t)&&!P(t)}var XV=function(){function t(t,e){this._cond=WV(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}(),ZV={type:"echarts:filter",transform:function(t){for(var e,n,a,i=t.upstream,r=(n=t.config,a={valueGetterAttrMap:pt({dimension:!0}),prepareGetValue:function(t){var e="",n=t.dimension;ft(t,"dimension")||vi(e);var a=i.getDimensionInfo(n);return a||vi(e),{dimIdx:a.index}},getValue:function(t){return i.retrieveValueFromItem(e,t.dimIdx)}},new XV(n,a)),o=[],l=0,s=i.count();l<s;l++)e=i.getRawDataItem(l),r.evaluate()&&o.push(e);return{data:o}}},jV={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,a="",i=_i(n);i.length||vi(a);var r=[];z(i,(function(t){var n=t.dimension,i=t.order,o=t.parser,l=t.incomparable;null==n&&vi(a),"asc"!==i&&"desc"!==i&&vi(a),l&&"min"!==l&&"max"!==l&&vi(""),"asc"!==i&&"desc"!==i&&vi("");var s=e.getDimensionInfo(n);s||vi(a);var u=o?Gh(o):null;o&&!u&&vi(a),r.push({dimIdx:s.index,parser:u,comparator:new Uh(i,l)})}));var o=e.sourceFormat;o!==rd&&o!==od&&vi(a);for(var l=[],s=0,u=e.count();s<u;s++)l.push(e.getRawDataItem(s));return l.sort((function(t,n){for(var a=0;a<r.length;a++){var i=r[a],o=e.retrieveValueFromItem(t,i.dimIdx),l=e.retrieveValueFromItem(n,i.dimIdx);i.parser&&(o=i.parser(o),l=i.parser(l));var s=i.comparator.evaluate(o,l);if(0!==s)return s}return 0})),{data:l}}},qV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return n(e,t),e.prototype.init=function(e,n,a){t.prototype.init.call(this,e,n,a),this._sourceManager=new df(this),hf(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),hf(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:cd},e}(Qp),KV=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return n(e,t),e.type="dataset",e}(Ff),$V=Po.CMD;function JV(t,e){return Math.abs(t-e)<1e-5}function QV(t){var e,n,a,i,r,o=t.data,l=t.len(),s=[],u=0,c=0,p=0,d=0;function h(t,n){e&&e.length>2&&s.push(e),e=[t,n]}function f(t,n,a,i){JV(t,a)&&JV(n,i)||e.push(t,n,a,i,a,i)}function g(t,n,a,i,r,o){var l=Math.abs(n-t),s=4*Math.tan(l/4)/3,u=n<t?-1:1,c=Math.cos(t),p=Math.sin(t),d=Math.cos(n),h=Math.sin(n),f=c*r+a,g=p*o+i,m=d*r+a,y=h*o+i,v=r*s*u,b=o*s*u;e.push(f-v*p,g+b*c,m+v*h,y-b*d,m,y)}for(var m=0;m<l;){var y=o[m++],v=1===m;switch(v&&(p=u=o[m],d=c=o[m+1],y!==$V.L&&y!==$V.C&&y!==$V.Q||(e=[p,d])),y){case $V.M:u=p=o[m++],c=d=o[m++],h(p,d);break;case $V.L:f(u,c,n=o[m++],a=o[m++]),u=n,c=a;break;case $V.C:e.push(o[m++],o[m++],o[m++],o[m++],u=o[m++],c=o[m++]);break;case $V.Q:n=o[m++],a=o[m++],i=o[m++],r=o[m++],e.push(u+2/3*(n-u),c+2/3*(a-c),i+2/3*(n-i),r+2/3*(a-r),i,r),u=i,c=r;break;case $V.A:var b=o[m++],x=o[m++],_=o[m++],w=o[m++],k=o[m++],S=o[m++]+k;m+=1;var M=!o[m++];n=Math.cos(k)*_+b,a=Math.sin(k)*w+x,v?h(p=n,d=a):f(u,c,n,a),u=Math.cos(S)*_+b,c=Math.sin(S)*w+x;for(var I=(M?-1:1)*Math.PI/2,T=k;M?T>S:T<S;T+=I)g(T,M?Math.max(T+I,S):Math.min(T+I,S),b,x,_,w);break;case $V.R:p=u=o[m++],d=c=o[m++],n=p+o[m++],a=d+o[m++],h(n,d),f(n,d,n,a),f(n,a,p,a),f(p,a,p,d),f(p,d,n,d);break;case $V.Z:e&&f(u,c,p,d),u=p,c=d}}return e&&e.length>2&&s.push(e),s}function tF(t,e,n,a,i,r,o,l,s,u){if(JV(t,n)&&JV(e,a)&&JV(i,o)&&JV(r,l))s.push(o,l);else{var c=2/u,p=c*c,d=o-t,h=l-e,f=Math.sqrt(d*d+h*h);d/=f,h/=f;var g=n-t,m=a-e,y=i-o,v=r-l,b=g*g+m*m,x=y*y+v*v;if(b<p&&x<p)s.push(o,l);else{var _=d*g+h*m,w=-d*y-h*v;if(b-_*_<p&&_>=0&&x-w*w<p&&w>=0)s.push(o,l);else{var k=[],S=[];Hr(t,n,i,o,.5,k),Hr(e,a,r,l,.5,S),tF(k[0],S[0],k[1],S[1],k[2],S[2],k[3],S[3],s,u),tF(k[4],S[4],k[5],S[5],k[6],S[6],k[7],S[7],s,u)}}}}function eF(t,e,n){var a=t[e],i=t[1-e],r=Math.abs(a/i),o=Math.ceil(Math.sqrt(r*n)),l=Math.floor(n/o);0===l&&(l=1,o=n);for(var s=[],u=0;u<o;u++)s.push(l);var c=n-o*l;if(c>0)for(u=0;u<c;u++)s[u%o]+=1;return s}function nF(t,e,n){for(var a=t.r0,i=t.r,r=t.startAngle,o=t.endAngle,l=Math.abs(o-r),s=l*i,u=i-a,c=s>Math.abs(u),p=eF([s,u],c?0:1,e),d=(c?l:u)/p.length,h=0;h<p.length;h++)for(var f=(c?u:l)/p[h],g=0;g<p[h];g++){var m={};c?(m.startAngle=r+d*h,m.endAngle=r+d*(h+1),m.r0=a+f*g,m.r=a+f*(g+1)):(m.startAngle=r+f*g,m.endAngle=r+f*(g+1),m.r0=a+d*h,m.r=a+d*(h+1)),m.clockwise=t.clockwise,m.cx=t.cx,m.cy=t.cy,n.push(m)}}function aF(t,e,n,a){return t*a-n*e}function iF(t,e,n,a,i,r,o,l){var s=n-t,u=a-e,c=o-i,p=l-r,d=aF(c,p,s,u);if(Math.abs(d)<1e-6)return null;var h=aF(t-i,e-r,c,p)/d;return h<0||h>1?null:new sa(h*s+t,h*u+e)}function rF(t,e,n){var a=new sa;sa.sub(a,n,e),a.normalize();var i=new sa;return sa.sub(i,t,e),i.dot(a)}function oF(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function lF(t){var e=t.points,n=[],a=[];ro(e,n,a);var i=new ya(n[0],n[1],a[0]-n[0],a[1]-n[1]),r=i.width,o=i.height,l=i.x,s=i.y,u=new sa,c=new sa;return r>o?(u.x=c.x=l+r/2,u.y=s,c.y=s+o):(u.y=c.y=s+o/2,u.x=l,c.x=l+r),function(t,e,n){for(var a=t.length,i=[],r=0;r<a;r++){var o=t[r],l=t[(r+1)%a],s=iF(o[0],o[1],l[0],l[1],e.x,e.y,n.x,n.y);s&&i.push({projPt:rF(s,e,n),pt:s,idx:r})}if(i.length<2)return[{points:t},{points:t}];i.sort((function(t,e){return t.projPt-e.projPt}));var u=i[0],c=i[i.length-1];if(c.idx<u.idx){var p=u;u=c,c=p}var d=[u.pt.x,u.pt.y],h=[c.pt.x,c.pt.y],f=[d],g=[h];for(r=u.idx+1;r<=c.idx;r++)oF(f,t[r].slice());for(oF(f,h),oF(f,d),r=c.idx+1;r<=u.idx+a;r++)oF(g,t[r%a].slice());return oF(g,d),oF(g,h),[{points:f},{points:g}]}(e,u,c)}function sF(t,e,n,a){if(1===n)a.push(e);else{var i=Math.floor(n/2),r=t(e);sF(t,r[0],i,a),sF(t,r[1],n-i,a)}return a}function uF(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function cF(t,e){var n,a=[],i=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var a=t.width,i=t.height,r=a>i,o=eF([a,i],r?0:1,e),l=r?"width":"height",s=r?"height":"width",u=r?"x":"y",c=r?"y":"x",p=t[l]/o.length,d=0;d<o.length;d++)for(var h=t[s]/o[d],f=0;f<o[d];f++){var g={};g[u]=d*p,g[c]=f*h,g[l]=p,g[s]=h,g.x+=t.x,g.y+=t.y,n.push(g)}}(i,e,a),n=cl;break;case"sector":nF(i,e,a),n=iu;break;case"circle":nF({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},e,a),n=iu;break;default:var r=t.getComputedTransform(),o=r?Math.sqrt(Math.max(r[0]*r[0]+r[1]*r[1],r[2]*r[2]+r[3]*r[3])):1,l=O(function(t,e){var n=QV(t),a=[];e=e||1;for(var i=0;i<n.length;i++){var r=n[i],o=[],l=r[0],s=r[1];o.push(l,s);for(var u=2;u<r.length;){var c=r[u++],p=r[u++],d=r[u++],h=r[u++],f=r[u++],g=r[u++];tF(l,s,c,p,d,h,f,g,o,e),l=f,s=g}a.push(o)}return a}(t.getUpdatedPathProxy(),o),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),s=l.length;if(0===s)sF(lF,{points:l[0]},e,a);else if(s===e)for(var u=0;u<s;u++)a.push({points:l[u]});else{var c=0,p=O(l,(function(t){var e=[],n=[];ro(t,e,n);var a=(n[1]-e[1])*(n[0]-e[0]);return c+=a,{poly:t,area:a}}));p.sort((function(t,e){return e.area-t.area}));var d=e;for(u=0;u<s;u++){var h=p[u];if(d<=0)break;var f=u===s-1?d:Math.ceil(h.area/c*e);f<0||(sF(lF,{points:h.poly},f,a),d-=f)}}n=cu}if(!n)return function(t,e){for(var n=[],a=0;a<e;a++)n.push(Vs(t));return n}(t,e);var g=[];for(u=0;u<a.length;u++){var m=new n;m.setShape(a[u]),uF(t,m),g.push(m)}return g}function pF(t,e){var n=t.length,a=e.length;if(n===a)return[t,e];for(var i=[],r=[],o=n<a?t:e,l=Math.min(n,a),s=Math.abs(a-n)/6,u=(l-2)/6,c=Math.ceil(s/u)+1,p=[o[0],o[1]],d=s,h=2;h<l;){var f=o[h-2],g=o[h-1],m=o[h++],y=o[h++],v=o[h++],b=o[h++],x=o[h++],_=o[h++];if(d<=0)p.push(m,y,v,b,x,_);else{for(var w=Math.min(d,c-1)+1,k=1;k<=w;k++){var S=k/w;Hr(f,m,v,x,S,i),Hr(g,y,b,_,S,r),f=i[3],g=r[3],p.push(i[1],r[1],i[2],r[2],f,g),m=i[5],y=r[5],v=i[6],b=r[6]}d-=w-1}}return o===t?[p,e]:[t,p]}function dF(t,e){for(var n=t.length,a=t[n-2],i=t[n-1],r=[],o=0;o<e.length;)r[o++]=a,r[o++]=i;return r}function hF(t){for(var e=0,n=0,a=0,i=t.length,r=0,o=i-2;r<i;o=r,r+=2){var l=t[o],s=t[o+1],u=t[r],c=t[r+1],p=l*c-u*s;e+=p,n+=(l+u)*p,a+=(s+c)*p}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,a/e/3,e]}function fF(t,e,n,a){for(var i=(t.length-2)/6,r=1/0,o=0,l=t.length,s=l-2,u=0;u<i;u++){for(var c=6*u,p=0,d=0;d<l;d+=2){var h=0===d?c:(c+d-2)%s+2,f=t[h]-n[0],g=t[h+1]-n[1],m=e[d]-a[0]-f,y=e[d+1]-a[1]-g;p+=m*m+y*y}p<r&&(r=p,o=u)}return o}function gF(t){for(var e=[],n=t.length,a=0;a<n;a+=2)e[a]=t[n-a-2],e[a+1]=t[n-a-1];return e}function mF(t){return t.__isCombineMorphing}var yF="__mOriginal_";function vF(t,e,n){var a=yF+e,i=t[a]||t[e];t[a]||(t[a]=t[e]);var r=n.replace,o=n.after,l=n.before;t[e]=function(){var t,e=arguments;return l&&l.apply(this,e),t=r?r.apply(this,e):i.apply(this,e),o&&o.apply(this,e),t}}function bF(t,e){var n=yF+e;t[n]&&(t[e]=t[n],t[n]=null)}function xF(t,e){for(var n=0;n<t.length;n++)for(var a=t[n],i=0;i<a.length;){var r=a[i],o=a[i+1];a[i++]=e[0]*r+e[2]*o+e[4],a[i++]=e[1]*r+e[3]*o+e[5]}}function _F(t,e){var n=t.getUpdatedPathProxy(),a=e.getUpdatedPathProxy(),i=function(t,e){for(var n,a,i,r=[],o=[],l=0;l<Math.max(t.length,e.length);l++){var s=t[l],u=e[l],c=void 0,p=void 0;s?u?(a=c=(n=pF(s,u))[0],i=p=n[1]):(p=dF(i||s,s),c=s):(c=dF(a||u,u),p=u),r.push(c),o.push(p)}return[r,o]}(QV(n),QV(a)),r=i[0],o=i[1],l=t.getComputedTransform(),s=e.getComputedTransform();l&&xF(r,l),s&&xF(o,s),vF(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var u=function(t,e,n,a){for(var i,r=[],o=0;o<t.length;o++){var l=t[o],s=e[o],u=hF(l),c=hF(s);null==i&&(i=u[2]<0!=c[2]<0);var p=[],d=[],h=0,f=1/0,g=[],m=l.length;i&&(l=gF(l));for(var y=6*fF(l,s,u,c),v=m-2,b=0;b<v;b+=2){var x=(y+b)%v+2;p[b+2]=l[x]-u[0],p[b+3]=l[x+1]-u[1]}if(p[0]=l[y]-u[0],p[1]=l[y+1]-u[1],n>0)for(var _=a/n,w=-a/2;w<=a/2;w+=_){var k=Math.sin(w),S=Math.cos(w),M=0;for(b=0;b<l.length;b+=2){var I=p[b],T=p[b+1],C=s[b]-c[0],D=s[b+1]-c[1],A=C*S-D*k,L=C*k+D*S;g[b]=A,g[b+1]=L;var P=A-I,z=L-T;M+=P*P+z*z}if(M<f){f=M,h=w;for(var O=0;O<g.length;O++)d[O]=g[O]}}else for(var R=0;R<m;R+=2)d[R]=s[R]-c[0],d[R+1]=s[R+1]-c[1];r.push({from:p,to:d,fromCp:u,toCp:c,rotation:-h})}return r}(r,o,10,Math.PI),c=[];vF(e,"buildPath",{replace:function(t){for(var n=e.__morphT,a=1-n,i=[],r=0;r<u.length;r++){var o=u[r],l=o.from,s=o.to,p=o.rotation*n,d=o.fromCp,h=o.toCp,f=Math.sin(p),g=Math.cos(p);Ot(i,d,h,n);for(var m=0;m<l.length;m+=2){var y=l[m],v=l[m+1],b=y*a+(k=s[m])*n,x=v*a+(S=s[m+1])*n;c[m]=b*g-x*f+i[0],c[m+1]=b*f+x*g+i[1]}var _=c[0],w=c[1];for(t.moveTo(_,w),m=2;m<l.length;){var k=c[m++],S=c[m++],M=c[m++],I=c[m++],T=c[m++],C=c[m++];_===k&&w===S&&M===T&&I===C?t.lineTo(T,C):t.bezierCurveTo(k,S,M,I,T,C),_=T,w=C}}}})}function wF(t,e,n){if(!t||!e)return e;var a=n.done,i=n.during;return _F(t,e),e.__morphT=0,e.animateTo({__morphT:1},T({during:function(t){e.dirtyShape(),i&&i(t)},done:function(){bF(e,"buildPath"),bF(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),a&&a()}},n)),e}function kF(t,e,n,a,i,r){t=i===n?0:Math.round(32767*(t-n)/(i-n)),e=r===a?0:Math.round(32767*(e-a)/(r-a));for(var o,l=0,s=32768;s>0;s/=2){var u=0,c=0;(t&s)>0&&(u=1),(e&s)>0&&(c=1),l+=s*s*(3*u^c),0===c&&(1===u&&(t=s-1-t,e=s-1-e),o=t,t=e,e=o)}return l}function SF(t){var e=1/0,n=1/0,a=-1/0,i=-1/0,r=O(t,(function(t){var r=t.getBoundingRect(),o=t.getComputedTransform(),l=r.x+r.width/2+(o?o[4]:0),s=r.y+r.height/2+(o?o[5]:0);return e=Math.min(l,e),n=Math.min(s,n),a=Math.max(l,a),i=Math.max(s,i),[l,s]}));return O(r,(function(r,o){return{cp:r,z:kF(r[0],r[1],e,n,a,i),path:t[o]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function MF(t){return cF(t.path,t.count)}function IF(t){return G(t[0])}function TF(t,e){for(var n=[],a=t.length,i=0;i<a;i++)n.push({one:t[i],many:[]});for(i=0;i<e.length;i++){var r=e[i].length,o=void 0;for(o=0;o<r;o++)n[o%a].many.push(e[i][o])}var l=0;for(i=a-1;i>=0;i--)if(!n[i].many.length){var s=n[l].many;if(s.length<=1){if(!l)return n;l=0}r=s.length;var u=Math.ceil(r/2);n[i].many=s.slice(u,r),n[l].many=s.slice(0,u),l++}return n}var CF={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),a=0;a<t.count;a++){var i=Vs(t.path);i.setStyle("opacity",n),e.push(i)}return e},split:null};function DF(t,e,n,a,i,r){if(t.length&&e.length){var o=Ou("update",a,i);if(o&&o.duration>0){var l,s,u=a.getModel("universalTransition").get("delay"),c=Object.assign({setToFinal:!0},o);IF(t)&&(l=t,s=e),IF(e)&&(l=e,s=t);for(var p=l?l===t:t.length>e.length,d=l?TF(s,l):TF(p?e:t,[p?t:e]),h=0,f=0;f<d.length;f++)h+=d[f].many.length;var g=0;for(f=0;f<d.length;f++)m(d[f],p,g,h),g+=d[f].many.length}}function m(t,e,a,i,o){var l=t.many,s=t.one;if(1!==l.length||o)for(var p=T({dividePath:CF[n],individualDelay:u&&function(t,e,n,r){return u(t+a,i)}},c),d=e?function(t,e,n){var a=[];!function t(e){for(var n=0;n<e.length;n++){var i=e[n];mF(i)?t(i.childrenRef()):i instanceof Jo&&a.push(i)}}(t);var i=a.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var r=(n.dividePath||MF)({path:e,count:i});if(r.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};a=SF(a),r=SF(r);for(var o=n.done,l=n.during,s=n.individualDelay,u=new oa,c=0;c<i;c++){var p=a[c],d=r[c];d.parent=e,d.copyTransform(u),s||_F(p,d)}function h(t){for(var e=0;e<r.length;e++)r[e].addSelfToZr(t)}function f(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,bF(e,"addSelfToZr"),bF(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return r},vF(e,"addSelfToZr",{after:function(t){h(t)}}),vF(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<r.length;e++)r[e].removeSelfFromZr(t)}});var g=r.length;if(s){var m=g,y=function(){0==--m&&(f(),o&&o())};for(c=0;c<g;c++){var v=s?T({delay:(n.delay||0)+s(c,g,a[c],r[c]),done:y},n):n;wF(a[c],r[c],v)}}else e.__morphT=0,e.animateTo({__morphT:1},T({during:function(t){for(var n=0;n<g;n++){var a=r[n];a.__morphT=e.__morphT,a.dirtyShape()}l&&l(t)},done:function(){f();for(var e=0;e<t.length;e++)bF(t[e],"updateTransform");o&&o()}},n));return e.__zr&&h(e.__zr),{fromIndividuals:a,toIndividuals:r,count:g}}(l,s,p):function(t,e,n){var a=e.length,i=[],r=n.dividePath||MF;if(mF(t)){!function t(e){for(var n=0;n<e.length;n++){var a=e[n];mF(a)?t(a.childrenRef()):a instanceof Jo&&i.push(a)}}(t.childrenRef());var o=i.length;if(o<a)for(var l=0,s=o;s<a;s++)i.push(Vs(i[l++%o]));i.length=a}else{i=r({path:t,count:a});var u=t.getComputedTransform();for(s=0;s<i.length;s++)i[s].setLocalTransform(u);if(i.length!==a)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}i=SF(i),e=SF(e);var c=n.individualDelay;for(s=0;s<a;s++){var p=c?T({delay:(n.delay||0)+c(s,a,i[s],e[s])},n):n;wF(i[s],e[s],p)}return{fromIndividuals:i,toIndividuals:e,count:e.length}}(s,l,p),h=d.fromIndividuals,f=d.toIndividuals,g=h.length,y=0;y<g;y++)v=u?T({delay:u(y,g)},c):c,r(h[y],f[y],e?l[y]:t.one,e?t.one:l[y],v);else{var v,b=e?l[0]:s,x=e?s:l[0];mF(b)?m({many:[b],one:x},!0,a,i,!0):(wF(b,x,v=u?T({delay:u(a,i)},c):c),r(b,x,b,x,v))}}}function AF(t){if(!t)return[];if(G(t)){for(var e=[],n=0;n<t.length;n++)e.push(AF(t[n]));return e}var a=[];return t.traverse((function(t){t instanceof Jo&&!t.disableMorphing&&!t.invisible&&!t.ignore&&a.push(t)})),a}var LF=zi();function PF(t){var e=[];return z(t,(function(t){var n=t.data;if(!(n.count()>1e4))for(var a=n.getIndices(),i=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var a=t.getDimensionInfo(e[n]);if(a&&0===a.otherDims.itemGroupId)return e[n]}}(n),r=0;r<a.length;r++)e.push({data:n,dim:t.dim||i,divide:t.divide,dataIndex:r})})),e}function zF(t,e,n){t.traverse((function(t){t instanceof Jo&&Eu(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function OF(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function RF(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function NF(t,e,n){var a=Ou("update",n,e);a&&t.traverse((function(t){if(t instanceof Sr){var e=function(t){return zu(t).oldStyle}(t);e&&t.animateFrom({style:e},a)}}))}function EF(t,e,n){var a=PF(t),i=PF(e);function r(t,e,n,a,i){(n||t)&&e.animateFrom({style:(n||t).style},i)}function o(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var l=o(a),s=o(i),u=!1;function c(t,e){return function(n){var a=n.data,i=n.dataIndex;if(e)return a.getId(i);var r=a.hostModel&&a.hostModel.get("dataGroupId"),o=t?l||s:s||l,u=o&&a.getDimensionInfo(o),c=u&&u.ordinalMeta;if(u){var p=a.get(u.name,i);return c&&c.categories[p]||p+""}var d=a.getRawDataItem(i);return d&&d.groupId?d.groupId+"":r||a.getId(i)}}var p=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var a=0;a<n;a++){var i=t[a],r=e[a];if(i.data.getId(i.dataIndex)!==r.data.getId(r.dataIndex))return!1}return!0}(a,i),d={};if(!p)for(var h=0;h<i.length;h++){var f=i[h],g=f.data.getItemGraphicEl(f.dataIndex);g&&(d[g.id]=!0)}function m(t,e){var n=a[e],o=i[t],l=o.data.hostModel,s=n.data.getItemGraphicEl(n.dataIndex),c=o.data.getItemGraphicEl(o.dataIndex);s!==c?s&&d[s.id]||c&&(RF(c),s?(RF(s),OF(s),u=!0,DF(AF(s),AF(c),o.divide,l,t,r)):zF(c,l,t)):c&&NF(c,o.dataIndex,l)}new Nv(a,i,c(!0,p),c(!1,p),null,"multiple").update(m).updateManyToOne((function(t,e){var n=i[t],o=n.data,l=o.hostModel,s=o.getItemGraphicEl(n.dataIndex),c=N(O(e,(function(t){return a[t].data.getItemGraphicEl(a[t].dataIndex)})),(function(t){return t&&t!==s&&!d[t.id]}));s&&(RF(s),c.length?(z(c,(function(t){RF(t),OF(t)})),u=!0,DF(AF(c),AF(s),n.divide,l,t,r)):zF(s,l,n.dataIndex))})).updateOneToMany((function(t,e){var n=a[e],o=n.data.getItemGraphicEl(n.dataIndex);if(!o||!d[o.id]){var l=N(O(t,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==o})),s=i[t[0]].data.hostModel;l.length&&(z(l,(function(t){return RF(t)})),o?(RF(o),OF(o),u=!0,DF(AF(o),AF(l),n.divide,s,t[0],r)):z(l,(function(e){return zF(e,s,t[0])})))}})).updateManyToMany((function(t,e){new Nv(e,t,(function(t){return a[t].data.getId(a[t].dataIndex)}),(function(t){return i[t].data.getId(i[t].dataIndex)})).update((function(n,a){m(t[n],e[a])})).execute()})).execute(),u&&z(e,(function(t){var e=t.data.hostModel,a=e&&n.getViewOfSeriesModel(e),i=Ou("update",e,0);a&&e.isAnimationEnabled()&&i&&i.duration>0&&a.group.traverse((function(t){t instanceof Jo&&!t.animators.length&&t.animateFrom({style:{opacity:0}},i)}))}))}function BF(t){return t.getModel("universalTransition").get("seriesKey")||t.id}function VF(t){return G(t)?t.sort().join(","):t}function FF(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function GF(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}zv([function(t){t.registerPainter("canvas",Sw)}]),zv([function(t){t.registerPainter("svg",gw)}]),zv([function(t){t.registerChartView(lk),t.registerSeriesModel(Mw),t.registerLayout(sk("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,pk("line"))},function(t){t.registerChartView(_k),t.registerSeriesModel(hk),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,F(Bb,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Vb),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,pk("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(qk),t.registerSeriesModel(Jk),Bg("pie",t.registerAction),t.registerLayout(F(Gk,"pie")),t.registerProcessor(Hk("pie")),t.registerProcessor({seriesType:"pie",reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),a=n.get(e,t);return!("number"==typeof a&&!isNaN(a)&&a<0)}))}})},function(t){zv($S),t.registerSeriesModel(Qk),t.registerChartView(aS),t.registerLayout(sk("scatter"))},function(t){zv(pM),t.registerChartView(nM),t.registerSeriesModel(aM),t.registerLayout(JS),t.registerProcessor(Hk("radar")),t.registerPreprocessor(eM)},function(t){zv($M),t.registerChartView(RM),t.registerSeriesModel(NM),t.registerLayout(BM),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,EM),Bg("map",t.registerAction)},function(t){t.registerChartView(uI),t.registerSeriesModel(LI),t.registerLayout(zI),t.registerVisual(OI),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,a=e.getData().tree.getNodeByDataIndex(n);a.isExpand=!a.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=qM(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))}(t)},function(t){t.registerSeriesModel(BI),t.registerChartView($I),t.registerVisual(fT),t.registerLayout(TT),function(t){for(var e=0;e<NI.length;e++)t.registerAction({type:NI[e],update:"updateView"},RI);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var a=TI(t,["treemapZoomToNode","treemapRootToNode"],e);if(a){var i=e.getViewRoot();i&&(t.direction=DI(i,a.node)?"rollUp":"drillDown"),e.resetViewRoot(a.node)}}))}))}(t)},function(t){t.registerChartView(IC),t.registerSeriesModel(zC),t.registerProcessor(zT),t.registerVisual(OT),t.registerVisual(NT),t.registerLayout(XT),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,QT),t.registerLayout(eC),t.registerCoordinateSystem("graphView",{dimensions:FM.dimensions,create:nC}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){})),t.registerAction(OC,(function(t,e){e.eachComponent({mainType:"series",query:t},(function(e){var n=qM(e.coordinateSystem,t);e.setCenter&&e.setCenter(n.center),e.setZoom&&e.setZoom(n.zoom)}))}))},function(t){t.registerChartView(VC),t.registerSeriesModel(FC)},function(t){t.registerChartView(WC),t.registerSeriesModel(UC),t.registerLayout(YC),t.registerProcessor(Hk("funnel"))},function(t){zv(yA),t.registerChartView(XC),t.registerSeriesModel($C),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,tD)},function(t){t.registerChartView(xA),t.registerSeriesModel(_A),t.registerLayout(wA),t.registerVisual(OA),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(NA),t.registerChartView(EA),t.registerVisual(WA),t.registerLayout(YA),t.registerTransform(XA)},function(t){t.registerChartView(jA),t.registerSeriesModel(rL),t.registerPreprocessor(oL),t.registerVisual(pL),t.registerLayout(hL)},function(t){t.registerChartView(yL),t.registerSeriesModel(vL),t.registerLayout(sk("effectScatter"))},function(t){t.registerChartView(IL),t.registerSeriesModel(AL),t.registerLayout(ML),t.registerVisual(PL)},function(t){t.registerChartView(RL),t.registerSeriesModel(NL)},function(t){t.registerChartView(FL),t.registerSeriesModel(iP),t.registerLayout(F(Bb,"pictorialBar"))},function(t){t.registerChartView(rP),t.registerSeriesModel(oP),t.registerLayout(lP),t.registerProcessor(Hk("themeRiver"))},function(t){t.registerChartView(dP),t.registerSeriesModel(hP),t.registerLayout(F(mP,"sunburst")),t.registerProcessor(F(Hk,"sunburst")),t.registerVisual(vP),function(t){t.registerAction({type:cP,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var a=TI(t,[cP],e);if(a){var i=e.getViewRoot();i&&(t.direction=DI(i,a.node)?"rollUp":"drillDown"),e.resetViewRoot(a.node)}}))})),t.registerAction({type:pP,update:"none"},(function(t,e,n){t=I({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=TI(t,[pP],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(I(t,{type:"highlight"}))})),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e,n){t=I({},t),n.dispatchAction(I(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(JP),t.registerSeriesModel(kP)}]),zv((function(t){zv($S),zv(nO)})),zv((function(t){zv(nO),VS.registerAxisPointerClass("PolarAxisPointer",aO),t.registerCoordinateSystem("polar",yO),t.registerComponentModel(rO),t.registerComponentView(zO),pS(t,"angle",lO,LO),pS(t,"radius",sO,PO),t.registerComponentView(wO),t.registerComponentView(IO),t.registerLayout(F(AO,"bar"))})),zv($M),zv((function(t){zv(nO),VS.registerAxisPointerClass("SingleAxisPointer",ZO),t.registerComponentView($O),t.registerComponentView(EO),t.registerComponentModel(VO),pS(t,"single",VO,VO.defaultOption),t.registerCoordinateSystem("single",UO)})),zv(yA),zv((function(t){t.registerComponentModel(JO),t.registerComponentView(nR),t.registerCoordinateSystem("calendar",iR)})),zv((function(t){t.registerComponentModel(uR),t.registerComponentView(cR),t.registerPreprocessor(sR)})),zv((function(t){t.registerComponentModel(NR),t.registerComponentView(BR),OR("saveAsImage",VR),OR("magicType",HR),OR("dataView",qR),OR("dataZoom",yN),OR("restore",tN),zv(LR)})),zv((function(t){zv(nO),t.registerComponentModel(xN),t.registerComponentView(FN),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},(function(){})),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},(function(){}))})),zv(nO),zv((function(t){t.registerComponentView(sE),t.registerComponentModel(uE),t.registerPreprocessor(YN),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,aE),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"},(function(){})),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},(function(){})),OR("brush",dE)})),zv((function(t){t.registerComponentModel(hE),t.registerComponentView(fE)})),zv((function(t){t.registerComponentModel(mE),t.registerComponentView(_E),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var a=e.getComponent("timeline");return a&&null!=t.currentIndex&&(a.setCurrentIndex(t.currentIndex),!a.get("loop",!0)&&a.isIndexMax()&&a.getPlayState()&&(a.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),T({currentIndex:a.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(SE)})),zv((function(t){t.registerComponentModel(LE),t.registerComponentView(HE),t.registerPreprocessor((function(t){TE(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),zv((function(t){t.registerComponentModel(WE),t.registerComponentView(KE),t.registerPreprocessor((function(t){TE(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),zv((function(t){t.registerComponentModel($E),t.registerComponentView(rB),t.registerPreprocessor((function(t){TE(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),zv((function(t){zv(yB),zv(SB)})),zv((function(t){zv(NB),zv(YB)})),zv(NB),zv(YB),zv((function(t){zv(MV),zv(AV)})),zv(MV),zv(AV),zv((function(t){t.registerPreprocessor(RV),t.registerVisual(t.PRIORITY.VISUAL.ARIA,OV)})),zv((function(t){t.registerTransform(ZV),t.registerTransform(jV)})),zv((function(t){t.registerComponentModel(qV),t.registerComponentView(KV)})),zv((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){z(_i(n.seriesTransition),(function(t){z(_i(t.to),(function(t){for(var e=n.updatedSeries,a=0;a<e.length;a++)(null!=t.seriesIndex&&t.seriesIndex===e[a].seriesIndex||null!=t.seriesId&&t.seriesId===e[a].id)&&(e[a].__universalTransitionEnabled=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var a=LF(e);if(a.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)z(_i(i),(function(t){!function(t,e,n,a){var i=[],r=[];z(_i(t.from),(function(t){var n=GF(e.oldSeries,t);n>=0&&i.push({data:e.oldData[n],divide:FF(e.oldData[n]),dim:t.dimension})})),z(_i(t.to),(function(t){var e=GF(n.updatedSeries,t);if(e>=0){var a=n.updatedSeries[e].getData();r.push({data:a,divide:FF(a),dim:t.dimension})}})),i.length>0&&r.length>0&&EF(i,r,a)}(t,a,n,e)}));else{var r=function(t,e){var n=pt(),a=pt(),i=pt();return z(t.oldSeries,(function(e,n){var r=t.oldData[n],o=BF(e),l=VF(o);a.set(l,r),G(o)&&z(o,(function(t){i.set(t,{data:r,key:l})}))})),z(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.getData(),r=BF(t),o=VF(r),l=a.get(o);if(l)n.set(o,{oldSeries:[{divide:FF(l),data:l}],newSeries:[{divide:FF(e),data:e}]});else if(G(r)){var s=[];z(r,(function(t){var e=a.get(t);e&&s.push({divide:FF(e),data:e})})),s.length&&n.set(o,{oldSeries:s,newSeries:[{data:e,divide:FF(e)}]})}else{var u=i.get(r);if(u){var c=n.get(u.key);c||(c={oldSeries:[{data:u.data,divide:FF(u.data)}],newSeries:[]},n.set(u.key,c)),c.newSeries.push({data:e,divide:FF(e)})}}}})),n}(a,n);z(r.keys(),(function(t){var n=r.get(t);EF(n.oldSeries,n.newSeries,e)}))}z(n.updatedSeries,(function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)}))}for(var o=t.getSeries(),l=a.oldSeries=[],s=a.oldData=[],u=0;u<o.length;u++){var c=o[u].getData();c.count()<1e4&&(l.push(o[u]),s.push(c))}}))})),zv((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var a=M_(e).labelManager;a||(a=M_(e).labelManager=new S_),a.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var a=M_(e).labelManager;n.updatedSeries.forEach((function(t){a.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),a.updateLayoutConfig(e),a.layout(e),a.processLabelsOverall()}))})),t.Axis=Fx,t.ChartView=Uf,t.ComponentModel=Qp,t.ComponentView=Ff,t.List=ob,t.Model=Hc,t.PRIORITY=Sy,t.SeriesModel=Pf,t.color=en,t.connect=function(t){if(G(t)){var e=t;t=null,z(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+pv++,z(e,(function(e){e.group=t}))}return uv[t]=!0,t},t.dataTool={},t.dependencies={zrender:"5.2.1"},t.disConnect=hv,t.disconnect=fv,t.dispose=function(t){"string"==typeof t?t=sv[t]:t instanceof $y||(t=gv(t)),t instanceof $y&&!t.isDisposed()&&t.dispose()},t.env=o,t.extendChartView=function(t){var e=Uf.extend(t);return Uf.registerClass(e),e},t.extendComponentModel=function(t){var e=Qp.extend(t);return Qp.registerClass(e),e},t.extendComponentView=function(t){var e=Ff.extend(t);return Ff.registerClass(e),e},t.extendSeriesModel=function(t){var e=Pf.extend(t);return Pf.registerClass(e),e},t.format=Cx,t.getCoordinateSystemDimensions=function(t){var e=Ed.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()},t.getInstanceByDom=gv,t.getInstanceById=function(t){return sv[t]},t.getMap=function(t){return vy(t)},t.graphic=Tx,t.helper=Sx,t.init=function(t,e,n){var a=gv(t);if(a)return a;var i=new $y(t,e,n);return i.id="ec_"+cv++,sv[i.id]=i,Fi(t,dv,i.id),Xy(i),xy.trigger("afterinit",i),i},t.innerDrawElementOnCanvas=vm,t.matrix=Kn,t.number=Mx,t.parseGeoJSON=iy,t.parseGeoJson=iy,t.registerAction=wv,t.registerCoordinateSystem=kv,t.registerLayout=Sv,t.registerLoading=Cv,t.registerLocale=Jc,t.registerMap=Dv,t.registerPostInit=bv,t.registerPostUpdate=xv,t.registerPreprocessor=yv,t.registerProcessor=vv,t.registerTheme=mv,t.registerTransform=Av,t.registerUpdateLifecycle=_v,t.registerVisual=Mv,t.setCanvasCreator=function(t){b("createCanvas",t)},t.throttle=Qf,t.time=Ix,t.use=zv,t.util=Dx,t.vector=Bt,t.version="5.2.1",t.zrUtil=mt,t.zrender=Xa,Object.defineProperty(t,"__esModule",{value:!0})}(e)})),nH=h(eH);l.default("/*!\n * \n * antd v4.16.13\n * \n * Copyright 2015-present, Alipay, Inc.\n * All rights reserved.\n *       \n */\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n[class^=ant-]::-ms-clear,\n[class*= ant-]::-ms-clear,\n[class^=ant-] input::-ms-clear,\n[class*= ant-] input::-ms-clear,\n[class^=ant-] input::-ms-reveal,\n[class*= ant-] input::-ms-reveal {\n  display: none;\n}\n/* stylelint-disable at-rule-no-unknown */\nhtml,\nbody {\n  width: 100%;\n  height: 100%;\n}\ninput::-ms-clear,\ninput::-ms-reveal {\n  display: none;\n}\n*,\n*::before,\n*::after {\n  box-sizing: border-box;\n}\nhtml {\n  font-family: sans-serif;\n  line-height: 1.15;\n  -webkit-text-size-adjust: 100%;\n  -ms-text-size-adjust: 100%;\n  -ms-overflow-style: scrollbar;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n@-ms-viewport {\n  width: device-width;\n}\nbody {\n  margin: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  background-color: #fff;\n  font-feature-settings: 'tnum';\n}\n[tabindex='-1']:focus {\n  outline: none !important;\n}\nhr {\n  box-sizing: content-box;\n  height: 0;\n  overflow: visible;\n}\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-top: 0;\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n}\np {\n  margin-top: 0;\n  margin-bottom: 1em;\n}\nabbr[title],\nabbr[data-original-title] {\n  text-decoration: underline;\n  -webkit-text-decoration: underline dotted;\n          text-decoration: underline dotted;\n  border-bottom: 0;\n  cursor: help;\n}\naddress {\n  margin-bottom: 1em;\n  font-style: normal;\n  line-height: inherit;\n}\ninput[type='text'],\ninput[type='password'],\ninput[type='number'],\ntextarea {\n  -webkit-appearance: none;\n}\nol,\nul,\ndl {\n  margin-top: 0;\n  margin-bottom: 1em;\n}\nol ol,\nul ul,\nol ul,\nul ol {\n  margin-bottom: 0;\n}\ndt {\n  font-weight: 500;\n}\ndd {\n  margin-bottom: 0.5em;\n  margin-left: 0;\n}\nblockquote {\n  margin: 0 0 1em;\n}\ndfn {\n  font-style: italic;\n}\nb,\nstrong {\n  font-weight: bolder;\n}\nsmall {\n  font-size: 80%;\n}\nsub,\nsup {\n  position: relative;\n  font-size: 75%;\n  line-height: 0;\n  vertical-align: baseline;\n}\nsub {\n  bottom: -0.25em;\n}\nsup {\n  top: -0.5em;\n}\na {\n  color: #1890ff;\n  text-decoration: none;\n  background-color: transparent;\n  outline: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  -webkit-text-decoration-skip: objects;\n}\na:hover {\n  color: #40a9ff;\n}\na:active {\n  color: #096dd9;\n}\na:active,\na:hover {\n  text-decoration: none;\n  outline: 0;\n}\na:focus {\n  text-decoration: none;\n  outline: 0;\n}\na[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\npre,\ncode,\nkbd,\nsamp {\n  font-size: 1em;\n  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n}\npre {\n  margin-top: 0;\n  margin-bottom: 1em;\n  overflow: auto;\n}\nfigure {\n  margin: 0 0 1em;\n}\nimg {\n  vertical-align: middle;\n  border-style: none;\n}\nsvg:not(:root) {\n  overflow: hidden;\n}\na,\narea,\nbutton,\n[role='button'],\ninput:not([type='range']),\nlabel,\nselect,\nsummary,\ntextarea {\n  touch-action: manipulation;\n}\ntable {\n  border-collapse: collapse;\n}\ncaption {\n  padding-top: 0.75em;\n  padding-bottom: 0.3em;\n  color: rgba(0, 0, 0, 0.45);\n  text-align: left;\n  caption-side: bottom;\n}\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n  margin: 0;\n  color: inherit;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: inherit;\n}\nbutton,\ninput {\n  overflow: visible;\n}\nbutton,\nselect {\n  text-transform: none;\n}\nbutton,\nhtml [type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n  -webkit-appearance: button;\n}\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n  padding: 0;\n  border-style: none;\n}\ninput[type='radio'],\ninput[type='checkbox'] {\n  box-sizing: border-box;\n  padding: 0;\n}\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n  -webkit-appearance: listbox;\n}\ntextarea {\n  overflow: auto;\n  resize: vertical;\n}\nfieldset {\n  min-width: 0;\n  margin: 0;\n  padding: 0;\n  border: 0;\n}\nlegend {\n  display: block;\n  width: 100%;\n  max-width: 100%;\n  margin-bottom: 0.5em;\n  padding: 0;\n  color: inherit;\n  font-size: 1.5em;\n  line-height: inherit;\n  white-space: normal;\n}\nprogress {\n  vertical-align: baseline;\n}\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n  height: auto;\n}\n[type='search'] {\n  outline-offset: -2px;\n  -webkit-appearance: none;\n}\n[type='search']::-webkit-search-cancel-button,\n[type='search']::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n::-webkit-file-upload-button {\n  font: inherit;\n  -webkit-appearance: button;\n}\noutput {\n  display: inline-block;\n}\nsummary {\n  display: list-item;\n}\ntemplate {\n  display: none;\n}\n[hidden] {\n  display: none !important;\n}\nmark {\n  padding: 0.2em;\n  background-color: #feffe6;\n}\n::-moz-selection {\n  color: #fff;\n  background: #1890ff;\n}\n::selection {\n  color: #fff;\n  background: #1890ff;\n}\n.clearfix::before {\n  display: table;\n  content: '';\n}\n.clearfix::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.anticon {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n.anticon > * {\n  line-height: 1;\n}\n.anticon svg {\n  display: inline-block;\n}\n.anticon::before {\n  display: none;\n}\n.anticon .anticon-icon {\n  display: block;\n}\n.anticon[tabindex] {\n  cursor: pointer;\n}\n.anticon-spin::before {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n          animation: loadingCircle 1s infinite linear;\n}\n.anticon-spin {\n  display: inline-block;\n  -webkit-animation: loadingCircle 1s infinite linear;\n          animation: loadingCircle 1s infinite linear;\n}\n.ant-fade-enter,\n.ant-fade-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-fade-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-fade-enter.ant-fade-enter-active,\n.ant-fade-appear.ant-fade-appear-active {\n  -webkit-animation-name: antFadeIn;\n          animation-name: antFadeIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-fade-leave.ant-fade-leave-active {\n  -webkit-animation-name: antFadeOut;\n          animation-name: antFadeOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-fade-enter,\n.ant-fade-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: linear;\n          animation-timing-function: linear;\n}\n.ant-fade-leave {\n  -webkit-animation-timing-function: linear;\n          animation-timing-function: linear;\n}\n@-webkit-keyframes antFadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n@keyframes antFadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antFadeOut {\n  0% {\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}\n@keyframes antFadeOut {\n  0% {\n    opacity: 1;\n  }\n  100% {\n    opacity: 0;\n  }\n}\n.ant-move-up-enter,\n.ant-move-up-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-up-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-up-enter.ant-move-up-enter-active,\n.ant-move-up-appear.ant-move-up-appear-active {\n  -webkit-animation-name: antMoveUpIn;\n          animation-name: antMoveUpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-up-leave.ant-move-up-leave-active {\n  -webkit-animation-name: antMoveUpOut;\n          animation-name: antMoveUpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-up-enter,\n.ant-move-up-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-up-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n.ant-move-down-enter,\n.ant-move-down-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-down-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-down-enter.ant-move-down-enter-active,\n.ant-move-down-appear.ant-move-down-appear-active {\n  -webkit-animation-name: antMoveDownIn;\n          animation-name: antMoveDownIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-down-leave.ant-move-down-leave-active {\n  -webkit-animation-name: antMoveDownOut;\n          animation-name: antMoveDownOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-down-enter,\n.ant-move-down-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-down-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n.ant-move-left-enter,\n.ant-move-left-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-left-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-left-enter.ant-move-left-enter-active,\n.ant-move-left-appear.ant-move-left-appear-active {\n  -webkit-animation-name: antMoveLeftIn;\n          animation-name: antMoveLeftIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-left-leave.ant-move-left-leave-active {\n  -webkit-animation-name: antMoveLeftOut;\n          animation-name: antMoveLeftOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-left-enter,\n.ant-move-left-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-left-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n.ant-move-right-enter,\n.ant-move-right-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-right-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-move-right-enter.ant-move-right-enter-active,\n.ant-move-right-appear.ant-move-right-appear-active {\n  -webkit-animation-name: antMoveRightIn;\n          animation-name: antMoveRightIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-move-right-leave.ant-move-right-leave-active {\n  -webkit-animation-name: antMoveRightOut;\n          animation-name: antMoveRightOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-move-right-enter,\n.ant-move-right-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-move-right-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n          animation-timing-function: cubic-bezier(0.6, 0.04, 0.98, 0.34);\n}\n@-webkit-keyframes antMoveDownIn {\n  0% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveDownIn {\n  0% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveDownOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveDownOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antMoveLeftIn {\n  0% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveLeftIn {\n  0% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveLeftOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveLeftOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antMoveRightIn {\n  0% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveRightIn {\n  0% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveRightOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveRightOut {\n  0% {\n    transform: translateX(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateX(100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antMoveUpIn {\n  0% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@keyframes antMoveUpIn {\n  0% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antMoveUpOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@keyframes antMoveUpOut {\n  0% {\n    transform: translateY(0%);\n    transform-origin: 0 0;\n    opacity: 1;\n  }\n  100% {\n    transform: translateY(-100%);\n    transform-origin: 0 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes loadingCircle {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n@keyframes loadingCircle {\n  100% {\n    transform: rotate(360deg);\n  }\n}\n[ant-click-animating='true'],\n[ant-click-animating-without-extra-node='true'] {\n  position: relative;\n}\nhtml {\n  --antd-wave-shadow-color: #1890ff;\n  --scroll-bar: 0;\n}\n[ant-click-animating-without-extra-node='true']::after,\n.ant-click-animating-node {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  border-radius: inherit;\n  box-shadow: 0 0 0 0 #1890ff;\n  box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);\n  opacity: 0.2;\n  -webkit-animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1), waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);\n  -webkit-animation-fill-mode: forwards;\n          animation-fill-mode: forwards;\n  content: '';\n  pointer-events: none;\n}\n@-webkit-keyframes waveEffect {\n  100% {\n    box-shadow: 0 0 0 #1890ff;\n    box-shadow: 0 0 0 6px var(--antd-wave-shadow-color);\n  }\n}\n@keyframes waveEffect {\n  100% {\n    box-shadow: 0 0 0 #1890ff;\n    box-shadow: 0 0 0 6px var(--antd-wave-shadow-color);\n  }\n}\n@-webkit-keyframes fadeEffect {\n  100% {\n    opacity: 0;\n  }\n}\n@keyframes fadeEffect {\n  100% {\n    opacity: 0;\n  }\n}\n.ant-slide-up-enter,\n.ant-slide-up-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-up-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-up-enter.ant-slide-up-enter-active,\n.ant-slide-up-appear.ant-slide-up-appear-active {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-up-leave.ant-slide-up-leave-active {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-up-enter,\n.ant-slide-up-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-up-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n.ant-slide-down-enter,\n.ant-slide-down-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-down-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-down-enter.ant-slide-down-enter-active,\n.ant-slide-down-appear.ant-slide-down-appear-active {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-down-leave.ant-slide-down-leave-active {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-down-enter,\n.ant-slide-down-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-down-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n.ant-slide-left-enter,\n.ant-slide-left-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-left-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-left-enter.ant-slide-left-enter-active,\n.ant-slide-left-appear.ant-slide-left-appear-active {\n  -webkit-animation-name: antSlideLeftIn;\n          animation-name: antSlideLeftIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-left-leave.ant-slide-left-leave-active {\n  -webkit-animation-name: antSlideLeftOut;\n          animation-name: antSlideLeftOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-left-enter,\n.ant-slide-left-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-left-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n.ant-slide-right-enter,\n.ant-slide-right-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-right-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-slide-right-enter.ant-slide-right-enter-active,\n.ant-slide-right-appear.ant-slide-right-appear-active {\n  -webkit-animation-name: antSlideRightIn;\n          animation-name: antSlideRightIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-slide-right-leave.ant-slide-right-leave-active {\n  -webkit-animation-name: antSlideRightOut;\n          animation-name: antSlideRightOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-slide-right-enter,\n.ant-slide-right-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n          animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);\n}\n.ant-slide-right-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n          animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);\n}\n@-webkit-keyframes antSlideUpIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideUpIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideUpOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideUpOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antSlideDownIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideDownIn {\n  0% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideDownOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideDownOut {\n  0% {\n    transform: scaleY(1);\n    transform-origin: 100% 100%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleY(0.8);\n    transform-origin: 100% 100%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antSlideLeftIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideLeftIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideLeftOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideLeftOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 0% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 0% 0%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antSlideRightIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n}\n@keyframes antSlideRightIn {\n  0% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antSlideRightOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antSlideRightOut {\n  0% {\n    transform: scaleX(1);\n    transform-origin: 100% 0%;\n    opacity: 1;\n  }\n  100% {\n    transform: scaleX(0.8);\n    transform-origin: 100% 0%;\n    opacity: 0;\n  }\n}\n.ant-zoom-enter,\n.ant-zoom-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-enter.ant-zoom-enter-active,\n.ant-zoom-appear.ant-zoom-appear-active {\n  -webkit-animation-name: antZoomIn;\n          animation-name: antZoomIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-leave.ant-zoom-leave-active {\n  -webkit-animation-name: antZoomOut;\n          animation-name: antZoomOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-enter,\n.ant-zoom-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-enter-prepare,\n.ant-zoom-appear-prepare {\n  transform: none;\n}\n.ant-zoom-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-big-enter,\n.ant-zoom-big-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-enter.ant-zoom-big-enter-active,\n.ant-zoom-big-appear.ant-zoom-big-appear-active {\n  -webkit-animation-name: antZoomBigIn;\n          animation-name: antZoomBigIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-big-leave.ant-zoom-big-leave-active {\n  -webkit-animation-name: antZoomBigOut;\n          animation-name: antZoomBigOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-big-enter,\n.ant-zoom-big-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-big-enter-prepare,\n.ant-zoom-big-appear-prepare {\n  transform: none;\n}\n.ant-zoom-big-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-big-fast-enter,\n.ant-zoom-big-fast-appear {\n  -webkit-animation-duration: 0.1s;\n          animation-duration: 0.1s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-fast-leave {\n  -webkit-animation-duration: 0.1s;\n          animation-duration: 0.1s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active,\n.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active {\n  -webkit-animation-name: antZoomBigIn;\n          animation-name: antZoomBigIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-big-fast-leave.ant-zoom-big-fast-leave-active {\n  -webkit-animation-name: antZoomBigOut;\n          animation-name: antZoomBigOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-big-fast-enter,\n.ant-zoom-big-fast-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-big-fast-enter-prepare,\n.ant-zoom-big-fast-appear-prepare {\n  transform: none;\n}\n.ant-zoom-big-fast-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-up-enter,\n.ant-zoom-up-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-up-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-up-enter.ant-zoom-up-enter-active,\n.ant-zoom-up-appear.ant-zoom-up-appear-active {\n  -webkit-animation-name: antZoomUpIn;\n          animation-name: antZoomUpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-up-leave.ant-zoom-up-leave-active {\n  -webkit-animation-name: antZoomUpOut;\n          animation-name: antZoomUpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-up-enter,\n.ant-zoom-up-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-up-enter-prepare,\n.ant-zoom-up-appear-prepare {\n  transform: none;\n}\n.ant-zoom-up-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-down-enter,\n.ant-zoom-down-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-down-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-down-enter.ant-zoom-down-enter-active,\n.ant-zoom-down-appear.ant-zoom-down-appear-active {\n  -webkit-animation-name: antZoomDownIn;\n          animation-name: antZoomDownIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-down-leave.ant-zoom-down-leave-active {\n  -webkit-animation-name: antZoomDownOut;\n          animation-name: antZoomDownOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-down-enter,\n.ant-zoom-down-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-down-enter-prepare,\n.ant-zoom-down-appear-prepare {\n  transform: none;\n}\n.ant-zoom-down-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-left-enter,\n.ant-zoom-left-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-left-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-left-enter.ant-zoom-left-enter-active,\n.ant-zoom-left-appear.ant-zoom-left-appear-active {\n  -webkit-animation-name: antZoomLeftIn;\n          animation-name: antZoomLeftIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-left-leave.ant-zoom-left-leave-active {\n  -webkit-animation-name: antZoomLeftOut;\n          animation-name: antZoomLeftOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-left-enter,\n.ant-zoom-left-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-left-enter-prepare,\n.ant-zoom-left-appear-prepare {\n  transform: none;\n}\n.ant-zoom-left-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-zoom-right-enter,\n.ant-zoom-right-appear {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-right-leave {\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-zoom-right-enter.ant-zoom-right-enter-active,\n.ant-zoom-right-appear.ant-zoom-right-appear-active {\n  -webkit-animation-name: antZoomRightIn;\n          animation-name: antZoomRightIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-zoom-right-leave.ant-zoom-right-leave-active {\n  -webkit-animation-name: antZoomRightOut;\n          animation-name: antZoomRightOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-zoom-right-enter,\n.ant-zoom-right-appear {\n  transform: scale(0);\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n          animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n.ant-zoom-right-enter-prepare,\n.ant-zoom-right-appear-prepare {\n  transform: none;\n}\n.ant-zoom-right-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n@-webkit-keyframes antZoomIn {\n  0% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes antZoomIn {\n  0% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antZoomOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n}\n@keyframes antZoomOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.2);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomBigIn {\n  0% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes antZoomBigIn {\n  0% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antZoomBigOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n}\n@keyframes antZoomBigOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0.8);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomUpIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n}\n@keyframes antZoomUpIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n}\n@-webkit-keyframes antZoomUpOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomUpOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 0%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 0%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomLeftIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n}\n@keyframes antZoomLeftIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n}\n@-webkit-keyframes antZoomLeftOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomLeftOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 0% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 0% 50%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomRightIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n}\n@keyframes antZoomRightIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n}\n@-webkit-keyframes antZoomRightOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomRightOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 100% 50%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 100% 50%;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antZoomDownIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n}\n@keyframes antZoomDownIn {\n  0% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n}\n@-webkit-keyframes antZoomDownOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n}\n@keyframes antZoomDownOut {\n  0% {\n    transform: scale(1);\n    transform-origin: 50% 100%;\n  }\n  100% {\n    transform: scale(0.8);\n    transform-origin: 50% 100%;\n    opacity: 0;\n  }\n}\n.ant-motion-collapse-legacy {\n  overflow: hidden;\n}\n.ant-motion-collapse-legacy-active {\n  transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;\n}\n.ant-motion-collapse {\n  overflow: hidden;\n  transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-affix {\n  position: fixed;\n  z-index: 10;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-alert {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: flex;\n  align-items: center;\n  padding: 8px 15px;\n  word-wrap: break-word;\n  border-radius: 2px;\n}\n.ant-alert-content {\n  flex: 1;\n  min-width: 0;\n}\n.ant-alert-icon {\n  margin-right: 8px;\n}\n.ant-alert-description {\n  display: none;\n  font-size: 14px;\n  line-height: 22px;\n}\n.ant-alert-success {\n  background-color: #f6ffed;\n  border: 1px solid #b7eb8f;\n}\n.ant-alert-success .ant-alert-icon {\n  color: #52c41a;\n}\n.ant-alert-info {\n  background-color: #e6f7ff;\n  border: 1px solid #91d5ff;\n}\n.ant-alert-info .ant-alert-icon {\n  color: #1890ff;\n}\n.ant-alert-warning {\n  background-color: #fffbe6;\n  border: 1px solid #ffe58f;\n}\n.ant-alert-warning .ant-alert-icon {\n  color: #faad14;\n}\n.ant-alert-error {\n  background-color: #fff2f0;\n  border: 1px solid #ffccc7;\n}\n.ant-alert-error .ant-alert-icon {\n  color: #ff4d4f;\n}\n.ant-alert-error .ant-alert-description > pre {\n  margin: 0;\n  padding: 0;\n}\n.ant-alert-action {\n  margin-left: 8px;\n}\n.ant-alert-close-icon {\n  margin-left: 8px;\n  padding: 0;\n  overflow: hidden;\n  font-size: 12px;\n  line-height: 12px;\n  background-color: transparent;\n  border: none;\n  outline: none;\n  cursor: pointer;\n}\n.ant-alert-close-icon .anticon-close {\n  color: rgba(0, 0, 0, 0.45);\n  transition: color 0.3s;\n}\n.ant-alert-close-icon .anticon-close:hover {\n  color: rgba(0, 0, 0, 0.75);\n}\n.ant-alert-close-text {\n  color: rgba(0, 0, 0, 0.45);\n  transition: color 0.3s;\n}\n.ant-alert-close-text:hover {\n  color: rgba(0, 0, 0, 0.75);\n}\n.ant-alert-with-description {\n  align-items: flex-start;\n  padding: 15px 15px 15px 24px;\n}\n.ant-alert-with-description.ant-alert-no-icon {\n  padding: 15px 15px;\n}\n.ant-alert-with-description .ant-alert-icon {\n  margin-right: 15px;\n  font-size: 24px;\n}\n.ant-alert-with-description .ant-alert-message {\n  display: block;\n  margin-bottom: 4px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 16px;\n}\n.ant-alert-message {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-alert-with-description .ant-alert-description {\n  display: block;\n}\n.ant-alert.ant-alert-motion-leave {\n  overflow: hidden;\n  opacity: 1;\n  transition: max-height 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), opacity 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-top 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), padding-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), margin-bottom 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-alert.ant-alert-motion-leave-active {\n  max-height: 0;\n  margin-bottom: 0 !important;\n  padding-top: 0;\n  padding-bottom: 0;\n  opacity: 0;\n}\n.ant-alert-banner {\n  margin-bottom: 0;\n  border: 0;\n  border-radius: 0;\n}\n.ant-alert.ant-alert-rtl {\n  direction: rtl;\n}\n.ant-alert-rtl.ant-alert.ant-alert-no-icon {\n  padding: 8px 15px;\n}\n.ant-alert-rtl .ant-alert-icon {\n  margin-right: auto;\n  margin-left: 8px;\n}\n.ant-alert-rtl .ant-alert-action {\n  margin-right: 8px;\n  margin-left: auto;\n}\n.ant-alert-rtl .ant-alert-close-icon {\n  margin-right: 8px;\n  margin-left: auto;\n}\n.ant-alert-rtl.ant-alert-with-description .ant-alert-icon {\n  margin-right: auto;\n  margin-left: 15px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-anchor {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  padding-left: 2px;\n}\n.ant-anchor-wrapper {\n  margin-left: -4px;\n  padding-left: 4px;\n  overflow: auto;\n  background-color: transparent;\n}\n.ant-anchor-ink {\n  position: absolute;\n  top: 0;\n  left: 0;\n  height: 100%;\n}\n.ant-anchor-ink::before {\n  position: relative;\n  display: block;\n  width: 2px;\n  height: 100%;\n  margin: 0 auto;\n  background-color: #f0f0f0;\n  content: ' ';\n}\n.ant-anchor-ink-ball {\n  position: absolute;\n  left: 50%;\n  display: none;\n  width: 8px;\n  height: 8px;\n  background-color: #fff;\n  border: 2px solid #1890ff;\n  border-radius: 8px;\n  transform: translateX(-50%);\n  transition: top 0.3s ease-in-out;\n}\n.ant-anchor-ink-ball.visible {\n  display: inline-block;\n}\n.ant-anchor.fixed .ant-anchor-ink .ant-anchor-ink-ball {\n  display: none;\n}\n.ant-anchor-link {\n  padding: 7px 0 7px 16px;\n  line-height: 1.143;\n}\n.ant-anchor-link-title {\n  position: relative;\n  display: block;\n  margin-bottom: 6px;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.85);\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  transition: all 0.3s;\n}\n.ant-anchor-link-title:only-child {\n  margin-bottom: 0;\n}\n.ant-anchor-link-active > .ant-anchor-link-title {\n  color: #1890ff;\n}\n.ant-anchor-link .ant-anchor-link {\n  padding-top: 5px;\n  padding-bottom: 5px;\n}\n.ant-anchor-rtl {\n  direction: rtl;\n}\n.ant-anchor-rtl.ant-anchor-wrapper {\n  margin-right: -4px;\n  margin-left: 0;\n  padding-right: 4px;\n  padding-left: 0;\n}\n.ant-anchor-rtl .ant-anchor-ink {\n  right: 0;\n  left: auto;\n}\n.ant-anchor-rtl .ant-anchor-ink-ball {\n  right: 50%;\n  left: 0;\n  transform: translateX(50%);\n}\n.ant-anchor-rtl .ant-anchor-link {\n  padding: 7px 16px 7px 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-select-auto-complete {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-select-auto-complete .ant-select-clear {\n  right: 13px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-select-single .ant-select-selector {\n  display: flex;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-search {\n  position: absolute;\n  top: 0;\n  right: 11px;\n  bottom: 0;\n  left: 11px;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-search-input {\n  width: 100%;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-item,\n.ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n  padding: 0;\n  line-height: 30px;\n  transition: all 0.3s;\n}\n@supports (-moz-appearance: meterbar) {\n  .ant-select-single .ant-select-selector .ant-select-selection-item,\n  .ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n    line-height: 30px;\n  }\n}\n.ant-select-single .ant-select-selector .ant-select-selection-item {\n  position: relative;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n  pointer-events: none;\n}\n.ant-select-single .ant-select-selector::after,\n.ant-select-single .ant-select-selector .ant-select-selection-item::after,\n.ant-select-single .ant-select-selector .ant-select-selection-placeholder::after {\n  display: inline-block;\n  width: 0;\n  visibility: hidden;\n  content: '\\a0';\n}\n.ant-select-single.ant-select-show-arrow .ant-select-selection-search {\n  right: 25px;\n}\n.ant-select-single.ant-select-show-arrow .ant-select-selection-item,\n.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 18px;\n}\n.ant-select-single.ant-select-open .ant-select-selection-item {\n  color: #bfbfbf;\n}\n.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {\n  width: 100%;\n  height: 32px;\n  padding: 0 11px;\n}\n.ant-select-single:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {\n  height: 30px;\n}\n.ant-select-single:not(.ant-select-customize-input) .ant-select-selector::after {\n  line-height: 30px;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector::after {\n  display: none;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-search {\n  position: static;\n  width: 100%;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder {\n  position: absolute;\n  right: 0;\n  left: 0;\n  padding: 0 11px;\n}\n.ant-select-single.ant-select-customize-input .ant-select-selector .ant-select-selection-placeholder::after {\n  display: none;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {\n  height: 40px;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector::after,\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder {\n  line-height: 38px;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input {\n  height: 38px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector {\n  height: 24px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector::after,\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-item,\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-placeholder {\n  line-height: 22px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input):not(.ant-select-customize-input) .ant-select-selection-search-input {\n  height: 22px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selection-search {\n  right: 7px;\n  left: 7px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input) .ant-select-selector {\n  padding: 0 7px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search {\n  right: 28px;\n}\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,\n.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 21px;\n}\n.ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {\n  padding: 0 11px;\n}\n/**\n * Do not merge `height` & `line-height` under style with `selection` & `search`,\n * since chrome may update to redesign with its align logic.\n */\n.ant-select-selection-overflow {\n  position: relative;\n  display: flex;\n  flex: auto;\n  flex-wrap: wrap;\n  max-width: 100%;\n}\n.ant-select-selection-overflow-item {\n  flex: none;\n  align-self: center;\n  max-width: 100%;\n}\n.ant-select-multiple .ant-select-selector {\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  padding: 1px 4px;\n}\n.ant-select-show-search.ant-select-multiple .ant-select-selector {\n  cursor: text;\n}\n.ant-select-disabled.ant-select-multiple .ant-select-selector {\n  background: #f5f5f5;\n  cursor: not-allowed;\n}\n.ant-select-multiple .ant-select-selector::after {\n  display: inline-block;\n  width: 0;\n  margin: 2px 0;\n  line-height: 24px;\n  content: '\\a0';\n}\n.ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n  padding-right: 24px;\n}\n.ant-select-multiple .ant-select-selection-item {\n  position: relative;\n  display: flex;\n  flex: none;\n  box-sizing: border-box;\n  max-width: 100%;\n  height: 24px;\n  margin-top: 2px;\n  margin-bottom: 2px;\n  line-height: 22px;\n  background: #f5f5f5;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n  cursor: default;\n  transition: font-size 0.3s, line-height 0.3s, height 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  -webkit-margin-end: 4px;\n          margin-inline-end: 4px;\n  -webkit-padding-start: 8px;\n          padding-inline-start: 8px;\n  -webkit-padding-end: 4px;\n          padding-inline-end: 4px;\n}\n.ant-select-disabled.ant-select-multiple .ant-select-selection-item {\n  color: #bfbfbf;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-select-multiple .ant-select-selection-item-content {\n  display: inline-block;\n  margin-right: 4px;\n  overflow: hidden;\n  white-space: pre;\n  text-overflow: ellipsis;\n}\n.ant-select-multiple .ant-select-selection-item-remove {\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  display: inline-block;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: bold;\n  font-size: 10px;\n  line-height: inherit;\n  cursor: pointer;\n}\n.ant-select-multiple .ant-select-selection-item-remove > * {\n  line-height: 1;\n}\n.ant-select-multiple .ant-select-selection-item-remove svg {\n  display: inline-block;\n}\n.ant-select-multiple .ant-select-selection-item-remove::before {\n  display: none;\n}\n.ant-select-multiple .ant-select-selection-item-remove .ant-select-multiple .ant-select-selection-item-remove-icon {\n  display: block;\n}\n.ant-select-multiple .ant-select-selection-item-remove > .anticon {\n  vertical-align: -0.2em;\n}\n.ant-select-multiple .ant-select-selection-item-remove:hover {\n  color: rgba(0, 0, 0, 0.75);\n}\n.ant-select-multiple .ant-select-selection-overflow-item + .ant-select-selection-overflow-item .ant-select-selection-search {\n  -webkit-margin-start: 0;\n          margin-inline-start: 0;\n}\n.ant-select-multiple .ant-select-selection-search {\n  position: relative;\n  max-width: 100%;\n  margin-top: 2px;\n  margin-bottom: 2px;\n  -webkit-margin-start: 7px;\n          margin-inline-start: 7px;\n}\n.ant-select-multiple .ant-select-selection-search-input,\n.ant-select-multiple .ant-select-selection-search-mirror {\n  height: 24px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 24px;\n  transition: all 0.3s;\n}\n.ant-select-multiple .ant-select-selection-search-input {\n  width: 100%;\n  min-width: 4.1px;\n}\n.ant-select-multiple .ant-select-selection-search-mirror {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 999;\n  white-space: pre;\n  visibility: hidden;\n}\n.ant-select-multiple .ant-select-selection-placeholder {\n  position: absolute;\n  top: 50%;\n  right: 11px;\n  left: 11px;\n  transform: translateY(-50%);\n  transition: all 0.3s;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selector::after {\n  line-height: 32px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-item {\n  height: 32px;\n  line-height: 30px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-search {\n  height: 32px;\n  line-height: 32px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-search-input,\n.ant-select-multiple.ant-select-lg .ant-select-selection-search-mirror {\n  height: 32px;\n  line-height: 30px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selector::after {\n  line-height: 16px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-item {\n  height: 16px;\n  line-height: 14px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-search {\n  height: 16px;\n  line-height: 16px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-search-input,\n.ant-select-multiple.ant-select-sm .ant-select-selection-search-mirror {\n  height: 16px;\n  line-height: 14px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder {\n  left: 7px;\n}\n.ant-select-multiple.ant-select-sm .ant-select-selection-search {\n  -webkit-margin-start: 3px;\n          margin-inline-start: 3px;\n}\n.ant-select-multiple.ant-select-lg .ant-select-selection-item {\n  height: 32px;\n  line-height: 32px;\n}\n.ant-select-disabled .ant-select-selection-item-remove {\n  display: none;\n}\n/* Reset search input style */\n.ant-select {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  cursor: pointer;\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  position: relative;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector input {\n  cursor: pointer;\n}\n.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  cursor: text;\n}\n.ant-select-show-search.ant-select:not(.ant-select-customize-input) .ant-select-selector input {\n  cursor: auto;\n}\n.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  cursor: not-allowed;\n}\n.ant-select-multiple.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {\n  background: #f5f5f5;\n}\n.ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector input {\n  cursor: not-allowed;\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input {\n  margin: 0;\n  padding: 0;\n  background: transparent;\n  border: none;\n  outline: none;\n  -webkit-appearance: none;\n     -moz-appearance: none;\n          appearance: none;\n}\n.ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button {\n  display: none;\n  -webkit-appearance: none;\n}\n.ant-select:not(.ant-select-disabled):hover .ant-select-selector {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-select-selection-item {\n  flex: 1;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-select-selection-item *::-ms-backdrop,\n  .ant-select-selection-item {\n    flex: auto;\n  }\n}\n.ant-select-selection-placeholder {\n  flex: 1;\n  overflow: hidden;\n  color: #bfbfbf;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  pointer-events: none;\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-select-selection-placeholder *::-ms-backdrop,\n  .ant-select-selection-placeholder {\n    flex: auto;\n  }\n}\n.ant-select-arrow {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  position: absolute;\n  top: 50%;\n  right: 11px;\n  width: 12px;\n  height: 12px;\n  margin-top: -6px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  line-height: 1;\n  text-align: center;\n  pointer-events: none;\n}\n.ant-select-arrow > * {\n  line-height: 1;\n}\n.ant-select-arrow svg {\n  display: inline-block;\n}\n.ant-select-arrow::before {\n  display: none;\n}\n.ant-select-arrow .ant-select-arrow-icon {\n  display: block;\n}\n.ant-select-arrow .anticon {\n  vertical-align: top;\n  transition: transform 0.3s;\n}\n.ant-select-arrow .anticon > svg {\n  vertical-align: top;\n}\n.ant-select-arrow .anticon:not(.ant-select-suffix) {\n  pointer-events: auto;\n}\n.ant-select-disabled .ant-select-arrow {\n  cursor: not-allowed;\n}\n.ant-select-clear {\n  position: absolute;\n  top: 50%;\n  right: 11px;\n  z-index: 1;\n  display: inline-block;\n  width: 12px;\n  height: 12px;\n  margin-top: -6px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  font-style: normal;\n  line-height: 1;\n  text-align: center;\n  text-transform: none;\n  background: #fff;\n  cursor: pointer;\n  opacity: 0;\n  transition: color 0.3s ease, opacity 0.15s ease;\n  text-rendering: auto;\n}\n.ant-select-clear::before {\n  display: block;\n}\n.ant-select-clear:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-select:hover .ant-select-clear {\n  opacity: 1;\n}\n.ant-select-dropdown {\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: -9999px;\n  left: -9999px;\n  z-index: 1050;\n  box-sizing: border-box;\n  padding: 4px 0;\n  overflow: hidden;\n  font-size: 14px;\n  font-variant: initial;\n  background-color: #fff;\n  border-radius: 2px;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-bottomLeft,\n.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-bottomLeft {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-select-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-select-dropdown-placement-topLeft,\n.ant-select-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-select-dropdown-placement-topLeft {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-bottomLeft {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-select-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-select-dropdown-placement-topLeft {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-select-dropdown-hidden {\n  display: none;\n}\n.ant-select-dropdown-empty {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-select-item-empty {\n  position: relative;\n  display: block;\n  min-height: 32px;\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-select-item {\n  position: relative;\n  display: block;\n  min-height: 32px;\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  cursor: pointer;\n  transition: background 0.3s ease;\n}\n.ant-select-item-group {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 12px;\n  cursor: default;\n}\n.ant-select-item-option {\n  display: flex;\n}\n.ant-select-item-option-content {\n  flex: auto;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-select-item-option-state {\n  flex: none;\n}\n.ant-select-item-option-active:not(.ant-select-item-option-disabled) {\n  background-color: #f5f5f5;\n}\n.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  background-color: #e6f7ff;\n}\n.ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state {\n  color: #1890ff;\n}\n.ant-select-item-option-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-select-item-option-disabled.ant-select-item-option-selected {\n  background-color: #f5f5f5;\n}\n.ant-select-item-option-grouped {\n  padding-left: 24px;\n}\n.ant-select-lg {\n  font-size: 16px;\n}\n.ant-select-borderless .ant-select-selector {\n  background-color: transparent !important;\n  border-color: transparent !important;\n  box-shadow: none !important;\n}\n.ant-select-rtl {\n  direction: rtl;\n}\n.ant-select-rtl .ant-select-arrow {\n  right: initial;\n  left: 11px;\n}\n.ant-select-rtl .ant-select-clear {\n  right: initial;\n  left: 11px;\n}\n.ant-select-dropdown-rtl {\n  direction: rtl;\n}\n.ant-select-dropdown-rtl .ant-select-item-option-grouped {\n  padding-right: 24px;\n  padding-left: 12px;\n}\n.ant-select-rtl.ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.ant-select-rtl.ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n  padding-right: 4px;\n  padding-left: 24px;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-item {\n  text-align: right;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-item-content {\n  margin-right: 0;\n  margin-left: 4px;\n  text-align: right;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-search-mirror {\n  right: 0;\n  left: auto;\n}\n.ant-select-rtl.ant-select-multiple .ant-select-selection-placeholder {\n  right: 11px;\n  left: auto;\n}\n.ant-select-rtl.ant-select-multiple.ant-select-sm .ant-select-selection-placeholder {\n  right: 7px;\n}\n.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-item,\n.ant-select-rtl.ant-select-single .ant-select-selector .ant-select-selection-placeholder {\n  right: 0;\n  left: 9px;\n  text-align: right;\n}\n.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-search {\n  right: 11px;\n  left: 25px;\n}\n.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-item,\n.ant-select-rtl.ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 0;\n  padding-left: 18px;\n}\n.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-search {\n  right: 6px;\n}\n.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-item,\n.ant-select-rtl.ant-select-single.ant-select-sm:not(.ant-select-customize-input).ant-select-show-arrow .ant-select-selection-placeholder {\n  padding-right: 0;\n  padding-left: 21px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-empty {\n  margin: 0 8px;\n  font-size: 14px;\n  line-height: 1.5715;\n  text-align: center;\n}\n.ant-empty-image {\n  height: 100px;\n  margin-bottom: 8px;\n}\n.ant-empty-image img {\n  height: 100%;\n}\n.ant-empty-image svg {\n  height: 100%;\n  margin: auto;\n}\n.ant-empty-footer {\n  margin-top: 16px;\n}\n.ant-empty-normal {\n  margin: 32px 0;\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-empty-normal .ant-empty-image {\n  height: 40px;\n}\n.ant-empty-small {\n  margin: 8px 0;\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-empty-small .ant-empty-image {\n  height: 35px;\n}\n.ant-empty-img-default-ellipse {\n  fill: #f5f5f5;\n  fill-opacity: 0.8;\n}\n.ant-empty-img-default-path-1 {\n  fill: #aeb8c2;\n}\n.ant-empty-img-default-path-2 {\n  fill: url(#linearGradient-1);\n}\n.ant-empty-img-default-path-3 {\n  fill: #f5f5f7;\n}\n.ant-empty-img-default-path-4 {\n  fill: #dce0e6;\n}\n.ant-empty-img-default-path-5 {\n  fill: #dce0e6;\n}\n.ant-empty-img-default-g {\n  fill: #fff;\n}\n.ant-empty-img-simple-ellipse {\n  fill: #f5f5f5;\n}\n.ant-empty-img-simple-g {\n  stroke: #d9d9d9;\n}\n.ant-empty-img-simple-path {\n  fill: #fafafa;\n}\n.ant-empty-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-avatar {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  overflow: hidden;\n  color: #fff;\n  white-space: nowrap;\n  text-align: center;\n  vertical-align: middle;\n  background: #ccc;\n  width: 32px;\n  height: 32px;\n  line-height: 32px;\n  border-radius: 50%;\n}\n.ant-avatar-image {\n  background: transparent;\n}\n.ant-avatar .ant-image-img {\n  display: block;\n}\n.ant-avatar-string {\n  position: absolute;\n  left: 50%;\n  transform-origin: 0 center;\n}\n.ant-avatar.ant-avatar-icon {\n  font-size: 18px;\n}\n.ant-avatar.ant-avatar-icon > .anticon {\n  margin: 0;\n}\n.ant-avatar-lg {\n  width: 40px;\n  height: 40px;\n  line-height: 40px;\n  border-radius: 50%;\n}\n.ant-avatar-lg-string {\n  position: absolute;\n  left: 50%;\n  transform-origin: 0 center;\n}\n.ant-avatar-lg.ant-avatar-icon {\n  font-size: 24px;\n}\n.ant-avatar-lg.ant-avatar-icon > .anticon {\n  margin: 0;\n}\n.ant-avatar-sm {\n  width: 24px;\n  height: 24px;\n  line-height: 24px;\n  border-radius: 50%;\n}\n.ant-avatar-sm-string {\n  position: absolute;\n  left: 50%;\n  transform-origin: 0 center;\n}\n.ant-avatar-sm.ant-avatar-icon {\n  font-size: 14px;\n}\n.ant-avatar-sm.ant-avatar-icon > .anticon {\n  margin: 0;\n}\n.ant-avatar-square {\n  border-radius: 2px;\n}\n.ant-avatar > img {\n  display: block;\n  width: 100%;\n  height: 100%;\n  -o-object-fit: cover;\n     object-fit: cover;\n}\n.ant-avatar-group {\n  display: inline-flex;\n}\n.ant-avatar-group .ant-avatar {\n  border: 1px solid #fff;\n}\n.ant-avatar-group .ant-avatar:not(:first-child) {\n  margin-left: -8px;\n}\n.ant-avatar-group-popover .ant-avatar + .ant-avatar {\n  margin-left: 3px;\n}\n.ant-avatar-group-rtl .ant-avatar:not(:first-child) {\n  margin-right: -8px;\n  margin-left: 0;\n}\n.ant-avatar-group-popover.ant-popover-rtl .ant-avatar + .ant-avatar {\n  margin-right: 3px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-popover {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 1030;\n  font-weight: normal;\n  white-space: normal;\n  text-align: left;\n  cursor: auto;\n  -webkit-user-select: text;\n     -moz-user-select: text;\n      -ms-user-select: text;\n          user-select: text;\n}\n.ant-popover::after {\n  position: absolute;\n  background: rgba(255, 255, 255, 0.01);\n  content: '';\n}\n.ant-popover-hidden {\n  display: none;\n}\n.ant-popover-placement-top,\n.ant-popover-placement-topLeft,\n.ant-popover-placement-topRight {\n  padding-bottom: 10px;\n}\n.ant-popover-placement-right,\n.ant-popover-placement-rightTop,\n.ant-popover-placement-rightBottom {\n  padding-left: 10px;\n}\n.ant-popover-placement-bottom,\n.ant-popover-placement-bottomLeft,\n.ant-popover-placement-bottomRight {\n  padding-top: 10px;\n}\n.ant-popover-placement-left,\n.ant-popover-placement-leftTop,\n.ant-popover-placement-leftBottom {\n  padding-right: 10px;\n}\n.ant-popover-inner {\n  background-color: #fff;\n  background-clip: padding-box;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) \\9;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .ant-popover {\n    /* IE10+ */\n  }\n  .ant-popover-inner {\n    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  }\n}\n.ant-popover-title {\n  min-width: 177px;\n  min-height: 32px;\n  margin: 0;\n  padding: 5px 16px 4px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-popover-inner-content {\n  padding: 12px 16px;\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-popover-message {\n  position: relative;\n  padding: 4px 0 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n}\n.ant-popover-message > .anticon {\n  position: absolute;\n  top: 8.0005px;\n  color: #faad14;\n  font-size: 14px;\n}\n.ant-popover-message-title {\n  padding-left: 22px;\n}\n.ant-popover-buttons {\n  margin-bottom: 4px;\n  text-align: right;\n}\n.ant-popover-buttons button {\n  margin-left: 8px;\n}\n.ant-popover-arrow {\n  position: absolute;\n  display: block;\n  width: 8.48528137px;\n  height: 8.48528137px;\n  overflow: hidden;\n  background: transparent;\n  pointer-events: none;\n}\n.ant-popover-arrow-content {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  width: 6px;\n  height: 6px;\n  margin: auto;\n  background-color: #fff;\n  content: '';\n  pointer-events: auto;\n}\n.ant-popover-placement-top .ant-popover-arrow,\n.ant-popover-placement-topLeft .ant-popover-arrow,\n.ant-popover-placement-topRight .ant-popover-arrow {\n  bottom: 1.51471863px;\n}\n.ant-popover-placement-top .ant-popover-arrow-content,\n.ant-popover-placement-topLeft .ant-popover-arrow-content,\n.ant-popover-placement-topRight .ant-popover-arrow-content {\n  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateY(-4.24264069px) rotate(45deg);\n}\n.ant-popover-placement-top .ant-popover-arrow {\n  left: 50%;\n  transform: translateX(-50%);\n}\n.ant-popover-placement-topLeft .ant-popover-arrow {\n  left: 16px;\n}\n.ant-popover-placement-topRight .ant-popover-arrow {\n  right: 16px;\n}\n.ant-popover-placement-right .ant-popover-arrow,\n.ant-popover-placement-rightTop .ant-popover-arrow,\n.ant-popover-placement-rightBottom .ant-popover-arrow {\n  left: 1.51471863px;\n}\n.ant-popover-placement-right .ant-popover-arrow-content,\n.ant-popover-placement-rightTop .ant-popover-arrow-content,\n.ant-popover-placement-rightBottom .ant-popover-arrow-content {\n  box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateX(4.24264069px) rotate(45deg);\n}\n.ant-popover-placement-right .ant-popover-arrow {\n  top: 50%;\n  transform: translateY(-50%);\n}\n.ant-popover-placement-rightTop .ant-popover-arrow {\n  top: 12px;\n}\n.ant-popover-placement-rightBottom .ant-popover-arrow {\n  bottom: 12px;\n}\n.ant-popover-placement-bottom .ant-popover-arrow,\n.ant-popover-placement-bottomLeft .ant-popover-arrow,\n.ant-popover-placement-bottomRight .ant-popover-arrow {\n  top: 1.51471863px;\n}\n.ant-popover-placement-bottom .ant-popover-arrow-content,\n.ant-popover-placement-bottomLeft .ant-popover-arrow-content,\n.ant-popover-placement-bottomRight .ant-popover-arrow-content {\n  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);\n  transform: translateY(4.24264069px) rotate(45deg);\n}\n.ant-popover-placement-bottom .ant-popover-arrow {\n  left: 50%;\n  transform: translateX(-50%);\n}\n.ant-popover-placement-bottomLeft .ant-popover-arrow {\n  left: 16px;\n}\n.ant-popover-placement-bottomRight .ant-popover-arrow {\n  right: 16px;\n}\n.ant-popover-placement-left .ant-popover-arrow,\n.ant-popover-placement-leftTop .ant-popover-arrow,\n.ant-popover-placement-leftBottom .ant-popover-arrow {\n  right: 1.51471863px;\n}\n.ant-popover-placement-left .ant-popover-arrow-content,\n.ant-popover-placement-leftTop .ant-popover-arrow-content,\n.ant-popover-placement-leftBottom .ant-popover-arrow-content {\n  box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateX(-4.24264069px) rotate(45deg);\n}\n.ant-popover-placement-left .ant-popover-arrow {\n  top: 50%;\n  transform: translateY(-50%);\n}\n.ant-popover-placement-leftTop .ant-popover-arrow {\n  top: 12px;\n}\n.ant-popover-placement-leftBottom .ant-popover-arrow {\n  bottom: 12px;\n}\n.ant-popover-pink .ant-popover-inner {\n  background-color: #eb2f96;\n}\n.ant-popover-pink .ant-popover-arrow-content {\n  background-color: #eb2f96;\n}\n.ant-popover-magenta .ant-popover-inner {\n  background-color: #eb2f96;\n}\n.ant-popover-magenta .ant-popover-arrow-content {\n  background-color: #eb2f96;\n}\n.ant-popover-red .ant-popover-inner {\n  background-color: #f5222d;\n}\n.ant-popover-red .ant-popover-arrow-content {\n  background-color: #f5222d;\n}\n.ant-popover-volcano .ant-popover-inner {\n  background-color: #fa541c;\n}\n.ant-popover-volcano .ant-popover-arrow-content {\n  background-color: #fa541c;\n}\n.ant-popover-orange .ant-popover-inner {\n  background-color: #fa8c16;\n}\n.ant-popover-orange .ant-popover-arrow-content {\n  background-color: #fa8c16;\n}\n.ant-popover-yellow .ant-popover-inner {\n  background-color: #fadb14;\n}\n.ant-popover-yellow .ant-popover-arrow-content {\n  background-color: #fadb14;\n}\n.ant-popover-gold .ant-popover-inner {\n  background-color: #faad14;\n}\n.ant-popover-gold .ant-popover-arrow-content {\n  background-color: #faad14;\n}\n.ant-popover-cyan .ant-popover-inner {\n  background-color: #13c2c2;\n}\n.ant-popover-cyan .ant-popover-arrow-content {\n  background-color: #13c2c2;\n}\n.ant-popover-lime .ant-popover-inner {\n  background-color: #a0d911;\n}\n.ant-popover-lime .ant-popover-arrow-content {\n  background-color: #a0d911;\n}\n.ant-popover-green .ant-popover-inner {\n  background-color: #52c41a;\n}\n.ant-popover-green .ant-popover-arrow-content {\n  background-color: #52c41a;\n}\n.ant-popover-blue .ant-popover-inner {\n  background-color: #1890ff;\n}\n.ant-popover-blue .ant-popover-arrow-content {\n  background-color: #1890ff;\n}\n.ant-popover-geekblue .ant-popover-inner {\n  background-color: #2f54eb;\n}\n.ant-popover-geekblue .ant-popover-arrow-content {\n  background-color: #2f54eb;\n}\n.ant-popover-purple .ant-popover-inner {\n  background-color: #722ed1;\n}\n.ant-popover-purple .ant-popover-arrow-content {\n  background-color: #722ed1;\n}\n.ant-popover-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-popover-rtl .ant-popover-message-title {\n  padding-right: 22px;\n  padding-left: 16px;\n}\n.ant-popover-rtl .ant-popover-buttons {\n  text-align: left;\n}\n.ant-popover-rtl .ant-popover-buttons button {\n  margin-right: 8px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-back-top {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: fixed;\n  right: 100px;\n  bottom: 50px;\n  z-index: 10;\n  width: 40px;\n  height: 40px;\n  cursor: pointer;\n}\n.ant-back-top:empty {\n  display: none;\n}\n.ant-back-top-rtl {\n  right: auto;\n  left: 100px;\n  direction: rtl;\n}\n.ant-back-top-content {\n  width: 40px;\n  height: 40px;\n  overflow: hidden;\n  color: #fff;\n  text-align: center;\n  background-color: rgba(0, 0, 0, 0.45);\n  border-radius: 20px;\n  transition: all 0.3s;\n}\n.ant-back-top-content:hover {\n  background-color: rgba(0, 0, 0, 0.85);\n  transition: all 0.3s;\n}\n.ant-back-top-icon {\n  font-size: 24px;\n  line-height: 40px;\n}\n@media screen and (max-width: 768px) {\n  .ant-back-top {\n    right: 60px;\n  }\n}\n@media screen and (max-width: 480px) {\n  .ant-back-top {\n    right: 20px;\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-badge {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  line-height: 1;\n}\n.ant-badge-count {\n  z-index: auto;\n  min-width: 20px;\n  height: 20px;\n  padding: 0 6px;\n  color: #fff;\n  font-weight: normal;\n  font-size: 12px;\n  line-height: 20px;\n  white-space: nowrap;\n  text-align: center;\n  background: #ff4d4f;\n  border-radius: 10px;\n  box-shadow: 0 0 0 1px #fff;\n}\n.ant-badge-count a,\n.ant-badge-count a:hover {\n  color: #fff;\n}\n.ant-badge-count-sm {\n  min-width: 14px;\n  height: 14px;\n  padding: 0;\n  font-size: 12px;\n  line-height: 14px;\n  border-radius: 7px;\n}\n.ant-badge-multiple-words {\n  padding: 0 8px;\n}\n.ant-badge-dot {\n  z-index: auto;\n  width: 6px;\n  min-width: 6px;\n  height: 6px;\n  background: #ff4d4f;\n  border-radius: 100%;\n  box-shadow: 0 0 0 1px #fff;\n}\n.ant-badge-dot.ant-scroll-number {\n  transition: background 1.5s;\n}\n.ant-badge-count,\n.ant-badge-dot,\n.ant-badge .ant-scroll-number-custom-component {\n  position: absolute;\n  top: 0;\n  right: 0;\n  transform: translate(50%, -50%);\n  transform-origin: 100% 0%;\n}\n.ant-badge-count.anticon-spin,\n.ant-badge-dot.anticon-spin,\n.ant-badge .ant-scroll-number-custom-component.anticon-spin {\n  -webkit-animation: antBadgeLoadingCircle 1s infinite linear;\n          animation: antBadgeLoadingCircle 1s infinite linear;\n}\n.ant-badge-status {\n  line-height: inherit;\n  vertical-align: baseline;\n}\n.ant-badge-status-dot {\n  position: relative;\n  top: -1px;\n  display: inline-block;\n  width: 6px;\n  height: 6px;\n  vertical-align: middle;\n  border-radius: 50%;\n}\n.ant-badge-status-success {\n  background-color: #52c41a;\n}\n.ant-badge-status-processing {\n  position: relative;\n  background-color: #1890ff;\n}\n.ant-badge-status-processing::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 50%;\n  -webkit-animation: antStatusProcessing 1.2s infinite ease-in-out;\n          animation: antStatusProcessing 1.2s infinite ease-in-out;\n  content: '';\n}\n.ant-badge-status-default {\n  background-color: #d9d9d9;\n}\n.ant-badge-status-error {\n  background-color: #ff4d4f;\n}\n.ant-badge-status-warning {\n  background-color: #faad14;\n}\n.ant-badge-status-pink {\n  background: #eb2f96;\n}\n.ant-badge-status-magenta {\n  background: #eb2f96;\n}\n.ant-badge-status-red {\n  background: #f5222d;\n}\n.ant-badge-status-volcano {\n  background: #fa541c;\n}\n.ant-badge-status-orange {\n  background: #fa8c16;\n}\n.ant-badge-status-yellow {\n  background: #fadb14;\n}\n.ant-badge-status-gold {\n  background: #faad14;\n}\n.ant-badge-status-cyan {\n  background: #13c2c2;\n}\n.ant-badge-status-lime {\n  background: #a0d911;\n}\n.ant-badge-status-green {\n  background: #52c41a;\n}\n.ant-badge-status-blue {\n  background: #1890ff;\n}\n.ant-badge-status-geekblue {\n  background: #2f54eb;\n}\n.ant-badge-status-purple {\n  background: #722ed1;\n}\n.ant-badge-status-text {\n  margin-left: 8px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n}\n.ant-badge-zoom-appear,\n.ant-badge-zoom-enter {\n  -webkit-animation: antZoomBadgeIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);\n          animation: antZoomBadgeIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n}\n.ant-badge-zoom-leave {\n  -webkit-animation: antZoomBadgeOut 0.3s cubic-bezier(0.71, -0.46, 0.88, 0.6);\n          animation: antZoomBadgeOut 0.3s cubic-bezier(0.71, -0.46, 0.88, 0.6);\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n}\n.ant-badge-not-a-wrapper .ant-badge-zoom-appear,\n.ant-badge-not-a-wrapper .ant-badge-zoom-enter {\n  -webkit-animation: antNoWrapperZoomBadgeIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);\n          animation: antNoWrapperZoomBadgeIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);\n}\n.ant-badge-not-a-wrapper .ant-badge-zoom-leave {\n  -webkit-animation: antNoWrapperZoomBadgeOut 0.3s cubic-bezier(0.71, -0.46, 0.88, 0.6);\n          animation: antNoWrapperZoomBadgeOut 0.3s cubic-bezier(0.71, -0.46, 0.88, 0.6);\n}\n.ant-badge-not-a-wrapper:not(.ant-badge-status) {\n  vertical-align: middle;\n}\n.ant-badge-not-a-wrapper .ant-scroll-number-custom-component {\n  transform: none;\n}\n.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,\n.ant-badge-not-a-wrapper .ant-scroll-number {\n  position: relative;\n  top: auto;\n  display: block;\n  transform-origin: 50% 50%;\n}\n.ant-badge-not-a-wrapper .ant-badge-count {\n  transform: none;\n}\n@-webkit-keyframes antStatusProcessing {\n  0% {\n    transform: scale(0.8);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(2.4);\n    opacity: 0;\n  }\n}\n@keyframes antStatusProcessing {\n  0% {\n    transform: scale(0.8);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(2.4);\n    opacity: 0;\n  }\n}\n.ant-scroll-number {\n  overflow: hidden;\n}\n.ant-scroll-number-only {\n  position: relative;\n  display: inline-block;\n  height: 20px;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  -webkit-transform-style: preserve-3d;\n  -webkit-backface-visibility: hidden;\n}\n.ant-scroll-number-only > p.ant-scroll-number-only-unit {\n  height: 20px;\n  margin: 0;\n  -webkit-transform-style: preserve-3d;\n  -webkit-backface-visibility: hidden;\n}\n.ant-scroll-number-symbol {\n  vertical-align: top;\n}\n@-webkit-keyframes antZoomBadgeIn {\n  0% {\n    transform: scale(0) translate(50%, -50%);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1) translate(50%, -50%);\n  }\n}\n@keyframes antZoomBadgeIn {\n  0% {\n    transform: scale(0) translate(50%, -50%);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1) translate(50%, -50%);\n  }\n}\n@-webkit-keyframes antZoomBadgeOut {\n  0% {\n    transform: scale(1) translate(50%, -50%);\n  }\n  100% {\n    transform: scale(0) translate(50%, -50%);\n    opacity: 0;\n  }\n}\n@keyframes antZoomBadgeOut {\n  0% {\n    transform: scale(1) translate(50%, -50%);\n  }\n  100% {\n    transform: scale(0) translate(50%, -50%);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antNoWrapperZoomBadgeIn {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n  }\n}\n@keyframes antNoWrapperZoomBadgeIn {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n  }\n}\n@-webkit-keyframes antNoWrapperZoomBadgeOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0);\n    opacity: 0;\n  }\n}\n@keyframes antNoWrapperZoomBadgeOut {\n  0% {\n    transform: scale(1);\n  }\n  100% {\n    transform: scale(0);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes antBadgeLoadingCircle {\n  0% {\n    transform-origin: 50%;\n  }\n  100% {\n    transform: translate(50%, -50%) rotate(360deg);\n    transform-origin: 50%;\n  }\n}\n@keyframes antBadgeLoadingCircle {\n  0% {\n    transform-origin: 50%;\n  }\n  100% {\n    transform: translate(50%, -50%) rotate(360deg);\n    transform-origin: 50%;\n  }\n}\n.ant-ribbon-wrapper {\n  position: relative;\n}\n.ant-ribbon {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: 8px;\n  height: 22px;\n  padding: 0 8px;\n  color: #fff;\n  line-height: 22px;\n  white-space: nowrap;\n  background-color: #1890ff;\n  border-radius: 2px;\n}\n.ant-ribbon-text {\n  color: #fff;\n}\n.ant-ribbon-corner {\n  position: absolute;\n  top: 100%;\n  width: 8px;\n  height: 8px;\n  color: currentColor;\n  border: 4px solid;\n  transform: scaleY(0.75);\n  transform-origin: top;\n}\n.ant-ribbon-corner::after {\n  position: absolute;\n  top: -4px;\n  left: -4px;\n  width: inherit;\n  height: inherit;\n  color: rgba(0, 0, 0, 0.25);\n  border: inherit;\n  content: '';\n}\n.ant-ribbon-color-pink {\n  color: #eb2f96;\n  background: #eb2f96;\n}\n.ant-ribbon-color-magenta {\n  color: #eb2f96;\n  background: #eb2f96;\n}\n.ant-ribbon-color-red {\n  color: #f5222d;\n  background: #f5222d;\n}\n.ant-ribbon-color-volcano {\n  color: #fa541c;\n  background: #fa541c;\n}\n.ant-ribbon-color-orange {\n  color: #fa8c16;\n  background: #fa8c16;\n}\n.ant-ribbon-color-yellow {\n  color: #fadb14;\n  background: #fadb14;\n}\n.ant-ribbon-color-gold {\n  color: #faad14;\n  background: #faad14;\n}\n.ant-ribbon-color-cyan {\n  color: #13c2c2;\n  background: #13c2c2;\n}\n.ant-ribbon-color-lime {\n  color: #a0d911;\n  background: #a0d911;\n}\n.ant-ribbon-color-green {\n  color: #52c41a;\n  background: #52c41a;\n}\n.ant-ribbon-color-blue {\n  color: #1890ff;\n  background: #1890ff;\n}\n.ant-ribbon-color-geekblue {\n  color: #2f54eb;\n  background: #2f54eb;\n}\n.ant-ribbon-color-purple {\n  color: #722ed1;\n  background: #722ed1;\n}\n.ant-ribbon.ant-ribbon-placement-end {\n  right: -8px;\n  border-bottom-right-radius: 0;\n}\n.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner {\n  right: 0;\n  border-color: currentColor transparent transparent currentColor;\n}\n.ant-ribbon.ant-ribbon-placement-start {\n  left: -8px;\n  border-bottom-left-radius: 0;\n}\n.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner {\n  left: 0;\n  border-color: currentColor currentColor transparent transparent;\n}\n.ant-badge-rtl {\n  direction: rtl;\n}\n.ant-badge-rtl .ant-badge-count,\n.ant-badge-rtl .ant-badge-dot,\n.ant-badge-rtl .ant-badge .ant-scroll-number-custom-component {\n  right: auto;\n  left: 0;\n  direction: ltr;\n  transform: translate(-50%, -50%);\n  transform-origin: 0% 0%;\n}\n.ant-badge-rtl.ant-badge .ant-scroll-number-custom-component {\n  right: auto;\n  left: 0;\n  transform: translate(-50%, -50%);\n  transform-origin: 0% 0%;\n}\n.ant-badge-rtl .ant-badge-status-text {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-badge-rtl .ant-badge-zoom-appear,\n.ant-badge-rtl .ant-badge-zoom-enter {\n  -webkit-animation-name: antZoomBadgeInRtl;\n          animation-name: antZoomBadgeInRtl;\n}\n.ant-badge-rtl .ant-badge-zoom-leave {\n  -webkit-animation-name: antZoomBadgeOutRtl;\n          animation-name: antZoomBadgeOutRtl;\n}\n.ant-badge-not-a-wrapper .ant-badge-count {\n  transform: none;\n}\n.ant-ribbon-rtl {\n  direction: rtl;\n}\n.ant-ribbon-rtl.ant-ribbon-placement-end {\n  right: unset;\n  left: -8px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner {\n  right: unset;\n  left: 0;\n  border-color: currentColor currentColor transparent transparent;\n}\n.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner::after {\n  border-color: currentColor currentColor transparent transparent;\n}\n.ant-ribbon-rtl.ant-ribbon-placement-start {\n  right: -8px;\n  left: unset;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner {\n  right: 0;\n  left: unset;\n  border-color: currentColor transparent transparent currentColor;\n}\n.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner::after {\n  border-color: currentColor transparent transparent currentColor;\n}\n@-webkit-keyframes antZoomBadgeInRtl {\n  0% {\n    transform: scale(0) translate(-50%, -50%);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1) translate(-50%, -50%);\n  }\n}\n@keyframes antZoomBadgeInRtl {\n  0% {\n    transform: scale(0) translate(-50%, -50%);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1) translate(-50%, -50%);\n  }\n}\n@-webkit-keyframes antZoomBadgeOutRtl {\n  0% {\n    transform: scale(1) translate(-50%, -50%);\n  }\n  100% {\n    transform: scale(0) translate(-50%, -50%);\n    opacity: 0;\n  }\n}\n@keyframes antZoomBadgeOutRtl {\n  0% {\n    transform: scale(1) translate(-50%, -50%);\n  }\n  100% {\n    transform: scale(0) translate(-50%, -50%);\n    opacity: 0;\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-breadcrumb {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n}\n.ant-breadcrumb .anticon {\n  font-size: 14px;\n}\n.ant-breadcrumb a {\n  color: rgba(0, 0, 0, 0.45);\n  transition: color 0.3s;\n}\n.ant-breadcrumb a:hover {\n  color: #40a9ff;\n}\n.ant-breadcrumb > span:last-child {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-breadcrumb > span:last-child a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-breadcrumb > span:last-child .ant-breadcrumb-separator {\n  display: none;\n}\n.ant-breadcrumb-separator {\n  margin: 0 8px;\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-breadcrumb-link > .anticon + span,\n.ant-breadcrumb-link > .anticon + a {\n  margin-left: 4px;\n}\n.ant-breadcrumb-overlay-link > .anticon {\n  margin-left: 4px;\n}\n.ant-breadcrumb-rtl {\n  direction: rtl;\n}\n.ant-breadcrumb-rtl::before {\n  display: table;\n  content: '';\n}\n.ant-breadcrumb-rtl::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-breadcrumb-rtl > span {\n  float: right;\n}\n.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span,\n.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon {\n  margin-right: 4px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-menu-item-danger.ant-menu-item {\n  color: #ff4d4f;\n}\n.ant-menu-item-danger.ant-menu-item:hover,\n.ant-menu-item-danger.ant-menu-item-active {\n  color: #ff4d4f;\n}\n.ant-menu-item-danger.ant-menu-item:active {\n  background: #fff1f0;\n}\n.ant-menu-item-danger.ant-menu-item-selected {\n  color: #ff4d4f;\n}\n.ant-menu-item-danger.ant-menu-item-selected > a,\n.ant-menu-item-danger.ant-menu-item-selected > a:hover {\n  color: #ff4d4f;\n}\n.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {\n  background-color: #fff1f0;\n}\n.ant-menu-inline .ant-menu-item-danger.ant-menu-item::after {\n  border-right-color: #ff4d4f;\n}\n.ant-menu-dark .ant-menu-item-danger.ant-menu-item,\n.ant-menu-dark .ant-menu-item-danger.ant-menu-item:hover,\n.ant-menu-dark .ant-menu-item-danger.ant-menu-item > a {\n  color: #ff4d4f;\n}\n.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-danger.ant-menu-item-selected {\n  color: #fff;\n  background-color: #ff4d4f;\n}\n.ant-menu {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  font-feature-settings: 'tnum';\n  margin-bottom: 0;\n  padding-left: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 0;\n  text-align: left;\n  list-style: none;\n  background: #fff;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  transition: background 0.3s, width 0.3s cubic-bezier(0.2, 0, 0, 1) 0s;\n}\n.ant-menu::before {\n  display: table;\n  content: '';\n}\n.ant-menu::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-menu.ant-menu-root:focus-visible {\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-menu ul,\n.ant-menu ol {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.ant-menu-overflow {\n  display: flex;\n}\n.ant-menu-overflow-item {\n  flex: none;\n}\n.ant-menu-hidden,\n.ant-menu-submenu-hidden {\n  display: none;\n}\n.ant-menu-item-group-title {\n  height: 1.5715;\n  padding: 8px 16px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.5715;\n  transition: all 0.3s;\n}\n.ant-menu-horizontal .ant-menu-submenu {\n  transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu,\n.ant-menu-submenu-inline {\n  transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-selected {\n  color: #1890ff;\n}\n.ant-menu-item:active,\n.ant-menu-submenu-title:active {\n  background: #e6f7ff;\n}\n.ant-menu-submenu .ant-menu-sub {\n  cursor: initial;\n  transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-title-content {\n  transition: color 0.3s;\n}\n.ant-menu-item a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-menu-item a:hover {\n  color: #1890ff;\n}\n.ant-menu-item a::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: transparent;\n  content: '';\n}\n.ant-menu-item > .ant-badge a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-menu-item > .ant-badge a:hover {\n  color: #1890ff;\n}\n.ant-menu-item-divider {\n  height: 1px;\n  overflow: hidden;\n  line-height: 0;\n  background-color: #f0f0f0;\n}\n.ant-menu-horizontal .ant-menu-item,\n.ant-menu-horizontal .ant-menu-submenu {\n  margin-top: -1px;\n}\n.ant-menu-horizontal > .ant-menu-item:hover,\n.ant-menu-horizontal > .ant-menu-item-active,\n.ant-menu-horizontal > .ant-menu-submenu .ant-menu-submenu-title:hover {\n  background-color: transparent;\n}\n.ant-menu-item-selected {\n  color: #1890ff;\n}\n.ant-menu-item-selected a,\n.ant-menu-item-selected a:hover {\n  color: #1890ff;\n}\n.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {\n  background-color: #e6f7ff;\n}\n.ant-menu-inline,\n.ant-menu-vertical,\n.ant-menu-vertical-left {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-menu-vertical-right {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-menu-vertical.ant-menu-sub,\n.ant-menu-vertical-left.ant-menu-sub,\n.ant-menu-vertical-right.ant-menu-sub {\n  min-width: 160px;\n  max-height: calc(100vh - 100px);\n  padding: 0;\n  overflow: hidden;\n  border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub:not([class*='-active']),\n.ant-menu-vertical-left.ant-menu-sub:not([class*='-active']),\n.ant-menu-vertical-right.ant-menu-sub:not([class*='-active']) {\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ant-menu-vertical.ant-menu-sub .ant-menu-item,\n.ant-menu-vertical-left.ant-menu-sub .ant-menu-item,\n.ant-menu-vertical-right.ant-menu-sub .ant-menu-item {\n  left: 0;\n  margin-left: 0;\n  border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub .ant-menu-item::after,\n.ant-menu-vertical-left.ant-menu-sub .ant-menu-item::after,\n.ant-menu-vertical-right.ant-menu-sub .ant-menu-item::after {\n  border-right: 0;\n}\n.ant-menu-vertical.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical-left.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical-right.ant-menu-sub > .ant-menu-item,\n.ant-menu-vertical.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-vertical-left.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-vertical-right.ant-menu-sub > .ant-menu-submenu {\n  transform-origin: 0 0;\n}\n.ant-menu-horizontal.ant-menu-sub {\n  min-width: 114px;\n}\n.ant-menu-horizontal .ant-menu-item,\n.ant-menu-horizontal .ant-menu-submenu-title {\n  transition: border-color 0.3s, background 0.3s;\n}\n.ant-menu-item,\n.ant-menu-submenu-title {\n  position: relative;\n  display: block;\n  margin: 0;\n  padding: 0 20px;\n  white-space: nowrap;\n  cursor: pointer;\n  transition: border-color 0.3s, background 0.3s, padding 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-item .ant-menu-item-icon,\n.ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu-item .anticon,\n.ant-menu-submenu-title .anticon {\n  min-width: 14px;\n  font-size: 14px;\n  transition: font-size 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), margin 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s;\n}\n.ant-menu-item .ant-menu-item-icon + span,\n.ant-menu-submenu-title .ant-menu-item-icon + span,\n.ant-menu-item .anticon + span,\n.ant-menu-submenu-title .anticon + span {\n  margin-left: 10px;\n  opacity: 1;\n  transition: opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), margin 0.3s, color 0.3s;\n}\n.ant-menu-item .ant-menu-item-icon.svg,\n.ant-menu-submenu-title .ant-menu-item-icon.svg {\n  vertical-align: -0.125em;\n}\n.ant-menu-item.ant-menu-item-only-child > .anticon,\n.ant-menu-submenu-title.ant-menu-item-only-child > .anticon,\n.ant-menu-item.ant-menu-item-only-child > .ant-menu-item-icon,\n.ant-menu-submenu-title.ant-menu-item-only-child > .ant-menu-item-icon {\n  margin-right: 0;\n}\n.ant-menu-item:focus-visible,\n.ant-menu-submenu-title:focus-visible {\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-menu > .ant-menu-item-divider {\n  height: 1px;\n  margin: 1px 0;\n  padding: 0;\n  overflow: hidden;\n  line-height: 0;\n  background-color: #f0f0f0;\n}\n.ant-menu-submenu-popup {\n  position: absolute;\n  z-index: 1050;\n  background: transparent;\n  border-radius: 2px;\n  box-shadow: none;\n  transform-origin: 0 0;\n}\n.ant-menu-submenu-popup::before {\n  position: absolute;\n  top: -7px;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n  opacity: 0.0001;\n  content: ' ';\n}\n.ant-menu-submenu-placement-rightTop::before {\n  top: 0;\n  left: -7px;\n}\n.ant-menu-submenu > .ant-menu {\n  background-color: #fff;\n  border-radius: 2px;\n}\n.ant-menu-submenu > .ant-menu-submenu-title::after {\n  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-popup > .ant-menu {\n  background-color: #fff;\n}\n.ant-menu-submenu-expand-icon,\n.ant-menu-submenu-arrow {\n  position: absolute;\n  top: 50%;\n  right: 16px;\n  width: 10px;\n  color: rgba(0, 0, 0, 0.85);\n  transform: translateY(-50%);\n  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-submenu-arrow::before,\n.ant-menu-submenu-arrow::after {\n  position: absolute;\n  width: 6px;\n  height: 1.5px;\n  background-color: currentColor;\n  border-radius: 2px;\n  transition: background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  content: '';\n}\n.ant-menu-submenu-arrow::before {\n  transform: rotate(45deg) translateY(-2.5px);\n}\n.ant-menu-submenu-arrow::after {\n  transform: rotate(-45deg) translateY(2.5px);\n}\n.ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-expand-icon,\n.ant-menu-submenu:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {\n  color: #1890ff;\n}\n.ant-menu-inline-collapsed .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-inline .ant-menu-submenu-arrow::before {\n  transform: rotate(-45deg) translateX(2.5px);\n}\n.ant-menu-inline-collapsed .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-inline .ant-menu-submenu-arrow::after {\n  transform: rotate(45deg) translateX(-2.5px);\n}\n.ant-menu-submenu-horizontal .ant-menu-submenu-arrow {\n  display: none;\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title > .ant-menu-submenu-arrow {\n  transform: translateY(-2px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n  transform: rotate(-45deg) translateX(-2.5px);\n}\n.ant-menu-submenu-open.ant-menu-submenu-inline > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before {\n  transform: rotate(45deg) translateX(2.5px);\n}\n.ant-menu-vertical .ant-menu-submenu-selected,\n.ant-menu-vertical-left .ant-menu-submenu-selected,\n.ant-menu-vertical-right .ant-menu-submenu-selected {\n  color: #1890ff;\n}\n.ant-menu-horizontal {\n  line-height: 46px;\n  border: 0;\n  border-bottom: 1px solid #f0f0f0;\n  box-shadow: none;\n}\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu {\n  margin-top: -1px;\n  margin-bottom: 0;\n  padding: 0 20px;\n}\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected {\n  color: #1890ff;\n}\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after,\n.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected::after {\n  border-bottom: 2px solid #1890ff;\n}\n.ant-menu-horizontal > .ant-menu-item,\n.ant-menu-horizontal > .ant-menu-submenu {\n  position: relative;\n  top: 1px;\n  display: inline-block;\n  vertical-align: bottom;\n}\n.ant-menu-horizontal > .ant-menu-item::after,\n.ant-menu-horizontal > .ant-menu-submenu::after {\n  position: absolute;\n  right: 20px;\n  bottom: 0;\n  left: 20px;\n  border-bottom: 2px solid transparent;\n  transition: border-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  content: '';\n}\n.ant-menu-horizontal > .ant-menu-submenu > .ant-menu-submenu-title {\n  padding: 0;\n}\n.ant-menu-horizontal > .ant-menu-item a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-menu-horizontal > .ant-menu-item a:hover {\n  color: #1890ff;\n}\n.ant-menu-horizontal > .ant-menu-item a::before {\n  bottom: -2px;\n}\n.ant-menu-horizontal > .ant-menu-item-selected a {\n  color: #1890ff;\n}\n.ant-menu-horizontal::after {\n  display: block;\n  clear: both;\n  height: 0;\n  content: '\\20';\n}\n.ant-menu-vertical .ant-menu-item,\n.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-inline .ant-menu-item {\n  position: relative;\n}\n.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-vertical-right .ant-menu-item::after,\n.ant-menu-inline .ant-menu-item::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  border-right: 3px solid #1890ff;\n  transform: scaleY(0.0001);\n  opacity: 0;\n  transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);\n  content: '';\n}\n.ant-menu-vertical .ant-menu-item,\n.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-inline .ant-menu-item,\n.ant-menu-vertical .ant-menu-submenu-title,\n.ant-menu-vertical-left .ant-menu-submenu-title,\n.ant-menu-vertical-right .ant-menu-submenu-title,\n.ant-menu-inline .ant-menu-submenu-title {\n  height: 40px;\n  margin-top: 4px;\n  margin-bottom: 4px;\n  padding: 0 16px;\n  overflow: hidden;\n  line-height: 40px;\n  text-overflow: ellipsis;\n}\n.ant-menu-vertical .ant-menu-submenu,\n.ant-menu-vertical-left .ant-menu-submenu,\n.ant-menu-vertical-right .ant-menu-submenu,\n.ant-menu-inline .ant-menu-submenu {\n  padding-bottom: 0.02px;\n}\n.ant-menu-vertical .ant-menu-item:not(:last-child),\n.ant-menu-vertical-left .ant-menu-item:not(:last-child),\n.ant-menu-vertical-right .ant-menu-item:not(:last-child),\n.ant-menu-inline .ant-menu-item:not(:last-child) {\n  margin-bottom: 8px;\n}\n.ant-menu-vertical > .ant-menu-item,\n.ant-menu-vertical-left > .ant-menu-item,\n.ant-menu-vertical-right > .ant-menu-item,\n.ant-menu-inline > .ant-menu-item,\n.ant-menu-vertical > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-vertical-left > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-vertical-right > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {\n  height: 40px;\n  line-height: 40px;\n}\n.ant-menu-vertical .ant-menu-item-group-list .ant-menu-submenu-title,\n.ant-menu-vertical .ant-menu-submenu-title {\n  padding-right: 34px;\n}\n.ant-menu-inline {\n  width: 100%;\n}\n.ant-menu-inline .ant-menu-selected::after,\n.ant-menu-inline .ant-menu-item-selected::after {\n  transform: scaleY(1);\n  opacity: 1;\n  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-menu-inline .ant-menu-item,\n.ant-menu-inline .ant-menu-submenu-title {\n  width: calc(100% + 1px);\n}\n.ant-menu-inline .ant-menu-item-group-list .ant-menu-submenu-title,\n.ant-menu-inline .ant-menu-submenu-title {\n  padding-right: 34px;\n}\n.ant-menu-inline.ant-menu-root .ant-menu-item,\n.ant-menu-inline.ant-menu-root .ant-menu-submenu-title {\n  display: flex;\n  align-items: center;\n  transition: border-color 0.3s, background 0.3s, padding 0.1s cubic-bezier(0.215, 0.61, 0.355, 1);\n}\n.ant-menu-inline.ant-menu-root .ant-menu-item > .ant-menu-title-content,\n.ant-menu-inline.ant-menu-root .ant-menu-submenu-title > .ant-menu-title-content {\n  flex: auto;\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ant-menu-inline.ant-menu-root .ant-menu-item > *,\n.ant-menu-inline.ant-menu-root .ant-menu-submenu-title > * {\n  flex: none;\n}\n.ant-menu.ant-menu-inline-collapsed {\n  width: 80px;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {\n  left: 0;\n  padding: 0 calc(50% - 16px / 2);\n  text-overflow: clip;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n  opacity: 0;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .anticon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .anticon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .anticon,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .anticon {\n  margin: 0;\n  font-size: 16px;\n  line-height: 40px;\n}\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .ant-menu-item-icon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item .anticon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-item .anticon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-item-group > .ant-menu-item-group-list > .ant-menu-submenu > .ant-menu-submenu-title .anticon + span,\n.ant-menu.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title .anticon + span {\n  display: inline-block;\n  opacity: 0;\n}\n.ant-menu.ant-menu-inline-collapsed .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed .anticon {\n  display: inline-block;\n}\n.ant-menu.ant-menu-inline-collapsed-tooltip {\n  pointer-events: none;\n}\n.ant-menu.ant-menu-inline-collapsed-tooltip .ant-menu-item-icon,\n.ant-menu.ant-menu-inline-collapsed-tooltip .anticon {\n  display: none;\n}\n.ant-menu.ant-menu-inline-collapsed-tooltip a {\n  color: rgba(255, 255, 255, 0.85);\n}\n.ant-menu.ant-menu-inline-collapsed .ant-menu-item-group-title {\n  padding-right: 4px;\n  padding-left: 4px;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-menu-item-group-list {\n  margin: 0;\n  padding: 0;\n}\n.ant-menu-item-group-list .ant-menu-item,\n.ant-menu-item-group-list .ant-menu-submenu-title {\n  padding: 0 16px 0 28px;\n}\n.ant-menu-root.ant-menu-vertical,\n.ant-menu-root.ant-menu-vertical-left,\n.ant-menu-root.ant-menu-vertical-right,\n.ant-menu-root.ant-menu-inline {\n  box-shadow: none;\n}\n.ant-menu-root.ant-menu-inline-collapsed .ant-menu-item > .ant-menu-inline-collapsed-noicon,\n.ant-menu-root.ant-menu-inline-collapsed .ant-menu-submenu .ant-menu-submenu-title > .ant-menu-inline-collapsed-noicon {\n  font-size: 16px;\n  text-align: center;\n}\n.ant-menu-sub.ant-menu-inline {\n  padding: 0;\n  background: #fafafa;\n  border: 0;\n  border-radius: 0;\n  box-shadow: none;\n}\n.ant-menu-sub.ant-menu-inline > .ant-menu-item,\n.ant-menu-sub.ant-menu-inline > .ant-menu-submenu > .ant-menu-submenu-title {\n  height: 40px;\n  line-height: 40px;\n  list-style-position: inside;\n  list-style-type: disc;\n}\n.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title {\n  padding-left: 32px;\n}\n.ant-menu-item-disabled,\n.ant-menu-submenu-disabled {\n  color: rgba(0, 0, 0, 0.25) !important;\n  background: none;\n  cursor: not-allowed;\n}\n.ant-menu-item-disabled::after,\n.ant-menu-submenu-disabled::after {\n  border-color: transparent !important;\n}\n.ant-menu-item-disabled a,\n.ant-menu-submenu-disabled a {\n  color: rgba(0, 0, 0, 0.25) !important;\n  pointer-events: none;\n}\n.ant-menu-item-disabled > .ant-menu-submenu-title,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title {\n  color: rgba(0, 0, 0, 0.25) !important;\n  cursor: not-allowed;\n}\n.ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n  background: rgba(0, 0, 0, 0.25) !important;\n}\n.ant-layout-header .ant-menu {\n  line-height: inherit;\n}\n.ant-menu-light .ant-menu-item:hover,\n.ant-menu-light .ant-menu-item-active,\n.ant-menu-light .ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open,\n.ant-menu-light .ant-menu-submenu-active,\n.ant-menu-light .ant-menu-submenu-title:hover {\n  color: #1890ff;\n}\n.ant-menu.ant-menu-dark,\n.ant-menu-dark .ant-menu-sub,\n.ant-menu.ant-menu-dark .ant-menu-sub {\n  color: rgba(255, 255, 255, 0.65);\n  background: #001529;\n}\n.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow {\n  opacity: 0.45;\n  transition: all 0.3s;\n}\n.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu.ant-menu-dark .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu.ant-menu-dark .ant-menu-sub .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n  background: #fff;\n}\n.ant-menu-dark.ant-menu-submenu-popup {\n  background: transparent;\n}\n.ant-menu-dark .ant-menu-inline.ant-menu-sub {\n  background: #000c17;\n}\n.ant-menu-dark.ant-menu-horizontal {\n  border-bottom: 0;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item,\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-submenu {\n  top: 0;\n  margin-top: 0;\n  padding: 0 20px;\n  border-color: #001529;\n  border-bottom: 0;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item:hover {\n  background-color: #1890ff;\n}\n.ant-menu-dark.ant-menu-horizontal > .ant-menu-item > a::before {\n  bottom: 0;\n}\n.ant-menu-dark .ant-menu-item,\n.ant-menu-dark .ant-menu-item-group-title,\n.ant-menu-dark .ant-menu-item > a,\n.ant-menu-dark .ant-menu-item > span > a {\n  color: rgba(255, 255, 255, 0.65);\n}\n.ant-menu-dark.ant-menu-inline,\n.ant-menu-dark.ant-menu-vertical,\n.ant-menu-dark.ant-menu-vertical-left,\n.ant-menu-dark.ant-menu-vertical-right {\n  border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-dark.ant-menu-vertical-right .ant-menu-item {\n  left: 0;\n  margin-left: 0;\n  border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-dark.ant-menu-vertical-right .ant-menu-item::after {\n  border-right: 0;\n}\n.ant-menu-dark.ant-menu-inline .ant-menu-item,\n.ant-menu-dark.ant-menu-inline .ant-menu-submenu-title {\n  width: 100%;\n}\n.ant-menu-dark .ant-menu-item:hover,\n.ant-menu-dark .ant-menu-item-active,\n.ant-menu-dark .ant-menu-submenu-active,\n.ant-menu-dark .ant-menu-submenu-open,\n.ant-menu-dark .ant-menu-submenu-selected,\n.ant-menu-dark .ant-menu-submenu-title:hover {\n  color: #fff;\n  background-color: transparent;\n}\n.ant-menu-dark .ant-menu-item:hover > a,\n.ant-menu-dark .ant-menu-item-active > a,\n.ant-menu-dark .ant-menu-submenu-active > a,\n.ant-menu-dark .ant-menu-submenu-open > a,\n.ant-menu-dark .ant-menu-submenu-selected > a,\n.ant-menu-dark .ant-menu-submenu-title:hover > a,\n.ant-menu-dark .ant-menu-item:hover > span > a,\n.ant-menu-dark .ant-menu-item-active > span > a,\n.ant-menu-dark .ant-menu-submenu-active > span > a,\n.ant-menu-dark .ant-menu-submenu-open > span > a,\n.ant-menu-dark .ant-menu-submenu-selected > span > a,\n.ant-menu-dark .ant-menu-submenu-title:hover > span > a {\n  color: #fff;\n}\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow {\n  opacity: 1;\n}\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-item:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-active > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-open > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-selected > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-title:hover > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before {\n  background: #fff;\n}\n.ant-menu-dark .ant-menu-item:hover {\n  background-color: transparent;\n}\n.ant-menu-dark.ant-menu-dark:not(.ant-menu-horizontal) .ant-menu-item-selected {\n  background-color: #1890ff;\n}\n.ant-menu-dark .ant-menu-item-selected {\n  color: #fff;\n  border-right: 0;\n}\n.ant-menu-dark .ant-menu-item-selected::after {\n  border-right: 0;\n}\n.ant-menu-dark .ant-menu-item-selected > a,\n.ant-menu-dark .ant-menu-item-selected > span > a,\n.ant-menu-dark .ant-menu-item-selected > a:hover,\n.ant-menu-dark .ant-menu-item-selected > span > a:hover {\n  color: #fff;\n}\n.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon,\n.ant-menu-dark .ant-menu-item-selected .anticon {\n  color: #fff;\n}\n.ant-menu-dark .ant-menu-item-selected .ant-menu-item-icon + span,\n.ant-menu-dark .ant-menu-item-selected .anticon + span {\n  color: #fff;\n}\n.ant-menu.ant-menu-dark .ant-menu-item-selected,\n.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected {\n  background-color: #1890ff;\n}\n.ant-menu-dark .ant-menu-item-disabled,\n.ant-menu-dark .ant-menu-submenu-disabled,\n.ant-menu-dark .ant-menu-item-disabled > a,\n.ant-menu-dark .ant-menu-submenu-disabled > a,\n.ant-menu-dark .ant-menu-item-disabled > span > a,\n.ant-menu-dark .ant-menu-submenu-disabled > span > a {\n  color: rgba(255, 255, 255, 0.35) !important;\n  opacity: 0.8;\n}\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title {\n  color: rgba(255, 255, 255, 0.35) !important;\n}\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::before,\n.ant-menu-dark .ant-menu-item-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after,\n.ant-menu-dark .ant-menu-submenu-disabled > .ant-menu-submenu-title > .ant-menu-submenu-arrow::after {\n  background: rgba(255, 255, 255, 0.35) !important;\n}\n.ant-menu.ant-menu-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-menu-rtl .ant-menu-item-group-title {\n  text-align: right;\n}\n.ant-menu-rtl.ant-menu-inline,\n.ant-menu-rtl.ant-menu-vertical {\n  border-right: none;\n  border-left: 1px solid #f0f0f0;\n}\n.ant-menu-rtl.ant-menu-dark.ant-menu-inline,\n.ant-menu-rtl.ant-menu-dark.ant-menu-vertical {\n  border-left: none;\n}\n.ant-menu-rtl.ant-menu-vertical.ant-menu-sub > .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub > .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub > .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-rtl.ant-menu-vertical-left.ant-menu-sub > .ant-menu-submenu,\n.ant-menu-rtl.ant-menu-vertical-right.ant-menu-sub > .ant-menu-submenu {\n  transform-origin: top right;\n}\n.ant-menu-rtl .ant-menu-item .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-submenu-title .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-item .anticon,\n.ant-menu-rtl .ant-menu-submenu-title .anticon {\n  margin-right: auto;\n  margin-left: 10px;\n}\n.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child > .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child > .ant-menu-item-icon,\n.ant-menu-rtl .ant-menu-item.ant-menu-item-only-child > .anticon,\n.ant-menu-rtl .ant-menu-submenu-title.ant-menu-item-only-child > .anticon {\n  margin-left: 0;\n}\n.ant-menu-submenu-rtl.ant-menu-submenu-popup {\n  transform-origin: 100% 0;\n}\n.ant-menu-rtl .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-rtl .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-rtl .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow,\n.ant-menu-rtl .ant-menu-submenu-inline > .ant-menu-submenu-title .ant-menu-submenu-arrow {\n  right: auto;\n  left: 16px;\n}\n.ant-menu-rtl .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-rtl .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::before,\n.ant-menu-rtl .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::before {\n  transform: rotate(-45deg) translateY(-2px);\n}\n.ant-menu-rtl .ant-menu-submenu-vertical > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-rtl .ant-menu-submenu-vertical-left > .ant-menu-submenu-title .ant-menu-submenu-arrow::after,\n.ant-menu-rtl .ant-menu-submenu-vertical-right > .ant-menu-submenu-title .ant-menu-submenu-arrow::after {\n  transform: rotate(45deg) translateY(2px);\n}\n.ant-menu-rtl.ant-menu-vertical .ant-menu-item::after,\n.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item::after,\n.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item::after,\n.ant-menu-rtl.ant-menu-inline .ant-menu-item::after {\n  right: auto;\n  left: 0;\n}\n.ant-menu-rtl.ant-menu-vertical .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-left .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical-right .ant-menu-item,\n.ant-menu-rtl.ant-menu-inline .ant-menu-item,\n.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title,\n.ant-menu-rtl.ant-menu-vertical-left .ant-menu-submenu-title,\n.ant-menu-rtl.ant-menu-vertical-right .ant-menu-submenu-title,\n.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title {\n  text-align: right;\n}\n.ant-menu-rtl.ant-menu-inline .ant-menu-submenu-title {\n  padding-right: 0;\n  padding-left: 34px;\n}\n.ant-menu-rtl.ant-menu-vertical .ant-menu-submenu-title {\n  padding-right: 16px;\n  padding-left: 34px;\n}\n.ant-menu-rtl.ant-menu-inline-collapsed.ant-menu-vertical .ant-menu-submenu-title {\n  padding: 0 calc(50% - 16px / 2);\n}\n.ant-menu-rtl .ant-menu-item-group-list .ant-menu-item,\n.ant-menu-rtl .ant-menu-item-group-list .ant-menu-submenu-title {\n  padding: 0 28px 0 16px;\n}\n.ant-menu-sub.ant-menu-inline {\n  border: 0;\n}\n.ant-menu-rtl.ant-menu-sub.ant-menu-inline .ant-menu-item-group-title {\n  padding-right: 32px;\n  padding-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tooltip {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  z-index: 1070;\n  display: block;\n  width: -webkit-max-content;\n  width: -moz-max-content;\n  width: max-content;\n  max-width: 250px;\n  visibility: visible;\n}\n.ant-tooltip-hidden {\n  display: none;\n}\n.ant-tooltip-placement-top,\n.ant-tooltip-placement-topLeft,\n.ant-tooltip-placement-topRight {\n  padding-bottom: 8px;\n}\n.ant-tooltip-placement-right,\n.ant-tooltip-placement-rightTop,\n.ant-tooltip-placement-rightBottom {\n  padding-left: 8px;\n}\n.ant-tooltip-placement-bottom,\n.ant-tooltip-placement-bottomLeft,\n.ant-tooltip-placement-bottomRight {\n  padding-top: 8px;\n}\n.ant-tooltip-placement-left,\n.ant-tooltip-placement-leftTop,\n.ant-tooltip-placement-leftBottom {\n  padding-right: 8px;\n}\n.ant-tooltip-inner {\n  min-width: 30px;\n  min-height: 32px;\n  padding: 6px 8px;\n  color: #fff;\n  text-align: left;\n  text-decoration: none;\n  word-wrap: break-word;\n  background-color: rgba(0, 0, 0, 0.75);\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-tooltip-arrow {\n  position: absolute;\n  display: block;\n  width: 13.07106781px;\n  height: 13.07106781px;\n  overflow: hidden;\n  background: transparent;\n  pointer-events: none;\n}\n.ant-tooltip-arrow-content {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  width: 5px;\n  height: 5px;\n  margin: auto;\n  background-color: rgba(0, 0, 0, 0.75);\n  content: '';\n  pointer-events: auto;\n}\n.ant-tooltip-placement-top .ant-tooltip-arrow,\n.ant-tooltip-placement-topLeft .ant-tooltip-arrow,\n.ant-tooltip-placement-topRight .ant-tooltip-arrow {\n  bottom: -5.07106781px;\n}\n.ant-tooltip-placement-top .ant-tooltip-arrow-content,\n.ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,\n.ant-tooltip-placement-topRight .ant-tooltip-arrow-content {\n  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateY(-6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-top .ant-tooltip-arrow {\n  left: 50%;\n  transform: translateX(-50%);\n}\n.ant-tooltip-placement-topLeft .ant-tooltip-arrow {\n  left: 13px;\n}\n.ant-tooltip-placement-topRight .ant-tooltip-arrow {\n  right: 13px;\n}\n.ant-tooltip-placement-right .ant-tooltip-arrow,\n.ant-tooltip-placement-rightTop .ant-tooltip-arrow,\n.ant-tooltip-placement-rightBottom .ant-tooltip-arrow {\n  left: -5.07106781px;\n}\n.ant-tooltip-placement-right .ant-tooltip-arrow-content,\n.ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,\n.ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content {\n  box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateX(6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-right .ant-tooltip-arrow {\n  top: 50%;\n  transform: translateY(-50%);\n}\n.ant-tooltip-placement-rightTop .ant-tooltip-arrow {\n  top: 5px;\n}\n.ant-tooltip-placement-rightBottom .ant-tooltip-arrow {\n  bottom: 5px;\n}\n.ant-tooltip-placement-left .ant-tooltip-arrow,\n.ant-tooltip-placement-leftTop .ant-tooltip-arrow,\n.ant-tooltip-placement-leftBottom .ant-tooltip-arrow {\n  right: -5.07106781px;\n}\n.ant-tooltip-placement-left .ant-tooltip-arrow-content,\n.ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,\n.ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content {\n  box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateX(-6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-left .ant-tooltip-arrow {\n  top: 50%;\n  transform: translateY(-50%);\n}\n.ant-tooltip-placement-leftTop .ant-tooltip-arrow {\n  top: 5px;\n}\n.ant-tooltip-placement-leftBottom .ant-tooltip-arrow {\n  bottom: 5px;\n}\n.ant-tooltip-placement-bottom .ant-tooltip-arrow,\n.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,\n.ant-tooltip-placement-bottomRight .ant-tooltip-arrow {\n  top: -5.07106781px;\n}\n.ant-tooltip-placement-bottom .ant-tooltip-arrow-content,\n.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,\n.ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content {\n  box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);\n  transform: translateY(6.53553391px) rotate(45deg);\n}\n.ant-tooltip-placement-bottom .ant-tooltip-arrow {\n  left: 50%;\n  transform: translateX(-50%);\n}\n.ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {\n  left: 13px;\n}\n.ant-tooltip-placement-bottomRight .ant-tooltip-arrow {\n  right: 13px;\n}\n.ant-tooltip-pink .ant-tooltip-inner {\n  background-color: #eb2f96;\n}\n.ant-tooltip-pink .ant-tooltip-arrow-content {\n  background-color: #eb2f96;\n}\n.ant-tooltip-magenta .ant-tooltip-inner {\n  background-color: #eb2f96;\n}\n.ant-tooltip-magenta .ant-tooltip-arrow-content {\n  background-color: #eb2f96;\n}\n.ant-tooltip-red .ant-tooltip-inner {\n  background-color: #f5222d;\n}\n.ant-tooltip-red .ant-tooltip-arrow-content {\n  background-color: #f5222d;\n}\n.ant-tooltip-volcano .ant-tooltip-inner {\n  background-color: #fa541c;\n}\n.ant-tooltip-volcano .ant-tooltip-arrow-content {\n  background-color: #fa541c;\n}\n.ant-tooltip-orange .ant-tooltip-inner {\n  background-color: #fa8c16;\n}\n.ant-tooltip-orange .ant-tooltip-arrow-content {\n  background-color: #fa8c16;\n}\n.ant-tooltip-yellow .ant-tooltip-inner {\n  background-color: #fadb14;\n}\n.ant-tooltip-yellow .ant-tooltip-arrow-content {\n  background-color: #fadb14;\n}\n.ant-tooltip-gold .ant-tooltip-inner {\n  background-color: #faad14;\n}\n.ant-tooltip-gold .ant-tooltip-arrow-content {\n  background-color: #faad14;\n}\n.ant-tooltip-cyan .ant-tooltip-inner {\n  background-color: #13c2c2;\n}\n.ant-tooltip-cyan .ant-tooltip-arrow-content {\n  background-color: #13c2c2;\n}\n.ant-tooltip-lime .ant-tooltip-inner {\n  background-color: #a0d911;\n}\n.ant-tooltip-lime .ant-tooltip-arrow-content {\n  background-color: #a0d911;\n}\n.ant-tooltip-green .ant-tooltip-inner {\n  background-color: #52c41a;\n}\n.ant-tooltip-green .ant-tooltip-arrow-content {\n  background-color: #52c41a;\n}\n.ant-tooltip-blue .ant-tooltip-inner {\n  background-color: #1890ff;\n}\n.ant-tooltip-blue .ant-tooltip-arrow-content {\n  background-color: #1890ff;\n}\n.ant-tooltip-geekblue .ant-tooltip-inner {\n  background-color: #2f54eb;\n}\n.ant-tooltip-geekblue .ant-tooltip-arrow-content {\n  background-color: #2f54eb;\n}\n.ant-tooltip-purple .ant-tooltip-inner {\n  background-color: #722ed1;\n}\n.ant-tooltip-purple .ant-tooltip-arrow-content {\n  background-color: #722ed1;\n}\n.ant-tooltip-rtl {\n  direction: rtl;\n}\n.ant-tooltip-rtl .ant-tooltip-inner {\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-dropdown-menu-item.ant-dropdown-menu-item-danger {\n  color: #ff4d4f;\n}\n.ant-dropdown-menu-item.ant-dropdown-menu-item-danger:hover {\n  color: #fff;\n  background-color: #ff4d4f;\n}\n.ant-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: -9999px;\n  left: -9999px;\n  z-index: 1050;\n  display: block;\n}\n.ant-dropdown::before {\n  position: absolute;\n  top: -4px;\n  right: 0;\n  bottom: -4px;\n  left: -7px;\n  z-index: -9999;\n  opacity: 0.0001;\n  content: ' ';\n}\n.ant-dropdown-wrap {\n  position: relative;\n}\n.ant-dropdown-wrap .ant-btn > .anticon-down {\n  font-size: 10px;\n}\n.ant-dropdown-wrap .anticon-down::before {\n  transition: transform 0.2s;\n}\n.ant-dropdown-wrap-open .anticon-down::before {\n  transform: rotate(180deg);\n}\n.ant-dropdown-hidden,\n.ant-dropdown-menu-hidden,\n.ant-dropdown-menu-submenu-hidden {\n  display: none;\n}\n.ant-dropdown-show-arrow.ant-dropdown-placement-topCenter,\n.ant-dropdown-show-arrow.ant-dropdown-placement-topLeft,\n.ant-dropdown-show-arrow.ant-dropdown-placement-topRight {\n  padding-bottom: 10px;\n}\n.ant-dropdown-show-arrow.ant-dropdown-placement-bottomCenter,\n.ant-dropdown-show-arrow.ant-dropdown-placement-bottomLeft,\n.ant-dropdown-show-arrow.ant-dropdown-placement-bottomRight {\n  padding-top: 10px;\n}\n.ant-dropdown-arrow {\n  position: absolute;\n  z-index: 1;\n  display: block;\n  width: 8.48528137px;\n  height: 8.48528137px;\n  background: transparent;\n  border-style: solid;\n  border-width: 4.24264069px;\n  transform: rotate(45deg);\n}\n.ant-dropdown-placement-topCenter > .ant-dropdown-arrow,\n.ant-dropdown-placement-topLeft > .ant-dropdown-arrow,\n.ant-dropdown-placement-topRight > .ant-dropdown-arrow {\n  bottom: 6.2px;\n  border-top-color: transparent;\n  border-right-color: #fff;\n  border-bottom-color: #fff;\n  border-left-color: transparent;\n  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n}\n.ant-dropdown-placement-topCenter > .ant-dropdown-arrow {\n  left: 50%;\n  transform: translateX(-50%) rotate(45deg);\n}\n.ant-dropdown-placement-topLeft > .ant-dropdown-arrow {\n  left: 16px;\n}\n.ant-dropdown-placement-topRight > .ant-dropdown-arrow {\n  right: 16px;\n}\n.ant-dropdown-placement-bottomCenter > .ant-dropdown-arrow,\n.ant-dropdown-placement-bottomLeft > .ant-dropdown-arrow,\n.ant-dropdown-placement-bottomRight > .ant-dropdown-arrow {\n  top: 6px;\n  border-top-color: #fff;\n  border-right-color: transparent;\n  border-bottom-color: transparent;\n  border-left-color: #fff;\n  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.06);\n}\n.ant-dropdown-placement-bottomCenter > .ant-dropdown-arrow {\n  left: 50%;\n  transform: translateX(-50%) rotate(45deg);\n}\n.ant-dropdown-placement-bottomLeft > .ant-dropdown-arrow {\n  left: 16px;\n}\n.ant-dropdown-placement-bottomRight > .ant-dropdown-arrow {\n  right: 16px;\n}\n.ant-dropdown-menu {\n  position: relative;\n  margin: 0;\n  padding: 4px 0;\n  text-align: left;\n  list-style-type: none;\n  background-color: #fff;\n  background-clip: padding-box;\n  border-radius: 2px;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-dropdown-menu-item-group-title {\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.45);\n  transition: all 0.3s;\n}\n.ant-dropdown-menu-submenu-popup {\n  position: absolute;\n  z-index: 1050;\n  background: transparent;\n  box-shadow: none;\n  transform-origin: 0 0;\n}\n.ant-dropdown-menu-submenu-popup ul,\n.ant-dropdown-menu-submenu-popup li {\n  list-style: none;\n}\n.ant-dropdown-menu-submenu-popup ul {\n  margin-right: 0.3em;\n  margin-left: 0.3em;\n}\n.ant-dropdown-menu-item {\n  position: relative;\n  display: flex;\n  align-items: center;\n}\n.ant-dropdown-menu-item-icon {\n  min-width: 12px;\n  margin-right: 8px;\n  font-size: 12px;\n}\n.ant-dropdown-menu-title-content {\n  flex: auto;\n}\n.ant-dropdown-menu-title-content > a {\n  color: inherit;\n  transition: all 0.3s;\n}\n.ant-dropdown-menu-title-content > a:hover {\n  color: inherit;\n}\n.ant-dropdown-menu-title-content > a::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  content: '';\n}\n.ant-dropdown-menu-item,\n.ant-dropdown-menu-submenu-title {\n  clear: both;\n  margin: 0;\n  padding: 5px 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  white-space: nowrap;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-dropdown-menu-item-selected,\n.ant-dropdown-menu-submenu-title-selected {\n  color: #1890ff;\n  background-color: #e6f7ff;\n}\n.ant-dropdown-menu-item:hover,\n.ant-dropdown-menu-submenu-title:hover {\n  background-color: #f5f5f5;\n}\n.ant-dropdown-menu-item-disabled,\n.ant-dropdown-menu-submenu-title-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-dropdown-menu-item-disabled:hover,\n.ant-dropdown-menu-submenu-title-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #fff;\n  cursor: not-allowed;\n}\n.ant-dropdown-menu-item-disabled a,\n.ant-dropdown-menu-submenu-title-disabled a {\n  pointer-events: none;\n}\n.ant-dropdown-menu-item-divider,\n.ant-dropdown-menu-submenu-title-divider {\n  height: 1px;\n  margin: 4px 0;\n  overflow: hidden;\n  line-height: 0;\n  background-color: #f0f0f0;\n}\n.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,\n.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon {\n  position: absolute;\n  right: 8px;\n}\n.ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon,\n.ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon .ant-dropdown-menu-submenu-arrow-icon {\n  margin-right: 0 !important;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 10px;\n  font-style: normal;\n}\n.ant-dropdown-menu-item-group-list {\n  margin: 0 8px;\n  padding: 0;\n  list-style: none;\n}\n.ant-dropdown-menu-submenu-title {\n  padding-right: 24px;\n}\n.ant-dropdown-menu-submenu-vertical {\n  position: relative;\n}\n.ant-dropdown-menu-submenu-vertical > .ant-dropdown-menu {\n  position: absolute;\n  top: 0;\n  left: 100%;\n  min-width: 100%;\n  margin-left: 4px;\n  transform-origin: 0 0;\n}\n.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title,\n.ant-dropdown-menu-submenu.ant-dropdown-menu-submenu-disabled .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #fff;\n  cursor: not-allowed;\n}\n.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title {\n  color: #1890ff;\n}\n.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.ant-slide-down-enter.ant-slide-down-enter-active.ant-dropdown-placement-bottomRight,\n.ant-dropdown.ant-slide-down-appear.ant-slide-down-appear-active.ant-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-dropdown-placement-topRight,\n.ant-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomLeft,\n.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomCenter,\n.ant-dropdown.ant-slide-down-leave.ant-slide-down-leave-active.ant-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topLeft,\n.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topCenter,\n.ant-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-dropdown-trigger > .anticon.anticon-down,\n.ant-dropdown-link > .anticon.anticon-down,\n.ant-dropdown-button > .anticon.anticon-down {\n  font-size: 10px;\n  vertical-align: baseline;\n}\n.ant-dropdown-button {\n  white-space: nowrap;\n}\n.ant-dropdown-button.ant-btn-group > .ant-btn:last-child:not(:first-child):not(.ant-btn-icon-only) {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-dropdown-menu-dark,\n.ant-dropdown-menu-dark .ant-dropdown-menu {\n  background: #001529;\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > .anticon + span > a {\n  color: rgba(255, 255, 255, 0.65);\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a .ant-dropdown-menu-submenu-arrow::after,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > .anticon + span > a .ant-dropdown-menu-submenu-arrow::after {\n  color: rgba(255, 255, 255, 0.65);\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-submenu-title:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > a:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item > .anticon + span > a:hover {\n  color: #fff;\n  background: transparent;\n}\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,\n.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected > a {\n  color: #fff;\n  background: #1890ff;\n}\n.ant-dropdown-rtl {\n  direction: rtl;\n}\n.ant-dropdown-rtl.ant-dropdown::before {\n  right: -7px;\n  left: 0;\n}\n.ant-dropdown-menu.ant-dropdown-menu-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item-group-title {\n  direction: rtl;\n  text-align: right;\n}\n.ant-dropdown-menu-submenu-popup.ant-dropdown-menu-submenu-rtl {\n  transform-origin: 100% 0;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup ul,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-popup li {\n  text-align: right;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title {\n  text-align: right;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item > .anticon:first-child,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title > .anticon:first-child,\n.ant-dropdown-rtl .ant-dropdown-menu-item > span > .anticon:first-child,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title > span > .anticon:first-child {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow {\n  right: auto;\n  left: 8px;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-item .ant-dropdown-menu-submenu-arrow-icon,\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-arrow-icon {\n  margin-left: 0 !important;\n  transform: scaleX(-1);\n}\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-title {\n  padding-right: 12px;\n  padding-left: 24px;\n}\n.ant-dropdown-rtl .ant-dropdown-menu-submenu-vertical > .ant-dropdown-menu {\n  right: 100%;\n  left: 0;\n  margin-right: 4px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-btn {\n  line-height: 1.5715;\n  position: relative;\n  display: inline-block;\n  font-weight: 400;\n  white-space: nowrap;\n  text-align: center;\n  background-image: none;\n  border: 1px solid transparent;\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.015);\n  cursor: pointer;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  touch-action: manipulation;\n  height: 32px;\n  padding: 4px 15px;\n  font-size: 14px;\n  border-radius: 2px;\n  color: rgba(0, 0, 0, 0.85);\n  border-color: #d9d9d9;\n  background: #fff;\n}\n.ant-btn > .anticon {\n  line-height: 1;\n}\n.ant-btn,\n.ant-btn:active,\n.ant-btn:focus {\n  outline: 0;\n}\n.ant-btn:not([disabled]):hover {\n  text-decoration: none;\n}\n.ant-btn:not([disabled]):active {\n  outline: 0;\n  box-shadow: none;\n}\n.ant-btn[disabled] {\n  cursor: not-allowed;\n}\n.ant-btn[disabled] > * {\n  pointer-events: none;\n}\n.ant-btn-lg {\n  height: 40px;\n  padding: 6.4px 15px;\n  font-size: 16px;\n  border-radius: 2px;\n}\n.ant-btn-sm {\n  height: 24px;\n  padding: 0px 7px;\n  font-size: 14px;\n  border-radius: 2px;\n}\n.ant-btn > a:only-child {\n  color: currentColor;\n}\n.ant-btn > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn:hover,\n.ant-btn:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: #fff;\n}\n.ant-btn:hover > a:only-child,\n.ant-btn:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn:hover > a:only-child::after,\n.ant-btn:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: #fff;\n}\n.ant-btn:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn[disabled],\n.ant-btn[disabled]:hover,\n.ant-btn[disabled]:focus,\n.ant-btn[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn[disabled] > a:only-child,\n.ant-btn[disabled]:hover > a:only-child,\n.ant-btn[disabled]:focus > a:only-child,\n.ant-btn[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn[disabled] > a:only-child::after,\n.ant-btn[disabled]:hover > a:only-child::after,\n.ant-btn[disabled]:focus > a:only-child::after,\n.ant-btn[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn:hover,\n.ant-btn:focus,\n.ant-btn:active {\n  text-decoration: none;\n  background: #fff;\n}\n.ant-btn > span {\n  display: inline-block;\n}\n.ant-btn-primary {\n  color: #fff;\n  border-color: #1890ff;\n  background: #1890ff;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);\n}\n.ant-btn-primary > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-primary:hover,\n.ant-btn-primary:focus {\n  color: #fff;\n  border-color: #40a9ff;\n  background: #40a9ff;\n}\n.ant-btn-primary:hover > a:only-child,\n.ant-btn-primary:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary:hover > a:only-child::after,\n.ant-btn-primary:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-primary:active {\n  color: #fff;\n  border-color: #096dd9;\n  background: #096dd9;\n}\n.ant-btn-primary:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-primary[disabled],\n.ant-btn-primary[disabled]:hover,\n.ant-btn-primary[disabled]:focus,\n.ant-btn-primary[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-primary[disabled] > a:only-child,\n.ant-btn-primary[disabled]:hover > a:only-child,\n.ant-btn-primary[disabled]:focus > a:only-child,\n.ant-btn-primary[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-primary[disabled] > a:only-child::after,\n.ant-btn-primary[disabled]:hover > a:only-child::after,\n.ant-btn-primary[disabled]:focus > a:only-child::after,\n.ant-btn-primary[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child) {\n  border-right-color: #40a9ff;\n  border-left-color: #40a9ff;\n}\n.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child):disabled {\n  border-color: #d9d9d9;\n}\n.ant-btn-group .ant-btn-primary:first-child:not(:last-child) {\n  border-right-color: #40a9ff;\n}\n.ant-btn-group .ant-btn-primary:first-child:not(:last-child)[disabled] {\n  border-right-color: #d9d9d9;\n}\n.ant-btn-group .ant-btn-primary:last-child:not(:first-child),\n.ant-btn-group .ant-btn-primary + .ant-btn-primary {\n  border-left-color: #40a9ff;\n}\n.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],\n.ant-btn-group .ant-btn-primary + .ant-btn-primary[disabled] {\n  border-left-color: #d9d9d9;\n}\n.ant-btn-ghost {\n  color: rgba(0, 0, 0, 0.85);\n  border-color: #d9d9d9;\n  background: transparent;\n}\n.ant-btn-ghost > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-ghost:hover,\n.ant-btn-ghost:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: transparent;\n}\n.ant-btn-ghost:hover > a:only-child,\n.ant-btn-ghost:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost:hover > a:only-child::after,\n.ant-btn-ghost:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-ghost:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: transparent;\n}\n.ant-btn-ghost:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-ghost[disabled],\n.ant-btn-ghost[disabled]:hover,\n.ant-btn-ghost[disabled]:focus,\n.ant-btn-ghost[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-ghost[disabled] > a:only-child,\n.ant-btn-ghost[disabled]:hover > a:only-child,\n.ant-btn-ghost[disabled]:focus > a:only-child,\n.ant-btn-ghost[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-ghost[disabled] > a:only-child::after,\n.ant-btn-ghost[disabled]:hover > a:only-child::after,\n.ant-btn-ghost[disabled]:focus > a:only-child::after,\n.ant-btn-ghost[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed {\n  color: rgba(0, 0, 0, 0.85);\n  border-color: #d9d9d9;\n  background: #fff;\n  border-style: dashed;\n}\n.ant-btn-dashed > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed:hover,\n.ant-btn-dashed:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: #fff;\n}\n.ant-btn-dashed:hover > a:only-child,\n.ant-btn-dashed:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed:hover > a:only-child::after,\n.ant-btn-dashed:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: #fff;\n}\n.ant-btn-dashed:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dashed[disabled],\n.ant-btn-dashed[disabled]:hover,\n.ant-btn-dashed[disabled]:focus,\n.ant-btn-dashed[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dashed[disabled] > a:only-child,\n.ant-btn-dashed[disabled]:hover > a:only-child,\n.ant-btn-dashed[disabled]:focus > a:only-child,\n.ant-btn-dashed[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dashed[disabled] > a:only-child::after,\n.ant-btn-dashed[disabled]:hover > a:only-child::after,\n.ant-btn-dashed[disabled]:focus > a:only-child::after,\n.ant-btn-dashed[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger {\n  color: #fff;\n  border-color: #ff4d4f;\n  background: #ff4d4f;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);\n}\n.ant-btn-danger > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger:hover,\n.ant-btn-danger:focus {\n  color: #fff;\n  border-color: #ff7875;\n  background: #ff7875;\n}\n.ant-btn-danger:hover > a:only-child,\n.ant-btn-danger:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger:hover > a:only-child::after,\n.ant-btn-danger:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger:active {\n  color: #fff;\n  border-color: #d9363e;\n  background: #d9363e;\n}\n.ant-btn-danger:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-danger[disabled],\n.ant-btn-danger[disabled]:hover,\n.ant-btn-danger[disabled]:focus,\n.ant-btn-danger[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-danger[disabled] > a:only-child,\n.ant-btn-danger[disabled]:hover > a:only-child,\n.ant-btn-danger[disabled]:focus > a:only-child,\n.ant-btn-danger[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-danger[disabled] > a:only-child::after,\n.ant-btn-danger[disabled]:hover > a:only-child::after,\n.ant-btn-danger[disabled]:focus > a:only-child::after,\n.ant-btn-danger[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link {\n  color: #1890ff;\n  border-color: transparent;\n  background: transparent;\n  box-shadow: none;\n}\n.ant-btn-link > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link:hover,\n.ant-btn-link:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: transparent;\n}\n.ant-btn-link:hover > a:only-child,\n.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link:hover > a:only-child::after,\n.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: transparent;\n}\n.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link[disabled],\n.ant-btn-link[disabled]:hover,\n.ant-btn-link[disabled]:focus,\n.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-link[disabled] > a:only-child,\n.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-link:hover {\n  background: transparent;\n}\n.ant-btn-link:hover,\n.ant-btn-link:focus,\n.ant-btn-link:active {\n  border-color: transparent;\n}\n.ant-btn-link[disabled],\n.ant-btn-link[disabled]:hover,\n.ant-btn-link[disabled]:focus,\n.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: transparent;\n  background: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-link[disabled] > a:only-child,\n.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text {\n  color: rgba(0, 0, 0, 0.85);\n  border-color: transparent;\n  background: transparent;\n  box-shadow: none;\n}\n.ant-btn-text > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text:hover,\n.ant-btn-text:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: transparent;\n}\n.ant-btn-text:hover > a:only-child,\n.ant-btn-text:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text:hover > a:only-child::after,\n.ant-btn-text:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: transparent;\n}\n.ant-btn-text:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text[disabled],\n.ant-btn-text[disabled]:hover,\n.ant-btn-text[disabled]:focus,\n.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-text[disabled] > a:only-child,\n.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-text:hover,\n.ant-btn-text:focus {\n  color: rgba(0, 0, 0, 0.85);\n  background: rgba(0, 0, 0, 0.018);\n  border-color: transparent;\n}\n.ant-btn-text:active {\n  color: rgba(0, 0, 0, 0.85);\n  background: rgba(0, 0, 0, 0.028);\n  border-color: transparent;\n}\n.ant-btn-text[disabled],\n.ant-btn-text[disabled]:hover,\n.ant-btn-text[disabled]:focus,\n.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: transparent;\n  background: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-text[disabled] > a:only-child,\n.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous {\n  color: #ff4d4f;\n  border-color: #ff4d4f;\n  background: #fff;\n}\n.ant-btn-dangerous > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous:hover,\n.ant-btn-dangerous:focus {\n  color: #ff7875;\n  border-color: #ff7875;\n  background: #fff;\n}\n.ant-btn-dangerous:hover > a:only-child,\n.ant-btn-dangerous:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous:hover > a:only-child::after,\n.ant-btn-dangerous:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous:active {\n  color: #d9363e;\n  border-color: #d9363e;\n  background: #fff;\n}\n.ant-btn-dangerous:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous[disabled],\n.ant-btn-dangerous[disabled]:hover,\n.ant-btn-dangerous[disabled]:focus,\n.ant-btn-dangerous[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous[disabled] > a:only-child,\n.ant-btn-dangerous[disabled]:hover > a:only-child,\n.ant-btn-dangerous[disabled]:focus > a:only-child,\n.ant-btn-dangerous[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous[disabled] > a:only-child::after,\n.ant-btn-dangerous[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary {\n  color: #fff;\n  border-color: #ff4d4f;\n  background: #ff4d4f;\n  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);\n  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);\n}\n.ant-btn-dangerous.ant-btn-primary > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary:hover,\n.ant-btn-dangerous.ant-btn-primary:focus {\n  color: #fff;\n  border-color: #ff7875;\n  background: #ff7875;\n}\n.ant-btn-dangerous.ant-btn-primary:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-primary:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary:active {\n  color: #fff;\n  border-color: #d9363e;\n  background: #d9363e;\n}\n.ant-btn-dangerous.ant-btn-primary:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-primary[disabled],\n.ant-btn-dangerous.ant-btn-primary[disabled]:hover,\n.ant-btn-dangerous.ant-btn-primary[disabled]:focus,\n.ant-btn-dangerous.ant-btn-primary[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-primary[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-primary[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-primary[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-primary[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-primary[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-primary[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link {\n  color: #ff4d4f;\n  border-color: transparent;\n  background: transparent;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-link > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:hover,\n.ant-btn-dangerous.ant-btn-link:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: transparent;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: transparent;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link[disabled],\n.ant-btn-dangerous.ant-btn-link[disabled]:hover,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus,\n.ant-btn-dangerous.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:hover,\n.ant-btn-dangerous.ant-btn-link:focus {\n  color: #ff7875;\n  border-color: transparent;\n  background: transparent;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link:active {\n  color: #d9363e;\n  border-color: transparent;\n  background: transparent;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-link[disabled],\n.ant-btn-dangerous.ant-btn-link[disabled]:hover,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus,\n.ant-btn-dangerous.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: transparent;\n  background: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text {\n  color: #ff4d4f;\n  border-color: transparent;\n  background: transparent;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-text > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:hover,\n.ant-btn-dangerous.ant-btn-text:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n  background: transparent;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:active {\n  color: #096dd9;\n  border-color: #096dd9;\n  background: transparent;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text[disabled],\n.ant-btn-dangerous.ant-btn-text[disabled]:hover,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus,\n.ant-btn-dangerous.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:hover,\n.ant-btn-dangerous.ant-btn-text:focus {\n  color: #ff7875;\n  border-color: transparent;\n  background: rgba(0, 0, 0, 0.018);\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text:active {\n  color: #d9363e;\n  border-color: transparent;\n  background: rgba(0, 0, 0, 0.028);\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-dangerous.ant-btn-text[disabled],\n.ant-btn-dangerous.ant-btn-text[disabled]:hover,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus,\n.ant-btn-dangerous.ant-btn-text[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: transparent;\n  background: transparent;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-dangerous.ant-btn-text[disabled] > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:hover > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:focus > a:only-child::after,\n.ant-btn-dangerous.ant-btn-text[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-icon-only {\n  width: 32px;\n  height: 32px;\n  padding: 2.4px 0;\n  font-size: 16px;\n  border-radius: 2px;\n  vertical-align: -3px;\n}\n.ant-btn-icon-only > * {\n  font-size: 16px;\n}\n.ant-btn-icon-only.ant-btn-lg {\n  width: 40px;\n  height: 40px;\n  padding: 4.9px 0;\n  font-size: 18px;\n  border-radius: 2px;\n}\n.ant-btn-icon-only.ant-btn-lg > * {\n  font-size: 18px;\n}\n.ant-btn-icon-only.ant-btn-sm {\n  width: 24px;\n  height: 24px;\n  padding: 0px 0;\n  font-size: 14px;\n  border-radius: 2px;\n}\n.ant-btn-icon-only.ant-btn-sm > * {\n  font-size: 14px;\n}\n.ant-btn-icon-only > .anticon {\n  display: flex;\n  justify-content: center;\n}\n.ant-btn-round {\n  height: 32px;\n  padding: 4px 16px;\n  font-size: 14px;\n  border-radius: 32px;\n}\n.ant-btn-round.ant-btn-lg {\n  height: 40px;\n  padding: 6.4px 20px;\n  font-size: 16px;\n  border-radius: 40px;\n}\n.ant-btn-round.ant-btn-sm {\n  height: 24px;\n  padding: 0px 12px;\n  font-size: 14px;\n  border-radius: 24px;\n}\n.ant-btn-round.ant-btn-icon-only {\n  width: auto;\n}\n.ant-btn-circle {\n  min-width: 32px;\n  padding-right: 0;\n  padding-left: 0;\n  text-align: center;\n  border-radius: 50%;\n}\n.ant-btn-circle.ant-btn-lg {\n  min-width: 40px;\n  border-radius: 50%;\n}\n.ant-btn-circle.ant-btn-sm {\n  min-width: 24px;\n  border-radius: 50%;\n}\n.ant-btn::before {\n  position: absolute;\n  top: -1px;\n  right: -1px;\n  bottom: -1px;\n  left: -1px;\n  z-index: 1;\n  display: none;\n  background: #fff;\n  border-radius: inherit;\n  opacity: 0.35;\n  transition: opacity 0.2s;\n  content: '';\n  pointer-events: none;\n}\n.ant-btn .anticon {\n  transition: margin-left 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-btn .anticon.anticon-plus > svg,\n.ant-btn .anticon.anticon-minus > svg {\n  shape-rendering: optimizeSpeed;\n}\n.ant-btn.ant-btn-loading {\n  position: relative;\n}\n.ant-btn.ant-btn-loading:not([disabled]) {\n  pointer-events: none;\n}\n.ant-btn.ant-btn-loading::before {\n  display: block;\n}\n.ant-btn > .ant-btn-loading-icon {\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-btn > .ant-btn-loading-icon .anticon {\n  padding-right: 8px;\n  -webkit-animation: none;\n          animation: none;\n}\n.ant-btn > .ant-btn-loading-icon .anticon svg {\n  -webkit-animation: loadingCircle 1s infinite linear;\n          animation: loadingCircle 1s infinite linear;\n}\n.ant-btn > .ant-btn-loading-icon:only-child .anticon {\n  padding-right: 0;\n}\n.ant-btn-group {\n  position: relative;\n  display: inline-flex;\n}\n.ant-btn-group > .ant-btn,\n.ant-btn-group > span > .ant-btn {\n  position: relative;\n}\n.ant-btn-group > .ant-btn:hover,\n.ant-btn-group > span > .ant-btn:hover,\n.ant-btn-group > .ant-btn:focus,\n.ant-btn-group > span > .ant-btn:focus,\n.ant-btn-group > .ant-btn:active,\n.ant-btn-group > span > .ant-btn:active {\n  z-index: 2;\n}\n.ant-btn-group > .ant-btn[disabled],\n.ant-btn-group > span > .ant-btn[disabled] {\n  z-index: 0;\n}\n.ant-btn-group .ant-btn-icon-only {\n  font-size: 14px;\n}\n.ant-btn-group-lg > .ant-btn,\n.ant-btn-group-lg > span > .ant-btn {\n  height: 40px;\n  padding: 6.4px 15px;\n  font-size: 16px;\n  border-radius: 0;\n}\n.ant-btn-group-lg .ant-btn.ant-btn-icon-only {\n  width: 40px;\n  height: 40px;\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-btn-group-sm > .ant-btn,\n.ant-btn-group-sm > span > .ant-btn {\n  height: 24px;\n  padding: 0px 7px;\n  font-size: 14px;\n  border-radius: 0;\n}\n.ant-btn-group-sm > .ant-btn > .anticon,\n.ant-btn-group-sm > span > .ant-btn > .anticon {\n  font-size: 14px;\n}\n.ant-btn-group-sm .ant-btn.ant-btn-icon-only {\n  width: 24px;\n  height: 24px;\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-btn-group .ant-btn + .ant-btn,\n.ant-btn + .ant-btn-group,\n.ant-btn-group span + .ant-btn,\n.ant-btn-group .ant-btn + span,\n.ant-btn-group > span + span,\n.ant-btn-group + .ant-btn,\n.ant-btn-group + .ant-btn-group {\n  margin-left: -1px;\n}\n.ant-btn-group .ant-btn-primary + .ant-btn:not(.ant-btn-primary):not([disabled]) {\n  border-left-color: transparent;\n}\n.ant-btn-group .ant-btn {\n  border-radius: 0;\n}\n.ant-btn-group > .ant-btn:first-child,\n.ant-btn-group > span:first-child > .ant-btn {\n  margin-left: 0;\n}\n.ant-btn-group > .ant-btn:only-child {\n  border-radius: 2px;\n}\n.ant-btn-group > span:only-child > .ant-btn {\n  border-radius: 2px;\n}\n.ant-btn-group > .ant-btn:first-child:not(:last-child),\n.ant-btn-group > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn-group > .ant-btn:last-child:not(:first-child),\n.ant-btn-group > span:last-child:not(:first-child) > .ant-btn {\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-btn-group-sm > .ant-btn:only-child {\n  border-radius: 2px;\n}\n.ant-btn-group-sm > span:only-child > .ant-btn {\n  border-radius: 2px;\n}\n.ant-btn-group-sm > .ant-btn:first-child:not(:last-child),\n.ant-btn-group-sm > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn-group-sm > .ant-btn:last-child:not(:first-child),\n.ant-btn-group-sm > span:last-child:not(:first-child) > .ant-btn {\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-btn-group > .ant-btn-group {\n  float: left;\n}\n.ant-btn-group > .ant-btn-group:not(:first-child):not(:last-child) > .ant-btn {\n  border-radius: 0;\n}\n.ant-btn-group > .ant-btn-group:first-child:not(:last-child) > .ant-btn:last-child {\n  padding-right: 8px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-btn-group > .ant-btn-group:last-child:not(:first-child) > .ant-btn:first-child {\n  padding-left: 8px;\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-btn-rtl.ant-btn-group .ant-btn + .ant-btn,\n.ant-btn-rtl.ant-btn + .ant-btn-group,\n.ant-btn-rtl.ant-btn-group span + .ant-btn,\n.ant-btn-rtl.ant-btn-group .ant-btn + span,\n.ant-btn-rtl.ant-btn-group > span + span,\n.ant-btn-rtl.ant-btn-group + .ant-btn,\n.ant-btn-rtl.ant-btn-group + .ant-btn-group,\n.ant-btn-group-rtl.ant-btn-group .ant-btn + .ant-btn,\n.ant-btn-group-rtl.ant-btn + .ant-btn-group,\n.ant-btn-group-rtl.ant-btn-group span + .ant-btn,\n.ant-btn-group-rtl.ant-btn-group .ant-btn + span,\n.ant-btn-group-rtl.ant-btn-group > span + span,\n.ant-btn-group-rtl.ant-btn-group + .ant-btn,\n.ant-btn-group-rtl.ant-btn-group + .ant-btn-group {\n  margin-right: -1px;\n  margin-left: auto;\n}\n.ant-btn-group.ant-btn-group-rtl {\n  direction: rtl;\n}\n.ant-btn-group-rtl.ant-btn-group > .ant-btn:first-child:not(:last-child),\n.ant-btn-group-rtl.ant-btn-group > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 0;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-btn-group-rtl.ant-btn-group > .ant-btn:last-child:not(:first-child),\n.ant-btn-group-rtl.ant-btn-group > span:last-child:not(:first-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn-group-rtl.ant-btn-group-sm > .ant-btn:first-child:not(:last-child),\n.ant-btn-group-rtl.ant-btn-group-sm > span:first-child:not(:last-child) > .ant-btn {\n  border-top-left-radius: 0;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-btn-group-rtl.ant-btn-group-sm > .ant-btn:last-child:not(:first-child),\n.ant-btn-group-rtl.ant-btn-group-sm > span:last-child:not(:first-child) > .ant-btn {\n  border-top-left-radius: 2px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-btn:focus > span,\n.ant-btn:active > span {\n  position: relative;\n}\n.ant-btn > .anticon + span,\n.ant-btn > span + .anticon {\n  margin-left: 8px;\n}\n.ant-btn.ant-btn-background-ghost {\n  color: #fff;\n  border-color: #fff;\n}\n.ant-btn.ant-btn-background-ghost,\n.ant-btn.ant-btn-background-ghost:hover,\n.ant-btn.ant-btn-background-ghost:active,\n.ant-btn.ant-btn-background-ghost:focus {\n  background: transparent;\n}\n.ant-btn-background-ghost.ant-btn-primary {\n  color: #1890ff;\n  border-color: #1890ff;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-primary > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-primary:hover,\n.ant-btn-background-ghost.ant-btn-primary:focus {\n  color: #40a9ff;\n  border-color: #40a9ff;\n}\n.ant-btn-background-ghost.ant-btn-primary:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-primary:active {\n  color: #096dd9;\n  border-color: #096dd9;\n}\n.ant-btn-background-ghost.ant-btn-primary:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-primary[disabled],\n.ant-btn-background-ghost.ant-btn-primary[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-primary[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-primary[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger {\n  color: #ff4d4f;\n  border-color: #ff4d4f;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-danger > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger:hover,\n.ant-btn-background-ghost.ant-btn-danger:focus {\n  color: #ff7875;\n  border-color: #ff7875;\n}\n.ant-btn-background-ghost.ant-btn-danger:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger:active {\n  color: #d9363e;\n  border-color: #d9363e;\n}\n.ant-btn-background-ghost.ant-btn-danger:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-danger[disabled],\n.ant-btn-background-ghost.ant-btn-danger[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-danger[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-danger[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous {\n  color: #ff4d4f;\n  border-color: #ff4d4f;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous:hover,\n.ant-btn-background-ghost.ant-btn-dangerous:focus {\n  color: #ff7875;\n  border-color: #ff7875;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous:active {\n  color: #d9363e;\n  border-color: #d9363e;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous[disabled],\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link {\n  color: #ff4d4f;\n  border-color: transparent;\n  text-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus {\n  color: #ff7875;\n  border-color: transparent;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:focus > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active {\n  color: #d9363e;\n  border-color: transparent;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled],\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  background: #f5f5f5;\n  text-shadow: none;\n  box-shadow: none;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child {\n  color: currentColor;\n}\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled] > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:hover > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:focus > a:only-child::after,\n.ant-btn-background-ghost.ant-btn-dangerous.ant-btn-link[disabled]:active > a:only-child::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  content: '';\n}\n.ant-btn-two-chinese-chars::first-letter {\n  letter-spacing: 0.34em;\n}\n.ant-btn-two-chinese-chars > *:not(.anticon) {\n  margin-right: -0.34em;\n  letter-spacing: 0.34em;\n}\n.ant-btn-block {\n  width: 100%;\n}\n.ant-btn:empty {\n  display: inline-block;\n  width: 0;\n  visibility: hidden;\n  content: '\\a0';\n}\na.ant-btn {\n  padding-top: 0.01px !important;\n  line-height: 30px;\n}\na.ant-btn-lg {\n  line-height: 38px;\n}\na.ant-btn-sm {\n  line-height: 22px;\n}\n.ant-btn-rtl {\n  direction: rtl;\n}\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child),\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary + .ant-btn-primary {\n  border-right-color: #40a9ff;\n  border-left-color: #d9d9d9;\n}\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary:last-child:not(:first-child)[disabled],\n.ant-btn-group-rtl.ant-btn-group .ant-btn-primary + .ant-btn-primary[disabled] {\n  border-right-color: #d9d9d9;\n  border-left-color: #40a9ff;\n}\n.ant-btn-rtl.ant-btn > .ant-btn-loading-icon .anticon {\n  padding-right: 0;\n  padding-left: 8px;\n}\n.ant-btn > .ant-btn-loading-icon:only-child .anticon {\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-btn-rtl.ant-btn > .anticon + span,\n.ant-btn-rtl.ant-btn > span + .anticon {\n  margin-right: 8px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-picker-calendar {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  background: #fff;\n}\n.ant-picker-calendar-header {\n  display: flex;\n  justify-content: flex-end;\n  padding: 12px 0;\n}\n.ant-picker-calendar-header .ant-picker-calendar-year-select {\n  min-width: 80px;\n}\n.ant-picker-calendar-header .ant-picker-calendar-month-select {\n  min-width: 70px;\n  margin-left: 8px;\n}\n.ant-picker-calendar-header .ant-picker-calendar-mode-switch {\n  margin-left: 8px;\n}\n.ant-picker-calendar .ant-picker-panel {\n  background: #fff;\n  border: 0;\n  border-top: 1px solid #f0f0f0;\n  border-radius: 0;\n}\n.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel,\n.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel {\n  width: auto;\n}\n.ant-picker-calendar .ant-picker-panel .ant-picker-body {\n  padding: 8px 0;\n}\n.ant-picker-calendar .ant-picker-panel .ant-picker-content {\n  width: 100%;\n}\n.ant-picker-calendar-mini {\n  border-radius: 2px;\n}\n.ant-picker-calendar-mini .ant-picker-calendar-header {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-picker-calendar-mini .ant-picker-panel {\n  border-radius: 0 0 2px 2px;\n}\n.ant-picker-calendar-mini .ant-picker-content {\n  height: 256px;\n}\n.ant-picker-calendar-mini .ant-picker-content th {\n  height: auto;\n  padding: 0;\n  line-height: 18px;\n}\n.ant-picker-calendar-full .ant-picker-panel {\n  display: block;\n  width: 100%;\n  text-align: right;\n  background: #fff;\n  border: 0;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td {\n  padding: 0;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th {\n  height: auto;\n  padding: 0 12px 5px 0;\n  line-height: 18px;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell::before {\n  display: none;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date {\n  background: #f5f5f5;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today::before {\n  display: none;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today {\n  background: #e6f7ff;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value {\n  color: #1890ff;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date {\n  display: block;\n  width: auto;\n  height: auto;\n  margin: 0 4px;\n  padding: 4px 8px 0;\n  border: 0;\n  border-top: 2px solid #f0f0f0;\n  border-radius: 0;\n  transition: background 0.3s;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value {\n  line-height: 24px;\n  transition: color 0.3s;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content {\n  position: static;\n  width: auto;\n  height: 86px;\n  overflow-y: auto;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 1.5715;\n  text-align: left;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today {\n  border-color: #1890ff;\n}\n.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value {\n  color: rgba(0, 0, 0, 0.85);\n}\n@media only screen and (max-width: 480px) {\n  .ant-picker-calendar-header {\n    display: block;\n  }\n  .ant-picker-calendar-header .ant-picker-calendar-year-select {\n    width: 50%;\n  }\n  .ant-picker-calendar-header .ant-picker-calendar-month-select {\n    width: calc(50% - 8px);\n  }\n  .ant-picker-calendar-header .ant-picker-calendar-mode-switch {\n    width: 100%;\n    margin-top: 8px;\n    margin-left: 0;\n  }\n  .ant-picker-calendar-header .ant-picker-calendar-mode-switch > label {\n    width: 50%;\n    text-align: center;\n  }\n}\n.ant-picker-calendar-rtl {\n  direction: rtl;\n}\n.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel {\n  text-align: left;\n}\n.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th {\n  padding: 0 0 5px 12px;\n}\n.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content {\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-radio-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n  font-size: 0;\n}\n.ant-radio-group .ant-badge-count {\n  z-index: 1;\n}\n.ant-radio-group > .ant-badge:not(:first-child) > .ant-radio-button-wrapper {\n  border-left: none;\n}\n.ant-radio-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-flex;\n  align-items: baseline;\n  margin-right: 8px;\n  cursor: pointer;\n}\n.ant-radio-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-radio {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  display: inline-block;\n  outline: none;\n  cursor: pointer;\n}\n.ant-radio-wrapper:hover .ant-radio,\n.ant-radio:hover .ant-radio-inner,\n.ant-radio-input:focus + .ant-radio-inner {\n  border-color: #1890ff;\n}\n.ant-radio-input:focus + .ant-radio-inner {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 50%;\n  visibility: hidden;\n  -webkit-animation: antRadioEffect 0.36s ease-in-out;\n          animation: antRadioEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  content: '';\n}\n.ant-radio:hover::after,\n.ant-radio-wrapper:hover .ant-radio::after {\n  visibility: visible;\n}\n.ant-radio-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  background-color: #fff;\n  border-color: #d9d9d9;\n  border-style: solid;\n  border-width: 1px;\n  border-radius: 50%;\n  transition: all 0.3s;\n}\n.ant-radio-inner::after {\n  position: absolute;\n  top: 3px;\n  left: 3px;\n  display: block;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border-top: 0;\n  border-left: 0;\n  border-radius: 8px;\n  transform: scale(0);\n  opacity: 0;\n  transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n  content: ' ';\n}\n.ant-radio-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-radio-checked .ant-radio-inner {\n  border-color: #1890ff;\n}\n.ant-radio-checked .ant-radio-inner::after {\n  transform: scale(1);\n  opacity: 1;\n  transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-radio-disabled {\n  cursor: not-allowed;\n}\n.ant-radio-disabled .ant-radio-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n  cursor: not-allowed;\n}\n.ant-radio-disabled .ant-radio-inner::after {\n  background-color: rgba(0, 0, 0, 0.2);\n}\n.ant-radio-disabled .ant-radio-input {\n  cursor: not-allowed;\n}\n.ant-radio-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\nspan.ant-radio + * {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-radio-button-wrapper {\n  position: relative;\n  display: inline-block;\n  height: 32px;\n  margin: 0;\n  padding: 0 15px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 30px;\n  background: #fff;\n  border: 1px solid #d9d9d9;\n  border-top-width: 1.02px;\n  border-left-width: 0;\n  cursor: pointer;\n  transition: color 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;\n}\n.ant-radio-button-wrapper a {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-radio-button-wrapper > .ant-radio-button {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: -1;\n  width: 100%;\n  height: 100%;\n}\n.ant-radio-group-large .ant-radio-button-wrapper {\n  height: 40px;\n  font-size: 16px;\n  line-height: 38px;\n}\n.ant-radio-group-small .ant-radio-button-wrapper {\n  height: 24px;\n  padding: 0 7px;\n  line-height: 22px;\n}\n.ant-radio-button-wrapper:not(:first-child)::before {\n  position: absolute;\n  top: -1px;\n  left: -1px;\n  display: block;\n  box-sizing: content-box;\n  width: 1px;\n  height: 100%;\n  padding: 1px 0;\n  background-color: #d9d9d9;\n  transition: background-color 0.3s;\n  content: '';\n}\n.ant-radio-button-wrapper:first-child {\n  border-left: 1px solid #d9d9d9;\n  border-radius: 2px 0 0 2px;\n}\n.ant-radio-button-wrapper:last-child {\n  border-radius: 0 2px 2px 0;\n}\n.ant-radio-button-wrapper:first-child:last-child {\n  border-radius: 2px;\n}\n.ant-radio-button-wrapper:hover {\n  position: relative;\n  color: #1890ff;\n}\n.ant-radio-button-wrapper:focus-within {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-button-wrapper .ant-radio-inner,\n.ant-radio-button-wrapper input[type='checkbox'],\n.ant-radio-button-wrapper input[type='radio'] {\n  width: 0;\n  height: 0;\n  opacity: 0;\n  pointer-events: none;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n  z-index: 1;\n  color: #1890ff;\n  background: #fff;\n  border-color: #1890ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled)::before {\n  background-color: #1890ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child {\n  border-color: #1890ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {\n  color: #40a9ff;\n  border-color: #40a9ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover::before {\n  background-color: #40a9ff;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {\n  color: #096dd9;\n  border-color: #096dd9;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active::before {\n  background-color: #096dd9;\n}\n.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {\n  color: #fff;\n  background: #1890ff;\n  border-color: #1890ff;\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover {\n  color: #fff;\n  background: #40a9ff;\n  border-color: #40a9ff;\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active {\n  color: #fff;\n  background: #096dd9;\n  border-color: #096dd9;\n}\n.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within {\n  box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.08);\n}\n.ant-radio-button-wrapper-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-radio-button-wrapper-disabled:first-child,\n.ant-radio-button-wrapper-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n}\n.ant-radio-button-wrapper-disabled:first-child {\n  border-left-color: #d9d9d9;\n}\n.ant-radio-button-wrapper-disabled.ant-radio-button-wrapper-checked {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #e6e6e6;\n  border-color: #d9d9d9;\n  box-shadow: none;\n}\n@-webkit-keyframes antRadioEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antRadioEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-radio-group.ant-radio-group-rtl {\n  direction: rtl;\n}\n.ant-radio-wrapper.ant-radio-wrapper-rtl {\n  margin-right: 0;\n  margin-left: 8px;\n  direction: rtl;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl {\n  border-right-width: 0;\n  border-left-width: 1px;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:not(:first-child)::before {\n  right: -1px;\n  left: 0;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:first-child {\n  border-right: 1px solid #d9d9d9;\n  border-radius: 0 2px 2px 0;\n}\n.ant-radio-button-wrapper-checked:not([class*=' ant-radio-button-wrapper-disabled']).ant-radio-button-wrapper:first-child {\n  border-right-color: #40a9ff;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper:last-child {\n  border-radius: 2px 0 0 2px;\n}\n.ant-radio-button-wrapper.ant-radio-button-wrapper-rtl.ant-radio-button-wrapper-disabled:first-child {\n  border-right-color: #d9d9d9;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-picker {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  padding: 4px 11px 4px;\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  background: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: border 0.3s, box-shadow 0.3s;\n}\n.ant-picker:hover,\n.ant-picker-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-picker-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-picker.ant-picker-disabled {\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-picker.ant-picker-disabled .ant-picker-suffix {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-picker.ant-picker-borderless {\n  background-color: transparent !important;\n  border-color: transparent !important;\n  box-shadow: none !important;\n}\n.ant-picker-input {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  width: 100%;\n}\n.ant-picker-input > input {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  flex: auto;\n  min-width: 1px;\n  height: auto;\n  padding: 0;\n  background: transparent;\n  border: 0;\n}\n.ant-picker-input > input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-picker-input > input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-picker-input > input::placeholder {\n  color: #bfbfbf;\n}\n.ant-picker-input > input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-picker-input > input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-picker-input > input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-picker-input > input:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-picker-input > input:focus,\n.ant-picker-input > input-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-picker-input > input-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-picker-input > input-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-picker-input > input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-picker-input > input[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-picker-input > input-borderless,\n.ant-picker-input > input-borderless:hover,\n.ant-picker-input > input-borderless:focus,\n.ant-picker-input > input-borderless-focused,\n.ant-picker-input > input-borderless-disabled,\n.ant-picker-input > input-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-picker-input > input {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-picker-input > input-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-picker-input > input-sm {\n  padding: 0px 7px;\n}\n.ant-picker-input > input:focus {\n  box-shadow: none;\n}\n.ant-picker-input > input[disabled] {\n  background: transparent;\n}\n.ant-picker-input:hover .ant-picker-clear {\n  opacity: 1;\n}\n.ant-picker-input-placeholder > input {\n  color: #bfbfbf;\n}\n.ant-picker-large {\n  padding: 6.5px 11px 6.5px;\n}\n.ant-picker-large .ant-picker-input > input {\n  font-size: 16px;\n}\n.ant-picker-small {\n  padding: 0px 7px 0px;\n}\n.ant-picker-suffix {\n  align-self: center;\n  margin-left: 4px;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 1;\n  pointer-events: none;\n}\n.ant-picker-suffix > * {\n  vertical-align: top;\n}\n.ant-picker-clear {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 1;\n  background: #fff;\n  transform: translateY(-50%);\n  cursor: pointer;\n  opacity: 0;\n  transition: opacity 0.3s, color 0.3s;\n}\n.ant-picker-clear > * {\n  vertical-align: top;\n}\n.ant-picker-clear:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-picker-separator {\n  position: relative;\n  display: inline-block;\n  width: 1em;\n  height: 16px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 16px;\n  vertical-align: top;\n  cursor: default;\n}\n.ant-picker-focused .ant-picker-separator {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-picker-disabled .ant-picker-range-separator .ant-picker-separator {\n  cursor: not-allowed;\n}\n.ant-picker-range {\n  position: relative;\n  display: inline-flex;\n}\n.ant-picker-range .ant-picker-clear {\n  right: 11px;\n}\n.ant-picker-range:hover .ant-picker-clear {\n  opacity: 1;\n}\n.ant-picker-range .ant-picker-active-bar {\n  bottom: -1px;\n  height: 2px;\n  margin-left: 11px;\n  background: #1890ff;\n  opacity: 0;\n  transition: all 0.3s ease-out;\n  pointer-events: none;\n}\n.ant-picker-range.ant-picker-focused .ant-picker-active-bar {\n  opacity: 1;\n}\n.ant-picker-range-separator {\n  align-items: center;\n  padding: 0 8px;\n  line-height: 1;\n}\n.ant-picker-range.ant-picker-small .ant-picker-clear {\n  right: 7px;\n}\n.ant-picker-range.ant-picker-small .ant-picker-active-bar {\n  margin-left: 7px;\n}\n.ant-picker-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  z-index: 1050;\n}\n.ant-picker-dropdown-hidden {\n  display: none;\n}\n.ant-picker-dropdown-placement-bottomLeft .ant-picker-range-arrow {\n  top: 1.66666667px;\n  display: block;\n  transform: rotate(-45deg);\n}\n.ant-picker-dropdown-placement-topLeft .ant-picker-range-arrow {\n  bottom: 1.66666667px;\n  display: block;\n  transform: rotate(135deg);\n}\n.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topLeft,\n.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-topRight,\n.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topLeft,\n.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomLeft,\n.ant-picker-dropdown.ant-slide-up-enter.ant-slide-up-enter-active.ant-picker-dropdown-placement-bottomRight,\n.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomLeft,\n.ant-picker-dropdown.ant-slide-up-appear.ant-slide-up-appear-active.ant-picker-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topLeft,\n.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-topRight {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomLeft,\n.ant-picker-dropdown.ant-slide-up-leave.ant-slide-up-leave-active.ant-picker-dropdown-placement-bottomRight {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-picker-dropdown-range {\n  padding: 6.66666667px 0;\n}\n.ant-picker-dropdown-range-hidden {\n  display: none;\n}\n.ant-picker-dropdown .ant-picker-panel > .ant-picker-time-panel {\n  padding-top: 4px;\n}\n.ant-picker-ranges {\n  margin-bottom: 0;\n  padding: 4px 12px;\n  overflow: hidden;\n  line-height: 34px;\n  text-align: left;\n  list-style: none;\n}\n.ant-picker-ranges > li {\n  display: inline-block;\n}\n.ant-picker-ranges .ant-picker-preset > .ant-tag-blue {\n  color: #1890ff;\n  background: #e6f7ff;\n  border-color: #91d5ff;\n  cursor: pointer;\n}\n.ant-picker-ranges .ant-picker-ok {\n  float: right;\n  margin-left: 8px;\n}\n.ant-picker-range-wrapper {\n  display: flex;\n}\n.ant-picker-range-arrow {\n  position: absolute;\n  z-index: 1;\n  display: none;\n  width: 10px;\n  height: 10px;\n  margin-left: 16.5px;\n  box-shadow: 2px -2px 6px rgba(0, 0, 0, 0.06);\n  transition: left 0.3s ease-out;\n}\n.ant-picker-range-arrow::after {\n  position: absolute;\n  top: 1px;\n  right: 1px;\n  width: 10px;\n  height: 10px;\n  border: 5px solid #f0f0f0;\n  border-color: #fff #fff transparent transparent;\n  content: '';\n}\n.ant-picker-panel-container {\n  overflow: hidden;\n  vertical-align: top;\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  transition: margin 0.3s;\n}\n.ant-picker-panel-container .ant-picker-panels {\n  display: inline-flex;\n  flex-wrap: nowrap;\n  direction: ltr;\n}\n.ant-picker-panel-container .ant-picker-panel {\n  vertical-align: top;\n  background: transparent;\n  border-width: 0 0 1px 0;\n  border-radius: 0;\n}\n.ant-picker-panel-container .ant-picker-panel .ant-picker-content,\n.ant-picker-panel-container .ant-picker-panel table {\n  text-align: center;\n}\n.ant-picker-panel-container .ant-picker-panel-focused {\n  border-color: #f0f0f0;\n}\n.ant-picker-panel {\n  display: inline-flex;\n  flex-direction: column;\n  text-align: center;\n  background: #fff;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n  outline: none;\n}\n.ant-picker-panel-focused {\n  border-color: #1890ff;\n}\n.ant-picker-decade-panel,\n.ant-picker-year-panel,\n.ant-picker-quarter-panel,\n.ant-picker-month-panel,\n.ant-picker-week-panel,\n.ant-picker-date-panel,\n.ant-picker-time-panel {\n  display: flex;\n  flex-direction: column;\n  width: 280px;\n}\n.ant-picker-header {\n  display: flex;\n  padding: 0 8px;\n  color: rgba(0, 0, 0, 0.85);\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-picker-header > * {\n  flex: none;\n}\n.ant-picker-header button {\n  padding: 0;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 40px;\n  background: transparent;\n  border: 0;\n  cursor: pointer;\n  transition: color 0.3s;\n}\n.ant-picker-header > button {\n  min-width: 1.6em;\n  font-size: 14px;\n}\n.ant-picker-header > button:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-picker-header-view {\n  flex: auto;\n  font-weight: 500;\n  line-height: 40px;\n}\n.ant-picker-header-view button {\n  color: inherit;\n  font-weight: inherit;\n}\n.ant-picker-header-view button:not(:first-child) {\n  margin-left: 8px;\n}\n.ant-picker-header-view button:hover {\n  color: #1890ff;\n}\n.ant-picker-prev-icon,\n.ant-picker-next-icon,\n.ant-picker-super-prev-icon,\n.ant-picker-super-next-icon {\n  position: relative;\n  display: inline-block;\n  width: 7px;\n  height: 7px;\n}\n.ant-picker-prev-icon::before,\n.ant-picker-next-icon::before,\n.ant-picker-super-prev-icon::before,\n.ant-picker-super-next-icon::before {\n  position: absolute;\n  top: 0;\n  left: 0;\n  display: inline-block;\n  width: 7px;\n  height: 7px;\n  border: 0 solid currentColor;\n  border-width: 1.5px 0 0 1.5px;\n  content: '';\n}\n.ant-picker-super-prev-icon::after,\n.ant-picker-super-next-icon::after {\n  position: absolute;\n  top: 4px;\n  left: 4px;\n  display: inline-block;\n  width: 7px;\n  height: 7px;\n  border: 0 solid currentColor;\n  border-width: 1.5px 0 0 1.5px;\n  content: '';\n}\n.ant-picker-prev-icon,\n.ant-picker-super-prev-icon {\n  transform: rotate(-45deg);\n}\n.ant-picker-next-icon,\n.ant-picker-super-next-icon {\n  transform: rotate(135deg);\n}\n.ant-picker-content {\n  width: 100%;\n  table-layout: fixed;\n  border-collapse: collapse;\n}\n.ant-picker-content th,\n.ant-picker-content td {\n  position: relative;\n  min-width: 24px;\n  font-weight: 400;\n}\n.ant-picker-content th {\n  height: 30px;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 30px;\n}\n.ant-picker-cell {\n  padding: 3px 0;\n  color: rgba(0, 0, 0, 0.25);\n  cursor: pointer;\n}\n.ant-picker-cell-in-view {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-picker-cell::before {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  left: 0;\n  z-index: 1;\n  height: 24px;\n  transform: translateY(-50%);\n  transition: all 0.3s;\n  content: '';\n}\n.ant-picker-cell .ant-picker-cell-inner {\n  position: relative;\n  z-index: 2;\n  display: inline-block;\n  min-width: 24px;\n  height: 24px;\n  line-height: 24px;\n  border-radius: 2px;\n  transition: background 0.3s, border 0.3s;\n}\n.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,\n.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end) .ant-picker-cell-inner {\n  background: #f5f5f5;\n}\n.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  content: '';\n}\n.ant-picker-cell-in-view.ant-picker-cell-in-range {\n  position: relative;\n}\n.ant-picker-cell-in-view.ant-picker-cell-in-range::before {\n  background: #e6f7ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,\n.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,\n.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {\n  color: #fff;\n  background: #1890ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {\n  background: #e6f7ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-start::before {\n  left: 50%;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-end::before {\n  right: 50%;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end:not(.ant-picker-cell-in-range):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start-single::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-end-near-hover::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-start.ant-picker-cell-range-end.ant-picker-cell-range-start-near-hover::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end.ant-picker-cell-range-end-single::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-in-range)::after {\n  position: absolute;\n  top: 50%;\n  z-index: 0;\n  height: 24px;\n  border-top: 1px dashed #7ec1ff;\n  border-bottom: 1px dashed #7ec1ff;\n  transform: translateY(-50%);\n  transition: all 0.3s;\n  content: '';\n}\n.ant-picker-cell-range-hover-start::after,\n.ant-picker-cell-range-hover-end::after,\n.ant-picker-cell-range-hover::after {\n  right: 0;\n  left: 2px;\n}\n.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,\n.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,\n.ant-picker-panel > :not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,\n.ant-picker-panel > :not(.ant-picker-date-panel) .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {\n  background: #cbe6ff;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner {\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner {\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after,\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  z-index: -1;\n  background: #cbe6ff;\n  transition: all 0.3s;\n  content: '';\n}\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after {\n  right: -6px;\n  left: 0;\n}\n.ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {\n  right: 0;\n  left: -6px;\n}\n.ant-picker-cell-range-hover.ant-picker-cell-range-start::after {\n  right: 50%;\n}\n.ant-picker-cell-range-hover.ant-picker-cell-range-end::after {\n  left: 50%;\n}\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:first-child::after,\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child::after,\n.ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-start::after {\n  left: 6px;\n  border-left: 1px dashed #7ec1ff;\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:last-child::after,\ntr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::after,\n.ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range)::after,\n.ant-picker-cell-in-view.ant-picker-cell-range-hover-end::after {\n  right: 6px;\n  border-right: 1px dashed #7ec1ff;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-picker-cell-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  pointer-events: none;\n}\n.ant-picker-cell-disabled .ant-picker-cell-inner {\n  background: transparent;\n}\n.ant-picker-cell-disabled::before {\n  background: rgba(0, 0, 0, 0.04);\n}\n.ant-picker-cell-disabled.ant-picker-cell-today .ant-picker-cell-inner::before {\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-picker-decade-panel .ant-picker-content,\n.ant-picker-year-panel .ant-picker-content,\n.ant-picker-quarter-panel .ant-picker-content,\n.ant-picker-month-panel .ant-picker-content {\n  height: 264px;\n}\n.ant-picker-decade-panel .ant-picker-cell-inner,\n.ant-picker-year-panel .ant-picker-cell-inner,\n.ant-picker-quarter-panel .ant-picker-cell-inner,\n.ant-picker-month-panel .ant-picker-cell-inner {\n  padding: 0 8px;\n}\n.ant-picker-quarter-panel .ant-picker-content {\n  height: 56px;\n}\n.ant-picker-footer {\n  width: -webkit-min-content;\n  width: -moz-min-content;\n  width: min-content;\n  min-width: 100%;\n  line-height: 38px;\n  text-align: center;\n  border-bottom: 1px solid transparent;\n}\n.ant-picker-panel .ant-picker-footer {\n  border-top: 1px solid #f0f0f0;\n}\n.ant-picker-footer-extra {\n  padding: 0 12px;\n  line-height: 38px;\n  text-align: left;\n}\n.ant-picker-footer-extra:not(:last-child) {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-picker-now {\n  text-align: left;\n}\n.ant-picker-today-btn {\n  color: #1890ff;\n}\n.ant-picker-today-btn:hover {\n  color: #40a9ff;\n}\n.ant-picker-today-btn:active {\n  color: #096dd9;\n}\n.ant-picker-today-btn.ant-picker-today-btn-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-picker-decade-panel .ant-picker-cell-inner {\n  padding: 0 4px;\n}\n.ant-picker-decade-panel .ant-picker-cell::before {\n  display: none;\n}\n.ant-picker-year-panel .ant-picker-body,\n.ant-picker-quarter-panel .ant-picker-body,\n.ant-picker-month-panel .ant-picker-body {\n  padding: 0 8px;\n}\n.ant-picker-year-panel .ant-picker-cell-inner,\n.ant-picker-quarter-panel .ant-picker-cell-inner,\n.ant-picker-month-panel .ant-picker-cell-inner {\n  width: 60px;\n}\n.ant-picker-year-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-quarter-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-month-panel .ant-picker-cell-range-hover-start::after {\n  left: 14px;\n  border-left: 1px dashed #7ec1ff;\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-start::after,\n.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-start::after {\n  right: 14px;\n  border-right: 1px dashed #7ec1ff;\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-year-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-quarter-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-month-panel .ant-picker-cell-range-hover-end::after {\n  right: 14px;\n  border-right: 1px dashed #7ec1ff;\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-panel-rtl .ant-picker-year-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-panel-rtl .ant-picker-quarter-panel .ant-picker-cell-range-hover-end::after,\n.ant-picker-panel-rtl .ant-picker-month-panel .ant-picker-cell-range-hover-end::after {\n  left: 14px;\n  border-left: 1px dashed #7ec1ff;\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-week-panel .ant-picker-body {\n  padding: 8px 12px;\n}\n.ant-picker-week-panel .ant-picker-cell:hover .ant-picker-cell-inner,\n.ant-picker-week-panel .ant-picker-cell-selected .ant-picker-cell-inner,\n.ant-picker-week-panel .ant-picker-cell .ant-picker-cell-inner {\n  background: transparent !important;\n}\n.ant-picker-week-panel-row td {\n  transition: background 0.3s;\n}\n.ant-picker-week-panel-row:hover td {\n  background: #f5f5f5;\n}\n.ant-picker-week-panel-row-selected td,\n.ant-picker-week-panel-row-selected:hover td {\n  background: #1890ff;\n}\n.ant-picker-week-panel-row-selected td.ant-picker-cell-week,\n.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-week {\n  color: rgba(255, 255, 255, 0.5);\n}\n.ant-picker-week-panel-row-selected td.ant-picker-cell-today .ant-picker-cell-inner::before,\n.ant-picker-week-panel-row-selected:hover td.ant-picker-cell-today .ant-picker-cell-inner::before {\n  border-color: #fff;\n}\n.ant-picker-week-panel-row-selected td .ant-picker-cell-inner,\n.ant-picker-week-panel-row-selected:hover td .ant-picker-cell-inner {\n  color: #fff;\n}\n.ant-picker-date-panel .ant-picker-body {\n  padding: 8px 12px;\n}\n.ant-picker-date-panel .ant-picker-content {\n  width: 252px;\n}\n.ant-picker-date-panel .ant-picker-content th {\n  width: 36px;\n}\n.ant-picker-datetime-panel {\n  display: flex;\n}\n.ant-picker-datetime-panel .ant-picker-time-panel {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-picker-datetime-panel .ant-picker-date-panel,\n.ant-picker-datetime-panel .ant-picker-time-panel {\n  transition: opacity 0.3s;\n}\n.ant-picker-datetime-panel-active .ant-picker-date-panel,\n.ant-picker-datetime-panel-active .ant-picker-time-panel {\n  opacity: 0.3;\n}\n.ant-picker-datetime-panel-active .ant-picker-date-panel-active,\n.ant-picker-datetime-panel-active .ant-picker-time-panel-active {\n  opacity: 1;\n}\n.ant-picker-time-panel {\n  width: auto;\n  min-width: auto;\n}\n.ant-picker-time-panel .ant-picker-content {\n  display: flex;\n  flex: auto;\n  height: 224px;\n}\n.ant-picker-time-panel-column {\n  flex: 1 0 auto;\n  width: 56px;\n  margin: 0;\n  padding: 0;\n  overflow-y: hidden;\n  text-align: left;\n  list-style: none;\n  transition: background 0.3s;\n}\n.ant-picker-time-panel-column::after {\n  display: block;\n  height: 196px;\n  content: '';\n}\n.ant-picker-datetime-panel .ant-picker-time-panel-column::after {\n  height: 198px;\n}\n.ant-picker-time-panel-column:not(:first-child) {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-picker-time-panel-column-active {\n  background: rgba(230, 247, 255, 0.2);\n}\n.ant-picker-time-panel-column:hover {\n  overflow-y: auto;\n}\n.ant-picker-time-panel-column > li {\n  margin: 0;\n  padding: 0;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner {\n  display: block;\n  width: 100%;\n  height: 28px;\n  margin: 0;\n  padding: 0 0 0 14px;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 28px;\n  border-radius: 0;\n  cursor: pointer;\n  transition: background 0.3s;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell .ant-picker-time-panel-cell-inner:hover {\n  background: #f5f5f5;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-selected .ant-picker-time-panel-cell-inner {\n  background: #e6f7ff;\n}\n.ant-picker-time-panel-column > li.ant-picker-time-panel-cell-disabled .ant-picker-time-panel-cell-inner {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  cursor: not-allowed;\n}\n/* stylelint-disable-next-line */\n_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,\n:root .ant-picker-range-wrapper .ant-picker-month-panel .ant-picker-cell,\n_:-ms-fullscreen .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell,\n:root .ant-picker-range-wrapper .ant-picker-year-panel .ant-picker-cell {\n  padding: 21px 0;\n}\n.ant-picker-rtl {\n  direction: rtl;\n}\n.ant-picker-rtl .ant-picker-suffix {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-picker-rtl .ant-picker-clear {\n  right: auto;\n  left: 0;\n}\n.ant-picker-rtl .ant-picker-separator {\n  transform: rotate(180deg);\n}\n.ant-picker-panel-rtl .ant-picker-header-view button:not(:first-child) {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-picker-rtl.ant-picker-range .ant-picker-clear {\n  right: auto;\n  left: 11px;\n}\n.ant-picker-rtl.ant-picker-range .ant-picker-active-bar {\n  margin-right: 11px;\n  margin-left: 0;\n}\n.ant-picker-rtl.ant-picker-range.ant-picker-small .ant-picker-active-bar {\n  margin-right: 7px;\n}\n.ant-picker-dropdown-rtl .ant-picker-ranges {\n  text-align: right;\n}\n.ant-picker-dropdown-rtl .ant-picker-ranges .ant-picker-ok {\n  float: left;\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-picker-panel-rtl {\n  direction: rtl;\n}\n.ant-picker-panel-rtl .ant-picker-prev-icon,\n.ant-picker-panel-rtl .ant-picker-super-prev-icon {\n  transform: rotate(135deg);\n}\n.ant-picker-panel-rtl .ant-picker-next-icon,\n.ant-picker-panel-rtl .ant-picker-super-next-icon {\n  transform: rotate(-45deg);\n}\n.ant-picker-cell .ant-picker-cell-inner {\n  position: relative;\n  z-index: 2;\n  display: inline-block;\n  min-width: 24px;\n  height: 24px;\n  line-height: 24px;\n  border-radius: 2px;\n  transition: background 0.3s, border 0.3s;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start::before {\n  right: 50%;\n  left: 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end::before {\n  right: 0;\n  left: 50%;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-end::before {\n  right: 50%;\n  left: 50%;\n}\n.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start .ant-picker-cell-inner::after {\n  right: 0;\n  left: -6px;\n}\n.ant-picker-panel-rtl .ant-picker-date-panel .ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end .ant-picker-cell-inner::after {\n  right: -6px;\n  left: 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-start::after {\n  right: 0;\n  left: 50%;\n}\n.ant-picker-panel-rtl .ant-picker-cell-range-hover.ant-picker-cell-range-end::after {\n  right: 50%;\n  left: 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single):not(.ant-picker-cell-range-end) .ant-picker-cell-inner {\n  border-radius: 0 2px 2px 0;\n}\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single):not(.ant-picker-cell-range-start) .ant-picker-cell-inner {\n  border-radius: 2px 0 0 2px;\n}\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):first-child::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start.ant-picker-cell-range-hover-edge-start-near-range::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover-edge-start-near-range)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-start::after {\n  right: 6px;\n  left: 0;\n  border-right: 1px dashed #7ec1ff;\n  border-left: none;\n  border-top-left-radius: 0;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n  border-bottom-left-radius: 0;\n}\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover:not(.ant-picker-cell-selected):last-child::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-edge-end.ant-picker-cell-range-hover-edge-end-near-range::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover-edge-end-near-range)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-range-hover-end::after {\n  right: 0;\n  left: 6px;\n  border-right: none;\n  border-left: 1px dashed #7ec1ff;\n  border-top-left-radius: 2px;\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n  border-bottom-left-radius: 2px;\n}\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::after,\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-end:first-child::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover-end.ant-picker-cell-range-hover-edge-start:not(.ant-picker-cell-range-hover)::after,\n.ant-picker-panel-rtl .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover-start.ant-picker-cell-range-hover-edge-end:not(.ant-picker-cell-range-hover)::after,\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-start.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-start:last-child::after,\n.ant-picker-panel-rtl tr > .ant-picker-cell-in-view.ant-picker-cell-end.ant-picker-cell-range-hover.ant-picker-cell-range-hover-edge-end:first-child::after {\n  right: 6px;\n  left: 6px;\n  border-right: 1px dashed #7ec1ff;\n  border-left: 1px dashed #7ec1ff;\n  border-radius: 2px;\n}\n.ant-picker-dropdown-rtl .ant-picker-footer-extra {\n  direction: rtl;\n  text-align: right;\n}\n.ant-picker-panel-rtl .ant-picker-time-panel {\n  direction: ltr;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tag {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n  height: auto;\n  margin-right: 8px;\n  padding: 0 7px;\n  font-size: 12px;\n  line-height: 20px;\n  white-space: nowrap;\n  background: #fafafa;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  opacity: 1;\n  transition: all 0.3s;\n}\n.ant-tag,\n.ant-tag a,\n.ant-tag a:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-tag > a:first-child:last-child {\n  display: inline-block;\n  margin: 0 -8px;\n  padding: 0 8px;\n}\n.ant-tag-close-icon {\n  margin-left: 3px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 10px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-tag-close-icon:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-tag-has-color {\n  border-color: transparent;\n}\n.ant-tag-has-color,\n.ant-tag-has-color a,\n.ant-tag-has-color a:hover,\n.ant-tag-has-color .anticon-close,\n.ant-tag-has-color .anticon-close:hover {\n  color: #fff;\n}\n.ant-tag-checkable {\n  background-color: transparent;\n  border-color: transparent;\n  cursor: pointer;\n}\n.ant-tag-checkable:not(.ant-tag-checkable-checked):hover {\n  color: #1890ff;\n}\n.ant-tag-checkable:active,\n.ant-tag-checkable-checked {\n  color: #fff;\n}\n.ant-tag-checkable-checked {\n  background-color: #1890ff;\n}\n.ant-tag-checkable:active {\n  background-color: #096dd9;\n}\n.ant-tag-hidden {\n  display: none;\n}\n.ant-tag-pink {\n  color: #c41d7f;\n  background: #fff0f6;\n  border-color: #ffadd2;\n}\n.ant-tag-pink-inverse {\n  color: #fff;\n  background: #eb2f96;\n  border-color: #eb2f96;\n}\n.ant-tag-magenta {\n  color: #c41d7f;\n  background: #fff0f6;\n  border-color: #ffadd2;\n}\n.ant-tag-magenta-inverse {\n  color: #fff;\n  background: #eb2f96;\n  border-color: #eb2f96;\n}\n.ant-tag-red {\n  color: #cf1322;\n  background: #fff1f0;\n  border-color: #ffa39e;\n}\n.ant-tag-red-inverse {\n  color: #fff;\n  background: #f5222d;\n  border-color: #f5222d;\n}\n.ant-tag-volcano {\n  color: #d4380d;\n  background: #fff2e8;\n  border-color: #ffbb96;\n}\n.ant-tag-volcano-inverse {\n  color: #fff;\n  background: #fa541c;\n  border-color: #fa541c;\n}\n.ant-tag-orange {\n  color: #d46b08;\n  background: #fff7e6;\n  border-color: #ffd591;\n}\n.ant-tag-orange-inverse {\n  color: #fff;\n  background: #fa8c16;\n  border-color: #fa8c16;\n}\n.ant-tag-yellow {\n  color: #d4b106;\n  background: #feffe6;\n  border-color: #fffb8f;\n}\n.ant-tag-yellow-inverse {\n  color: #fff;\n  background: #fadb14;\n  border-color: #fadb14;\n}\n.ant-tag-gold {\n  color: #d48806;\n  background: #fffbe6;\n  border-color: #ffe58f;\n}\n.ant-tag-gold-inverse {\n  color: #fff;\n  background: #faad14;\n  border-color: #faad14;\n}\n.ant-tag-cyan {\n  color: #08979c;\n  background: #e6fffb;\n  border-color: #87e8de;\n}\n.ant-tag-cyan-inverse {\n  color: #fff;\n  background: #13c2c2;\n  border-color: #13c2c2;\n}\n.ant-tag-lime {\n  color: #7cb305;\n  background: #fcffe6;\n  border-color: #eaff8f;\n}\n.ant-tag-lime-inverse {\n  color: #fff;\n  background: #a0d911;\n  border-color: #a0d911;\n}\n.ant-tag-green {\n  color: #389e0d;\n  background: #f6ffed;\n  border-color: #b7eb8f;\n}\n.ant-tag-green-inverse {\n  color: #fff;\n  background: #52c41a;\n  border-color: #52c41a;\n}\n.ant-tag-blue {\n  color: #096dd9;\n  background: #e6f7ff;\n  border-color: #91d5ff;\n}\n.ant-tag-blue-inverse {\n  color: #fff;\n  background: #1890ff;\n  border-color: #1890ff;\n}\n.ant-tag-geekblue {\n  color: #1d39c4;\n  background: #f0f5ff;\n  border-color: #adc6ff;\n}\n.ant-tag-geekblue-inverse {\n  color: #fff;\n  background: #2f54eb;\n  border-color: #2f54eb;\n}\n.ant-tag-purple {\n  color: #531dab;\n  background: #f9f0ff;\n  border-color: #d3adf7;\n}\n.ant-tag-purple-inverse {\n  color: #fff;\n  background: #722ed1;\n  border-color: #722ed1;\n}\n.ant-tag-success {\n  color: #52c41a;\n  background: #f6ffed;\n  border-color: #b7eb8f;\n}\n.ant-tag-processing {\n  color: #1890ff;\n  background: #e6f7ff;\n  border-color: #91d5ff;\n}\n.ant-tag-error {\n  color: #f5222d;\n  background: #fff1f0;\n  border-color: #ffa39e;\n}\n.ant-tag-warning {\n  color: #fa8c16;\n  background: #fff7e6;\n  border-color: #ffd591;\n}\n.ant-tag > .anticon + span,\n.ant-tag > span + .anticon {\n  margin-left: 7px;\n}\n.ant-tag.ant-tag-rtl {\n  margin-right: 0;\n  margin-left: 8px;\n  direction: rtl;\n  text-align: right;\n}\n.ant-tag-rtl .ant-tag-close-icon {\n  margin-right: 3px;\n  margin-left: 0;\n}\n.ant-tag-rtl.ant-tag > .anticon + span,\n.ant-tag-rtl.ant-tag > span + .anticon {\n  margin-right: 7px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-card {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  background: #fff;\n  border-radius: 2px;\n}\n.ant-card-rtl {\n  direction: rtl;\n}\n.ant-card-hoverable {\n  cursor: pointer;\n  transition: box-shadow 0.3s, border-color 0.3s;\n}\n.ant-card-hoverable:hover {\n  border-color: transparent;\n  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);\n}\n.ant-card-bordered {\n  border: 1px solid #f0f0f0;\n}\n.ant-card-head {\n  min-height: 48px;\n  margin-bottom: -1px;\n  padding: 0 24px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  font-size: 16px;\n  background: transparent;\n  border-bottom: 1px solid #f0f0f0;\n  border-radius: 2px 2px 0 0;\n}\n.ant-card-head::before {\n  display: table;\n  content: '';\n}\n.ant-card-head::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-card-head-wrapper {\n  display: flex;\n  align-items: center;\n}\n.ant-card-head-title {\n  display: inline-block;\n  flex: 1;\n  padding: 16px 0;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-card-head-title > .ant-typography,\n.ant-card-head-title > .ant-typography-edit-content {\n  left: 0;\n  margin-top: 0;\n  margin-bottom: 0;\n}\n.ant-card-head .ant-tabs {\n  clear: both;\n  margin-bottom: -17px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n}\n.ant-card-head .ant-tabs-bar {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-card-extra {\n  float: right;\n  margin-left: auto;\n  padding: 16px 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n}\n.ant-card-rtl .ant-card-extra {\n  margin-right: auto;\n  margin-left: 0;\n}\n.ant-card-body {\n  padding: 24px;\n}\n.ant-card-body::before {\n  display: table;\n  content: '';\n}\n.ant-card-body::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-card-contain-grid:not(.ant-card-loading) .ant-card-body {\n  margin: -1px 0 0 -1px;\n  padding: 0;\n}\n.ant-card-grid {\n  float: left;\n  width: 33.33%;\n  padding: 24px;\n  border: 0;\n  border-radius: 0;\n  box-shadow: 1px 0 0 0 #f0f0f0, 0 1px 0 0 #f0f0f0, 1px 1px 0 0 #f0f0f0, 1px 0 0 0 #f0f0f0 inset, 0 1px 0 0 #f0f0f0 inset;\n  transition: all 0.3s;\n}\n.ant-card-rtl .ant-card-grid {\n  float: right;\n}\n.ant-card-grid-hoverable:hover {\n  position: relative;\n  z-index: 1;\n  box-shadow: 0 1px 2px -2px rgba(0, 0, 0, 0.16), 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 5px 12px 4px rgba(0, 0, 0, 0.09);\n}\n.ant-card-contain-tabs > .ant-card-head .ant-card-head-title {\n  min-height: 32px;\n  padding-bottom: 0;\n}\n.ant-card-contain-tabs > .ant-card-head .ant-card-extra {\n  padding-bottom: 0;\n}\n.ant-card-bordered .ant-card-cover {\n  margin-top: -1px;\n  margin-right: -1px;\n  margin-left: -1px;\n}\n.ant-card-cover > * {\n  display: block;\n  width: 100%;\n}\n.ant-card-cover img {\n  border-radius: 2px 2px 0 0;\n}\n.ant-card-actions {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n  background: #fff;\n  border-top: 1px solid #f0f0f0;\n}\n.ant-card-actions::before {\n  display: table;\n  content: '';\n}\n.ant-card-actions::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-card-actions > li {\n  float: left;\n  margin: 12px 0;\n  color: rgba(0, 0, 0, 0.45);\n  text-align: center;\n}\n.ant-card-rtl .ant-card-actions > li {\n  float: right;\n}\n.ant-card-actions > li > span {\n  position: relative;\n  display: block;\n  min-width: 32px;\n  font-size: 14px;\n  line-height: 1.5715;\n  cursor: pointer;\n}\n.ant-card-actions > li > span:hover {\n  color: #1890ff;\n  transition: color 0.3s;\n}\n.ant-card-actions > li > span a:not(.ant-btn),\n.ant-card-actions > li > span > .anticon {\n  display: inline-block;\n  width: 100%;\n  color: rgba(0, 0, 0, 0.45);\n  line-height: 22px;\n  transition: color 0.3s;\n}\n.ant-card-actions > li > span a:not(.ant-btn):hover,\n.ant-card-actions > li > span > .anticon:hover {\n  color: #1890ff;\n}\n.ant-card-actions > li > span > .anticon {\n  font-size: 16px;\n  line-height: 22px;\n}\n.ant-card-actions > li:not(:last-child) {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-card-rtl .ant-card-actions > li:not(:last-child) {\n  border-right: none;\n  border-left: 1px solid #f0f0f0;\n}\n.ant-card-type-inner .ant-card-head {\n  padding: 0 24px;\n  background: #fafafa;\n}\n.ant-card-type-inner .ant-card-head-title {\n  padding: 12px 0;\n  font-size: 14px;\n}\n.ant-card-type-inner .ant-card-body {\n  padding: 16px 24px;\n}\n.ant-card-type-inner .ant-card-extra {\n  padding: 13.5px 0;\n}\n.ant-card-meta {\n  margin: -4px 0;\n}\n.ant-card-meta::before {\n  display: table;\n  content: '';\n}\n.ant-card-meta::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-card-meta-avatar {\n  float: left;\n  padding-right: 16px;\n}\n.ant-card-rtl .ant-card-meta-avatar {\n  float: right;\n  padding-right: 0;\n  padding-left: 16px;\n}\n.ant-card-meta-detail {\n  overflow: hidden;\n}\n.ant-card-meta-detail > div:not(:last-child) {\n  margin-bottom: 8px;\n}\n.ant-card-meta-title {\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  font-size: 16px;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-card-meta-description {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-card-loading {\n  overflow: hidden;\n}\n.ant-card-loading .ant-card-body {\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-card-loading-content p {\n  margin: 0;\n}\n.ant-card-loading-block {\n  height: 14px;\n  margin: 4px 0;\n  background: linear-gradient(90deg, rgba(207, 216, 220, 0.2), rgba(207, 216, 220, 0.4), rgba(207, 216, 220, 0.2));\n  background-size: 600% 600%;\n  border-radius: 2px;\n  -webkit-animation: card-loading 1.4s ease infinite;\n          animation: card-loading 1.4s ease infinite;\n}\n@-webkit-keyframes card-loading {\n  0%,\n  100% {\n    background-position: 0 50%;\n  }\n  50% {\n    background-position: 100% 50%;\n  }\n}\n@keyframes card-loading {\n  0%,\n  100% {\n    background-position: 0 50%;\n  }\n  50% {\n    background-position: 100% 50%;\n  }\n}\n.ant-card-small > .ant-card-head {\n  min-height: 36px;\n  padding: 0 12px;\n  font-size: 14px;\n}\n.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-head-title {\n  padding: 8px 0;\n}\n.ant-card-small > .ant-card-head > .ant-card-head-wrapper > .ant-card-extra {\n  padding: 8px 0;\n  font-size: 14px;\n}\n.ant-card-small > .ant-card-body {\n  padding: 12px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {\n  padding: 8px 0;\n  font-size: 14px;\n}\n.ant-tabs-large > .ant-tabs-nav .ant-tabs-tab {\n  padding: 16px 0;\n  font-size: 16px;\n}\n.ant-tabs-card.ant-tabs-small > .ant-tabs-nav .ant-tabs-tab {\n  padding: 6px 16px;\n}\n.ant-tabs-card.ant-tabs-large > .ant-tabs-nav .ant-tabs-tab {\n  padding: 7px 16px 6px;\n}\n.ant-tabs-rtl {\n  direction: rtl;\n}\n.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab {\n  margin: 0 0 0 32px;\n}\n.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab:last-of-type {\n  margin-left: 0;\n}\n.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .anticon {\n  margin-right: 0;\n  margin-left: 12px;\n}\n.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove {\n  margin-right: 8px;\n  margin-left: -4px;\n}\n.ant-tabs-rtl .ant-tabs-nav .ant-tabs-tab .ant-tabs-tab-remove .anticon {\n  margin: 0;\n}\n.ant-tabs-rtl.ant-tabs-left > .ant-tabs-nav {\n  order: 1;\n}\n.ant-tabs-rtl.ant-tabs-left > .ant-tabs-content-holder {\n  order: 0;\n}\n.ant-tabs-rtl.ant-tabs-right > .ant-tabs-nav {\n  order: 0;\n}\n.ant-tabs-rtl.ant-tabs-right > .ant-tabs-content-holder {\n  order: 1;\n}\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {\n  margin-right: 2px;\n  margin-left: 0;\n}\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-add,\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-add,\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-add,\n.ant-tabs-rtl.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-add {\n  margin-right: 2px;\n  margin-left: 0;\n}\n.ant-tabs-dropdown-rtl {\n  direction: rtl;\n}\n.ant-tabs-dropdown-rtl .ant-tabs-dropdown-menu-item {\n  text-align: right;\n}\n.ant-tabs-top,\n.ant-tabs-bottom {\n  flex-direction: column;\n}\n.ant-tabs-top > .ant-tabs-nav,\n.ant-tabs-bottom > .ant-tabs-nav,\n.ant-tabs-top > div > .ant-tabs-nav,\n.ant-tabs-bottom > div > .ant-tabs-nav {\n  margin: 0 0 16px 0;\n}\n.ant-tabs-top > .ant-tabs-nav::before,\n.ant-tabs-bottom > .ant-tabs-nav::before,\n.ant-tabs-top > div > .ant-tabs-nav::before,\n.ant-tabs-bottom > div > .ant-tabs-nav::before {\n  position: absolute;\n  right: 0;\n  left: 0;\n  border-bottom: 1px solid #f0f0f0;\n  content: '';\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  height: 2px;\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar-animated,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-ink-bar-animated,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-ink-bar-animated,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-ink-bar-animated {\n  transition: width 0.3s, left 0.3s, right 0.3s;\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-wrap::after {\n  top: 0;\n  bottom: 0;\n  width: 30px;\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-wrap::before {\n  left: 0;\n  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.08);\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-wrap::after {\n  right: 0;\n  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.08);\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left::before,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left::before,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left::before,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-left::before {\n  opacity: 1;\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right::after,\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right::after,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right::after,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-right::after {\n  opacity: 1;\n}\n.ant-tabs-top > .ant-tabs-nav::before,\n.ant-tabs-top > div > .ant-tabs-nav::before {\n  bottom: 0;\n}\n.ant-tabs-top > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  bottom: 0;\n}\n.ant-tabs-bottom > .ant-tabs-nav,\n.ant-tabs-bottom > div > .ant-tabs-nav {\n  order: 1;\n  margin-top: 16px;\n  margin-bottom: 0;\n}\n.ant-tabs-bottom > .ant-tabs-nav::before,\n.ant-tabs-bottom > div > .ant-tabs-nav::before {\n  top: 0;\n}\n.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  top: 0;\n}\n.ant-tabs-bottom > .ant-tabs-content-holder,\n.ant-tabs-bottom > div > .ant-tabs-content-holder {\n  order: 0;\n}\n.ant-tabs-left > .ant-tabs-nav,\n.ant-tabs-right > .ant-tabs-nav,\n.ant-tabs-left > div > .ant-tabs-nav,\n.ant-tabs-right > div > .ant-tabs-nav {\n  flex-direction: column;\n  min-width: 50px;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-tab {\n  padding: 8px 24px;\n  text-align: center;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {\n  margin: 16px 0 0 0;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap {\n  flex-direction: column;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap::after {\n  right: 0;\n  left: 0;\n  height: 30px;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap::before {\n  top: 0;\n  box-shadow: inset 0 10px 8px -8px rgba(0, 0, 0, 0.08);\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap::after {\n  bottom: 0;\n  box-shadow: inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08);\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top::before,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top::before,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top::before,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-top::before {\n  opacity: 1;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom::after,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom::after,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom::after,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-wrap.ant-tabs-nav-wrap-ping-bottom::after {\n  opacity: 1;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  width: 2px;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-ink-bar-animated,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-ink-bar-animated,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-ink-bar-animated,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-ink-bar-animated {\n  transition: height 0.3s, top 0.3s;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-list,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-list,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-list,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-list,\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-nav-operations,\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-nav-operations,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-nav-operations,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-nav-operations {\n  flex: 1 0 auto;\n  flex-direction: column;\n}\n.ant-tabs-left > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  right: 0;\n}\n.ant-tabs-left > .ant-tabs-content-holder,\n.ant-tabs-left > div > .ant-tabs-content-holder {\n  margin-left: -1px;\n  border-left: 1px solid #f0f0f0;\n}\n.ant-tabs-left > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,\n.ant-tabs-left > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {\n  padding-left: 24px;\n}\n.ant-tabs-right > .ant-tabs-nav,\n.ant-tabs-right > div > .ant-tabs-nav {\n  order: 1;\n}\n.ant-tabs-right > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  left: 0;\n}\n.ant-tabs-right > .ant-tabs-content-holder,\n.ant-tabs-right > div > .ant-tabs-content-holder {\n  order: 0;\n  margin-right: -1px;\n  border-right: 1px solid #f0f0f0;\n}\n.ant-tabs-right > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane,\n.ant-tabs-right > div > .ant-tabs-content-holder > .ant-tabs-content > .ant-tabs-tabpane {\n  padding-right: 24px;\n}\n.ant-tabs-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: -9999px;\n  left: -9999px;\n  z-index: 1050;\n  display: block;\n}\n.ant-tabs-dropdown-hidden {\n  display: none;\n}\n.ant-tabs-dropdown-menu {\n  max-height: 200px;\n  margin: 0;\n  padding: 4px 0;\n  overflow-x: hidden;\n  overflow-y: auto;\n  text-align: left;\n  list-style-type: none;\n  background-color: #fff;\n  background-clip: padding-box;\n  border-radius: 2px;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-tabs-dropdown-menu-item {\n  min-width: 120px;\n  margin: 0;\n  padding: 5px 12px;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 22px;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-tabs-dropdown-menu-item:hover {\n  background: #f5f5f5;\n}\n.ant-tabs-dropdown-menu-item-disabled,\n.ant-tabs-dropdown-menu-item-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  cursor: not-allowed;\n}\n.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab {\n  margin: 0;\n  padding: 8px 16px;\n  background: #fafafa;\n  border: 1px solid #f0f0f0;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-tabs-card > .ant-tabs-nav .ant-tabs-tab-active,\n.ant-tabs-card > div > .ant-tabs-nav .ant-tabs-tab-active {\n  color: #1890ff;\n  background: #fff;\n}\n.ant-tabs-card > .ant-tabs-nav .ant-tabs-ink-bar,\n.ant-tabs-card > div > .ant-tabs-nav .ant-tabs-ink-bar {\n  visibility: hidden;\n}\n.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {\n  margin-left: 2px;\n}\n.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-tab {\n  border-radius: 2px 2px 0 0;\n}\n.ant-tabs-card.ant-tabs-top > .ant-tabs-nav .ant-tabs-tab-active,\n.ant-tabs-card.ant-tabs-top > div > .ant-tabs-nav .ant-tabs-tab-active {\n  border-bottom-color: #fff;\n}\n.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-tab {\n  border-radius: 0 0 2px 2px;\n}\n.ant-tabs-card.ant-tabs-bottom > .ant-tabs-nav .ant-tabs-tab-active,\n.ant-tabs-card.ant-tabs-bottom > div > .ant-tabs-nav .ant-tabs-tab-active {\n  border-top-color: #fff;\n}\n.ant-tabs-card.ant-tabs-left > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-right > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-tab + .ant-tabs-tab {\n  margin-top: 2px;\n}\n.ant-tabs-card.ant-tabs-left > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-tab {\n  border-radius: 2px 0 0 2px;\n}\n.ant-tabs-card.ant-tabs-left > .ant-tabs-nav .ant-tabs-tab-active,\n.ant-tabs-card.ant-tabs-left > div > .ant-tabs-nav .ant-tabs-tab-active {\n  border-right-color: #fff;\n}\n.ant-tabs-card.ant-tabs-right > .ant-tabs-nav .ant-tabs-tab,\n.ant-tabs-card.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-tab {\n  border-radius: 0 2px 2px 0;\n}\n.ant-tabs-card.ant-tabs-right > .ant-tabs-nav .ant-tabs-tab-active,\n.ant-tabs-card.ant-tabs-right > div > .ant-tabs-nav .ant-tabs-tab-active {\n  border-left-color: #fff;\n}\n.ant-tabs {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: flex;\n  overflow: hidden;\n}\n.ant-tabs > .ant-tabs-nav,\n.ant-tabs > div > .ant-tabs-nav {\n  position: relative;\n  display: flex;\n  flex: none;\n  align-items: center;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-wrap,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-wrap {\n  position: relative;\n  display: inline-block;\n  display: flex;\n  flex: auto;\n  align-self: stretch;\n  overflow: hidden;\n  white-space: nowrap;\n  transform: translate(0);\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-wrap::before,\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-wrap::after,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-wrap::after {\n  position: absolute;\n  z-index: 1;\n  opacity: 0;\n  transition: opacity 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-list,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-list {\n  position: relative;\n  display: flex;\n  transition: transform 0.3s;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-operations,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-operations {\n  display: flex;\n  align-self: stretch;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-operations-hidden,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-operations-hidden {\n  position: absolute;\n  visibility: hidden;\n  pointer-events: none;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-more,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-more {\n  position: relative;\n  padding: 8px 16px;\n  background: transparent;\n  border: 0;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-more::after,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-more::after {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  height: 5px;\n  transform: translateY(100%);\n  content: '';\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add {\n  min-width: 40px;\n  margin-left: 2px;\n  padding: 0 8px;\n  background: #fafafa;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px 2px 0 0;\n  outline: none;\n  cursor: pointer;\n  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:hover,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:hover {\n  color: #40a9ff;\n}\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:active,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:active,\n.ant-tabs > .ant-tabs-nav .ant-tabs-nav-add:focus,\n.ant-tabs > div > .ant-tabs-nav .ant-tabs-nav-add:focus {\n  color: #096dd9;\n}\n.ant-tabs-extra-content {\n  flex: none;\n}\n.ant-tabs-centered > .ant-tabs-nav .ant-tabs-nav-wrap:not([class*='ant-tabs-nav-wrap-ping']),\n.ant-tabs-centered > div > .ant-tabs-nav .ant-tabs-nav-wrap:not([class*='ant-tabs-nav-wrap-ping']) {\n  justify-content: center;\n}\n.ant-tabs-ink-bar {\n  position: absolute;\n  background: #1890ff;\n  pointer-events: none;\n}\n.ant-tabs-tab {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  padding: 12px 0;\n  font-size: 14px;\n  background: transparent;\n  border: 0;\n  outline: none;\n  cursor: pointer;\n}\n.ant-tabs-tab-btn:focus,\n.ant-tabs-tab-remove:focus,\n.ant-tabs-tab-btn:active,\n.ant-tabs-tab-remove:active {\n  color: #096dd9;\n}\n.ant-tabs-tab-btn {\n  outline: none;\n  transition: all 0.3s;\n}\n.ant-tabs-tab-remove {\n  flex: none;\n  margin-right: -4px;\n  margin-left: 8px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 12px;\n  background: transparent;\n  border: none;\n  outline: none;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-tabs-tab-remove:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-tabs-tab:hover {\n  color: #40a9ff;\n}\n.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n  color: #1890ff;\n  text-shadow: 0 0 0.25px currentColor;\n}\n.ant-tabs-tab.ant-tabs-tab-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:focus,\n.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:focus,\n.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-btn:active,\n.ant-tabs-tab.ant-tabs-tab-disabled .ant-tabs-tab-remove:active {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-tabs-tab .ant-tabs-tab-remove .anticon {\n  margin: 0;\n}\n.ant-tabs-tab .anticon {\n  margin-right: 12px;\n}\n.ant-tabs-tab + .ant-tabs-tab {\n  margin: 0 0 0 32px;\n}\n.ant-tabs-content {\n  display: flex;\n  width: 100%;\n}\n.ant-tabs-content-holder {\n  flex: auto;\n  min-width: 0;\n  min-height: 0;\n}\n.ant-tabs-content-animated {\n  transition: margin 0.3s;\n}\n.ant-tabs-tabpane {\n  flex: none;\n  width: 100%;\n  outline: none;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-row {\n  display: flex;\n  flex-flow: row wrap;\n}\n.ant-row::before,\n.ant-row::after {\n  display: flex;\n}\n.ant-row-no-wrap {\n  flex-wrap: nowrap;\n}\n.ant-row-start {\n  justify-content: flex-start;\n}\n.ant-row-center {\n  justify-content: center;\n}\n.ant-row-end {\n  justify-content: flex-end;\n}\n.ant-row-space-between {\n  justify-content: space-between;\n}\n.ant-row-space-around {\n  justify-content: space-around;\n}\n.ant-row-top {\n  align-items: flex-start;\n}\n.ant-row-middle {\n  align-items: center;\n}\n.ant-row-bottom {\n  align-items: flex-end;\n}\n.ant-col {\n  position: relative;\n  max-width: 100%;\n  min-height: 1px;\n}\n.ant-col-24 {\n  display: block;\n  flex: 0 0 100%;\n  max-width: 100%;\n}\n.ant-col-push-24 {\n  left: 100%;\n}\n.ant-col-pull-24 {\n  right: 100%;\n}\n.ant-col-offset-24 {\n  margin-left: 100%;\n}\n.ant-col-order-24 {\n  order: 24;\n}\n.ant-col-23 {\n  display: block;\n  flex: 0 0 95.83333333%;\n  max-width: 95.83333333%;\n}\n.ant-col-push-23 {\n  left: 95.83333333%;\n}\n.ant-col-pull-23 {\n  right: 95.83333333%;\n}\n.ant-col-offset-23 {\n  margin-left: 95.83333333%;\n}\n.ant-col-order-23 {\n  order: 23;\n}\n.ant-col-22 {\n  display: block;\n  flex: 0 0 91.66666667%;\n  max-width: 91.66666667%;\n}\n.ant-col-push-22 {\n  left: 91.66666667%;\n}\n.ant-col-pull-22 {\n  right: 91.66666667%;\n}\n.ant-col-offset-22 {\n  margin-left: 91.66666667%;\n}\n.ant-col-order-22 {\n  order: 22;\n}\n.ant-col-21 {\n  display: block;\n  flex: 0 0 87.5%;\n  max-width: 87.5%;\n}\n.ant-col-push-21 {\n  left: 87.5%;\n}\n.ant-col-pull-21 {\n  right: 87.5%;\n}\n.ant-col-offset-21 {\n  margin-left: 87.5%;\n}\n.ant-col-order-21 {\n  order: 21;\n}\n.ant-col-20 {\n  display: block;\n  flex: 0 0 83.33333333%;\n  max-width: 83.33333333%;\n}\n.ant-col-push-20 {\n  left: 83.33333333%;\n}\n.ant-col-pull-20 {\n  right: 83.33333333%;\n}\n.ant-col-offset-20 {\n  margin-left: 83.33333333%;\n}\n.ant-col-order-20 {\n  order: 20;\n}\n.ant-col-19 {\n  display: block;\n  flex: 0 0 79.16666667%;\n  max-width: 79.16666667%;\n}\n.ant-col-push-19 {\n  left: 79.16666667%;\n}\n.ant-col-pull-19 {\n  right: 79.16666667%;\n}\n.ant-col-offset-19 {\n  margin-left: 79.16666667%;\n}\n.ant-col-order-19 {\n  order: 19;\n}\n.ant-col-18 {\n  display: block;\n  flex: 0 0 75%;\n  max-width: 75%;\n}\n.ant-col-push-18 {\n  left: 75%;\n}\n.ant-col-pull-18 {\n  right: 75%;\n}\n.ant-col-offset-18 {\n  margin-left: 75%;\n}\n.ant-col-order-18 {\n  order: 18;\n}\n.ant-col-17 {\n  display: block;\n  flex: 0 0 70.83333333%;\n  max-width: 70.83333333%;\n}\n.ant-col-push-17 {\n  left: 70.83333333%;\n}\n.ant-col-pull-17 {\n  right: 70.83333333%;\n}\n.ant-col-offset-17 {\n  margin-left: 70.83333333%;\n}\n.ant-col-order-17 {\n  order: 17;\n}\n.ant-col-16 {\n  display: block;\n  flex: 0 0 66.66666667%;\n  max-width: 66.66666667%;\n}\n.ant-col-push-16 {\n  left: 66.66666667%;\n}\n.ant-col-pull-16 {\n  right: 66.66666667%;\n}\n.ant-col-offset-16 {\n  margin-left: 66.66666667%;\n}\n.ant-col-order-16 {\n  order: 16;\n}\n.ant-col-15 {\n  display: block;\n  flex: 0 0 62.5%;\n  max-width: 62.5%;\n}\n.ant-col-push-15 {\n  left: 62.5%;\n}\n.ant-col-pull-15 {\n  right: 62.5%;\n}\n.ant-col-offset-15 {\n  margin-left: 62.5%;\n}\n.ant-col-order-15 {\n  order: 15;\n}\n.ant-col-14 {\n  display: block;\n  flex: 0 0 58.33333333%;\n  max-width: 58.33333333%;\n}\n.ant-col-push-14 {\n  left: 58.33333333%;\n}\n.ant-col-pull-14 {\n  right: 58.33333333%;\n}\n.ant-col-offset-14 {\n  margin-left: 58.33333333%;\n}\n.ant-col-order-14 {\n  order: 14;\n}\n.ant-col-13 {\n  display: block;\n  flex: 0 0 54.16666667%;\n  max-width: 54.16666667%;\n}\n.ant-col-push-13 {\n  left: 54.16666667%;\n}\n.ant-col-pull-13 {\n  right: 54.16666667%;\n}\n.ant-col-offset-13 {\n  margin-left: 54.16666667%;\n}\n.ant-col-order-13 {\n  order: 13;\n}\n.ant-col-12 {\n  display: block;\n  flex: 0 0 50%;\n  max-width: 50%;\n}\n.ant-col-push-12 {\n  left: 50%;\n}\n.ant-col-pull-12 {\n  right: 50%;\n}\n.ant-col-offset-12 {\n  margin-left: 50%;\n}\n.ant-col-order-12 {\n  order: 12;\n}\n.ant-col-11 {\n  display: block;\n  flex: 0 0 45.83333333%;\n  max-width: 45.83333333%;\n}\n.ant-col-push-11 {\n  left: 45.83333333%;\n}\n.ant-col-pull-11 {\n  right: 45.83333333%;\n}\n.ant-col-offset-11 {\n  margin-left: 45.83333333%;\n}\n.ant-col-order-11 {\n  order: 11;\n}\n.ant-col-10 {\n  display: block;\n  flex: 0 0 41.66666667%;\n  max-width: 41.66666667%;\n}\n.ant-col-push-10 {\n  left: 41.66666667%;\n}\n.ant-col-pull-10 {\n  right: 41.66666667%;\n}\n.ant-col-offset-10 {\n  margin-left: 41.66666667%;\n}\n.ant-col-order-10 {\n  order: 10;\n}\n.ant-col-9 {\n  display: block;\n  flex: 0 0 37.5%;\n  max-width: 37.5%;\n}\n.ant-col-push-9 {\n  left: 37.5%;\n}\n.ant-col-pull-9 {\n  right: 37.5%;\n}\n.ant-col-offset-9 {\n  margin-left: 37.5%;\n}\n.ant-col-order-9 {\n  order: 9;\n}\n.ant-col-8 {\n  display: block;\n  flex: 0 0 33.33333333%;\n  max-width: 33.33333333%;\n}\n.ant-col-push-8 {\n  left: 33.33333333%;\n}\n.ant-col-pull-8 {\n  right: 33.33333333%;\n}\n.ant-col-offset-8 {\n  margin-left: 33.33333333%;\n}\n.ant-col-order-8 {\n  order: 8;\n}\n.ant-col-7 {\n  display: block;\n  flex: 0 0 29.16666667%;\n  max-width: 29.16666667%;\n}\n.ant-col-push-7 {\n  left: 29.16666667%;\n}\n.ant-col-pull-7 {\n  right: 29.16666667%;\n}\n.ant-col-offset-7 {\n  margin-left: 29.16666667%;\n}\n.ant-col-order-7 {\n  order: 7;\n}\n.ant-col-6 {\n  display: block;\n  flex: 0 0 25%;\n  max-width: 25%;\n}\n.ant-col-push-6 {\n  left: 25%;\n}\n.ant-col-pull-6 {\n  right: 25%;\n}\n.ant-col-offset-6 {\n  margin-left: 25%;\n}\n.ant-col-order-6 {\n  order: 6;\n}\n.ant-col-5 {\n  display: block;\n  flex: 0 0 20.83333333%;\n  max-width: 20.83333333%;\n}\n.ant-col-push-5 {\n  left: 20.83333333%;\n}\n.ant-col-pull-5 {\n  right: 20.83333333%;\n}\n.ant-col-offset-5 {\n  margin-left: 20.83333333%;\n}\n.ant-col-order-5 {\n  order: 5;\n}\n.ant-col-4 {\n  display: block;\n  flex: 0 0 16.66666667%;\n  max-width: 16.66666667%;\n}\n.ant-col-push-4 {\n  left: 16.66666667%;\n}\n.ant-col-pull-4 {\n  right: 16.66666667%;\n}\n.ant-col-offset-4 {\n  margin-left: 16.66666667%;\n}\n.ant-col-order-4 {\n  order: 4;\n}\n.ant-col-3 {\n  display: block;\n  flex: 0 0 12.5%;\n  max-width: 12.5%;\n}\n.ant-col-push-3 {\n  left: 12.5%;\n}\n.ant-col-pull-3 {\n  right: 12.5%;\n}\n.ant-col-offset-3 {\n  margin-left: 12.5%;\n}\n.ant-col-order-3 {\n  order: 3;\n}\n.ant-col-2 {\n  display: block;\n  flex: 0 0 8.33333333%;\n  max-width: 8.33333333%;\n}\n.ant-col-push-2 {\n  left: 8.33333333%;\n}\n.ant-col-pull-2 {\n  right: 8.33333333%;\n}\n.ant-col-offset-2 {\n  margin-left: 8.33333333%;\n}\n.ant-col-order-2 {\n  order: 2;\n}\n.ant-col-1 {\n  display: block;\n  flex: 0 0 4.16666667%;\n  max-width: 4.16666667%;\n}\n.ant-col-push-1 {\n  left: 4.16666667%;\n}\n.ant-col-pull-1 {\n  right: 4.16666667%;\n}\n.ant-col-offset-1 {\n  margin-left: 4.16666667%;\n}\n.ant-col-order-1 {\n  order: 1;\n}\n.ant-col-0 {\n  display: none;\n}\n.ant-col-push-0 {\n  left: auto;\n}\n.ant-col-pull-0 {\n  right: auto;\n}\n.ant-col-push-0 {\n  left: auto;\n}\n.ant-col-pull-0 {\n  right: auto;\n}\n.ant-col-offset-0 {\n  margin-left: 0;\n}\n.ant-col-order-0 {\n  order: 0;\n}\n.ant-col-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-offset-0.ant-col-rtl {\n  margin-right: 0;\n}\n.ant-col-push-1.ant-col-rtl {\n  right: 4.16666667%;\n  left: auto;\n}\n.ant-col-pull-1.ant-col-rtl {\n  right: auto;\n  left: 4.16666667%;\n}\n.ant-col-offset-1.ant-col-rtl {\n  margin-right: 4.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-2.ant-col-rtl {\n  right: 8.33333333%;\n  left: auto;\n}\n.ant-col-pull-2.ant-col-rtl {\n  right: auto;\n  left: 8.33333333%;\n}\n.ant-col-offset-2.ant-col-rtl {\n  margin-right: 8.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-3.ant-col-rtl {\n  right: 12.5%;\n  left: auto;\n}\n.ant-col-pull-3.ant-col-rtl {\n  right: auto;\n  left: 12.5%;\n}\n.ant-col-offset-3.ant-col-rtl {\n  margin-right: 12.5%;\n  margin-left: 0;\n}\n.ant-col-push-4.ant-col-rtl {\n  right: 16.66666667%;\n  left: auto;\n}\n.ant-col-pull-4.ant-col-rtl {\n  right: auto;\n  left: 16.66666667%;\n}\n.ant-col-offset-4.ant-col-rtl {\n  margin-right: 16.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-5.ant-col-rtl {\n  right: 20.83333333%;\n  left: auto;\n}\n.ant-col-pull-5.ant-col-rtl {\n  right: auto;\n  left: 20.83333333%;\n}\n.ant-col-offset-5.ant-col-rtl {\n  margin-right: 20.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-6.ant-col-rtl {\n  right: 25%;\n  left: auto;\n}\n.ant-col-pull-6.ant-col-rtl {\n  right: auto;\n  left: 25%;\n}\n.ant-col-offset-6.ant-col-rtl {\n  margin-right: 25%;\n  margin-left: 0;\n}\n.ant-col-push-7.ant-col-rtl {\n  right: 29.16666667%;\n  left: auto;\n}\n.ant-col-pull-7.ant-col-rtl {\n  right: auto;\n  left: 29.16666667%;\n}\n.ant-col-offset-7.ant-col-rtl {\n  margin-right: 29.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-8.ant-col-rtl {\n  right: 33.33333333%;\n  left: auto;\n}\n.ant-col-pull-8.ant-col-rtl {\n  right: auto;\n  left: 33.33333333%;\n}\n.ant-col-offset-8.ant-col-rtl {\n  margin-right: 33.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-9.ant-col-rtl {\n  right: 37.5%;\n  left: auto;\n}\n.ant-col-pull-9.ant-col-rtl {\n  right: auto;\n  left: 37.5%;\n}\n.ant-col-offset-9.ant-col-rtl {\n  margin-right: 37.5%;\n  margin-left: 0;\n}\n.ant-col-push-10.ant-col-rtl {\n  right: 41.66666667%;\n  left: auto;\n}\n.ant-col-pull-10.ant-col-rtl {\n  right: auto;\n  left: 41.66666667%;\n}\n.ant-col-offset-10.ant-col-rtl {\n  margin-right: 41.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-11.ant-col-rtl {\n  right: 45.83333333%;\n  left: auto;\n}\n.ant-col-pull-11.ant-col-rtl {\n  right: auto;\n  left: 45.83333333%;\n}\n.ant-col-offset-11.ant-col-rtl {\n  margin-right: 45.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-12.ant-col-rtl {\n  right: 50%;\n  left: auto;\n}\n.ant-col-pull-12.ant-col-rtl {\n  right: auto;\n  left: 50%;\n}\n.ant-col-offset-12.ant-col-rtl {\n  margin-right: 50%;\n  margin-left: 0;\n}\n.ant-col-push-13.ant-col-rtl {\n  right: 54.16666667%;\n  left: auto;\n}\n.ant-col-pull-13.ant-col-rtl {\n  right: auto;\n  left: 54.16666667%;\n}\n.ant-col-offset-13.ant-col-rtl {\n  margin-right: 54.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-14.ant-col-rtl {\n  right: 58.33333333%;\n  left: auto;\n}\n.ant-col-pull-14.ant-col-rtl {\n  right: auto;\n  left: 58.33333333%;\n}\n.ant-col-offset-14.ant-col-rtl {\n  margin-right: 58.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-15.ant-col-rtl {\n  right: 62.5%;\n  left: auto;\n}\n.ant-col-pull-15.ant-col-rtl {\n  right: auto;\n  left: 62.5%;\n}\n.ant-col-offset-15.ant-col-rtl {\n  margin-right: 62.5%;\n  margin-left: 0;\n}\n.ant-col-push-16.ant-col-rtl {\n  right: 66.66666667%;\n  left: auto;\n}\n.ant-col-pull-16.ant-col-rtl {\n  right: auto;\n  left: 66.66666667%;\n}\n.ant-col-offset-16.ant-col-rtl {\n  margin-right: 66.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-17.ant-col-rtl {\n  right: 70.83333333%;\n  left: auto;\n}\n.ant-col-pull-17.ant-col-rtl {\n  right: auto;\n  left: 70.83333333%;\n}\n.ant-col-offset-17.ant-col-rtl {\n  margin-right: 70.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-18.ant-col-rtl {\n  right: 75%;\n  left: auto;\n}\n.ant-col-pull-18.ant-col-rtl {\n  right: auto;\n  left: 75%;\n}\n.ant-col-offset-18.ant-col-rtl {\n  margin-right: 75%;\n  margin-left: 0;\n}\n.ant-col-push-19.ant-col-rtl {\n  right: 79.16666667%;\n  left: auto;\n}\n.ant-col-pull-19.ant-col-rtl {\n  right: auto;\n  left: 79.16666667%;\n}\n.ant-col-offset-19.ant-col-rtl {\n  margin-right: 79.16666667%;\n  margin-left: 0;\n}\n.ant-col-push-20.ant-col-rtl {\n  right: 83.33333333%;\n  left: auto;\n}\n.ant-col-pull-20.ant-col-rtl {\n  right: auto;\n  left: 83.33333333%;\n}\n.ant-col-offset-20.ant-col-rtl {\n  margin-right: 83.33333333%;\n  margin-left: 0;\n}\n.ant-col-push-21.ant-col-rtl {\n  right: 87.5%;\n  left: auto;\n}\n.ant-col-pull-21.ant-col-rtl {\n  right: auto;\n  left: 87.5%;\n}\n.ant-col-offset-21.ant-col-rtl {\n  margin-right: 87.5%;\n  margin-left: 0;\n}\n.ant-col-push-22.ant-col-rtl {\n  right: 91.66666667%;\n  left: auto;\n}\n.ant-col-pull-22.ant-col-rtl {\n  right: auto;\n  left: 91.66666667%;\n}\n.ant-col-offset-22.ant-col-rtl {\n  margin-right: 91.66666667%;\n  margin-left: 0;\n}\n.ant-col-push-23.ant-col-rtl {\n  right: 95.83333333%;\n  left: auto;\n}\n.ant-col-pull-23.ant-col-rtl {\n  right: auto;\n  left: 95.83333333%;\n}\n.ant-col-offset-23.ant-col-rtl {\n  margin-right: 95.83333333%;\n  margin-left: 0;\n}\n.ant-col-push-24.ant-col-rtl {\n  right: 100%;\n  left: auto;\n}\n.ant-col-pull-24.ant-col-rtl {\n  right: auto;\n  left: 100%;\n}\n.ant-col-offset-24.ant-col-rtl {\n  margin-right: 100%;\n  margin-left: 0;\n}\n.ant-col-xs-24 {\n  display: block;\n  flex: 0 0 100%;\n  max-width: 100%;\n}\n.ant-col-xs-push-24 {\n  left: 100%;\n}\n.ant-col-xs-pull-24 {\n  right: 100%;\n}\n.ant-col-xs-offset-24 {\n  margin-left: 100%;\n}\n.ant-col-xs-order-24 {\n  order: 24;\n}\n.ant-col-xs-23 {\n  display: block;\n  flex: 0 0 95.83333333%;\n  max-width: 95.83333333%;\n}\n.ant-col-xs-push-23 {\n  left: 95.83333333%;\n}\n.ant-col-xs-pull-23 {\n  right: 95.83333333%;\n}\n.ant-col-xs-offset-23 {\n  margin-left: 95.83333333%;\n}\n.ant-col-xs-order-23 {\n  order: 23;\n}\n.ant-col-xs-22 {\n  display: block;\n  flex: 0 0 91.66666667%;\n  max-width: 91.66666667%;\n}\n.ant-col-xs-push-22 {\n  left: 91.66666667%;\n}\n.ant-col-xs-pull-22 {\n  right: 91.66666667%;\n}\n.ant-col-xs-offset-22 {\n  margin-left: 91.66666667%;\n}\n.ant-col-xs-order-22 {\n  order: 22;\n}\n.ant-col-xs-21 {\n  display: block;\n  flex: 0 0 87.5%;\n  max-width: 87.5%;\n}\n.ant-col-xs-push-21 {\n  left: 87.5%;\n}\n.ant-col-xs-pull-21 {\n  right: 87.5%;\n}\n.ant-col-xs-offset-21 {\n  margin-left: 87.5%;\n}\n.ant-col-xs-order-21 {\n  order: 21;\n}\n.ant-col-xs-20 {\n  display: block;\n  flex: 0 0 83.33333333%;\n  max-width: 83.33333333%;\n}\n.ant-col-xs-push-20 {\n  left: 83.33333333%;\n}\n.ant-col-xs-pull-20 {\n  right: 83.33333333%;\n}\n.ant-col-xs-offset-20 {\n  margin-left: 83.33333333%;\n}\n.ant-col-xs-order-20 {\n  order: 20;\n}\n.ant-col-xs-19 {\n  display: block;\n  flex: 0 0 79.16666667%;\n  max-width: 79.16666667%;\n}\n.ant-col-xs-push-19 {\n  left: 79.16666667%;\n}\n.ant-col-xs-pull-19 {\n  right: 79.16666667%;\n}\n.ant-col-xs-offset-19 {\n  margin-left: 79.16666667%;\n}\n.ant-col-xs-order-19 {\n  order: 19;\n}\n.ant-col-xs-18 {\n  display: block;\n  flex: 0 0 75%;\n  max-width: 75%;\n}\n.ant-col-xs-push-18 {\n  left: 75%;\n}\n.ant-col-xs-pull-18 {\n  right: 75%;\n}\n.ant-col-xs-offset-18 {\n  margin-left: 75%;\n}\n.ant-col-xs-order-18 {\n  order: 18;\n}\n.ant-col-xs-17 {\n  display: block;\n  flex: 0 0 70.83333333%;\n  max-width: 70.83333333%;\n}\n.ant-col-xs-push-17 {\n  left: 70.83333333%;\n}\n.ant-col-xs-pull-17 {\n  right: 70.83333333%;\n}\n.ant-col-xs-offset-17 {\n  margin-left: 70.83333333%;\n}\n.ant-col-xs-order-17 {\n  order: 17;\n}\n.ant-col-xs-16 {\n  display: block;\n  flex: 0 0 66.66666667%;\n  max-width: 66.66666667%;\n}\n.ant-col-xs-push-16 {\n  left: 66.66666667%;\n}\n.ant-col-xs-pull-16 {\n  right: 66.66666667%;\n}\n.ant-col-xs-offset-16 {\n  margin-left: 66.66666667%;\n}\n.ant-col-xs-order-16 {\n  order: 16;\n}\n.ant-col-xs-15 {\n  display: block;\n  flex: 0 0 62.5%;\n  max-width: 62.5%;\n}\n.ant-col-xs-push-15 {\n  left: 62.5%;\n}\n.ant-col-xs-pull-15 {\n  right: 62.5%;\n}\n.ant-col-xs-offset-15 {\n  margin-left: 62.5%;\n}\n.ant-col-xs-order-15 {\n  order: 15;\n}\n.ant-col-xs-14 {\n  display: block;\n  flex: 0 0 58.33333333%;\n  max-width: 58.33333333%;\n}\n.ant-col-xs-push-14 {\n  left: 58.33333333%;\n}\n.ant-col-xs-pull-14 {\n  right: 58.33333333%;\n}\n.ant-col-xs-offset-14 {\n  margin-left: 58.33333333%;\n}\n.ant-col-xs-order-14 {\n  order: 14;\n}\n.ant-col-xs-13 {\n  display: block;\n  flex: 0 0 54.16666667%;\n  max-width: 54.16666667%;\n}\n.ant-col-xs-push-13 {\n  left: 54.16666667%;\n}\n.ant-col-xs-pull-13 {\n  right: 54.16666667%;\n}\n.ant-col-xs-offset-13 {\n  margin-left: 54.16666667%;\n}\n.ant-col-xs-order-13 {\n  order: 13;\n}\n.ant-col-xs-12 {\n  display: block;\n  flex: 0 0 50%;\n  max-width: 50%;\n}\n.ant-col-xs-push-12 {\n  left: 50%;\n}\n.ant-col-xs-pull-12 {\n  right: 50%;\n}\n.ant-col-xs-offset-12 {\n  margin-left: 50%;\n}\n.ant-col-xs-order-12 {\n  order: 12;\n}\n.ant-col-xs-11 {\n  display: block;\n  flex: 0 0 45.83333333%;\n  max-width: 45.83333333%;\n}\n.ant-col-xs-push-11 {\n  left: 45.83333333%;\n}\n.ant-col-xs-pull-11 {\n  right: 45.83333333%;\n}\n.ant-col-xs-offset-11 {\n  margin-left: 45.83333333%;\n}\n.ant-col-xs-order-11 {\n  order: 11;\n}\n.ant-col-xs-10 {\n  display: block;\n  flex: 0 0 41.66666667%;\n  max-width: 41.66666667%;\n}\n.ant-col-xs-push-10 {\n  left: 41.66666667%;\n}\n.ant-col-xs-pull-10 {\n  right: 41.66666667%;\n}\n.ant-col-xs-offset-10 {\n  margin-left: 41.66666667%;\n}\n.ant-col-xs-order-10 {\n  order: 10;\n}\n.ant-col-xs-9 {\n  display: block;\n  flex: 0 0 37.5%;\n  max-width: 37.5%;\n}\n.ant-col-xs-push-9 {\n  left: 37.5%;\n}\n.ant-col-xs-pull-9 {\n  right: 37.5%;\n}\n.ant-col-xs-offset-9 {\n  margin-left: 37.5%;\n}\n.ant-col-xs-order-9 {\n  order: 9;\n}\n.ant-col-xs-8 {\n  display: block;\n  flex: 0 0 33.33333333%;\n  max-width: 33.33333333%;\n}\n.ant-col-xs-push-8 {\n  left: 33.33333333%;\n}\n.ant-col-xs-pull-8 {\n  right: 33.33333333%;\n}\n.ant-col-xs-offset-8 {\n  margin-left: 33.33333333%;\n}\n.ant-col-xs-order-8 {\n  order: 8;\n}\n.ant-col-xs-7 {\n  display: block;\n  flex: 0 0 29.16666667%;\n  max-width: 29.16666667%;\n}\n.ant-col-xs-push-7 {\n  left: 29.16666667%;\n}\n.ant-col-xs-pull-7 {\n  right: 29.16666667%;\n}\n.ant-col-xs-offset-7 {\n  margin-left: 29.16666667%;\n}\n.ant-col-xs-order-7 {\n  order: 7;\n}\n.ant-col-xs-6 {\n  display: block;\n  flex: 0 0 25%;\n  max-width: 25%;\n}\n.ant-col-xs-push-6 {\n  left: 25%;\n}\n.ant-col-xs-pull-6 {\n  right: 25%;\n}\n.ant-col-xs-offset-6 {\n  margin-left: 25%;\n}\n.ant-col-xs-order-6 {\n  order: 6;\n}\n.ant-col-xs-5 {\n  display: block;\n  flex: 0 0 20.83333333%;\n  max-width: 20.83333333%;\n}\n.ant-col-xs-push-5 {\n  left: 20.83333333%;\n}\n.ant-col-xs-pull-5 {\n  right: 20.83333333%;\n}\n.ant-col-xs-offset-5 {\n  margin-left: 20.83333333%;\n}\n.ant-col-xs-order-5 {\n  order: 5;\n}\n.ant-col-xs-4 {\n  display: block;\n  flex: 0 0 16.66666667%;\n  max-width: 16.66666667%;\n}\n.ant-col-xs-push-4 {\n  left: 16.66666667%;\n}\n.ant-col-xs-pull-4 {\n  right: 16.66666667%;\n}\n.ant-col-xs-offset-4 {\n  margin-left: 16.66666667%;\n}\n.ant-col-xs-order-4 {\n  order: 4;\n}\n.ant-col-xs-3 {\n  display: block;\n  flex: 0 0 12.5%;\n  max-width: 12.5%;\n}\n.ant-col-xs-push-3 {\n  left: 12.5%;\n}\n.ant-col-xs-pull-3 {\n  right: 12.5%;\n}\n.ant-col-xs-offset-3 {\n  margin-left: 12.5%;\n}\n.ant-col-xs-order-3 {\n  order: 3;\n}\n.ant-col-xs-2 {\n  display: block;\n  flex: 0 0 8.33333333%;\n  max-width: 8.33333333%;\n}\n.ant-col-xs-push-2 {\n  left: 8.33333333%;\n}\n.ant-col-xs-pull-2 {\n  right: 8.33333333%;\n}\n.ant-col-xs-offset-2 {\n  margin-left: 8.33333333%;\n}\n.ant-col-xs-order-2 {\n  order: 2;\n}\n.ant-col-xs-1 {\n  display: block;\n  flex: 0 0 4.16666667%;\n  max-width: 4.16666667%;\n}\n.ant-col-xs-push-1 {\n  left: 4.16666667%;\n}\n.ant-col-xs-pull-1 {\n  right: 4.16666667%;\n}\n.ant-col-xs-offset-1 {\n  margin-left: 4.16666667%;\n}\n.ant-col-xs-order-1 {\n  order: 1;\n}\n.ant-col-xs-0 {\n  display: none;\n}\n.ant-col-push-0 {\n  left: auto;\n}\n.ant-col-pull-0 {\n  right: auto;\n}\n.ant-col-xs-push-0 {\n  left: auto;\n}\n.ant-col-xs-pull-0 {\n  right: auto;\n}\n.ant-col-xs-offset-0 {\n  margin-left: 0;\n}\n.ant-col-xs-order-0 {\n  order: 0;\n}\n.ant-col-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-xs-push-0.ant-col-rtl {\n  right: auto;\n}\n.ant-col-xs-pull-0.ant-col-rtl {\n  left: auto;\n}\n.ant-col-xs-offset-0.ant-col-rtl {\n  margin-right: 0;\n}\n.ant-col-xs-push-1.ant-col-rtl {\n  right: 4.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-1.ant-col-rtl {\n  right: auto;\n  left: 4.16666667%;\n}\n.ant-col-xs-offset-1.ant-col-rtl {\n  margin-right: 4.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-2.ant-col-rtl {\n  right: 8.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-2.ant-col-rtl {\n  right: auto;\n  left: 8.33333333%;\n}\n.ant-col-xs-offset-2.ant-col-rtl {\n  margin-right: 8.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-3.ant-col-rtl {\n  right: 12.5%;\n  left: auto;\n}\n.ant-col-xs-pull-3.ant-col-rtl {\n  right: auto;\n  left: 12.5%;\n}\n.ant-col-xs-offset-3.ant-col-rtl {\n  margin-right: 12.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-4.ant-col-rtl {\n  right: 16.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-4.ant-col-rtl {\n  right: auto;\n  left: 16.66666667%;\n}\n.ant-col-xs-offset-4.ant-col-rtl {\n  margin-right: 16.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-5.ant-col-rtl {\n  right: 20.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-5.ant-col-rtl {\n  right: auto;\n  left: 20.83333333%;\n}\n.ant-col-xs-offset-5.ant-col-rtl {\n  margin-right: 20.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-6.ant-col-rtl {\n  right: 25%;\n  left: auto;\n}\n.ant-col-xs-pull-6.ant-col-rtl {\n  right: auto;\n  left: 25%;\n}\n.ant-col-xs-offset-6.ant-col-rtl {\n  margin-right: 25%;\n  margin-left: 0;\n}\n.ant-col-xs-push-7.ant-col-rtl {\n  right: 29.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-7.ant-col-rtl {\n  right: auto;\n  left: 29.16666667%;\n}\n.ant-col-xs-offset-7.ant-col-rtl {\n  margin-right: 29.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-8.ant-col-rtl {\n  right: 33.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-8.ant-col-rtl {\n  right: auto;\n  left: 33.33333333%;\n}\n.ant-col-xs-offset-8.ant-col-rtl {\n  margin-right: 33.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-9.ant-col-rtl {\n  right: 37.5%;\n  left: auto;\n}\n.ant-col-xs-pull-9.ant-col-rtl {\n  right: auto;\n  left: 37.5%;\n}\n.ant-col-xs-offset-9.ant-col-rtl {\n  margin-right: 37.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-10.ant-col-rtl {\n  right: 41.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-10.ant-col-rtl {\n  right: auto;\n  left: 41.66666667%;\n}\n.ant-col-xs-offset-10.ant-col-rtl {\n  margin-right: 41.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-11.ant-col-rtl {\n  right: 45.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-11.ant-col-rtl {\n  right: auto;\n  left: 45.83333333%;\n}\n.ant-col-xs-offset-11.ant-col-rtl {\n  margin-right: 45.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-12.ant-col-rtl {\n  right: 50%;\n  left: auto;\n}\n.ant-col-xs-pull-12.ant-col-rtl {\n  right: auto;\n  left: 50%;\n}\n.ant-col-xs-offset-12.ant-col-rtl {\n  margin-right: 50%;\n  margin-left: 0;\n}\n.ant-col-xs-push-13.ant-col-rtl {\n  right: 54.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-13.ant-col-rtl {\n  right: auto;\n  left: 54.16666667%;\n}\n.ant-col-xs-offset-13.ant-col-rtl {\n  margin-right: 54.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-14.ant-col-rtl {\n  right: 58.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-14.ant-col-rtl {\n  right: auto;\n  left: 58.33333333%;\n}\n.ant-col-xs-offset-14.ant-col-rtl {\n  margin-right: 58.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-15.ant-col-rtl {\n  right: 62.5%;\n  left: auto;\n}\n.ant-col-xs-pull-15.ant-col-rtl {\n  right: auto;\n  left: 62.5%;\n}\n.ant-col-xs-offset-15.ant-col-rtl {\n  margin-right: 62.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-16.ant-col-rtl {\n  right: 66.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-16.ant-col-rtl {\n  right: auto;\n  left: 66.66666667%;\n}\n.ant-col-xs-offset-16.ant-col-rtl {\n  margin-right: 66.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-17.ant-col-rtl {\n  right: 70.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-17.ant-col-rtl {\n  right: auto;\n  left: 70.83333333%;\n}\n.ant-col-xs-offset-17.ant-col-rtl {\n  margin-right: 70.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-18.ant-col-rtl {\n  right: 75%;\n  left: auto;\n}\n.ant-col-xs-pull-18.ant-col-rtl {\n  right: auto;\n  left: 75%;\n}\n.ant-col-xs-offset-18.ant-col-rtl {\n  margin-right: 75%;\n  margin-left: 0;\n}\n.ant-col-xs-push-19.ant-col-rtl {\n  right: 79.16666667%;\n  left: auto;\n}\n.ant-col-xs-pull-19.ant-col-rtl {\n  right: auto;\n  left: 79.16666667%;\n}\n.ant-col-xs-offset-19.ant-col-rtl {\n  margin-right: 79.16666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-20.ant-col-rtl {\n  right: 83.33333333%;\n  left: auto;\n}\n.ant-col-xs-pull-20.ant-col-rtl {\n  right: auto;\n  left: 83.33333333%;\n}\n.ant-col-xs-offset-20.ant-col-rtl {\n  margin-right: 83.33333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-21.ant-col-rtl {\n  right: 87.5%;\n  left: auto;\n}\n.ant-col-xs-pull-21.ant-col-rtl {\n  right: auto;\n  left: 87.5%;\n}\n.ant-col-xs-offset-21.ant-col-rtl {\n  margin-right: 87.5%;\n  margin-left: 0;\n}\n.ant-col-xs-push-22.ant-col-rtl {\n  right: 91.66666667%;\n  left: auto;\n}\n.ant-col-xs-pull-22.ant-col-rtl {\n  right: auto;\n  left: 91.66666667%;\n}\n.ant-col-xs-offset-22.ant-col-rtl {\n  margin-right: 91.66666667%;\n  margin-left: 0;\n}\n.ant-col-xs-push-23.ant-col-rtl {\n  right: 95.83333333%;\n  left: auto;\n}\n.ant-col-xs-pull-23.ant-col-rtl {\n  right: auto;\n  left: 95.83333333%;\n}\n.ant-col-xs-offset-23.ant-col-rtl {\n  margin-right: 95.83333333%;\n  margin-left: 0;\n}\n.ant-col-xs-push-24.ant-col-rtl {\n  right: 100%;\n  left: auto;\n}\n.ant-col-xs-pull-24.ant-col-rtl {\n  right: auto;\n  left: 100%;\n}\n.ant-col-xs-offset-24.ant-col-rtl {\n  margin-right: 100%;\n  margin-left: 0;\n}\n@media (min-width: 576px) {\n  .ant-col-sm-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-sm-push-24 {\n    left: 100%;\n  }\n  .ant-col-sm-pull-24 {\n    right: 100%;\n  }\n  .ant-col-sm-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-sm-order-24 {\n    order: 24;\n  }\n  .ant-col-sm-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-sm-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-sm-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-sm-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-sm-order-23 {\n    order: 23;\n  }\n  .ant-col-sm-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-sm-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-sm-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-sm-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-sm-order-22 {\n    order: 22;\n  }\n  .ant-col-sm-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-sm-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-sm-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-sm-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-sm-order-21 {\n    order: 21;\n  }\n  .ant-col-sm-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-sm-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-sm-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-sm-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-sm-order-20 {\n    order: 20;\n  }\n  .ant-col-sm-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-sm-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-sm-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-sm-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-sm-order-19 {\n    order: 19;\n  }\n  .ant-col-sm-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-sm-push-18 {\n    left: 75%;\n  }\n  .ant-col-sm-pull-18 {\n    right: 75%;\n  }\n  .ant-col-sm-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-sm-order-18 {\n    order: 18;\n  }\n  .ant-col-sm-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-sm-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-sm-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-sm-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-sm-order-17 {\n    order: 17;\n  }\n  .ant-col-sm-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-sm-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-sm-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-sm-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-sm-order-16 {\n    order: 16;\n  }\n  .ant-col-sm-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-sm-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-sm-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-sm-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-sm-order-15 {\n    order: 15;\n  }\n  .ant-col-sm-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-sm-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-sm-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-sm-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-sm-order-14 {\n    order: 14;\n  }\n  .ant-col-sm-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-sm-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-sm-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-sm-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-sm-order-13 {\n    order: 13;\n  }\n  .ant-col-sm-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-sm-push-12 {\n    left: 50%;\n  }\n  .ant-col-sm-pull-12 {\n    right: 50%;\n  }\n  .ant-col-sm-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-sm-order-12 {\n    order: 12;\n  }\n  .ant-col-sm-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-sm-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-sm-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-sm-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-sm-order-11 {\n    order: 11;\n  }\n  .ant-col-sm-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-sm-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-sm-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-sm-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-sm-order-10 {\n    order: 10;\n  }\n  .ant-col-sm-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-sm-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-sm-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-sm-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-sm-order-9 {\n    order: 9;\n  }\n  .ant-col-sm-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-sm-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-sm-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-sm-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-sm-order-8 {\n    order: 8;\n  }\n  .ant-col-sm-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-sm-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-sm-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-sm-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-sm-order-7 {\n    order: 7;\n  }\n  .ant-col-sm-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-sm-push-6 {\n    left: 25%;\n  }\n  .ant-col-sm-pull-6 {\n    right: 25%;\n  }\n  .ant-col-sm-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-sm-order-6 {\n    order: 6;\n  }\n  .ant-col-sm-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-sm-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-sm-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-sm-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-sm-order-5 {\n    order: 5;\n  }\n  .ant-col-sm-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-sm-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-sm-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-sm-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-sm-order-4 {\n    order: 4;\n  }\n  .ant-col-sm-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-sm-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-sm-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-sm-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-sm-order-3 {\n    order: 3;\n  }\n  .ant-col-sm-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-sm-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-sm-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-sm-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-sm-order-2 {\n    order: 2;\n  }\n  .ant-col-sm-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-sm-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-sm-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-sm-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-sm-order-1 {\n    order: 1;\n  }\n  .ant-col-sm-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-sm-push-0 {\n    left: auto;\n  }\n  .ant-col-sm-pull-0 {\n    right: auto;\n  }\n  .ant-col-sm-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-sm-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-sm-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-sm-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-sm-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-sm-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-sm-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-sm-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-sm-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-sm-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-sm-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-sm-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-sm-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-sm-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-sm-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-sm-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-sm-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-sm-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-sm-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-sm-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-sm-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-sm-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-sm-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-sm-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-sm-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-sm-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-sm-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-sm-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-sm-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-sm-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-sm-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-sm-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-sm-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-sm-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-sm-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-sm-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-sm-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-sm-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 768px) {\n  .ant-col-md-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-md-push-24 {\n    left: 100%;\n  }\n  .ant-col-md-pull-24 {\n    right: 100%;\n  }\n  .ant-col-md-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-md-order-24 {\n    order: 24;\n  }\n  .ant-col-md-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-md-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-md-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-md-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-md-order-23 {\n    order: 23;\n  }\n  .ant-col-md-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-md-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-md-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-md-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-md-order-22 {\n    order: 22;\n  }\n  .ant-col-md-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-md-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-md-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-md-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-md-order-21 {\n    order: 21;\n  }\n  .ant-col-md-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-md-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-md-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-md-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-md-order-20 {\n    order: 20;\n  }\n  .ant-col-md-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-md-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-md-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-md-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-md-order-19 {\n    order: 19;\n  }\n  .ant-col-md-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-md-push-18 {\n    left: 75%;\n  }\n  .ant-col-md-pull-18 {\n    right: 75%;\n  }\n  .ant-col-md-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-md-order-18 {\n    order: 18;\n  }\n  .ant-col-md-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-md-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-md-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-md-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-md-order-17 {\n    order: 17;\n  }\n  .ant-col-md-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-md-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-md-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-md-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-md-order-16 {\n    order: 16;\n  }\n  .ant-col-md-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-md-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-md-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-md-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-md-order-15 {\n    order: 15;\n  }\n  .ant-col-md-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-md-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-md-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-md-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-md-order-14 {\n    order: 14;\n  }\n  .ant-col-md-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-md-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-md-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-md-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-md-order-13 {\n    order: 13;\n  }\n  .ant-col-md-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-md-push-12 {\n    left: 50%;\n  }\n  .ant-col-md-pull-12 {\n    right: 50%;\n  }\n  .ant-col-md-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-md-order-12 {\n    order: 12;\n  }\n  .ant-col-md-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-md-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-md-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-md-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-md-order-11 {\n    order: 11;\n  }\n  .ant-col-md-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-md-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-md-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-md-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-md-order-10 {\n    order: 10;\n  }\n  .ant-col-md-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-md-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-md-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-md-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-md-order-9 {\n    order: 9;\n  }\n  .ant-col-md-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-md-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-md-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-md-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-md-order-8 {\n    order: 8;\n  }\n  .ant-col-md-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-md-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-md-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-md-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-md-order-7 {\n    order: 7;\n  }\n  .ant-col-md-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-md-push-6 {\n    left: 25%;\n  }\n  .ant-col-md-pull-6 {\n    right: 25%;\n  }\n  .ant-col-md-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-md-order-6 {\n    order: 6;\n  }\n  .ant-col-md-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-md-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-md-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-md-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-md-order-5 {\n    order: 5;\n  }\n  .ant-col-md-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-md-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-md-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-md-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-md-order-4 {\n    order: 4;\n  }\n  .ant-col-md-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-md-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-md-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-md-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-md-order-3 {\n    order: 3;\n  }\n  .ant-col-md-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-md-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-md-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-md-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-md-order-2 {\n    order: 2;\n  }\n  .ant-col-md-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-md-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-md-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-md-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-md-order-1 {\n    order: 1;\n  }\n  .ant-col-md-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-md-push-0 {\n    left: auto;\n  }\n  .ant-col-md-pull-0 {\n    right: auto;\n  }\n  .ant-col-md-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-md-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-md-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-md-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-md-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-md-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-md-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-md-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-md-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-md-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-md-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-md-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-md-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-md-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-md-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-md-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-md-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-md-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-md-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-md-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-md-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-md-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-md-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-md-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-md-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-md-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-md-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-md-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-md-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-md-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-md-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-md-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-md-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-md-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-md-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-md-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-md-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-md-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 992px) {\n  .ant-col-lg-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-lg-push-24 {\n    left: 100%;\n  }\n  .ant-col-lg-pull-24 {\n    right: 100%;\n  }\n  .ant-col-lg-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-lg-order-24 {\n    order: 24;\n  }\n  .ant-col-lg-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-lg-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-lg-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-lg-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-lg-order-23 {\n    order: 23;\n  }\n  .ant-col-lg-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-lg-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-lg-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-lg-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-lg-order-22 {\n    order: 22;\n  }\n  .ant-col-lg-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-lg-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-lg-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-lg-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-lg-order-21 {\n    order: 21;\n  }\n  .ant-col-lg-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-lg-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-lg-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-lg-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-lg-order-20 {\n    order: 20;\n  }\n  .ant-col-lg-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-lg-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-lg-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-lg-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-lg-order-19 {\n    order: 19;\n  }\n  .ant-col-lg-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-lg-push-18 {\n    left: 75%;\n  }\n  .ant-col-lg-pull-18 {\n    right: 75%;\n  }\n  .ant-col-lg-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-lg-order-18 {\n    order: 18;\n  }\n  .ant-col-lg-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-lg-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-lg-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-lg-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-lg-order-17 {\n    order: 17;\n  }\n  .ant-col-lg-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-lg-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-lg-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-lg-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-lg-order-16 {\n    order: 16;\n  }\n  .ant-col-lg-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-lg-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-lg-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-lg-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-lg-order-15 {\n    order: 15;\n  }\n  .ant-col-lg-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-lg-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-lg-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-lg-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-lg-order-14 {\n    order: 14;\n  }\n  .ant-col-lg-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-lg-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-lg-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-lg-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-lg-order-13 {\n    order: 13;\n  }\n  .ant-col-lg-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-lg-push-12 {\n    left: 50%;\n  }\n  .ant-col-lg-pull-12 {\n    right: 50%;\n  }\n  .ant-col-lg-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-lg-order-12 {\n    order: 12;\n  }\n  .ant-col-lg-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-lg-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-lg-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-lg-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-lg-order-11 {\n    order: 11;\n  }\n  .ant-col-lg-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-lg-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-lg-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-lg-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-lg-order-10 {\n    order: 10;\n  }\n  .ant-col-lg-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-lg-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-lg-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-lg-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-lg-order-9 {\n    order: 9;\n  }\n  .ant-col-lg-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-lg-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-lg-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-lg-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-lg-order-8 {\n    order: 8;\n  }\n  .ant-col-lg-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-lg-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-lg-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-lg-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-lg-order-7 {\n    order: 7;\n  }\n  .ant-col-lg-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-lg-push-6 {\n    left: 25%;\n  }\n  .ant-col-lg-pull-6 {\n    right: 25%;\n  }\n  .ant-col-lg-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-lg-order-6 {\n    order: 6;\n  }\n  .ant-col-lg-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-lg-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-lg-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-lg-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-lg-order-5 {\n    order: 5;\n  }\n  .ant-col-lg-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-lg-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-lg-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-lg-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-lg-order-4 {\n    order: 4;\n  }\n  .ant-col-lg-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-lg-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-lg-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-lg-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-lg-order-3 {\n    order: 3;\n  }\n  .ant-col-lg-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-lg-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-lg-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-lg-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-lg-order-2 {\n    order: 2;\n  }\n  .ant-col-lg-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-lg-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-lg-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-lg-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-lg-order-1 {\n    order: 1;\n  }\n  .ant-col-lg-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-lg-push-0 {\n    left: auto;\n  }\n  .ant-col-lg-pull-0 {\n    right: auto;\n  }\n  .ant-col-lg-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-lg-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-lg-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-lg-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-lg-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-lg-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-lg-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-lg-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-lg-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-lg-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-lg-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-lg-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-lg-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-lg-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-lg-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-lg-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-lg-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-lg-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-lg-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-lg-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-lg-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-lg-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-lg-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-lg-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-lg-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-lg-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-lg-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-lg-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-lg-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-lg-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-lg-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-lg-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-lg-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-lg-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-lg-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-lg-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-lg-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-lg-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 1200px) {\n  .ant-col-xl-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-xl-push-24 {\n    left: 100%;\n  }\n  .ant-col-xl-pull-24 {\n    right: 100%;\n  }\n  .ant-col-xl-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-xl-order-24 {\n    order: 24;\n  }\n  .ant-col-xl-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-xl-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-xl-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-xl-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-xl-order-23 {\n    order: 23;\n  }\n  .ant-col-xl-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-xl-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-xl-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-xl-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-xl-order-22 {\n    order: 22;\n  }\n  .ant-col-xl-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-xl-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-xl-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-xl-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-xl-order-21 {\n    order: 21;\n  }\n  .ant-col-xl-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-xl-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-xl-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-xl-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-xl-order-20 {\n    order: 20;\n  }\n  .ant-col-xl-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-xl-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-xl-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-xl-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-xl-order-19 {\n    order: 19;\n  }\n  .ant-col-xl-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-xl-push-18 {\n    left: 75%;\n  }\n  .ant-col-xl-pull-18 {\n    right: 75%;\n  }\n  .ant-col-xl-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-xl-order-18 {\n    order: 18;\n  }\n  .ant-col-xl-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-xl-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-xl-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-xl-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-xl-order-17 {\n    order: 17;\n  }\n  .ant-col-xl-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-xl-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-xl-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-xl-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-xl-order-16 {\n    order: 16;\n  }\n  .ant-col-xl-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-xl-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-xl-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-xl-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-xl-order-15 {\n    order: 15;\n  }\n  .ant-col-xl-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-xl-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-xl-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-xl-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-xl-order-14 {\n    order: 14;\n  }\n  .ant-col-xl-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-xl-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-xl-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-xl-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-xl-order-13 {\n    order: 13;\n  }\n  .ant-col-xl-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-xl-push-12 {\n    left: 50%;\n  }\n  .ant-col-xl-pull-12 {\n    right: 50%;\n  }\n  .ant-col-xl-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-xl-order-12 {\n    order: 12;\n  }\n  .ant-col-xl-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-xl-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-xl-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-xl-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-xl-order-11 {\n    order: 11;\n  }\n  .ant-col-xl-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-xl-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-xl-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-xl-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-xl-order-10 {\n    order: 10;\n  }\n  .ant-col-xl-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-xl-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-xl-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-xl-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-xl-order-9 {\n    order: 9;\n  }\n  .ant-col-xl-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-xl-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-xl-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-xl-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-xl-order-8 {\n    order: 8;\n  }\n  .ant-col-xl-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-xl-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-xl-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-xl-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-xl-order-7 {\n    order: 7;\n  }\n  .ant-col-xl-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-xl-push-6 {\n    left: 25%;\n  }\n  .ant-col-xl-pull-6 {\n    right: 25%;\n  }\n  .ant-col-xl-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-xl-order-6 {\n    order: 6;\n  }\n  .ant-col-xl-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-xl-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-xl-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-xl-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-xl-order-5 {\n    order: 5;\n  }\n  .ant-col-xl-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-xl-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-xl-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-xl-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-xl-order-4 {\n    order: 4;\n  }\n  .ant-col-xl-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-xl-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-xl-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-xl-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-xl-order-3 {\n    order: 3;\n  }\n  .ant-col-xl-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-xl-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-xl-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-xl-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-xl-order-2 {\n    order: 2;\n  }\n  .ant-col-xl-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-xl-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-xl-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-xl-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-xl-order-1 {\n    order: 1;\n  }\n  .ant-col-xl-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-xl-push-0 {\n    left: auto;\n  }\n  .ant-col-xl-pull-0 {\n    right: auto;\n  }\n  .ant-col-xl-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-xl-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xl-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-xl-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xl-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-xl-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-xl-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-xl-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-xl-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-xl-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-xl-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-xl-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-xl-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-xl-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-xl-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-xl-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-xl-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-xl-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-xl-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-xl-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-xl-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-xl-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-xl-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-xl-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-xl-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-xl-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-xl-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-xl-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-xl-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-xl-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-xl-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-xl-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-xl-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-xl-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-xl-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xl-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-xl-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-xl-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n@media (min-width: 1600px) {\n  .ant-col-xxl-24 {\n    display: block;\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-xxl-push-24 {\n    left: 100%;\n  }\n  .ant-col-xxl-pull-24 {\n    right: 100%;\n  }\n  .ant-col-xxl-offset-24 {\n    margin-left: 100%;\n  }\n  .ant-col-xxl-order-24 {\n    order: 24;\n  }\n  .ant-col-xxl-23 {\n    display: block;\n    flex: 0 0 95.83333333%;\n    max-width: 95.83333333%;\n  }\n  .ant-col-xxl-push-23 {\n    left: 95.83333333%;\n  }\n  .ant-col-xxl-pull-23 {\n    right: 95.83333333%;\n  }\n  .ant-col-xxl-offset-23 {\n    margin-left: 95.83333333%;\n  }\n  .ant-col-xxl-order-23 {\n    order: 23;\n  }\n  .ant-col-xxl-22 {\n    display: block;\n    flex: 0 0 91.66666667%;\n    max-width: 91.66666667%;\n  }\n  .ant-col-xxl-push-22 {\n    left: 91.66666667%;\n  }\n  .ant-col-xxl-pull-22 {\n    right: 91.66666667%;\n  }\n  .ant-col-xxl-offset-22 {\n    margin-left: 91.66666667%;\n  }\n  .ant-col-xxl-order-22 {\n    order: 22;\n  }\n  .ant-col-xxl-21 {\n    display: block;\n    flex: 0 0 87.5%;\n    max-width: 87.5%;\n  }\n  .ant-col-xxl-push-21 {\n    left: 87.5%;\n  }\n  .ant-col-xxl-pull-21 {\n    right: 87.5%;\n  }\n  .ant-col-xxl-offset-21 {\n    margin-left: 87.5%;\n  }\n  .ant-col-xxl-order-21 {\n    order: 21;\n  }\n  .ant-col-xxl-20 {\n    display: block;\n    flex: 0 0 83.33333333%;\n    max-width: 83.33333333%;\n  }\n  .ant-col-xxl-push-20 {\n    left: 83.33333333%;\n  }\n  .ant-col-xxl-pull-20 {\n    right: 83.33333333%;\n  }\n  .ant-col-xxl-offset-20 {\n    margin-left: 83.33333333%;\n  }\n  .ant-col-xxl-order-20 {\n    order: 20;\n  }\n  .ant-col-xxl-19 {\n    display: block;\n    flex: 0 0 79.16666667%;\n    max-width: 79.16666667%;\n  }\n  .ant-col-xxl-push-19 {\n    left: 79.16666667%;\n  }\n  .ant-col-xxl-pull-19 {\n    right: 79.16666667%;\n  }\n  .ant-col-xxl-offset-19 {\n    margin-left: 79.16666667%;\n  }\n  .ant-col-xxl-order-19 {\n    order: 19;\n  }\n  .ant-col-xxl-18 {\n    display: block;\n    flex: 0 0 75%;\n    max-width: 75%;\n  }\n  .ant-col-xxl-push-18 {\n    left: 75%;\n  }\n  .ant-col-xxl-pull-18 {\n    right: 75%;\n  }\n  .ant-col-xxl-offset-18 {\n    margin-left: 75%;\n  }\n  .ant-col-xxl-order-18 {\n    order: 18;\n  }\n  .ant-col-xxl-17 {\n    display: block;\n    flex: 0 0 70.83333333%;\n    max-width: 70.83333333%;\n  }\n  .ant-col-xxl-push-17 {\n    left: 70.83333333%;\n  }\n  .ant-col-xxl-pull-17 {\n    right: 70.83333333%;\n  }\n  .ant-col-xxl-offset-17 {\n    margin-left: 70.83333333%;\n  }\n  .ant-col-xxl-order-17 {\n    order: 17;\n  }\n  .ant-col-xxl-16 {\n    display: block;\n    flex: 0 0 66.66666667%;\n    max-width: 66.66666667%;\n  }\n  .ant-col-xxl-push-16 {\n    left: 66.66666667%;\n  }\n  .ant-col-xxl-pull-16 {\n    right: 66.66666667%;\n  }\n  .ant-col-xxl-offset-16 {\n    margin-left: 66.66666667%;\n  }\n  .ant-col-xxl-order-16 {\n    order: 16;\n  }\n  .ant-col-xxl-15 {\n    display: block;\n    flex: 0 0 62.5%;\n    max-width: 62.5%;\n  }\n  .ant-col-xxl-push-15 {\n    left: 62.5%;\n  }\n  .ant-col-xxl-pull-15 {\n    right: 62.5%;\n  }\n  .ant-col-xxl-offset-15 {\n    margin-left: 62.5%;\n  }\n  .ant-col-xxl-order-15 {\n    order: 15;\n  }\n  .ant-col-xxl-14 {\n    display: block;\n    flex: 0 0 58.33333333%;\n    max-width: 58.33333333%;\n  }\n  .ant-col-xxl-push-14 {\n    left: 58.33333333%;\n  }\n  .ant-col-xxl-pull-14 {\n    right: 58.33333333%;\n  }\n  .ant-col-xxl-offset-14 {\n    margin-left: 58.33333333%;\n  }\n  .ant-col-xxl-order-14 {\n    order: 14;\n  }\n  .ant-col-xxl-13 {\n    display: block;\n    flex: 0 0 54.16666667%;\n    max-width: 54.16666667%;\n  }\n  .ant-col-xxl-push-13 {\n    left: 54.16666667%;\n  }\n  .ant-col-xxl-pull-13 {\n    right: 54.16666667%;\n  }\n  .ant-col-xxl-offset-13 {\n    margin-left: 54.16666667%;\n  }\n  .ant-col-xxl-order-13 {\n    order: 13;\n  }\n  .ant-col-xxl-12 {\n    display: block;\n    flex: 0 0 50%;\n    max-width: 50%;\n  }\n  .ant-col-xxl-push-12 {\n    left: 50%;\n  }\n  .ant-col-xxl-pull-12 {\n    right: 50%;\n  }\n  .ant-col-xxl-offset-12 {\n    margin-left: 50%;\n  }\n  .ant-col-xxl-order-12 {\n    order: 12;\n  }\n  .ant-col-xxl-11 {\n    display: block;\n    flex: 0 0 45.83333333%;\n    max-width: 45.83333333%;\n  }\n  .ant-col-xxl-push-11 {\n    left: 45.83333333%;\n  }\n  .ant-col-xxl-pull-11 {\n    right: 45.83333333%;\n  }\n  .ant-col-xxl-offset-11 {\n    margin-left: 45.83333333%;\n  }\n  .ant-col-xxl-order-11 {\n    order: 11;\n  }\n  .ant-col-xxl-10 {\n    display: block;\n    flex: 0 0 41.66666667%;\n    max-width: 41.66666667%;\n  }\n  .ant-col-xxl-push-10 {\n    left: 41.66666667%;\n  }\n  .ant-col-xxl-pull-10 {\n    right: 41.66666667%;\n  }\n  .ant-col-xxl-offset-10 {\n    margin-left: 41.66666667%;\n  }\n  .ant-col-xxl-order-10 {\n    order: 10;\n  }\n  .ant-col-xxl-9 {\n    display: block;\n    flex: 0 0 37.5%;\n    max-width: 37.5%;\n  }\n  .ant-col-xxl-push-9 {\n    left: 37.5%;\n  }\n  .ant-col-xxl-pull-9 {\n    right: 37.5%;\n  }\n  .ant-col-xxl-offset-9 {\n    margin-left: 37.5%;\n  }\n  .ant-col-xxl-order-9 {\n    order: 9;\n  }\n  .ant-col-xxl-8 {\n    display: block;\n    flex: 0 0 33.33333333%;\n    max-width: 33.33333333%;\n  }\n  .ant-col-xxl-push-8 {\n    left: 33.33333333%;\n  }\n  .ant-col-xxl-pull-8 {\n    right: 33.33333333%;\n  }\n  .ant-col-xxl-offset-8 {\n    margin-left: 33.33333333%;\n  }\n  .ant-col-xxl-order-8 {\n    order: 8;\n  }\n  .ant-col-xxl-7 {\n    display: block;\n    flex: 0 0 29.16666667%;\n    max-width: 29.16666667%;\n  }\n  .ant-col-xxl-push-7 {\n    left: 29.16666667%;\n  }\n  .ant-col-xxl-pull-7 {\n    right: 29.16666667%;\n  }\n  .ant-col-xxl-offset-7 {\n    margin-left: 29.16666667%;\n  }\n  .ant-col-xxl-order-7 {\n    order: 7;\n  }\n  .ant-col-xxl-6 {\n    display: block;\n    flex: 0 0 25%;\n    max-width: 25%;\n  }\n  .ant-col-xxl-push-6 {\n    left: 25%;\n  }\n  .ant-col-xxl-pull-6 {\n    right: 25%;\n  }\n  .ant-col-xxl-offset-6 {\n    margin-left: 25%;\n  }\n  .ant-col-xxl-order-6 {\n    order: 6;\n  }\n  .ant-col-xxl-5 {\n    display: block;\n    flex: 0 0 20.83333333%;\n    max-width: 20.83333333%;\n  }\n  .ant-col-xxl-push-5 {\n    left: 20.83333333%;\n  }\n  .ant-col-xxl-pull-5 {\n    right: 20.83333333%;\n  }\n  .ant-col-xxl-offset-5 {\n    margin-left: 20.83333333%;\n  }\n  .ant-col-xxl-order-5 {\n    order: 5;\n  }\n  .ant-col-xxl-4 {\n    display: block;\n    flex: 0 0 16.66666667%;\n    max-width: 16.66666667%;\n  }\n  .ant-col-xxl-push-4 {\n    left: 16.66666667%;\n  }\n  .ant-col-xxl-pull-4 {\n    right: 16.66666667%;\n  }\n  .ant-col-xxl-offset-4 {\n    margin-left: 16.66666667%;\n  }\n  .ant-col-xxl-order-4 {\n    order: 4;\n  }\n  .ant-col-xxl-3 {\n    display: block;\n    flex: 0 0 12.5%;\n    max-width: 12.5%;\n  }\n  .ant-col-xxl-push-3 {\n    left: 12.5%;\n  }\n  .ant-col-xxl-pull-3 {\n    right: 12.5%;\n  }\n  .ant-col-xxl-offset-3 {\n    margin-left: 12.5%;\n  }\n  .ant-col-xxl-order-3 {\n    order: 3;\n  }\n  .ant-col-xxl-2 {\n    display: block;\n    flex: 0 0 8.33333333%;\n    max-width: 8.33333333%;\n  }\n  .ant-col-xxl-push-2 {\n    left: 8.33333333%;\n  }\n  .ant-col-xxl-pull-2 {\n    right: 8.33333333%;\n  }\n  .ant-col-xxl-offset-2 {\n    margin-left: 8.33333333%;\n  }\n  .ant-col-xxl-order-2 {\n    order: 2;\n  }\n  .ant-col-xxl-1 {\n    display: block;\n    flex: 0 0 4.16666667%;\n    max-width: 4.16666667%;\n  }\n  .ant-col-xxl-push-1 {\n    left: 4.16666667%;\n  }\n  .ant-col-xxl-pull-1 {\n    right: 4.16666667%;\n  }\n  .ant-col-xxl-offset-1 {\n    margin-left: 4.16666667%;\n  }\n  .ant-col-xxl-order-1 {\n    order: 1;\n  }\n  .ant-col-xxl-0 {\n    display: none;\n  }\n  .ant-col-push-0 {\n    left: auto;\n  }\n  .ant-col-pull-0 {\n    right: auto;\n  }\n  .ant-col-xxl-push-0 {\n    left: auto;\n  }\n  .ant-col-xxl-pull-0 {\n    right: auto;\n  }\n  .ant-col-xxl-offset-0 {\n    margin-left: 0;\n  }\n  .ant-col-xxl-order-0 {\n    order: 0;\n  }\n  .ant-col-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xxl-push-0.ant-col-rtl {\n    right: auto;\n  }\n  .ant-col-xxl-pull-0.ant-col-rtl {\n    left: auto;\n  }\n  .ant-col-xxl-offset-0.ant-col-rtl {\n    margin-right: 0;\n  }\n  .ant-col-xxl-push-1.ant-col-rtl {\n    right: 4.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-1.ant-col-rtl {\n    right: auto;\n    left: 4.16666667%;\n  }\n  .ant-col-xxl-offset-1.ant-col-rtl {\n    margin-right: 4.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-2.ant-col-rtl {\n    right: 8.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-2.ant-col-rtl {\n    right: auto;\n    left: 8.33333333%;\n  }\n  .ant-col-xxl-offset-2.ant-col-rtl {\n    margin-right: 8.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-3.ant-col-rtl {\n    right: 12.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-3.ant-col-rtl {\n    right: auto;\n    left: 12.5%;\n  }\n  .ant-col-xxl-offset-3.ant-col-rtl {\n    margin-right: 12.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-4.ant-col-rtl {\n    right: 16.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-4.ant-col-rtl {\n    right: auto;\n    left: 16.66666667%;\n  }\n  .ant-col-xxl-offset-4.ant-col-rtl {\n    margin-right: 16.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-5.ant-col-rtl {\n    right: 20.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-5.ant-col-rtl {\n    right: auto;\n    left: 20.83333333%;\n  }\n  .ant-col-xxl-offset-5.ant-col-rtl {\n    margin-right: 20.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-6.ant-col-rtl {\n    right: 25%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-6.ant-col-rtl {\n    right: auto;\n    left: 25%;\n  }\n  .ant-col-xxl-offset-6.ant-col-rtl {\n    margin-right: 25%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-7.ant-col-rtl {\n    right: 29.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-7.ant-col-rtl {\n    right: auto;\n    left: 29.16666667%;\n  }\n  .ant-col-xxl-offset-7.ant-col-rtl {\n    margin-right: 29.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-8.ant-col-rtl {\n    right: 33.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-8.ant-col-rtl {\n    right: auto;\n    left: 33.33333333%;\n  }\n  .ant-col-xxl-offset-8.ant-col-rtl {\n    margin-right: 33.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-9.ant-col-rtl {\n    right: 37.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-9.ant-col-rtl {\n    right: auto;\n    left: 37.5%;\n  }\n  .ant-col-xxl-offset-9.ant-col-rtl {\n    margin-right: 37.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-10.ant-col-rtl {\n    right: 41.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-10.ant-col-rtl {\n    right: auto;\n    left: 41.66666667%;\n  }\n  .ant-col-xxl-offset-10.ant-col-rtl {\n    margin-right: 41.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-11.ant-col-rtl {\n    right: 45.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-11.ant-col-rtl {\n    right: auto;\n    left: 45.83333333%;\n  }\n  .ant-col-xxl-offset-11.ant-col-rtl {\n    margin-right: 45.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-12.ant-col-rtl {\n    right: 50%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-12.ant-col-rtl {\n    right: auto;\n    left: 50%;\n  }\n  .ant-col-xxl-offset-12.ant-col-rtl {\n    margin-right: 50%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-13.ant-col-rtl {\n    right: 54.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-13.ant-col-rtl {\n    right: auto;\n    left: 54.16666667%;\n  }\n  .ant-col-xxl-offset-13.ant-col-rtl {\n    margin-right: 54.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-14.ant-col-rtl {\n    right: 58.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-14.ant-col-rtl {\n    right: auto;\n    left: 58.33333333%;\n  }\n  .ant-col-xxl-offset-14.ant-col-rtl {\n    margin-right: 58.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-15.ant-col-rtl {\n    right: 62.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-15.ant-col-rtl {\n    right: auto;\n    left: 62.5%;\n  }\n  .ant-col-xxl-offset-15.ant-col-rtl {\n    margin-right: 62.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-16.ant-col-rtl {\n    right: 66.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-16.ant-col-rtl {\n    right: auto;\n    left: 66.66666667%;\n  }\n  .ant-col-xxl-offset-16.ant-col-rtl {\n    margin-right: 66.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-17.ant-col-rtl {\n    right: 70.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-17.ant-col-rtl {\n    right: auto;\n    left: 70.83333333%;\n  }\n  .ant-col-xxl-offset-17.ant-col-rtl {\n    margin-right: 70.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-18.ant-col-rtl {\n    right: 75%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-18.ant-col-rtl {\n    right: auto;\n    left: 75%;\n  }\n  .ant-col-xxl-offset-18.ant-col-rtl {\n    margin-right: 75%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-19.ant-col-rtl {\n    right: 79.16666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-19.ant-col-rtl {\n    right: auto;\n    left: 79.16666667%;\n  }\n  .ant-col-xxl-offset-19.ant-col-rtl {\n    margin-right: 79.16666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-20.ant-col-rtl {\n    right: 83.33333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-20.ant-col-rtl {\n    right: auto;\n    left: 83.33333333%;\n  }\n  .ant-col-xxl-offset-20.ant-col-rtl {\n    margin-right: 83.33333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-21.ant-col-rtl {\n    right: 87.5%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-21.ant-col-rtl {\n    right: auto;\n    left: 87.5%;\n  }\n  .ant-col-xxl-offset-21.ant-col-rtl {\n    margin-right: 87.5%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-22.ant-col-rtl {\n    right: 91.66666667%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-22.ant-col-rtl {\n    right: auto;\n    left: 91.66666667%;\n  }\n  .ant-col-xxl-offset-22.ant-col-rtl {\n    margin-right: 91.66666667%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-23.ant-col-rtl {\n    right: 95.83333333%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-23.ant-col-rtl {\n    right: auto;\n    left: 95.83333333%;\n  }\n  .ant-col-xxl-offset-23.ant-col-rtl {\n    margin-right: 95.83333333%;\n    margin-left: 0;\n  }\n  .ant-col-xxl-push-24.ant-col-rtl {\n    right: 100%;\n    left: auto;\n  }\n  .ant-col-xxl-pull-24.ant-col-rtl {\n    right: auto;\n    left: 100%;\n  }\n  .ant-col-xxl-offset-24.ant-col-rtl {\n    margin-right: 100%;\n    margin-left: 0;\n  }\n}\n.ant-row-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-carousel {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-carousel .slick-slider {\n  position: relative;\n  display: block;\n  box-sizing: border-box;\n  touch-action: pan-y;\n  -webkit-touch-callout: none;\n  -webkit-tap-highlight-color: transparent;\n}\n.ant-carousel .slick-list {\n  position: relative;\n  display: block;\n  margin: 0;\n  padding: 0;\n  overflow: hidden;\n}\n.ant-carousel .slick-list:focus {\n  outline: none;\n}\n.ant-carousel .slick-list.dragging {\n  cursor: pointer;\n}\n.ant-carousel .slick-list .slick-slide {\n  pointer-events: none;\n}\n.ant-carousel .slick-list .slick-slide input.ant-radio-input,\n.ant-carousel .slick-list .slick-slide input.ant-checkbox-input {\n  visibility: hidden;\n}\n.ant-carousel .slick-list .slick-slide.slick-active {\n  pointer-events: auto;\n}\n.ant-carousel .slick-list .slick-slide.slick-active input.ant-radio-input,\n.ant-carousel .slick-list .slick-slide.slick-active input.ant-checkbox-input {\n  visibility: visible;\n}\n.ant-carousel .slick-list .slick-slide > div > div {\n  vertical-align: bottom;\n}\n.ant-carousel .slick-slider .slick-track,\n.ant-carousel .slick-slider .slick-list {\n  transform: translate3d(0, 0, 0);\n  touch-action: pan-y;\n}\n.ant-carousel .slick-track {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n}\n.ant-carousel .slick-track::before,\n.ant-carousel .slick-track::after {\n  display: table;\n  content: '';\n}\n.ant-carousel .slick-track::after {\n  clear: both;\n}\n.slick-loading .ant-carousel .slick-track {\n  visibility: hidden;\n}\n.ant-carousel .slick-slide {\n  display: none;\n  float: left;\n  height: 100%;\n  min-height: 1px;\n}\n.ant-carousel .slick-slide img {\n  display: block;\n}\n.ant-carousel .slick-slide.slick-loading img {\n  display: none;\n}\n.ant-carousel .slick-slide.dragging img {\n  pointer-events: none;\n}\n.ant-carousel .slick-initialized .slick-slide {\n  display: block;\n}\n.ant-carousel .slick-loading .slick-slide {\n  visibility: hidden;\n}\n.ant-carousel .slick-vertical .slick-slide {\n  display: block;\n  height: auto;\n}\n.ant-carousel .slick-arrow.slick-hidden {\n  display: none;\n}\n.ant-carousel .slick-prev,\n.ant-carousel .slick-next {\n  position: absolute;\n  top: 50%;\n  display: block;\n  width: 20px;\n  height: 20px;\n  margin-top: -10px;\n  padding: 0;\n  color: transparent;\n  font-size: 0;\n  line-height: 0;\n  background: transparent;\n  border: 0;\n  outline: none;\n  cursor: pointer;\n}\n.ant-carousel .slick-prev:hover,\n.ant-carousel .slick-next:hover,\n.ant-carousel .slick-prev:focus,\n.ant-carousel .slick-next:focus {\n  color: transparent;\n  background: transparent;\n  outline: none;\n}\n.ant-carousel .slick-prev:hover::before,\n.ant-carousel .slick-next:hover::before,\n.ant-carousel .slick-prev:focus::before,\n.ant-carousel .slick-next:focus::before {\n  opacity: 1;\n}\n.ant-carousel .slick-prev.slick-disabled::before,\n.ant-carousel .slick-next.slick-disabled::before {\n  opacity: 0.25;\n}\n.ant-carousel .slick-prev {\n  left: -25px;\n}\n.ant-carousel .slick-prev::before {\n  content: '←';\n}\n.ant-carousel .slick-next {\n  right: -25px;\n}\n.ant-carousel .slick-next::before {\n  content: '→';\n}\n.ant-carousel .slick-dots {\n  position: absolute;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 15;\n  display: flex !important;\n  justify-content: center;\n  margin-right: 15%;\n  margin-left: 15%;\n  padding-left: 0;\n  list-style: none;\n}\n.ant-carousel .slick-dots-bottom {\n  bottom: 12px;\n}\n.ant-carousel .slick-dots-top {\n  top: 12px;\n  bottom: auto;\n}\n.ant-carousel .slick-dots li {\n  position: relative;\n  display: inline-block;\n  flex: 0 1 auto;\n  box-sizing: content-box;\n  width: 16px;\n  height: 3px;\n  margin: 0 2px;\n  margin-right: 3px;\n  margin-left: 3px;\n  padding: 0;\n  text-align: center;\n  text-indent: -999px;\n  vertical-align: top;\n  transition: all 0.5s;\n}\n.ant-carousel .slick-dots li button {\n  display: block;\n  width: 100%;\n  height: 3px;\n  padding: 0;\n  color: transparent;\n  font-size: 0;\n  background: #fff;\n  border: 0;\n  border-radius: 1px;\n  outline: none;\n  cursor: pointer;\n  opacity: 0.3;\n  transition: all 0.5s;\n}\n.ant-carousel .slick-dots li button:hover,\n.ant-carousel .slick-dots li button:focus {\n  opacity: 0.75;\n}\n.ant-carousel .slick-dots li.slick-active {\n  width: 24px;\n}\n.ant-carousel .slick-dots li.slick-active button {\n  background: #fff;\n  opacity: 1;\n}\n.ant-carousel .slick-dots li.slick-active:hover,\n.ant-carousel .slick-dots li.slick-active:focus {\n  opacity: 1;\n}\n.ant-carousel-vertical .slick-dots {\n  top: 50%;\n  bottom: auto;\n  flex-direction: column;\n  width: 3px;\n  height: auto;\n  margin: 0;\n  transform: translateY(-50%);\n}\n.ant-carousel-vertical .slick-dots-left {\n  right: auto;\n  left: 12px;\n}\n.ant-carousel-vertical .slick-dots-right {\n  right: 12px;\n  left: auto;\n}\n.ant-carousel-vertical .slick-dots li {\n  width: 3px;\n  height: 16px;\n  margin: 4px 2px;\n  vertical-align: baseline;\n}\n.ant-carousel-vertical .slick-dots li button {\n  width: 3px;\n  height: 16px;\n}\n.ant-carousel-vertical .slick-dots li.slick-active {\n  width: 3px;\n  height: 24px;\n}\n.ant-carousel-vertical .slick-dots li.slick-active button {\n  width: 3px;\n  height: 24px;\n}\n.ant-carousel-rtl {\n  direction: rtl;\n}\n.ant-carousel-rtl .ant-carousel .slick-track {\n  right: 0;\n  left: auto;\n}\n.ant-carousel-rtl .ant-carousel .slick-prev {\n  right: -25px;\n  left: auto;\n}\n.ant-carousel-rtl .ant-carousel .slick-prev::before {\n  content: '→';\n}\n.ant-carousel-rtl .ant-carousel .slick-next {\n  right: auto;\n  left: -25px;\n}\n.ant-carousel-rtl .ant-carousel .slick-next::before {\n  content: '←';\n}\n.ant-carousel-rtl.ant-carousel .slick-dots {\n  flex-direction: row-reverse;\n}\n.ant-carousel-rtl.ant-carousel-vertical .slick-dots {\n  flex-direction: column;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-cascader {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-cascader-input.ant-input {\n  position: static;\n  width: 100%;\n  padding-right: 24px;\n  background-color: transparent !important;\n  cursor: pointer;\n}\n.ant-cascader-picker-show-search .ant-cascader-input.ant-input {\n  position: relative;\n}\n.ant-cascader-picker {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  background-color: #fff;\n  border-radius: 2px;\n  outline: 0;\n  cursor: pointer;\n  transition: color 0.3s;\n}\n.ant-cascader-picker-with-value .ant-cascader-picker-label {\n  color: transparent;\n}\n.ant-cascader-picker-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  cursor: not-allowed;\n}\n.ant-cascader-picker-disabled .ant-cascader-input {\n  cursor: not-allowed;\n}\n.ant-cascader-picker:focus .ant-cascader-input {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-cascader-picker-borderless .ant-cascader-input {\n  border-color: transparent !important;\n  box-shadow: none !important;\n}\n.ant-cascader-picker-show-search.ant-cascader-picker-focused {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-cascader-picker-label {\n  position: absolute;\n  top: 50%;\n  left: 0;\n  width: 100%;\n  height: 20px;\n  margin-top: -10px;\n  padding: 0 20px 0 12px;\n  overflow: hidden;\n  line-height: 20px;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-cascader-picker-clear {\n  position: absolute;\n  top: 50%;\n  right: 12px;\n  z-index: 2;\n  width: 12px;\n  height: 12px;\n  margin-top: -6px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  line-height: 12px;\n  background: #fff;\n  cursor: pointer;\n  opacity: 0;\n  transition: color 0.3s ease, opacity 0.15s ease;\n}\n.ant-cascader-picker-clear:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-cascader-picker:hover .ant-cascader-picker-clear {\n  opacity: 1;\n}\n.ant-cascader-picker-arrow {\n  position: absolute;\n  top: 50%;\n  right: 12px;\n  z-index: 1;\n  width: 12px;\n  height: 12px;\n  margin-top: -6px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  line-height: 12px;\n}\n.ant-cascader-picker-label:hover + .ant-cascader-input:not(.ant-cascader-picker-disabled .ant-cascader-picker-label:hover + .ant-cascader-input) {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-cascader-picker-small .ant-cascader-picker-clear,\n.ant-cascader-picker-small .ant-cascader-picker-arrow {\n  right: 8px;\n}\n.ant-cascader-menus {\n  position: absolute;\n  z-index: 1050;\n  font-size: 14px;\n  white-space: nowrap;\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-cascader-menus ul,\n.ant-cascader-menus ol {\n  margin: 0;\n  list-style: none;\n}\n.ant-cascader-menus-empty,\n.ant-cascader-menus-hidden {\n  display: none;\n}\n.ant-cascader-menus.ant-slide-up-enter.ant-slide-up-enter-active.ant-cascader-menus-placement-bottomLeft,\n.ant-cascader-menus.ant-slide-up-appear.ant-slide-up-appear-active.ant-cascader-menus-placement-bottomLeft {\n  -webkit-animation-name: antSlideUpIn;\n          animation-name: antSlideUpIn;\n}\n.ant-cascader-menus.ant-slide-up-enter.ant-slide-up-enter-active.ant-cascader-menus-placement-topLeft,\n.ant-cascader-menus.ant-slide-up-appear.ant-slide-up-appear-active.ant-cascader-menus-placement-topLeft {\n  -webkit-animation-name: antSlideDownIn;\n          animation-name: antSlideDownIn;\n}\n.ant-cascader-menus.ant-slide-up-leave.ant-slide-up-leave-active.ant-cascader-menus-placement-bottomLeft {\n  -webkit-animation-name: antSlideUpOut;\n          animation-name: antSlideUpOut;\n}\n.ant-cascader-menus.ant-slide-up-leave.ant-slide-up-leave-active.ant-cascader-menus-placement-topLeft {\n  -webkit-animation-name: antSlideDownOut;\n          animation-name: antSlideDownOut;\n}\n.ant-cascader-menu {\n  display: inline-block;\n  min-width: 111px;\n  height: 180px;\n  margin: 0;\n  padding: 4px 0;\n  overflow: auto;\n  vertical-align: top;\n  list-style: none;\n  border-right: 1px solid #f0f0f0;\n  -ms-overflow-style: -ms-autohiding-scrollbar;\n}\n.ant-cascader-menu:first-child {\n  border-radius: 2px 0 0 2px;\n}\n.ant-cascader-menu:last-child {\n  margin-right: -1px;\n  border-right-color: transparent;\n  border-radius: 0 2px 2px 0;\n}\n.ant-cascader-menu:only-child {\n  border-radius: 2px;\n}\n.ant-cascader-menu-item {\n  padding: 5px 12px;\n  overflow: hidden;\n  line-height: 22px;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-cascader-menu-item:hover {\n  background: #f5f5f5;\n}\n.ant-cascader-menu-item-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-cascader-menu-item-disabled:hover {\n  background: transparent;\n}\n.ant-cascader-menu-empty .ant-cascader-menu-item {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: default;\n  pointer-events: none;\n}\n.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled),\n.ant-cascader-menu-item-active:not(.ant-cascader-menu-item-disabled):hover {\n  font-weight: 600;\n  background-color: #e6f7ff;\n}\n.ant-cascader-menu-item-expand {\n  position: relative;\n  padding-right: 24px;\n}\n.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,\n.ant-cascader-menu-item-loading-icon {\n  position: absolute;\n  right: 12px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 10px;\n}\n.ant-cascader-menu-item-disabled.ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,\n.ant-cascader-menu-item-disabled.ant-cascader-menu-item-loading-icon {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-cascader-menu-item .ant-cascader-menu-item-keyword {\n  color: #ff4d4f;\n}\n.ant-cascader-picker-rtl .ant-cascader-input.ant-input {\n  padding-right: 11px;\n  padding-left: 24px;\n  text-align: right;\n}\n.ant-cascader-picker-rtl {\n  direction: rtl;\n}\n.ant-cascader-picker-rtl .ant-cascader-picker-label {\n  padding: 0 12px 0 20px;\n  text-align: right;\n}\n.ant-cascader-picker-rtl .ant-cascader-picker-clear {\n  right: auto;\n  left: 12px;\n}\n.ant-cascader-picker-rtl .ant-cascader-picker-arrow {\n  right: auto;\n  left: 12px;\n}\n.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-clear,\n.ant-cascader-picker-rtl.ant-cascader-picker-small .ant-cascader-picker-arrow {\n  right: auto;\n  left: 8px;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu {\n  direction: rtl;\n  border-right: none;\n  border-left: 1px solid #f0f0f0;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu:first-child {\n  border-radius: 0 2px 2px 0;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu:last-child {\n  margin-right: 0;\n  margin-left: -1px;\n  border-left-color: transparent;\n  border-radius: 2px 0 0 2px;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu:only-child {\n  border-radius: 2px;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu-item-expand {\n  padding-right: 12px;\n  padding-left: 24px;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu-item-expand .ant-cascader-menu-item-expand-icon,\n.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon {\n  right: auto;\n  left: 12px;\n}\n.ant-cascader-menu-rtl .ant-cascader-menu-item-loading-icon {\n  transform: scaleY(-1);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-input-affix-wrapper {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  display: inline-flex;\n}\n.ant-input-affix-wrapper::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input-affix-wrapper:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input-affix-wrapper::placeholder {\n  color: #bfbfbf;\n}\n.ant-input-affix-wrapper:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-affix-wrapper:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input-affix-wrapper:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-affix-wrapper:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-rtl .ant-input-affix-wrapper:hover {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-affix-wrapper:focus,\n.ant-input-affix-wrapper-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-rtl .ant-input-affix-wrapper:focus,\n.ant-input-rtl .ant-input-affix-wrapper-focused {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-affix-wrapper-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-affix-wrapper-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-affix-wrapper[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-affix-wrapper[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-affix-wrapper-borderless,\n.ant-input-affix-wrapper-borderless:hover,\n.ant-input-affix-wrapper-borderless:focus,\n.ant-input-affix-wrapper-borderless-focused,\n.ant-input-affix-wrapper-borderless-disabled,\n.ant-input-affix-wrapper-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-input-affix-wrapper {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-input-affix-wrapper-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-affix-wrapper-sm {\n  padding: 0px 7px;\n}\n.ant-input-affix-wrapper-rtl {\n  direction: rtl;\n}\n.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  z-index: 1;\n}\n.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {\n  z-index: 0;\n}\n.ant-input-affix-wrapper-focused,\n.ant-input-affix-wrapper:focus {\n  z-index: 1;\n}\n.ant-input-affix-wrapper-disabled .ant-input[disabled] {\n  background: transparent;\n}\n.ant-input-affix-wrapper > input.ant-input {\n  padding: 0;\n  border: none;\n  outline: none;\n}\n.ant-input-affix-wrapper > input.ant-input:focus {\n  box-shadow: none !important;\n}\n.ant-input-affix-wrapper::before {\n  width: 0;\n  visibility: hidden;\n  content: '\\a0';\n}\n.ant-input-prefix,\n.ant-input-suffix {\n  display: flex;\n  flex: none;\n  align-items: center;\n}\n.ant-input-prefix {\n  margin-right: 4px;\n}\n.ant-input-suffix {\n  margin-left: 4px;\n}\n.anticon.ant-input-clear-icon {\n  margin: 0;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 12px;\n  vertical-align: -1px;\n  cursor: pointer;\n  transition: color 0.3s;\n}\n.anticon.ant-input-clear-icon:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.anticon.ant-input-clear-icon:active {\n  color: rgba(0, 0, 0, 0.85);\n}\n.anticon.ant-input-clear-icon-hidden {\n  visibility: hidden;\n}\n.anticon.ant-input-clear-icon-has-suffix {\n  margin: 0 4px;\n}\n.ant-input-affix-wrapper-textarea-with-clear-btn {\n  padding: 0 !important;\n  border: 0 !important;\n}\n.ant-input-affix-wrapper-textarea-with-clear-btn .ant-input-clear-icon {\n  position: absolute;\n  top: 8px;\n  right: 8px;\n  z-index: 1;\n}\n.ant-input {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  font-variant: tabular-nums;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n}\n.ant-input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input::placeholder {\n  color: #bfbfbf;\n}\n.ant-input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-rtl .ant-input:hover {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input:focus,\n.ant-input-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-rtl .ant-input:focus,\n.ant-input-rtl .ant-input-focused {\n  border-right-width: 0;\n  border-left-width: 1px !important;\n}\n.ant-input-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-borderless,\n.ant-input-borderless:hover,\n.ant-input-borderless:focus,\n.ant-input-borderless-focused,\n.ant-input-borderless-disabled,\n.ant-input-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-input {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-input-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-sm {\n  padding: 0px 7px;\n}\n.ant-input-rtl {\n  direction: rtl;\n}\n.ant-input-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: table;\n  width: 100%;\n  border-collapse: separate;\n  border-spacing: 0;\n}\n.ant-input-group[class*='col-'] {\n  float: none;\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-input-group > [class*='col-'] {\n  padding-right: 8px;\n}\n.ant-input-group > [class*='col-']:last-child {\n  padding-right: 0;\n}\n.ant-input-group-addon,\n.ant-input-group-wrap,\n.ant-input-group > .ant-input {\n  display: table-cell;\n}\n.ant-input-group-addon:not(:first-child):not(:last-child),\n.ant-input-group-wrap:not(:first-child):not(:last-child),\n.ant-input-group > .ant-input:not(:first-child):not(:last-child) {\n  border-radius: 0;\n}\n.ant-input-group-addon,\n.ant-input-group-wrap {\n  width: 1px;\n  white-space: nowrap;\n  vertical-align: middle;\n}\n.ant-input-group-wrap > * {\n  display: block !important;\n}\n.ant-input-group .ant-input {\n  float: left;\n  width: 100%;\n  margin-bottom: 0;\n  text-align: inherit;\n}\n.ant-input-group .ant-input:focus {\n  z-index: 1;\n  border-right-width: 1px;\n}\n.ant-input-group .ant-input:hover {\n  z-index: 1;\n  border-right-width: 1px;\n}\n.ant-input-search-with-button .ant-input-group .ant-input:hover {\n  z-index: 0;\n}\n.ant-input-group-addon {\n  position: relative;\n  padding: 0 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  text-align: center;\n  background-color: #fafafa;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n}\n.ant-input-group-addon .ant-select {\n  margin: -5px -11px;\n}\n.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {\n  background-color: inherit;\n  border: 1px solid transparent;\n  box-shadow: none;\n}\n.ant-input-group-addon .ant-select-open .ant-select-selector,\n.ant-input-group-addon .ant-select-focused .ant-select-selector {\n  color: #1890ff;\n}\n.ant-input-group-addon .ant-cascader-picker {\n  margin: -9px -12px;\n  background-color: transparent;\n}\n.ant-input-group-addon .ant-cascader-picker .ant-cascader-input {\n  text-align: left;\n  border: 0;\n  box-shadow: none;\n}\n.ant-input-group > .ant-input:first-child,\n.ant-input-group-addon:first-child {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-group > .ant-input:first-child .ant-select .ant-select-selector,\n.ant-input-group-addon:first-child .ant-select .ant-select-selector {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-group > .ant-input-affix-wrapper:not(:first-child) .ant-input {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group > .ant-input-affix-wrapper:not(:last-child) .ant-input {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-group-addon:first-child {\n  border-right: 0;\n}\n.ant-input-group-addon:last-child {\n  border-left: 0;\n}\n.ant-input-group > .ant-input:last-child,\n.ant-input-group-addon:last-child {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group > .ant-input:last-child .ant-select .ant-select-selector,\n.ant-input-group-addon:last-child .ant-select .ant-select-selector {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group-lg .ant-input,\n.ant-input-group-lg > .ant-input-group-addon {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-group-sm .ant-input,\n.ant-input-group-sm > .ant-input-group-addon {\n  padding: 0px 7px;\n}\n.ant-input-group-lg .ant-select-single .ant-select-selector {\n  height: 40px;\n}\n.ant-input-group-sm .ant-select-single .ant-select-selector {\n  height: 24px;\n}\n.ant-input-group .ant-input-affix-wrapper:not(:first-child) {\n  border-top-left-radius: 0;\n  border-bottom-left-radius: 0;\n}\n.ant-input-group .ant-input-affix-wrapper:not(:last-child) {\n  border-top-right-radius: 0;\n  border-bottom-right-radius: 0;\n}\n.ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:last-child) {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-input-group.ant-input-group-compact {\n  display: block;\n}\n.ant-input-group.ant-input-group-compact::before {\n  display: table;\n  content: '';\n}\n.ant-input-group.ant-input-group-compact::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child),\n.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child),\n.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child) {\n  border-right-width: 1px;\n}\n.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,\n.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,\n.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):hover {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,\n.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,\n.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):focus {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > * {\n  display: inline-block;\n  float: none;\n  vertical-align: top;\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact > .ant-input-affix-wrapper {\n  display: inline-flex;\n}\n.ant-input-group.ant-input-group-compact > .ant-picker-range {\n  display: inline-flex;\n}\n.ant-input-group.ant-input-group-compact > *:not(:last-child) {\n  margin-right: -1px;\n  border-right-width: 1px;\n}\n.ant-input-group.ant-input-group-compact .ant-input {\n  float: none;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selector,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-input-group-wrapper .ant-input {\n  border-right-width: 1px;\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selector:hover,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:hover,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:hover,\n.ant-input-group.ant-input-group-compact > .ant-input-group-wrapper .ant-input:hover {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-selector:focus,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input:focus,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker .ant-input:focus,\n.ant-input-group.ant-input-group-compact > .ant-input-group-wrapper .ant-input:focus {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > .ant-select-focused {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > .ant-select > .ant-select-arrow {\n  z-index: 1;\n}\n.ant-input-group.ant-input-group-compact > *:first-child,\n.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {\n  border-top-left-radius: 2px;\n  border-bottom-left-radius: 2px;\n}\n.ant-input-group.ant-input-group-compact > *:last-child,\n.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,\n.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input {\n  border-right-width: 1px;\n  border-top-right-radius: 2px;\n  border-bottom-right-radius: 2px;\n}\n.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input {\n  vertical-align: top;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper {\n  margin-left: -1px;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper .ant-input-affix-wrapper {\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input-group-addon > .ant-input-search-button {\n  border-radius: 0;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input {\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group > .ant-input-rtl:first-child,\n.ant-input-group-rtl .ant-input-group-addon:first-child {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-rtl .ant-input-group-addon:first-child {\n  border-right: 1px solid #d9d9d9;\n  border-left: 0;\n}\n.ant-input-group-rtl .ant-input-group-addon:last-child {\n  border-right: 0;\n  border-left: 1px solid #d9d9d9;\n}\n.ant-input-group-rtl.ant-input-group > .ant-input:last-child,\n.ant-input-group-rtl.ant-input-group-addon:last-child {\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:first-child) {\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group-rtl.ant-input-group .ant-input-affix-wrapper:not(:last-child) {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:not(:last-child) {\n  margin-right: 0;\n  margin-left: -1px;\n  border-left-width: 1px;\n}\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:first-child,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:last-child,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,\n.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input {\n  border-left-width: 1px;\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl + .ant-input-group-wrapper-rtl {\n  margin-right: -1px;\n  margin-left: 0;\n}\n.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search > .ant-input-group > .ant-input {\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-group-wrapper {\n  display: inline-block;\n  width: 100%;\n  text-align: start;\n  vertical-align: top;\n}\n.ant-input-password-icon {\n  color: rgba(0, 0, 0, 0.45);\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-input-password-icon:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-input[type='color'] {\n  height: 32px;\n}\n.ant-input[type='color'].ant-input-lg {\n  height: 40px;\n}\n.ant-input[type='color'].ant-input-sm {\n  height: 24px;\n  padding-top: 3px;\n  padding-bottom: 3px;\n}\n.ant-input-textarea-show-count::after {\n  float: right;\n  color: rgba(0, 0, 0, 0.45);\n  white-space: nowrap;\n  content: attr(data-count);\n  pointer-events: none;\n}\n.ant-input-search .ant-input:hover,\n.ant-input-search .ant-input:focus {\n  border-color: #40a9ff;\n}\n.ant-input-search .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),\n.ant-input-search .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {\n  border-left-color: #40a9ff;\n}\n.ant-input-search .ant-input-affix-wrapper {\n  border-radius: 0;\n}\n.ant-input-search .ant-input-lg {\n  line-height: 1.5713;\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child {\n  left: -1px;\n  padding: 0;\n  border: 0;\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {\n  padding-top: 0;\n  padding-bottom: 0;\n  border-radius: 0 2px 2px 0;\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary) {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading::before {\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n.ant-input-search-button {\n  height: 32px;\n}\n.ant-input-search-button:hover,\n.ant-input-search-button:focus {\n  z-index: 1;\n}\n.ant-input-search-large .ant-input-search-button {\n  height: 40px;\n}\n.ant-input-search-small .ant-input-search-button {\n  height: 24px;\n}\n.ant-input-group-wrapper-rtl {\n  direction: rtl;\n}\n.ant-input-group-rtl {\n  direction: rtl;\n}\n.ant-input-affix-wrapper.ant-input-affix-wrapper-rtl > input.ant-input {\n  border: none;\n  outline: none;\n}\n.ant-input-affix-wrapper-rtl .ant-input-prefix {\n  margin: 0 0 0 4px;\n}\n.ant-input-affix-wrapper-rtl .ant-input-suffix {\n  margin: 0 4px 0 0;\n}\n.ant-input-textarea-rtl {\n  direction: rtl;\n}\n.ant-input-textarea-rtl.ant-input-textarea-show-count::after {\n  text-align: left;\n}\n.ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {\n  margin-right: 0;\n  margin-left: 4px;\n}\n.ant-input-affix-wrapper-rtl .ant-input-clear-icon {\n  right: auto;\n  left: 8px;\n}\n.ant-input-search-rtl {\n  direction: rtl;\n}\n.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),\n.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {\n  border-right-color: #40a9ff;\n  border-left-color: #d9d9d9;\n}\n.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,\n.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper-focused {\n  border-right-color: #40a9ff;\n}\n.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon {\n  right: -1px;\n  left: auto;\n}\n.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon .ant-input-search-button {\n  border-radius: 2px 0 0 2px;\n}\n@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {\n  .ant-input {\n    height: 32px;\n  }\n  .ant-input-lg {\n    height: 40px;\n  }\n  .ant-input-sm {\n    height: 24px;\n  }\n  .ant-input-affix-wrapper > input.ant-input {\n    height: auto;\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n@-webkit-keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-checkbox {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  line-height: 1;\n  white-space: nowrap;\n  outline: none;\n  cursor: pointer;\n}\n.ant-checkbox-wrapper:hover .ant-checkbox-inner,\n.ant-checkbox:hover .ant-checkbox-inner,\n.ant-checkbox-input:focus + .ant-checkbox-inner {\n  border-color: #1890ff;\n}\n.ant-checkbox-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  visibility: hidden;\n  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;\n          animation: antCheckboxEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: backwards;\n          animation-fill-mode: backwards;\n  content: '';\n}\n.ant-checkbox:hover::after,\n.ant-checkbox-wrapper:hover .ant-checkbox::after {\n  visibility: visible;\n}\n.ant-checkbox-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  direction: ltr;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  border-collapse: separate;\n  transition: all 0.3s;\n}\n.ant-checkbox-inner::after {\n  position: absolute;\n  top: 50%;\n  left: 21.5%;\n  display: table;\n  width: 5.71428571px;\n  height: 9.14285714px;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(0) translate(-50%, -50%);\n  opacity: 0;\n  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n  content: ' ';\n}\n.ant-checkbox-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-checkbox-checked .ant-checkbox-inner::after {\n  position: absolute;\n  display: table;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(1) translate(-50%, -50%);\n  opacity: 1;\n  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n  content: ' ';\n}\n.ant-checkbox-checked .ant-checkbox-inner {\n  background-color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-checkbox-disabled {\n  cursor: not-allowed;\n}\n.ant-checkbox-disabled.ant-checkbox-checked .ant-checkbox-inner::after {\n  border-color: rgba(0, 0, 0, 0.25);\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-checkbox-disabled .ant-checkbox-input {\n  cursor: not-allowed;\n}\n.ant-checkbox-disabled .ant-checkbox-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n}\n.ant-checkbox-disabled .ant-checkbox-inner::after {\n  border-color: #f5f5f5;\n  border-collapse: separate;\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-checkbox-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-checkbox-disabled:hover::after,\n.ant-checkbox-wrapper:hover .ant-checkbox-disabled::after {\n  visibility: hidden;\n}\n.ant-checkbox-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-flex;\n  align-items: baseline;\n  line-height: unset;\n  cursor: pointer;\n}\n.ant-checkbox-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-checkbox-wrapper.ant-checkbox-wrapper-disabled {\n  cursor: not-allowed;\n}\n.ant-checkbox-wrapper + .ant-checkbox-wrapper {\n  margin-left: 8px;\n}\n.ant-checkbox + span {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-checkbox-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n}\n.ant-checkbox-group-item {\n  margin-right: 8px;\n}\n.ant-checkbox-group-item:last-child {\n  margin-right: 0;\n}\n.ant-checkbox-group-item + .ant-checkbox-group-item {\n  margin-left: 0;\n}\n.ant-checkbox-indeterminate .ant-checkbox-inner {\n  background-color: #fff;\n  border-color: #d9d9d9;\n}\n.ant-checkbox-indeterminate .ant-checkbox-inner::after {\n  top: 50%;\n  left: 50%;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border: 0;\n  transform: translate(-50%, -50%) scale(1);\n  opacity: 1;\n  content: ' ';\n}\n.ant-checkbox-indeterminate.ant-checkbox-disabled .ant-checkbox-inner::after {\n  background-color: rgba(0, 0, 0, 0.25);\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-checkbox-rtl {\n  direction: rtl;\n}\n.ant-checkbox-group-rtl .ant-checkbox-group-item {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-checkbox-group-rtl .ant-checkbox-group-item:last-child {\n  margin-left: 0 !important;\n}\n.ant-checkbox-group-rtl .ant-checkbox-group-item + .ant-checkbox-group-item {\n  margin-left: 8px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-collapse {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  background-color: #fafafa;\n  border: 1px solid #d9d9d9;\n  border-bottom: 0;\n  border-radius: 2px;\n}\n.ant-collapse > .ant-collapse-item {\n  border-bottom: 1px solid #d9d9d9;\n}\n.ant-collapse > .ant-collapse-item:last-child,\n.ant-collapse > .ant-collapse-item:last-child > .ant-collapse-header {\n  border-radius: 0 0 2px 2px;\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header {\n  position: relative;\n  padding: 12px 16px;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 1.5715;\n  cursor: pointer;\n  transition: all 0.3s, visibility 0s;\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header::before {\n  display: table;\n  content: '';\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {\n  display: inline-block;\n  margin-right: 12px;\n  font-size: 12px;\n  vertical-align: -1px;\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow svg {\n  transition: transform 0.24s;\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-extra {\n  float: right;\n}\n.ant-collapse > .ant-collapse-item > .ant-collapse-header:focus {\n  outline: none;\n}\n.ant-collapse > .ant-collapse-item .ant-collapse-header-collapsible-only {\n  cursor: default;\n}\n.ant-collapse > .ant-collapse-item .ant-collapse-header-collapsible-only .ant-collapse-header-text {\n  cursor: pointer;\n}\n.ant-collapse > .ant-collapse-item.ant-collapse-no-arrow > .ant-collapse-header {\n  padding-left: 12px;\n}\n.ant-collapse-icon-position-right > .ant-collapse-item > .ant-collapse-header {\n  padding: 12px 16px;\n  padding-right: 40px;\n}\n.ant-collapse-icon-position-right > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {\n  position: absolute;\n  top: 50%;\n  right: 16px;\n  left: auto;\n  margin: 0;\n  transform: translateY(-50%);\n}\n.ant-collapse-content {\n  color: rgba(0, 0, 0, 0.85);\n  background-color: #fff;\n  border-top: 1px solid #d9d9d9;\n}\n.ant-collapse-content > .ant-collapse-content-box {\n  padding: 16px;\n}\n.ant-collapse-content-hidden {\n  display: none;\n}\n.ant-collapse-item:last-child > .ant-collapse-content {\n  border-radius: 0 0 2px 2px;\n}\n.ant-collapse-borderless {\n  background-color: #fafafa;\n  border: 0;\n}\n.ant-collapse-borderless > .ant-collapse-item {\n  border-bottom: 1px solid #d9d9d9;\n}\n.ant-collapse-borderless > .ant-collapse-item:last-child,\n.ant-collapse-borderless > .ant-collapse-item:last-child .ant-collapse-header {\n  border-radius: 0;\n}\n.ant-collapse-borderless > .ant-collapse-item > .ant-collapse-content {\n  background-color: transparent;\n  border-top: 0;\n}\n.ant-collapse-borderless > .ant-collapse-item > .ant-collapse-content > .ant-collapse-content-box {\n  padding-top: 4px;\n}\n.ant-collapse-ghost {\n  background-color: transparent;\n  border: 0;\n}\n.ant-collapse-ghost > .ant-collapse-item {\n  border-bottom: 0;\n}\n.ant-collapse-ghost > .ant-collapse-item > .ant-collapse-content {\n  background-color: transparent;\n  border-top: 0;\n}\n.ant-collapse-ghost > .ant-collapse-item > .ant-collapse-content > .ant-collapse-content-box {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n.ant-collapse .ant-collapse-item-disabled > .ant-collapse-header,\n.ant-collapse .ant-collapse-item-disabled > .ant-collapse-header > .arrow {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-collapse-rtl {\n  direction: rtl;\n}\n.ant-collapse-rtl .ant-collapse > .ant-collapse-item > .ant-collapse-header {\n  padding: 12px 16px;\n  padding-right: 40px;\n}\n.ant-collapse-rtl.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow svg {\n  transform: rotate(180deg);\n}\n.ant-collapse-rtl.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-extra {\n  float: left;\n}\n.ant-collapse-rtl.ant-collapse > .ant-collapse-item.ant-collapse-no-arrow > .ant-collapse-header {\n  padding-right: 12px;\n  padding-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-comment {\n  position: relative;\n  background-color: inherit;\n}\n.ant-comment-inner {\n  display: flex;\n  padding: 16px 0;\n}\n.ant-comment-avatar {\n  position: relative;\n  flex-shrink: 0;\n  margin-right: 12px;\n  cursor: pointer;\n}\n.ant-comment-avatar img {\n  width: 32px;\n  height: 32px;\n  border-radius: 50%;\n}\n.ant-comment-content {\n  position: relative;\n  flex: 1 1 auto;\n  min-width: 1px;\n  font-size: 14px;\n  word-wrap: break-word;\n}\n.ant-comment-content-author {\n  display: flex;\n  flex-wrap: wrap;\n  justify-content: flex-start;\n  margin-bottom: 4px;\n  font-size: 14px;\n}\n.ant-comment-content-author > a,\n.ant-comment-content-author > span {\n  padding-right: 8px;\n  font-size: 12px;\n  line-height: 18px;\n}\n.ant-comment-content-author-name {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  transition: color 0.3s;\n}\n.ant-comment-content-author-name > * {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-comment-content-author-name > *:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-comment-content-author-time {\n  color: #ccc;\n  white-space: nowrap;\n  cursor: auto;\n}\n.ant-comment-content-detail p {\n  margin-bottom: inherit;\n  white-space: pre-wrap;\n}\n.ant-comment-actions {\n  margin-top: 12px;\n  margin-bottom: inherit;\n  padding-left: 0;\n}\n.ant-comment-actions > li {\n  display: inline-block;\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-comment-actions > li > span {\n  margin-right: 10px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 12px;\n  cursor: pointer;\n  transition: color 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-comment-actions > li > span:hover {\n  color: #595959;\n}\n.ant-comment-nested {\n  margin-left: 44px;\n}\n.ant-comment-rtl {\n  direction: rtl;\n}\n.ant-comment-rtl .ant-comment-avatar {\n  margin-right: 0;\n  margin-left: 12px;\n}\n.ant-comment-rtl .ant-comment-content-author > a,\n.ant-comment-rtl .ant-comment-content-author > span {\n  padding-right: 0;\n  padding-left: 8px;\n}\n.ant-comment-rtl .ant-comment-actions {\n  padding-right: 0;\n}\n.ant-comment-rtl .ant-comment-actions > li > span {\n  margin-right: 0;\n  margin-left: 10px;\n}\n.ant-comment-rtl .ant-comment-nested {\n  margin-right: 44px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-descriptions-header {\n  display: flex;\n  align-items: center;\n  margin-bottom: 20px;\n}\n.ant-descriptions-title {\n  flex: auto;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: bold;\n  font-size: 16px;\n  line-height: 1.5715;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-descriptions-extra {\n  margin-left: auto;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n}\n.ant-descriptions-view {\n  width: 100%;\n  overflow: hidden;\n  border-radius: 2px;\n}\n.ant-descriptions-view table {\n  width: 100%;\n  table-layout: fixed;\n}\n.ant-descriptions-row > th,\n.ant-descriptions-row > td {\n  padding-bottom: 16px;\n}\n.ant-descriptions-row:last-child {\n  border-bottom: none;\n}\n.ant-descriptions-item-label {\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n  line-height: 1.5715;\n  text-align: start;\n}\n.ant-descriptions-item-label::after {\n  content: ':';\n  position: relative;\n  top: -0.5px;\n  margin: 0 8px 0 2px;\n}\n.ant-descriptions-item-label.ant-descriptions-item-no-colon::after {\n  content: ' ';\n}\n.ant-descriptions-item-no-label::after {\n  margin: 0;\n  content: '';\n}\n.ant-descriptions-item-content {\n  display: table-cell;\n  flex: 1;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  word-break: break-word;\n  overflow-wrap: break-word;\n}\n.ant-descriptions-item {\n  padding-bottom: 0;\n  vertical-align: top;\n}\n.ant-descriptions-item-container {\n  display: flex;\n}\n.ant-descriptions-item-container .ant-descriptions-item-label,\n.ant-descriptions-item-container .ant-descriptions-item-content {\n  display: inline-flex;\n  align-items: baseline;\n}\n.ant-descriptions-middle .ant-descriptions-row > th,\n.ant-descriptions-middle .ant-descriptions-row > td {\n  padding-bottom: 12px;\n}\n.ant-descriptions-small .ant-descriptions-row > th,\n.ant-descriptions-small .ant-descriptions-row > td {\n  padding-bottom: 8px;\n}\n.ant-descriptions-bordered .ant-descriptions-view {\n  border: 1px solid #f0f0f0;\n}\n.ant-descriptions-bordered .ant-descriptions-view > table {\n  table-layout: auto;\n  border-collapse: collapse;\n}\n.ant-descriptions-bordered .ant-descriptions-item-label,\n.ant-descriptions-bordered .ant-descriptions-item-content {\n  padding: 16px 24px;\n  border-right: 1px solid #f0f0f0;\n}\n.ant-descriptions-bordered .ant-descriptions-item-label:last-child,\n.ant-descriptions-bordered .ant-descriptions-item-content:last-child {\n  border-right: none;\n}\n.ant-descriptions-bordered .ant-descriptions-item-label {\n  background-color: #fafafa;\n}\n.ant-descriptions-bordered .ant-descriptions-item-label::after {\n  display: none;\n}\n.ant-descriptions-bordered .ant-descriptions-row {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-descriptions-bordered .ant-descriptions-row:last-child {\n  border-bottom: none;\n}\n.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label,\n.ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content {\n  padding: 12px 24px;\n}\n.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label,\n.ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content {\n  padding: 8px 16px;\n}\n.ant-descriptions-rtl {\n  direction: rtl;\n}\n.ant-descriptions-rtl .ant-descriptions-item-label::after {\n  margin: 0 2px 0 8px;\n}\n.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label,\n.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content {\n  border-right: none;\n  border-left: 1px solid #f0f0f0;\n}\n.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child,\n.ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child {\n  border-left: none;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-divider {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  border-top: 1px solid rgba(0, 0, 0, 0.06);\n}\n.ant-divider-vertical {\n  position: relative;\n  top: -0.06em;\n  display: inline-block;\n  height: 0.9em;\n  margin: 0 8px;\n  vertical-align: middle;\n  border-top: 0;\n  border-left: 1px solid rgba(0, 0, 0, 0.06);\n}\n.ant-divider-horizontal {\n  display: flex;\n  clear: both;\n  width: 100%;\n  min-width: 100%;\n  margin: 24px 0;\n}\n.ant-divider-horizontal.ant-divider-with-text {\n  display: flex;\n  margin: 16px 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  font-size: 16px;\n  white-space: nowrap;\n  text-align: center;\n  border-top: 0;\n  border-top-color: rgba(0, 0, 0, 0.06);\n}\n.ant-divider-horizontal.ant-divider-with-text::before,\n.ant-divider-horizontal.ant-divider-with-text::after {\n  position: relative;\n  top: 50%;\n  width: 50%;\n  border-top: 1px solid transparent;\n  border-top-color: inherit;\n  border-bottom: 0;\n  transform: translateY(50%);\n  content: '';\n}\n.ant-divider-horizontal.ant-divider-with-text-left::before {\n  top: 50%;\n  width: 5%;\n}\n.ant-divider-horizontal.ant-divider-with-text-left::after {\n  top: 50%;\n  width: 95%;\n}\n.ant-divider-horizontal.ant-divider-with-text-right::before {\n  top: 50%;\n  width: 95%;\n}\n.ant-divider-horizontal.ant-divider-with-text-right::after {\n  top: 50%;\n  width: 5%;\n}\n.ant-divider-inner-text {\n  display: inline-block;\n  padding: 0 1em;\n}\n.ant-divider-dashed {\n  background: none;\n  border-color: rgba(0, 0, 0, 0.06);\n  border-style: dashed;\n  border-width: 1px 0 0;\n}\n.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed {\n  border-top: 0;\n}\n.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before,\n.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after {\n  border-style: dashed none none;\n}\n.ant-divider-vertical.ant-divider-dashed {\n  border-width: 0 0 0 1px;\n}\n.ant-divider-plain.ant-divider-with-text {\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  font-size: 14px;\n}\n.ant-divider-rtl {\n  direction: rtl;\n}\n.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before {\n  width: 95%;\n}\n.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after {\n  width: 5%;\n}\n.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before {\n  width: 5%;\n}\n.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after {\n  width: 95%;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-drawer {\n  position: fixed;\n  z-index: 1000;\n  width: 0%;\n  height: 100%;\n  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1), height 0s ease 0.3s, width 0s ease 0.3s;\n}\n.ant-drawer > * {\n  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1), box-shadow 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);\n}\n.ant-drawer-content-wrapper {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.ant-drawer .ant-drawer-content {\n  width: 100%;\n  height: 100%;\n}\n.ant-drawer-left,\n.ant-drawer-right {\n  top: 0;\n  width: 0%;\n  height: 100%;\n}\n.ant-drawer-left .ant-drawer-content-wrapper,\n.ant-drawer-right .ant-drawer-content-wrapper {\n  height: 100%;\n}\n.ant-drawer-left.ant-drawer-open,\n.ant-drawer-right.ant-drawer-open {\n  width: 100%;\n  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);\n}\n.ant-drawer-left {\n  left: 0;\n}\n.ant-drawer-left .ant-drawer-content-wrapper {\n  left: 0;\n}\n.ant-drawer-left.ant-drawer-open .ant-drawer-content-wrapper {\n  box-shadow: 6px 0 16px -8px rgba(0, 0, 0, 0.08), 9px 0 28px 0 rgba(0, 0, 0, 0.05), 12px 0 48px 16px rgba(0, 0, 0, 0.03);\n}\n.ant-drawer-right {\n  right: 0;\n}\n.ant-drawer-right .ant-drawer-content-wrapper {\n  right: 0;\n}\n.ant-drawer-right.ant-drawer-open .ant-drawer-content-wrapper {\n  box-shadow: -6px 0 16px -8px rgba(0, 0, 0, 0.08), -9px 0 28px 0 rgba(0, 0, 0, 0.05), -12px 0 48px 16px rgba(0, 0, 0, 0.03);\n}\n.ant-drawer-right.ant-drawer-open.no-mask {\n  right: 1px;\n  transform: translateX(1px);\n}\n.ant-drawer-top,\n.ant-drawer-bottom {\n  left: 0;\n  width: 100%;\n  height: 0%;\n}\n.ant-drawer-top .ant-drawer-content-wrapper,\n.ant-drawer-bottom .ant-drawer-content-wrapper {\n  width: 100%;\n}\n.ant-drawer-top.ant-drawer-open,\n.ant-drawer-bottom.ant-drawer-open {\n  height: 100%;\n  transition: transform 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);\n}\n.ant-drawer-top {\n  top: 0;\n}\n.ant-drawer-top.ant-drawer-open .ant-drawer-content-wrapper {\n  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);\n}\n.ant-drawer-bottom {\n  bottom: 0;\n}\n.ant-drawer-bottom .ant-drawer-content-wrapper {\n  bottom: 0;\n}\n.ant-drawer-bottom.ant-drawer-open .ant-drawer-content-wrapper {\n  box-shadow: 0 -6px 16px -8px rgba(0, 0, 0, 0.08), 0 -9px 28px 0 rgba(0, 0, 0, 0.05), 0 -12px 48px 16px rgba(0, 0, 0, 0.03);\n}\n.ant-drawer-bottom.ant-drawer-open.no-mask {\n  bottom: 1px;\n  transform: translateY(1px);\n}\n.ant-drawer.ant-drawer-open .ant-drawer-mask {\n  height: 100%;\n  opacity: 1;\n  transition: none;\n  -webkit-animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);\n          animation: antdDrawerFadeIn 0.3s cubic-bezier(0.7, 0.3, 0.1, 1);\n  pointer-events: auto;\n}\n.ant-drawer-title {\n  margin: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  font-size: 16px;\n  line-height: 22px;\n}\n.ant-drawer-content {\n  position: relative;\n  z-index: 1;\n  overflow: auto;\n  background-color: #fff;\n  background-clip: padding-box;\n  border: 0;\n}\n.ant-drawer-close {\n  position: absolute;\n  top: 0;\n  right: 0;\n  z-index: 10;\n  display: block;\n  padding: 20px;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: 700;\n  font-size: 16px;\n  font-style: normal;\n  line-height: 1;\n  text-align: center;\n  text-transform: none;\n  text-decoration: none;\n  background: transparent;\n  border: 0;\n  outline: 0;\n  cursor: pointer;\n  transition: color 0.3s;\n  text-rendering: auto;\n}\n.ant-drawer-close:focus,\n.ant-drawer-close:hover {\n  color: rgba(0, 0, 0, 0.75);\n  text-decoration: none;\n}\n.ant-drawer-header-no-title .ant-drawer-close {\n  margin-right: var(--scroll-bar);\n  /* stylelint-disable-next-line function-calc-no-invalid */\n  padding-right: calc(20px - var(--scroll-bar));\n}\n.ant-drawer-header {\n  position: relative;\n  padding: 16px 24px;\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n  border-bottom: 1px solid #f0f0f0;\n  border-radius: 2px 2px 0 0;\n}\n.ant-drawer-header-no-title {\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n}\n.ant-drawer-wrapper-body {\n  display: flex;\n  flex-direction: column;\n  flex-wrap: nowrap;\n  width: 100%;\n  height: 100%;\n}\n.ant-drawer-body {\n  flex-grow: 1;\n  padding: 24px;\n  overflow: auto;\n  font-size: 14px;\n  line-height: 1.5715;\n  word-wrap: break-word;\n}\n.ant-drawer-footer {\n  flex-shrink: 0;\n  padding: 10px 16px;\n  border-top: 1px solid #f0f0f0;\n}\n.ant-drawer-mask {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 0;\n  background-color: rgba(0, 0, 0, 0.45);\n  opacity: 0;\n  filter: alpha(opacity=45);\n  transition: opacity 0.3s linear, height 0s ease 0.3s;\n  pointer-events: none;\n}\n.ant-drawer-open-content {\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-drawer .ant-picker-clear {\n  background: #fff;\n}\n@-webkit-keyframes antdDrawerFadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n@keyframes antdDrawerFadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n.ant-drawer-rtl {\n  direction: rtl;\n}\n.ant-drawer-rtl .ant-drawer-close {\n  right: auto;\n  left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-form-item .ant-mentions,\n.ant-form-item textarea.ant-input {\n  height: auto;\n}\n.ant-form-item .ant-upload {\n  background: transparent;\n}\n.ant-form-item .ant-upload.ant-upload-drag {\n  background: #fafafa;\n}\n.ant-form-item input[type='radio'],\n.ant-form-item input[type='checkbox'] {\n  width: 14px;\n  height: 14px;\n}\n.ant-form-item .ant-radio-inline,\n.ant-form-item .ant-checkbox-inline {\n  display: inline-block;\n  margin-left: 8px;\n  font-weight: normal;\n  vertical-align: middle;\n  cursor: pointer;\n}\n.ant-form-item .ant-radio-inline:first-child,\n.ant-form-item .ant-checkbox-inline:first-child {\n  margin-left: 0;\n}\n.ant-form-item .ant-checkbox-vertical,\n.ant-form-item .ant-radio-vertical {\n  display: block;\n}\n.ant-form-item .ant-checkbox-vertical + .ant-checkbox-vertical,\n.ant-form-item .ant-radio-vertical + .ant-radio-vertical {\n  margin-left: 0;\n}\n.ant-form-item .ant-input-number + .ant-form-text {\n  margin-left: 8px;\n}\n.ant-form-item .ant-input-number-handler-wrap {\n  z-index: 2;\n}\n.ant-form-item .ant-select,\n.ant-form-item .ant-cascader-picker {\n  width: 100%;\n}\n.ant-form-item .ant-picker-calendar-year-select,\n.ant-form-item .ant-picker-calendar-month-select,\n.ant-form-item .ant-input-group .ant-select,\n.ant-form-item .ant-input-group .ant-cascader-picker {\n  width: auto;\n}\n.ant-form-inline {\n  display: flex;\n  flex-wrap: wrap;\n}\n.ant-form-inline .ant-form-item {\n  flex: none;\n  flex-wrap: nowrap;\n  margin-right: 16px;\n  margin-bottom: 0;\n}\n.ant-form-inline .ant-form-item-with-help {\n  margin-bottom: 24px;\n}\n.ant-form-inline .ant-form-item > .ant-form-item-label,\n.ant-form-inline .ant-form-item > .ant-form-item-control {\n  display: inline-block;\n  vertical-align: top;\n}\n.ant-form-inline .ant-form-item > .ant-form-item-label {\n  flex: none;\n}\n.ant-form-inline .ant-form-item .ant-form-text {\n  display: inline-block;\n}\n.ant-form-inline .ant-form-item .ant-form-item-has-feedback {\n  display: inline-block;\n}\n.ant-form-horizontal .ant-form-item-label {\n  flex-grow: 0;\n}\n.ant-form-horizontal .ant-form-item-control {\n  flex: 1 1 0;\n}\n.ant-form-vertical .ant-form-item {\n  flex-direction: column;\n}\n.ant-form-vertical .ant-form-item-label > label {\n  height: auto;\n}\n.ant-form-vertical .ant-form-item-label,\n.ant-col-24.ant-form-item-label,\n.ant-col-xl-24.ant-form-item-label {\n  padding: 0 0 8px;\n  line-height: 1.5715;\n  white-space: initial;\n  text-align: left;\n}\n.ant-form-vertical .ant-form-item-label > label,\n.ant-col-24.ant-form-item-label > label,\n.ant-col-xl-24.ant-form-item-label > label {\n  margin: 0;\n}\n.ant-form-vertical .ant-form-item-label > label::after,\n.ant-col-24.ant-form-item-label > label::after,\n.ant-col-xl-24.ant-form-item-label > label::after {\n  display: none;\n}\n.ant-form-rtl.ant-form-vertical .ant-form-item-label,\n.ant-form-rtl.ant-col-24.ant-form-item-label,\n.ant-form-rtl.ant-col-xl-24.ant-form-item-label {\n  text-align: right;\n}\n@media (max-width: 575px) {\n  .ant-form-item .ant-form-item-label {\n    padding: 0 0 8px;\n    line-height: 1.5715;\n    white-space: initial;\n    text-align: left;\n  }\n  .ant-form-item .ant-form-item-label > label {\n    margin: 0;\n  }\n  .ant-form-item .ant-form-item-label > label::after {\n    display: none;\n  }\n  .ant-form-rtl.ant-form-item .ant-form-item-label {\n    text-align: right;\n  }\n  .ant-form .ant-form-item {\n    flex-wrap: wrap;\n  }\n  .ant-form .ant-form-item .ant-form-item-label,\n  .ant-form .ant-form-item .ant-form-item-control {\n    flex: 0 0 100%;\n    max-width: 100%;\n  }\n  .ant-col-xs-24.ant-form-item-label {\n    padding: 0 0 8px;\n    line-height: 1.5715;\n    white-space: initial;\n    text-align: left;\n  }\n  .ant-col-xs-24.ant-form-item-label > label {\n    margin: 0;\n  }\n  .ant-col-xs-24.ant-form-item-label > label::after {\n    display: none;\n  }\n  .ant-form-rtl.ant-col-xs-24.ant-form-item-label {\n    text-align: right;\n  }\n}\n@media (max-width: 767px) {\n  .ant-col-sm-24.ant-form-item-label {\n    padding: 0 0 8px;\n    line-height: 1.5715;\n    white-space: initial;\n    text-align: left;\n  }\n  .ant-col-sm-24.ant-form-item-label > label {\n    margin: 0;\n  }\n  .ant-col-sm-24.ant-form-item-label > label::after {\n    display: none;\n  }\n  .ant-form-rtl.ant-col-sm-24.ant-form-item-label {\n    text-align: right;\n  }\n}\n@media (max-width: 991px) {\n  .ant-col-md-24.ant-form-item-label {\n    padding: 0 0 8px;\n    line-height: 1.5715;\n    white-space: initial;\n    text-align: left;\n  }\n  .ant-col-md-24.ant-form-item-label > label {\n    margin: 0;\n  }\n  .ant-col-md-24.ant-form-item-label > label::after {\n    display: none;\n  }\n  .ant-form-rtl.ant-col-md-24.ant-form-item-label {\n    text-align: right;\n  }\n}\n@media (max-width: 1199px) {\n  .ant-col-lg-24.ant-form-item-label {\n    padding: 0 0 8px;\n    line-height: 1.5715;\n    white-space: initial;\n    text-align: left;\n  }\n  .ant-col-lg-24.ant-form-item-label > label {\n    margin: 0;\n  }\n  .ant-col-lg-24.ant-form-item-label > label::after {\n    display: none;\n  }\n  .ant-form-rtl.ant-col-lg-24.ant-form-item-label {\n    text-align: right;\n  }\n}\n@media (max-width: 1599px) {\n  .ant-col-xl-24.ant-form-item-label {\n    padding: 0 0 8px;\n    line-height: 1.5715;\n    white-space: initial;\n    text-align: left;\n  }\n  .ant-col-xl-24.ant-form-item-label > label {\n    margin: 0;\n  }\n  .ant-col-xl-24.ant-form-item-label > label::after {\n    display: none;\n  }\n  .ant-form-rtl.ant-col-xl-24.ant-form-item-label {\n    text-align: right;\n  }\n}\n.ant-form-item {\n  /* Some non-status related component style is in `components.less` */\n  /* To support leave along ErrorList. We add additional className to handle explain style */\n}\n.ant-form-item-explain.ant-form-item-explain-error {\n  color: #ff4d4f;\n}\n.ant-form-item-explain.ant-form-item-explain-warning {\n  color: #faad14;\n}\n.ant-form-item-has-feedback .ant-input {\n  padding-right: 24px;\n}\n.ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix {\n  padding-right: 18px;\n}\n.ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix {\n  right: 28px;\n}\n.ant-form-item-has-feedback .ant-switch {\n  margin: 2px 0 4px;\n}\n.ant-form-item-has-feedback > .ant-select .ant-select-arrow,\n.ant-form-item-has-feedback > .ant-select .ant-select-clear,\n.ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow,\n.ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-clear {\n  right: 32px;\n}\n.ant-form-item-has-feedback > .ant-select .ant-select-selection-selected-value,\n.ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection-selected-value {\n  padding-right: 42px;\n}\n.ant-form-item-has-feedback .ant-cascader-picker-arrow {\n  margin-right: 19px;\n}\n.ant-form-item-has-feedback .ant-cascader-picker-clear {\n  right: 32px;\n}\n.ant-form-item-has-feedback .ant-picker {\n  padding-right: 29.2px;\n}\n.ant-form-item-has-feedback .ant-picker-large {\n  padding-right: 29.2px;\n}\n.ant-form-item-has-feedback .ant-picker-small {\n  padding-right: 25.2px;\n}\n.ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,\n.ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,\n.ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,\n.ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  z-index: 1;\n  width: 32px;\n  height: 20px;\n  margin-top: -10px;\n  font-size: 14px;\n  line-height: 20px;\n  text-align: center;\n  visibility: visible;\n  -webkit-animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);\n          animation: zoomIn 0.3s cubic-bezier(0.12, 0.4, 0.29, 1.46);\n  pointer-events: none;\n}\n.ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon {\n  color: #52c41a;\n  -webkit-animation-name: diffZoomIn1 !important;\n          animation-name: diffZoomIn1 !important;\n}\n.ant-form-item-has-warning .ant-form-item-split {\n  color: #faad14;\n}\n.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,\n.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover,\n.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {\n  background-color: #fff;\n  border-color: #faad14;\n}\n.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,\n.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,\n.ant-form-item-has-warning :not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,\n.ant-form-item-has-warning :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {\n  border-color: #ffc53d;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);\n}\n.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {\n  border-color: #ffc53d;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);\n}\n.ant-form-item-has-warning .ant-input-prefix {\n  color: #faad14;\n}\n.ant-form-item-has-warning .ant-input-group-addon {\n  color: #faad14;\n  border-color: #faad14;\n}\n.ant-form-item-has-warning .has-feedback {\n  color: #faad14;\n}\n.ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon {\n  color: #faad14;\n  -webkit-animation-name: diffZoomIn3 !important;\n          animation-name: diffZoomIn3 !important;\n}\n.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector {\n  background-color: #fff;\n  border-color: #faad14 !important;\n}\n.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,\n.ant-form-item-has-warning .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector {\n  border-color: #ffc53d;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);\n}\n.ant-form-item-has-warning .ant-input-number,\n.ant-form-item-has-warning .ant-picker {\n  background-color: #fff;\n  border-color: #faad14;\n}\n.ant-form-item-has-warning .ant-input-number-focused,\n.ant-form-item-has-warning .ant-picker-focused,\n.ant-form-item-has-warning .ant-input-number:focus,\n.ant-form-item-has-warning .ant-picker:focus {\n  border-color: #ffc53d;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);\n}\n.ant-form-item-has-warning .ant-input-number:not([disabled]):hover,\n.ant-form-item-has-warning .ant-picker:not([disabled]):hover {\n  background-color: #fff;\n  border-color: #faad14;\n}\n.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {\n  border-color: #ffc53d;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);\n}\n.ant-form-item-has-error .ant-form-item-split {\n  color: #ff4d4f;\n}\n.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper,\n.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover,\n.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:hover {\n  background-color: #fff;\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,\n.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,\n.ant-form-item-has-error :not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused,\n.ant-form-item-has-error :not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {\n  border-color: #ff7875;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);\n}\n.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {\n  border-color: #ff7875;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);\n}\n.ant-form-item-has-error .ant-input-prefix {\n  color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-input-group-addon {\n  color: #ff4d4f;\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .has-feedback {\n  color: #ff4d4f;\n}\n.ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon {\n  color: #ff4d4f;\n  -webkit-animation-name: diffZoomIn2 !important;\n          animation-name: diffZoomIn2 !important;\n}\n.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input) .ant-select-selector {\n  background-color: #fff;\n  border-color: #ff4d4f !important;\n}\n.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-open .ant-select-selector,\n.ant-form-item-has-error .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input).ant-select-focused .ant-select-selector {\n  border-color: #ff7875;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);\n}\n.ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {\n  background-color: inherit;\n  border: 0;\n  box-shadow: none;\n}\n.ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus {\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-input-number,\n.ant-form-item-has-error .ant-picker {\n  background-color: #fff;\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-input-number-focused,\n.ant-form-item-has-error .ant-picker-focused,\n.ant-form-item-has-error .ant-input-number:focus,\n.ant-form-item-has-error .ant-picker:focus {\n  border-color: #ff7875;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);\n}\n.ant-form-item-has-error .ant-input-number:not([disabled]):hover,\n.ant-form-item-has-error .ant-picker:not([disabled]):hover {\n  background-color: #fff;\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor,\n.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {\n  background-color: #fff;\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor,\n.ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {\n  border-color: #ff7875;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);\n}\n.ant-form-item-has-error .ant-cascader-picker:hover .ant-cascader-picker-label:hover + .ant-cascader-input.ant-input {\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {\n  background-color: #fff;\n  border-color: #ff7875;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);\n}\n.ant-form-item-has-error .ant-transfer-list {\n  border-color: #ff4d4f;\n}\n.ant-form-item-has-error .ant-transfer-list-search:not([disabled]) {\n  border-color: #d9d9d9;\n}\n.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-form-item-has-error .ant-transfer-list-search:not([disabled]):focus {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-form-item-has-error .ant-radio-button-wrapper {\n  border-color: #ff4d4f !important;\n}\n.ant-form-item-has-error .ant-radio-button-wrapper:not(:first-child)::before {\n  background-color: #ff4d4f;\n}\n.ant-form-item-is-validating.ant-form-item-has-feedback .ant-form-item-children-icon {\n  display: inline-block;\n  color: #1890ff;\n}\n.ant-form {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-form legend {\n  display: block;\n  width: 100%;\n  margin-bottom: 20px;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 16px;\n  line-height: inherit;\n  border: 0;\n  border-bottom: 1px solid #d9d9d9;\n}\n.ant-form label {\n  font-size: 14px;\n}\n.ant-form input[type='search'] {\n  box-sizing: border-box;\n}\n.ant-form input[type='radio'],\n.ant-form input[type='checkbox'] {\n  line-height: normal;\n}\n.ant-form input[type='file'] {\n  display: block;\n}\n.ant-form input[type='range'] {\n  display: block;\n  width: 100%;\n}\n.ant-form select[multiple],\n.ant-form select[size] {\n  height: auto;\n}\n.ant-form input[type='file']:focus,\n.ant-form input[type='radio']:focus,\n.ant-form input[type='checkbox']:focus {\n  outline: thin dotted;\n  outline: 5px auto -webkit-focus-ring-color;\n  outline-offset: -2px;\n}\n.ant-form output {\n  display: block;\n  padding-top: 15px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n}\n.ant-form .ant-form-text {\n  display: inline-block;\n  padding-right: 8px;\n}\n.ant-form-small .ant-form-item-label > label {\n  height: 24px;\n}\n.ant-form-small .ant-form-item-control-input {\n  min-height: 24px;\n}\n.ant-form-large .ant-form-item-label > label {\n  height: 40px;\n}\n.ant-form-large .ant-form-item-control-input {\n  min-height: 40px;\n}\n.ant-form-item {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  margin-bottom: 24px;\n  vertical-align: top;\n}\n.ant-form-item-with-help {\n  margin-bottom: 0;\n}\n.ant-form-item-hidden,\n.ant-form-item-hidden.ant-row {\n  display: none;\n}\n.ant-form-item-label {\n  display: inline-block;\n  flex-grow: 0;\n  overflow: hidden;\n  white-space: nowrap;\n  text-align: right;\n  vertical-align: middle;\n}\n.ant-form-item-label-left {\n  text-align: left;\n}\n.ant-form-item-label > label {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  max-width: 100%;\n  height: 32px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n}\n.ant-form-item-label > label > .anticon {\n  font-size: 14px;\n  vertical-align: top;\n}\n.ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n  display: inline-block;\n  margin-right: 4px;\n  color: #ff4d4f;\n  font-size: 14px;\n  font-family: SimSun, sans-serif;\n  line-height: 1;\n  content: '*';\n}\n.ant-form-hide-required-mark .ant-form-item-label > label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n  display: none;\n}\n.ant-form-item-label > label .ant-form-item-optional {\n  display: inline-block;\n  margin-left: 4px;\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-form-hide-required-mark .ant-form-item-label > label .ant-form-item-optional {\n  display: none;\n}\n.ant-form-item-label > label .ant-form-item-tooltip {\n  color: rgba(0, 0, 0, 0.45);\n  cursor: help;\n  -ms-writing-mode: lr-tb;\n      writing-mode: horizontal-tb;\n  -webkit-margin-start: 4px;\n          margin-inline-start: 4px;\n}\n.ant-form-item-label > label::after {\n  content: ':';\n  position: relative;\n  top: -0.5px;\n  margin: 0 8px 0 2px;\n}\n.ant-form-item-label > label.ant-form-item-no-colon::after {\n  content: ' ';\n}\n.ant-form-item-control {\n  display: flex;\n  flex-direction: column;\n  flex-grow: 1;\n}\n.ant-form-item-control:first-child:not([class^='ant-col-']):not([class*=' ant-col-']) {\n  width: 100%;\n}\n.ant-form-item-control-input {\n  position: relative;\n  display: flex;\n  align-items: center;\n  min-height: 32px;\n}\n.ant-form-item-control-input-content {\n  flex: auto;\n  max-width: 100%;\n}\n.ant-form-item-explain,\n.ant-form-item-extra {\n  clear: both;\n  min-height: 24px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.5715;\n  transition: color 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);\n}\n.ant-form-item .ant-input-textarea-show-count::after {\n  margin-bottom: -22px;\n}\n.ant-show-help-enter,\n.ant-show-help-appear {\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-show-help-leave {\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-show-help-enter.ant-show-help-enter-active,\n.ant-show-help-appear.ant-show-help-appear-active {\n  -webkit-animation-name: antShowHelpIn;\n          animation-name: antShowHelpIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-show-help-leave.ant-show-help-leave-active {\n  -webkit-animation-name: antShowHelpOut;\n          animation-name: antShowHelpOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n  pointer-events: none;\n}\n.ant-show-help-enter,\n.ant-show-help-appear {\n  opacity: 0;\n  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n.ant-show-help-leave {\n  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n}\n@-webkit-keyframes antShowHelpIn {\n  0% {\n    transform: translateY(-5px);\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0);\n    opacity: 1;\n  }\n}\n@keyframes antShowHelpIn {\n  0% {\n    transform: translateY(-5px);\n    opacity: 0;\n  }\n  100% {\n    transform: translateY(0);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antShowHelpOut {\n  to {\n    transform: translateY(-5px);\n    opacity: 0;\n  }\n}\n@keyframes antShowHelpOut {\n  to {\n    transform: translateY(-5px);\n    opacity: 0;\n  }\n}\n@-webkit-keyframes diffZoomIn1 {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes diffZoomIn1 {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes diffZoomIn2 {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes diffZoomIn2 {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@-webkit-keyframes diffZoomIn3 {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n@keyframes diffZoomIn3 {\n  0% {\n    transform: scale(0);\n    opacity: 0;\n  }\n  100% {\n    transform: scale(1);\n    opacity: 1;\n  }\n}\n.ant-form-rtl {\n  direction: rtl;\n}\n.ant-form-rtl .ant-form-item-label {\n  text-align: left;\n}\n.ant-form-rtl .ant-form-item-label > label.ant-form-item-required::before {\n  margin-right: 0;\n  margin-left: 4px;\n}\n.ant-form-rtl .ant-form-item-label > label::after {\n  margin: 0 2px 0 8px;\n}\n.ant-form-rtl .ant-form-item-label > label .ant-form-item-optional {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-col-rtl .ant-form-item-control:first-child {\n  width: 100%;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-input {\n  padding-right: 11px;\n  padding-left: 24px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input-suffix {\n  padding-right: 11px;\n  padding-left: 18px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-input-affix-wrapper .ant-input {\n  padding: 0;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-input-search:not(.ant-input-search-enter-button) .ant-input-suffix {\n  right: auto;\n  left: 28px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-input-number {\n  padding-left: 18px;\n}\n.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-arrow,\n.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-clear,\n.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow,\n.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-clear {\n  right: auto;\n  left: 32px;\n}\n.ant-form-rtl .ant-form-item-has-feedback > .ant-select .ant-select-selection-selected-value,\n.ant-form-rtl .ant-form-item-has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection-selected-value {\n  padding-right: 0;\n  padding-left: 42px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-arrow {\n  margin-right: 0;\n  margin-left: 19px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-cascader-picker-clear {\n  right: auto;\n  left: 32px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-picker {\n  padding-right: 11px;\n  padding-left: 29.2px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-picker-large {\n  padding-right: 11px;\n  padding-left: 29.2px;\n}\n.ant-form-rtl .ant-form-item-has-feedback .ant-picker-small {\n  padding-right: 7px;\n  padding-left: 25.2px;\n}\n.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-success .ant-form-item-children-icon,\n.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-warning .ant-form-item-children-icon,\n.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-has-error .ant-form-item-children-icon,\n.ant-form-rtl .ant-form-item-has-feedback.ant-form-item-is-validating .ant-form-item-children-icon {\n  right: auto;\n  left: 0;\n}\n.ant-form-rtl.ant-form-inline .ant-form-item {\n  margin-right: 0;\n  margin-left: 16px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-image {\n  position: relative;\n  display: inline-block;\n}\n.ant-image-img {\n  display: block;\n  width: 100%;\n  height: auto;\n}\n.ant-image-img-placeholder {\n  background-color: #f5f5f5;\n  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=);\n  background-repeat: no-repeat;\n  background-position: center center;\n  background-size: 30%;\n}\n.ant-image-mask {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: #fff;\n  background: rgba(0, 0, 0, 0.5);\n  cursor: pointer;\n  opacity: 0;\n  transition: opacity 0.3s;\n}\n.ant-image-mask-info .anticon {\n  -webkit-margin-end: 4px;\n          margin-inline-end: 4px;\n}\n.ant-image-mask:hover {\n  opacity: 1;\n}\n.ant-image-placeholder {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n}\n.ant-image-preview {\n  pointer-events: none;\n  height: 100%;\n  text-align: center;\n}\n.ant-image-preview.ant-zoom-enter,\n.ant-image-preview.antzoom-appear {\n  transform: none;\n  opacity: 0;\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-image-preview-mask {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1000;\n  height: 100%;\n  background-color: rgba(0, 0, 0, 0.45);\n}\n.ant-image-preview-mask-hidden {\n  display: none;\n}\n.ant-image-preview-wrap {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow: auto;\n  outline: 0;\n  -webkit-overflow-scrolling: touch;\n}\n.ant-image-preview-body {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow: hidden;\n}\n.ant-image-preview-img {\n  max-width: 100%;\n  max-height: 100%;\n  vertical-align: middle;\n  transform: scale3d(1, 1, 1);\n  cursor: -webkit-grab;\n  cursor: grab;\n  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  pointer-events: auto;\n}\n.ant-image-preview-img-wrapper {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;\n}\n.ant-image-preview-img-wrapper::before {\n  display: inline-block;\n  width: 1px;\n  height: 50%;\n  margin-right: -1px;\n  content: '';\n}\n.ant-image-preview-moving .ant-image-preview-img {\n  cursor: -webkit-grabbing;\n  cursor: grabbing;\n}\n.ant-image-preview-moving .ant-image-preview-img-wrapper {\n  transition-duration: 0s;\n}\n.ant-image-preview-wrap {\n  z-index: 1080;\n}\n.ant-image-preview-operations {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: 0;\n  right: 0;\n  z-index: 1;\n  display: flex;\n  flex-direction: row-reverse;\n  align-items: center;\n  width: 100%;\n  color: rgba(255, 255, 255, 0.85);\n  list-style: none;\n  background: rgba(0, 0, 0, 0.1);\n  pointer-events: auto;\n}\n.ant-image-preview-operations-operation {\n  margin-left: 12px;\n  padding: 12px;\n  cursor: pointer;\n}\n.ant-image-preview-operations-operation-disabled {\n  color: rgba(255, 255, 255, 0.25);\n  pointer-events: none;\n}\n.ant-image-preview-operations-operation:last-of-type {\n  margin-left: 0;\n}\n.ant-image-preview-operations-icon {\n  font-size: 18px;\n}\n.ant-image-preview-switch-left,\n.ant-image-preview-switch-right {\n  position: absolute;\n  top: 50%;\n  right: 10px;\n  z-index: 1;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  width: 44px;\n  height: 44px;\n  margin-top: -22px;\n  color: rgba(255, 255, 255, 0.85);\n  background: rgba(0, 0, 0, 0.1);\n  border-radius: 50%;\n  cursor: pointer;\n  pointer-events: auto;\n}\n.ant-image-preview-switch-left-disabled,\n.ant-image-preview-switch-right-disabled {\n  color: rgba(255, 255, 255, 0.25);\n  cursor: not-allowed;\n}\n.ant-image-preview-switch-left-disabled > .anticon,\n.ant-image-preview-switch-right-disabled > .anticon {\n  cursor: not-allowed;\n}\n.ant-image-preview-switch-left > .anticon,\n.ant-image-preview-switch-right > .anticon {\n  font-size: 18px;\n}\n.ant-image-preview-switch-left {\n  left: 10px;\n}\n.ant-image-preview-switch-right {\n  right: 10px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-input-number {\n  box-sizing: border-box;\n  font-variant: tabular-nums;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  transition: all 0.3s;\n  display: inline-block;\n  width: 90px;\n  margin: 0;\n  padding: 0;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n}\n.ant-input-number::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input-number:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number::placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input-number:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-number:focus,\n.ant-input-number-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-number-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-number-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-number[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-number[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-number-borderless,\n.ant-input-number-borderless:hover,\n.ant-input-number-borderless:focus,\n.ant-input-number-borderless-focused,\n.ant-input-number-borderless-disabled,\n.ant-input-number-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-input-number {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-input-number-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-input-number-sm {\n  padding: 0px 7px;\n}\n.ant-input-number-handler {\n  position: relative;\n  display: block;\n  width: 100%;\n  height: 50%;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: bold;\n  line-height: 0;\n  text-align: center;\n  border-left: 1px solid #d9d9d9;\n  transition: all 0.1s linear;\n}\n.ant-input-number-handler:active {\n  background: #f4f4f4;\n}\n.ant-input-number-handler:hover .ant-input-number-handler-up-inner,\n.ant-input-number-handler:hover .ant-input-number-handler-down-inner {\n  color: #40a9ff;\n}\n.ant-input-number-handler-up-inner,\n.ant-input-number-handler-down-inner {\n  display: inline-block;\n  color: inherit;\n  font-style: normal;\n  line-height: 0;\n  text-align: center;\n  text-transform: none;\n  vertical-align: -0.125em;\n  text-rendering: optimizeLegibility;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n  position: absolute;\n  right: 4px;\n  width: 12px;\n  height: 12px;\n  color: rgba(0, 0, 0, 0.45);\n  line-height: 12px;\n  transition: all 0.1s linear;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-input-number-handler-up-inner > *,\n.ant-input-number-handler-down-inner > * {\n  line-height: 1;\n}\n.ant-input-number-handler-up-inner svg,\n.ant-input-number-handler-down-inner svg {\n  display: inline-block;\n}\n.ant-input-number-handler-up-inner::before,\n.ant-input-number-handler-down-inner::before {\n  display: none;\n}\n.ant-input-number-handler-up-inner .ant-input-number-handler-up-inner-icon,\n.ant-input-number-handler-up-inner .ant-input-number-handler-down-inner-icon,\n.ant-input-number-handler-down-inner .ant-input-number-handler-up-inner-icon,\n.ant-input-number-handler-down-inner .ant-input-number-handler-down-inner-icon {\n  display: block;\n}\n.ant-input-number:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-input-number:hover + .ant-form-item-children-icon {\n  opacity: 0;\n  transition: opacity 0.24s linear 0.24s;\n}\n.ant-input-number-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-input-number-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-input-number-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-input-number-disabled .ant-input-number-input {\n  cursor: not-allowed;\n}\n.ant-input-number-disabled .ant-input-number-handler-wrap {\n  display: none;\n}\n.ant-input-number-readonly .ant-input-number-handler-wrap {\n  display: none;\n}\n.ant-input-number-input {\n  width: 100%;\n  height: 30px;\n  padding: 0 11px;\n  text-align: left;\n  background-color: transparent;\n  border: 0;\n  border-radius: 2px;\n  outline: 0;\n  transition: all 0.3s linear;\n  -moz-appearance: textfield !important;\n}\n.ant-input-number-input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-input-number-input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number-input::placeholder {\n  color: #bfbfbf;\n}\n.ant-input-number-input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number-input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-input-number-input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-input-number-input[type='number']::-webkit-inner-spin-button,\n.ant-input-number-input[type='number']::-webkit-outer-spin-button {\n  margin: 0;\n  -webkit-appearance: none;\n}\n.ant-input-number-lg {\n  padding: 0;\n  font-size: 16px;\n}\n.ant-input-number-lg input {\n  height: 38px;\n}\n.ant-input-number-sm {\n  padding: 0;\n}\n.ant-input-number-sm input {\n  height: 22px;\n  padding: 0 7px;\n}\n.ant-input-number-handler-wrap {\n  position: absolute;\n  top: 0;\n  right: 0;\n  width: 22px;\n  height: 100%;\n  background: #fff;\n  border-radius: 0 2px 2px 0;\n  opacity: 0;\n  transition: opacity 0.24s linear 0.1s;\n}\n.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-up-inner,\n.ant-input-number-handler-wrap .ant-input-number-handler .ant-input-number-handler-down-inner {\n  min-width: auto;\n  margin-right: 0;\n  font-size: 7px;\n}\n.ant-input-number-borderless .ant-input-number-handler-wrap {\n  border-left-width: 0;\n}\n.ant-input-number-handler-wrap:hover .ant-input-number-handler {\n  height: 40%;\n}\n.ant-input-number:hover .ant-input-number-handler-wrap {\n  opacity: 1;\n}\n.ant-input-number-handler-up {\n  border-top-right-radius: 2px;\n  cursor: pointer;\n}\n.ant-input-number-handler-up-inner {\n  top: 50%;\n  margin-top: -5px;\n  text-align: center;\n}\n.ant-input-number-handler-up:hover {\n  height: 60% !important;\n}\n.ant-input-number-handler-down {\n  top: 0;\n  border-top: 1px solid #d9d9d9;\n  border-bottom-right-radius: 2px;\n  cursor: pointer;\n}\n.ant-input-number-handler-down-inner {\n  top: 50%;\n  text-align: center;\n  transform: translateY(-50%);\n}\n.ant-input-number-handler-down:hover {\n  height: 60% !important;\n}\n.ant-input-number-borderless .ant-input-number-handler-down {\n  border-top-width: 0;\n}\n.ant-input-number-handler-up-disabled,\n.ant-input-number-handler-down-disabled {\n  cursor: not-allowed;\n}\n.ant-input-number-handler-up-disabled:hover .ant-input-number-handler-up-inner,\n.ant-input-number-handler-down-disabled:hover .ant-input-number-handler-down-inner {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-input-number-borderless {\n  box-shadow: none;\n}\n.ant-input-number-out-of-range input {\n  color: #ff4d4f;\n}\n.ant-input-number-rtl {\n  direction: rtl;\n}\n.ant-input-number-rtl .ant-input-number-handler-wrap {\n  right: auto;\n  left: 0;\n  border-right: 1px solid #d9d9d9;\n  border-left: 0;\n  border-radius: 2px 0 0 2px;\n}\n.ant-input-number-rtl.ant-input-number-borderless .ant-input-number-handler-wrap {\n  border-right-width: 0;\n}\n.ant-input-number-rtl .ant-input-number-input {\n  direction: ltr;\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-layout {\n  display: flex;\n  flex: auto;\n  flex-direction: column;\n  /* fix firefox can't set height smaller than content on flex item */\n  min-height: 0;\n  background: #f0f2f5;\n}\n.ant-layout,\n.ant-layout * {\n  box-sizing: border-box;\n}\n.ant-layout.ant-layout-has-sider {\n  flex-direction: row;\n}\n.ant-layout.ant-layout-has-sider > .ant-layout,\n.ant-layout.ant-layout-has-sider > .ant-layout-content {\n  width: 0;\n}\n.ant-layout-header,\n.ant-layout-footer {\n  flex: 0 0 auto;\n}\n.ant-layout-header {\n  height: 64px;\n  padding: 0 50px;\n  color: rgba(0, 0, 0, 0.85);\n  line-height: 64px;\n  background: #001529;\n}\n.ant-layout-footer {\n  padding: 24px 50px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  background: #f0f2f5;\n}\n.ant-layout-content {\n  flex: auto;\n  /* fix firefox can't set height smaller than content on flex item */\n  min-height: 0;\n}\n.ant-layout-sider {\n  position: relative;\n  /* fix firefox can't set width smaller than content on flex item */\n  min-width: 0;\n  background: #001529;\n  transition: all 0.2s;\n}\n.ant-layout-sider-children {\n  height: 100%;\n  margin-top: -0.1px;\n  padding-top: 0.1px;\n}\n.ant-layout-sider-children .ant-menu.ant-menu-inline-collapsed {\n  width: auto;\n}\n.ant-layout-sider-has-trigger {\n  padding-bottom: 48px;\n}\n.ant-layout-sider-right {\n  order: 1;\n}\n.ant-layout-sider-trigger {\n  position: fixed;\n  bottom: 0;\n  z-index: 1;\n  height: 48px;\n  color: #fff;\n  line-height: 48px;\n  text-align: center;\n  background: #002140;\n  cursor: pointer;\n  transition: all 0.2s;\n}\n.ant-layout-sider-zero-width > * {\n  overflow: hidden;\n}\n.ant-layout-sider-zero-width-trigger {\n  position: absolute;\n  top: 64px;\n  right: -36px;\n  z-index: 1;\n  width: 36px;\n  height: 42px;\n  color: #fff;\n  font-size: 18px;\n  line-height: 42px;\n  text-align: center;\n  background: #001529;\n  border-radius: 0 2px 2px 0;\n  cursor: pointer;\n  transition: background 0.3s ease;\n}\n.ant-layout-sider-zero-width-trigger::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: transparent;\n  transition: all 0.3s;\n  content: '';\n}\n.ant-layout-sider-zero-width-trigger:hover::after {\n  background: rgba(255, 255, 255, 0.1);\n}\n.ant-layout-sider-zero-width-trigger-right {\n  left: -36px;\n  border-radius: 2px 0 0 2px;\n}\n.ant-layout-sider-light {\n  background: #fff;\n}\n.ant-layout-sider-light .ant-layout-sider-trigger {\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n}\n.ant-layout-sider-light .ant-layout-sider-zero-width-trigger {\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n}\n.ant-layout-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-list {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n}\n.ant-list * {\n  outline: none;\n}\n.ant-list-pagination {\n  margin-top: 24px;\n  text-align: right;\n}\n.ant-list-pagination .ant-pagination-options {\n  text-align: left;\n}\n.ant-list-more {\n  margin-top: 12px;\n  text-align: center;\n}\n.ant-list-more button {\n  padding-right: 32px;\n  padding-left: 32px;\n}\n.ant-list-spin {\n  min-height: 40px;\n  text-align: center;\n}\n.ant-list-empty-text {\n  padding: 16px;\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 14px;\n  text-align: center;\n}\n.ant-list-items {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.ant-list-item {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  padding: 12px 0;\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-list-item-meta {\n  display: flex;\n  flex: 1;\n  align-items: flex-start;\n  max-width: 100%;\n}\n.ant-list-item-meta-avatar {\n  margin-right: 16px;\n}\n.ant-list-item-meta-content {\n  flex: 1 0;\n  width: 0;\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-list-item-meta-title {\n  margin-bottom: 4px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n}\n.ant-list-item-meta-title > a {\n  color: rgba(0, 0, 0, 0.85);\n  transition: all 0.3s;\n}\n.ant-list-item-meta-title > a:hover {\n  color: #1890ff;\n}\n.ant-list-item-meta-description {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.5715;\n}\n.ant-list-item-action {\n  flex: 0 0 auto;\n  margin-left: 48px;\n  padding: 0;\n  font-size: 0;\n  list-style: none;\n}\n.ant-list-item-action > li {\n  position: relative;\n  display: inline-block;\n  padding: 0 8px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.5715;\n  text-align: center;\n}\n.ant-list-item-action > li:first-child {\n  padding-left: 0;\n}\n.ant-list-item-action-split {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  width: 1px;\n  height: 14px;\n  margin-top: -7px;\n  background-color: #f0f0f0;\n}\n.ant-list-header {\n  background: transparent;\n}\n.ant-list-footer {\n  background: transparent;\n}\n.ant-list-header,\n.ant-list-footer {\n  padding-top: 12px;\n  padding-bottom: 12px;\n}\n.ant-list-empty {\n  padding: 16px 0;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 12px;\n  text-align: center;\n}\n.ant-list-split .ant-list-item {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-list-split .ant-list-item:last-child {\n  border-bottom: none;\n}\n.ant-list-split .ant-list-header {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-list-split.ant-list-empty .ant-list-footer {\n  border-top: 1px solid #f0f0f0;\n}\n.ant-list-loading .ant-list-spin-nested-loading {\n  min-height: 32px;\n}\n.ant-list-split.ant-list-something-after-last-item .ant-spin-container > .ant-list-items > .ant-list-item:last-child {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-list-lg .ant-list-item {\n  padding: 16px 24px;\n}\n.ant-list-sm .ant-list-item {\n  padding: 8px 16px;\n}\n.ant-list-vertical .ant-list-item {\n  align-items: initial;\n}\n.ant-list-vertical .ant-list-item-main {\n  display: block;\n  flex: 1;\n}\n.ant-list-vertical .ant-list-item-extra {\n  margin-left: 40px;\n}\n.ant-list-vertical .ant-list-item-meta {\n  margin-bottom: 16px;\n}\n.ant-list-vertical .ant-list-item-meta-title {\n  margin-bottom: 12px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 16px;\n  line-height: 24px;\n}\n.ant-list-vertical .ant-list-item-action {\n  margin-top: 16px;\n  margin-left: auto;\n}\n.ant-list-vertical .ant-list-item-action > li {\n  padding: 0 16px;\n}\n.ant-list-vertical .ant-list-item-action > li:first-child {\n  padding-left: 0;\n}\n.ant-list-grid .ant-col > .ant-list-item {\n  display: block;\n  max-width: 100%;\n  margin-bottom: 16px;\n  padding-top: 0;\n  padding-bottom: 0;\n  border-bottom: none;\n}\n.ant-list-item-no-flex {\n  display: block;\n}\n.ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action {\n  float: right;\n}\n.ant-list-bordered {\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n}\n.ant-list-bordered .ant-list-header {\n  padding-right: 24px;\n  padding-left: 24px;\n}\n.ant-list-bordered .ant-list-footer {\n  padding-right: 24px;\n  padding-left: 24px;\n}\n.ant-list-bordered .ant-list-item {\n  padding-right: 24px;\n  padding-left: 24px;\n}\n.ant-list-bordered .ant-list-pagination {\n  margin: 16px 24px;\n}\n.ant-list-bordered.ant-list-sm .ant-list-item {\n  padding: 8px 16px;\n}\n.ant-list-bordered.ant-list-sm .ant-list-header,\n.ant-list-bordered.ant-list-sm .ant-list-footer {\n  padding: 8px 16px;\n}\n.ant-list-bordered.ant-list-lg .ant-list-item {\n  padding: 16px 24px;\n}\n.ant-list-bordered.ant-list-lg .ant-list-header,\n.ant-list-bordered.ant-list-lg .ant-list-footer {\n  padding: 16px 24px;\n}\n@media screen and (max-width: 768px) {\n  .ant-list-item-action {\n    margin-left: 24px;\n  }\n  .ant-list-vertical .ant-list-item-extra {\n    margin-left: 24px;\n  }\n}\n@media screen and (max-width: 576px) {\n  .ant-list-item {\n    flex-wrap: wrap;\n  }\n  .ant-list-item-action {\n    margin-left: 12px;\n  }\n  .ant-list-vertical .ant-list-item {\n    flex-wrap: wrap-reverse;\n  }\n  .ant-list-vertical .ant-list-item-main {\n    min-width: 220px;\n  }\n  .ant-list-vertical .ant-list-item-extra {\n    margin: auto auto 16px;\n  }\n}\n.ant-list-rtl {\n  direction: rtl;\n  text-align: right;\n}\n.ant-list-rtl .ReactVirtualized__List .ant-list-item {\n  direction: rtl;\n}\n.ant-list-rtl .ant-list-pagination {\n  text-align: left;\n}\n.ant-list-rtl .ant-list-item-meta-avatar {\n  margin-right: 0;\n  margin-left: 16px;\n}\n.ant-list-rtl .ant-list-item-action {\n  margin-right: 48px;\n  margin-left: 0;\n}\n.ant-list.ant-list-rtl .ant-list-item-action > li:first-child {\n  padding-right: 0;\n  padding-left: 16px;\n}\n.ant-list-rtl .ant-list-item-action-split {\n  right: auto;\n  left: 0;\n}\n.ant-list-rtl.ant-list-vertical .ant-list-item-extra {\n  margin-right: 40px;\n  margin-left: 0;\n}\n.ant-list-rtl.ant-list-vertical .ant-list-item-action {\n  margin-right: auto;\n}\n.ant-list-rtl .ant-list-vertical .ant-list-item-action > li:first-child {\n  padding-right: 0;\n  padding-left: 16px;\n}\n.ant-list-rtl .ant-list:not(.ant-list-vertical) .ant-list-item-no-flex .ant-list-item-action {\n  float: left;\n}\n@media screen and (max-width: 768px) {\n  .ant-list-rtl .ant-list-item-action {\n    margin-right: 24px;\n    margin-left: 0;\n  }\n  .ant-list-rtl .ant-list-vertical .ant-list-item-extra {\n    margin-right: 24px;\n    margin-left: 0;\n  }\n}\n@media screen and (max-width: 576px) {\n  .ant-list-rtl .ant-list-item-action {\n    margin-right: 22px;\n    margin-left: 0;\n  }\n  .ant-list-rtl.ant-list-vertical .ant-list-item-extra {\n    margin: auto auto 16px;\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-spin {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  display: none;\n  color: #1890ff;\n  text-align: center;\n  vertical-align: middle;\n  opacity: 0;\n  transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-spin-spinning {\n  position: static;\n  display: inline-block;\n  opacity: 1;\n}\n.ant-spin-nested-loading {\n  position: relative;\n}\n.ant-spin-nested-loading > div > .ant-spin {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 4;\n  display: block;\n  width: 100%;\n  height: 100%;\n  max-height: 400px;\n}\n.ant-spin-nested-loading > div > .ant-spin .ant-spin-dot {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  margin: -10px;\n}\n.ant-spin-nested-loading > div > .ant-spin .ant-spin-text {\n  position: absolute;\n  top: 50%;\n  width: 100%;\n  padding-top: 5px;\n  text-shadow: 0 1px 2px #fff;\n}\n.ant-spin-nested-loading > div > .ant-spin.ant-spin-show-text .ant-spin-dot {\n  margin-top: -20px;\n}\n.ant-spin-nested-loading > div > .ant-spin-sm .ant-spin-dot {\n  margin: -7px;\n}\n.ant-spin-nested-loading > div > .ant-spin-sm .ant-spin-text {\n  padding-top: 2px;\n}\n.ant-spin-nested-loading > div > .ant-spin-sm.ant-spin-show-text .ant-spin-dot {\n  margin-top: -17px;\n}\n.ant-spin-nested-loading > div > .ant-spin-lg .ant-spin-dot {\n  margin: -16px;\n}\n.ant-spin-nested-loading > div > .ant-spin-lg .ant-spin-text {\n  padding-top: 11px;\n}\n.ant-spin-nested-loading > div > .ant-spin-lg.ant-spin-show-text .ant-spin-dot {\n  margin-top: -26px;\n}\n.ant-spin-container {\n  position: relative;\n  transition: opacity 0.3s;\n}\n.ant-spin-container::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 10;\n  display: none \\9;\n  width: 100%;\n  height: 100%;\n  background: #fff;\n  opacity: 0;\n  transition: all 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-spin-blur {\n  clear: both;\n  overflow: hidden;\n  opacity: 0.5;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n  pointer-events: none;\n}\n.ant-spin-blur::after {\n  opacity: 0.4;\n  pointer-events: auto;\n}\n.ant-spin-tip {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-spin-dot {\n  position: relative;\n  display: inline-block;\n  font-size: 20px;\n  width: 1em;\n  height: 1em;\n}\n.ant-spin-dot-item {\n  position: absolute;\n  display: block;\n  width: 9px;\n  height: 9px;\n  background-color: #1890ff;\n  border-radius: 100%;\n  transform: scale(0.75);\n  transform-origin: 50% 50%;\n  opacity: 0.3;\n  -webkit-animation: antSpinMove 1s infinite linear alternate;\n          animation: antSpinMove 1s infinite linear alternate;\n}\n.ant-spin-dot-item:nth-child(1) {\n  top: 0;\n  left: 0;\n}\n.ant-spin-dot-item:nth-child(2) {\n  top: 0;\n  right: 0;\n  -webkit-animation-delay: 0.4s;\n          animation-delay: 0.4s;\n}\n.ant-spin-dot-item:nth-child(3) {\n  right: 0;\n  bottom: 0;\n  -webkit-animation-delay: 0.8s;\n          animation-delay: 0.8s;\n}\n.ant-spin-dot-item:nth-child(4) {\n  bottom: 0;\n  left: 0;\n  -webkit-animation-delay: 1.2s;\n          animation-delay: 1.2s;\n}\n.ant-spin-dot-spin {\n  transform: rotate(45deg);\n  -webkit-animation: antRotate 1.2s infinite linear;\n          animation: antRotate 1.2s infinite linear;\n}\n.ant-spin-sm .ant-spin-dot {\n  font-size: 14px;\n}\n.ant-spin-sm .ant-spin-dot i {\n  width: 6px;\n  height: 6px;\n}\n.ant-spin-lg .ant-spin-dot {\n  font-size: 32px;\n}\n.ant-spin-lg .ant-spin-dot i {\n  width: 14px;\n  height: 14px;\n}\n.ant-spin.ant-spin-show-text .ant-spin-text {\n  display: block;\n}\n@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {\n  /* IE10+ */\n  .ant-spin-blur {\n    background: #fff;\n    opacity: 0.5;\n  }\n}\n@-webkit-keyframes antSpinMove {\n  to {\n    opacity: 1;\n  }\n}\n@keyframes antSpinMove {\n  to {\n    opacity: 1;\n  }\n}\n@-webkit-keyframes antRotate {\n  to {\n    transform: rotate(405deg);\n  }\n}\n@keyframes antRotate {\n  to {\n    transform: rotate(405deg);\n  }\n}\n.ant-spin-rtl {\n  direction: rtl;\n}\n.ant-spin-rtl .ant-spin-dot-spin {\n  transform: rotate(-45deg);\n  -webkit-animation-name: antRotateRtl;\n          animation-name: antRotateRtl;\n}\n@-webkit-keyframes antRotateRtl {\n  to {\n    transform: rotate(-405deg);\n  }\n}\n@keyframes antRotateRtl {\n  to {\n    transform: rotate(-405deg);\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-pagination {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-pagination ul,\n.ant-pagination ol {\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.ant-pagination::after {\n  display: block;\n  clear: both;\n  height: 0;\n  overflow: hidden;\n  visibility: hidden;\n  content: ' ';\n}\n.ant-pagination-total-text {\n  display: inline-block;\n  height: 32px;\n  margin-right: 8px;\n  line-height: 30px;\n  vertical-align: middle;\n}\n.ant-pagination-item {\n  display: inline-block;\n  min-width: 32px;\n  height: 32px;\n  margin-right: 8px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 30px;\n  text-align: center;\n  vertical-align: middle;\n  list-style: none;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  outline: 0;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-pagination-item a {\n  display: block;\n  padding: 0 6px;\n  color: rgba(0, 0, 0, 0.85);\n  transition: none;\n}\n.ant-pagination-item a:hover {\n  text-decoration: none;\n}\n.ant-pagination-item:focus-visible,\n.ant-pagination-item:hover {\n  border-color: #1890ff;\n  transition: all 0.3s;\n}\n.ant-pagination-item:focus-visible a,\n.ant-pagination-item:hover a {\n  color: #1890ff;\n}\n.ant-pagination-item-active {\n  font-weight: 500;\n  background: #fff;\n  border-color: #1890ff;\n}\n.ant-pagination-item-active a {\n  color: #1890ff;\n}\n.ant-pagination-item-active:focus-visible,\n.ant-pagination-item-active:hover {\n  border-color: #40a9ff;\n}\n.ant-pagination-item-active:focus-visible a,\n.ant-pagination-item-active:hover a {\n  color: #40a9ff;\n}\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n  outline: 0;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container,\n.ant-pagination-jump-next .ant-pagination-item-container {\n  position: relative;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon {\n  color: #1890ff;\n  font-size: 12px;\n  letter-spacing: -1px;\n  opacity: 0;\n  transition: all 0.2s;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon-svg,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon-svg {\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  margin: auto;\n}\n.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  display: block;\n  margin: auto;\n  color: rgba(0, 0, 0, 0.25);\n  font-family: Arial, Helvetica, sans-serif;\n  letter-spacing: 2px;\n  text-align: center;\n  text-indent: 0.13em;\n  opacity: 1;\n  transition: all 0.2s;\n}\n.ant-pagination-jump-prev:focus-visible .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:focus-visible .ant-pagination-item-link-icon,\n.ant-pagination-jump-prev:hover .ant-pagination-item-link-icon,\n.ant-pagination-jump-next:hover .ant-pagination-item-link-icon {\n  opacity: 1;\n}\n.ant-pagination-jump-prev:focus-visible .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:focus-visible .ant-pagination-item-ellipsis,\n.ant-pagination-jump-prev:hover .ant-pagination-item-ellipsis,\n.ant-pagination-jump-next:hover .ant-pagination-item-ellipsis {\n  opacity: 0;\n}\n.ant-pagination-prev,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n  margin-right: 8px;\n}\n.ant-pagination-prev,\n.ant-pagination-next,\n.ant-pagination-jump-prev,\n.ant-pagination-jump-next {\n  display: inline-block;\n  min-width: 32px;\n  height: 32px;\n  color: rgba(0, 0, 0, 0.85);\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 32px;\n  text-align: center;\n  vertical-align: middle;\n  list-style: none;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-pagination-prev,\n.ant-pagination-next {\n  font-family: Arial, Helvetica, sans-serif;\n  outline: 0;\n}\n.ant-pagination-prev button,\n.ant-pagination-next button {\n  color: rgba(0, 0, 0, 0.85);\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-pagination-prev:hover button,\n.ant-pagination-next:hover button {\n  border-color: #40a9ff;\n}\n.ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-next .ant-pagination-item-link {\n  display: block;\n  width: 100%;\n  height: 100%;\n  padding: 0;\n  font-size: 12px;\n  text-align: center;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  outline: none;\n  transition: all 0.3s;\n}\n.ant-pagination-prev:focus-visible .ant-pagination-item-link,\n.ant-pagination-next:focus-visible .ant-pagination-item-link,\n.ant-pagination-prev:hover .ant-pagination-item-link,\n.ant-pagination-next:hover .ant-pagination-item-link {\n  color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-pagination-disabled,\n.ant-pagination-disabled:hover,\n.ant-pagination-disabled:focus-visible {\n  cursor: not-allowed;\n}\n.ant-pagination-disabled .ant-pagination-item-link,\n.ant-pagination-disabled:hover .ant-pagination-item-link,\n.ant-pagination-disabled:focus-visible .ant-pagination-item-link {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination-slash {\n  margin: 0 10px 0 5px;\n}\n.ant-pagination-options {\n  display: inline-block;\n  margin-left: 16px;\n  vertical-align: middle;\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-pagination-options *::-ms-backdrop,\n  .ant-pagination-options {\n    vertical-align: top;\n  }\n}\n.ant-pagination-options-size-changer.ant-select {\n  display: inline-block;\n  width: auto;\n}\n.ant-pagination-options-quick-jumper {\n  display: inline-block;\n  height: 32px;\n  margin-left: 8px;\n  line-height: 32px;\n  vertical-align: top;\n}\n.ant-pagination-options-quick-jumper input {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  line-height: 1.5715;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  width: 50px;\n  height: 32px;\n  margin: 0 8px;\n}\n.ant-pagination-options-quick-jumper input::-moz-placeholder {\n  opacity: 1;\n}\n.ant-pagination-options-quick-jumper input:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input::placeholder {\n  color: #bfbfbf;\n}\n.ant-pagination-options-quick-jumper input:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-pagination-options-quick-jumper input:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input:focus,\n.ant-pagination-options-quick-jumper input-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-pagination-options-quick-jumper input-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-pagination-options-quick-jumper input-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-pagination-options-quick-jumper input[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-pagination-options-quick-jumper input-borderless,\n.ant-pagination-options-quick-jumper input-borderless:hover,\n.ant-pagination-options-quick-jumper input-borderless:focus,\n.ant-pagination-options-quick-jumper input-borderless-focused,\n.ant-pagination-options-quick-jumper input-borderless-disabled,\n.ant-pagination-options-quick-jumper input-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-pagination-options-quick-jumper input {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-pagination-options-quick-jumper input-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-pagination-options-quick-jumper input-sm {\n  padding: 0px 7px;\n}\n.ant-pagination-simple .ant-pagination-prev,\n.ant-pagination-simple .ant-pagination-next {\n  height: 24px;\n  line-height: 24px;\n  vertical-align: top;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link {\n  height: 24px;\n  background-color: transparent;\n  border: 0;\n}\n.ant-pagination-simple .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination-simple .ant-pagination-next .ant-pagination-item-link::after {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager {\n  display: inline-block;\n  height: 24px;\n  margin-right: 8px;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input {\n  box-sizing: border-box;\n  height: 100%;\n  margin-right: 8px;\n  padding: 0 6px;\n  text-align: center;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  outline: none;\n  transition: border-color 0.3s;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input:hover {\n  border-color: #1890ff;\n}\n.ant-pagination-simple .ant-pagination-simple-pager input[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination.mini .ant-pagination-total-text,\n.ant-pagination.mini .ant-pagination-simple-pager {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-item {\n  min-width: 24px;\n  height: 24px;\n  margin: 0;\n  line-height: 22px;\n}\n.ant-pagination.mini .ant-pagination-item:not(.ant-pagination-item-active) {\n  background: transparent;\n  border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev,\n.ant-pagination.mini .ant-pagination-next {\n  min-width: 24px;\n  height: 24px;\n  margin: 0;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link {\n  background: transparent;\n  border-color: transparent;\n}\n.ant-pagination.mini .ant-pagination-prev .ant-pagination-item-link::after,\n.ant-pagination.mini .ant-pagination-next .ant-pagination-item-link::after {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-jump-prev,\n.ant-pagination.mini .ant-pagination-jump-next {\n  height: 24px;\n  margin-right: 0;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options {\n  margin-left: 2px;\n}\n.ant-pagination.mini .ant-pagination-options-size-changer {\n  top: 0px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper {\n  height: 24px;\n  line-height: 24px;\n}\n.ant-pagination.mini .ant-pagination-options-quick-jumper input {\n  padding: 0px 7px;\n  width: 44px;\n  height: 24px;\n}\n.ant-pagination.ant-pagination-disabled {\n  cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item {\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item a {\n  color: rgba(0, 0, 0, 0.25);\n  background: transparent;\n  border: none;\n  cursor: not-allowed;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active {\n  background: #e6e6e6;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-active a {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link {\n  color: rgba(0, 0, 0, 0.25);\n  background: #f5f5f5;\n  border-color: #d9d9d9;\n  cursor: not-allowed;\n}\n.ant-pagination-simple.ant-pagination.ant-pagination-disabled .ant-pagination-item-link {\n  background: transparent;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-link-icon {\n  opacity: 0;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-item-ellipsis {\n  opacity: 1;\n}\n.ant-pagination.ant-pagination-disabled .ant-pagination-simple-pager {\n  color: rgba(0, 0, 0, 0.25);\n}\n@media only screen and (max-width: 992px) {\n  .ant-pagination-item-after-jump-prev,\n  .ant-pagination-item-before-jump-next {\n    display: none;\n  }\n}\n@media only screen and (max-width: 576px) {\n  .ant-pagination-options {\n    display: none;\n  }\n}\n.ant-pagination-rtl .ant-pagination-total-text {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl .ant-pagination-item,\n.ant-pagination-rtl .ant-pagination-prev,\n.ant-pagination-rtl .ant-pagination-jump-prev,\n.ant-pagination-rtl .ant-pagination-jump-next {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl .ant-pagination-slash {\n  margin: 0 5px 0 10px;\n}\n.ant-pagination-rtl .ant-pagination-options {\n  margin-right: 16px;\n  margin-left: 0;\n}\n.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-size-changer.ant-select {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl .ant-pagination-options .ant-pagination-options-quick-jumper {\n  margin-left: 0;\n}\n.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl.ant-pagination-simple .ant-pagination-simple-pager input {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-pagination-rtl.ant-pagination.mini .ant-pagination-options {\n  margin-right: 2px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-mentions {\n  box-sizing: border-box;\n  margin: 0;\n  font-variant: tabular-nums;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  width: 100%;\n  min-width: 0;\n  padding: 4px 11px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  background-color: #fff;\n  background-image: none;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  transition: all 0.3s;\n  position: relative;\n  display: inline-block;\n  height: auto;\n  padding: 0;\n  overflow: hidden;\n  line-height: 1.5715;\n  white-space: pre-wrap;\n  vertical-align: bottom;\n}\n.ant-mentions::-moz-placeholder {\n  opacity: 1;\n}\n.ant-mentions:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-mentions::placeholder {\n  color: #bfbfbf;\n}\n.ant-mentions:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-mentions:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-mentions:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-mentions:hover {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n}\n.ant-mentions:focus,\n.ant-mentions-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-mentions-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-mentions-disabled:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-mentions[disabled] {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-mentions[disabled]:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-mentions-borderless,\n.ant-mentions-borderless:hover,\n.ant-mentions-borderless:focus,\n.ant-mentions-borderless-focused,\n.ant-mentions-borderless-disabled,\n.ant-mentions-borderless[disabled] {\n  background-color: transparent;\n  border: none;\n  box-shadow: none;\n}\ntextarea.ant-mentions {\n  max-width: 100%;\n  height: auto;\n  min-height: 32px;\n  line-height: 1.5715;\n  vertical-align: bottom;\n  transition: all 0.3s, height 0s;\n}\n.ant-mentions-lg {\n  padding: 6.5px 11px;\n  font-size: 16px;\n}\n.ant-mentions-sm {\n  padding: 0px 7px;\n}\n.ant-mentions-disabled > textarea {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #f5f5f5;\n  border-color: #d9d9d9;\n  box-shadow: none;\n  cursor: not-allowed;\n  opacity: 1;\n}\n.ant-mentions-disabled > textarea:hover {\n  border-color: #d9d9d9;\n  border-right-width: 1px !important;\n}\n.ant-mentions-focused {\n  border-color: #40a9ff;\n  border-right-width: 1px !important;\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-mentions > textarea,\n.ant-mentions-measure {\n  min-height: 30px;\n  margin: 0;\n  padding: 4px 11px;\n  overflow: inherit;\n  overflow-x: hidden;\n  overflow-y: auto;\n  font-weight: inherit;\n  font-size: inherit;\n  font-family: inherit;\n  font-style: inherit;\n  font-variant: inherit;\n  font-size-adjust: inherit;\n  font-stretch: inherit;\n  line-height: inherit;\n  direction: inherit;\n  letter-spacing: inherit;\n  white-space: inherit;\n  text-align: inherit;\n  vertical-align: top;\n  word-wrap: break-word;\n  word-break: inherit;\n  -moz-tab-size: inherit;\n    -o-tab-size: inherit;\n       tab-size: inherit;\n}\n.ant-mentions > textarea {\n  width: 100%;\n  border: none;\n  outline: none;\n  resize: none;\n}\n.ant-mentions > textarea::-moz-placeholder {\n  opacity: 1;\n}\n.ant-mentions > textarea:-ms-input-placeholder {\n  color: #bfbfbf;\n}\n.ant-mentions > textarea::placeholder {\n  color: #bfbfbf;\n}\n.ant-mentions > textarea:-moz-placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-mentions > textarea:-ms-input-placeholder {\n  text-overflow: ellipsis;\n}\n.ant-mentions > textarea:placeholder-shown {\n  text-overflow: ellipsis;\n}\n.ant-mentions-measure {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: -1;\n  color: transparent;\n  pointer-events: none;\n}\n.ant-mentions-measure > span {\n  display: inline-block;\n  min-height: 1em;\n}\n.ant-mentions-dropdown {\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: absolute;\n  top: -9999px;\n  left: -9999px;\n  z-index: 1050;\n  box-sizing: border-box;\n  font-size: 14px;\n  font-variant: initial;\n  background-color: #fff;\n  border-radius: 2px;\n  outline: none;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-mentions-dropdown-hidden {\n  display: none;\n}\n.ant-mentions-dropdown-menu {\n  max-height: 250px;\n  margin-bottom: 0;\n  padding-left: 0;\n  overflow: auto;\n  list-style: none;\n  outline: none;\n}\n.ant-mentions-dropdown-menu-item {\n  position: relative;\n  display: block;\n  min-width: 100px;\n  padding: 5px 12px;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: normal;\n  line-height: 1.5715;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  cursor: pointer;\n  transition: background 0.3s ease;\n}\n.ant-mentions-dropdown-menu-item:hover {\n  background-color: #f5f5f5;\n}\n.ant-mentions-dropdown-menu-item:first-child {\n  border-radius: 2px 2px 0 0;\n}\n.ant-mentions-dropdown-menu-item:last-child {\n  border-radius: 0 0 2px 2px;\n}\n.ant-mentions-dropdown-menu-item-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-mentions-dropdown-menu-item-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n  background-color: #fff;\n  cursor: not-allowed;\n}\n.ant-mentions-dropdown-menu-item-selected {\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  background-color: #fafafa;\n}\n.ant-mentions-dropdown-menu-item-active {\n  background-color: #f5f5f5;\n}\n.ant-mentions-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-message {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: fixed;\n  top: 8px;\n  left: 0;\n  z-index: 1010;\n  width: 100%;\n  pointer-events: none;\n}\n.ant-message-notice {\n  padding: 8px;\n  text-align: center;\n}\n.ant-message-notice-content {\n  display: inline-block;\n  padding: 10px 16px;\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  pointer-events: all;\n}\n.ant-message-success .anticon {\n  color: #52c41a;\n}\n.ant-message-error .anticon {\n  color: #ff4d4f;\n}\n.ant-message-warning .anticon {\n  color: #faad14;\n}\n.ant-message-info .anticon,\n.ant-message-loading .anticon {\n  color: #1890ff;\n}\n.ant-message .anticon {\n  position: relative;\n  top: 1px;\n  margin-right: 8px;\n  font-size: 16px;\n}\n.ant-message-notice.ant-move-up-leave.ant-move-up-leave-active {\n  -webkit-animation-name: MessageMoveOut;\n          animation-name: MessageMoveOut;\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n}\n@-webkit-keyframes MessageMoveOut {\n  0% {\n    max-height: 150px;\n    padding: 8px;\n    opacity: 1;\n  }\n  100% {\n    max-height: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n@keyframes MessageMoveOut {\n  0% {\n    max-height: 150px;\n    padding: 8px;\n    opacity: 1;\n  }\n  100% {\n    max-height: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n.ant-message-rtl {\n  direction: rtl;\n}\n.ant-message-rtl span {\n  direction: rtl;\n}\n.ant-message-rtl .anticon {\n  margin-right: 0;\n  margin-left: 8px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-modal {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  pointer-events: none;\n  position: relative;\n  top: 100px;\n  width: auto;\n  max-width: calc(100vw - 32px);\n  margin: 0 auto;\n  padding-bottom: 24px;\n}\n.ant-modal.ant-zoom-enter,\n.ant-modal.antzoom-appear {\n  transform: none;\n  opacity: 0;\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-modal-mask {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1000;\n  height: 100%;\n  background-color: rgba(0, 0, 0, 0.45);\n}\n.ant-modal-mask-hidden {\n  display: none;\n}\n.ant-modal-wrap {\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  overflow: auto;\n  outline: 0;\n  -webkit-overflow-scrolling: touch;\n}\n.ant-modal-wrap {\n  z-index: 1000;\n}\n.ant-modal-title {\n  margin: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  font-size: 16px;\n  line-height: 22px;\n  word-wrap: break-word;\n}\n.ant-modal-content {\n  position: relative;\n  background-color: #fff;\n  background-clip: padding-box;\n  border: 0;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n  pointer-events: auto;\n}\n.ant-modal-close {\n  position: absolute;\n  top: 0;\n  right: 0;\n  z-index: 10;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: 700;\n  line-height: 1;\n  text-decoration: none;\n  background: transparent;\n  border: 0;\n  outline: 0;\n  cursor: pointer;\n  transition: color 0.3s;\n}\n.ant-modal-close-x {\n  display: block;\n  width: 56px;\n  height: 56px;\n  font-size: 16px;\n  font-style: normal;\n  line-height: 56px;\n  text-align: center;\n  text-transform: none;\n  text-rendering: auto;\n}\n.ant-modal-close:focus,\n.ant-modal-close:hover {\n  color: rgba(0, 0, 0, 0.75);\n  text-decoration: none;\n}\n.ant-modal-header {\n  padding: 16px 24px;\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n  border-bottom: 1px solid #f0f0f0;\n  border-radius: 2px 2px 0 0;\n}\n.ant-modal-body {\n  padding: 24px;\n  font-size: 14px;\n  line-height: 1.5715;\n  word-wrap: break-word;\n}\n.ant-modal-footer {\n  padding: 10px 16px;\n  text-align: right;\n  background: transparent;\n  border-top: 1px solid #f0f0f0;\n  border-radius: 0 0 2px 2px;\n}\n.ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {\n  margin-bottom: 0;\n  margin-left: 8px;\n}\n.ant-modal-open {\n  overflow: hidden;\n}\n.ant-modal-centered {\n  text-align: center;\n}\n.ant-modal-centered::before {\n  display: inline-block;\n  width: 0;\n  height: 100%;\n  vertical-align: middle;\n  content: '';\n}\n.ant-modal-centered .ant-modal {\n  top: 0;\n  display: inline-block;\n  text-align: left;\n  vertical-align: middle;\n}\n@media (max-width: 767px) {\n  .ant-modal {\n    max-width: calc(100vw - 16px);\n    margin: 8px auto;\n  }\n  .ant-modal-centered .ant-modal {\n    flex: 1;\n  }\n}\n.ant-modal-confirm .ant-modal-header {\n  display: none;\n}\n.ant-modal-confirm .ant-modal-body {\n  padding: 32px 32px 24px;\n}\n.ant-modal-confirm-body-wrapper::before {\n  display: table;\n  content: '';\n}\n.ant-modal-confirm-body-wrapper::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-modal-confirm-body .ant-modal-confirm-title {\n  display: block;\n  overflow: hidden;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  font-size: 16px;\n  line-height: 1.4;\n}\n.ant-modal-confirm-body .ant-modal-confirm-content {\n  margin-top: 8px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n}\n.ant-modal-confirm-body > .anticon {\n  float: left;\n  margin-right: 16px;\n  font-size: 22px;\n}\n.ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {\n  margin-left: 38px;\n}\n.ant-modal-confirm .ant-modal-confirm-btns {\n  float: right;\n  margin-top: 24px;\n}\n.ant-modal-confirm .ant-modal-confirm-btns .ant-btn + .ant-btn {\n  margin-bottom: 0;\n  margin-left: 8px;\n}\n.ant-modal-confirm-error .ant-modal-confirm-body > .anticon {\n  color: #ff4d4f;\n}\n.ant-modal-confirm-warning .ant-modal-confirm-body > .anticon,\n.ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {\n  color: #faad14;\n}\n.ant-modal-confirm-info .ant-modal-confirm-body > .anticon {\n  color: #1890ff;\n}\n.ant-modal-confirm-success .ant-modal-confirm-body > .anticon {\n  color: #52c41a;\n}\n.ant-modal-wrap-rtl {\n  direction: rtl;\n}\n.ant-modal-wrap-rtl .ant-modal-close {\n  right: initial;\n  left: 0;\n}\n.ant-modal-wrap-rtl .ant-modal-footer {\n  text-align: left;\n}\n.ant-modal-wrap-rtl .ant-modal-footer .ant-btn + .ant-btn {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-modal-wrap-rtl .ant-modal-confirm-body {\n  direction: rtl;\n}\n.ant-modal-wrap-rtl .ant-modal-confirm-body > .anticon {\n  float: right;\n  margin-right: 0;\n  margin-left: 16px;\n}\n.ant-modal-wrap-rtl .ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {\n  margin-right: 38px;\n  margin-left: 0;\n}\n.ant-modal-wrap-rtl .ant-modal-confirm-btns {\n  float: left;\n}\n.ant-modal-wrap-rtl .ant-modal-confirm-btns .ant-btn + .ant-btn {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-modal-wrap-rtl.ant-modal-centered .ant-modal {\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-notification {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: fixed;\n  z-index: 1010;\n  margin-right: 24px;\n}\n.ant-notification-topLeft,\n.ant-notification-bottomLeft {\n  margin-right: 0;\n  margin-left: 24px;\n}\n.ant-notification-topLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,\n.ant-notification-bottomLeft .ant-notification-fade-enter.ant-notification-fade-enter-active,\n.ant-notification-topLeft .ant-notification-fade-appear.ant-notification-fade-appear-active,\n.ant-notification-bottomLeft .ant-notification-fade-appear.ant-notification-fade-appear-active {\n  -webkit-animation-name: NotificationLeftFadeIn;\n          animation-name: NotificationLeftFadeIn;\n}\n.ant-notification-close-icon {\n  font-size: 14px;\n  cursor: pointer;\n}\n.ant-notification-hook-holder {\n  position: relative;\n}\n.ant-notification-notice {\n  position: relative;\n  width: 384px;\n  max-width: calc(100vw - 24px * 2);\n  margin-bottom: 16px;\n  margin-left: auto;\n  padding: 16px 24px;\n  overflow: hidden;\n  line-height: 1.5715;\n  word-wrap: break-word;\n  background: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-notification-topLeft .ant-notification-notice,\n.ant-notification-bottomLeft .ant-notification-notice {\n  margin-right: auto;\n  margin-left: 0;\n}\n.ant-notification-notice-message {\n  margin-bottom: 8px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 16px;\n  line-height: 24px;\n}\n.ant-notification-notice-message-single-line-auto-margin {\n  display: block;\n  width: calc(384px - 24px * 2 - 24px - 48px - 100%);\n  max-width: 4px;\n  background-color: transparent;\n  pointer-events: none;\n}\n.ant-notification-notice-message-single-line-auto-margin::before {\n  display: block;\n  content: '';\n}\n.ant-notification-notice-description {\n  font-size: 14px;\n}\n.ant-notification-notice-closable .ant-notification-notice-message {\n  padding-right: 24px;\n}\n.ant-notification-notice-with-icon .ant-notification-notice-message {\n  margin-bottom: 4px;\n  margin-left: 48px;\n  font-size: 16px;\n}\n.ant-notification-notice-with-icon .ant-notification-notice-description {\n  margin-left: 48px;\n  font-size: 14px;\n}\n.ant-notification-notice-icon {\n  position: absolute;\n  margin-left: 4px;\n  font-size: 24px;\n  line-height: 24px;\n}\n.anticon.ant-notification-notice-icon-success {\n  color: #52c41a;\n}\n.anticon.ant-notification-notice-icon-info {\n  color: #1890ff;\n}\n.anticon.ant-notification-notice-icon-warning {\n  color: #faad14;\n}\n.anticon.ant-notification-notice-icon-error {\n  color: #ff4d4f;\n}\n.ant-notification-notice-close {\n  position: absolute;\n  top: 16px;\n  right: 22px;\n  color: rgba(0, 0, 0, 0.45);\n  outline: none;\n}\n.ant-notification-notice-close:hover {\n  color: rgba(0, 0, 0, 0.67);\n}\n.ant-notification-notice-btn {\n  float: right;\n  margin-top: 16px;\n}\n.ant-notification .notification-fade-effect {\n  -webkit-animation-duration: 0.24s;\n          animation-duration: 0.24s;\n  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n}\n.ant-notification-fade-enter,\n.ant-notification-fade-appear {\n  -webkit-animation-duration: 0.24s;\n          animation-duration: 0.24s;\n  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  opacity: 0;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-notification-fade-leave {\n  -webkit-animation-duration: 0.24s;\n          animation-duration: 0.24s;\n  -webkit-animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n          animation-timing-function: cubic-bezier(0.645, 0.045, 0.355, 1);\n  -webkit-animation-fill-mode: both;\n          animation-fill-mode: both;\n  -webkit-animation-duration: 0.2s;\n          animation-duration: 0.2s;\n  -webkit-animation-play-state: paused;\n          animation-play-state: paused;\n}\n.ant-notification-fade-enter.ant-notification-fade-enter-active,\n.ant-notification-fade-appear.ant-notification-fade-appear-active {\n  -webkit-animation-name: NotificationFadeIn;\n          animation-name: NotificationFadeIn;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n.ant-notification-fade-leave.ant-notification-fade-leave-active {\n  -webkit-animation-name: NotificationFadeOut;\n          animation-name: NotificationFadeOut;\n  -webkit-animation-play-state: running;\n          animation-play-state: running;\n}\n@-webkit-keyframes NotificationFadeIn {\n  0% {\n    left: 384px;\n    opacity: 0;\n  }\n  100% {\n    left: 0;\n    opacity: 1;\n  }\n}\n@keyframes NotificationFadeIn {\n  0% {\n    left: 384px;\n    opacity: 0;\n  }\n  100% {\n    left: 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes NotificationLeftFadeIn {\n  0% {\n    right: 384px;\n    opacity: 0;\n  }\n  100% {\n    right: 0;\n    opacity: 1;\n  }\n}\n@keyframes NotificationLeftFadeIn {\n  0% {\n    right: 384px;\n    opacity: 0;\n  }\n  100% {\n    right: 0;\n    opacity: 1;\n  }\n}\n@-webkit-keyframes NotificationFadeOut {\n  0% {\n    max-height: 150px;\n    margin-bottom: 16px;\n    opacity: 1;\n  }\n  100% {\n    max-height: 0;\n    margin-bottom: 0;\n    padding-top: 0;\n    padding-bottom: 0;\n    opacity: 0;\n  }\n}\n@keyframes NotificationFadeOut {\n  0% {\n    max-height: 150px;\n    margin-bottom: 16px;\n    opacity: 1;\n  }\n  100% {\n    max-height: 0;\n    margin-bottom: 0;\n    padding-top: 0;\n    padding-bottom: 0;\n    opacity: 0;\n  }\n}\n.ant-notification-rtl {\n  direction: rtl;\n}\n.ant-notification-rtl .ant-notification-notice-closable .ant-notification-notice-message {\n  padding-right: 0;\n  padding-left: 24px;\n}\n.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-message {\n  margin-right: 48px;\n  margin-left: 0;\n}\n.ant-notification-rtl .ant-notification-notice-with-icon .ant-notification-notice-description {\n  margin-right: 48px;\n  margin-left: 0;\n}\n.ant-notification-rtl .ant-notification-notice-icon {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-notification-rtl .ant-notification-notice-close {\n  right: auto;\n  left: 22px;\n}\n.ant-notification-rtl .ant-notification-notice-btn {\n  float: left;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-page-header {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  padding: 16px 24px;\n  background-color: #fff;\n}\n.ant-page-header-ghost {\n  background-color: inherit;\n}\n.ant-page-header.has-breadcrumb {\n  padding-top: 12px;\n}\n.ant-page-header.has-footer {\n  padding-bottom: 0;\n}\n.ant-page-header-back {\n  margin-right: 16px;\n  font-size: 16px;\n  line-height: 1;\n}\n.ant-page-header-back-button {\n  color: #1890ff;\n  text-decoration: none;\n  outline: none;\n  transition: color 0.3s;\n  color: #000;\n  cursor: pointer;\n}\n.ant-page-header-back-button:focus,\n.ant-page-header-back-button:hover {\n  color: #40a9ff;\n}\n.ant-page-header-back-button:active {\n  color: #096dd9;\n}\n.ant-page-header .ant-divider-vertical {\n  height: 14px;\n  margin: 0 12px;\n  vertical-align: middle;\n}\n.ant-breadcrumb + .ant-page-header-heading {\n  margin-top: 8px;\n}\n.ant-page-header-heading {\n  display: flex;\n  justify-content: space-between;\n}\n.ant-page-header-heading-left {\n  display: flex;\n  align-items: center;\n  margin: 4px 0;\n  overflow: hidden;\n}\n.ant-page-header-heading-title {\n  margin-right: 12px;\n  margin-bottom: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  font-size: 20px;\n  line-height: 32px;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-page-header-heading .ant-avatar {\n  margin-right: 12px;\n}\n.ant-page-header-heading-sub-title {\n  margin-right: 12px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.5715;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-page-header-heading-extra {\n  margin: 4px 0;\n  white-space: nowrap;\n}\n.ant-page-header-heading-extra > * {\n  margin-left: 12px;\n  white-space: unset;\n}\n.ant-page-header-heading-extra > *:first-child {\n  margin-left: 0;\n}\n.ant-page-header-content {\n  padding-top: 12px;\n}\n.ant-page-header-footer {\n  margin-top: 16px;\n}\n.ant-page-header-footer .ant-tabs > .ant-tabs-nav {\n  margin: 0;\n}\n.ant-page-header-footer .ant-tabs > .ant-tabs-nav::before {\n  border: none;\n}\n.ant-page-header-footer .ant-tabs .ant-tabs-tab {\n  padding-top: 8px;\n  padding-bottom: 8px;\n  font-size: 16px;\n}\n.ant-page-header-compact .ant-page-header-heading {\n  flex-wrap: wrap;\n}\n.ant-page-header-rtl {\n  direction: rtl;\n}\n.ant-page-header-rtl .ant-page-header-back {\n  float: right;\n  margin-right: 0;\n  margin-left: 16px;\n}\n.ant-page-header-rtl .ant-page-header-heading-title {\n  margin-right: 0;\n  margin-left: 12px;\n}\n.ant-page-header-rtl .ant-page-header-heading .ant-avatar {\n  margin-right: 0;\n  margin-left: 12px;\n}\n.ant-page-header-rtl .ant-page-header-heading-sub-title {\n  float: right;\n  margin-right: 0;\n  margin-left: 12px;\n}\n.ant-page-header-rtl .ant-page-header-heading-tags {\n  float: right;\n}\n.ant-page-header-rtl .ant-page-header-heading-extra {\n  float: left;\n}\n.ant-page-header-rtl .ant-page-header-heading-extra > * {\n  margin-right: 12px;\n  margin-left: 0;\n}\n.ant-page-header-rtl .ant-page-header-heading-extra > *:first-child {\n  margin-right: 0;\n}\n.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav {\n  float: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-popconfirm {\n  z-index: 1060;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-progress {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n}\n.ant-progress-line {\n  position: relative;\n  width: 100%;\n  font-size: 14px;\n}\n.ant-progress-steps {\n  display: inline-block;\n}\n.ant-progress-steps-outer {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n}\n.ant-progress-steps-item {\n  flex-shrink: 0;\n  min-width: 2px;\n  margin-right: 2px;\n  background: #f3f3f3;\n  transition: all 0.3s;\n}\n.ant-progress-steps-item-active {\n  background: #1890ff;\n}\n.ant-progress-small.ant-progress-line,\n.ant-progress-small.ant-progress-line .ant-progress-text .anticon {\n  font-size: 12px;\n}\n.ant-progress-outer {\n  display: inline-block;\n  width: 100%;\n  margin-right: 0;\n  padding-right: 0;\n}\n.ant-progress-show-info .ant-progress-outer {\n  margin-right: calc(-2em - 8px);\n  padding-right: calc(2em + 8px);\n}\n.ant-progress-inner {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n  overflow: hidden;\n  vertical-align: middle;\n  background-color: #f5f5f5;\n  border-radius: 100px;\n}\n.ant-progress-circle-trail {\n  stroke: #f5f5f5;\n}\n.ant-progress-circle-path {\n  -webkit-animation: ant-progress-appear 0.3s;\n          animation: ant-progress-appear 0.3s;\n}\n.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {\n  stroke: #1890ff;\n}\n.ant-progress-success-bg,\n.ant-progress-bg {\n  position: relative;\n  background-color: #1890ff;\n  border-radius: 100px;\n  transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;\n}\n.ant-progress-success-bg {\n  position: absolute;\n  top: 0;\n  left: 0;\n  background-color: #52c41a;\n}\n.ant-progress-text {\n  display: inline-block;\n  width: 2em;\n  margin-left: 8px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 1em;\n  line-height: 1;\n  white-space: nowrap;\n  text-align: left;\n  vertical-align: middle;\n  word-break: normal;\n}\n.ant-progress-text .anticon {\n  font-size: 14px;\n}\n.ant-progress-status-active .ant-progress-bg::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background: #fff;\n  border-radius: 10px;\n  opacity: 0;\n  -webkit-animation: ant-progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n          animation: ant-progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n  content: '';\n}\n.ant-progress-status-exception .ant-progress-bg {\n  background-color: #ff4d4f;\n}\n.ant-progress-status-exception .ant-progress-text {\n  color: #ff4d4f;\n}\n.ant-progress-status-exception .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {\n  stroke: #ff4d4f;\n}\n.ant-progress-status-success .ant-progress-bg {\n  background-color: #52c41a;\n}\n.ant-progress-status-success .ant-progress-text {\n  color: #52c41a;\n}\n.ant-progress-status-success .ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path {\n  stroke: #52c41a;\n}\n.ant-progress-circle .ant-progress-inner {\n  position: relative;\n  line-height: 1;\n  background-color: transparent;\n}\n.ant-progress-circle .ant-progress-text {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  width: 100%;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 1em;\n  line-height: 1;\n  white-space: normal;\n  text-align: center;\n  transform: translate(-50%, -50%);\n}\n.ant-progress-circle .ant-progress-text .anticon {\n  font-size: 1.16666667em;\n}\n.ant-progress-circle.ant-progress-status-exception .ant-progress-text {\n  color: #ff4d4f;\n}\n.ant-progress-circle.ant-progress-status-success .ant-progress-text {\n  color: #52c41a;\n}\n@-webkit-keyframes ant-progress-active {\n  0% {\n    transform: translateX(-100%) scaleX(0);\n    opacity: 0.1;\n  }\n  20% {\n    transform: translateX(-100%) scaleX(0);\n    opacity: 0.5;\n  }\n  100% {\n    transform: translateX(0) scaleX(1);\n    opacity: 0;\n  }\n}\n@keyframes ant-progress-active {\n  0% {\n    transform: translateX(-100%) scaleX(0);\n    opacity: 0.1;\n  }\n  20% {\n    transform: translateX(-100%) scaleX(0);\n    opacity: 0.5;\n  }\n  100% {\n    transform: translateX(0) scaleX(1);\n    opacity: 0;\n  }\n}\n.ant-progress-rtl {\n  direction: rtl;\n}\n.ant-progress-rtl.ant-progress-show-info .ant-progress-outer {\n  margin-right: 0;\n  margin-left: calc(-2em - 8px);\n  padding-right: 0;\n  padding-left: calc(2em + 8px);\n}\n.ant-progress-rtl .ant-progress-success-bg {\n  right: 0;\n  left: auto;\n}\n.ant-progress-rtl.ant-progress-line .ant-progress-text,\n.ant-progress-rtl.ant-progress-steps .ant-progress-text {\n  margin-right: 8px;\n  margin-left: 0;\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-rate {\n  box-sizing: border-box;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n  margin: 0;\n  padding: 0;\n  color: #fadb14;\n  font-size: 20px;\n  line-height: unset;\n  list-style: none;\n  outline: none;\n}\n.ant-rate-disabled .ant-rate-star {\n  cursor: default;\n}\n.ant-rate-disabled .ant-rate-star:hover {\n  transform: scale(1);\n}\n.ant-rate-star {\n  position: relative;\n  display: inline-block;\n  color: inherit;\n  cursor: pointer;\n}\n.ant-rate-star:not(:last-child) {\n  margin-right: 8px;\n}\n.ant-rate-star > div {\n  transition: all 0.3s, outline 0s;\n}\n.ant-rate-star > div:hover,\n.ant-rate-star > div:focus-visible {\n  transform: scale(1.1);\n}\n.ant-rate-star > div:focus {\n  outline: 0;\n}\n.ant-rate-star > div:focus-visible {\n  outline: 1px dashed #fadb14;\n}\n.ant-rate-star-first,\n.ant-rate-star-second {\n  color: #f0f0f0;\n  transition: all 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-rate-star-first .anticon,\n.ant-rate-star-second .anticon {\n  vertical-align: middle;\n}\n.ant-rate-star-first {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 50%;\n  height: 100%;\n  overflow: hidden;\n  opacity: 0;\n}\n.ant-rate-star-half .ant-rate-star-first,\n.ant-rate-star-half .ant-rate-star-second {\n  opacity: 1;\n}\n.ant-rate-star-half .ant-rate-star-first,\n.ant-rate-star-full .ant-rate-star-second {\n  color: inherit;\n}\n.ant-rate-text {\n  display: inline-block;\n  margin: 0 8px;\n  font-size: 14px;\n}\n.ant-rate-rtl {\n  direction: rtl;\n}\n.ant-rate-rtl .ant-rate-star:not(:last-child) {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-rate-rtl .ant-rate-star-first {\n  right: 0;\n  left: auto;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-result {\n  padding: 48px 32px;\n}\n.ant-result-success .ant-result-icon > .anticon {\n  color: #52c41a;\n}\n.ant-result-error .ant-result-icon > .anticon {\n  color: #ff4d4f;\n}\n.ant-result-info .ant-result-icon > .anticon {\n  color: #1890ff;\n}\n.ant-result-warning .ant-result-icon > .anticon {\n  color: #faad14;\n}\n.ant-result-image {\n  width: 250px;\n  height: 295px;\n  margin: auto;\n}\n.ant-result-icon {\n  margin-bottom: 24px;\n  text-align: center;\n}\n.ant-result-icon > .anticon {\n  font-size: 72px;\n}\n.ant-result-title {\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 24px;\n  line-height: 1.8;\n  text-align: center;\n}\n.ant-result-subtitle {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n  line-height: 1.6;\n  text-align: center;\n}\n.ant-result-extra {\n  margin: 24px 0 0 0;\n  text-align: center;\n}\n.ant-result-extra > * {\n  margin-right: 8px;\n}\n.ant-result-extra > *:last-child {\n  margin-right: 0;\n}\n.ant-result-content {\n  margin-top: 24px;\n  padding: 24px 40px;\n  background-color: #fafafa;\n}\n.ant-result-rtl {\n  direction: rtl;\n}\n.ant-result-rtl .ant-result-extra > * {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-result-rtl .ant-result-extra > *:last-child {\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-skeleton {\n  display: table;\n  width: 100%;\n}\n.ant-skeleton-header {\n  display: table-cell;\n  padding-right: 16px;\n  vertical-align: top;\n}\n.ant-skeleton-header .ant-skeleton-avatar {\n  display: inline-block;\n  vertical-align: top;\n  background: rgba(190, 190, 190, 0.2);\n  width: 32px;\n  height: 32px;\n  line-height: 32px;\n}\n.ant-skeleton-header .ant-skeleton-avatar.ant-skeleton-avatar-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-header .ant-skeleton-avatar-lg {\n  width: 40px;\n  height: 40px;\n  line-height: 40px;\n}\n.ant-skeleton-header .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-header .ant-skeleton-avatar-sm {\n  width: 24px;\n  height: 24px;\n  line-height: 24px;\n}\n.ant-skeleton-header .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-content {\n  display: table-cell;\n  width: 100%;\n  vertical-align: top;\n}\n.ant-skeleton-content .ant-skeleton-title {\n  width: 100%;\n  height: 16px;\n  margin-top: 16px;\n  background: rgba(190, 190, 190, 0.2);\n  border-radius: 4px;\n}\n.ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {\n  margin-top: 24px;\n}\n.ant-skeleton-content .ant-skeleton-paragraph {\n  padding: 0;\n}\n.ant-skeleton-content .ant-skeleton-paragraph > li {\n  width: 100%;\n  height: 16px;\n  list-style: none;\n  background: rgba(190, 190, 190, 0.2);\n  border-radius: 4px;\n}\n.ant-skeleton-content .ant-skeleton-paragraph > li:last-child:not(:first-child):not(:nth-child(2)) {\n  width: 61%;\n}\n.ant-skeleton-content .ant-skeleton-paragraph > li + li {\n  margin-top: 16px;\n}\n.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title {\n  margin-top: 12px;\n}\n.ant-skeleton-with-avatar .ant-skeleton-content .ant-skeleton-title + .ant-skeleton-paragraph {\n  margin-top: 28px;\n}\n.ant-skeleton-round .ant-skeleton-content .ant-skeleton-title,\n.ant-skeleton-round .ant-skeleton-content .ant-skeleton-paragraph > li {\n  border-radius: 100px;\n}\n.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,\n.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {\n  background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);\n  background-size: 400% 100%;\n  -webkit-animation: ant-skeleton-loading 1.4s ease infinite;\n          animation: ant-skeleton-loading 1.4s ease infinite;\n}\n.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {\n  background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);\n  background-size: 400% 100%;\n  -webkit-animation: ant-skeleton-loading 1.4s ease infinite;\n          animation: ant-skeleton-loading 1.4s ease infinite;\n}\n.ant-skeleton.ant-skeleton-active .ant-skeleton-button {\n  background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);\n  background-size: 400% 100%;\n  -webkit-animation: ant-skeleton-loading 1.4s ease infinite;\n          animation: ant-skeleton-loading 1.4s ease infinite;\n}\n.ant-skeleton.ant-skeleton-active .ant-skeleton-input {\n  background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);\n  background-size: 400% 100%;\n  -webkit-animation: ant-skeleton-loading 1.4s ease infinite;\n          animation: ant-skeleton-loading 1.4s ease infinite;\n}\n.ant-skeleton.ant-skeleton-active .ant-skeleton-image {\n  background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);\n  background-size: 400% 100%;\n  -webkit-animation: ant-skeleton-loading 1.4s ease infinite;\n          animation: ant-skeleton-loading 1.4s ease infinite;\n}\n.ant-skeleton-element {\n  display: inline-block;\n  width: auto;\n}\n.ant-skeleton-element .ant-skeleton-button {\n  display: inline-block;\n  vertical-align: top;\n  background: rgba(190, 190, 190, 0.2);\n  border-radius: 2px;\n  width: 64px;\n  height: 32px;\n  line-height: 32px;\n}\n.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-circle {\n  width: 32px;\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-button.ant-skeleton-button-round {\n  border-radius: 32px;\n}\n.ant-skeleton-element .ant-skeleton-button-lg {\n  width: 80px;\n  height: 40px;\n  line-height: 40px;\n}\n.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-circle {\n  width: 40px;\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-button-lg.ant-skeleton-button-round {\n  border-radius: 40px;\n}\n.ant-skeleton-element .ant-skeleton-button-sm {\n  width: 48px;\n  height: 24px;\n  line-height: 24px;\n}\n.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-circle {\n  width: 24px;\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-button-sm.ant-skeleton-button-round {\n  border-radius: 24px;\n}\n.ant-skeleton-element .ant-skeleton-avatar {\n  display: inline-block;\n  vertical-align: top;\n  background: rgba(190, 190, 190, 0.2);\n  width: 32px;\n  height: 32px;\n  line-height: 32px;\n}\n.ant-skeleton-element .ant-skeleton-avatar.ant-skeleton-avatar-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-avatar-lg {\n  width: 40px;\n  height: 40px;\n  line-height: 40px;\n}\n.ant-skeleton-element .ant-skeleton-avatar-lg.ant-skeleton-avatar-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-avatar-sm {\n  width: 24px;\n  height: 24px;\n  line-height: 24px;\n}\n.ant-skeleton-element .ant-skeleton-avatar-sm.ant-skeleton-avatar-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-input {\n  display: inline-block;\n  vertical-align: top;\n  background: rgba(190, 190, 190, 0.2);\n  width: 100%;\n  height: 32px;\n  line-height: 32px;\n}\n.ant-skeleton-element .ant-skeleton-input-lg {\n  width: 100%;\n  height: 40px;\n  line-height: 40px;\n}\n.ant-skeleton-element .ant-skeleton-input-sm {\n  width: 100%;\n  height: 24px;\n  line-height: 24px;\n}\n.ant-skeleton-element .ant-skeleton-image {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  vertical-align: top;\n  background: rgba(190, 190, 190, 0.2);\n  width: 96px;\n  height: 96px;\n  line-height: 96px;\n}\n.ant-skeleton-element .ant-skeleton-image.ant-skeleton-image-circle {\n  border-radius: 50%;\n}\n.ant-skeleton-element .ant-skeleton-image-path {\n  fill: #bfbfbf;\n}\n.ant-skeleton-element .ant-skeleton-image-svg {\n  width: 48px;\n  height: 48px;\n  line-height: 48px;\n  max-width: 192px;\n  max-height: 192px;\n}\n.ant-skeleton-element .ant-skeleton-image-svg.ant-skeleton-image-circle {\n  border-radius: 50%;\n}\n@-webkit-keyframes ant-skeleton-loading {\n  0% {\n    background-position: 100% 50%;\n  }\n  100% {\n    background-position: 0 50%;\n  }\n}\n@keyframes ant-skeleton-loading {\n  0% {\n    background-position: 100% 50%;\n  }\n  100% {\n    background-position: 0 50%;\n  }\n}\n.ant-skeleton-rtl {\n  direction: rtl;\n}\n.ant-skeleton-rtl .ant-skeleton-header {\n  padding-right: 0;\n  padding-left: 16px;\n}\n.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-title,\n.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-content .ant-skeleton-paragraph > li {\n  -webkit-animation-name: ant-skeleton-loading-rtl;\n          animation-name: ant-skeleton-loading-rtl;\n}\n.ant-skeleton-rtl.ant-skeleton.ant-skeleton-active .ant-skeleton-avatar {\n  -webkit-animation-name: ant-skeleton-loading-rtl;\n          animation-name: ant-skeleton-loading-rtl;\n}\n@-webkit-keyframes ant-skeleton-loading-rtl {\n  0% {\n    background-position: 0% 50%;\n  }\n  100% {\n    background-position: 100% 50%;\n  }\n}\n@keyframes ant-skeleton-loading-rtl {\n  0% {\n    background-position: 0% 50%;\n  }\n  100% {\n    background-position: 100% 50%;\n  }\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-slider {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  height: 12px;\n  margin: 10px 6px 10px;\n  padding: 4px 0;\n  cursor: pointer;\n  touch-action: none;\n}\n.ant-slider-vertical {\n  width: 12px;\n  height: 100%;\n  margin: 6px 10px;\n  padding: 0 4px;\n}\n.ant-slider-vertical .ant-slider-rail {\n  width: 4px;\n  height: 100%;\n}\n.ant-slider-vertical .ant-slider-track {\n  width: 4px;\n}\n.ant-slider-vertical .ant-slider-handle {\n  margin-top: -6px;\n  margin-left: -5px;\n}\n.ant-slider-vertical .ant-slider-mark {\n  top: 0;\n  left: 12px;\n  width: 18px;\n  height: 100%;\n}\n.ant-slider-vertical .ant-slider-mark-text {\n  left: 4px;\n  white-space: nowrap;\n}\n.ant-slider-vertical .ant-slider-step {\n  width: 4px;\n  height: 100%;\n}\n.ant-slider-vertical .ant-slider-dot {\n  top: auto;\n  left: 2px;\n  margin-bottom: -4px;\n}\n.ant-slider-tooltip .ant-tooltip-inner {\n  min-width: unset;\n}\n.ant-slider-rtl.ant-slider-vertical .ant-slider-handle {\n  margin-right: -5px;\n  margin-left: 0;\n}\n.ant-slider-rtl.ant-slider-vertical .ant-slider-mark {\n  right: 12px;\n  left: auto;\n}\n.ant-slider-rtl.ant-slider-vertical .ant-slider-mark-text {\n  right: 4px;\n  left: auto;\n}\n.ant-slider-rtl.ant-slider-vertical .ant-slider-dot {\n  right: 2px;\n  left: auto;\n}\n.ant-slider-with-marks {\n  margin-bottom: 28px;\n}\n.ant-slider-rail {\n  position: absolute;\n  width: 100%;\n  height: 4px;\n  background-color: #f5f5f5;\n  border-radius: 2px;\n  transition: background-color 0.3s;\n}\n.ant-slider-track {\n  position: absolute;\n  height: 4px;\n  background-color: #91d5ff;\n  border-radius: 2px;\n  transition: background-color 0.3s;\n}\n.ant-slider-handle {\n  position: absolute;\n  width: 14px;\n  height: 14px;\n  margin-top: -5px;\n  background-color: #fff;\n  border: solid 2px #91d5ff;\n  border-radius: 50%;\n  box-shadow: 0;\n  cursor: pointer;\n  transition: border-color 0.3s, box-shadow 0.6s, transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);\n}\n.ant-slider-handle-dragging.ant-slider-handle-dragging.ant-slider-handle-dragging {\n  border-color: #46a6ff;\n  box-shadow: 0 0 0 5px rgba(24, 144, 255, 0.12);\n}\n.ant-slider-handle:focus {\n  border-color: #46a6ff;\n  outline: none;\n  box-shadow: 0 0 0 5px rgba(24, 144, 255, 0.12);\n}\n.ant-slider-handle.ant-tooltip-open {\n  border-color: #1890ff;\n}\n.ant-slider:hover .ant-slider-rail {\n  background-color: #e1e1e1;\n}\n.ant-slider:hover .ant-slider-track {\n  background-color: #69c0ff;\n}\n.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open) {\n  border-color: #69c0ff;\n}\n.ant-slider-mark {\n  position: absolute;\n  top: 14px;\n  left: 0;\n  width: 100%;\n  font-size: 14px;\n}\n.ant-slider-mark-text {\n  position: absolute;\n  display: inline-block;\n  color: rgba(0, 0, 0, 0.45);\n  text-align: center;\n  word-break: keep-all;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-slider-mark-text-active {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-slider-step {\n  position: absolute;\n  width: 100%;\n  height: 4px;\n  background: transparent;\n}\n.ant-slider-dot {\n  position: absolute;\n  top: -2px;\n  width: 8px;\n  height: 8px;\n  margin-left: -4px;\n  background-color: #fff;\n  border: 2px solid #f0f0f0;\n  border-radius: 50%;\n  cursor: pointer;\n}\n.ant-slider-dot:first-child {\n  margin-left: -4px;\n}\n.ant-slider-dot:last-child {\n  margin-left: -4px;\n}\n.ant-slider-dot-active {\n  border-color: #8cc8ff;\n}\n.ant-slider-disabled {\n  cursor: not-allowed;\n}\n.ant-slider-disabled .ant-slider-track {\n  background-color: rgba(0, 0, 0, 0.25) !important;\n}\n.ant-slider-disabled .ant-slider-handle,\n.ant-slider-disabled .ant-slider-dot {\n  background-color: #fff;\n  border-color: rgba(0, 0, 0, 0.25) !important;\n  box-shadow: none;\n  cursor: not-allowed;\n}\n.ant-slider-disabled .ant-slider-mark-text,\n.ant-slider-disabled .ant-slider-dot {\n  cursor: not-allowed !important;\n}\n.ant-slider-rtl {\n  direction: rtl;\n}\n.ant-slider-rtl .ant-slider-mark {\n  right: 0;\n  left: auto;\n}\n.ant-slider-rtl .ant-slider-dot {\n  margin-right: -4px;\n  margin-left: 0;\n}\n.ant-slider-rtl .ant-slider-dot:first-child {\n  margin-right: -4px;\n  margin-left: 0;\n}\n.ant-slider-rtl .ant-slider-dot:last-child {\n  margin-right: -4px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-space {\n  display: inline-flex;\n}\n.ant-space-vertical {\n  flex-direction: column;\n}\n.ant-space-align-center {\n  align-items: center;\n}\n.ant-space-align-start {\n  align-items: flex-start;\n}\n.ant-space-align-end {\n  align-items: flex-end;\n}\n.ant-space-align-baseline {\n  align-items: baseline;\n}\n.ant-space-item:empty {\n  display: none;\n}\n.ant-space-rtl {\n  direction: rtl;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-statistic {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n}\n.ant-statistic-title {\n  margin-bottom: 4px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n}\n.ant-statistic-content {\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 24px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n}\n.ant-statistic-content-value {\n  display: inline-block;\n  direction: ltr;\n}\n.ant-statistic-content-prefix,\n.ant-statistic-content-suffix {\n  display: inline-block;\n}\n.ant-statistic-content-prefix {\n  margin-right: 4px;\n}\n.ant-statistic-content-suffix {\n  margin-left: 4px;\n}\n.ant-statistic-rtl {\n  direction: rtl;\n}\n.ant-statistic-rtl .ant-statistic-content-prefix {\n  margin-right: 0;\n  margin-left: 4px;\n}\n.ant-statistic-rtl .ant-statistic-content-suffix {\n  margin-right: 4px;\n  margin-left: 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-steps {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: flex;\n  width: 100%;\n  font-size: 0;\n  text-align: initial;\n}\n.ant-steps-item {\n  position: relative;\n  display: inline-block;\n  flex: 1;\n  overflow: hidden;\n  vertical-align: top;\n}\n.ant-steps-item-container {\n  outline: none;\n}\n.ant-steps-item:last-child {\n  flex: none;\n}\n.ant-steps-item:last-child > .ant-steps-item-container > .ant-steps-item-tail,\n.ant-steps-item:last-child > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {\n  display: none;\n}\n.ant-steps-item-icon,\n.ant-steps-item-content {\n  display: inline-block;\n  vertical-align: top;\n}\n.ant-steps-item-icon {\n  width: 32px;\n  height: 32px;\n  margin: 0 8px 0 0;\n  font-size: 16px;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n  line-height: 32px;\n  text-align: center;\n  border: 1px solid rgba(0, 0, 0, 0.25);\n  border-radius: 32px;\n  transition: background-color 0.3s, border-color 0.3s;\n}\n.ant-steps-item-icon .ant-steps-icon {\n  position: relative;\n  top: -0.5px;\n  color: #1890ff;\n  line-height: 1;\n}\n.ant-steps-item-tail {\n  position: absolute;\n  top: 12px;\n  left: 0;\n  width: 100%;\n  padding: 0 10px;\n}\n.ant-steps-item-tail::after {\n  display: inline-block;\n  width: 100%;\n  height: 1px;\n  background: #f0f0f0;\n  border-radius: 1px;\n  transition: background 0.3s;\n  content: '';\n}\n.ant-steps-item-title {\n  position: relative;\n  display: inline-block;\n  padding-right: 16px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 16px;\n  line-height: 32px;\n}\n.ant-steps-item-title::after {\n  position: absolute;\n  top: 16px;\n  left: 100%;\n  display: block;\n  width: 9999px;\n  height: 1px;\n  background: #f0f0f0;\n  content: '';\n}\n.ant-steps-item-subtitle {\n  display: inline;\n  margin-left: 8px;\n  color: rgba(0, 0, 0, 0.45);\n  font-weight: normal;\n  font-size: 14px;\n}\n.ant-steps-item-description {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n}\n.ant-steps-item-wait .ant-steps-item-icon {\n  background-color: #fff;\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-steps-item-wait .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {\n  background: rgba(0, 0, 0, 0.25);\n}\n.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {\n  background-color: #f0f0f0;\n}\n.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-description {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-steps-item-wait > .ant-steps-item-container > .ant-steps-item-tail::after {\n  background-color: #f0f0f0;\n}\n.ant-steps-item-process .ant-steps-item-icon {\n  background-color: #fff;\n  border-color: #1890ff;\n}\n.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {\n  color: #1890ff;\n}\n.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {\n  background: #1890ff;\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {\n  background-color: #f0f0f0;\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-description {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-tail::after {\n  background-color: #f0f0f0;\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon {\n  background: #1890ff;\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-icon .ant-steps-icon {\n  color: #fff;\n}\n.ant-steps-item-process > .ant-steps-item-container > .ant-steps-item-title {\n  font-weight: 500;\n}\n.ant-steps-item-finish .ant-steps-item-icon {\n  background-color: #fff;\n  border-color: #1890ff;\n}\n.ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon {\n  color: #1890ff;\n}\n.ant-steps-item-finish .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {\n  background: #1890ff;\n}\n.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {\n  background-color: #1890ff;\n}\n.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-description {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-steps-item-finish > .ant-steps-item-container > .ant-steps-item-tail::after {\n  background-color: #1890ff;\n}\n.ant-steps-item-error .ant-steps-item-icon {\n  background-color: #fff;\n  border-color: #ff4d4f;\n}\n.ant-steps-item-error .ant-steps-item-icon > .ant-steps-icon {\n  color: #ff4d4f;\n}\n.ant-steps-item-error .ant-steps-item-icon > .ant-steps-icon .ant-steps-icon-dot {\n  background: #ff4d4f;\n}\n.ant-steps-item-error > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title {\n  color: #ff4d4f;\n}\n.ant-steps-item-error > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {\n  background-color: #f0f0f0;\n}\n.ant-steps-item-error > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-description {\n  color: #ff4d4f;\n}\n.ant-steps-item-error > .ant-steps-item-container > .ant-steps-item-tail::after {\n  background-color: #f0f0f0;\n}\n.ant-steps-item.ant-steps-next-error .ant-steps-item-title::after {\n  background: #ff4d4f;\n}\n.ant-steps-item-disabled {\n  cursor: not-allowed;\n}\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button'] {\n  cursor: pointer;\n}\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button'] .ant-steps-item-title,\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button'] .ant-steps-item-subtitle,\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button'] .ant-steps-item-description,\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button'] .ant-steps-item-icon .ant-steps-icon {\n  transition: color 0.3s;\n}\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button']:hover .ant-steps-item-title,\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button']:hover .ant-steps-item-subtitle,\n.ant-steps .ant-steps-item:not(.ant-steps-item-active) > .ant-steps-item-container[role='button']:hover .ant-steps-item-description {\n  color: #1890ff;\n}\n.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process) > .ant-steps-item-container[role='button']:hover .ant-steps-item-icon {\n  border-color: #1890ff;\n}\n.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process) > .ant-steps-item-container[role='button']:hover .ant-steps-item-icon .ant-steps-icon {\n  color: #1890ff;\n}\n.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item {\n  padding-left: 16px;\n  white-space: nowrap;\n}\n.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child {\n  padding-left: 0;\n}\n.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title {\n  padding-right: 0;\n}\n.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-tail {\n  display: none;\n}\n.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item-description {\n  max-width: 140px;\n  white-space: normal;\n}\n.ant-steps-item-custom > .ant-steps-item-container > .ant-steps-item-icon {\n  height: auto;\n  background: none;\n  border: 0;\n}\n.ant-steps-item-custom > .ant-steps-item-container > .ant-steps-item-icon > .ant-steps-icon {\n  top: 0px;\n  left: 0.5px;\n  width: 32px;\n  height: 32px;\n  font-size: 24px;\n  line-height: 32px;\n}\n.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon {\n  color: #1890ff;\n}\n.ant-steps:not(.ant-steps-vertical) .ant-steps-item-custom .ant-steps-item-icon {\n  width: auto;\n  background: none;\n}\n.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item {\n  padding-left: 12px;\n}\n.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child {\n  padding-left: 0;\n}\n.ant-steps-small .ant-steps-item-icon {\n  width: 24px;\n  height: 24px;\n  margin: 0 8px 0 0;\n  font-size: 12px;\n  line-height: 24px;\n  text-align: center;\n  border-radius: 24px;\n}\n.ant-steps-small .ant-steps-item-title {\n  padding-right: 12px;\n  font-size: 14px;\n  line-height: 24px;\n}\n.ant-steps-small .ant-steps-item-title::after {\n  top: 12px;\n}\n.ant-steps-small .ant-steps-item-description {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n}\n.ant-steps-small .ant-steps-item-tail {\n  top: 8px;\n}\n.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon {\n  width: inherit;\n  height: inherit;\n  line-height: inherit;\n  background: none;\n  border: 0;\n  border-radius: 0;\n}\n.ant-steps-small .ant-steps-item-custom .ant-steps-item-icon > .ant-steps-icon {\n  font-size: 24px;\n  line-height: 24px;\n  transform: none;\n}\n.ant-steps-vertical {\n  display: flex;\n  flex-direction: column;\n}\n.ant-steps-vertical > .ant-steps-item {\n  display: block;\n  flex: 1 0 auto;\n  padding-left: 0;\n  overflow: visible;\n}\n.ant-steps-vertical > .ant-steps-item .ant-steps-item-icon {\n  float: left;\n  margin-right: 16px;\n}\n.ant-steps-vertical > .ant-steps-item .ant-steps-item-content {\n  display: block;\n  min-height: 48px;\n  overflow: hidden;\n}\n.ant-steps-vertical > .ant-steps-item .ant-steps-item-title {\n  line-height: 32px;\n}\n.ant-steps-vertical > .ant-steps-item .ant-steps-item-description {\n  padding-bottom: 12px;\n}\n.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {\n  position: absolute;\n  top: 0;\n  left: 16px;\n  width: 1px;\n  height: 100%;\n  padding: 38px 0 6px;\n}\n.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail::after {\n  width: 1px;\n  height: 100%;\n}\n.ant-steps-vertical > .ant-steps-item:not(:last-child) > .ant-steps-item-container > .ant-steps-item-tail {\n  display: block;\n}\n.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-content > .ant-steps-item-title::after {\n  display: none;\n}\n.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail {\n  position: absolute;\n  top: 0;\n  left: 12px;\n  padding: 30px 0 6px;\n}\n.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-title {\n  line-height: 24px;\n}\n.ant-steps-label-vertical .ant-steps-item {\n  overflow: visible;\n}\n.ant-steps-label-vertical .ant-steps-item-tail {\n  margin-left: 58px;\n  padding: 3.5px 24px;\n}\n.ant-steps-label-vertical .ant-steps-item-content {\n  display: block;\n  width: 116px;\n  margin-top: 8px;\n  text-align: center;\n}\n.ant-steps-label-vertical .ant-steps-item-icon {\n  display: inline-block;\n  margin-left: 42px;\n}\n.ant-steps-label-vertical .ant-steps-item-title {\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-steps-label-vertical .ant-steps-item-title::after {\n  display: none;\n}\n.ant-steps-label-vertical .ant-steps-item-subtitle {\n  display: block;\n  margin-bottom: 4px;\n  margin-left: 0;\n  line-height: 1.5715;\n}\n.ant-steps-label-vertical.ant-steps-small:not(.ant-steps-dot) .ant-steps-item-icon {\n  margin-left: 46px;\n}\n.ant-steps-dot .ant-steps-item-title,\n.ant-steps-dot.ant-steps-small .ant-steps-item-title {\n  line-height: 1.5715;\n}\n.ant-steps-dot .ant-steps-item-tail,\n.ant-steps-dot.ant-steps-small .ant-steps-item-tail {\n  top: 2px;\n  width: 100%;\n  margin: 0 0 0 70px;\n  padding: 0;\n}\n.ant-steps-dot .ant-steps-item-tail::after,\n.ant-steps-dot.ant-steps-small .ant-steps-item-tail::after {\n  width: calc(100% - 20px);\n  height: 3px;\n  margin-left: 12px;\n}\n.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,\n.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot {\n  left: 2px;\n}\n.ant-steps-dot .ant-steps-item-icon,\n.ant-steps-dot.ant-steps-small .ant-steps-item-icon {\n  width: 8px;\n  height: 8px;\n  margin-left: 67px;\n  padding-right: 0;\n  line-height: 8px;\n  background: transparent;\n  border: 0;\n}\n.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,\n.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot {\n  position: relative;\n  float: left;\n  width: 100%;\n  height: 100%;\n  border-radius: 100px;\n  transition: all 0.3s;\n  /* expand hover area */\n}\n.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot::after,\n.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot::after {\n  position: absolute;\n  top: -12px;\n  left: -26px;\n  width: 60px;\n  height: 32px;\n  background: rgba(0, 0, 0, 0.001);\n  content: '';\n}\n.ant-steps-dot .ant-steps-item-content,\n.ant-steps-dot.ant-steps-small .ant-steps-item-content {\n  width: 140px;\n}\n.ant-steps-dot .ant-steps-item-process .ant-steps-item-icon,\n.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-item-icon {\n  position: relative;\n  top: -1px;\n  width: 10px;\n  height: 10px;\n  line-height: 10px;\n  background: none;\n}\n.ant-steps-dot .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot,\n.ant-steps-dot.ant-steps-small .ant-steps-item-process .ant-steps-icon:first-child .ant-steps-icon-dot {\n  left: 0;\n}\n.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon {\n  margin-top: 8px;\n  margin-left: 0;\n  background: none;\n}\n.ant-steps-vertical.ant-steps-dot .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {\n  top: 2px;\n  left: -9px;\n  margin: 0;\n  padding: 22px 0 4px;\n}\n.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot {\n  left: 0;\n}\n.ant-steps-vertical.ant-steps-dot .ant-steps-item-content {\n  width: inherit;\n}\n.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot {\n  left: -2px;\n}\n.ant-steps-navigation {\n  padding-top: 12px;\n}\n.ant-steps-navigation.ant-steps-small .ant-steps-item-container {\n  margin-left: -12px;\n}\n.ant-steps-navigation .ant-steps-item {\n  overflow: visible;\n  text-align: center;\n}\n.ant-steps-navigation .ant-steps-item-container {\n  display: inline-block;\n  height: 100%;\n  margin-left: -16px;\n  padding-bottom: 12px;\n  text-align: left;\n  transition: opacity 0.3s;\n}\n.ant-steps-navigation .ant-steps-item-container .ant-steps-item-content {\n  max-width: auto;\n}\n.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title {\n  max-width: 100%;\n  padding-right: 0;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title::after {\n  display: none;\n}\n.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role='button'] {\n  cursor: pointer;\n}\n.ant-steps-navigation .ant-steps-item:not(.ant-steps-item-active) .ant-steps-item-container[role='button']:hover {\n  opacity: 0.85;\n}\n.ant-steps-navigation .ant-steps-item:last-child {\n  flex: 1;\n}\n.ant-steps-navigation .ant-steps-item:last-child::after {\n  display: none;\n}\n.ant-steps-navigation .ant-steps-item::after {\n  position: absolute;\n  top: 50%;\n  left: 100%;\n  display: inline-block;\n  width: 12px;\n  height: 12px;\n  margin-top: -14px;\n  margin-left: -2px;\n  border: 1px solid rgba(0, 0, 0, 0.25);\n  border-bottom: none;\n  border-left: none;\n  transform: rotate(45deg);\n  content: '';\n}\n.ant-steps-navigation .ant-steps-item::before {\n  position: absolute;\n  bottom: 0;\n  left: 50%;\n  display: inline-block;\n  width: 0;\n  height: 2px;\n  background-color: #1890ff;\n  transition: width 0.3s, left 0.3s;\n  transition-timing-function: ease-out;\n  content: '';\n}\n.ant-steps-navigation .ant-steps-item.ant-steps-item-active::before {\n  left: 0;\n  width: 100%;\n}\n.ant-steps-navigation.ant-steps-vertical > .ant-steps-item {\n  margin-right: 0 !important;\n}\n.ant-steps-navigation.ant-steps-vertical > .ant-steps-item::before {\n  display: none;\n}\n.ant-steps-navigation.ant-steps-vertical > .ant-steps-item.ant-steps-item-active::before {\n  top: 0;\n  right: 0;\n  left: unset;\n  display: block;\n  width: 3px;\n  height: calc(100% - 24px);\n}\n.ant-steps-navigation.ant-steps-vertical > .ant-steps-item::after {\n  position: relative;\n  top: -2px;\n  left: 50%;\n  display: block;\n  width: 8px;\n  height: 8px;\n  margin-bottom: 8px;\n  text-align: center;\n  transform: rotate(135deg);\n}\n.ant-steps-navigation.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {\n  visibility: hidden;\n}\n.ant-steps-rtl {\n  direction: rtl;\n}\n.ant-steps.ant-steps-rtl .ant-steps-item-icon {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-steps-rtl .ant-steps-item-tail {\n  right: 0;\n  left: auto;\n}\n.ant-steps-rtl .ant-steps-item-title {\n  padding-right: 0;\n  padding-left: 16px;\n}\n.ant-steps-rtl .ant-steps-item-title::after {\n  right: 100%;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item {\n  padding-right: 16px;\n  padding-left: 0;\n}\n.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child {\n  padding-right: 0;\n}\n.ant-steps-rtl.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:last-child .ant-steps-item-title {\n  padding-left: 0;\n}\n.ant-steps-rtl .ant-steps-item-custom .ant-steps-item-icon > .ant-steps-icon {\n  right: 0.5px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-navigation.ant-steps-small .ant-steps-item-container {\n  margin-right: -12px;\n  margin-left: 0;\n}\n.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container {\n  margin-right: -16px;\n  margin-left: 0;\n  text-align: right;\n}\n.ant-steps-rtl.ant-steps-navigation .ant-steps-item-container .ant-steps-item-title {\n  padding-left: 0;\n}\n.ant-steps-rtl.ant-steps-navigation .ant-steps-item::after {\n  right: 100%;\n  left: auto;\n  margin-right: -2px;\n  margin-left: 0;\n  transform: rotate(225deg);\n}\n.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item {\n  padding-right: 12px;\n  padding-left: 0;\n}\n.ant-steps-rtl.ant-steps-small.ant-steps-horizontal:not(.ant-steps-label-vertical) .ant-steps-item:first-child {\n  padding-right: 0;\n}\n.ant-steps-rtl.ant-steps-small .ant-steps-item-title {\n  padding-right: 0;\n  padding-left: 12px;\n}\n.ant-steps-rtl.ant-steps-vertical > .ant-steps-item .ant-steps-item-icon {\n  float: right;\n  margin-right: 0;\n  margin-left: 16px;\n}\n.ant-steps-rtl.ant-steps-vertical > .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {\n  right: 16px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-vertical.ant-steps-small .ant-steps-item-container .ant-steps-item-tail {\n  right: 12px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-label-vertical .ant-steps-item-title {\n  padding-left: 0;\n}\n.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail,\n.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail {\n  margin: 0 70px 0 0;\n}\n.ant-steps-rtl.ant-steps-dot .ant-steps-item-tail::after,\n.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-tail::after {\n  margin-right: 12px;\n  margin-left: 0;\n}\n.ant-steps-rtl.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot,\n.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item:first-child .ant-steps-icon-dot {\n  right: 2px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon,\n.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon {\n  margin-right: 67px;\n  margin-left: 0;\n}\n.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,\n.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot {\n  /* expand hover area */\n}\n.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot,\n.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot {\n  float: right;\n}\n.ant-steps-rtl.ant-steps-dot .ant-steps-item-icon .ant-steps-icon-dot::after,\n.ant-steps-rtl.ant-steps-dot.ant-steps-small .ant-steps-item-icon .ant-steps-icon-dot::after {\n  right: -26px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-icon {\n  margin-right: 0;\n  margin-left: 16px;\n}\n.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {\n  right: -9px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item:first-child .ant-steps-icon-dot {\n  right: 0;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-icon-dot {\n  right: -2px;\n  left: auto;\n}\n.ant-steps-rtl.ant-steps-with-progress.ant-steps-horizontal.ant-steps-label-horizontal .ant-steps-item:first-child.ant-steps-item-active {\n  padding-right: 4px;\n}\n.ant-steps-with-progress .ant-steps-item {\n  padding-top: 4px;\n}\n.ant-steps-with-progress .ant-steps-item .ant-steps-item-tail {\n  top: 4px !important;\n}\n.ant-steps-with-progress.ant-steps-horizontal .ant-steps-item:first-child {\n  padding-bottom: 4px;\n  padding-left: 4px;\n}\n.ant-steps-with-progress .ant-steps-item-icon {\n  position: relative;\n}\n.ant-steps-with-progress .ant-steps-item-icon .ant-progress {\n  position: absolute;\n  top: -5px;\n  right: -5px;\n  bottom: -5px;\n  left: -5px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-switch {\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: inline-block;\n  box-sizing: border-box;\n  min-width: 44px;\n  height: 22px;\n  line-height: 22px;\n  vertical-align: middle;\n  background-color: rgba(0, 0, 0, 0.25);\n  border: 0;\n  border-radius: 100px;\n  cursor: pointer;\n  transition: all 0.2s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-switch:focus {\n  outline: 0;\n  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);\n}\n.ant-switch-checked:focus {\n  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);\n}\n.ant-switch:focus:hover {\n  box-shadow: none;\n}\n.ant-switch-checked {\n  background-color: #1890ff;\n}\n.ant-switch-loading,\n.ant-switch-disabled {\n  cursor: not-allowed;\n  opacity: 0.4;\n}\n.ant-switch-loading *,\n.ant-switch-disabled * {\n  box-shadow: none;\n  cursor: not-allowed;\n}\n.ant-switch-inner {\n  display: block;\n  margin: 0 7px 0 25px;\n  color: #fff;\n  font-size: 12px;\n  transition: margin 0.2s;\n}\n.ant-switch-checked .ant-switch-inner {\n  margin: 0 25px 0 7px;\n}\n.ant-switch-handle {\n  position: absolute;\n  top: 2px;\n  left: 2px;\n  width: 18px;\n  height: 18px;\n  transition: all 0.2s ease-in-out;\n}\n.ant-switch-handle::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  background-color: #fff;\n  border-radius: 9px;\n  box-shadow: 0 2px 4px 0 rgba(0, 35, 11, 0.2);\n  transition: all 0.2s ease-in-out;\n  content: '';\n}\n.ant-switch-checked .ant-switch-handle {\n  left: calc(100% - 18px - 2px);\n}\n.ant-switch:not(.ant-switch-disabled):active .ant-switch-handle::before {\n  right: -30%;\n  left: 0;\n}\n.ant-switch:not(.ant-switch-disabled):active.ant-switch-checked .ant-switch-handle::before {\n  right: 0;\n  left: -30%;\n}\n.ant-switch-loading-icon {\n  position: relative;\n  top: 2px;\n  color: rgba(0, 0, 0, 0.65);\n  vertical-align: top;\n}\n.ant-switch-checked .ant-switch-loading-icon {\n  color: #1890ff;\n}\n.ant-switch-small {\n  min-width: 28px;\n  height: 16px;\n  line-height: 16px;\n}\n.ant-switch-small .ant-switch-inner {\n  margin: 0 5px 0 18px;\n  font-size: 12px;\n}\n.ant-switch-small .ant-switch-handle {\n  width: 12px;\n  height: 12px;\n}\n.ant-switch-small .ant-switch-loading-icon {\n  top: 1.5px;\n  font-size: 9px;\n}\n.ant-switch-small.ant-switch-checked .ant-switch-inner {\n  margin: 0 18px 0 5px;\n}\n.ant-switch-small.ant-switch-checked .ant-switch-handle {\n  left: calc(100% - 12px - 2px);\n}\n.ant-switch-rtl {\n  direction: rtl;\n}\n.ant-switch-rtl .ant-switch-inner {\n  margin: 0 25px 0 7px;\n}\n.ant-switch-rtl .ant-switch-handle {\n  right: 2px;\n  left: auto;\n}\n.ant-switch-rtl:not(.ant-switch-rtl-disabled):active .ant-switch-handle::before {\n  right: 0;\n  left: -30%;\n}\n.ant-switch-rtl:not(.ant-switch-rtl-disabled):active.ant-switch-checked .ant-switch-handle::before {\n  right: -30%;\n  left: 0;\n}\n.ant-switch-rtl.ant-switch-checked .ant-switch-inner {\n  margin: 0 7px 0 25px;\n}\n.ant-switch-rtl.ant-switch-checked .ant-switch-handle {\n  right: calc(100% - 18px - 2px);\n}\n.ant-switch-rtl.ant-switch-small.ant-switch-checked .ant-switch-handle {\n  right: calc(100% - 12px - 2px);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-table.ant-table-middle {\n  font-size: 14px;\n}\n.ant-table.ant-table-middle .ant-table-title,\n.ant-table.ant-table-middle .ant-table-footer,\n.ant-table.ant-table-middle .ant-table-thead > tr > th,\n.ant-table.ant-table-middle .ant-table-tbody > tr > td,\n.ant-table.ant-table-middle tfoot > tr > th,\n.ant-table.ant-table-middle tfoot > tr > td {\n  padding: 12px 8px;\n}\n.ant-table.ant-table-middle .ant-table-filter-trigger {\n  margin-right: -4px;\n}\n.ant-table.ant-table-middle .ant-table-expanded-row-fixed {\n  margin: -12px -8px;\n}\n.ant-table.ant-table-middle .ant-table-tbody .ant-table-wrapper:only-child .ant-table {\n  margin: -12px -8px -12px 25px;\n}\n.ant-table.ant-table-small {\n  font-size: 14px;\n}\n.ant-table.ant-table-small .ant-table-title,\n.ant-table.ant-table-small .ant-table-footer,\n.ant-table.ant-table-small .ant-table-thead > tr > th,\n.ant-table.ant-table-small .ant-table-tbody > tr > td,\n.ant-table.ant-table-small tfoot > tr > th,\n.ant-table.ant-table-small tfoot > tr > td {\n  padding: 8px 8px;\n}\n.ant-table.ant-table-small .ant-table-filter-trigger {\n  margin-right: -4px;\n}\n.ant-table.ant-table-small .ant-table-expanded-row-fixed {\n  margin: -8px -8px;\n}\n.ant-table.ant-table-small .ant-table-tbody .ant-table-wrapper:only-child .ant-table {\n  margin: -8px -8px -8px 25px;\n}\n.ant-table-small .ant-table-thead > tr > th {\n  background-color: #fafafa;\n}\n.ant-table-small .ant-table-selection-column {\n  width: 46px;\n  min-width: 46px;\n}\n.ant-table.ant-table-bordered > .ant-table-title {\n  border: 1px solid #f0f0f0;\n  border-bottom: 0;\n}\n.ant-table.ant-table-bordered > .ant-table-container {\n  border-left: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > td,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > td {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr:not(:last-child) > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr:not(:last-child) > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr:not(:last-child) > th,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr:not(:last-child) > th {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > th::before,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > th::before,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > th::before,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > th::before {\n  background-color: transparent !important;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > thead > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tfoot > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tfoot > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tfoot > tr > .ant-table-cell-fix-right-first::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tfoot > tr > .ant-table-cell-fix-right-first::after {\n  border-right: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td > .ant-table-expanded-row-fixed {\n  margin: -16px -17px;\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table > tbody > tr > td > .ant-table-expanded-row-fixed::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed::after,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-summary > table > tbody > tr > td > .ant-table-expanded-row-fixed::after {\n  position: absolute;\n  top: 0;\n  right: 1px;\n  bottom: 0;\n  border-right: 1px solid #f0f0f0;\n  content: '';\n}\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-content > table,\n.ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n  border-top: 1px solid #f0f0f0;\n}\n.ant-table.ant-table-bordered.ant-table-scroll-horizontal > .ant-table-container > .ant-table-body > table > tbody > tr.ant-table-expanded-row > td,\n.ant-table.ant-table-bordered.ant-table-scroll-horizontal > .ant-table-container > .ant-table-body > table > tbody > tr.ant-table-placeholder > td {\n  border-right: 0;\n}\n.ant-table.ant-table-bordered.ant-table-middle > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered.ant-table-middle > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed {\n  margin: -12px -9px;\n}\n.ant-table.ant-table-bordered.ant-table-small > .ant-table-container > .ant-table-content > table > tbody > tr > td > .ant-table-expanded-row-fixed,\n.ant-table.ant-table-bordered.ant-table-small > .ant-table-container > .ant-table-body > table > tbody > tr > td > .ant-table-expanded-row-fixed {\n  margin: -8px -9px;\n}\n.ant-table.ant-table-bordered > .ant-table-footer {\n  border: 1px solid #f0f0f0;\n  border-top: 0;\n}\n.ant-table-cell .ant-table-container:first-child {\n  border-top: 0;\n}\n.ant-table-cell-scrollbar {\n  box-shadow: 0 1px 0 1px #fafafa;\n}\n.ant-table-wrapper {\n  clear: both;\n  max-width: 100%;\n}\n.ant-table-wrapper::before {\n  display: table;\n  content: '';\n}\n.ant-table-wrapper::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-table {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  font-size: 14px;\n  background: #fff;\n  border-radius: 2px;\n}\n.ant-table table {\n  width: 100%;\n  text-align: left;\n  border-radius: 2px 2px 0 0;\n  border-collapse: separate;\n  border-spacing: 0;\n}\n.ant-table-thead > tr > th,\n.ant-table-tbody > tr > td,\n.ant-table tfoot > tr > th,\n.ant-table tfoot > tr > td {\n  position: relative;\n  padding: 16px 16px;\n  overflow-wrap: break-word;\n}\n.ant-table-cell-ellipsis {\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  word-break: keep-all;\n}\n.ant-table-cell-ellipsis.ant-table-cell-fix-left-last,\n.ant-table-cell-ellipsis.ant-table-cell-fix-right-first {\n  overflow: visible;\n}\n.ant-table-cell-ellipsis.ant-table-cell-fix-left-last .ant-table-cell-content,\n.ant-table-cell-ellipsis.ant-table-cell-fix-right-first .ant-table-cell-content {\n  display: block;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n.ant-table-cell-ellipsis .ant-table-column-title {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  word-break: keep-all;\n}\n.ant-table-title {\n  padding: 16px 16px;\n}\n.ant-table-footer {\n  padding: 16px 16px;\n  color: rgba(0, 0, 0, 0.85);\n  background: #fafafa;\n}\n.ant-table-thead > tr > th {\n  position: relative;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 500;\n  text-align: left;\n  background: #fafafa;\n  border-bottom: 1px solid #f0f0f0;\n  transition: background 0.3s ease;\n}\n.ant-table-thead > tr > th[colspan]:not([colspan='1']) {\n  text-align: center;\n}\n.ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n  position: absolute;\n  top: 50%;\n  right: 0;\n  width: 1px;\n  height: 1.6em;\n  background-color: rgba(0, 0, 0, 0.06);\n  transform: translateY(-50%);\n  transition: background-color 0.3s;\n  content: '';\n}\n.ant-table-thead > tr:not(:last-child) > th[colspan] {\n  border-bottom: 0;\n}\n.ant-table-tbody > tr > td {\n  border-bottom: 1px solid #f0f0f0;\n  transition: background 0.3s;\n}\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table {\n  margin: -16px -16px -16px 33px;\n}\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td {\n  border-bottom: 0;\n}\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:first-child,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:first-child,\n.ant-table-tbody > tr > td > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:last-child,\n.ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:last-child {\n  border-radius: 0;\n}\n.ant-table-tbody > tr.ant-table-row:hover > td {\n  background: #fafafa;\n}\n.ant-table-tbody > tr.ant-table-row-selected > td {\n  background: #e6f7ff;\n  border-color: rgba(0, 0, 0, 0.03);\n}\n.ant-table-tbody > tr.ant-table-row-selected:hover > td {\n  background: #dcf4ff;\n}\n.ant-table-summary {\n  position: relative;\n  z-index: 2;\n  background: #fff;\n}\ndiv.ant-table-summary {\n  box-shadow: 0 -1px 0 #f0f0f0;\n}\n.ant-table-summary > tr > th,\n.ant-table-summary > tr > td {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-table-pagination.ant-pagination {\n  margin: 16px 0;\n}\n.ant-table-pagination {\n  display: flex;\n  flex-wrap: wrap;\n  row-gap: 8px;\n}\n.ant-table-pagination > * {\n  flex: none;\n}\n.ant-table-pagination-left {\n  justify-content: flex-start;\n}\n.ant-table-pagination-center {\n  justify-content: center;\n}\n.ant-table-pagination-right {\n  justify-content: flex-end;\n}\n.ant-table-thead th.ant-table-column-has-sorters {\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-table-thead th.ant-table-column-has-sorters:hover {\n  background: rgba(0, 0, 0, 0.04);\n}\n.ant-table-thead th.ant-table-column-has-sorters:hover::before {\n  background-color: transparent !important;\n}\n.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-left:hover,\n.ant-table-thead th.ant-table-column-has-sorters.ant-table-cell-fix-right:hover {\n  background: #f5f5f5;\n}\n.ant-table-thead th.ant-table-column-sort {\n  background: #f5f5f5;\n}\n.ant-table-thead th.ant-table-column-sort::before {\n  background-color: transparent !important;\n}\ntd.ant-table-column-sort {\n  background: #fafafa;\n}\n.ant-table-column-title {\n  position: relative;\n  z-index: 1;\n  flex: 1;\n}\n.ant-table-column-sorters {\n  display: flex;\n  flex: auto;\n  align-items: center;\n  justify-content: space-between;\n}\n.ant-table-column-sorters::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  content: '';\n}\n.ant-table-column-sorter {\n  color: #bfbfbf;\n  font-size: 0;\n  transition: color 0.3s;\n}\n.ant-table-column-sorter-inner {\n  display: inline-flex;\n  flex-direction: column;\n  align-items: center;\n}\n.ant-table-column-sorter-up,\n.ant-table-column-sorter-down {\n  font-size: 11px;\n}\n.ant-table-column-sorter-up.active,\n.ant-table-column-sorter-down.active {\n  color: #1890ff;\n}\n.ant-table-column-sorter-up + .ant-table-column-sorter-down {\n  margin-top: -0.3em;\n}\n.ant-table-column-sorters:hover .ant-table-column-sorter {\n  color: #a6a6a6;\n}\n.ant-table-filter-column {\n  display: flex;\n  justify-content: space-between;\n}\n.ant-table-filter-trigger {\n  position: relative;\n  display: flex;\n  align-items: center;\n  margin: -4px -8px -4px 4px;\n  padding: 0 4px;\n  color: #bfbfbf;\n  font-size: 12px;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-table-filter-trigger:hover {\n  color: rgba(0, 0, 0, 0.45);\n  background: rgba(0, 0, 0, 0.04);\n}\n.ant-table-filter-trigger.active {\n  color: #1890ff;\n}\n.ant-table-filter-dropdown {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  min-width: 120px;\n  background-color: #fff;\n  border-radius: 2px;\n  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);\n}\n.ant-table-filter-dropdown .ant-dropdown-menu {\n  max-height: 264px;\n  overflow-x: hidden;\n  border: 0;\n  box-shadow: none;\n}\n.ant-table-filter-dropdown-submenu > ul {\n  max-height: calc(100vh - 130px);\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n.ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span {\n  padding-left: 8px;\n}\n.ant-table-filter-dropdown-btns {\n  display: flex;\n  justify-content: space-between;\n  padding: 7px 8px 7px 3px;\n  overflow: hidden;\n  background-color: inherit;\n  border-top: 1px solid #f0f0f0;\n}\n.ant-table-selection-col {\n  width: 32px;\n}\n.ant-table-bordered .ant-table-selection-col {\n  width: 50px;\n}\ntable tr th.ant-table-selection-column,\ntable tr td.ant-table-selection-column {\n  padding-right: 8px;\n  padding-left: 8px;\n  text-align: center;\n}\ntable tr th.ant-table-selection-column .ant-radio-wrapper,\ntable tr td.ant-table-selection-column .ant-radio-wrapper {\n  margin-right: 0;\n}\ntable tr th.ant-table-selection-column::after {\n  background-color: transparent !important;\n}\n.ant-table-selection {\n  position: relative;\n  display: inline-flex;\n  flex-direction: column;\n}\n.ant-table-selection-extra {\n  position: absolute;\n  top: 0;\n  z-index: 1;\n  cursor: pointer;\n  transition: all 0.3s;\n  -webkit-margin-start: 100%;\n          margin-inline-start: 100%;\n  -webkit-padding-start: 4px;\n          padding-inline-start: 4px;\n}\n.ant-table-selection-extra .anticon {\n  color: #bfbfbf;\n  font-size: 10px;\n}\n.ant-table-selection-extra .anticon:hover {\n  color: #a6a6a6;\n}\n.ant-table-expand-icon-col {\n  width: 48px;\n}\n.ant-table-row-expand-icon-cell {\n  text-align: center;\n}\n.ant-table-row-indent {\n  float: left;\n  height: 1px;\n}\n.ant-table-row-expand-icon {\n  color: #1890ff;\n  text-decoration: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  position: relative;\n  display: inline-flex;\n  float: left;\n  box-sizing: border-box;\n  width: 17px;\n  height: 17px;\n  padding: 0;\n  color: inherit;\n  line-height: 17px;\n  background: #fff;\n  border: 1px solid #f0f0f0;\n  border-radius: 2px;\n  outline: none;\n  transform: scale(0.94117647);\n  transition: all 0.3s;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-table-row-expand-icon:focus,\n.ant-table-row-expand-icon:hover {\n  color: #40a9ff;\n}\n.ant-table-row-expand-icon:active {\n  color: #096dd9;\n}\n.ant-table-row-expand-icon:focus,\n.ant-table-row-expand-icon:hover,\n.ant-table-row-expand-icon:active {\n  border-color: currentColor;\n}\n.ant-table-row-expand-icon::before,\n.ant-table-row-expand-icon::after {\n  position: absolute;\n  background: currentColor;\n  transition: transform 0.3s ease-out;\n  content: '';\n}\n.ant-table-row-expand-icon::before {\n  top: 7px;\n  right: 3px;\n  left: 3px;\n  height: 1px;\n}\n.ant-table-row-expand-icon::after {\n  top: 3px;\n  bottom: 3px;\n  left: 7px;\n  width: 1px;\n  transform: rotate(90deg);\n}\n.ant-table-row-expand-icon-collapsed::before {\n  transform: rotate(-180deg);\n}\n.ant-table-row-expand-icon-collapsed::after {\n  transform: rotate(0deg);\n}\n.ant-table-row-expand-icon-spaced {\n  background: transparent;\n  border: 0;\n  visibility: hidden;\n}\n.ant-table-row-expand-icon-spaced::before,\n.ant-table-row-expand-icon-spaced::after {\n  display: none;\n  content: none;\n}\n.ant-table-row-indent + .ant-table-row-expand-icon {\n  margin-top: 2.5005px;\n  margin-right: 8px;\n}\ntr.ant-table-expanded-row > td,\ntr.ant-table-expanded-row:hover > td {\n  background: #fbfbfb;\n}\ntr.ant-table-expanded-row .ant-descriptions-view {\n  display: flex;\n}\ntr.ant-table-expanded-row .ant-descriptions-view table {\n  flex: auto;\n  width: auto;\n}\n.ant-table .ant-table-expanded-row-fixed {\n  position: relative;\n  margin: -16px -16px;\n  padding: 16px 16px;\n}\n.ant-table-tbody > tr.ant-table-placeholder {\n  text-align: center;\n}\n.ant-table-empty .ant-table-tbody > tr.ant-table-placeholder {\n  color: rgba(0, 0, 0, 0.25);\n}\n.ant-table-tbody > tr.ant-table-placeholder:hover > td {\n  background: #fff;\n}\n.ant-table-cell-fix-left,\n.ant-table-cell-fix-right {\n  position: sticky !important;\n  z-index: 2;\n  background: #fff;\n}\n.ant-table-cell-fix-left-first::after,\n.ant-table-cell-fix-left-last::after {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: -1px;\n  width: 30px;\n  transform: translateX(100%);\n  transition: box-shadow 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-table-cell-fix-right-first::after,\n.ant-table-cell-fix-right-last::after {\n  position: absolute;\n  top: 0;\n  bottom: -1px;\n  left: 0;\n  width: 30px;\n  transform: translateX(-100%);\n  transition: box-shadow 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-table .ant-table-container::before,\n.ant-table .ant-table-container::after {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  z-index: 1;\n  width: 30px;\n  transition: box-shadow 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-table .ant-table-container::before {\n  left: 0;\n}\n.ant-table .ant-table-container::after {\n  right: 0;\n}\n.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container {\n  position: relative;\n}\n.ant-table-ping-left:not(.ant-table-has-fix-left) .ant-table-container::before {\n  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-ping-left .ant-table-cell-fix-left-first::after,\n.ant-table-ping-left .ant-table-cell-fix-left-last::after {\n  box-shadow: inset 10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-ping-left .ant-table-cell-fix-left-last::before {\n  background-color: transparent !important;\n}\n.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container {\n  position: relative;\n}\n.ant-table-ping-right:not(.ant-table-has-fix-right) .ant-table-container::after {\n  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-ping-right .ant-table-cell-fix-right-first::after,\n.ant-table-ping-right .ant-table-cell-fix-right-last::after {\n  box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.15);\n}\n.ant-table-sticky-holder {\n  position: sticky;\n  z-index: 3;\n  background: #fff;\n}\n.ant-table-sticky-scroll {\n  position: sticky;\n  bottom: 0;\n  z-index: 3;\n  display: flex;\n  align-items: center;\n  background: #ffffff;\n  border-top: 1px solid #f0f0f0;\n  opacity: 0.6;\n}\n.ant-table-sticky-scroll:hover {\n  transform-origin: center bottom;\n}\n.ant-table-sticky-scroll-bar {\n  height: 8px;\n  background-color: rgba(0, 0, 0, 0.35);\n  border-radius: 4px;\n}\n.ant-table-sticky-scroll-bar:hover {\n  background-color: rgba(0, 0, 0, 0.8);\n}\n.ant-table-sticky-scroll-bar-active {\n  background-color: rgba(0, 0, 0, 0.8);\n}\n@media all and (-ms-high-contrast: none) {\n  .ant-table-ping-left .ant-table-cell-fix-left-last::after {\n    box-shadow: none !important;\n  }\n  .ant-table-ping-right .ant-table-cell-fix-right-first::after {\n    box-shadow: none !important;\n  }\n}\n.ant-table {\n  /* title + table */\n  /* table */\n  /* table + footer */\n}\n.ant-table-title {\n  border-radius: 2px 2px 0 0;\n}\n.ant-table-title + .ant-table-container {\n  border-top-left-radius: 0;\n  border-top-right-radius: 0;\n}\n.ant-table-title + .ant-table-container table > thead > tr:first-child th:first-child {\n  border-radius: 0;\n}\n.ant-table-title + .ant-table-container table > thead > tr:first-child th:last-child {\n  border-radius: 0;\n}\n.ant-table-container {\n  border-top-left-radius: 2px;\n  border-top-right-radius: 2px;\n}\n.ant-table-container table > thead > tr:first-child th:first-child {\n  border-top-left-radius: 2px;\n}\n.ant-table-container table > thead > tr:first-child th:last-child {\n  border-top-right-radius: 2px;\n}\n.ant-table-footer {\n  border-radius: 0 0 2px 2px;\n}\n.ant-table-wrapper-rtl {\n  direction: rtl;\n}\n.ant-table-rtl {\n  direction: rtl;\n}\n.ant-table-wrapper-rtl .ant-table table {\n  text-align: right;\n}\n.ant-table-wrapper-rtl .ant-table-thead > tr > th[colspan]:not([colspan='1']) {\n  text-align: center;\n}\n.ant-table-wrapper-rtl .ant-table-thead > tr > th {\n  text-align: right;\n}\n.ant-table-tbody > tr .ant-table-wrapper:only-child .ant-table.ant-table-rtl {\n  margin: -16px 33px -16px -16px;\n}\n.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-left {\n  justify-content: flex-end;\n}\n.ant-table-wrapper.ant-table-wrapper-rtl .ant-table-pagination-right {\n  justify-content: flex-start;\n}\n.ant-table-wrapper-rtl .ant-table-column-sorter {\n  margin-right: 8px;\n  margin-left: 0;\n}\n.ant-table-wrapper-rtl .ant-table-filter-column-title {\n  padding: 16px 16px 16px 2.3em;\n}\n.ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title {\n  padding: 0 0 0 2.3em;\n}\n.ant-table-wrapper-rtl .ant-table-filter-trigger-container {\n  right: auto;\n  left: 0;\n}\n.ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span,\n.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown .ant-checkbox-wrapper + span,\n.ant-dropdown-menu-submenu-rtl.ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span {\n  padding-right: 8px;\n  padding-left: 0;\n}\n.ant-table-wrapper-rtl .ant-table-selection {\n  text-align: center;\n}\n.ant-table-wrapper-rtl .ant-table-row-indent {\n  float: right;\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon {\n  float: right;\n}\n.ant-table-wrapper-rtl .ant-table-row-indent + .ant-table-row-expand-icon {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon::after {\n  transform: rotate(-90deg);\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed::before {\n  transform: rotate(180deg);\n}\n.ant-table-wrapper-rtl .ant-table-row-expand-icon-collapsed::after {\n  transform: rotate(0deg);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-timeline {\n  box-sizing: border-box;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  font-feature-settings: 'tnum';\n  margin: 0;\n  padding: 0;\n  list-style: none;\n}\n.ant-timeline-item {\n  position: relative;\n  margin: 0;\n  padding-bottom: 20px;\n  font-size: 14px;\n  list-style: none;\n}\n.ant-timeline-item-tail {\n  position: absolute;\n  top: 10px;\n  left: 4px;\n  height: calc(100% - 10px);\n  border-left: 2px solid #f0f0f0;\n}\n.ant-timeline-item-pending .ant-timeline-item-head {\n  font-size: 12px;\n  background-color: transparent;\n}\n.ant-timeline-item-pending .ant-timeline-item-tail {\n  display: none;\n}\n.ant-timeline-item-head {\n  position: absolute;\n  width: 10px;\n  height: 10px;\n  background-color: #fff;\n  border: 2px solid transparent;\n  border-radius: 100px;\n}\n.ant-timeline-item-head-blue {\n  color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-timeline-item-head-red {\n  color: #ff4d4f;\n  border-color: #ff4d4f;\n}\n.ant-timeline-item-head-green {\n  color: #52c41a;\n  border-color: #52c41a;\n}\n.ant-timeline-item-head-gray {\n  color: rgba(0, 0, 0, 0.25);\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-timeline-item-head-custom {\n  position: absolute;\n  top: 5.5px;\n  left: 5px;\n  width: auto;\n  height: auto;\n  margin-top: 0;\n  padding: 3px 1px;\n  line-height: 1;\n  text-align: center;\n  border: 0;\n  border-radius: 0;\n  transform: translate(-50%, -50%);\n}\n.ant-timeline-item-content {\n  position: relative;\n  top: -7.001px;\n  margin: 0 0 0 26px;\n  word-break: break-word;\n}\n.ant-timeline-item-last > .ant-timeline-item-tail {\n  display: none;\n}\n.ant-timeline-item-last > .ant-timeline-item-content {\n  min-height: 48px;\n}\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,\n.ant-timeline.ant-timeline-right .ant-timeline-item-tail,\n.ant-timeline.ant-timeline-label .ant-timeline-item-tail,\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,\n.ant-timeline.ant-timeline-right .ant-timeline-item-head,\n.ant-timeline.ant-timeline-label .ant-timeline-item-head,\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,\n.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,\n.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom {\n  left: 50%;\n}\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,\n.ant-timeline.ant-timeline-right .ant-timeline-item-head,\n.ant-timeline.ant-timeline-label .ant-timeline-item-head {\n  margin-left: -4px;\n}\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,\n.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,\n.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom {\n  margin-left: 1px;\n}\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,\n.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content,\n.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content {\n  left: calc(50% - 4px);\n  width: calc(50% - 14px);\n  text-align: left;\n}\n.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,\n.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content,\n.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content {\n  width: calc(50% - 12px);\n  margin: 0;\n  text-align: right;\n}\n.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail,\n.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,\n.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom {\n  left: calc(100% - 4px - 2px);\n}\n.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content {\n  width: calc(100% - 18px);\n}\n.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail {\n  display: block;\n  height: calc(100% - 14px);\n  border-left: 2px dotted #f0f0f0;\n}\n.ant-timeline.ant-timeline-reverse .ant-timeline-item-last .ant-timeline-item-tail {\n  display: none;\n}\n.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail {\n  top: 15px;\n  display: block;\n  height: calc(100% - 15px);\n  border-left: 2px dotted #f0f0f0;\n}\n.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-content {\n  min-height: 48px;\n}\n.ant-timeline.ant-timeline-label .ant-timeline-item-label {\n  position: absolute;\n  top: -7.001px;\n  width: calc(50% - 12px);\n  text-align: right;\n}\n.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label {\n  left: calc(50% + 14px);\n  width: calc(50% - 14px);\n  text-align: left;\n}\n.ant-timeline-rtl {\n  direction: rtl;\n}\n.ant-timeline-rtl .ant-timeline-item-tail {\n  right: 4px;\n  left: auto;\n  border-right: 2px solid #f0f0f0;\n  border-left: none;\n}\n.ant-timeline-rtl .ant-timeline-item-head-custom {\n  right: 5px;\n  left: auto;\n  transform: translate(50%, -50%);\n}\n.ant-timeline-rtl .ant-timeline-item-content {\n  margin: 0 18px 0 0;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-tail,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-tail,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-tail,\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head,\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom {\n  right: 50%;\n  left: auto;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head {\n  margin-right: -4px;\n  margin-left: 0;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-head-custom,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-head-custom,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-head-custom {\n  margin-right: 1px;\n  margin-left: 0;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-left .ant-timeline-item-content,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-left .ant-timeline-item-content,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-left .ant-timeline-item-content {\n  right: calc(50% - 4px);\n  left: auto;\n  text-align: right;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-alternate .ant-timeline-item-right .ant-timeline-item-content,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content,\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-content {\n  text-align: left;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-tail,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head,\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-head-custom {\n  right: 0;\n  left: auto;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-right .ant-timeline-item-right .ant-timeline-item-content {\n  width: 100%;\n  margin-right: 18px;\n  text-align: right;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-pending .ant-timeline-item-last .ant-timeline-item-tail {\n  border-right: 2px dotted #f0f0f0;\n  border-left: none;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-reverse .ant-timeline-item-pending .ant-timeline-item-tail {\n  border-right: 2px dotted #f0f0f0;\n  border-left: none;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-label {\n  text-align: left;\n}\n.ant-timeline-rtl.ant-timeline.ant-timeline-label .ant-timeline-item-right .ant-timeline-item-label {\n  right: calc(50% + 14px);\n  text-align: right;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n@-webkit-keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-transfer-customize-list .ant-transfer-list {\n  flex: 1 1 50%;\n  width: auto;\n  height: auto;\n  min-height: 200px;\n}\n.ant-transfer-customize-list .ant-table-wrapper .ant-table-small {\n  border: 0;\n  border-radius: 0;\n}\n.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-selection-column {\n  width: 40px;\n  min-width: 40px;\n}\n.ant-transfer-customize-list .ant-table-wrapper .ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr > th {\n  background: #fafafa;\n}\n.ant-transfer-customize-list .ant-table-wrapper .ant-table-small > .ant-table-content .ant-table-row:last-child td {\n  border-bottom: 1px solid #f0f0f0;\n}\n.ant-transfer-customize-list .ant-table-wrapper .ant-table-small .ant-table-body {\n  margin: 0;\n}\n.ant-transfer-customize-list .ant-table-wrapper .ant-table-pagination.ant-pagination {\n  margin: 16px 0 4px;\n}\n.ant-transfer-customize-list .ant-input[disabled] {\n  background-color: transparent;\n}\n.ant-transfer {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  display: flex;\n  align-items: stretch;\n}\n.ant-transfer-disabled .ant-transfer-list {\n  background: #f5f5f5;\n}\n.ant-transfer-list {\n  display: flex;\n  flex-direction: column;\n  width: 180px;\n  height: 200px;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n}\n.ant-transfer-list-with-pagination {\n  width: 250px;\n  height: auto;\n}\n.ant-transfer-list-search {\n  padding-right: 24px;\n  padding-left: 8px;\n}\n.ant-transfer-list-search-action {\n  position: absolute;\n  top: 12px;\n  right: 12px;\n  bottom: 12px;\n  width: 28px;\n  color: rgba(0, 0, 0, 0.25);\n  line-height: 32px;\n  text-align: center;\n}\n.ant-transfer-list-search-action .anticon {\n  color: rgba(0, 0, 0, 0.25);\n  transition: all 0.3s;\n}\n.ant-transfer-list-search-action .anticon:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\nspan.ant-transfer-list-search-action {\n  pointer-events: none;\n}\n.ant-transfer-list-header {\n  display: flex;\n  flex: none;\n  align-items: center;\n  height: 40px;\n  padding: 8px 12px 9px;\n  color: rgba(0, 0, 0, 0.85);\n  background: #fff;\n  border-bottom: 1px solid #f0f0f0;\n  border-radius: 2px 2px 0 0;\n}\n.ant-transfer-list-header > *:not(:last-child) {\n  margin-right: 4px;\n}\n.ant-transfer-list-header > * {\n  flex: none;\n}\n.ant-transfer-list-header-title {\n  flex: auto;\n  overflow: hidden;\n  white-space: nowrap;\n  text-align: right;\n  text-overflow: ellipsis;\n}\n.ant-transfer-list-header-dropdown {\n  font-size: 10px;\n  transform: translateY(10%);\n  cursor: pointer;\n}\n.ant-transfer-list-header-dropdown[disabled] {\n  cursor: not-allowed;\n}\n.ant-transfer-list-body {\n  display: flex;\n  flex: auto;\n  flex-direction: column;\n  overflow: hidden;\n  font-size: 14px;\n}\n.ant-transfer-list-body-search-wrapper {\n  position: relative;\n  flex: none;\n  padding: 12px;\n}\n.ant-transfer-list-content {\n  flex: auto;\n  margin: 0;\n  padding: 0;\n  overflow: auto;\n  list-style: none;\n}\n.ant-transfer-list-content-item {\n  display: flex;\n  align-items: center;\n  min-height: 32px;\n  padding: 6px 12px;\n  line-height: 20px;\n  transition: all 0.3s;\n}\n.ant-transfer-list-content-item > *:not(:last-child) {\n  margin-right: 8px;\n}\n.ant-transfer-list-content-item > * {\n  flex: none;\n}\n.ant-transfer-list-content-item-text {\n  flex: auto;\n  overflow: hidden;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-transfer-list-content-item-remove {\n  color: #1890ff;\n  text-decoration: none;\n  outline: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  position: relative;\n  color: #d9d9d9;\n}\n.ant-transfer-list-content-item-remove:focus,\n.ant-transfer-list-content-item-remove:hover {\n  color: #40a9ff;\n}\n.ant-transfer-list-content-item-remove:active {\n  color: #096dd9;\n}\n.ant-transfer-list-content-item-remove::after {\n  position: absolute;\n  top: -6px;\n  right: -50%;\n  bottom: -6px;\n  left: -50%;\n  content: '';\n}\n.ant-transfer-list-content-item-remove:hover {\n  color: #40a9ff;\n}\n.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {\n  background-color: #f5f5f5;\n  cursor: pointer;\n}\n.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled).ant-transfer-list-content-item-checked:hover {\n  background-color: #dcf4ff;\n}\n.ant-transfer-list-content-show-remove .ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover {\n  background: transparent;\n  cursor: default;\n}\n.ant-transfer-list-content-item-checked {\n  background-color: #e6f7ff;\n}\n.ant-transfer-list-content-item-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-transfer-list-pagination {\n  padding: 8px 0;\n  text-align: right;\n  border-top: 1px solid #f0f0f0;\n}\n.ant-transfer-list-body-not-found {\n  flex: none;\n  width: 100%;\n  margin: auto 0;\n  color: rgba(0, 0, 0, 0.25);\n  text-align: center;\n}\n.ant-transfer-list-footer {\n  border-top: 1px solid #f0f0f0;\n}\n.ant-transfer-operation {\n  display: flex;\n  flex: none;\n  flex-direction: column;\n  align-self: center;\n  margin: 0 8px;\n  vertical-align: middle;\n}\n.ant-transfer-operation .ant-btn {\n  display: block;\n}\n.ant-transfer-operation .ant-btn:first-child {\n  margin-bottom: 4px;\n}\n.ant-transfer-operation .ant-btn .anticon {\n  font-size: 12px;\n}\n.ant-transfer .ant-empty-image {\n  max-height: -2px;\n}\n.ant-transfer-rtl {\n  direction: rtl;\n}\n.ant-transfer-rtl .ant-transfer-list-search {\n  padding-right: 8px;\n  padding-left: 24px;\n}\n.ant-transfer-rtl .ant-transfer-list-search-action {\n  right: auto;\n  left: 12px;\n}\n.ant-transfer-rtl .ant-transfer-list-header > *:not(:last-child) {\n  margin-right: 0;\n  margin-left: 4px;\n}\n.ant-transfer-rtl .ant-transfer-list-header {\n  right: 0;\n  left: auto;\n}\n.ant-transfer-rtl .ant-transfer-list-header-title {\n  text-align: left;\n}\n.ant-transfer-rtl .ant-transfer-list-content-item > *:not(:last-child) {\n  margin-right: 0;\n  margin-left: 8px;\n}\n.ant-transfer-rtl .ant-transfer-list-pagination {\n  text-align: left;\n}\n.ant-transfer-rtl .ant-transfer-list-footer {\n  right: 0;\n  left: auto;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line::before {\n  top: auto !important;\n  bottom: auto !important;\n  height: 14px !important;\n}\n@-webkit-keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-select-tree-checkbox {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  line-height: 1;\n  white-space: nowrap;\n  outline: none;\n  cursor: pointer;\n}\n.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,\n.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,\n.ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {\n  border-color: #1890ff;\n}\n.ant-select-tree-checkbox-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  visibility: hidden;\n  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;\n          animation: antCheckboxEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: backwards;\n          animation-fill-mode: backwards;\n  content: '';\n}\n.ant-select-tree-checkbox:hover::after,\n.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox::after {\n  visibility: visible;\n}\n.ant-select-tree-checkbox-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  direction: ltr;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  border-collapse: separate;\n  transition: all 0.3s;\n}\n.ant-select-tree-checkbox-inner::after {\n  position: absolute;\n  top: 50%;\n  left: 21.5%;\n  display: table;\n  width: 5.71428571px;\n  height: 9.14285714px;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(0) translate(-50%, -50%);\n  opacity: 0;\n  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n  content: ' ';\n}\n.ant-select-tree-checkbox-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {\n  position: absolute;\n  display: table;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(1) translate(-50%, -50%);\n  opacity: 1;\n  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n  content: ' ';\n}\n.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {\n  background-color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-select-tree-checkbox-disabled {\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {\n  border-color: rgba(0, 0, 0, 0.25);\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input {\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n}\n.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {\n  border-color: #f5f5f5;\n  border-collapse: separate;\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-select-tree-checkbox-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-disabled:hover::after,\n.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled::after {\n  visibility: hidden;\n}\n.ant-select-tree-checkbox-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-flex;\n  align-items: baseline;\n  line-height: unset;\n  cursor: pointer;\n}\n.ant-select-tree-checkbox-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled {\n  cursor: not-allowed;\n}\n.ant-select-tree-checkbox-wrapper + .ant-select-tree-checkbox-wrapper {\n  margin-left: 8px;\n}\n.ant-select-tree-checkbox + span {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-select-tree-checkbox-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n}\n.ant-select-tree-checkbox-group-item {\n  margin-right: 8px;\n}\n.ant-select-tree-checkbox-group-item:last-child {\n  margin-right: 0;\n}\n.ant-select-tree-checkbox-group-item + .ant-select-tree-checkbox-group-item {\n  margin-left: 0;\n}\n.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner {\n  background-color: #fff;\n  border-color: #d9d9d9;\n}\n.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after {\n  top: 50%;\n  left: 50%;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border: 0;\n  transform: translate(-50%, -50%) scale(1);\n  opacity: 1;\n  content: ' ';\n}\n.ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {\n  background-color: rgba(0, 0, 0, 0.25);\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-tree-select-dropdown {\n  padding: 8px 4px 0;\n}\n.ant-tree-select-dropdown-rtl {\n  direction: rtl;\n}\n.ant-tree-select-dropdown .ant-select-tree {\n  border-radius: 0;\n}\n.ant-tree-select-dropdown .ant-select-tree-list-holder-inner {\n  align-items: stretch;\n}\n.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode {\n  padding-bottom: 8px;\n}\n.ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper {\n  flex: auto;\n}\n.ant-select-tree {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  background: #fff;\n  border-radius: 2px;\n  transition: background-color 0.3s;\n}\n.ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused) {\n  background: #e6f7ff;\n}\n.ant-select-tree-list-holder-inner {\n  align-items: flex-start;\n}\n.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner {\n  align-items: stretch;\n}\n.ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper {\n  flex: auto;\n}\n.ant-select-tree .ant-select-tree-treenode {\n  display: flex;\n  align-items: flex-start;\n  padding: 0 0 4px 0;\n  outline: none;\n}\n.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover {\n  background: transparent;\n}\n.ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper {\n  background: #f5f5f5;\n}\n.ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title {\n  color: inherit;\n  font-weight: 500;\n}\n.ant-select-tree-indent {\n  align-self: stretch;\n  white-space: nowrap;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-tree-indent-unit {\n  display: inline-block;\n  width: 24px;\n}\n.ant-select-tree-switcher {\n  position: relative;\n  flex: none;\n  align-self: stretch;\n  width: 24px;\n  margin: 0;\n  line-height: 24px;\n  text-align: center;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-tree-switcher .ant-tree-switcher-icon,\n.ant-select-tree-switcher .ant-select-tree-switcher-icon {\n  display: inline-block;\n  font-size: 10px;\n  vertical-align: baseline;\n}\n.ant-select-tree-switcher .ant-tree-switcher-icon svg,\n.ant-select-tree-switcher .ant-select-tree-switcher-icon svg {\n  transition: transform 0.3s;\n}\n.ant-select-tree-switcher-noop {\n  cursor: default;\n}\n.ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {\n  transform: rotate(-90deg);\n}\n.ant-select-tree-switcher-loading-icon {\n  color: #1890ff;\n}\n.ant-select-tree-switcher-leaf-line {\n  position: relative;\n  z-index: 1;\n  display: inline-block;\n  width: 100%;\n  height: 100%;\n}\n.ant-select-tree-switcher-leaf-line::before {\n  position: absolute;\n  top: 0;\n  bottom: -4px;\n  margin-left: -1px;\n  border-left: 1px solid #d9d9d9;\n  content: ' ';\n}\n.ant-select-tree-switcher-leaf-line::after {\n  position: absolute;\n  width: 10px;\n  height: 14px;\n  margin-left: -1px;\n  border-bottom: 1px solid #d9d9d9;\n  content: ' ';\n}\n.ant-select-tree-checkbox {\n  top: initial;\n  margin: 4px 8px 0 0;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper {\n  position: relative;\n  z-index: auto;\n  min-height: 24px;\n  margin: 0;\n  padding: 0 4px;\n  color: inherit;\n  line-height: 24px;\n  background: transparent;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper:hover {\n  background-color: #f5f5f5;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {\n  background-color: #bae7ff;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle {\n  display: inline-block;\n  width: 24px;\n  height: 24px;\n  line-height: 24px;\n  text-align: center;\n  vertical-align: top;\n}\n.ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty {\n  display: none;\n}\n.ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover {\n  background-color: transparent;\n}\n.ant-select-tree-node-content-wrapper[draggable='true'] {\n  line-height: 24px;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-select-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator {\n  position: absolute;\n  z-index: 1;\n  height: 2px;\n  background-color: #1890ff;\n  border-radius: 1px;\n  pointer-events: none;\n}\n.ant-select-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator::after {\n  position: absolute;\n  top: -3px;\n  left: -6px;\n  width: 8px;\n  height: 8px;\n  background-color: transparent;\n  border: 2px solid #1890ff;\n  border-radius: 50%;\n  content: '';\n}\n.ant-select-tree .ant-select-tree-treenode.drop-container > [draggable] {\n  box-shadow: 0 0 0 2px #1890ff;\n}\n.ant-select-tree-show-line .ant-select-tree-indent-unit {\n  position: relative;\n  height: 100%;\n}\n.ant-select-tree-show-line .ant-select-tree-indent-unit::before {\n  position: absolute;\n  top: 0;\n  right: 12px;\n  bottom: -4px;\n  border-right: 1px solid #d9d9d9;\n  content: '';\n}\n.ant-select-tree-show-line .ant-select-tree-indent-unit-end::before {\n  display: none;\n}\n.ant-select-tree-show-line .ant-select-tree-switcher {\n  background: #fff;\n}\n.ant-select-tree-show-line .ant-select-tree-switcher-line-icon {\n  vertical-align: -0.225em;\n}\n.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {\n  transform: rotate(90deg);\n}\n.ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon {\n  transform: scaleY(-1);\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n@-webkit-keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n@keyframes antCheckboxEffect {\n  0% {\n    transform: scale(1);\n    opacity: 0.5;\n  }\n  100% {\n    transform: scale(1.6);\n    opacity: 0;\n  }\n}\n.ant-tree-treenode-leaf-last .ant-tree-switcher-leaf-line::before {\n  top: auto !important;\n  bottom: auto !important;\n  height: 14px !important;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode {\n  position: relative;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode::before {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 4px;\n  left: 0;\n  transition: background-color 0.3s;\n  content: '';\n  pointer-events: none;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode:hover::before {\n  background: #f5f5f5;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode > * {\n  z-index: 1;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-switcher {\n  transition: color 0.3s;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper {\n  border-radius: 0;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper:hover {\n  background: transparent;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode .ant-tree-node-content-wrapper.ant-tree-node-selected {\n  color: #fff;\n  background: transparent;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode-selected:hover::before,\n.ant-tree.ant-tree-directory .ant-tree-treenode-selected::before {\n  background: #1890ff;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-switcher {\n  color: #fff;\n}\n.ant-tree.ant-tree-directory .ant-tree-treenode-selected .ant-tree-node-content-wrapper {\n  color: #fff;\n  background: transparent;\n}\n.ant-tree-checkbox {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  position: relative;\n  top: 0.2em;\n  line-height: 1;\n  white-space: nowrap;\n  outline: none;\n  cursor: pointer;\n}\n.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,\n.ant-tree-checkbox:hover .ant-tree-checkbox-inner,\n.ant-tree-checkbox-input:focus + .ant-tree-checkbox-inner {\n  border-color: #1890ff;\n}\n.ant-tree-checkbox-checked::after {\n  position: absolute;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  border: 1px solid #1890ff;\n  border-radius: 2px;\n  visibility: hidden;\n  -webkit-animation: antCheckboxEffect 0.36s ease-in-out;\n          animation: antCheckboxEffect 0.36s ease-in-out;\n  -webkit-animation-fill-mode: backwards;\n          animation-fill-mode: backwards;\n  content: '';\n}\n.ant-tree-checkbox:hover::after,\n.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox::after {\n  visibility: visible;\n}\n.ant-tree-checkbox-inner {\n  position: relative;\n  top: 0;\n  left: 0;\n  display: block;\n  width: 16px;\n  height: 16px;\n  direction: ltr;\n  background-color: #fff;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n  border-collapse: separate;\n  transition: all 0.3s;\n}\n.ant-tree-checkbox-inner::after {\n  position: absolute;\n  top: 50%;\n  left: 21.5%;\n  display: table;\n  width: 5.71428571px;\n  height: 9.14285714px;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(0) translate(-50%, -50%);\n  opacity: 0;\n  transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;\n  content: ' ';\n}\n.ant-tree-checkbox-input {\n  position: absolute;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  cursor: pointer;\n  opacity: 0;\n}\n.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {\n  position: absolute;\n  display: table;\n  border: 2px solid #fff;\n  border-top: 0;\n  border-left: 0;\n  transform: rotate(45deg) scale(1) translate(-50%, -50%);\n  opacity: 1;\n  transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;\n  content: ' ';\n}\n.ant-tree-checkbox-checked .ant-tree-checkbox-inner {\n  background-color: #1890ff;\n  border-color: #1890ff;\n}\n.ant-tree-checkbox-disabled {\n  cursor: not-allowed;\n}\n.ant-tree-checkbox-disabled.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {\n  border-color: rgba(0, 0, 0, 0.25);\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-tree-checkbox-disabled .ant-tree-checkbox-input {\n  cursor: not-allowed;\n}\n.ant-tree-checkbox-disabled .ant-tree-checkbox-inner {\n  background-color: #f5f5f5;\n  border-color: #d9d9d9 !important;\n}\n.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {\n  border-color: #f5f5f5;\n  border-collapse: separate;\n  -webkit-animation-name: none;\n          animation-name: none;\n}\n.ant-tree-checkbox-disabled + span {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-tree-checkbox-disabled:hover::after,\n.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-disabled::after {\n  visibility: hidden;\n}\n.ant-tree-checkbox-wrapper {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-flex;\n  align-items: baseline;\n  line-height: unset;\n  cursor: pointer;\n}\n.ant-tree-checkbox-wrapper::after {\n  display: inline-block;\n  width: 0;\n  overflow: hidden;\n  content: '\\a0';\n}\n.ant-tree-checkbox-wrapper.ant-tree-checkbox-wrapper-disabled {\n  cursor: not-allowed;\n}\n.ant-tree-checkbox-wrapper + .ant-tree-checkbox-wrapper {\n  margin-left: 8px;\n}\n.ant-tree-checkbox + span {\n  padding-right: 8px;\n  padding-left: 8px;\n}\n.ant-tree-checkbox-group {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  display: inline-block;\n}\n.ant-tree-checkbox-group-item {\n  margin-right: 8px;\n}\n.ant-tree-checkbox-group-item:last-child {\n  margin-right: 0;\n}\n.ant-tree-checkbox-group-item + .ant-tree-checkbox-group-item {\n  margin-left: 0;\n}\n.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner {\n  background-color: #fff;\n  border-color: #d9d9d9;\n}\n.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner::after {\n  top: 50%;\n  left: 50%;\n  width: 8px;\n  height: 8px;\n  background-color: #1890ff;\n  border: 0;\n  transform: translate(-50%, -50%) scale(1);\n  opacity: 1;\n  content: ' ';\n}\n.ant-tree-checkbox-indeterminate.ant-tree-checkbox-disabled .ant-tree-checkbox-inner::after {\n  background-color: rgba(0, 0, 0, 0.25);\n  border-color: rgba(0, 0, 0, 0.25);\n}\n.ant-tree {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  background: #fff;\n  border-radius: 2px;\n  transition: background-color 0.3s;\n}\n.ant-tree-focused:not(:hover):not(.ant-tree-active-focused) {\n  background: #e6f7ff;\n}\n.ant-tree-list-holder-inner {\n  align-items: flex-start;\n}\n.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner {\n  align-items: stretch;\n}\n.ant-tree.ant-tree-block-node .ant-tree-list-holder-inner .ant-tree-node-content-wrapper {\n  flex: auto;\n}\n.ant-tree .ant-tree-treenode {\n  display: flex;\n  align-items: flex-start;\n  padding: 0 0 4px 0;\n  outline: none;\n}\n.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\n.ant-tree .ant-tree-treenode-disabled .ant-tree-node-content-wrapper:hover {\n  background: transparent;\n}\n.ant-tree .ant-tree-treenode-active .ant-tree-node-content-wrapper {\n  background: #f5f5f5;\n}\n.ant-tree .ant-tree-treenode:not(.ant-tree .ant-tree-treenode-disabled).filter-node .ant-tree-title {\n  color: inherit;\n  font-weight: 500;\n}\n.ant-tree-indent {\n  align-self: stretch;\n  white-space: nowrap;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-tree-indent-unit {\n  display: inline-block;\n  width: 24px;\n}\n.ant-tree-switcher {\n  position: relative;\n  flex: none;\n  align-self: stretch;\n  width: 24px;\n  margin: 0;\n  line-height: 24px;\n  text-align: center;\n  cursor: pointer;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-tree-switcher .ant-tree-switcher-icon,\n.ant-tree-switcher .ant-select-tree-switcher-icon {\n  display: inline-block;\n  font-size: 10px;\n  vertical-align: baseline;\n}\n.ant-tree-switcher .ant-tree-switcher-icon svg,\n.ant-tree-switcher .ant-select-tree-switcher-icon svg {\n  transition: transform 0.3s;\n}\n.ant-tree-switcher-noop {\n  cursor: default;\n}\n.ant-tree-switcher_close .ant-tree-switcher-icon svg {\n  transform: rotate(-90deg);\n}\n.ant-tree-switcher-loading-icon {\n  color: #1890ff;\n}\n.ant-tree-switcher-leaf-line {\n  position: relative;\n  z-index: 1;\n  display: inline-block;\n  width: 100%;\n  height: 100%;\n}\n.ant-tree-switcher-leaf-line::before {\n  position: absolute;\n  top: 0;\n  bottom: -4px;\n  margin-left: -1px;\n  border-left: 1px solid #d9d9d9;\n  content: ' ';\n}\n.ant-tree-switcher-leaf-line::after {\n  position: absolute;\n  width: 10px;\n  height: 14px;\n  margin-left: -1px;\n  border-bottom: 1px solid #d9d9d9;\n  content: ' ';\n}\n.ant-tree-checkbox {\n  top: initial;\n  margin: 4px 8px 0 0;\n}\n.ant-tree .ant-tree-node-content-wrapper {\n  position: relative;\n  z-index: auto;\n  min-height: 24px;\n  margin: 0;\n  padding: 0 4px;\n  color: inherit;\n  line-height: 24px;\n  background: transparent;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;\n}\n.ant-tree .ant-tree-node-content-wrapper:hover {\n  background-color: #f5f5f5;\n}\n.ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {\n  background-color: #bae7ff;\n}\n.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle {\n  display: inline-block;\n  width: 24px;\n  height: 24px;\n  line-height: 24px;\n  text-align: center;\n  vertical-align: top;\n}\n.ant-tree .ant-tree-node-content-wrapper .ant-tree-iconEle:empty {\n  display: none;\n}\n.ant-tree-unselectable .ant-tree-node-content-wrapper:hover {\n  background-color: transparent;\n}\n.ant-tree-node-content-wrapper[draggable='true'] {\n  line-height: 24px;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\n.ant-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator {\n  position: absolute;\n  z-index: 1;\n  height: 2px;\n  background-color: #1890ff;\n  border-radius: 1px;\n  pointer-events: none;\n}\n.ant-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator::after {\n  position: absolute;\n  top: -3px;\n  left: -6px;\n  width: 8px;\n  height: 8px;\n  background-color: transparent;\n  border: 2px solid #1890ff;\n  border-radius: 50%;\n  content: '';\n}\n.ant-tree .ant-tree-treenode.drop-container > [draggable] {\n  box-shadow: 0 0 0 2px #1890ff;\n}\n.ant-tree-show-line .ant-tree-indent-unit {\n  position: relative;\n  height: 100%;\n}\n.ant-tree-show-line .ant-tree-indent-unit::before {\n  position: absolute;\n  top: 0;\n  right: 12px;\n  bottom: -4px;\n  border-right: 1px solid #d9d9d9;\n  content: '';\n}\n.ant-tree-show-line .ant-tree-indent-unit-end::before {\n  display: none;\n}\n.ant-tree-show-line .ant-tree-switcher {\n  background: #fff;\n}\n.ant-tree-show-line .ant-tree-switcher-line-icon {\n  vertical-align: -0.225em;\n}\n.ant-tree-rtl {\n  direction: rtl;\n}\n.ant-tree-rtl .ant-tree-node-content-wrapper[draggable='true'] .ant-tree-drop-indicator::after {\n  right: -6px;\n  left: unset;\n}\n.ant-tree .ant-tree-treenode-rtl {\n  direction: rtl;\n}\n.ant-tree-rtl .ant-tree-switcher_close .ant-tree-switcher-icon svg {\n  transform: rotate(90deg);\n}\n.ant-tree-rtl.ant-tree-show-line .ant-tree-indent-unit::before {\n  right: auto;\n  left: -13px;\n  border-right: none;\n  border-left: 1px solid #d9d9d9;\n}\n.ant-tree-rtl.ant-tree-checkbox {\n  margin: 4px 0 0 8px;\n}\n.ant-tree-select-dropdown-rtl .ant-select-tree-checkbox {\n  margin: 4px 0 0 8px;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-typography {\n  color: rgba(0, 0, 0, 0.85);\n  overflow-wrap: break-word;\n}\n.ant-typography.ant-typography-secondary {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-typography.ant-typography-success {\n  color: #52c41a;\n}\n.ant-typography.ant-typography-warning {\n  color: #faad14;\n}\n.ant-typography.ant-typography-danger {\n  color: #ff4d4f;\n}\na.ant-typography.ant-typography-danger:active,\na.ant-typography.ant-typography-danger:focus,\na.ant-typography.ant-typography-danger:hover {\n  color: #ff7875;\n}\n.ant-typography.ant-typography-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n  -webkit-user-select: none;\n     -moz-user-select: none;\n      -ms-user-select: none;\n          user-select: none;\n}\ndiv.ant-typography,\n.ant-typography p {\n  margin-bottom: 1em;\n}\nh1.ant-typography,\n.ant-typography h1 {\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  font-size: 38px;\n  line-height: 1.23;\n}\nh2.ant-typography,\n.ant-typography h2 {\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  font-size: 30px;\n  line-height: 1.35;\n}\nh3.ant-typography,\n.ant-typography h3 {\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  font-size: 24px;\n  line-height: 1.35;\n}\nh4.ant-typography,\n.ant-typography h4 {\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  font-size: 20px;\n  line-height: 1.4;\n}\nh5.ant-typography,\n.ant-typography h5 {\n  margin-bottom: 0.5em;\n  color: rgba(0, 0, 0, 0.85);\n  font-weight: 600;\n  font-size: 16px;\n  line-height: 1.5;\n}\n.ant-typography + h1.ant-typography,\n.ant-typography + h2.ant-typography,\n.ant-typography + h3.ant-typography,\n.ant-typography + h4.ant-typography,\n.ant-typography + h5.ant-typography {\n  margin-top: 1.2em;\n}\n.ant-typography div + h1,\n.ant-typography ul + h1,\n.ant-typography li + h1,\n.ant-typography p + h1,\n.ant-typography h1 + h1,\n.ant-typography h2 + h1,\n.ant-typography h3 + h1,\n.ant-typography h4 + h1,\n.ant-typography h5 + h1,\n.ant-typography div + h2,\n.ant-typography ul + h2,\n.ant-typography li + h2,\n.ant-typography p + h2,\n.ant-typography h1 + h2,\n.ant-typography h2 + h2,\n.ant-typography h3 + h2,\n.ant-typography h4 + h2,\n.ant-typography h5 + h2,\n.ant-typography div + h3,\n.ant-typography ul + h3,\n.ant-typography li + h3,\n.ant-typography p + h3,\n.ant-typography h1 + h3,\n.ant-typography h2 + h3,\n.ant-typography h3 + h3,\n.ant-typography h4 + h3,\n.ant-typography h5 + h3,\n.ant-typography div + h4,\n.ant-typography ul + h4,\n.ant-typography li + h4,\n.ant-typography p + h4,\n.ant-typography h1 + h4,\n.ant-typography h2 + h4,\n.ant-typography h3 + h4,\n.ant-typography h4 + h4,\n.ant-typography h5 + h4,\n.ant-typography div + h5,\n.ant-typography ul + h5,\n.ant-typography li + h5,\n.ant-typography p + h5,\n.ant-typography h1 + h5,\n.ant-typography h2 + h5,\n.ant-typography h3 + h5,\n.ant-typography h4 + h5,\n.ant-typography h5 + h5 {\n  margin-top: 1.2em;\n}\na.ant-typography-ellipsis,\nspan.ant-typography-ellipsis {\n  display: inline-block;\n  max-width: 100%;\n}\na.ant-typography,\n.ant-typography a {\n  color: #1890ff;\n  outline: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  text-decoration: none;\n}\na.ant-typography:focus,\n.ant-typography a:focus,\na.ant-typography:hover,\n.ant-typography a:hover {\n  color: #40a9ff;\n}\na.ant-typography:active,\n.ant-typography a:active {\n  color: #096dd9;\n}\na.ant-typography:active,\n.ant-typography a:active,\na.ant-typography:hover,\n.ant-typography a:hover {\n  text-decoration: none;\n}\na.ant-typography[disabled],\n.ant-typography a[disabled],\na.ant-typography.ant-typography-disabled,\n.ant-typography a.ant-typography-disabled {\n  color: rgba(0, 0, 0, 0.25);\n  cursor: not-allowed;\n}\na.ant-typography[disabled]:active,\n.ant-typography a[disabled]:active,\na.ant-typography.ant-typography-disabled:active,\n.ant-typography a.ant-typography-disabled:active,\na.ant-typography[disabled]:hover,\n.ant-typography a[disabled]:hover,\na.ant-typography.ant-typography-disabled:hover,\n.ant-typography a.ant-typography-disabled:hover {\n  color: rgba(0, 0, 0, 0.25);\n}\na.ant-typography[disabled]:active,\n.ant-typography a[disabled]:active,\na.ant-typography.ant-typography-disabled:active,\n.ant-typography a.ant-typography-disabled:active {\n  pointer-events: none;\n}\n.ant-typography code {\n  margin: 0 0.2em;\n  padding: 0.2em 0.4em 0.1em;\n  font-size: 85%;\n  background: rgba(150, 150, 150, 0.1);\n  border: 1px solid rgba(100, 100, 100, 0.2);\n  border-radius: 3px;\n}\n.ant-typography kbd {\n  margin: 0 0.2em;\n  padding: 0.15em 0.4em 0.1em;\n  font-size: 90%;\n  background: rgba(150, 150, 150, 0.06);\n  border: 1px solid rgba(100, 100, 100, 0.2);\n  border-bottom-width: 2px;\n  border-radius: 3px;\n}\n.ant-typography mark {\n  padding: 0;\n  background-color: #ffe58f;\n}\n.ant-typography u,\n.ant-typography ins {\n  text-decoration: underline;\n  -webkit-text-decoration-skip: ink;\n          text-decoration-skip-ink: auto;\n}\n.ant-typography s,\n.ant-typography del {\n  text-decoration: line-through;\n}\n.ant-typography strong {\n  font-weight: 600;\n}\n.ant-typography-expand,\n.ant-typography-edit,\n.ant-typography-copy {\n  color: #1890ff;\n  text-decoration: none;\n  outline: none;\n  cursor: pointer;\n  transition: color 0.3s;\n  margin-left: 4px;\n}\n.ant-typography-expand:focus,\n.ant-typography-edit:focus,\n.ant-typography-copy:focus,\n.ant-typography-expand:hover,\n.ant-typography-edit:hover,\n.ant-typography-copy:hover {\n  color: #40a9ff;\n}\n.ant-typography-expand:active,\n.ant-typography-edit:active,\n.ant-typography-copy:active {\n  color: #096dd9;\n}\n.ant-typography-copy-success,\n.ant-typography-copy-success:hover,\n.ant-typography-copy-success:focus {\n  color: #52c41a;\n}\n.ant-typography-edit-content {\n  position: relative;\n}\ndiv.ant-typography-edit-content {\n  left: -12px;\n  margin-top: -5px;\n  margin-bottom: calc(1em - 4px - 1px);\n}\n.ant-typography-edit-content-confirm {\n  position: absolute;\n  right: 10px;\n  bottom: 8px;\n  color: rgba(0, 0, 0, 0.45);\n  pointer-events: none;\n}\n.ant-typography-edit-content textarea {\n  -moz-transition: none;\n}\n.ant-typography ul,\n.ant-typography ol {\n  margin: 0 0 1em 0;\n  padding: 0;\n}\n.ant-typography ul li,\n.ant-typography ol li {\n  margin: 0 0 0 20px;\n  padding: 0 0 0 4px;\n}\n.ant-typography ul {\n  list-style-type: circle;\n}\n.ant-typography ul ul {\n  list-style-type: disc;\n}\n.ant-typography ol {\n  list-style-type: decimal;\n}\n.ant-typography pre,\n.ant-typography blockquote {\n  margin: 1em 0;\n}\n.ant-typography pre {\n  padding: 0.4em 0.6em;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n  background: rgba(150, 150, 150, 0.1);\n  border: 1px solid rgba(100, 100, 100, 0.2);\n  border-radius: 3px;\n}\n.ant-typography pre code {\n  display: inline;\n  margin: 0;\n  padding: 0;\n  font-size: inherit;\n  font-family: inherit;\n  background: transparent;\n  border: 0;\n}\n.ant-typography blockquote {\n  padding: 0 0 0 0.6em;\n  border-left: 4px solid rgba(100, 100, 100, 0.2);\n  opacity: 0.85;\n}\n.ant-typography-single-line {\n  white-space: nowrap;\n}\n.ant-typography-ellipsis-single-line {\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\na.ant-typography-ellipsis-single-line,\nspan.ant-typography-ellipsis-single-line {\n  vertical-align: bottom;\n}\n.ant-typography-ellipsis-multiple-line {\n  display: -webkit-box;\n  overflow: hidden;\n  -webkit-line-clamp: 3;\n  /*! autoprefixer: ignore next */\n  -webkit-box-orient: vertical;\n}\n.ant-typography-rtl {\n  direction: rtl;\n}\n.ant-typography-rtl .ant-typography-expand,\n.ant-typography-rtl .ant-typography-edit,\n.ant-typography-rtl .ant-typography-copy {\n  margin-right: 4px;\n  margin-left: 0;\n}\n.ant-typography-rtl .ant-typography-expand {\n  float: left;\n}\ndiv.ant-typography-edit-content.ant-typography-rtl {\n  right: -12px;\n  left: auto;\n}\n.ant-typography-rtl .ant-typography-edit-content-confirm {\n  right: auto;\n  left: 10px;\n}\n.ant-typography-rtl.ant-typography ul li,\n.ant-typography-rtl.ant-typography ol li {\n  margin: 0 20px 0 0;\n  padding: 0 4px 0 0;\n}\n\n/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */\n/* stylelint-disable no-duplicate-selectors */\n/* stylelint-disable */\n/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */\n.ant-upload {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  line-height: 1.5715;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  outline: 0;\n}\n.ant-upload p {\n  margin: 0;\n}\n.ant-upload-btn {\n  display: block;\n  width: 100%;\n  outline: none;\n}\n.ant-upload input[type='file'] {\n  cursor: pointer;\n}\n.ant-upload.ant-upload-select {\n  display: inline-block;\n}\n.ant-upload.ant-upload-disabled {\n  cursor: not-allowed;\n}\n.ant-upload.ant-upload-select-picture-card {\n  width: 104px;\n  height: 104px;\n  margin-right: 8px;\n  margin-bottom: 8px;\n  text-align: center;\n  vertical-align: top;\n  background-color: #fafafa;\n  border: 1px dashed #d9d9d9;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: border-color 0.3s;\n}\n.ant-upload.ant-upload-select-picture-card > .ant-upload {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 100%;\n  text-align: center;\n}\n.ant-upload.ant-upload-select-picture-card:hover {\n  border-color: #1890ff;\n}\n.ant-upload-disabled.ant-upload.ant-upload-select-picture-card:hover {\n  border-color: #d9d9d9;\n}\n.ant-upload.ant-upload-drag {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  text-align: center;\n  background: #fafafa;\n  border: 1px dashed #d9d9d9;\n  border-radius: 2px;\n  cursor: pointer;\n  transition: border-color 0.3s;\n}\n.ant-upload.ant-upload-drag .ant-upload {\n  padding: 16px 0;\n}\n.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled) {\n  border-color: #096dd9;\n}\n.ant-upload.ant-upload-drag.ant-upload-disabled {\n  cursor: not-allowed;\n}\n.ant-upload.ant-upload-drag .ant-upload-btn {\n  display: table;\n  height: 100%;\n}\n.ant-upload.ant-upload-drag .ant-upload-drag-container {\n  display: table-cell;\n  vertical-align: middle;\n}\n.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover {\n  border-color: #40a9ff;\n}\n.ant-upload.ant-upload-drag p.ant-upload-drag-icon {\n  margin-bottom: 20px;\n}\n.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon {\n  color: #40a9ff;\n  font-size: 48px;\n}\n.ant-upload.ant-upload-drag p.ant-upload-text {\n  margin: 0 0 4px;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 16px;\n}\n.ant-upload.ant-upload-drag p.ant-upload-hint {\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n}\n.ant-upload.ant-upload-drag .anticon-plus {\n  color: rgba(0, 0, 0, 0.25);\n  font-size: 30px;\n  transition: all 0.3s;\n}\n.ant-upload.ant-upload-drag .anticon-plus:hover {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-upload.ant-upload-drag:hover .anticon-plus {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-upload-picture-card-wrapper {\n  display: inline-block;\n  width: 100%;\n}\n.ant-upload-picture-card-wrapper::before {\n  display: table;\n  content: '';\n}\n.ant-upload-picture-card-wrapper::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-upload-list {\n  box-sizing: border-box;\n  margin: 0;\n  padding: 0;\n  color: rgba(0, 0, 0, 0.85);\n  font-size: 14px;\n  font-variant: tabular-nums;\n  list-style: none;\n  font-feature-settings: 'tnum';\n  line-height: 1.5715;\n}\n.ant-upload-list::before {\n  display: table;\n  content: '';\n}\n.ant-upload-list::after {\n  display: table;\n  clear: both;\n  content: '';\n}\n.ant-upload-list-item {\n  position: relative;\n  height: 22.001px;\n  margin-top: 8px;\n  font-size: 14px;\n}\n.ant-upload-list-item-name {\n  display: inline-block;\n  width: 100%;\n  padding-left: 22px;\n  overflow: hidden;\n  line-height: 1.5715;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n}\n.ant-upload-list-item-card-actions {\n  position: absolute;\n  right: 0;\n}\n.ant-upload-list-item-card-actions-btn {\n  opacity: 0;\n}\n.ant-upload-list-item-card-actions-btn.ant-btn-sm {\n  height: 20px;\n  line-height: 1;\n}\n.ant-upload-list-item-card-actions.picture {\n  top: 22px;\n  line-height: 0;\n}\n.ant-upload-list-item-card-actions-btn:focus,\n.ant-upload-list-item-card-actions.picture .ant-upload-list-item-card-actions-btn {\n  opacity: 1;\n}\n.ant-upload-list-item-card-actions .anticon {\n  color: rgba(0, 0, 0, 0.45);\n}\n.ant-upload-list-item-info {\n  height: 100%;\n  padding: 0 4px;\n  transition: background-color 0.3s;\n}\n.ant-upload-list-item-info > span {\n  display: block;\n  width: 100%;\n  height: 100%;\n}\n.ant-upload-list-item-info .anticon-loading .anticon,\n.ant-upload-list-item-info .ant-upload-text-icon .anticon {\n  position: absolute;\n  top: 5px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 14px;\n}\n.ant-upload-list-item .anticon-close {\n  position: absolute;\n  top: 6px;\n  right: 4px;\n  color: rgba(0, 0, 0, 0.45);\n  font-size: 10px;\n  line-height: 0;\n  cursor: pointer;\n  opacity: 0;\n  transition: all 0.3s;\n}\n.ant-upload-list-item .anticon-close:hover {\n  color: rgba(0, 0, 0, 0.85);\n}\n.ant-upload-list-item:hover .ant-upload-list-item-info {\n  background-color: #f5f5f5;\n}\n.ant-upload-list-item:hover .anticon-close {\n  opacity: 1;\n}\n.ant-upload-list-item:hover .ant-upload-list-item-card-actions-btn {\n  opacity: 1;\n}\n.ant-upload-list-item-error,\n.ant-upload-list-item-error .ant-upload-text-icon > .anticon,\n.ant-upload-list-item-error .ant-upload-list-item-name {\n  color: #ff4d4f;\n}\n.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n  color: #ff4d4f;\n}\n.ant-upload-list-item-error .ant-upload-list-item-card-actions-btn {\n  opacity: 1;\n}\n.ant-upload-list-item-progress {\n  position: absolute;\n  bottom: -12px;\n  width: 100%;\n  padding-left: 26px;\n  font-size: 14px;\n  line-height: 0;\n}\n.ant-upload-list-picture .ant-upload-list-item,\n.ant-upload-list-picture-card .ant-upload-list-item {\n  position: relative;\n  height: 66px;\n  padding: 8px;\n  border: 1px solid #d9d9d9;\n  border-radius: 2px;\n}\n.ant-upload-list-picture .ant-upload-list-item:hover,\n.ant-upload-list-picture-card .ant-upload-list-item:hover {\n  background: transparent;\n}\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n  border-color: #ff4d4f;\n}\n.ant-upload-list-picture .ant-upload-list-item-info,\n.ant-upload-list-picture-card .ant-upload-list-item-info {\n  padding: 0;\n}\n.ant-upload-list-picture .ant-upload-list-item:hover .ant-upload-list-item-info,\n.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info {\n  background: transparent;\n}\n.ant-upload-list-picture .ant-upload-list-item-uploading,\n.ant-upload-list-picture-card .ant-upload-list-item-uploading {\n  border-style: dashed;\n}\n.ant-upload-list-picture .ant-upload-list-item-thumbnail,\n.ant-upload-list-picture-card .ant-upload-list-item-thumbnail {\n  width: 48px;\n  height: 48px;\n  line-height: 54px;\n  text-align: center;\n  opacity: 0.8;\n}\n.ant-upload-list-picture .ant-upload-list-item-thumbnail .anticon,\n.ant-upload-list-picture-card .ant-upload-list-item-thumbnail .anticon {\n  font-size: 26px;\n}\n.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'],\n.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#e6f7ff'] {\n  fill: #fff2f0;\n}\n.ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'],\n.ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-thumbnail .anticon svg path[fill='#1890ff'] {\n  fill: #ff4d4f;\n}\n.ant-upload-list-picture .ant-upload-list-item-icon,\n.ant-upload-list-picture-card .ant-upload-list-item-icon {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  font-size: 26px;\n  transform: translate(-50%, -50%);\n}\n.ant-upload-list-picture .ant-upload-list-item-icon .anticon,\n.ant-upload-list-picture-card .ant-upload-list-item-icon .anticon {\n  font-size: 26px;\n}\n.ant-upload-list-picture .ant-upload-list-item-image,\n.ant-upload-list-picture-card .ant-upload-list-item-image {\n  max-width: 100%;\n}\n.ant-upload-list-picture .ant-upload-list-item-thumbnail img,\n.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img {\n  display: block;\n  width: 48px;\n  height: 48px;\n  overflow: hidden;\n}\n.ant-upload-list-picture .ant-upload-list-item-name,\n.ant-upload-list-picture-card .ant-upload-list-item-name {\n  display: inline-block;\n  box-sizing: border-box;\n  max-width: 100%;\n  margin: 0 0 0 8px;\n  padding-right: 8px;\n  padding-left: 48px;\n  overflow: hidden;\n  line-height: 44px;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  transition: all 0.3s;\n}\n.ant-upload-list-picture .ant-upload-list-item-uploading .ant-upload-list-item-name,\n.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-name {\n  line-height: 28px;\n}\n.ant-upload-list-picture .ant-upload-list-item-progress,\n.ant-upload-list-picture-card .ant-upload-list-item-progress {\n  bottom: 14px;\n  width: calc(100% - 24px);\n  margin-top: 0;\n  padding-left: 56px;\n}\n.ant-upload-list-picture .anticon-close,\n.ant-upload-list-picture-card .anticon-close {\n  position: absolute;\n  top: 8px;\n  right: 8px;\n  line-height: 1;\n  opacity: 1;\n}\n.ant-upload-list-picture-card-container {\n  display: inline-block;\n  width: 104px;\n  height: 104px;\n  margin: 0 8px 8px 0;\n  vertical-align: top;\n}\n.ant-upload-list-picture-card.ant-upload-list::after {\n  display: none;\n}\n.ant-upload-list-picture-card .ant-upload-list-item {\n  height: 100%;\n  margin: 0;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-info {\n  position: relative;\n  height: 100%;\n  overflow: hidden;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-info::before {\n  position: absolute;\n  z-index: 1;\n  width: 100%;\n  height: 100%;\n  background-color: rgba(0, 0, 0, 0.5);\n  opacity: 0;\n  transition: all 0.3s;\n  content: ' ';\n}\n.ant-upload-list-picture-card .ant-upload-list-item:hover .ant-upload-list-item-info::before {\n  opacity: 1;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-actions {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  z-index: 10;\n  white-space: nowrap;\n  transform: translate(-50%, -50%);\n  opacity: 0;\n  transition: all 0.3s;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye,\n.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download,\n.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete {\n  z-index: 10;\n  width: 16px;\n  margin: 0 4px;\n  color: rgba(255, 255, 255, 0.85);\n  font-size: 16px;\n  cursor: pointer;\n  transition: all 0.3s;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-eye:hover,\n.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-download:hover,\n.ant-upload-list-picture-card .ant-upload-list-item-actions .anticon-delete:hover {\n  color: #fff;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-info:hover + .ant-upload-list-item-actions,\n.ant-upload-list-picture-card .ant-upload-list-item-actions:hover {\n  opacity: 1;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-thumbnail,\n.ant-upload-list-picture-card .ant-upload-list-item-thumbnail img {\n  position: static;\n  display: block;\n  width: 100%;\n  height: 100%;\n  -o-object-fit: contain;\n     object-fit: contain;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-name {\n  display: none;\n  margin: 8px 0 0;\n  padding: 0;\n  line-height: 1.5715;\n  text-align: center;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-file + .ant-upload-list-item-name {\n  position: absolute;\n  bottom: 10px;\n  display: block;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-uploading.ant-upload-list-item {\n  background-color: #fafafa;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info {\n  height: auto;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info::before,\n.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-eye,\n.ant-upload-list-picture-card .ant-upload-list-item-uploading .ant-upload-list-item-info .anticon-delete {\n  display: none;\n}\n.ant-upload-list-picture-card .ant-upload-list-item-progress {\n  bottom: 32px;\n  width: calc(100% - 14px);\n  padding-left: 0;\n}\n.ant-upload-list-text-container,\n.ant-upload-list-picture-container {\n  transition: opacity 0.3s, height 0.3s;\n}\n.ant-upload-list-text-container::before,\n.ant-upload-list-picture-container::before {\n  display: table;\n  width: 0;\n  height: 0;\n  content: '';\n}\n.ant-upload-list-text-container .ant-upload-span,\n.ant-upload-list-picture-container .ant-upload-span {\n  display: block;\n  flex: auto;\n}\n.ant-upload-list-text .ant-upload-span,\n.ant-upload-list-picture .ant-upload-span {\n  display: flex;\n  align-items: center;\n}\n.ant-upload-list-text .ant-upload-span > *,\n.ant-upload-list-picture .ant-upload-span > * {\n  flex: none;\n}\n.ant-upload-list-text .ant-upload-list-item-name,\n.ant-upload-list-picture .ant-upload-list-item-name {\n  flex: auto;\n  padding: 0 8px;\n}\n.ant-upload-list-text .ant-upload-list-item-card-actions,\n.ant-upload-list-picture .ant-upload-list-item-card-actions {\n  position: static;\n}\n.ant-upload-list-text .ant-upload-text-icon .anticon {\n  position: static;\n}\n.ant-upload-list .ant-upload-animate-inline-appear,\n.ant-upload-list .ant-upload-animate-inline-enter,\n.ant-upload-list .ant-upload-animate-inline-leave {\n  -webkit-animation-duration: 0.3s;\n          animation-duration: 0.3s;\n  -webkit-animation-fill-mode: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n          animation-fill-mode: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n.ant-upload-list .ant-upload-animate-inline-appear,\n.ant-upload-list .ant-upload-animate-inline-enter {\n  -webkit-animation-name: uploadAnimateInlineIn;\n          animation-name: uploadAnimateInlineIn;\n}\n.ant-upload-list .ant-upload-animate-inline-leave {\n  -webkit-animation-name: uploadAnimateInlineOut;\n          animation-name: uploadAnimateInlineOut;\n}\n@-webkit-keyframes uploadAnimateInlineIn {\n  from {\n    width: 0;\n    height: 0;\n    margin: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n@keyframes uploadAnimateInlineIn {\n  from {\n    width: 0;\n    height: 0;\n    margin: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n@-webkit-keyframes uploadAnimateInlineOut {\n  to {\n    width: 0;\n    height: 0;\n    margin: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n@keyframes uploadAnimateInlineOut {\n  to {\n    width: 0;\n    height: 0;\n    margin: 0;\n    padding: 0;\n    opacity: 0;\n  }\n}\n.ant-upload-rtl {\n  direction: rtl;\n}\n.ant-upload-rtl.ant-upload.ant-upload-select-picture-card {\n  margin-right: auto;\n  margin-left: 8px;\n}\n.ant-upload-list-rtl {\n  direction: rtl;\n}\n.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-1 {\n  padding-right: 22px;\n  padding-left: 14px;\n}\n.ant-upload-list-rtl .ant-upload-list-item-list-type-text:hover .ant-upload-list-item-name-icon-count-2 {\n  padding-right: 22px;\n  padding-left: 28px;\n}\n.ant-upload-list-rtl .ant-upload-list-item-name {\n  padding-right: 22px;\n  padding-left: 0;\n}\n.ant-upload-list-rtl .ant-upload-list-item-name-icon-count-1 {\n  padding-left: 14px;\n}\n.ant-upload-list-rtl .ant-upload-list-item-card-actions {\n  right: auto;\n  left: 0;\n}\n.ant-upload-list-rtl .ant-upload-list-item-card-actions .anticon {\n  padding-right: 0;\n  padding-left: 5px;\n}\n.ant-upload-list-rtl .ant-upload-list-item-info {\n  padding: 0 4px 0 12px;\n}\n.ant-upload-list-rtl .ant-upload-list-item .anticon-close {\n  right: auto;\n  left: 4px;\n}\n.ant-upload-list-rtl .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n  padding-right: 0;\n  padding-left: 5px;\n}\n.ant-upload-list-rtl .ant-upload-list-item-progress {\n  padding-right: 26px;\n  padding-left: 0;\n}\n.ant-upload-list-picture .ant-upload-list-item-info,\n.ant-upload-list-picture-card .ant-upload-list-item-info {\n  padding: 0;\n}\n.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-thumbnail,\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-thumbnail {\n  right: 8px;\n  left: auto;\n}\n.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-icon,\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-icon {\n  right: 50%;\n  left: auto;\n  transform: translate(50%, -50%);\n}\n.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name,\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name {\n  margin: 0 8px 0 0;\n  padding-right: 48px;\n  padding-left: 8px;\n}\n.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-1,\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-1 {\n  padding-right: 48px;\n  padding-left: 18px;\n}\n.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-name-icon-count-2,\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-name-icon-count-2 {\n  padding-right: 48px;\n  padding-left: 36px;\n}\n.ant-upload-list-rtl.ant-upload-list-picture .ant-upload-list-item-progress,\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-progress {\n  padding-right: 0;\n  padding-left: 0;\n}\n.ant-upload-list-rtl.ant-upload-list-picture .anticon-close,\n.ant-upload-list-rtl.ant-upload-list-picture-card .anticon-close {\n  right: auto;\n  left: 8px;\n}\n.ant-upload-list-rtl .ant-upload-list-picture-card-container {\n  margin: 0 0 8px 8px;\n}\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-actions {\n  right: 50%;\n  left: auto;\n  transform: translate(50%, -50%);\n}\n.ant-upload-list-rtl.ant-upload-list-picture-card .ant-upload-list-item-file + .ant-upload-list-item-name {\n  margin: 8px 0 0;\n  padding: 0;\n}");l.default("body {\n  background-color: transparent !important;\n  height: 100%; }\n\nhtml, body, #root {\n  height: 100%;\n  width: 100%;\n  margin: 0; }\n");var aH=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=(n=function(t,e){return n=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])},n(t,e)},function(t,e){function a(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(a.prototype=e.prototype,new a)}),i=function(t){function e(e,n){void 0===n&&(n=500);var a=t.call(this,e)||this;return a._code=n,a}return a(e,t),Object.defineProperty(e.prototype,"code",{get:function(){return this._code},enumerable:!1,configurable:!0}),e}(Error);e.default=i})),iH=h(aH),rH=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=(n=aH)&&n.__esModule?n:{default:n};var i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)},r=function(t,e){void 0===e&&(e={});var n=e.timeout,i=void 0===n?2e4:n,r=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&e.indexOf(a)<0&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(t);i<a.length;i++)e.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(t,a[i])&&(n[a[i]]=t[a[i]])}return n}(e,["timeout"]);return o(r),new Promise((function(e,n){fetch(t,r).then((function(t){return e(t)})).catch((function(t){return n(t)})),setTimeout((function(){n(new a.default("Timeout: "+i+"ms exceeded: \n\t"+t+"\t\n"+JSON.stringify(r)+" ",404))}),i)}))};r.onlyAllowedGetAndPost=!1;var o=function(t){switch(void 0===t&&(t={}),(t.method||"GET").toLocaleUpperCase()){case"PUT":r.onlyAllowedGetAndPost&&(t.method="POST",t.headers=i(i({},t.headers),{"X-HTTP-Method-Override":"PUT"}));break;case"DELETE":r.onlyAllowedGetAndPost&&(t.method="POST",t.headers=i(i({},t.headers),{"X-HTTP-Method-Override":"DELETE"}));break;case"PATCH":r.onlyAllowedGetAndPost&&(t.method="POST",t.headers=i(i({},t.headers),{"X-HTTP-Method-Override":"PATCH"}))}},l=r;e.default=l})),oH=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,a=(n=rH)&&n.__esModule?n:{default:n};var i=function(){return i=Object.assign||function(t){for(var e,n=1,a=arguments.length;n<a;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)},r=function(t,e,n,a){return new(n||(n=Promise))((function(i,r){function o(t){try{s(a.next(t))}catch(t){r(t)}}function l(t){try{s(a.throw(t))}catch(t){r(t)}}function s(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(o,l)}s((a=a.apply(t,e||[])).next())}))},o=function(t,e){var n,a,i,r,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(r){return function(l){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,a&&(i=2&r[0]?a.return:r[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,r[1])).done)return i;switch(a=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return o.label++,{value:r[1],done:!1};case 5:o.label++,a=r[1],r=[0];continue;case 7:r=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){o=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){o.label=r[1];break}if(6===r[0]&&o.label<i[1]){o.label=i[1],i=r;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(r);break}i[2]&&o.ops.pop(),o.trys.pop();continue}r=e.call(t,o)}catch(t){r=[6,t],a=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,l])}}},l=!1,s=[],u=function t(e,n){return void 0===n&&(n={}),r(void 0,void 0,Promise,(function(){var i,r;return o(this,(function(o){switch(o.label){case 0:return n=c(n),[4,(0,a.default)(e,n)];case 1:return 401!==(i=o.sent()).status?[2,i]:l?[4,new Promise((function(a){s.push((function(){a(t(e,n))}))}))]:[3,3];case 2:return[2,o.sent()];case 3:return t.refreshAccessToken?(l=!0,[4,t.refreshAccessToken()]):[3,6];case 4:return o.sent()?(n=c(n),[4,(0,a.default)(e,n)]):(s=[],l=!1,[2]);case 5:r=o.sent(),s.forEach((function(t){return t()})),s=[],l=!1,o.label=6;case 6:return r?[3,8]:(n=c(n),[4,(0,a.default)(e,n)]);case 7:r=o.sent(),o.label=8;case 8:return 401!==r.status?[2,r]:[2]}}))}))};u.additionalHeaders=void 0,u.refreshAccessToken=void 0;var c=function(t){return i(i({},t),{headers:i(i({},t.headers||{}),u.additionalHeaders)})},p=u;e.default=p})),lH=h(oH);const sH=[],uH=[new nH.graphic.LinearGradient(1,0,0,0,[{offset:0,color:"#4C85FF "},{offset:.9,color:"#6BCCFF"}]),new nH.graphic.LinearGradient(1,0,0,0,[{offset:0,color:"#04B2C8"},{offset:.9,color:"#4DE3A3"}]),new nH.graphic.LinearGradient(1,0,0,0,[{offset:0,color:"#FF992F"},{offset:.9,color:"#FFCF47"}])];return({gpui:t})=>{const[e,a]=o.useState({}),[i,r]=o.useState([]),[l,s]=o.useState(void 0);return o.useEffect((()=>{let e=!0;const a=n.reaction((()=>({deviceToken:t.params.deviceToken,api:t.params.api,key:t.params.key})),(({deviceToken:t,api:n,key:a})=>p(void 0,void 0,void 0,(function*(){if(e&&(lH.additionalHeaders={"X-Gapper-OAuth-Token":t},a&&r(a),n&&t))try{const t=yield yield((t,e)=>p(void 0,void 0,void 0,(function*(){var n;if(!t)return;let a={};e.map((t=>{a[t]={st:0,pp:100}}));const i=yield lH(`${t}`,{method:"POST",headers:{"Content-Type":"application/json;charset=UTF-8"},body:JSON.stringify(a)}),r=yield i.json();if(!i.ok)throw new iH(null===(n=r.error)||void 0===n?void 0:n.message,i.status);return r})))(n,a);t&&(s(t),e=!1)}catch(t){console.log(t)}}))),{fireImmediately:!0});return()=>{a(),e=!1}}),[t.params.deviceToken,t.params.api,t.params.key]),o.useEffect((()=>{l&&i&&(i.map((t=>{((t,e="")=>{const n=t[e];let a={};n.data[0].map((t=>{a.value=Number(t)})),n.columns.map((t=>{a.name=t.title})),sH.push(a)})(l,t)})),a({tooltip:{trigger:"item"},legend:{orient:"vertical",right:"1",bottom:"40%",itemGap:30,itemWidth:8,icon:"circle",formatter:function(t){let e=0;for(let n=0;n<sH.length;n++)t==sH[n].name&&(e=sH[n].value);return[t+" {c|"+e+"}"]},textStyle:{fontSize:"14",fontWeight:"bold",color:"#CDE0FF",rich:{c:{fontSize:20,color:"#6EADF8",fontFamily:"Arial",fontWeight:"bold"}}}},series:[{color:uH,type:"pie",radius:"70%",center:["35%","40%"],label:{position:"inner",formatter:"{c|{c}}",rich:{c:{fontSize:"15",color:"#FFFFFF",fontWeight:"bold",fontFamily:"Helvetica"}}},data:sH}]}))}),[l,i]),m.jsx("div",Object.assign({style:{width:"100%",height:"100%"}},{children:m.jsx("div",Object.assign({style:{width:"100%",height:"100%",marginTop:"20%"}},{children:m.jsx(tH,{option:e},void 0)}),void 0)}),void 0)}}));
