You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
802 KiB

2 years ago
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.echarts={})}(this,function(t){"use strict";function e(t,e){function n(){this.constructor=t}if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");yI(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function n(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;o>r;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||e)}function i(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.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 s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}function r(t,e){PI[t]=e}function o(){return OI++}function a(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function s(t){if(null==t||"object"!=typeof t)return t;var e=t,n=SI.call(t);if("[object Array]"===n){if(!Y(t)){e=[];for(var i=0,r=t.length;r>i;i++)e[i]=s(t[i])}}else if(bI[n]){if(!Y(t)){var o=t.constructor;if(o.from)e=o.from(t);else{e=new o(t.length);for(var i=0,r=t.length;r>i;i++)e[i]=s(t[i])}}}else if(!wI[n]&&!Y(t)&&!P(t)){e={};for(var a in t)t.hasOwnProperty(a)&&a!==kI&&(e[a]=s(t[a]))}return e}function l(t,e,n){if(!A(e)||!A(t))return n?s(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==kI){var r=t[i],o=e[i];!A(o)||!A(r)||M(o)||M(r)||P(o)||P(r)||L(o)||L(r)||Y(o)||Y(r)?!n&&i in t||(t[i]=s(e[i])):l(r,o,n)}return t}function u(t,e){for(var n=t[0],i=1,r=t.length;r>i;i++)n=l(n,t[i],e);return n}function h(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==kI&&(t[n]=e[n]);return t}function c(t,e,n){for(var i=w(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function p(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n}return-1}function d(t,e){function n(){}var i=t.prototype;n.prototype=e.prototype,t.prototype=new n;for(var r in i)i.hasOwnProperty(r)&&(t.prototype[r]=i[r]);t.prototype.constructor=t,t.superClass=e}function f(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else c(t,e,n)}function g(t){return t?"string"==typeof t?!1:"number"==typeof t.length:!1}function y(t,e,n){if(t&&e)if(t.forEach&&t.forEach===II)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;r>i;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function v(t,e,n){if(!t)return[];if(!e)return F(t);if(t.map&&t.map===DI)return t.map(e,n);for(var i=[],r=0,o=t.length;o>r;r++)i.push(e.call(n,t[r],r,t));return i}function m(t,e,n,i){if(t&&e){for(var r=0,o=t.length;o>r;r++)n=e.call(i,n,t[r],r,t);return n}}function x(t,e,n){if(!t)return[];if(!e)return F(t);if(t.filter&&t.filter===TI)return t.filter(e,n);for(var i=[],r=0,o=t.length;o>r;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function _(t,e,n){if(t&&e)for(var i=0,r=t.length;r>i;i++)if(e.call(n,t[i],i,t))return t[i]}function w(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}function
}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||C(t)?t+"":e}function nr(t){var e=t.name;return!(!e||!e.indexOf(NC))}function ir(t){return t&&null!=t.id&&0===tr(t.id).indexOf(EC)}function rr(t,e,n){y(t,function(t){var i=t.newOption;A(i)&&(t.keyInfo.mainType=e,t.keyInfo.subType=or(e,i,t.existing,n))})}function or(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}function ar(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?M(e.dataIndex)?v(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?M(e.name)?v(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function sr(){var t="__ec_inner_"+BC++;return function(e){return e[t]||(e[t]={})}}function lr(t,e,n){var i=ur(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=a,l=n?n.defaultMainType:null;return!r&&l&&o.set(l,{}),o.each(function(e,i){var r=hr(t,i,e,{useDefault:l===i,enableAll:n&&null!=n.enableAll?n.enableAll:!0,enableNone:n&&null!=n.enableNone?n.enableNone:!0});s[i+"Models"]=r.models,s[i+"Model"]=r.models[0]}),s}function ur(t,e){var n;if(T(t)){var i={};i[t+"Index"]=0,n=i}else n=t;var r=U(),o={},a=!1;return y(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n)return void(o[n]=t);var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=i[1],l=(i[2]||"").toLowerCase();if(s&&l&&!(e&&e.includeMainTypes&&p(e.includeMainTypes,s)<0)){a=a||!!s;var u=r.get(s)||r.set(s,{});u[l]=t}}),{mainTypeSpecified:a,queryOptionMap:r,others:o}}function hr(t,e,n,i){i=i||VC;var r=n.index,o=n.id,a=n.name,s={models:null,specified:null!=r||null!=o||null!=a};if(!s.specified){var l=void 0;return s.models=i.useDefault&&(l=t.getComponent(e))?[l]:[],s}return"none"===r||r===!1?(H(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===r&&(H(i.enableAll,'`"all"` is not a valid value on index option.'),r=o=a=null),s.models=t.queryComponents({mainType:e,index:r,id:o,name:a}),s)}function cr(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function pr(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function dr(t){return"auto"===t?_I.domSupported?"html":"richText":t||"html"}function fr(t,e){var n=U(),i=[];return y(t,function(t){var r=e(t);(n.get(r)||(i.push(r),n.set(r,[]))).push(t)}),{keys:i,buckets:n}}function gr(t,e,n,i,r){var o=null==e||"auto"===e;if(null==i)return i;if("number"==typeof i){var a=mn(n||0,i,r);return wi(a,o?Math.max(Si(n||0),Si(i)):e)}if("string"==typeof i)return 1>r?n:i;for(var s=[],l=n,u=i,h=Math.max(l?l.length:0,u.length),c=0;h>c;++c){var p=t.getDimensionInfo(c);if(p&&"ordinal"===p.type)s[c]=(1>r&&l?l:u)[c];else{var d=l&&l[c]?l[c]:0,f=u[c],a=mn(d,f,r);s[c]=wi(a,o?Math.max(Si(d),Si(f)):e)}}return s}function yr(t){var e={main:"",sub:""};if(t){var n=t.split(FC);e.main=n[0]||"",e.sub=n[1]||""}return e}function vr(t){H(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function mr(t){return!(!t||!t[HC])}function xr(t){t.$constructor=t,t.extend=function(t){function e(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(t.$constructor)t.$constructor.apply(this,arguments);else{if(_r(i)){var a=j(e.prototype,new(i.bind.apply(i,n([void 0],r))));return a}i.apply(this,arguments)}}var i=this;return e[HC]=!0,h(e.prototype,t),e.extend=this.extend,e.superCall=Sr,e.superApply=Mr,d(e,this),e.superClass=i,e}}function _r(t){return"function"==typeof t&&/^class\s/.test(Function.prototype.toString.call(t))}function wr(t,e){t.extend=e.extend}function br(t){var e=["__\x00is_clz",WC++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function Sr(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function Mr(t,e,n){return this.superClass.prototype[e].apply(t,n)}function Ir(t){function e(t){var e=n[t.main];return e&&e[GC]||(e=n[t.main]={},e[GC]=!0),e}var n={};t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){vr(i),t.prototype.type=i;var r=yr(i);if(r.sub){if
ho(c,!l),s=iL(c[0]-c[1])}var p=e.cx,d=e.cy,f=e.cornerRadius||0,g=e.innerCornerRadius||0;if(n>sL)if(s>$A-sL)t.moveTo(p+n*tL(u),d+n*QA(u)),t.arc(p,d,n,u,h,!l),i>sL&&(t.moveTo(p+i*tL(h),d+i*QA(h)),t.arc(p,d,i,h,u,l));else{var y=iL(n-i)/2,v=aL(y,f),m=aL(y,g),x=m,_=v,w=n*tL(u),b=n*QA(u),S=i*tL(h),M=i*QA(h),I=void 0,T=void 0,C=void 0,D=void 0;if((v>sL||m>sL)&&(I=n*tL(h),T=n*QA(h),C=i*tL(u),D=i*QA(u),JA>s)){var A=Ha(w,b,C,D,I,T,S,M);if(A){var L=w-A[0],k=b-A[1],P=I-A[0],O=T-A[1],R=1/QA(eL((L*P+k*O)/(rL(L*L+k*k)*rL(P*P+O*O)))/2),N=rL(A[0]*A[0]+A[1]*A[1]);x=aL(m,(i-N)/(R-1)),_=aL(v,(n-N)/(R+1))}}if(s>sL)if(_>sL){var E=Wa(C,D,w,b,n,_,l),z=Wa(I,T,S,M,n,_,l);t.moveTo(p+E.cx+E.x01,d+E.cy+E.y01),v>_?t.arc(p+E.cx,d+E.cy,_,nL(E.y01,E.x01),nL(z.y01,z.x01),!l):(t.arc(p+E.cx,d+E.cy,_,nL(E.y01,E.x01),nL(E.y11,E.x11),!l),t.arc(p,d,n,nL(E.cy+E.y11,E.cx+E.x11),nL(z.cy+z.y11,z.cx+z.x11),!l),t.arc(p+z.cx,d+z.cy,_,nL(z.y11,z.x11),nL(z.y01,z.x01),!l))}else t.moveTo(p+w,d+b),t.arc(p,d,n,u,h,!l);else t.moveTo(p+w,d+b);if(i>sL&&s>sL)if(x>sL){var E=Wa(S,M,I,T,i,-x,l),z=Wa(w,b,C,D,i,-x,l);t.lineTo(p+E.cx+E.x01,d+E.cy+E.y01),m>x?t.arc(p+E.cx,d+E.cy,x,nL(E.y01,E.x01),nL(z.y01,z.x01),!l):(t.arc(p+E.cx,d+E.cy,x,nL(E.y01,E.x01),nL(E.y11,E.x11),!l),t.arc(p,d,i,nL(E.cy+E.y11,E.cx+E.x11),nL(z.cy+z.y11,z.cx+z.x11),l),t.arc(p+z.cx,d+z.cy,x,nL(z.y11,z.x11),nL(z.y01,z.x01),!l))}else t.lineTo(p+S,d+M),t.arc(p,d,i,h,u,l);else t.lineTo(p+S,d+M)}else t.moveTo(p,d);t.closePath()}}function Ya(t,e,n,i,r,o,a){var s=.5*(n-t),l=.5*(i-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*r+e}function Ua(t,e){for(var n=t.length,i=[],r=0,o=1;n>o;o++)r+=ce(t[o-1],t[o]);var a=r/2;a=n>a?n:a;for(var o=0;a>o;o++){var s=o/(a-1)*(e?n:n-1),l=Math.floor(s),u=s-l,h=void 0,c=t[l%n],p=void 0,d=void 0;e?(h=t[(l-1+n)%n],p=t[(l+1)%n],d=t[(l+2)%n]):(h=t[0===l?l:l-1],p=t[l>n-2?n-1:l+1],d=t[l>n-3?n-1:l+2]);var f=u*u,g=u*f;i.push([Ya(h[0],c[0],p[0],d[0],u,f,g),Ya(h[1],c[1],p[1],d[1],u,f,g)])}return i}function Za(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;d>p;p++)ye(a,a,t[p]),ve(s,s,t[p]);ye(a,a,i[0]),ve(s,s,i[1])}for(var p=0,d=t.length;d>p;p++){var f=t[p];if(n)r=t[p?p-1:d-1],o=t[(p+1)%d];else{if(0===p||p===d-1){l.push(Q(t[p]));continue}r=t[p-1],o=t[p+1]}ie(u,o,r),ue(u,u,e);var g=ce(f,r),y=ce(f,o),v=g+y;0!==v&&(g/=v,y/=v),ue(h,u,-g),ue(c,u,y);var m=ee([],f,h),x=ee([],f,c);i&&(ve(m,m,a),ye(m,m,s),ve(x,x,a),ye(x,x,s)),l.push(m),l.push(x)}return n&&l.push(l.shift()),l}function ja(t,e,n){var i=e.smooth,r=e.points;if(r&&r.length>=2){if(i&&"spline"!==i){var o=Za(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;(n?a:a-1)>s;s++){var l=o[2*s],u=o[2*s+1],h=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{"spline"===i&&(r=Ua(r,n)),t.moveTo(r[0][0],r[0][1]);for(var s=1,c=r.length;c>s;s++)t.lineTo(r[s][0],r[s][1])}n&&t.closePath()}}function qa(t,e,n){var i=t.cpx2,r=t.cpy2;return null===i||null===r?[(n?Yr:Xr)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Yr:Xr)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?$r:Jr)(t.x1,t.cpx1,t.x2,e),(n?$r:Jr)(t.y1,t.cpy1,t.y2,e)]}function Ka(t,e,n,i,r){var o;if(e&&e.ecModel){var a=e.ecModel.getUpdatePayload();o=a&&a.animation}var s=e&&e.isAnimationEnabled(),l="update"===t;if(s){var u=void 0,h=void 0,c=void 0;i?(u=B(i.duration,200),h=B(i.easing,"cubicOut"),c=0):(u=e.getShallow(l?"animationDurationUpdate":"animationDuration"),h=e.getShallow(l?"animationEasingUpdate":"animationEasing"),c=e.getShallow(l?"animationDelayUpdate":"animationDelay")),o&&(null!=o.duration&&(u=o.duration),null!=o.easing&&(h=o.easing),null!=o.delay&&(c=o.delay)),"function"==typeof c&&(c=c(n,r)),"function"==typeof u&&(u=u(n));var p={duration:u||0,delay:c,easing:h};return p}return null}function Ja(t,e,n,i,r,o,a){var s,l=!1;"function"==typeof r?(a=o,o=r,r=null):A(r)&&(o=r.cb,a=r.during,l=r.isFrom,s=r.removeOpt,r=r.dataIndex);var u="remove"===t;u||e.stopAnimation("remove");var h=Ka(t,i,r,u?s||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,r):null);if(h&&h.duration>0){var c=h.duration,p=h.delay,d=h.easing,f={duration:c,delay:p||0,easing:d
null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),gu(t)}}),t.dataRange&&(t.visualMap=t.dataRange),y(xP,function(e){var n=t[e];n&&(M(n)||(n=[n]),y(n,function(t){gu(t)}))})}function bu(t){var e=U();t.eachSeries(function(t){var n=t.get("stack");if(n){var i=e.get(n)||e.set(n,[]),r=t.getData(),o={stackResultDimension:r.getCalculationInfo("stackResultDimension"),stackedOverDimension:r.getCalculationInfo("stackedOverDimension"),stackedDimension:r.getCalculationInfo("stackedDimension"),stackedByDimension:r.getCalculationInfo("stackedByDimension"),isStackedByIndex:r.getCalculationInfo("isStackedByIndex"),data:r,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;i.length&&r.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),e.each(Su)}function Su(t){y(t,function(e,n){var i=[],r=[0/0,0/0],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex;a.modify(o,function(o,l,u){var h=a.get(e.stackedDimension,u);if(isNaN(h))return r;var c,p;s?p=a.getRawIndex(u):c=a.get(e.stackedByDimension,u);for(var d=0/0,f=n-1;f>=0;f--){var g=t[f];if(s||(p=g.data.rawIndexOf(g.stackedByDimension,c)),p>=0){var y=g.data.getByRawIndex(g.stackResultDimension,p);if(h>=0&&y>0||0>=h&&0>y){h=Ci(h,y),d=y;break}}}return i[0]=h,i[1]=d,i})})}function Mu(t){return t instanceof wP}function Iu(t,e,n){n=n||Du(t);var i=e.seriesLayoutBy,r=Au(t,n,i,e.sourceHeader,e.dimensions),o=new wP({data:t,sourceFormat:n,seriesLayoutBy:i,dimensionsDefine:r.dimensionsDefine,startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount,metaRawOption:s(e)});return o}function Tu(t){return new wP({data:t,sourceFormat:k(t)?Xk:Fk})}function Cu(t){return new wP({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:s(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function Du(t){var e=Yk;if(k(t))e=Xk;else if(M(t)){0===t.length&&(e=Gk);for(var n=0,i=t.length;i>n;n++){var r=t[n];if(null!=r){if(M(r)){e=Gk;break}if(A(r)){e=Hk;break}}}}else if(A(t))for(var o in t)if(q(t,o)&&g(t[o])){e=Wk;break}return e}function Au(t,e,n,i,r){var o,a;if(!t)return{dimensionsDefine:ku(r),startIndex:a,dimensionsDetectedCount:o};if(e===Gk){var s=t;"auto"===i||null==i?Pu(function(t){null!=t&&"-"!==t&&(T(t)?null==a&&(a=1):a=0)},n,s,10):a=D(i)?i:i?1:0,r||1!==a||(r=[],Pu(function(t,e){r[e]=null!=t?t+"":""},n,s,1/0)),o=r?r.length:n===Zk?s.length:s[0]?s[0].length:null}else if(e===Hk)r||(r=Lu(t));else if(e===Wk)r||(r=[],y(t,function(t,e){r.push(e)}));else if(e===Fk){var l=Xi(t[0]);o=M(l)&&l.length||1}return{startIndex:a,dimensionsDefine:ku(r),dimensionsDetectedCount:o}}function Lu(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e){var i=[];return y(e,function(t,e){i.push(e)}),i}}function ku(t){if(t){var e=U();return v(t,function(t){t=A(t)?t:{name:t};var n={name:t.name,displayName:t.displayName,type:t.type};if(null==n.name)return n;n.name+="",null==n.displayName&&(n.displayName=n.name);var i=e.get(n.name);return i?n.name+="-"+i.count++:e.set(n.name,{count:1}),n})}}function Pu(t,e,n,i){if(e===Zk)for(var r=0;r<n.length&&i>r;r++)t(n[r]?n[r][0]:null,r);else for(var o=n[0]||[],r=0;r<o.length&&i>r;r++)t(o[r],r)}function Ou(t){var e=t.sourceFormat;return e===Hk||e===Wk}function Ru(t,e){var n=MP[zu(t,e)];return n}function Nu(t,e){var n=TP[zu(t,e)];return n}function Eu(t){var e=DP[t];return e}function zu(t,e){return t===Gk?t+"_"+e:t}function Bu(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return Eu(o)(i,a,s)}var l=i;return o===Fk&&(l=Xi(i)),l}}}function Vu(t){var e,n;return A(t)?t.type&&(n=t):e=t,{markupText:e,markupFragment:n}}function Fu(t){return new kP(t)}function Gu(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?0/0:+t)}function Hu(t,e){var n=new NP,i=t.data,r=n.sourceFormat=t.sourceFormat
}return e.UTF8Encoding=!1,e}function ip(t,e,n){for(var i=[],r=e[0],o=e[1],a=0;a<t.length;a+=2){var s=t.charCodeAt(a)-64,l=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function rp(t,e){return t=np(t),v(x(t.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var n=t.properties,i=t.geometry,r=[];if("Polygon"===i.type){var o=i.coordinates;r.push({type:"polygon",exterior:o[0],interiors:o.slice(1)})}if("MultiPolygon"===i.type){var o=i.coordinates;y(o,function(t){t[0]&&r.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})})}var a=new pR(n[e||"name"],r,n.cp);return a.properties=n,a})}function op(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===vR)return;e.push(new pR(vR,v(mR,function(t){return{type:"polygon",exterior:t}}),yR))}}function ap(t,e){if("china"===t){var n=wR[e.name];if(n){var i=e.getCenter();i[0]+=n[0]/10.5,i[1]+=-n[1]/14,e.setCenter(i)}}}function sp(t,e){if("world"===t){var n=bR[e.name];if(n){var i=[n[0],n[1]];e.setCenter(i)}}}function lp(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:SR[0]})}function up(t){for(var e,n=0;n<t.length;n++){var i=t[n].getBoundingRect();e=e||i.clone(),e.union(i)}return e}function hp(t){return T(t)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t}function cp(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void 0:dp(this,t,e)}}function pp(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return dp(this,t,e)}}function dp(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),UI.prototype[e].apply(t,n)}function fp(t,e,n){var i=mp(t);if(i)return i;var r=new MN(t,e,n);return r.id="ec_"+EN++,RN[r.id]=r,cr(t,BN,r.id),wN(r),DR.trigger("afterinit",r),r}function gp(t){if(M(t)){var e=t;t=null,y(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+zN++,y(e,function(e){e.group=t})}return NN[t]=!0,t}function yp(t){NN[t]=!1}function vp(t){"string"==typeof t?t=RN[t]:t instanceof MN||(t=mp(t)),t instanceof MN&&!t.isDisposed()&&t.dispose()}function mp(t){return RN[pr(t,BN)]}function xp(t){return RN[t]}function _p(t,e){PN[t]=e}function wp(t){p(LN,t)<0&&LN.push(t)}function bp(t,e){kp(AN,t,e,ER)}function Sp(t){Ip("afterinit",t)}function Mp(t){Ip("afterupdate",t)}function Ip(t,e){DR.on(t,e)}function Tp(t,e,n){"function"==typeof e&&(n=e,e="");var i=A(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,DN[e]||(H($R.test(i)&&$R.test(e)),CN[i]||(CN[i]={action:n,actionInfo:t}),DN[e]=i)}function Cp(t,e){pP.register(t,e)}function Dp(t){var e=pP.get(t);return e?e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice():void 0}function Ap(t,e){kp(kN,t,e,BR,"layout")}function Lp(t,e){kp(kN,t,e,GR,"visual")}function kp(t,e,n,i,r){if((I(e)||A(e))&&(n=e,e=i),!(p(FN,n)>=0)){FN.push(n);var o=yO.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Pp(t,e){ON[t]=e}function Op(t){r("createCanvas",t)}function Rp(t,e,n){CR.registerMap(t,e,n)}function Np(t){return CR.getMapForUser(t)}function Ep(t){return null==t?0:t.length||1}function zp(t){return t}function Bp(t,e){var n={},i=n.encode={},r=U(),o=[],a=[],s={};y(t.dimensions,function(e){var n=t.getDimensionInfo(e),l=n.coordDim;if(l){var u=n.coordDimIndex;Vp(i,l)[u]=e,n.isExtraCoord||(r.set(l,1),Gp(n.type)&&(o[0]=e),Vp(s,l)[u]=t.getDimensionIndex(n.name)),n.defaultTooltip&&a.push(e)}Vk.each(function(t,e){var r=Vp(i,e),o=n.otherDims[e];null!=o&&o!==!1&&(r[o]=n.name)})});var l=[],u={};r.each(function(t,e){var n=i[e];u[e]=n[0],l=l.concat(n)}),n.dataDimsOnCoord=l,n.dataDimIndicesOnCoord=v(l,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=u;var h=i.label;h&&h.length&&(o=h.slice());var c=i.tooltip;return c&&c.length?a=c.slice():a.length||(a=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=a,n.userOutput=new JN(s,e),n}function Vp(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function Fp(t){return"category"===t?"ordinal":"time"===t?"time":"float"}function Gp(t){
}function Wf(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}function Xf(t){t.registerUpdateLifecycle("series:beforeupdate",function(t,e){var n=fz(e).labelManager;n||(n=fz(e).labelManager=new dz),n.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var i=fz(e).labelManager;n.updatedSeries.forEach(function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))}),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()})}function Yf(){return!1}function Uf(t,e,n){var i=RI(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}function Zf(t){return parseInt(t,10)}function jf(t){return t?t.__builtin__?!0:"function"!=typeof t.resize||"function"!=typeof t.refresh?!1:!0:!1}function qf(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}function Kf(t){t.registerPainter("canvas",_z)}function Jf(t){t.registerComponentModel(wz),t.registerComponentView(bz)}function $f(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(p>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p));var d=void 0;"string"==typeof r?d=Sz[r]:"function"==typeof r&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,Mz))}}}}}function Qf(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,l=o.width,u=o.height,h=n.get(["lineStyle","width"])||2;a-=h/2,s-=h/2,l+=h,u+=h,a=Math.floor(a),l=Math.round(l);var c=new uA({shape:{x:a,y:s,width:l,height:u}});if(e){var p=t.getBaseAxis(),d=p.isHorizontal(),f=p.inverse;d?(f&&(c.shape.x+=l),c.shape.width=0):(f||(c.shape.y+=u),c.shape.height=0);var g="function"==typeof r?function(t){r(t,c)}:null;Qa(c,{shape:{width:l,height:u,x:a,y:s}},n,null,i,g)}return c}function tg(t,e,n){var i=t.getArea(),r=wi(i.r0,1),o=wi(i.r,1),a=new uL({shape:{cx:wi(t.cx,1),cy:wi(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});if(e){var s="angle"===t.getBaseAxis().dim;s?a.shape.endAngle=i.startAngle:a.shape.r=r,Qa(a,{shape:{endAngle:i.endAngle,r:o}},n)}return a}function eg(t,e,n,i,r){return t?"polar"===t.type?tg(t,e,n):"cartesian2d"===t.type?Qf(t,e,n,i,r):null:null}function ng(t,e){return t.type===e}function ig(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=Bu(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push(Bu(t,e,n[a]));return o.join(" ")}}function rg(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!M(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}function og(t,e){e=e||{};var n=e.isRoundCap;return function(e,i,r){var o=i.position;if(!o||o instanceof Array)return oi(e,i,r);var a=t(o),s=null!=i.distance?i.distance:5,l=this.shape,u=l.cx,h=l.cy,c=l.r,p=l.r0,d=(c+p)/2,f=l.startAngle,g=l.endAngle,y=(f+g)/2,v=n?Math.abs(c-p)/2:0,m=Math.cos,x=Math.sin,_=u+c*m(f),w=h+c*x(f),b="left",S="top";switch(a){case"startArc":_=u+(p-s)*m(y),w=h+(p-s)*x(y),b="center",S="top";break;case"insideStartArc":_=u+(p+s)*m(y),w=h+(p+s)*x(y),b="center",S="bottom";break;case"startAngle":_=u+d*m(f)+sg(f,s+v,!1),w=h+d*x(f)+lg(f,s+v,!1),b="right",S="middle";break;case"insideStartAngle":_=u+d*m(f)+sg(f,-s+v,!1),w=h+d*x(f)+lg(f,-s+v,!1),b="left",S="middle";break;case"middle":_=u+d*m(y),w=h+d*x(y),b="center",S="middle";break;case"endArc":_=u+(c+s)*m(y),w=h+(c+s)*x(y),b="center",S="bottom";break;case"insideEndArc":_=u+(c-s)*m(y),w=h+(c-s)*x(y),b="center",S="top";break;case"endAngle":_=u+d*m(g)+sg(g,s+v,!0),w=h+d*x(g)+lg(g,s+v,!0),b="left",S="middle";break;case"insideEndAngle":_=u+d*m(g)+sg(g,-s+v,!0),w=h+d*x(g)+lg(g,-s+v,!0),b="right",S="middle";break;default:return oi(e,i,r)}return
}function Ny(t,e){e.eachSeries(function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&i!==!1&&"item"!==i&&r!==!1&&e.get(["axisPointer","show"],!0)!==!1&&y(t.coordSysAxesInfo[Hy(n.model)],function(t){var i=t.axis;n.getAxis(i.dim)===i&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())})})}function Ey(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(zy(o[i+"AxisId"],n.id)||zy(o[i+"AxisIndex"],n.componentIndex)||zy(o[i+"AxisName"],n.name))return r}}function zy(t,e){return"all"===t||M(t)&&p(t,e)>=0||t===e}function By(t){var e=Vy(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=Gy(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a<l[0]&&(a=l[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function Vy(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Hy(t)]}function Fy(t){var e=Vy(t);return e&&e.axisPointerModel}function Gy(t){return!!t.get(["handle","show"])}function Hy(t){return t.type+"||"+t.id}function Wy(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),s=a.get("color"),l=i.coordinateSystem.getRect(),u=r.getTicksCoords({tickModel:o,clamp:!0});if(u.length){var h=s.length,p=PB(t).splitAreaColors,d=U(),f=0;if(p)for(var g=0;g<u.length;g++){var y=p.get(u[g].tickValue);if(null!=y){f=(y+(h-1)*g)%h;break}}var v=r.toGlobalCoord(u[0].coord),m=a.getAreaStyle();s=M(s)?s:[s];for(var g=1;g<u.length;g++){var x=r.toGlobalCoord(u[g].coord),_=void 0,w=void 0,b=void 0,S=void 0;r.isHorizontal()?(_=v,w=l.y,b=x-_,S=l.height,v=_+b):(_=l.x,w=v,b=l.width,S=x-w,v=w+S);var I=u[g-1].tickValue;null!=I&&d.set(I,f),e.add(new uA({anid:null!=I?"area_"+I:null,shape:{x:_,y:w,width:b,height:S},style:c({fill:s[f]},m),autoBatch:!0,silent:!0})),f=(f+1)%h}PB(t).splitAreaColors=d}}}function Xy(t){PB(t).splitAreaColors=null}function Yy(t){t.registerComponentView(VB),t.registerComponentModel(dB),t.registerCoordinateSystem("cartesian2d",TB),dy(t,"x",fB,FB),dy(t,"y",fB,FB),t.registerComponentView(zB),t.registerComponentView(BB),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function Uy(t){ef(Yy),t.registerSeriesModel(sB),t.registerChartView(pB),t.registerLayout(Qg("scatter"))}function Zy(t,e){var n=e.rippleEffectColor||e.color;t.eachChild(function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})})}function jy(t){t.registerChartView(HB),t.registerSeriesModel(WB),t.registerLayout(Qg("effectScatter"))}function qy(t,e,n){var i=t.ends;return new ZB({shape:{points:n?$y(i,t):i},z2:100})}function Ky(t,e){for(var n=!0,i=0;i<e.ends.length;i++)if(t.contain(e.ends[i][0],e.ends[i][1])){n=!1;break}return n}function Jy(t,e,n,i){var r=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=i,Sa(t,r)}function $y(t,e){return v(t,function(t){return t=t.slice(),t[1]=e.initBaseline,t})}function Qy(t,e,n){var i=t.getData(),r=i.getLayout("largePoints"),o=new qB({shape:{points:r},__sign:1});e.add(o);var a=new qB({shape:{points:r},__sign:-1});e.add(a),tv(1,o,t,i),tv(-1,a,t,i),n&&(o.incremental=!0,a.incremental=!0)}function tv(t,e,n){var i=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]),r=n.getModel("itemStyle").getItemStyle(XB);e.useStyle(r),e.style.fill=null,e.style.stroke=i}function ev(t){t&&M(t.series)&&y(t.series,function(t){A(t)&&"k"===t.type&&(t.type="candlestick")})}function nv(t,e,n,i,r){var o;return o=n>i?-1:i>n?1:e>0?t.get(r,e-1)<=i?1:-1:1}function iv(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=_i(B(t.get("barMaxWidth"),r),r),a=_i(B(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?_i(s,r):Math.max(Math.min(r/2,o),a)}function r
}},index:e}});return n.sort(function(t,n){return e(t.params,n.params)}),v(n,function(e){return t[e.index]})}var i="asc"===e;return t.sort(function(t,e){var n=(t.getValue()-e.getValue())*(i?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(i?-1:1):n})}function lx(t){function e(t,e,i){for(var r=t;r&&r.depth>1;)r=r.parentNode;var o=e.getColorFromPalette(r.name||r.dataIndex+"",n);return t.depth>1&&"string"==typeof o&&(o=un(o,(t.depth-1)/(i-1)*.5)),o}var n={};t.eachSeriesByType("sunburst",function(t){var n=t.getData(),i=n.tree;i.eachNode(function(r){var o=r.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=e(r,t,i.root.height));var s=n.ensureUniqueItemVisual(r.dataIndex,"style");h(s,a)})})}function ux(t){t.registerChartView(mF),t.registerSeriesModel(xF),t.registerLayout(S(ox,"sunburst")),t.registerProcessor(S(ry,"sunburst")),t.registerVisual(lx),ix(t)}function hx(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function cx(t,e,n,i){var r=i.getModel("itemStyle"),o=i.getModel(["emphasis","itemStyle"]),a=i.getModel(["blur","itemStyle"]),s=i.getModel(["select","itemStyle"]),l=hx(r),u=hx(o),h=hx(s),c=hx(a),p=t.data;if(p){var d=p.getItemVisual(n,"style"),f=p.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&d.fill&&(l.fill=d.fill),f&&(l.decal=Lc(f,t.api))}e.setStyle(l),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=u,e.ensureState("select").style=h,e.ensureState("blur").style=c,ea(e)}function px(t,e,n,i,r,o,a){var s=t.data,l=t.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),o)),h=s&&s.getItemLayout(o);if(l||u||h&&h.showLabel){var c=l?n:o,p=void 0;(!s||o>=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;ks(e,Ps(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(IF(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function dx(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):yA(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function fx(t,e,n,i,r){t.data||Ds({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function gx(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return wa(e,a,o.get("blurScope")),t.isGeo&&Ta(e,r,n),a}function yx(t,e){var n={};return y(t,function(t){t.each(t.mapDimension("value"),function(e,i){var r="ec-"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)})}),t[0].map(t[0].mapDimension("value"),function(i,r){for(var o="ec-"+t[0].getName(r),a=0,s=1/0,l=-1/0,u=n[o].length,h=0;u>h;h++)s=Math.min(s,n[o][h]),l=Math.max(l,n[o][h]),a+=n[o][h];var c;return c="min"===e?s:"max"===e?l:"average"===e?a/u:a,0===u?0/0:c})}function vx(t){var e={};t.eachSeriesByType("map",function(t){var n=t.getHostGeoModel(),i=n?"o"+n.id:"i"+t.getMapType();(e[i]=e[i]||[]).push(t)}),y(e,function(t){for(var e=yx(v(t,function(t){return t.getData()}),t[0].get("mapValueCalculation")),n=0;n<t.length;n++)t[n].originalData=t[n].getData();for(var n=0;n<t.length;n++)t[n].seriesGroup=t,t[n].needsDrawMap=0===n&&!t[n].getHostGeoModel(),t[n].setData(e.cloneShallow()),t[n].mainSeries=t[0]})}function mx(t){var e={};t.eachSeriesByType("map",function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var r={};y(n.seriesGroup,function(e){var n=e.coordinateSystem,i=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&i.each(i.mapDimension("value"),function(t,e){var o=i.getName(e),a=n.getRegion(o);if(a&&!isNaN(t)){var s=r[o]||0,l=n.dataToPoint(a.getCenter());r[o]=s+1,i.setItemLayout(e,{point:l,offset:s})}})});var o=n.getData();o.each(function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!r[e],o.setItemLayout(t,n)}),e[i]=!0}})}function xx(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("
if(d)"insideLeft"===u?(r=(p[0][0]+p[3][0])/2+5,o=(p[0][1]+p[3][1])/2,i="left"):"insideRight"===u?(r=(p[1][0]+p[2][0])/2-5,o=(p[1][1]+p[2][1])/2,i="right"):(r=(p[0][0]+p[1][0]+p[2][0]+p[3][0])/4,o=(p[0][1]+p[1][1]+p[2][1]+p[3][1])/4,i="center"),a=[[r,o],[r,o]];else{var f=void 0,g=void 0,y=void 0,v=void 0,m=h.get("length");"left"===u?(f=(p[3][0]+p[0][0])/2,g=(p[3][1]+p[0][1])/2,y=f-m,r=y-5,i="right"):"right"===u?(f=(p[1][0]+p[2][0])/2,g=(p[1][1]+p[2][1])/2,y=f+m,r=y+5,i="left"):"top"===u?(f=(p[3][0]+p[0][0])/2,g=(p[3][1]+p[0][1])/2,v=g-m,o=v-5,i="center"):"bottom"===u?(f=(p[1][0]+p[2][0])/2,g=(p[1][1]+p[2][1])/2,v=g+m,o=v+5,i="center"):"rightTop"===u?(f="horizontal"===n?p[3][0]:p[1][0],g="horizontal"===n?p[3][1]:p[1][1],"horizontal"===n?(v=g-m,o=v-5,i="center"):(y=f+m,r=y+5,i="top")):"rightBottom"===u?(f=p[2][0],g=p[2][1],"horizontal"===n?(v=g+m,o=v+5,i="center"):(y=f+m,r=y+5,i="bottom")):"leftTop"===u?(f=p[0][0],g="horizontal"===n?p[0][1]:p[1][1],"horizontal"===n?(v=g-m,o=v-5,i="center"):(y=f-m,r=y-5,i="right")):"leftBottom"===u?(f="horizontal"===n?p[1][0]:p[3][0],g="horizontal"===n?p[1][1]:p[2][1],"horizontal"===n?(v=g+m,o=v+5,i="center"):(y=f-m,r=y-5,i="right")):(f=(p[1][0]+p[2][0])/2,g=(p[1][1]+p[2][1])/2,"horizontal"===n?(v=g+m,o=v+5,i="center"):(y=f+m,r=y+5,i="left")),"horizontal"===n?(y=f,r=y):(v=g,o=v),a=[[f,g],[y,v]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:d}})}function Ow(t,e){t.eachSeriesByType("funnel",function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=Lw(t,e),a=t.get("orient"),s=o.width,l=o.height,u=kw(n,r),h=o.x,c=o.y,p="horizontal"===a?[_i(t.get("minSize"),l),_i(t.get("maxSize"),l)]:[_i(t.get("minSize"),s),_i(t.get("maxSize"),s)],d=n.getDataExtent(i),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(d[0],0)),null==g&&(g=d[1]);var y=t.get("funnelAlign"),v=t.get("gap"),m="horizontal"===a?s:l,x=(m-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=n.get(i,t)||0,o=xi(r,[f,g],p,!0),u=void 0;switch(y){case"top":u=c;break;case"center":u=c+(l-o)/2;break;case"bottom":u=c+(l-o)}return[[e,u],[e,u+o]]}var d,v=n.get(i,t)||0,m=xi(v,[f,g],p,!0);switch(y){case"left":d=h;break;case"center":d=h+(s-m)/2;break;case"right":d=h+s-m}return[[d,e],[d+m,e]]};"ascending"===r&&(x=-x,v=-v,"horizontal"===a?h+=s:c+=l,u=u.reverse());for(var w=0;w<u.length;w++){var b=u[w],S=u[w+1],M=n.getItemModel(b);if("horizontal"===a){var I=M.get(["itemStyle","width"]);null==I?I=x:(I=_i(I,s),"ascending"===r&&(I=-I));var T=_(b,h),C=_(S,h+I);h+=I+v,n.setItemLayout(b,{points:T.concat(C.slice().reverse())})}else{var D=M.get(["itemStyle","height"]);null==D?D=x:(D=_i(D,l),"ascending"===r&&(D=-D));var T=_(b,c),C=_(S,c+D);c+=D+v,n.setItemLayout(b,{points:T.concat(C.slice().reverse())})}}Pw(n)})}function Rw(t){t.registerChartView(SH),t.registerSeriesModel(MH),t.registerLayout(Ow),t.registerProcessor(ry("funnel"))}function Nw(t,e,n){var i=new uA({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Qa(i,{shape:{width:t.width+20}},e,n),i}function Ew(t,e){t.eachSeriesByType("sankey",function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=zw(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;Vw(l);var h=x(l,function(t){return 0===t.getLayout().value}),c=0!==h.length?0:t.get("layoutIterations"),p=t.get("orient"),d=t.get("nodeAlign");Bw(l,u,n,i,o,a,c,p,d)})}function zw(t,e){return Ll(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Bw(t,e,n,i,r,o,a,s,l){Fw(t,e,n,r,o,s,l),Yw(t,e,o,r,i,a,s),rb(t,s)}function Vw(t){y(t,function(t){var e=nb(t.outEdges,eb),n=nb(t.inEdges,eb),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)})}function Fw(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p<e.length;p++)s[p]=1;for(var p=0;p<t.length;p++)l[p]=t[p].inEdges.length,0===l[p]&&u.push(t[p]);for(var d=-1;u.length;){for(var f=0;f<u.length;f++){var g=u[f],y=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=y.depth&&y.depth>=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLa
if(r&&(n.isLegacy||Xb(r,o,!!a,!!l))){n.isLegacy=!0;var u=Yb(r,o,!e);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!e&&l){var h=l;!h.type&&(h.type="text")}var c=e?n[e]:n.normal;c.cfg=a,c.conOpt=l}function IS(t,e){return e?t?t[e]:null:t}function TS(t,e,n){var i=e&&e.style;return null==i&&n===WH&&t&&(i=t.styleEmphasis),i}function CS(t,e,n,i,r){var o=i.children,a=o?o.length:0,s=i.$mergeChildren,l="byName"===s||i.diffChildrenByName,u=s===!1;if(a||l||u){if(l)return void DS({api:t,oldChildren:e.children()||[],newChildren:o||[],dataIndex:n,seriesModel:r,group:e});u&&e.removeAll();for(var h=0;a>h;h++)o[h]&&_S(t,e.childAt(h),n,o[h],r,e,!1);for(var c=e.childCount()-1;c>=h;c--)PS(e.childAt(c),r,e)}}function DS(t){new KN(t.oldChildren,t.newChildren,AS,AS,t).add(LS).update(LS).remove(kS).execute()}function AS(t,e){var n=t&&t.name;return null!=n?n:KH+e}function LS(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;_S(n.api,r,n.dataIndex,i,n.seriesModel,n.group,!1)}function kS(t){var e=this.context,n=e.oldChildren[t];PS(n,e.seriesModel,e.group)}function PS(t,e,n){if(t){var i=FH(t).leaveToProps;i?$a(t,i,e,{cb:function(){n.remove(t)}}):n.remove(t)}}function OS(t){return t&&(t.pathData||t.d)}function RS(t){return t&&(q(t,"pathData")||q(t,"d"))}function NS(t){t.registerChartView(QH),t.registerSeriesModel(GH)}function ES(t,e,n,i){zS(nW(n).lastProp,i)||(nW(n).lastProp=i,e?$a(n,i,t):(n.stopAnimation(),n.attr(i)))}function zS(t,e){if(A(t)&&A(e)){var n=!0;return y(e,function(e,i){n=n&&zS(t[i],e)}),!!n}return t===e}function BS(t,e){t[e.get(["label","show"])?"show":"hide"]()}function VS(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function FS(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse(function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)})}function GS(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function HS(t,e,n,i,r){var o=n.get("value"),a=XS(o,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=Sk(s.get("padding")||0),u=s.getFont(),h=ti(a,u),c=r.position,p=h.width+l[1]+l[3],d=h.height+l[0]+l[2],f=r.align;"right"===f&&(c[0]-=p),"center"===f&&(c[0]-=p/2);var g=r.verticalAlign;"bottom"===g&&(c[1]-=d),"middle"===g&&(c[1]-=d/2),WS(c,p,d,i);var y=s.get("backgroundColor");y&&"auto"!==y||(y=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Os(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:y}),z2:10}}function WS(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function XS(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:Yd(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};y(i,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)}),T(a)?o=a.replace("{value}",o):I(a)&&(o=a(s))}return o}function YS(t,e,n){var i=Gn();return Un(i,i,n.rotation),Yn(i,i,n.position),ys([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function US(t,e,n,i,r,o){var a=DB.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),HS(e,i,r,o,{position:YS(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function ZS(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function jS(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function qS(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}function KS(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=Gn();Un(p,p,s),Yn(p,p,[i.cx,i.cy]),l=ys([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=DB.innerTextLayout(
"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},n.prototype.resize=function(){this._hovered=new rT(0,0)},n.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},n.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},n.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},n.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){for(var r="on"+e,o=Ne(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)}))}},n.prototype.findHover=function(t,e,n){for(var i=this.storage.getDisplayList(),r=new rT(t,e),o=i.length-1;o>=0;o--){var a=void 0;if(i[o]!==n&&!i[o].ignore&&(a=ze(i[o],t,e))&&(!r.topTarget&&(r.topTarget=i[o]),a!==nT)){r.target=i[o];break}}return r},n.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new tT);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new rT;o.target=i.target,this.dispatchToElement(o,r,i.event)}},n}(UI);y(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){aT.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=Be(this,r,o);if("mouseup"===t&&a||(n=this.findHover(r,o),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||GI(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var sT,lT=32,uT=7,hT=1,cT=2,pT=4,dT=!1,fT=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=je}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;r>i;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,_I.canvasSupported&&Ue(n,je)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=hT),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else{var u=t;e&&e.length?u.__clipPaths=e:u.__clipPaths&&u.__clipPaths.length>0&&(u.__clipPaths=[]),isNaN(u.z)&&(Ze(),u.z=0),isNaN(u.z2)&&(Ze(),u.z2=0),isNaN(u.zlevel)&&(Ze(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;n>e;e++)this.delRoot(t[e]);else{var i=p(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();sT="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)
},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(!i)return void(e!==n&&t.copy(e,n));if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}lC.x=hC.x=n.x,lC.y=cC.y=n.y,uC.x=cC.x=n.x+n.width,uC.y=hC.y=n.y+n.height,lC.transform(i),cC.transform(i),uC.transform(i),hC.transform(i),e.x=aC(lC.x,uC.x,hC.x,cC.x),e.y=aC(lC.y,uC.y,hC.y,cC.y);var l=sC(lC.x,uC.x,hC.x,cC.x),u=sC(lC.y,uC.y,hC.y,cC.y);e.width=l-e.x,e.height=u-e.y},t}(),gC={},yC="12px sans-serif",vC={measureText:Jn},mC="__zr_normal__",xC=["x","y","scaleX","scaleY","originX","originY","rotation","ignore"],_C={x:!0,y:!0,scaleX:!0,scaleY:!0,originX:!0,originY:!0,rotation:!0,ignore:!1},wC={},bC=new fC(0,0,0,0),SC=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){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=bC;u.copy(n.layoutRect?n.layoutRect:this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(wC,n,u):oi(wC,n,u),r.x=wC.x,r.y=wC.y,o=wC.align,a=wC.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=ri(h[0],u.width),p=ri(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,(null==y||"auto"===y)&&(y=this.getInsideTextFill()),(null==v||"auto"===v)&&(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,(null==y||"auto"===y)&&(y=this.getOutsideFill()),(null==v||"auto"===v)&&(v=this.getOutsideStroke(y),m=!0)),y=y||"#000",(y!==g.fill||v!==g.stroke||m!==g.autoStroke||o!==g.align||a!==g.verticalAlign)&&(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=hT,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?jT:ZT},t.prototype.getOutsideStroke=function(){var t=this.__zr&&this.__zr.getBackgroundColor(),e="string"==typeof t&&an(t);e||(e=[255,255,255,1]);for(var n=e[3],i=this.__zr.isDarkMode(),r=0;3>r;r++)e[r]=e[r]*n+(i?0:255)*(1-n);return e[3]=1,gn(e,"rgba")},t.prototype.traverse=function(){},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||{},h(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!
f=io(r,o,x,_,g,y,10),r=g,o=y;break;case TD.A:var S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=t[c++],A=D+C;c+=1;{!t[c++]}d&&(a=ND(C)*I+S,s=ED(C)*T+M),f=RD(I,T)*OD(FD,Math.abs(D)),r=ND(A)*I+S,o=ED(A)*T+M;break;case TD.R:a=r=t[c++],s=o=t[c++];var L=t[c++],k=t[c++];f=2*L+2*k;break;case TD.Z:var v=a-r,m=s-o;f=Math.sqrt(v*v+m*m),r=a,o=s}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=1>e,m=0,x=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,h=e*u))t:for(var w=0;y>w;){var b=d[w++],S=1===w;switch(S&&(r=d[w],o=d[w+1],n=r,i=o),b!==TD.L&&_>0&&(t.lineTo(c,p),_=0),b){case TD.M:n=r=d[w++],i=o=d[w++],t.moveTo(r,o);break;case TD.L:a=d[w++],s=d[w++];var M=BD(a-r),I=BD(s-o);if(M>f||I>g){if(v){var T=l[x++];if(m+T>h){var C=(h-m)/T;t.lineTo(r*(1-C)+a*C,o*(1-C)+s*C);break t}m+=T}t.lineTo(a,s),r=a,o=s,_=0}else{var D=M*M+I*I;D>_&&(c=a,p=s,_=D)}break;case TD.C:var A=d[w++],L=d[w++],k=d[w++],P=d[w++],O=d[w++],R=d[w++];if(v){var T=l[x++];if(m+T>h){var C=(h-m)/T;jr(r,A,k,O,C,CD),jr(o,L,P,R,C,DD),t.bezierCurveTo(CD[1],DD[1],CD[2],DD[2],CD[3],DD[3]);break t}m+=T}t.bezierCurveTo(A,L,k,P,O,R),r=O,o=R;break;case TD.Q:var A=d[w++],L=d[w++],k=d[w++],P=d[w++];if(v){var T=l[x++];if(m+T>h){var C=(h-m)/T;eo(r,A,k,C,CD),eo(o,L,P,C,DD),t.quadraticCurveTo(CD[1],DD[1],CD[2],DD[2]);break t}m+=T}t.quadraticCurveTo(A,L,k,P),r=k,o=P;break;case TD.A:var N=d[w++],E=d[w++],z=d[w++],B=d[w++],V=d[w++],F=d[w++],G=d[w++],H=!d[w++],W=z>B?z:B,X=BD(z-B)>.001,Y=V+F,U=!1;if(v){var T=l[x++];m+T>h&&(Y=V+F*(h-m)/T,U=!0),m+=T}if(X&&t.ellipse?t.ellipse(N,E,z,B,G,V,Y,H):t.arc(N,E,W,V,Y,H),U)break t;S&&(n=ND(V)*z+N,i=ED(V)*B+E),r=ND(Y)*z+N,o=ED(Y)*B+E;break;case TD.R:n=r=d[w],i=o=d[w+1],a=d[w++],s=d[w++];var Z=d[w++],j=d[w++];if(v){var T=l[x++];if(m+T>h){var q=h-m;t.moveTo(a,s),t.lineTo(a+OD(q,Z),s),q-=Z,q>0&&t.lineTo(a+Z,s+OD(q,j)),q-=j,q>0&&t.lineTo(a+RD(Z-q,0),s+j),q-=Z,q>0&&t.lineTo(a,s+RD(j-q,0));break t}m+=T}t.rect(a,s,Z,j);break;case TD.Z:if(v){var T=l[x++];if(m+T>h){var C=(h-m)/T;t.lineTo(r*(1-C)+n*C,o*(1-C)+i*C);break t}m+=T}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=TD,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}(),XD=2*Math.PI,YD=2*Math.PI,UD=WD.CMD,ZD=2*Math.PI,jD=1e-4,qD=[-1,-1,-1],KD=[-1,-1],JD=c({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},tD),$D={style:c({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},eD.style)},QD=["x","y","rotation","scaleX","scaleY","originX","originY","invisible","culling","z","z2","zlevel","parent"],tA=function(t){function n(e){return t.call(this,e)||this}return e(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new n;r.buildPath===n.prototype.buildPath&&(r.buildPath=function(t){e.buildPath(t,e.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<QD.length;++s)r[QD[s]]=this[QD[s]];r.__dirty|=hT}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=w(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?h(this.style,a):this.useStyle(a):"shape"===o?h(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return
},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t(s(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(!_I.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||(n=n&&"object"==typeof n?n[t[i]]:null,null!=n));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();xr(ik),br(ik),f(ik,QL),f(ik,nk),f(ik,UC),f(ik,KL);var rk=Math.round(10*Math.random()),ok={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:". "}}}},ak={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:"桑基图",funne
var w=d,b=Math.min(d+h,l),S=d-1,M=s[c];n=-1,r=w;for(var m=w;b>m;m++){var x=this.getRawIndex(m),_=s[x];isNaN(_)||(i=Math.abs((S-y)*(_-M)-(S-m)*(v-M)),i>n&&(n=i,r=x))}p[u++]=r,c=r}return p[u++]=this.getRawIndex(l-1),o._count=u,o._indices=p,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),h=r._rawExtent[t]=$u(),c=new(Ju(this._rawCount))(Math.ceil(u/s)),p=0,d=0;u>d;d+=s){s>u-d&&(s=u-d,a.length=s);for(var f=0;s>f;f++){var g=this.getRawIndex(d+f);a[f]=l[g]}var y=n(a),v=this.getRawIndex(Math.min(d+i(a,y)||0,u-1));l[v]=y,y<h[0]&&(h[0]=y),y>h[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();o>r;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];n>s;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=$u();if(!e)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();i=n;for(var a=i[0],s=i[1],l=0;r>l;l++){var u=this.getRawIndex(l),h=e[u];a>h&&(a=h),h>s&&(s=h)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,r=this._chunks,o=e&&m(e,function(t,e){return t[e]=!0,t},{});if(o)for(var a=0;a<r.length;a++)i._chunks[a]=o[a]?Qu(r[a]):r[a];else i._chunks=r;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=s(this._extent),t._rawExtent=s(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;n>i;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Gu(t[i],this._dimensions[i])}lP={arrayRows:t,objectRows:function(t,e,n,i){return Gu(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Gu(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),XP=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(nh(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),l=u.getSource(),a=l.data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=o.get("data",!0),s=k(a)?Xk:Fk,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=B(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=B(h.sourceHeader,c.sourceHeader)||null,f=B(h.dimensions,c.dimensions),g=p!==c.seriesLayoutBy||!!d!=!!c.sourceHeader||f;t=g?[Iu(a,{seriesLayoutBy:p,sourceHeader:d,dimen
},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=Gc(i));var r=new dL({shape:{points:n||[]},silent:!0});return Fc(e,r),Hc(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=Gc(i));var r=new gL({shape:{points:n||[]},silent:!0});return Fc(e,r),Hc(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new oA;return Fc(e,n),Hc(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new MC;return Fc(e,a),Hc(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new MC;return Fc(e,a),Hc(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=t.getAttribute("d")||"",i=Va(n);return Fc(e,i),Hc(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),iR={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new TL(e,n,i,r);return Bc(t,o),Vc(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new CL(e,n,i);return Bc(t,r),Vc(t,r),r}},rR=/^url\(\s*#(.*?)\)/,oR=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,aR=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,sR=Math.PI/180,lR=/([^\s:;]+)\s*:\s*([^:;]+)/g,uR=1e-8,hR=[],cR=function(){function t(t){this.name=t}return t.prototype.getCenter=function(){},t}(),pR=function(t){function n(e,n,i){var r=t.call(this,e)||this;if(r.type="geoJSON",r.geometries=n,i)i=[i[0],i[1]];else{var o=r.getBoundingRect();i=[o.x+o.width/2,o.y+o.height/2]}return r._center=i,r}return e(n,t),n.prototype.getBoundingRect=function(){var t=this._rect;if(t)return t;for(var e=Number.MAX_VALUE,n=[e,e],i=[-e,-e],r=[],o=[],a=this.geometries,s=0;s<a.length;s++)if("polygon"===a[s].type){var l=a[s].exterior;ro(l,r,o),ye(n,n,r),ve(i,i,o)}return 0===s&&(n[0]=n[1]=i[0]=i[1]=0),this._rect=new fC(n[0],n[1],i[0]-n[0],i[1]-n[1])},n.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;r>i;i++)if("polygon"===n[i].type){var o=n[i].exterior,a=n[i].interiors;if(Qc(o,t[0],t[1])){for(var s=0;s<(a?a.length:0);s++)if(Qc(a[s],t[0],t[1]))continue t;return!0}}return!1},n.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new fC(t,e,n,i),s=r.calculateTransform(a),l=this.geometries,u=0;u<l.length;u++)if("polygon"===l[u].type){for(var h=l[u].exterior,c=l[u].interiors,p=0;p<h.length;p++)ge(h[p],h[p],s);for(var d=0;d<(c?c.length:0);d++)for(var p=0;p<c[d].length;p++)ge(c[d][p],c[d][p],s)}r=this._rect,r.copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},n.prototype.cloneShallow=function(t){null==t&&(t=this.name);var e=new n(t,this.geometries,this._center);return e._rect=this._rect,e.transformTo=null,e},n.prototype.getCenter=function(){return this._center},n.prototype.setCenter=function(t){this._center=t},n}(cR),dR=function(t){function n(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return e(n,t),n.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this._calculateCenter()),t},n.prototype._calculateCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=Hn(hR),r=t;r&&!r.isGeoSVGGraphicRoot;)Xn(i,r.getLocalTransform(),i),r=r.parent;return jn(i,i),ge(n
else{var c=this.getSourceDimension(o);c&&(s=e?c.name:null,l=c.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||h&&h.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=tE[l]||"f",u&&(i+=u.uid),i+="$"}var p=this.source,d=[p.seriesLayoutBy,p.startIndex,i].join("$$");return{dimensions:r,hash:d}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}(),nE=A,iE=v,rE="undefined"==typeof Int32Array?Array:Int32Array,oE="e\x00\x00",aE=-1,sE=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],lE=["_approximateExtent"],uE=function(){function t(t,e){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 n,i=!1;Hp(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var h=n[u],c=T(h)?new $N({name:h}):h instanceof $N?h:new $N(h),p=c.name;c.type=c.type||"float",c.coordDim||(c.coordDim=p,c.coordDimIndex=0);var d=c.otherDims=c.otherDims||{};o.push(p),r[p]=c,null!=l[p]&&(s=!0),c.createInvertedIndices&&(a[p]=[]),0===d.itemName&&(this._nameDimIdx=u),0===d.itemId&&(this._idDimIdx=u),i&&(c.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var f=this._dimIdxToName=U();y(o,function(t){f.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){return"number"==typeof t||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0)?+t:void 0},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof WP&&(i=t),!i){var o=this.dimensions,a=Mu(t)||g(t)?new bP(t,o.length):t;i=new WP;var s=iE(o,function(t){return{type:r._dimInfos[t].type,property:t}});i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=Bp(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);
}var d=hz(a);d.needsUpdateLabelLine=c,a.rotation=null!=u.rotate?u.rotate*h:l.rotation,a.scaleX=l.scaleX,a.scaleY=l.scaleY;for(var f=0;f<lz.length;f++){var g=lz[f];a.setStyle(g,null!=u[g]?u[g]:l.style[g])}if(u.draggable){if(a.draggable=!0,a.cursor="move",s){var y=o.seriesModel;if(null!=o.dataIndex){var v=o.seriesModel.getData(o.dataType);y=v.getItemModel(o.dataIndex)}a.on("drag",e(s,y.getModel("labelLine")))}}else a.off("drag"),a.cursor=l.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=Ef(this._labelList),r=x(i,function(t){return"shiftX"===t.layoutOption.moveOverlap}),o=x(i,function(t){return"shiftY"===t.layoutOption.moveOverlap});Bf(r,0,e),Vf(o,0,n);var a=x(i,function(t){return t.layoutOption.hideOverlap});Ff(a)},t.prototype.processLabelsOverall=function(){var t=this;y(this._chartViewList,function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse(function(e){if(e.ignore)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=hz(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)})})},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=yA(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},l=o.getItemVisual(r,"style"),u=o.getVisual("drawType");s.stroke=l[u];var h=a.getModel("labelLine");Rf(t,Nf(a),s),Af(t,h)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!ts(t)){var r=hz(n),o=r.oldLayout,a=yA(t),s=a.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},u=e.getData(a.dataType);if(o){n.attr(o);var h=t.prevStates;h&&(p(h,"select")>=0&&n.attr(r.oldLayoutSelect),p(h,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),$a(n,l,e,s)}else if(n.attr(l),!ZL(n).valueAnimation){var c=B(n.style.opacity,1);n.style.opacity=0,Qa(n,{style:{opacity:c}},e,s)}if(r.oldLayout=l,n.states.select){var d=r.oldLayoutSelect={};Wf(d,l,pz),Wf(d,n.states.select,pz)}if(n.states.emphasis){var f=r.oldLayoutEmphasis={};Wf(f,l,pz),Wf(f,n.states.emphasis,pz)}Fs(n,s,u,e,e)}if(i&&!i.ignore&&!i.invisible){var r=cz(i),o=r.oldLayout,g={points:i.shape.points};o?(i.attr({shape:o}),$a(i,{shape:g},e)):(i.setShape(g),i.style.strokePercent=0,Qa(i,{style:{strokePercent:1}},e)),r.oldLayout=g}},t}(),fz=sr();ef(Xf);var gz=function(t){function n(e,n,i){var 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;var o;i=i||YT,"string"==typeof e?o=Uf(e,n,i):A(e)&&(o=e,e=o.id),r.id=e,r.dom=o;var a=o.style;return a&&(o.onselectstart=Yf,a.webkitUserSelect="none",a.userSelect="none",a.webkitTapHighlightColor="rgba(0,0,0,0)",a["-webkit-touch-callout"]="none",a.padding="0",a.margin="0",a.borderWidth="0"),r.domBack=null,r.ctxBack=null,r.painter=n,r.config=null,r.dpr=i,r}return e(n,t),n.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},n.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},n.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},n.prototype.setUnpainted=function(){this.__firstTimePaint=!0},n.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=Uf("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},n.prototype.createRepaintRects=function(t,e,n,i){function r(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new fC(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,u=0;u<o.length;++u){var h=o[u];if(h.intersect(t)){var c=new fC(0,0,0,0);c.copy(h),c.union(t),o[u]=c,n=!0;break}if(s){l.copy(t),l.union(h);var p=t.width*t.height,d=h.width*h.height,f=l.width*l.height,g=f-p-d;i>g&&(i=g,r=u)}}if(s&&(o[r].union(t),n=!0),!n){var e=new fC(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}if(this.__firstTimePaint)return this.__firstTimePaint=!1,null
if(!p||g&&g!==f)n.remove(p),p=new o(t,h,s,l),p.setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):$a(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}).remove(function(t){var e=r.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 i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Cg(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}n=Tg(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(Ig(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a)}}},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}(),Yz="undefined"!=typeof Float32Array,Uz=Yz?Float32Array:Array,Zz=Math.min,jz=Math.max,qz=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),Kz=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return e(n,t),n.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},n.prototype.getDefaultShape=function(){return new qz},n.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Rg(n[2*r-2],n[2*r-1]);r--);for(;r>i&&Rg(n[2*i],n[2*i+1]);i++);}for(;r>i;)i+=Ng(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},n.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path,o=r.data,a=WD.CMD,s="x"===e,l=[],u=0;u<o.length;){var h=o[u++],c=void 0,p=void 0,d=void 0,f=void 0,g=void 0,y=void 0,v=void 0;switch(h){case a.M:n=o[u++],i=o[u++];break;case a.L:if(c=o[u++],p=o[u++],v=s?(t-n)/(c-n):(t-i)/(p-i),1>=v&&v>=0){var m=s?(p-i)*v+i:(c-n)*v+n;return s?[t,m]:[m,t]}n=c,i=p;break;case a.C:c=o[u++],p=o[u++],d=o[u++],f=o[u++],g=o[u++],y=o[u++];var x=s?Ur(n,c,d,g,t,l):Ur(i,p,f,y,t,l);if(x>0)for(var _=0;x>_;_++){var w=l[_];if(1>=w&&w>=0){var m=s?Xr(i,p,f,y,w):Xr(n,c,d,g,w);return s?[t,m]:[m,t]}}n=g,i=y}}},n}(tA),Jz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n}(qz),$z=function(t){function n(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return e(n,t),n.prototype.getDefaultShape=function(){return new Jz},n.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&Rg(n[2*o-2],n[2*o-1]);o--);for(;o>r&&Rg(n[2*r],n[2*r+1]);r++);}for(;o>r;){var s=Ng(t,n,r,o,o,1,e.smooth,a,e.connectNulls);Ng(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},n}(tA),Qz=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e(n,t),n.prototype.init=function(){var t=new MC,e=new Xz;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},n.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),u=a.getLayout("points")||[],h="polar"===r.type,p=this._coordSys,d=this._symbolDraw,f=this._polyline,g=this._polygon,y=this._lineGroup,v=t.get("animation"),m=!l.isEmpty(),x=l.get("origin"),_=Dg(r,a,x),w=m&&Fg(r,a,_),b=t.get("showSymbol"),S=b&&!h&&Xg(t,a,r),M=this._data;M&&M.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),M.setItemGraphicEl(e,null))}),b||d.remove(),o.add(y);var I,T=h?!1:t.get("step");r&&r.getArea&&t.get("clip",!0)&&(I=r.getArea(),null!=I.width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r+=.5)),this._clipShapeForSymbol=I;var C=Wg(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(f&&p.type===r.type&&T===this._step){m&&!g?g=this._newPolygon(u,w):g&&!m&&(y.remove(g),g=this._polygon=null),h||this._init
},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=Di(e-t);return Ai(o)?(r=n>0?"top":"bottom",i="center"):Ai(o-CB)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&CB>o?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),AB={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0];a&&(ge(s,s,a),ge(l,l,a));var u=h({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new mL({subPixelOptimize:!0,shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[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 f=ic(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],v=d[1];y([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(e,i){if("none"!==p[i]&&null!=p[i]){var r=ec(p[i],-g/2,-v/2,g,v,u.stroke,!0),o=e.r+e.offset;r.attr({rotation:e.rotate,x:s[0]+o*Math.cos(t.rotation),y:s[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}})}}},axisTickLabel:function(t,e,n,i){var r=Ay(n,i,e,t),o=ky(n,i,e,t);if(My(e,o,r),Ly(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=Ef(v(o,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}));Ff(a)}},axisName:function(t,e,n,i){var r=z(t.axisName,e.get("name"));if(r){var o,a=e.get("nameLocation"),s=t.nameDirection,l=e.getModel("nameTextStyle"),u=e.get("nameGap")||0,h=e.axis.getExtent(),c=h[0]>h[1]?-1:1,p=["start"===a?h[0]-c*u:"end"===a?h[1]+c*u:(h[0]+h[1])/2,Cy(a)?t.labelOffset+s*u:0],d=e.get("nameRotate");null!=d&&(d=d*CB/180);var f;Cy(a)?o=DB.innerTextLayout(t.rotation,null!=d?d:t.rotation,s):(o=Sy(t.rotation,a,d||0,h),f=t.axisNameAvailableWidth,null!=f&&(f=Math.abs(f/Math.sin(o.rotation)),!isFinite(f)&&(f=null)));var g=l.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=z(t.nameTruncateMaxWidth,y.maxWidth,f),x=new dA({x:p[0],y:p[1],rotation:o.rotation,silent:DB.isLabelSilent(e),style:Os(l,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:l.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:l.get("align")||o.textAlign,verticalAlign:l.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(Ds({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=DB.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,yA(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}},LB={},kB=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(e,n,i){this.axisPointerClass&&By(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},n.prototype.updateAxisPointer=function(t,e,n){this._doUpdateAxisPointerClass(t,n,!1)},n.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},n.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},n.prototype._doUpdateAxisPointerClass=function(t,e,i){var r=n.getAxisPointerClass(this.axisPointerClass);if(r){var o=Fy(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,e,i):this._disposeAxisPointer(e)}},n.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},n.registerAxisPointerClass=function(t,e){LB[t]=e},n.getAxisPointerClass=function(t){return t&&LB[t]},n.type="axis",n}(QP),PB=sr(),OB=["axisLine","axisTickLabel","axisName"],RB=["splitAr
}},n.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new fV;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r}),m=n.getExtent(),x="visualMap.continuous"===n.type?dv(m,n.option.range):pv(m,n.getPieceList(),n.option.selected);s.update(v,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},x);var _=new oA({style:{width:f,height:g,x:h,y:c,image:s.canvas},silent:!0});this.group.add(_)},n.type="heatmap",n}(nO),yV=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.getInitialData=function(){return od(null,this,{generateCoord:"value"})},n.prototype.preventIncremental=function(){var t=pP.get(this.get("coordinateSystem"));return t&&t.dimensions?"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]:void 0},n.type="series.heatmap",n.dependencies=["grid","geo","calendar"],n.defaultOption={coordinateSystem:"cartesian2d",zlevel:0,z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},n}($P);ef(gv);var vV=ge,mV=function(t){function n(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new iC,n._rawTransformable=new iC,n.name=e,n}return e(n,t),n.prototype.setBoundingRect=function(t,e,n,i){return this._rect=new fC(t,e,n,i),this._rect},n.prototype.getBoundingRect=function(){return this._rect},n.prototype.setViewRect=function(t,e,n,i){this._transformTo(t,e,n,i),this._viewRect=new fC(t,e,n,i)},n.prototype._transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=this._rawTransformable;o.transform=r.calculateTransform(new fC(t,e,n,i));var a=o.parent;o.parent=null,o.decomposeTransform(),o.parent=a,this._updateTransform()},n.prototype.setCenter=function(t){t&&(this._center=t,this._updateCenterAndZoom())},n.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()},n.prototype.getDefaultCenter=function(){var t=this.getBoundingRect(),e=t.x+t.width/2,n=t.y+t.height/2;return[e,n]},n.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},n.prototype.getZoom=function(){return this._zoom||1},n.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},n.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),i=this.getCenter(),r=this.getZoom();i=ge([],i,t),n=ge([],n,t),e.originX=i[0],e.originY=i[1],e.x=n[0]-i[0],e.y=n[1]-i[1],e.scaleX=e.scaleY=r,this._updateTransform()},n.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),Wn(this.transform||(this.transform=[]),e.transform||Gn()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],jn(this.invTransform,this.transform),this.decomposeTransform()},n.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new iC;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}}},n.prototype.getViewRect=function(){return this._viewRect},n.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},n.prototype.dataToPoint=function(t,e,n){var i=e?this._rawTransform:this.transform;return n=n||[],i?vV(n,t,i):$(n,t)},n.
u.label=null;var c=e.getVisual("style");c.lineJoin="bevel";var p=e.getVisual("decal");p&&(c.decal=Lc(p,r));var d=uy(a.getModel("itemStyle"),u,!0);h(u,d),y(MA,function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=uy(n,u);i&&(e.shape=i)}),t?(o.setShape(u),o.shape.r=l.r0,$a(o,{shape:{r:l.r}},n,e.dataIndex)):($a(o,{shape:u},n),rs(o)),o.useStyle(c),this._updateLabel(n);var f=a.getShallow("cursor");f&&o.attr("cursor",f),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var g=s.get("focus"),v="ancestor"===g?e.getAncestorsIndices():"descendant"===g?e.getDescendantIndices():g;wa(this,v,s.get("blurScope"))},n.prototype._updateLabel=function(t){function e(t,e){var n=t.get(e);return null==n?r.get(e):n}var n=this,i=this.node.getModel(),r=i.getModel("label"),o=this.node.getLayout(),a=o.endAngle-o.startAngle,s=(o.startAngle+o.endAngle)/2,l=Math.cos(s),u=Math.sin(s),h=this,c=h.getTextContent(),p=this.node.dataIndex,d=r.get("minAngle")/180*Math.PI,f=r.get("show")&&!(null!=d&&Math.abs(a)<d);c.ignore=!f,y(IA,function(r){var a=i.getModel("normal"===r?"label":[r,"label"]),d="normal"===r,f=d?c:c.ensureState(r),g=t.getFormattedLabel(p,r);d&&(g=g||n.node.name),f.style=Os(a,{},null,"normal"!==r,!0),g&&(f.style.text=g);var y=a.get("show");null==y||d||(f.ignore=!y);var v=e(a,"position"),m=d?h:h.states[r],x=m.style.fill;m.textConfig={outsideFill:"inherit"===a.get("color")?x:null,inside:"outside"!==v};var _,w=e(a,"distance")||0,b=e(a,"align");"outside"===v?(_=o.r+w,b=s>Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(_=o.r0+w,s>Math.PI/2&&(b="right")):"right"===b&&(_=o.r-w,s>Math.PI/2&&(b="left")):(_=(o.r+o.r0)/2,b="center"),f.style.align=b,f.style.verticalAlign=e(a,"verticalAlign")||"middle",f.x=_*l+o.cx,f.y=_*u+o.cy;var S=e(a,"rotate"),M=0;"radial"===S?(M=-s,M<-Math.PI/2&&(M+=Math.PI)):"tangential"===S?(M=Math.PI/2-s,M>Math.PI/2?M-=Math.PI:M<-Math.PI/2&&(M+=Math.PI)):"number"==typeof S&&(M=S*Math.PI/180),f.rotation=M}),c.dirtyStyle()},n}(uL),gF="sunburstRootToNode",yF="sunburstHighlight",vF="sunburstUnhighlight",mF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){function i(t,e){function n(t){return t.getId()}function i(n,i){var o=null==n?null:t[n],a=null==i?null:e[i];r(o,a)}(0!==t.length||0!==e.length)&&new KN(e,t,n,n).add(i).update(i).remove(S(i,null)).execute()}function r(i,r){if(p||!i||i.getValue()||(i=null),i!==u&&r!==u)if(r&&r.piece)i?(r.piece.updateData(!1,i,t,e,n),l.setItemGraphicEl(i.dataIndex,r.piece)):o(r);else if(i){var a=new fF(i,t,e,n);c.add(a),l.setItemGraphicEl(i.dataIndex,a)}}function o(t){t&&t.piece&&(c.remove(t.piece),t.piece=null)}function a(i,r){r.depth>0?(s.virtualPiece?s.virtualPiece.updateData(!1,i,t,e,n):(s.virtualPiece=new fF(i,t,e,n),c.add(s.virtualPiece)),r.piece.off("click"),s.virtualPiece.on("click",function(){s._rootToNode(r.parentNode)})):s.virtualPiece&&(c.remove(s.virtualPiece),s.virtualPiece=null)}var s=this;this.seriesModel=t,this.api=n,this.ecModel=e;var l=t.getData(),u=l.tree.root,h=t.getViewRoot(),c=this.group,p=t.get("renderLabelForZeroData"),d=[];h.eachNode(function(t){d.push(t)});var f=this._oldChildren||[];i(d,f),a(u,h),this._initEvents(),this._oldChildren=d},n.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode(function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";Cl(a,s)}}n=!0}})})},n.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:gF,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},n.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}},n.type="sunburst",n}(nO),xF=function(t){function n(){var e=null!==t&&t.apply(this,argumen
},n.prototype.getDefaultShape=function(){return new UF},n.prototype.buildPath=function(t,e){var n=e.segs,i=e.curveness;if(e.polyline)for(var r=0;r<n.length;){var o=n[r++];if(o>0){t.moveTo(n[r++],n[r++]);for(var a=1;o>a;a++)t.lineTo(n[r++],n[r++])}}else for(var r=0;r<n.length;){var s=n[r++],l=n[r++],u=n[r++],h=n[r++];if(t.moveTo(s,l),i>0){var c=(s+u)/2-(l-h)*i,p=(l+h)/2-(u-s)*i;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}},n.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s<i.length;){var l=i[s++];if(l>0)for(var u=i[s++],h=i[s++],c=1;l>c;c++){var p=i[s++],d=i[s++];if(co(u,h,p,d,o,t,e))return a}a++}else for(var a=0,s=0;s<i.length;){var u=i[s++],h=i[s++],p=i[s++],d=i[s++];if(r>0){var f=(u+p)/2-(h-d)*r,g=(h+d)/2-(p-u)*r;if(fo(u,h,f,g,p,d,o,t,e))return a}else if(co(u,h,p,d,o,t,e))return a;a++}return-1},n}(tA),jF=function(){function t(){this.group=new MC}return t.prototype.isPersistent=function(){return!this._incremental},t.prototype.updateData=function(t){this.group.removeAll();var e=new ZF({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 RL({silent:!0})),this.group.add(this._incremental)):this._incremental=null},t.prototype.incrementalUpdate=function(t,e){var n=new ZF;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 i=e.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var r=e.getVisual("style");if(r&&r.stroke&&t.setStyle("stroke",r.stroke),t.setStyle("fill",null),!n){var o=yA(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",function(e){o.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(o.dataIndex=n+t.__startIndex)})}},t.prototype._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t}(),qF={seriesType:"lines",plan:Dh(),reset:function(t){var e=t.coordinateSystem,n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h<r.end;h++)u+=t.getLineCoordsCount(h);s=new Float32Array(l+2*u)}else s=new Float32Array(4*l);for(var c=0,p=[],h=r.start;h<r.end;h++){var d=t.getLineCoords(h,a);n&&(s[c++]=d);for(var f=0;d>f;f++)p=e.dataToPoint(a[f],!1,p),s[c++]=p[0],s[c++]=p[1]}o.setLayout("linesPoints",s)}else for(var h=r.start;h<r.end;h++){var g=o.getItemModel(h),d=t.getLineCoords(h,a),y=[];if(n)for(var v=0;d>v;v++)y.push(e.dataToPoint(a[v]));else{y[0]=e.dataToPoint(a[0]),y[1]=e.dataToPoint(a[1]);var m=g.get(["lineStyle","curveness"]);+m&&(y[2]=[(y[0][0]+y[1][0])/2-(y[0][1]-y[1][1])*m,(y[0][1]+y[1][1])/2-(y[1][0]-y[0][0])*m])}o.setItemLayout(h,y)}}}}},KF=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t),o=t.get("zlevel"),a=t.get(["effect","trailLength"]),s=n.getZr(),l="svg"===s.painter.getType();l||s.painter.getLayer(o).clear(!0),null==this._lastZlevel||l||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&a&&(l||s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&eg(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},n.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t);r.incrementalPrepareUpdate(i),this._clearLayer(n),this
break}}}else h="normal";e(h,u)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,i=0,r=t.length;r>i;i++)"normal"!==e.get(t[i]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){var n=this._axesLayout[e];return ys([t,0],n.transform)},t.prototype.getAxisLayout=function(t){return s(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,i=e.axisExpandWindow.slice(),r=i[1]-i[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:i};var a,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l="slide",u=e.axisCollapseWidth,h=this._model.get("axisExpandSlideTriggerArea"),c=null!=h[0];if(u)c&&u&&s<r*h[0]?(l="jump",a=s-r*h[2]):c&&u&&s>r*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),a*=e.axisExpandWidth/u,a?L_(a,i,o,"all"):l="none";else{var p=i[1]-i[0],d=o[1]*s/p;i=[WG(0,d-p/2)],i[1]=HG(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}(),qG={create:E_},KG=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e.activeIntervals=[],e}return e(n,t),n.prototype.getAreaSelectStyle=function(){return Tr([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},n.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=s(t);if(e)for(var n=e.length-1;n>=0;n--)bi(e[n])},n.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;r>i;i++)if(e[i][0]<=t&&t<=e[i][1])return"active";return"inactive"},n}(Ok);f(KG,BE);var JG=!0,$G=Math.min,QG=Math.max,tH=Math.pow,eH=1e4,nH=6,iH=6,rH="globalPan",oH={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},aH={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},sH={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},lH=0,uH=function(t){function n(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new MC,n._uid="brushController_"+lH++,y(hH,function(t,e){this._handlers[e]=NI(t,this)},n),n}return e(n,t),n.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},n.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||Pv(e,rH,this._uid),y(this._handlers,function(t,n){e.on(n,t)}),this._brushType=t.brushType,this._brushOption=l(s(sH),t,!0)},n.prototype._doDisableBrush=function(){var t=this._zr;Ov(t,rH,this._uid),y(this._handlers,function(e,n){t.off(n,e)}),this._brushType=this._brushOption=null},n.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};y(t,function(t){e[t.panelId]=s(t)})}else this._panels=null;return this},n.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},n.prototype.updateCovers=function(t){function e(t,e){return(null!=t.id?t.id:o+e)+"-"+t.brushType}function n(t,n){return e(t.__brushOption,n)}function i(e,n){var i=t[e];if(null!=n&&a[n]===c)u[e]=a[n];else{var r=u[e]=null!=n?(a[n].__brushOption=i,a[n]):B_(h,z_(h,i));G_(h,r)}}function r(t){a[t]!==c&&h.group.remove(a[t])}t=v(t,function(t){return l(s(sH),t,!0)});var o="\x00-brush-index-",a=this._covers,u=this._covers=[],h=this,c=this._creatingCover;return new KN(a,t,n,e).add(i).update(i).remove(r).execute(),this},n.prototype.unmount=function(){return this.enableBrush(!1),Y_(this),this._zr.remove(this.group),this},n.prototype.dispose=function(){this.unmount(),this.off()},n}(UI),hH={mousedown:function(t){if(this._dragging)fw(this,t);else if(!t.target||!t.target.draggable){hw(t);var e=this.group.transformCoordToLocal(t.offsetX,t
u&&u.traverse(o)}},n.prototype.filterForExposedEvent=function(t,e,n){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},n.type="custom",n}(nO),tW={},eW={setTransform:function(t,e){return tW.el[t]=e,this},getTransform:function(t){return tW.el[t]},setShape:function(t,e){var n=tW.el.shape||(tW.el.shape={});return n[t]=e,tW.isShapeDirty=!0,this},getShape:function(t){var e=tW.el.shape;return e?e[t]:void 0},setStyle:function(t,e){var n=tW.el.style;return n&&(n[t]=e,tW.isStyleDirty=!0),this},getStyle:function(t){var e=tW.el.style;return e?e[t]:void 0},setExtra:function(t,e){var n=tW.el.extra||(tW.el.extra={});return n[t]=e,this},getExtra:function(t){var e=tW.el.extra;return e?e[t]:void 0}};ef(NS),ef(Yy);var nW=sr(),iW=s,rW=NI,oW=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=S(ES,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new MC,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);FS(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=Vy(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return n===!0},t.prototype.makeElOption=function(){},t.prototype.createPointerEl=function(t,e){var n=e.pointer;if(n){var i=nW(t).pointerEl=new HL[n.type](iW(e.pointer));t.add(i)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=nW(t).labelEl=new dA(iW(e.label));t.add(r),BS(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=nW(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=nW(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),BS(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e=this._axisPointerModel,n=this._api.getZr(),i=this._handle,r=e.getModel("handle"),o=e.get("status");if(!r.get("show")||!o||"hide"===o)return i&&n.remove(i),void(this._handle=null);var a;this._handle||(a=!0,i=this._handle=Ss(r.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){QI(t.event)},onmousedown:rW(this._onHandleDragMove,this,0,0),drift:rW(this._onHandleDragMove,this),ondragend:rW(this._onHandleDragEnd,this)}),n.add(i)),FS(i,e,!1),i.setStyle(r.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=r.get("size");M(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,Rh(this,"_doDispatchAxisPointer",r.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,a)}},t.prototype._moveHandleToValue=function(t,e){ES(this._axisPointerModel,!e&&this._moveAnimation,this._handle,VS(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(VS(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(VS(i)),nW(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],toolt
}return v},n.prototype._layoutContentAndController=function(t,e,n,i,r,o,a,s){var l=this.getContentGroup(),u=this._containerGroup,h=this._controllerGroup;kk(t.get("orient"),l,t.get("itemGap"),i?n.width:null,i?null:n.height),kk("horizontal",h,t.get("pageButtonItemGap",!0));var c=l.getBoundingRect(),p=h.getBoundingRect(),d=this._showController=c[r]>n[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=B(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var m=t.get("pageButtonPosition",!0);"end"===m?y[i]+=n[r]-p[r]:g[i]+=p[r]+v}y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var x={x:0,y:0};if(x[r]=d?n[r]:c[r],x[o]=Math.max(c[o],p[o]),x[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var _={x:0,y:0};_[r]=Math.max(n[r]-p[r]-v,0),_[o]=x[o],u.setClipPath(new uA({shape:_})),u.__rectSize=_[r]}else h.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var w=this._getPageInfo(t);return null!=w.pageIndex&&$a(l,{x:w.contentPosition[0],y:w.contentPosition[1]},d?t:null),this._updatePageInfoView(t,w),x},n.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},n.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;y(["pagePrev","pageNext"],function(i){var r=i+"DataIndex",o=null!=e[r],a=n.childOfName(i);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")});var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",T(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},n.prototype._getPageInfo=function(t){function e(t){if(t){var e=t.getBoundingRect(),n=e[l]+t[l];return{s:n,e:n+e[s],i:t.__legendDataIndex}}}function n(t,e){return t.e>=e&&t.s<=e+o}var i=t.get("scrollDataIndex",!0),r=this.getContentGroup(),o=this._containerGroup.__rectSize,a=t.getOrient().index,s=YW[a],l=UW[a],u=this._findTargetItemIndex(i),h=r.children(),c=h[u],p=h.length,d=p?1:0,f={contentPosition:[r.x,r.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return f;var g=e(c);f.contentPosition[a]=-g.s;for(var y=u+1,v=g,m=g,x=null;p>=y;++y)x=e(h[y]),(!x&&m.e>v.s+o||x&&!n(x,v.s))&&(v=m.i>v.i?m:x,v&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=v.i),++f.pageCount)),m=x;for(var y=u-1,v=g,m=g,x=null;y>=-1;--y)x=e(h[y]),x&&n(m,x.s)||!(v.i<m.i)||(m=v,null==f.pagePrevDataIndex&&(f.pagePrevDataIndex=v.i),++f.pageCount,++f.pageIndex),v=x;return f},n.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild(function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)}),null!=e?e:n},n.type="legend.scroll",n}(HW);ef(ZM);var jW=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return e(n,t),n.type="tooltip",n.dependencies=["axisPointer"],n.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}},n}(Ok),qW=qM(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),KW=qM(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),JW=KM(KW,"transition"),$W=KM(qW,"transform"),QW="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(_I.transform3dSupported?"will-change:transform;":""),tX=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._firstShow