"use strict";(self["webpackChunkaida"]=self["webpackChunkaida"]||[]).push([[1025],{18299:function(t,e,n){n.d(e,{ZT:function(){return r}});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},4311:function(t,e,n){n.d(e,{ZT:function(){return r}});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

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

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create},51058:function(t,e,n){n.d(e,{D:function(){return l},KZ:function(){return u},XD:function(){return p},Zi:function(){return d},bX:function(){return c},eq:function(){return h}});var i=n(95797),r=n(38496),o=(0,r.Yf)();function a(t,e,n,r,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(l){var h=void 0,c=void 0,f=void 0;r?(h=(0,i.pD)(r.duration,200),c=(0,i.pD)(r.easing,"cubicOut"),f=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),f=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(f=a.delay)),(0,i.mf)(f)&&(f=f(n,o)),(0,i.mf)(h)&&(h=h(n));var p={duration:h||0,delay:f,easing:c};return p}return null}function s(t,e,n,r,o,s,l){var u,h=!1;(0,i.mf)(o)?(l=s,s=o,o=null):(0,i.Kn)(o)&&(s=o.cb,l=o.during,h=o.isFrom,u=o.removeOpt,o=o.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var f=a(t,r,o,c?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,o):null);if(f&&f.duration>0){var p=f.duration,d=f.delay,g=f.easing,v={duration:p,delay:d||0,easing:g,done:s,force:!!s||!!l,setToFinal:!c,scope:t,during:l};h?e.animateFrom(n,v):e.animateTo(n,v)}else e.stopAnimation(),!h&&e.attr(n),l&&l(1),s&&s()}function l(t,e,n,i,r,o){s("update",t,e,n,i,r,o)}function u(t,e,n,i,r,o){s("enter",t,e,n,i,r,o)}function h(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var n=t.animators[e];if("leave"===n.scope)return!0}return!1}function c(t,e,n,i,r,o){h(t)||s("leave",t,e,n,i,r,o)}function f(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),c(t,{style:{opacity:0}},e,n,i)}function p(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||f(t,e,n,i)})):f(t,e,n,i)}function d(t){o(t).oldStyle=t.style}},44221:function(t,e,n){n.d(e,{N:function(){return zt}});var i=n(43704),r=n(41201),o=n(16457),a=n(95797),s=n(355),l=n(38496),u=2*Math.PI,h=Math.PI/180;function c(t,e){return o.ME(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function f(t,e){var n=c(t,e),i=t.get("center"),o=t.get("radius");a.kJ(o)||(o=[0,o]);var s,l,u=(0,r.GM)(n.width,e.getWidth()),h=(0,r.GM)(n.height,e.getHeight()),f=Math.min(u,h),p=(0,r.GM)(o[0],f/2),d=(0,r.GM)(o[1],f/2),g=t.coordinateSystem;if(g){var v=g.dataToPoint(i);s=v[0]||0,l=v[1]||0}else a.kJ(i)||(i=[i,i]),s=(0,r.GM)(i[0],u)+n.x,l=(0,r.GM)(i[1],h)+n.y;return{cx:s,cy:l,r0:p,r:d}}function p(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),o=c(t,n),a=f(t,n),l=a.cx,p=a.cy,g=a.r,v=a.r0,y=-t.get("startAngle")*h,m=t.get("endAngle"),_=t.get("padAngle")*h;m="auto"===m?y-u:-m*h;var x=t.get("minAngle")*h,w=x+_,S=0;e.each(i,(function(t){!isNaN(t)&&S++}));var b=e.getSum(i),T=Math.PI/(b||S)*2,M=t.get("clockwise"),D=t.get("roseType"),k=t.get("stillShowZeroSum"),I=e.getDataExtent(i);I[0]=0;var C=M?1:-1,P=[y,m],A=C*_/2;(0,s.L)(P,!M),y=P[0],m=P[1];var L=d(t);L.startAngle=y,L.endAngle=m,L.clockwise=M;var O=Math.abs(m-y),R=O,Z=0,z=y;if(e.setLayout({viewRect:o,r:g}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:l,cy:p,r0:v,r:D?NaN:g});else{i="area"!==D?0===b&&k?T:t*T:O/S,i<w?(i=w,R-=w):Z+=t;var o=z+C*i,a=0,s=0;_>i?(a=z+C*i/2,s=a):(a=z+A,s=o-A),e.setItemLayout(n,{angle:i,startAngle:a,endAngle:s,clockwise:M,cx:l,cy:p,r0:v,r:D?(0,r.NU)(t,I,[v,g]):g}),z=o}})),R<u&&S)if(R<=.001){var B=O/S;e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n);i.angle=B;var r=0,o=0;B<_?(r=y+C*(n+.5)*B,o=r):(r=y+C*n*B+A,o=y+C*(n+1)*B-A),i.startAngle=r,i.endAngle=o}}))}else T=R/Z,z=y,e.each(i,(function(t,n){if(!isNaN(t)){var i=e.getItemLayout(n),r=i.angle===w?w:t*T,o=0,a=0;r<_?(o=z+C*r/2,a=o):(o=z+A,a=z+C*r-A),i.startAngle=o,i.endAngle=a,z+=C*r}}))}))}var d=(0,l.Yf)();function g(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var i=t.getData();i.filterSelf((function(t){for(var e=i.getName(t),r=0;r<n.length;r++)if(!n[r].isSelected(e))return!1;return!0}))}}}}var v=n(18299),y=n(49386),m=n(51058),_=n(12484),x=n(60497),w=n(10859),S=n(16804),b=n(11123),T=n(87293),M=n(96695),D=Math.PI/180;function k(t,e,n,i,r,o,a,s,l,u){if(!(t.length<2)){for(var h=t.length,c=0;c<h;c++)if("outer"===t[c].position&&"labelLine"===t[c].labelAlignTo){var f=t[c].label.x-u;t[c].linePoints[1][0]+=f,t[c].label.x=u}(0,M.GI)(t,l,l+a)&&d(t)}function p(t){for(var o=t.rB,a=o*o,s=0;s<t.list.length;s++){var l=t.list[s],u=Math.abs(l.label.y-n),h=i+l.len,c=h*h,f=Math.sqrt((1-Math.abs(u*u/a))*c),p=e+(f+l.len2)*r,d=p-l.label.x,g=l.targetTextWidth-d*r;C(l,g,!0),l.label.x=p}}function d(t){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var l=t[s],u=l.label.y>n?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,f=i+l.len,d=Math.abs(c)<f?Math.sqrt(h*h/(1-c*c/f/f)):f;u.rB=d,u.maxY=h}u.list.push(l)}p(o),p(a)}}function I(t,e,n,i,r,o,a,s){for(var l=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,f=0;f<t.length;f++){var p=t[f].label;P(t[f])||(p.x<e?(h=Math.min(h,p.x),l.push(t[f])):(c=Math.max(c,p.x),u.push(t[f])))}for(f=0;f<t.length;f++){var d=t[f];if(!P(d)&&d.linePoints){if(null!=d.labelStyleWidth)continue;p=d.label;var g=d.linePoints,v=void 0;v="edge"===d.labelAlignTo?p.x<e?g[2][0]-d.labelDistance-a-d.edgeDistance:a+r-d.edgeDistance-g[2][0]-d.labelDistance:"labelLine"===d.labelAlignTo?p.x<e?h-a-d.bleedMargin:a+r-c-d.bleedMargin:p.x<e?p.x-a-d.bleedMargin:a+r-p.x-d.bleedMargin,d.targetTextWidth=v,C(d,v)}}k(u,e,n,i,1,r,o,a,s,c),k(l,e,n,i,-1,r,o,a,s,h);for(f=0;f<t.length;f++){d=t[f];if(!P(d)&&d.linePoints){p=d.label,g=d.linePoints;var y="edge"===d.labelAlignTo,m=p.style.padding,_=m?m[1]+m[3]:0,x=p.style.backgroundColor?0:_,w=d.rect.width+x,S=g[1][0]-g[2][0];y?p.x<e?g[2][0]=a+d.edgeDistance+w+d.labelDistance:g[2][0]=a+r-d.edgeDistance-w-d.labelDistance:(p.x<e?g[2][0]=p.x+d.labelDistance:g[2][0]=p.x-d.labelDistance,g[1][0]=g[2][0]+S),g[1][1]=g[2][1]=p.y}}}function C(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var i=t.label,r=i.style,o=t.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,h=o.width+(a?0:l);if(e<h||n){var c=o.height;if(u&&u.match("break")){i.setStyle("backgroundColor",null),i.setStyle("width",e-l);var f=i.getBoundingRect();i.setStyle("width",Math.ceil(f.width)),i.setStyle("backgroundColor",a)}else{var p=e-l,d=e<h?p:n?p>t.unconstrainedWidth?null:p:null;i.setStyle("width",d)}var g=i.getBoundingRect();o.width=g.width;var v=(i.style.margin||0)+2.1;o.height=g.height+v,o.y-=(o.height-c)/2}}}function P(t){return"center"===t.position}function A(t){var e,n,i=t.getData(),o=[],s=!1,l=(t.get("minShowLabelAngle")||0)*D,u=i.getLayout("viewRect"),h=i.getLayout("r"),c=u.width,f=u.x,p=u.y,d=u.height;function g(t){t.ignore=!0}function v(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}i.each((function(t){var u=i.getItemGraphicEl(t),p=u.shape,d=u.getTextContent(),y=u.getTextGuideLine(),m=i.getItemModel(t),_=m.getModel("label"),x=_.get("position")||m.get(["emphasis","label","position"]),w=_.get("distanceToLabelLine"),S=_.get("alignTo"),T=(0,r.GM)(_.get("edgeDistance"),c),M=_.get("bleedMargin"),D=m.getModel("labelLine"),k=D.get("length");k=(0,r.GM)(k,c);var I=D.get("length2");if(I=(0,r.GM)(I,c),Math.abs(p.endAngle-p.startAngle)<l)return(0,a.S6)(d.states,g),d.ignore=!0,void(y&&((0,a.S6)(y.states,g),y.ignore=!0));if(v(d)){var C,P,A,L,O=(p.startAngle+p.endAngle)/2,R=Math.cos(O),Z=Math.sin(O);e=p.cx,n=p.cy;var z="inside"===x||"inner"===x;if("center"===x)C=p.cx,P=p.cy,L="center";else{var B=(z?(p.r+p.r0)/2*R:p.r*R)+e,N=(z?(p.r+p.r0)/2*Z:p.r*Z)+n;if(C=B+3*R,P=N+3*Z,!z){var E=B+R*(k+h-p.r),F=N+Z*(k+h-p.r),H=E+(R<0?-1:1)*I,W=F;C="edge"===S?R<0?f+T:f+c-T:H+(R<0?-w:w),P=W,A=[[B,N],[E,F],[H,W]]}L=z?"center":"edge"===S?R>0?"right":"left":R>0?"left":"right"}var V=Math.PI,G=0,U=_.get("rotate");if((0,a.hj)(U))G=U*(V/180);else if("center"===x)G=0;else if("radial"===U||!0===U){var X=R<0?-O+V:-O;G=X}else if("tangential"===U&&"outside"!==x&&"outer"!==x){var Y=Math.atan2(R,Z);Y<0&&(Y=2*V+Y);var q=Z>0;q&&(Y=V+Y),G=Y-V}if(s=!!G,d.x=C,d.y=P,d.rotation=G,d.setStyle({verticalAlign:"middle"}),z){d.setStyle({align:L});var K=d.states.select;K&&(K.x+=d.x,K.y+=d.y)}else{var j=d.getBoundingRect().clone();j.applyTransform(d.getComputedTransform());var J=(d.style.margin||0)+2.1;j.y-=J/2,j.height+=J,o.push({label:d,labelLine:y,position:x,len:k,len2:I,minTurnAngle:D.get("minTurnAngle"),maxSurfaceAngle:D.get("maxSurfaceAngle"),surfaceNormal:new b.Z(R,Z),linePoints:A,textAlign:L,labelDistance:w,labelAlignTo:S,edgeDistance:T,bleedMargin:M,rect:j,unconstrainedWidth:j.width,labelStyleWidth:d.style.width})}u.setTextConfig({inside:z})}})),!s&&t.get("avoidLabelOverlap")&&I(o,e,n,h,c,d,f,p);for(var y=0;y<o.length;y++){var m=o[y],_=m.label,x=m.labelLine,w=isNaN(_.x)||isNaN(_.y);if(_){_.setStyle({align:m.textAlign}),w&&((0,a.S6)(_.states,g),_.ignore=!0);var S=_.states.select;S&&(S.x+=_.x,S.y+=_.y)}if(x){var M=m.linePoints;w||!M?((0,a.S6)(x.states,g),x.ignore=!0):((0,T.qK)(M,m.minTurnAngle),(0,T._A)(M,m.surfaceNormal,m.maxSurfaceAngle),x.setShape({points:M}),_.__hostTarget.textGuideLineConfig={anchor:new b.Z(M[0][0],M[0][1])})}}}var L=n(19552),O=n(66332);function R(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;(0,a.kJ)(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:(0,a.UI)(i,(function(t){return(0,O.GM)(t,r)}))}}var Z=function(t){function e(e,n,i){var r=t.call(this)||this;r.z2=2;var o=new y.ZP;return r.setTextContent(o),r.updateData(e,n,i,!0),r}return(0,v.ZT)(e,t),e.prototype.updateData=function(t,e,n,i){var r=this,o=t.hostModel,s=t.getItemModel(e),l=s.getModel("emphasis"),u=t.getItemLayout(e),h=(0,a.l7)(R(s.getModel("itemStyle"),u,!0),u);if(isNaN(h.startAngle))r.setShape(h);else{if(i){r.setShape(h);var c=o.getShallow("animationType");o.ecModel.ssr?(m.KZ(r,{scaleX:0,scaleY:0},o,{dataIndex:e,isFrom:!0}),r.originX=h.cx,r.originY=h.cy):"scale"===c?(r.shape.r=u.r0,m.KZ(r,{shape:{r:u.r}},o,e)):null!=n?(r.setShape({startAngle:n,endAngle:n}),m.KZ(r,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},o,e)):(r.shape.endAngle=u.startAngle,m.D(r,{shape:{endAngle:u.endAngle}},o,e))}else(0,m.Zi)(r),m.D(r,{shape:h},o,e);r.useStyle(t.getItemVisual(e,"style")),(0,w.WO)(r,s);var f=(u.startAngle+u.endAngle)/2,p=o.get("selectedOffset"),d=Math.cos(f)*p,g=Math.sin(f)*p,v=s.getShallow("cursor");v&&r.attr("cursor",v),this._updateLabel(o,t,e),r.ensureState("emphasis").shape=(0,a.l7)({r:u.r+(l.get("scale")&&l.get("scaleSize")||0)},R(l.getModel("itemStyle"),u)),(0,a.l7)(r.ensureState("select"),{x:d,y:g,shape:R(s.getModel(["select","itemStyle"]),u)}),(0,a.l7)(r.ensureState("blur"),{shape:R(s.getModel(["blur","itemStyle"]),u)});var y=r.getTextGuideLine(),_=r.getTextContent();y&&(0,a.l7)(y.ensureState("select"),{x:d,y:g}),(0,a.l7)(_.ensureState("select"),{x:d,y:g}),(0,w.k5)(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var i=this,r=e.getItemModel(n),o=r.getModel("labelLine"),s=e.getItemVisual(n,"style"),l=s&&s.fill,u=s&&s.opacity;(0,L.ni)(i,(0,L.k3)(r),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:l,defaultOpacity:u,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var h=i.getTextContent();i.setTextConfig({position:null,rotation:null}),h.attr({z2:10});var c=t.get(["label","position"]);if("outside"!==c&&"outer"!==c)i.removeTextGuideLine();else{var f=this.getTextGuideLine();f||(f=new _.Z,this.setTextGuideLine(f)),(0,T.Iu)(this,(0,T.$x)(r),{stroke:l,opacity:(0,a.R1)(o.get(["lineStyle","opacity"]),u,1)})}},e}(x.C),z=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return(0,v.ZT)(e,t),e.prototype.render=function(t,e,n,i){var r,o=t.getData(),s=this._data,l=this.group;if(!s&&o.count()>0){for(var u=o.getItemLayout(0),h=1;isNaN(u&&u.startAngle)&&h<o.count();++h)u=o.getItemLayout(h);u&&(r=u.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),0===o.count()&&t.get("showEmptyCircle")){var c=d(t),p=new x.C({shape:(0,a.l7)(f(t,n),c)});p.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=p,l.add(p)}o.diff(s).add((function(t){var e=new Z(o,t,r);o.setItemGraphicEl(t,e),l.add(e)})).update((function(t,e){var n=s.getItemGraphicEl(e);n.updateData(o,t,r),n.off("click"),l.add(n),o.setItemGraphicEl(t,n)})).remove((function(e){var n=s.getItemGraphicEl(e);m.XD(n,t,e)})).execute(),A(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=o)},e.prototype.dispose=function(){},e.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}},e.type="pie",e}(S.Z),B=z,N=n(86594),E=function(){function t(t){this.otherDims={},null!=t&&a.l7(this,t)}return t}(),F=E,H=n(26214),W=n(18517),V=n(45452),G=(0,l.Yf)(),U={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},X=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=K(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,a.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,H.QY)(this.source),n=!j(t),i="",r=[],o=0,a=0;o<t;o++){var s=void 0,l=void 0,u=void 0,h=this.dimensions[a];if(h&&h.storeDimIndex===o)s=e?h.name:null,l=h.type,u=h.ordinalMeta,a++;else{var c=this.getSourceDimension(o);c&&(s=e?c.name:null,l=c.type)}r.push({property:s,type:l,ordinalMeta:u}),!e||null==s||h&&h.isCalculationCoord||(i+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),i+="$",i+=U[l]||"f",u&&(i+=u.uid),i+="$"}var f=this.source,p=[f.seriesLayoutBy,f.startIndex,i].join("$$");return{dimensions:r,hash:p}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function Y(t){return t instanceof X}function q(t){for(var e=(0,a.kW)(),n=0;n<(t||[]).length;n++){var i=t[n],r=(0,a.Kn)(i)?i.name:i;null!=r&&null==e.get(r)&&e.set(r,n)}return e}function K(t){var e=G(t);return e.dimNameMap||(e.dimNameMap=q(t.dimensionsDefine))}function j(t){return t>30}function J(t,e){(0,H.Ld)(t)||(t=(0,H.nx)(t)),e=e||{};var n=e.coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=(0,a.kW)(),o=[],s=$(t,n,i,e.dimensionsCount),u=e.canOmitUnusedDimensions&&j(s),h=i===t.dimensionsDefine,c=h?K(t):q(i),f=e.encodeDefine;!f&&e.encodeDefaulter&&(f=e.encodeDefaulter(t,s));for(var p=(0,a.kW)(f),d=new W.hG(s),g=0;g<d.length;g++)d[g]=-1;function v(t){var e=d[t];if(e<0){var n=i[t],r=(0,a.Kn)(n)?n:{name:n},s=new F,l=r.name;null!=l&&null!=c.get(l)&&(s.name=s.displayName=l),null!=r.type&&(s.type=r.type),null!=r.displayName&&(s.displayName=r.displayName);var u=o.length;return d[t]=u,s.storeDimIndex=t,o.push(s),s}return o[e]}if(!u)for(g=0;g<s;g++)v(g);p.each((function(t,e){var n=(0,l.kF)(t).slice();if(1===n.length&&!(0,a.HD)(n[0])&&n[0]<0)p.set(e,!1);else{var i=p.set(e,[]);(0,a.S6)(n,(function(t,n){var r=(0,a.HD)(t)?c.get(t):t;null!=r&&r<s&&(i[n]=r,m(v(r),e,n))}))}}));var y=0;function m(t,e,n){null!=N.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,r.set(e,!0))}(0,a.S6)(n,(function(t){var e,n,i,r;if((0,a.HD)(t))e=t,r={};else{r=t,e=r.name;var o=r.ordinalMeta;r.ordinalMeta=null,r=(0,a.l7)({},r),r.ordinalMeta=o,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var u=p.get(e);if(!1!==u){if(u=(0,l.kF)(u),!u.length)for(var c=0;c<(n&&n.length||1);c++){while(y<s&&null!=v(y).coordDim)y++;y<s&&u.push(y++)}(0,a.S6)(u,(function(t,o){var s=v(t);if(h&&null!=r.type&&(s.type=r.type),m((0,a.ce)(s,r),e,o),null==s.name&&n){var l=n[o];!(0,a.Kn)(l)&&(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}i&&(0,a.ce)(s.otherDims,i)}))}}));var _=e.generateCoord,x=e.generateCoordCount,w=null!=x;x=_?x||1:0;var S=_||"value";function b(t){null==t.name&&(t.name=t.coordDim)}if(u)(0,a.S6)(o,(function(t){b(t)})),o.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var T=0;T<s;T++){var M=v(T),D=M.coordDim;null==D&&(M.coordDim=tt(S,r,w),M.coordDimIndex=0,(!_||x<=0)&&(M.isExtraCoord=!0),x--),b(M),null!=M.type||(0,V.u7)(t,T)!==V.Dq.Must&&(!M.isExtraCoord||null==M.otherDims.itemName&&null==M.otherDims.seriesName)||(M.type="ordinal")}return Q(o),new X({source:t,dimensions:o,fullDimensionCount:s,dimensionOmitted:u})}function Q(t){for(var e=(0,a.kW)(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}function $(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return(0,a.S6)(e,(function(t){var e;(0,a.Kn)(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function tt(t,e,n){if(n||e.hasKey(t)){var i=0;while(e.hasKey(t+i))i++;t+=i}return e.set(t,!0),t}var et=n(85632);function nt(t){return null==t?0:t.length||1}function it(t){return t}var rt=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||it,this._newKeyGetter=i||it,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=nt(s);if(l>1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a<r.length;a++){var s=r[a],l=n[s],u=i[s],h=nt(l),c=nt(u);if(h>1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var f=0;f<h;f++)this._remove&&this._remove(l[f]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=nt(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=nt(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),ot=rt,at=n(29221),st=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function lt(t,e){var n={},i=n.encode={},r=(0,a.kW)(),o=[],s=[],l={};(0,a.S6)(t.dimensions,(function(e){var n=t.getDimensionInfo(e),a=n.coordDim;if(a){0;var u=n.coordDimIndex;ut(i,a)[u]=e,n.isExtraCoord||(r.set(a,1),ht(n.type)&&(o[0]=e),ut(l,a)[u]=t.getDimensionIndex(n.name)),n.defaultTooltip&&s.push(e)}N.f7.each((function(t,e){var r=ut(i,e),o=n.otherDims[e];null!=o&&!1!==o&&(r[o]=n.name)}))}));var u=[],h={};r.each((function(t,e){var n=i[e];h[e]=n[0],u=u.concat(n)})),n.dataDimsOnCoord=u,n.dataDimIndicesOnCoord=(0,a.UI)(u,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=h;var c=i.label;c&&c.length&&(o=c.slice());var f=i.tooltip;return f&&f.length?s=f.slice():s.length||(s=o.slice()),i.defaultedLabel=o,i.defaultedTooltip=s,n.userOutput=new st(l,e),n}function ut(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function ht(t){return!("ordinal"===t||"time"===t)}var ct,ft,pt,dt,gt,vt,yt,mt=n(75195),_t=a.Kn,xt=a.UI,wt="undefined"===typeof Int32Array?Array:Int32Array,St="e\0\0",bt=-1,Tt=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],Mt=["_approximateExtent"],Dt=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;Y(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],s={},l=!1,u={},h=0;h<n.length;h++){var c=n[h],f=a.HD(c)?new F({name:c}):c instanceof F?c:new F(c),p=f.name;f.type=f.type||"float",f.coordDim||(f.coordDim=p,f.coordDimIndex=0);var d=f.otherDims=f.otherDims||{};o.push(p),r[p]=f,null!=u[p]&&(l=!0),f.createInvertedIndices&&(s[p]=[]),0===d.itemName&&(this._nameDimIdx=h),0===d.itemId&&(this._idDimIdx=h),i&&(f.storeDimIndex=h)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=s,this._dimOmitted){var g=this._dimIdxToName=a.kW();a.S6(o,(function(t){g.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(a.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},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 W.ZP&&(i=t),!i){var o=this.dimensions,s=(0,H.Ld)(t)||a.zG(t)?new at.Pl(t,o.length):t;i=new W.ZP;var l=xt(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(s,l,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=lt(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&yt(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==N.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=i.getSource().sourceFormat,s=a===N.cy;if(s&&!i.pure)for(var u=[],h=t;h<e;h++){var c=i.getItem(h,u);if(!this.hasItemOption&&(0,l.Co)(c)&&(this.hasItemOption=!0),c){var f=c.name;null==r[h]&&null!=f&&(r[h]=(0,l.U5)(f,null));var p=c.id;null==o[h]&&null!=p&&(o[h]=(0,l.U5)(p,null))}}if(this._shouldMakeIdFromName())for(h=t;h<e;h++)yt(this,h);ct(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){_t(t)?a.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=pt(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return ft(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return a.kJ(t)?i.getValues(xt(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];var i=n[e];return null==i||isNaN(i)?bt:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){a.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=xt(dt(t),this._getStoreDimIndex,this);this._store.each(r,i?a.ak(e,i):e)},t.prototype.filterSelf=function(t,e,n){a.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=xt(dt(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?a.ak(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=a.XP(t),r=[];return a.S6(i,(function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){a.mf(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=xt(dt(t),this._getStoreDimIndex,this),s=vt(this);return s._store=this._store.map(o,r?a.ak(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=xt(dt(t),this._getStoreDimIndex,this);this._store.modify(o,r?a.ak(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=vt(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=vt(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new et.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new ot(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return ft(t,e)}),(function(t){return ft(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},_t(t)?a.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),a.kJ(r)?r=r.slice():_t(r)&&(r=a.l7({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,_t(e)?a.l7(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){_t(t)?a.l7(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?a.l7(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,mt.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){a.S6(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:xt(this.dimensions,this._getDimInfo,this),this.hostModel)),gt(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];a.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(a.tP(arguments)))})},t.internalField=function(){ct=function(t){var e=t._invertedIndicesMap;a.S6(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new wt(o.categories.length);for(var s=0;s<n.length;s++)n[s]=bt;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},pt=function(t,e,n){return(0,l.U5)(t._getCategory(e,n),null)},ft=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=pt(t,t._idDimIdx,e)),null==n&&(n=St+e),n},dt=function(t){return a.kJ(t)||(t=null!=t?[t]:[]),t},vt=function(e){var n=new t(e._schema?e._schema:xt(e.dimensions,e._getDimInfo,e),e.hostModel);return gt(n,e),n},gt=function(t,e){a.S6(Tt.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,a.S6(Mt,(function(n){t[n]=a.d9(e[n])})),t._calculationInfo=a.l7({},e._calculationInfo)},yt=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,o=t._idDimIdx,a=n[e],s=i[e];if(null==a&&null!=r&&(n[e]=a=pt(t,r,e)),null==s&&null!=o&&(i[e]=s=pt(t,o,e)),null==s&&null!=a){var l=t._nameRepeatCount,u=l[a]=(l[a]||0)+1;s=a,u>1&&(s+="__ec__"+u),i[e]=s}}}(),t}(),kt=Dt;function It(t,e,n){e=(0,a.kJ)(e)&&{coordDimensions:e}||(0,a.l7)({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=J(i,e).dimensions,o=new kt(r,t);return o.initData(i,n),o}var Ct=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},t}(),Pt=Ct,At=n(84895),Lt=l.Yf(),Ot=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,v.ZT)(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Pt(a.ak(this.getData,this),a.ak(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return It(this,{coordDimensions:["value"],encodeDefaulter:a.WA(V.Ss,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=Lt(n),o=i.seats;if(!o){var a=[];n.each(n.mapDimension("value"),(function(t){a.push(t)})),o=i.seats=(0,r.HD)(a,n.hostModel.get("percentPrecision"))}var s=t.prototype.getDataParams.call(this,e);return s.percent=o[e]||0,s.$vars.push("percent"),s},e.prototype._defaultLabelLine=function(t){l.Cc(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(At.Z),Rt=Ot;function Zt(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!((0,a.hj)(i)&&!isNaN(i)&&i<0)}))}}}function zt(t){t.registerChartView(B),t.registerSeriesModel(Rt),(0,i.y)("pie",t.registerAction),t.registerLayout((0,a.WA)(p,"pie")),t.registerProcessor(g("pie")),t.registerProcessor(Zt("pie"))}},84636:function(t,e,n){n.d(e,{N:function(){return $}});var i=n(35183),r=n(18299),o=n(95797),a=n(85632),s=n(38496),l=n(13350),u=function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0},h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,r.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),o.kJ(e)&&o.S6(e,(function(t,i){o.HD(t)&&(t={type:t}),e[i]=o.TS(t,u(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider,l=a.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(l)),l.length?e=e.concat(l):r=!0}else r=!0;r&&(0,s.yu)(i)&&e.push(i.name)})),this._availableNames=n;var i=this.get("data")||e,r=o.kW(),l=o.UI(i,(function(t){return(o.HD(t)||o.hj(t))&&(t={name:t}),r.get(t.name)?null:(r.set(t.name,!0),new a.Z(t,this,this.ecModel))}),this);this._data=o.hX(l,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected,n=this.get("selectedMode");if("single"===n){var i=this._data;o.S6(i,(function(t){e[t.get("name")]=!1}))}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&o.cq(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(l.Z),c=h,f=n(76171),p=n(3082),d=n(49386),g=n(96354),v=n(43092),y=n(10859),m=n(19552),_=n(41054);function x(t,e){var n=_.MY(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new g.Z({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1}),t}var w=n(16457),S=n(59160),b=n(86741),T=n(4258),M=n(75195),D=o.WA,k=o.S6,I=p.Z,C=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new I),this.group.add(this._selectorGroup=new I),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),a=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===a?"right":"left");var s=t.get("selector",!0),l=t.get("selectorPosition",!0);!s||l&&"auto"!==l||(l="horizontal"===a?"end":"start"),this.renderInner(r,t,e,n,s,a,l);var u=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},c=t.get("padding"),f=w.ME(u,h,c),p=this.layoutInner(t,r,f,i,s,l),d=w.ME(o.ce({width:p.width,height:p.height},u),h,c);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=x(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,a,s){var l=this.getContentGroup(),u=o.kW(),h=e.get("selectedMode"),c=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&c.push(t.id)})),k(e.getData(),(function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var p=new I;return p.newline=!0,void l.add(p)}var d=n.getSeriesByName(s)[0];if(!u.get(s)){if(d){var g=d.getData(),v=g.getVisual("legendLineStyle")||{},y=g.getVisual("legendIcon"),m=g.getVisual("style"),_=this._createItem(d,s,a,r,e,t,v,m,y,h,i);_.on("click",D(L,s,null,i,c)).on("mouseover",D(R,d.name,null,i,c)).on("mouseout",D(Z,d.name,null,i,c)),n.ssr&&_.eachChild((function(t){var e=(0,M.A)(t);e.seriesIndex=d.seriesIndex,e.dataIndex=a,e.ssrType="legend"})),u.set(s,!0)}else n.eachRawSeries((function(l){if(!u.get(s)&&l.legendVisualProvider){var p=l.legendVisualProvider;if(!p.containName(s))return;var d=p.indexOfName(s),g=p.getItemVisual(d,"style"),v=p.getItemVisual(d,"legendIcon"),y=(0,f.Qc)(g.fill);y&&0===y[3]&&(y[3]=.2,g=o.l7(o.l7({},g),{fill:(0,f.Pz)(y,"rgba")}));var m=this._createItem(l,s,a,r,e,t,{},g,v,h,i);m.on("click",D(L,null,s,i,c)).on("mouseover",D(R,null,s,i,c)).on("mouseout",D(Z,null,s,i,c)),n.ssr&&m.eachChild((function(t){var e=(0,M.A)(t);e.seriesIndex=l.seriesIndex,e.dataIndex=a,e.ssrType="legend"})),u.set(s,!0)}}),this);0}}),this),r&&this._createSelector(r,e,i,a,s)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();k(t,(function(t){var i=t.type,r=new d.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,m.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,y.vF)(r)}))},e.prototype._createItem=function(t,e,n,i,r,a,s,l,u,h,c){var f=t.visualDrawType,p=r.get("itemWidth"),_=r.get("itemHeight"),x=r.isSelected(e),w=i.get("symbolRotate"),S=i.get("symbolKeepAspect"),b=i.get("icon");u=b||u||"roundRect";var T=P(u,i,s,l,f,x,c),M=new I,D=i.getModel("textStyle");if(!o.mf(t.getLegendIcon)||b&&"inherit"!==b){var k="inherit"===b&&t.getData().getVisual("symbol")?"inherit"===w?t.getData().getVisual("symbolRotate"):w:0;M.add(A({itemWidth:p,itemHeight:_,icon:u,iconRotate:k,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:S}))}else M.add(t.getLegendIcon({itemWidth:p,itemHeight:_,icon:u,iconRotate:w,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:S}));var C="left"===a?p+5:-5,L=a,O=r.get("formatter"),R=e;o.HD(O)&&O?R=O.replace("{name}",null!=e?e:""):o.mf(O)&&(R=O(e));var Z=x?D.getTextColor():i.get("inactiveColor");M.add(new d.ZP({style:(0,m.Lr)(D,{text:R,x:C,y:_/2,fill:Z,align:L,verticalAlign:"middle"},{inheritColor:Z})}));var z=new g.Z({shape:M.getBoundingRect(),style:{fill:"transparent"}}),B=i.getModel("tooltip");return B.get("show")&&v.setTooltipConfig({el:z,componentModel:r,itemName:e,itemTooltipOption:B.option}),M.add(z),M.eachChild((function(t){t.silent=!0})),z.silent=!h,this.getContentGroup().add(M),(0,y.vF)(M),M.__legendDataIndex=n,M},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();w.BZ(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){w.BZ("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],f=t.get("selectorButtonGap",!0),p=t.getOrient().index,d=0===p?"width":"height",g=0===p?"height":"width",v=0===p?"y":"x";"end"===o?c[p]+=l[d]+f:u[p]+=h[d]+f,c[1-p]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var y={x:0,y:0};return y[d]=l[d]+f+h[d],y[g]=Math.max(l[g],h[g]),y[v]=Math.min(0,h[v]+c[1-p]),y}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(S.Z);function P(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),k(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?(0,T.I)(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var f=e.getModel("lineStyle"),p=f.getLineStyle();if(s(p,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===p.stroke&&(p.stroke=i.fill),!o){var d=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===d?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),p.stroke=f.get("inactiveColor"),p.lineWidth=f.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function A(t){var e=t.icon||"roundRect",n=(0,b.th)(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function L(t,e,n,i){Z(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),R(t,e,n,i)}function O(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(i<r&&!(e=n[i].states.emphasis))i++;return e&&e.hoverLayer}function R(t,e,n,i){O(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function Z(t,e,n,i){O(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}var z=C;function B(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function N(t,e,n){var i,r={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=i?n[i?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),i=n.isSelected(e.name));var s=n.getData();(0,o.S6)(s,(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var i=n.isSelected(e);r.hasOwnProperty(e)?r[e]=r[e]&&i:r[e]=i}}))})),"allSelect"===t||"inverseSelect"===t?{selected:r}:{name:e.name,selected:r}}function E(t){t.registerAction("legendToggleSelect","legendselectchanged",(0,o.WA)(N,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,o.WA)(N,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,o.WA)(N,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,o.WA)(N,"select")),t.registerAction("legendUnSelect","legendunselected",(0,o.WA)(N,"unSelect"))}function F(t){t.registerComponentModel(c),t.registerComponentView(z),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,B),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),E(t)}var H=n(40259),W=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=(0,w.tE)(e);t.prototype.init.call(this,e,n,i),V(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),V(this,this.option,e)},e.type="legend.scroll",e.defaultOption=(0,H.ZL)(c.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(c);function V(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,(0,w.dt)(e,n,{type:"box",ignoreSize:!!r})}var G=W,U=n(51058),X=p.Z,Y=["width","height"],q=["x","y"],K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,r.ZT)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new X),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new X)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,s,l){var u=this;t.prototype.renderInner.call(this,e,n,i,r,a,s,l);var h=this._controllerGroup,c=n.get("pageIconSize",!0),f=o.kJ(c)?c:[c,c];g("pagePrev",0);var p=n.getModel("pageTextStyle");function g(t,e){var i=t+"DataIndex",a=v.createIcon(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:o.ak(u._pageGo,u,i,n,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});a.name=t,h.add(a)}h.add(new d.ZP({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),g("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var s=this.getSelectorGroup(),l=t.getOrient().index,u=Y[l],h=q[l],c=Y[1-l],f=q[1-l];r&&w.BZ("horizontal",s,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),d=s.getBoundingRect(),g=[-d.x,-d.y],v=o.d9(n);r&&(v[u]=n[u]-d[u]-p);var y=this._layoutContentAndController(t,i,v,l,u,c,f,h);if(r){if("end"===a)g[l]+=y[u]+p;else{var m=d[u]+p;g[l]-=m,y[h]-=m}y[u]+=d[u]+p,g[1-l]+=y[f]+y[c]/2-d[c]/2,y[c]=Math.max(y[c],d[c]),y[f]=Math.min(y[f],d[f]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return y},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,s,l){var u=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;w.BZ(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),w.BZ("horizontal",c,t.get("pageButtonItemGap",!0));var f=u.getBoundingRect(),p=c.getBoundingRect(),d=this._showController=f[r]>n[r],v=[-f.x,-f.y];e||(v[i]=u[l]);var y=[0,0],m=[-p.x,-p.y],_=o.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var x=t.get("pageButtonPosition",!0);"end"===x?m[i]+=n[r]-p[r]:y[i]+=p[r]+_}m[1-i]+=f[a]/2-p[a]/2,u.setPosition(v),h.setPosition(y),c.setPosition(m);var S={x:0,y:0};if(S[r]=d?n[r]:f[r],S[a]=Math.max(f[a],p[a]),S[s]=Math.min(0,p[s]+m[1-i]),h.__rectSize=n[r],d){var b={x:0,y:0};b[r]=Math.max(n[r]-p[r]-_,0),b[a]=S[a],h.setClipPath(new g.Z({shape:b})),h.__rectSize=b[r]}else c.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var T=this._getPageInfo(t);return null!=T.pageIndex&&U.D(u,{x:T.contentPosition[0],y:T.contentPosition[1]},d?t:null),this._updatePageInfoView(t,T),S},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;o.S6(["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"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&r&&i.setStyle("text",o.HD(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):r({current:s,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=Y[r],a=q[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,f={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return f;var p=m(u);f.contentPosition[r]=-p.s;for(var d=s+1,g=p,v=p,y=null;d<=h;++d)y=m(l[d]),(!y&&v.e>g.s+i||y&&!_(y,g.s))&&(g=v.i>g.i?v:y,g&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=g.i),++f.pageCount)),v=y;for(d=s-1,g=p,v=p,y=null;d>=-1;--d)y=m(l[d]),y&&_(v,y.s)||!(g.i<v.i)||(v=g,null==f.pagePrevDataIndex&&(f.pagePrevDataIndex=g.i),++f.pageCount,++f.pageIndex),g=y;return f;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){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},e.type="legend.scroll",e}(z),j=K;function J(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function Q(t){(0,i.D)(F),t.registerComponentModel(G),t.registerComponentView(j),J(t)}function $(t){(0,i.D)(F),(0,i.D)(Q)}},83878:function(t,e,n){n.d(e,{N:function(){return Ve}});var i=n(18299),r=n(85632),o=n(95797);function a(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return s(n,t,e),n.seriesInvolved&&u(n,t),n}function s(t,e,n){var i=e.getComponent("tooltip"),r=e.getComponent("axisPointer"),a=r.get("link",!0)||[],s=[];(0,o.S6)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var u=v(n.model),c=t.coordSysAxesInfo[u]={};t.coordSysMap[u]=n;var f=n.model,p=f.getModel("tooltip",i);if((0,o.S6)(n.getAxes(),(0,o.WA)(_,!1,null)),n.getTooltipAxes&&i&&p.get("show")){var d="axis"===p.get("trigger"),y="cross"===p.get(["axisPointer","type"]),m=n.getTooltipAxes(p.get(["axisPointer","axis"]));(d||y)&&(0,o.S6)(m.baseAxes,(0,o.WA)(_,!y||"cross",d)),y&&(0,o.S6)(m.otherAxes,(0,o.WA)(_,"cross",!1))}}function _(i,o,u){var f=u.model.getModel("axisPointer",r),d=f.get("show");if(d&&("auto"!==d||i||g(f))){null==o&&(o=f.get("triggerTooltip")),f=i?l(u,p,r,e,i,o):f;var y=f.get("snap"),m=f.get("triggerEmphasis"),_=v(u.model),x=o||y||"category"===u.type,w=t.axesInfo[_]={key:_,axis:u,coordSys:n,axisPointerModel:f,triggerTooltip:o,triggerEmphasis:m,involveSeries:x,snap:y,useHandle:g(f),seriesModels:[],linkGroup:null};c[_]=w,t.seriesInvolved=t.seriesInvolved||x;var S=h(a,u);if(null!=S){var b=s[S]||(s[S]={axesInfo:{}});b.axesInfo[_]=w,b.mapper=a[S].mapper,w.linkGroup=b}}}}))}function l(t,e,n,i,a,s){var l=e.getModel("axisPointer"),u=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],h={};(0,o.S6)(u,(function(t){h[t]=(0,o.d9)(l.get(t))})),h.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(h.type="line");var c=h.label||(h.label={});if(null==c.show&&(c.show=!1),"cross"===a){var f=l.get(["label","show"]);if(c.show=null==f||f,!s){var p=h.lineStyle=l.get("crossStyle");p&&(0,o.ce)(c,p.textStyle)}}return t.model.getModel("axisPointer",new r.Z(h,n,i))}function u(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),r=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==r&&!1!==e.get(["axisPointer","show"],!0)&&(0,o.S6)(t.coordSysAxesInfo[v(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 h(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(c(o[i+"AxisId"],n.id)||c(o[i+"AxisIndex"],n.componentIndex)||c(o[i+"AxisName"],n.name))return r}}function c(t,e){return"all"===t||(0,o.kJ)(t)&&(0,o.cq)(t,e)>=0||t===e}function f(t){var e=p(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=g(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 p(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[v(t)]}function d(t){var e=p(t);return e&&e.axisPointerModel}function g(t){return!!t.get(["handle","show"])}function v(t){return t.type+"||"+t.id}var y=n(59160),m={},_=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,r){this.axisPointerClass&&f(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var r=e.getAxisPointerClass(this.axisPointerClass);if(r){var o=d(t);o?(this._axisPointer||(this._axisPointer=new r)).render(t,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){m[t]=e},e.getAxisPointerClass=function(t){return t&&m[t]},e.type="axis",e}(y.Z),x=_,w=n(3082),S=n(43092),b=n(49386),T=n(51058),M=n(14834),D=n(54849),k=n(38496),I=(0,k.Yf)(),C=o.d9,P=o.ak,A=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==a){this._lastValue=r,this._lastStatus=a;var s=this._group,l=this._handle;if(!a||"hide"===a)return s&&s.hide(),void(l&&l.hide());s&&s.show(),l&&l.show();var u={};this.makeElOption(u,r,t,e,n);var h=u.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var c=this._moveAnimation=this.determineAnimation(t,e);if(s){var f=o.WA(L,e,c);this.updatePointerEl(s,u,f),this.updateLabelEl(s,u,f,e)}else s=this._group=new w.Z,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),n.getZr().add(s);z(s,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=p(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=I(t).pointerEl=new S[r.type](C(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=I(t).labelEl=new b.ZP(C(e.label));t.add(r),R(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=I(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=I(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),R(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),s=n.get("status");if(!a.get("show")||!s||"hide"===s)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=S.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){M.sT(t.event)},onmousedown:P(this._onHandleDragMove,this,0,0),drift:P(this._onHandleDragMove,this),ondragend:P(this._onHandleDragEnd,this)}),i.add(r)),z(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");o.kJ(l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,D.T9(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){L(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Z(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(Z(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(Z(i)),I(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],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),D.ZH(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function L(t,e,n,i){O(I(n).lastProp,i)||(I(n).lastProp=i,e?T.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function O(t,e){if(o.Kn(t)&&o.Kn(e)){var n=!0;return o.S6(e,(function(e,i){n=n&&O(t[i],e)})),!!n}return t===e}function R(t,e){t[e.get(["label","show"])?"show":"hide"]()}function Z(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function z(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}var B=A,N=n(66332),E=n(41054),F=n(66012);function H(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function W(t){var e=t.get("interval");return null==e?"auto":e}function V(t){return"category"===t.type&&0===W(t.getLabelModel())}var G=n(22940),U=n(75195),X=n(19552),Y=n(41201),q=n(86741),K=n(15468),j=n(96695),J=Math.PI,Q=function(){function t(t,e){this.group=new w.Z,this.opt=e,this.axisModel=t,(0,o.ce)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new w.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!$[t]},t.prototype.add=function(t){$[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=(0,Y.wW)(e-t);return(0,Y.mW)(o)?(r=n>0?"top":"bottom",i="center"):(0,Y.mW)(o-J)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<J?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}(),$={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var a=e.axis.getExtent(),s=i.transform,l=[a[0],0],u=[a[1],0],h=l[0]>u[0];s&&((0,K.Ne)(l,l,s),(0,K.Ne)(u,u,s));var c=(0,o.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new G.Z({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});S.subPixelOptimizeLine(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);(0,o.HD)(p)&&(p=[p,p]),((0,o.HD)(d)||(0,o.hj)(d))&&(d=[d,d]);var g=(0,q.Cq)(e.get(["axisLine","symbolOffset"])||0,d),v=d[0],y=d[1];(0,o.S6)([{rotate:t.rotation+Math.PI/2,offset:g[0],r:0},{rotate:t.rotation-Math.PI/2,offset:g[1],r:Math.sqrt((l[0]-u[0])*(l[0]-u[0])+(l[1]-u[1])*(l[1]-u[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=(0,q.th)(p[i],-v/2,-y/2,v,y,c.stroke,!0),o=e.r+e.offset,a=h?u:l;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=at(n,i,e,t),a=lt(n,i,e,t);if(et(e,a,r),st(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var s=(0,j.VT)((0,o.UI)(a,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));(0,j.yl)(s)}},axisName:function(t,e,n,i){var r=(0,o.Jv)(t.axisName,e.get("name"));if(r){var a,s,l=e.get("nameLocation"),u=t.nameDirection,h=e.getModel("nameTextStyle"),c=e.get("nameGap")||0,f=e.axis.getExtent(),p=f[0]>f[1]?-1:1,d=["start"===l?f[0]-p*c:"end"===l?f[1]+p*c:(f[0]+f[1])/2,rt(l)?t.labelOffset+u*c:0],g=e.get("nameRotate");null!=g&&(g=g*J/180),rt(l)?a=Q.innerTextLayout(t.rotation,null!=g?g:t.rotation,u):(a=tt(t.rotation,l,g||0,f),s=t.axisNameAvailableWidth,null!=s&&(s=Math.abs(s/Math.sin(a.rotation)),!isFinite(s)&&(s=null)));var v=h.getFont(),y=e.get("nameTruncate",!0)||{},m=y.ellipsis,_=(0,o.Jv)(t.nameTruncateMaxWidth,y.maxWidth,s),x=new b.ZP({x:d[0],y:d[1],rotation:a.rotation,silent:Q.isLabelSilent(e),style:(0,X.Lr)(h,{text:r,font:v,overflow:"truncate",width:_,ellipsis:m,fill:h.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:h.get("align")||a.textAlign,verticalAlign:h.get("verticalAlign")||a.textVerticalAlign}),z2:1});if(S.setTooltipConfig({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var w=Q.makeAxisEventDataBase(e);w.targetType="axisName",w.name=r,(0,U.A)(x).eventData=w}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function tt(t,e,n,i){var r,o,a=(0,Y.wW)(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return(0,Y.mW)(a-J/2)?(o=l?"bottom":"top",r="center"):(0,Y.mW)(a-1.5*J)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*J&&a>J/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function et(t,e,n){if(!V(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],f=n[n.length-2];!1===i?(nt(o),nt(u)):it(o,a)&&(i?(nt(a),nt(h)):(nt(o),nt(u))),!1===r?(nt(s),nt(c)):it(l,s)&&(r?(nt(l),nt(f)):(nt(s),nt(c)))}}function nt(t){t&&(t.ignore=!0)}function it(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=F.yR([]);return F.U1(r,r,-t.rotation),n.applyTransform(F.dC([],r,t.getLocalTransform())),i.applyTransform(F.dC([],r,e.getLocalTransform())),n.intersect(i)}}function rt(t){return"middle"===t||"center"===t}function ot(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l<t.length;l++){var u=t[l].coord;a[0]=u,a[1]=0,s[0]=u,s[1]=n,e&&((0,K.Ne)(a,a,e),(0,K.Ne)(s,s,e));var h=new G.Z({shape:{x1:a[0],y1:a[1],x2:s[0],y2:s[1]},style:i,z2:2,autoBatch:!0,silent:!0});S.subPixelOptimizeLine(h.shape,h.style.lineWidth),h.anid=r+"_"+t[l].tickValue,o.push(h)}return o}function at(t,e,n,i){var r=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&i.handleAutoShown&&(s=i.handleAutoShown("axisTick")),s&&!r.scale.isBlank()){for(var l=a.getModel("lineStyle"),u=i.tickDirection*a.get("length"),h=r.getTicksCoords(),c=ot(h,e.transform,u,(0,o.ce)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)t.add(c[f]);return c}}function st(t,e,n,i){var r=n.axis,a=n.getModel("minorTick");if(a.get("show")&&!r.scale.isBlank()){var s=r.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=i*a.get("length"),h=(0,o.ce)(l.getLineStyle(),(0,o.ce)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var f=ot(s[c],e.transform,u,h,"minorticks_"+c),p=0;p<f.length;p++)t.add(f[p])}}function lt(t,e,n,i){var a=n.axis,s=(0,o.Jv)(i.axisLabelShow,n.get(["axisLabel","show"]));if(s&&!a.scale.isBlank()){var l=n.getModel("axisLabel"),u=l.get("margin"),h=a.getViewLabels(),c=((0,o.Jv)(i.labelRotate,l.get("rotate"))||0)*J/180,f=Q.innerTextLayout(i.rotation,c,i.labelDirection),p=n.getCategories&&n.getCategories(!0),d=[],g=Q.isLabelSilent(n),v=n.get("triggerEvent");return(0,o.S6)(h,(function(s,c){var y="ordinal"===a.scale.type?a.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,m=s.formattedLabel,_=s.rawLabel,x=l;if(p&&p[y]){var w=p[y];(0,o.Kn)(w)&&w.textStyle&&(x=new r.Z(w.textStyle,l,n.ecModel))}var S=x.getTextColor()||n.get(["axisLine","lineStyle","color"]),T=a.dataToCoord(y),M=x.getShallow("align",!0)||f.textAlign,D=(0,o.pD)(x.getShallow("alignMinLabel",!0),M),k=(0,o.pD)(x.getShallow("alignMaxLabel",!0),M),I=x.getShallow("verticalAlign",!0)||x.getShallow("baseline",!0)||f.textVerticalAlign,C=(0,o.pD)(x.getShallow("verticalAlignMinLabel",!0),I),P=(0,o.pD)(x.getShallow("verticalAlignMaxLabel",!0),I),A=new b.ZP({x:T,y:i.labelOffset+i.labelDirection*u,rotation:f.rotation,silent:g,z2:10+(s.level||0),style:(0,X.Lr)(x,{text:m,align:0===c?D:c===h.length-1?k:M,verticalAlign:0===c?C:c===h.length-1?P:I,fill:(0,o.mf)(S)?S("category"===a.type?_:"value"===a.type?y+"":y,c):S})});if(A.anid="label_"+y,v){var L=Q.makeAxisEventDataBase(n);L.targetType="axisLabel",L.value=_,L.tickIndex=c,"category"===a.type&&(L.dataIndex=y),(0,U.A)(A).eventData=L}e.add(A),A.updateTransform(),d.push(A),t.add(A),A.decomposeTransform()})),d}}var ut=Q;function ht(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 ct(t,e,n,i,r){var o=n.get("value"),a=pt(o,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=E.MY(s.get("padding")||0),u=s.getFont(),h=N.lP(a,u),c=r.position,f=h.width+l[1]+l[3],p=h.height+l[0]+l[2],d=r.align;"right"===d&&(c[0]-=f),"center"===d&&(c[0]-=f/2);var g=r.verticalAlign;"bottom"===g&&(c[1]-=p),"middle"===g&&(c[1]-=p/2),ft(c,f,p,i);var v=s.get("backgroundColor");v&&"auto"!==v||(v=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:(0,X.Lr)(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:v}),z2:10}}function ft(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 pt(t,e,n,i,r){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:r.precision}),s=r.formatter;if(s){var l={value:H(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};o.S6(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&l.seriesData.push(r)})),o.HD(s)?a=s.replace("{value}",a):o.mf(s)&&(a=s(l))}return a}function dt(t,e,n){var i=F.Ue();return F.U1(i,i,n.rotation),F.Iu(i,i,n.position),S.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function gt(t,e,n,i,r,o){var a=ut.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),ct(e,i,r,o,{position:dt(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function vt(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function yt(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function mt(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,a={},s=r.getAxesOnZeroOf()[0],l=r.position,u=s?"onZero":l,h=r.dim,c=i.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,g="x"===h?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[p.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===h?g[p[u]]:f[0],"x"===h?g[p[u]]:f[3]],a.rotation=Math.PI/2*("x"===h?0:1);var y={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=y[l],a.labelOffset=s?g[p[l]]-g[p.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),o.Jv(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-m:m,a.z2=1,a}var _t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=xt(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=ht(i),c=wt[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var f=mt(a.model,n);gt(e,t,f,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=mt(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=dt(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=xt(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];var f=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:f[l]}},e}(B);function xt(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var wt={line:function(t,e,n){var i=vt([e,n[0]],[e,n[1]],St(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:yt([e-i/2,n[0]],[i,r],St(t))}}};function St(t){return"x"===t.dim?0:1}var bt=_t,Tt=n(13350),Mt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Tt.Z),Dt=Mt,kt=n(59979),It=(0,k.Yf)(),Ct=o.S6;function Pt(t,e,n){if(!kt.Z.node){var i=e.getZr();It(i).records||(It(i).records={}),At(i,e);var r=It(i).records[t]||(It(i).records[t]={});r.handler=n}}function At(t,e){function n(n,i){t.on(n,(function(n){var r=Zt(e);Ct(It(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),Lt(r.pendings,e)}))}It(t).initialized||(It(t).initialized=!0,n("click",o.WA(Rt,"click")),n("mousemove",o.WA(Rt,"mousemove")),n("globalout",Ot))}function Lt(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function Ot(t,e,n){t.handler("leave",null,n)}function Rt(t,e,n,i){e.handler(t,n,i)}function Zt(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function zt(t,e){if(!kt.Z.node){var n=e.getZr(),i=(It(n).records||{})[t];i&&(It(n).records[t]=null)}}var Bt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";Pt("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){zt("axisPointer",e)},e.prototype.dispose=function(t,e){zt("axisPointer",e)},e.type="axisPointer",e}(y.Z),Nt=Bt;function Et(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var a=n.getData(),s=k.gO(a,t);if(null==s||s<0||o.kJ(s))return{point:[]};var l=a.getItemGraphicEl(s),u=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(s)||[];else if(u&&u.dataToPoint)if(t.isStacked){var h=u.getBaseAxis(),c=u.getOtherAxis(h),f=c.dim,p=h.dim,d="x"===f||"radius"===f?1:0,g=a.mapDimension(p),v=[];v[d]=a.get(g,s),v[1-d]=a.get(a.getCalculationInfo("stackResultDimension"),s),i=u.dataToPoint(v)||[]}else i=u.dataToPoint(a.getValues(o.UI(u.dimensions,(function(t){return a.mapDimension(t)})),s))||[];else if(l){var y=l.getBoundingRect().clone();y.applyTransform(l.transform),i=[y.x+y.width/2,y.y+y.height/2]}return{point:i,el:l}}var Ft=(0,k.Yf)();function Ht(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,s=t.dispatchAction||(0,o.ak)(n.dispatchAction,n),l=e.getComponent("axisPointer").coordSysAxesInfo;if(l){Jt(r)&&(r=Et({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var u=Jt(r),h=a.axesInfo,c=l.axesInfo,f="leave"===i||Jt(r),p={},d={},g={list:[],map:{}},v={showPointer:(0,o.WA)(Gt,d),showTooltip:(0,o.WA)(Ut,g)};(0,o.S6)(l.coordSysMap,(function(t,e){var n=u||t.containPoint(r);(0,o.S6)(l.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=Kt(h,t);if(!f&&n&&(!h||o)){var a=o&&o.value;null!=a||u||(a=i.pointToData(r)),null!=a&&Wt(t,a,v,!1,p)}}))}));var y={};return(0,o.S6)(c,(function(t,e){var n=t.linkGroup;n&&!d[e]&&(0,o.S6)(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,jt(e),jt(t)))),y[t.key]=o}}))})),(0,o.S6)(y,(function(t,e){Wt(c[e],t,v,!0,p)})),Xt(d,c,p),Yt(g,r,t,s),qt(c,s,n),p}}function Wt(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var s=Vt(e,t),l=s.payloadBatch,u=s.snapToValue;l[0]&&null==r.seriesIndex&&(0,o.l7)(r,l[0]),!i&&t.snap&&a.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,l),n.showTooltip(t,s,u)}else n.showPointer(t,e)}function Vt(t,e){var n=e.axis,i=n.dim,r=t,a=[],s=Number.MAX_VALUE,l=-1;return(0,o.S6)(e.seriesModels,(function(e,u){var h,c,f=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(f,t,n);c=p.dataIndices,h=p.nestestValue}else{if(c=e.getData().indicesOfNearest(f[0],t,"category"===n.type?.5:null),!c.length)return;h=e.getData().get(f[0],c[0])}if(null!=h&&isFinite(h)){var d=t-h,g=Math.abs(d);g<=s&&((g<s||d>=0&&l<0)&&(s=g,l=d,r=h,a.length=0),(0,o.S6)(c,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}function Gt(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function Ut(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=v(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function Xt(t,e,n){var i=n.axesInfo=[];(0,o.S6)(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function Yt(t,e,n,i){if(!Jt(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function qt(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",a=Ft(i)[r]||{},s=Ft(i)[r]={};(0,o.S6)(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.S6)(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var l=[],u=[];(0,o.S6)(a,(function(t,e){!s[e]&&u.push(t)})),(0,o.S6)(s,(function(t,e){!a[e]&&l.push(t)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function Kt(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function jt(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function Jt(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function Qt(t){x.registerAxisPointerClass("CartesianAxisPointer",bt),t.registerComponentModel(Dt),t.registerComponentView(Nt),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.kJ)(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=a(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Ht)}var $t=n(35183),te=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Tt.Z),ee=te,ne=n(99837);function ie(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function re(t){if(kt.Z.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var oe=re(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),ae=re(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function se(t,e){if(!t)return e;e=(0,E.zW)(e,!0);var n=t.indexOf(e);return t=-1===n?e:"-"+t.slice(0,n)+"-"+e,t.toLowerCase()}function le(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}var ue=n(43803),he=se(ae,"transition"),ce=se(oe,"transform"),fe="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(kt.Z.transform3dSupported?"will-change:transform;":"");function pe(t){return t="left"===t?"right":"right"===t?"left":"top"===t?"bottom":"top",t}function de(t,e,n){if(!(0,o.HD)(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=(0,E.Lz)(e);var a,s=pe(n),l=Math.max(1.5*Math.round(r),6),u="",h=ce+":";(0,o.cq)(["left","right"],s)>-1?(u+="top:50%",h+="translateY(-50%) rotate("+(a="left"===s?-225:-45)+"deg)"):(u+="left:50%",h+="translateX(-50%) rotate("+(a="top"===s?225:45)+"deg)");var c=a*Math.PI/180,f=l+r,p=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),d=Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-f)/2))/100;u+=";"+s+":-"+d+"px";var g=e+" solid "+r+"px;",v=["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",u+";"+h+";","border-bottom:"+g,"border-right:"+g,"background-color:"+i+";"];return'<div style="'+v.join("")+'"></div>'}function ge(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=kt.Z.transformSupported?","+ce+i:",left"+i+",top"+i),he+":"+r}function ve(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!kt.Z.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=kt.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+ce+":"+a+";":[["top",0],["left",0],[oe,a]]}function ye(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return r&&a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+r),(0,o.S6)(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function me(t,e,n){var i=[],r=t.get("transitionDuration"),a=t.get("backgroundColor"),s=t.get("shadowBlur"),l=t.get("shadowColor"),u=t.get("shadowOffsetX"),h=t.get("shadowOffsetY"),c=t.getModel("textStyle"),f=(0,ue.d_)(t,"html"),p=u+"px "+h+"px "+s+"px "+l;return i.push("box-shadow:"+p),e&&r&&i.push(ge(r,n)),a&&i.push("background-color:"+a),(0,o.S6)(["width","color","radius"],(function(e){var n="border-"+e,r=(0,E.zW)(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(ye(c)),null!=f&&i.push("padding:"+(0,E.MY)(f).join("px ")+"px"),i.join(";")+";"}function _e(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,ne.YB)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var xe=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,kt.Z.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,a=r&&((0,o.HD)(r)?document.querySelector(r):(0,o.Mh)(r)?r:(0,o.mf)(r)&&r(t.getDom()));_e(this._styleCoord,i,a,t.getWidth()/2,t.getHeight()/2),(a||t.getDom()).appendChild(n),this._api=t,this._container=a;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,M.OD)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=le(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=fe+me(t,!this._firstShow,this._longHide)+ve(r[0],r[1],!0)+"border-color:"+(0,E.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var a=this.el;if(null!=t){var s="";if((0,o.HD)(r)&&"item"===n.get("trigger")&&!ie(n)&&(s=de(n,i,r)),(0,o.HD)(t))a.innerHTML=t+s;else if(t){a.innerHTML="",(0,o.kJ)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,o.Mh)(t[l])&&t[l].parentNode!==a&&a.appendChild(t[l]);if(s&&a.childNodes.length){var u=document.createElement("div");u.innerHTML=s,a.appendChild(u)}}}else a.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(_e(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=ve(n[0],n[1]);(0,o.S6)(r,(function(t){i[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",kt.Z.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,o.ak)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),we=xe,Se=n(3313),be=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),De(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var a=this;o.Kn(t)&&(0,Se._y)(""),this.el&&this._zr.remove(this.el);var s=n.getModel("textStyle");this.el=new b.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:s.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,ue.d_)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),o.S6(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){a.el.style[t]=n.get(t)})),o.S6(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){a.el.style[t]=s.get(t)||0})),this._zr.add(this.el);var l=this;this.el.on("mouseover",(function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0})),this.el.on("mouseout",(function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=Me(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;De(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=Te(r.borderWidth||0),a=Me(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(o.ak(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function Te(t){return Math.max(0,t)}function Me(t){var e=Te(t.shadowBlur||0),n=Te(t.shadowOffsetX||0),i=Te(t.shadowOffsetY||0);return{left:Te(e-n),right:Te(e+n),top:Te(e-i),bottom:Te(e+i)}}function De(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var ke=be,Ie=n(96354),Ce=n(16457),Pe=n(31360),Ae=n(4735),Le=n(78834),Oe=new Ie.Z({shape:{x:-1,y:-1,width:2,height:2}}),Re=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.init=function(t,e){if(!kt.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,k.U9)(n.get("renderMode"));this._tooltipContent="richText"===i?new ke(e):new we(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!kt.Z.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,D.T9)(this,"_updatePosition",50,"fixRate"):(0,D.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel,e=t.get("triggerOn");Pt("itemTooltip",this._api,(0,o.ak)((function(t,n,i){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!kt.Z.node&&n.getDom()){var r=ze(i,n);this._ticket="";var o=i.dataByCoordSys,a=He(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=Oe;l.x=i.x,l.y=i.y,l.update(),(0,U.A)(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=Et(i,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(ze(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),u=Ze([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var o,a,s=(0,U.A)(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,(0,Le.o)(n,(function(t){return null!=(0,U.A)(t).dataIndex?(o=t,!0):null!=(0,U.A)(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,o.ak)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],a=Ze([e.tooltipOption],i),s=this._renderMode,l=[],u=(0,ue.TX)("section",{blocks:[],noHeader:!0}),h=[],c=new ue.iv;(0,o.S6)(t,(function(t){(0,o.S6)(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var a=pt(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),f=(0,ue.TX)("section",{header:a,noHeader:!(0,o.fy)(a),sortBlocks:!0,blocks:[]});u.blocks.push(f),(0,o.S6)(t.seriesDataIndices,(function(u){var p=n.getSeriesByIndex(u.seriesIndex),d=u.dataIndexInside,g=p.getDataParams(d);if(!(g.dataIndex<0)){g.axisDim=t.axisDim,g.axisIndex=t.axisIndex,g.axisType=t.axisType,g.axisId=t.axisId,g.axisValue=H(e.axis,{value:r}),g.axisValueLabel=a,g.marker=c.makeTooltipMarker("item",(0,E.Lz)(g.color),s);var v=(0,Ae.f)(p.formatTooltip(d,!0,null)),y=v.frag;if(y){var m=Ze([p],i).get("valueFormatter");f.blocks.push(m?(0,o.l7)({valueFormatter:m},y):y)}v.text&&h.push(v.text),l.push(g)}}))}}))})),u.blocks.reverse(),h.reverse();var f=e.position,p=a.get("order"),d=(0,ue.BY)(u,c,s,p,n.get("useUTC"),a.get("textStyle"));d&&h.unshift(d);var g="richText"===s?"\n\n":"<br/>",v=h.join(g);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(a,f,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(a,v,l,Math.random()+"",r[0],r[1],f,null,c)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,U.A)(e),a=r.seriesIndex,s=i.getSeriesByIndex(a),l=r.dataModel||s,u=r.dataIndex,h=r.dataType,c=l.getData(h),f=this._renderMode,p=t.positionDefault,d=Ze([c.getItemModel(u),l,s&&(s.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=d.get("trigger");if(null==g||"item"===g){var v=l.getDataParams(u,h),y=new ue.iv;v.marker=y.makeTooltipMarker("item",(0,E.Lz)(v.color),f);var m=(0,Ae.f)(l.formatTooltip(u,!1,h)),_=d.get("order"),x=d.get("valueFormatter"),w=m.frag,S=w?(0,ue.BY)(x?(0,o.l7)({valueFormatter:x},w):w,y,f,_,i.get("useUTC"),d.get("textStyle")):m.text,b="item_"+l.name+"_"+u;this._showOrMove(d,(function(){this._showTooltipContent(d,S,v,b,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:u,dataIndex:c.getRawIndex(u),seriesIndex:a,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,U.A)(e),a=r.tooltipConfig,s=a.option||{},l=s.encodeHTMLContent;if((0,o.HD)(s)){var u=s;s={content:u,formatter:u},l=!0}l&&i&&s.content&&(s=(0,o.d9)(s),s.content=(0,ne.F1)(s.content));var h=[s],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&h.push(c),h.push({formatter:s.content});var f=t.positionDefault,p=Ze(h,this._tooltipModel,f?{position:f}:null),d=p.get("content"),g=Math.random()+"",v=new ue.iv;this._showOrMove(p,(function(){var n=(0,o.d9)(p.get("formatterParams")||{});this._showTooltipContent(p,d,n,g,t.offsetX,t.offsetY,t.position,e,v)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,a,s,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var c=t.get("formatter");s=s||t.get("position");var f=e,p=this._getNearestPoint([r,a],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(c)if((0,o.HD)(c)){var g=t.ecModel.get("useUTC"),v=(0,o.kJ)(n)?n[0]:n,y=v&&v.axisType&&v.axisType.indexOf("time")>=0;f=c,y&&(f=(0,Pe.WU)(v.axisValue,f,g)),f=(0,E.kF)(f,n,!0)}else if((0,o.mf)(c)){var m=(0,o.ak)((function(e,i){e===this._ticket&&(h.setContent(i,u,t,d,s),this._updatePosition(t,s,r,a,h,n,l))}),this);this._ticket=i,f=c(n,i,m)}else f=c;h.setContent(f,u,t,d,s),h.show(t,d),this._updatePosition(t,s,r,a,h,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,o.kJ)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,o.kJ)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,a,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),(0,o.mf)(e)&&(e=e([n,i],a,r.el,p,{viewSize:[l,u],contentSize:h.slice()})),(0,o.kJ)(e))n=(0,Y.GM)(e[0],l),i=(0,Y.GM)(e[1],u);else if((0,o.Kn)(e)){var d=e;d.width=h[0],d.height=h[1];var g=(0,Ce.ME)(d,{width:l,height:u});n=g.x,i=g.y,c=null,f=null}else if((0,o.HD)(e)&&s){var v=Ee(e,p,h,t.get("borderWidth"));n=v[0],i=v[1]}else{v=Be(n,i,r,l,u,c?null:20,f?null:20);n=v[0],i=v[1]}if(c&&(n-=Fe(c)?h[0]/2:"right"===c?h[0]:0),f&&(i-=Fe(f)?h[1]/2:"bottom"===f?h[1]:0),ie(t)){v=Ne(n,i,r,l,u);n=v[0],i=v[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,o.S6)(n,(function(n,a){var s=n.dataByAxis||[],l=t[a]||{},u=l.dataByAxis||[];r=r&&s.length===u.length,r&&(0,o.S6)(s,(function(t,n){var a=u[n]||{},s=t.seriesDataIndices||[],l=a.seriesDataIndices||[];r=r&&t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&s.length===l.length,r&&(0,o.S6)(s,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&(0,o.S6)(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!kt.Z.node&&e.getDom()&&((0,D.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),zt("itemTooltip",e))},e.type="tooltip",e}(y.Z);function Ze(t,e,n){var i,a=e.ecModel;n?(i=new r.Z(n,a,a),i=new r.Z(e.option,i,a)):i=e;for(var s=t.length-1;s>=0;s--){var l=t[s];l&&(l instanceof r.Z&&(l=l.get("tooltip",!0)),(0,o.HD)(l)&&(l={formatter:l}),l&&(i=new r.Z(l,i,a)))}return i}function ze(t,e){return t.dispatchAction||(0,o.ak)(e.dispatchAction,e)}function Be(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function Ne(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function Ee(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}function Fe(t){return"center"===t||"middle"===t}function He(t,e,n){var i=(0,k.zH)(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=(0,k.HZ)(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=(0,U.A)(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}var We=Re;function Ve(t){(0,$t.D)(Qt),t.registerComponentModel(ee),t.registerComponentView(We),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},o.ZT),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},o.ZT)}},43803:function(t,e,n){n.d(e,{BY:function(){return m},TX:function(){return f},d_:function(){return D},iv:function(){return k},jT:function(){return M}});var i=n(99837),r=n(41054),o=n(95797),a=n(63354),s=n(41201),l="line-height:1";function u(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function f(t,e){return e.type=t,e}function p(t){return"section"===t.type}function d(t){return p(t)?v:y}function g(t){if(p(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return(0,o.S6)(t.blocks,(function(t){var n=g(t);n>=e&&(e=n+ +(i&&(!n||p(t)&&!t.noHeader)))})),e}return 0}function v(t,e,n,s){var h=e.noHeader,c=_(g(e)),f=[],p=e.blocks||[];(0,o.hu)(!p||(0,o.kJ)(p)),p=p||[];var v=t.orderMode;if(e.sortBlocks&&v){p=p.slice();var y={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(y,v)){var m=new a.ID(y[v],null);p.sort((function(t,e){return m.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===v&&p.reverse()}(0,o.S6)(p,(function(n,i){var r=e.valueFormatter,a=d(n)(r?(0,o.l7)((0,o.l7)({},t),{valueFormatter:r}):t,n,i>0?c.html:0,s);null!=a&&f.push(a)}));var w="richText"===t.renderMode?f.join(c.richText):x(f.join(""),h?n:c.html);if(h)return w;var S=(0,r.uX)(e.header,"ordinal",t.useUTC),T=u(s,t.renderMode).nameStyle;return"richText"===t.renderMode?b(t,S,T)+c.richText+w:x('<div style="'+T+";"+l+';">'+(0,i.F1)(S)+"</div>"+w,n)}function y(t,e,n,i){var a=t.renderMode,s=e.noName,l=e.noValue,h=!e.markerType,c=e.name,f=t.useUTC,p=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,(function(t,e){return(0,r.uX)(t,(0,o.kJ)(v)?v[e]:v,f)}))};if(!s||!l){var d=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",a),g=s?"":(0,r.uX)(c,"ordinal",f),v=e.valueType,y=l?[]:p(e.value,e.dataIndex),m=!h||!s,_=!h&&s,M=u(i,a),D=M.nameStyle,k=M.valueStyle;return"richText"===a?(h?"":d)+(s?"":b(t,g,D))+(l?"":T(t,y,m,_,k)):x((h?"":d)+(s?"":w(g,!h,D))+(l?"":S(y,m,_,k)),n)}}function m(t,e,n,i,r,o){if(t){var a=d(t),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function _(t){return{html:h[t],richText:c[t]}}function x(t,e){var n='<div style="clear:both"></div>',i="margin: "+e+"px 0 0";return'<div style="'+i+";"+l+';">'+t+n+"</div>"}function w(t,e,n){var r=e?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+(0,i.F1)(t)+"</span>"}function S(t,e,n,r){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=(0,o.kJ)(t)?t:[t],'<span style="'+s+";"+r+'">'+(0,o.UI)(t,(function(t){return(0,i.F1)(t)})).join("&nbsp;&nbsp;")+"</span>"}function b(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function T(t,e,n,i,r){var a=[r],s=i?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(e)?e.join("  "):e,a)}function M(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return(0,r.Lz)(i)}function D(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var k=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.A0)({color:e,type:t,renderMode:n,markerId:i});return(0,o.HD)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,(function(t){return(0,o.l7)(n,t)})):(0,o.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},26612:function(t,e,n){n.d(e,{Hr:function(){return Je},S1:function(){return Un},zl:function(){return $n},RS:function(){return ti},qR:function(){return ei},yn:function(){return oi},je:function(){return ai},sq:function(){return jn},Br:function(){return Jn},ds:function(){return qn},Pu:function(){return Kn},OB:function(){return si},YK:function(){return Qn},Og:function(){return ni}});var i=n(18299),r=n(24503),o=n(95797),a=n(59979),s=n(1994),l=n(18626),u=n(38496),h=n(85632),c=n(13350),f="";"undefined"!==typeof navigator&&(f=navigator.platform||"");var p="rgba(0, 0, 0, 0.2)",d={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:p,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:p,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:p,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:p,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:p,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:p,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:f.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},g=n(45452),v=(0,o.kW)();function y(t,e,n){var i=v.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}var m,_,x,w=n(25650),S="\0_ec_inner",b=1;var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new h.Z(i),this._locale=new h.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=C(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,C(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):x(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,o.S6)(s,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],s=(0,o.kW)(),l=e&&e.replaceMergeMainTypeMap;function h(e){var a=y(this,e,u.kF(t[e])),s=i.get(e),h=s?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",f=u.ab(s,a,h);u.O0(f,e,c.Z),n[e]=null,i.set(e,null),r.set(e,0);var p,d=[],g=[],v=0;(0,o.S6)(f,(function(t,n){var i=t.existing,r=t.newOption;if(r){var a="series"===e,s=c.Z.getClass(e,t.keyInfo.subType,!a);if(!s)return;if("tooltip"===e){if(p)return void 0;p=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,o.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,o.l7)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(d.push(i.option),g.push(i),v++):(d.push(void 0),g.push(void 0))}),this),n[e]=d,i.set(e,g),r.set(e,v),"series"===e&&m(this)}(0,g.md)(this),(0,o.S6)(t,(function(t,e){null!=t&&(c.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,o.d9)(t):(0,o.TS)(n[e],t,!0))})),l&&l.each((function(t,e){c.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))})),c.Z.topologicalTravel(a,c.Z.getAllClassMainTypes(),h,this),this._seriesIndices||m(this)},e.prototype.getOption=function(){var t=(0,o.d9)(this.option);return(0,o.S6)(t,(function(e,n){if(c.Z.hasClass(n)){for(var i=u.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!u.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[S],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,a=t.name,s=this._componentsMap.get(e);return s&&s.length?(null!=i?(n=[],(0,o.S6)(u.kF(i),(function(t){s[t]&&n.push(s[t])}))):n=null!=r?k("id",r,s):null!=a?k("name",a,s):(0,o.hX)(s,(function(t){return!!t})),I(n,t)):[]},e.prototype.findComponents=function(t){var e=t.query,n=t.mainType,i=a(e),r=i?this.queryComponents(i):(0,o.hX)(this._componentsMap.get(n),(function(t){return!!t}));return s(I(r,t));function a(t){var e=n+"Index",i=n+"Id",r=n+"Name";return!t||null==t[e]&&null==t[i]&&null==t[r]?null:{mainType:n,index:t[e],id:t[i],name:t[r]}}function s(e){return t.filter?(0,o.hX)(e,t.filter):e}},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,o.mf)(t)){var r=e,a=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&a.call(r,e,i,i.componentIndex)}}))}else for(var s=(0,o.HD)(t)?i.get(t):(0,o.Kn)(t)?this.findComponents(t):null,l=0;s&&l<s.length;l++){var u=s[l];u&&e.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=u.U5(t,null);return(0,o.hX)(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,o.hX)(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return(0,o.hX)(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){_(this),(0,o.S6)(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){(0,o.S6)(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){_(this),(0,o.S6)(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,o.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return _(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){_(this);var n=[];(0,o.S6)(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=(0,o.kW)(n)},e.prototype.restoreData=function(t){m(this);var e=this._componentsMap,n=[];e.each((function(t,e){c.Z.hasClass(e)&&n.push(e)})),c.Z.topologicalTravel(n,c.Z.getAllClassMainTypes(),(function(n){(0,o.S6)(e.get(n),(function(e){!e||"series"===n&&M(e,t)||e.restoreData()}))}))},e.internalField=function(){m=function(t){var e=t._seriesIndices=[];(0,o.S6)(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=(0,o.kW)(e)},_=function(t){0},x=function(t,e){t.option={},t.option[S]=b,t._componentsMap=(0,o.kW)({series:[]}),t._componentsCount=(0,o.kW)();var n=e.aria;(0,o.Kn)(n)&&null==n.enabled&&(n.enabled=!0),D(e,t._theme.option),(0,o.TS)(e,d,!1),t._mergeOption(e,null)}}(),e}(h.Z);function M(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}function D(t,e){var n=t.color&&!t.colorLayer;(0,o.S6)(e,(function(e,i){"colorLayer"===i&&n||c.Z.hasClass(i)||("object"===typeof e?t[i]=t[i]?(0,o.TS)(t[i],e,!1):(0,o.d9)(e):null==t[i]&&(t[i]=e))}))}function k(t,e,n){if((0,o.kJ)(e)){var i=(0,o.kW)();return(0,o.S6)(e,(function(t){if(null!=t){var e=u.U5(t,null);null!=e&&i.set(t,!0)}})),(0,o.hX)(n,(function(e){return e&&i.get(e[t])}))}var r=u.U5(e,null);return(0,o.hX)(n,(function(e){return e&&null!=r&&e[t]===r}))}function I(t,e){return e.hasOwnProperty("subType")?(0,o.hX)(t,(function(t){return t&&t.subType===e.subType})):t}function C(t){var e=(0,o.kW)();return t&&(0,o.S6)(u.kF(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}(0,o.jB)(T,w._);var P=T,A=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],L=function(){function t(t){o.S6(A,(function(e){this[e]=o.ak(t[e],t)}),this)}return t}(),O=L,R={},Z=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];o.S6(R,(function(i,r){var o=i.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){o.S6(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){R[t]=e},t.get=function(t){return R[t]},t}(),z=Z,B=/^(min|max)?(.+)$/,N=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,o.S6)((0,u.kF)(t.series),(function(t){t&&t.data&&(0,o.fU)(t.data)&&(0,o.s7)(t.data)})),(0,o.S6)((0,u.kF)(t.dataset),(function(t){t&&t.source&&(0,o.fU)(t.source)&&(0,o.s7)(t.source)}))),t=(0,o.d9)(t);var i=this._optionBackup,r=E(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,o.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,o.d9)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,r=this._mediaDefault,a=[],s=[];if(!i.length&&!r)return s;for(var l=0,u=i.length;l<u;l++)F(i[l].query,e,n)&&a.push(l);return!a.length&&r&&(a=[-1]),a.length&&!W(a,this._currentMediaIndices)&&(s=(0,o.UI)(a,(function(t){return(0,o.d9)(-1===t?r.option:i[t].option)}))),this._currentMediaIndices=a,s},t}();function E(t,e,n){var i,r,a=[],s=t.baseOption,l=t.timeline,u=t.options,h=t.media,c=!!t.media,f=!!(u||l||s&&s.timeline);function p(t){(0,o.S6)(e,(function(e){e(t,n)}))}return s?(r=s,r.timeline||(r.timeline=l)):((f||c)&&(t.options=t.media=null),r=t),c&&(0,o.kJ)(h)&&(0,o.S6)(h,(function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))})),p(r),(0,o.S6)(u,(function(t){return p(t)})),(0,o.S6)(a,(function(t){return p(t.option)})),{baseOption:r,timelineOptions:u||[],mediaDefault:i,mediaList:a}}function F(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,o.S6)(t,(function(t,e){var n=e.match(B);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();H(i[a],t,o)||(r=!1)}})),r}function H(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e}function W(t,e){return t.join(",")===e.join(",")}var V=N,G=o.S6,U=o.Kn,X=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Y(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=X.length;n<i;n++){var r=X[n],a=e.normal,s=e.emphasis;a&&a[r]&&(t[r]=t[r]||{},t[r].normal?o.TS(t[r].normal,a[r]):t[r].normal=a[r],a[r]=null),s&&s[r]&&(t[r]=t[r]||{},t[r].emphasis?o.TS(t[r].emphasis,s[r]):t[r].emphasis=s[r],s[r]=null)}}function q(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,o.ce(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function K(t){q(t,"itemStyle"),q(t,"lineStyle"),q(t,"areaStyle"),q(t,"label"),q(t,"labelLine"),q(t,"upperLabel"),q(t,"edgeLabel")}function j(t,e){var n=U(t)&&t[e],i=U(n)&&n.textStyle;if(i){0;for(var r=0,o=u.Td.length;r<o;r++){var a=u.Td[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function J(t){t&&(K(t),j(t,"label"),t.emphasis&&j(t.emphasis,"label"))}function Q(t){if(U(t)){Y(t),K(t),j(t,"label"),j(t,"upperLabel"),j(t,"edgeLabel"),t.emphasis&&(j(t.emphasis,"label"),j(t.emphasis,"upperLabel"),j(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Y(e),J(e));var n=t.markLine;n&&(Y(n),J(n));var i=t.markArea;i&&J(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!o.fU(a))for(var s=0;s<a.length;s++)J(a[s]);o.S6(t.categories,(function(t){K(t)}))}if(r&&!o.fU(r))for(s=0;s<r.length;s++)J(r[s]);if(e=t.markPoint,e&&e.data){var l=e.data;for(s=0;s<l.length;s++)J(l[s])}if(n=t.markLine,n&&n.data){var u=n.data;for(s=0;s<u.length;s++)o.kJ(u[s])?(J(u[s][0]),J(u[s][1])):J(u[s])}"gauge"===t.type?(j(t,"axisLabel"),j(t,"title"),j(t,"detail")):"treemap"===t.type?(q(t.breadcrumb,"itemStyle"),o.S6(t.levels,(function(t){K(t)}))):"tree"===t.type&&K(t.leaves)}}function $(t){return o.kJ(t)?t:t?[t]:[]}function tt(t){return(o.kJ(t)?t[0]:t)||{}}function et(t,e){G($(t.series),(function(t){U(t)&&Q(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),G(n,(function(e){G($(t[e]),(function(t){t&&(j(t,"axisLabel"),j(t.axisPointer,"label"))}))})),G($(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;j(e,"axisLabel"),j(e&&e.axisPointer,"label")})),G($(t.calendar),(function(t){q(t,"itemStyle"),j(t,"dayLabel"),j(t,"monthLabel"),j(t,"yearLabel")})),G($(t.radar),(function(t){j(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),G($(t.geo),(function(t){U(t)&&(J(t),G($(t.regions),(function(t){J(t)})))})),G($(t.timeline),(function(t){J(t),q(t,"label"),q(t,"itemStyle"),q(t,"controlStyle",!0);var e=t.data;o.kJ(e)&&o.S6(e,(function(t){o.Kn(t)&&(q(t,"label"),q(t,"itemStyle"))}))})),G($(t.toolbox),(function(t){q(t,"iconStyle"),G(t.feature,(function(t){q(t,"iconStyle")}))})),j(tt(t.axisPointer),"label"),j(tt(t.tooltip).axisPointer,"label")}function nt(t,e){for(var n=e.split(","),i=t,r=0;r<n.length;r++)if(i=i&&i[n[r]],null==i)break;return i}function it(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)r=o[s],null==a[r]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}function rt(t){t&&(0,o.S6)(ot,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var ot=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],at=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],st=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function lt(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<st.length;n++){var i=st[n][1],r=st[n][0];null!=e[i]&&(e[r]=e[i])}}function ut(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function ht(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function ct(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}function ft(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&ft(t[n].children,e)}function pt(t,e){et(t,e),t.series=(0,u.kF)(t.series),(0,o.S6)(t.series,(function(t){if((0,o.Kn)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),ut(t.label);var n=t.data;if(n&&!(0,o.fU)(n))for(var i=0;i<n.length;i++)ut(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=nt(t,"pointer.color");null!=r&&it(t,"itemStyle.color",r)}else if("bar"===e){lt(t),lt(t.backgroundStyle),lt(t.emphasis);n=t.data;if(n&&!(0,o.fU)(n))for(i=0;i<n.length;i++)"object"===typeof n[i]&&(lt(n[i]),lt(n[i]&&n[i].emphasis))}else if("sunburst"===e){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),ht(t),ft(t.data,ht)}else"graph"===e||"sankey"===e?ct(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,o.ce)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),rt(t)}})),t.dataRange&&(t.visualMap=t.dataRange),(0,o.S6)(at,(function(e){var n=t[e];n&&((0,o.kJ)(n)||(n=[n]),(0,o.S6)(n,(function(t){rt(t)})))}))}var dt=n(41201);function gt(t){var e=(0,o.kW)();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(vt)}function vt(t){(0,o.S6)(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,u,h){var c,f,p=a.get(e.stackedDimension,h);if(isNaN(p))return r;s?f=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var d=NaN,g=n-1;g>=0;g--){var v=t[g];if(s||(f=v.data.rawIndexOf(v.stackedByDimension,c)),f>=0){var y=v.data.getByRawIndex(v.stackResultDimension,f);if("all"===l||"positive"===l&&y>0||"negative"===l&&y<0||"samesign"===l&&p>=0&&y>0||"samesign"===l&&p<=0&&y<0){p=(0,dt.S$)(p,y),d=y;break}}}return i[0]=p,i[1]=d,i}))}))}var yt=n(84895),mt=n(59160),_t=n(16804),xt=n(96354),wt=n(12222),St=n(51058),bt=n(47397),Tt=n(75195),Mt=n(10859),Dt=n(54849),kt=n(26314),It=n(63918),Ct=n(61599),Pt=(0,u.Yf)(),At={itemStyle:(0,kt.Z)(It.t,!0),lineStyle:(0,kt.Z)(Ct.v,!0)},Lt={lineStyle:"stroke",itemStyle:"fill"};function Ot(t,e){var n=t.visualStyleMapper||At[e];return n||(console.warn("Unknown style type '"+e+"'."),At.itemStyle)}function Rt(t,e){var n=t.visualDrawType||Lt[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var Zt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=Ot(t,i),s=a(r),l=r.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var u=Rt(t,i),h=s[u],c=(0,o.mf)(h)?h:null,f="auto"===s.fill||"auto"===s.stroke;if(!s[u]||c||f){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());s[u]||(s[u]=p,n.setVisual("colorFromPalette",!0)),s.fill="auto"===s.fill||(0,o.mf)(s.fill)?p:s.fill,s.stroke="auto"===s.stroke||(0,o.mf)(s.stroke)?p:s.stroke}if(n.setVisual("style",s),n.setVisual("drawType",u),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,o.l7)({},s);r[u]=c(i),e.setItemVisual(n,"style",r)}}}},zt=new h.Z,Bt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=Ot(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){zt.option=n[i];var s=r(zt),l=t.ensureUniqueItemVisual(e,"style");(0,o.l7)(l,s),zt.option.decal&&(t.setItemVisual(e,"decal",zt.option.decal),zt.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},Nt={performRawSeries:!0,overallReset:function(t){var e=(0,o.kW)();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),Pt(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=Pt(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=Rt(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t],l=r.getItemVisual(a,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(a,"style"),h=n.getName(t)||t+"",c=n.count();u[s]=e.getColorFromPalette(h,o,c)}}))}}))}},Et=n(3082),Ft=n(49386),Ht=n(13026),Wt=Math.PI;function Vt(t,e){e=e||{},o.ce(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Et.Z,i=new xt.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new Ft.ZP({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),s=new xt.Z({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&(r=new Ht.Z({shape:{startAngle:-Wt/2,endAngle:-Wt/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*Wt/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Wt/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,o=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*o-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:o),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),s.setShape({x:l-o,y:u-o,width:2*o,height:2*o}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var Gt=n(17787),Ut=n(40259),Xt=function(){function t(t,e,n,i){this._stageTaskMap=(0,o.kW)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,o.kW)();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,o.S6)(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),a="";(0,o.hu)(!(i.reset&&i.overallReset),a),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,o.S6)(t,(function(t,o){if(!i.visualType||i.visualType===t.visualType){var l=a._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,f=h.agentStubMap;f.each((function(t){s(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),a.updatePayload(h,n);var p=a.getPerformArgs(h,i.block);f.each((function(t){t.perform(p)})),h.perform(p)&&(r=!0)}else u&&u.each((function(o,l){s(i,o)&&o.dirty();var u=a.getPerformArgs(o,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,s=e.seriesTaskMap=(0,o.kW)(),l=t.seriesType,u=t.getTargetSeries;function h(e){var o=e.uid,l=s.set(o,a&&a.get(o)||(0,Gt.v)({plan:Jt,reset:Qt,count:ee}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(h):l?n.eachRawSeriesByType(l,h):u&&u(n,i).each(h)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||(0,Gt.v)({reset:Yt});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var s=a.agentStubMap,l=a.agentStubMap=(0,o.kW)(),u=t.seriesType,h=t.getTargetSeries,c=!0,f=!1,p="";function d(t){var e=t.uid,n=l.set(e,s&&s.get(e)||(f=!0,(0,Gt.v)({reset:qt,onDirty:jt})));n.context={model:t,overallProgress:c},n.agent=a,n.__block=c,r._pipe(t,n)}(0,o.hu)(!t.createOnAllSeries,p),u?n.eachRawSeriesByType(u,d):h?h(n,i).each(d):(c=!1,(0,o.S6)(n.getSeries(),d)),f&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,o.mf)(t)&&(t={overallReset:t,seriesType:ne(t)}),t.uid=(0,Ut.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function Yt(t){t.overallReset(t.ecModel,t.api,t.payload)}function qt(t){return t.overallProgress&&Kt}function Kt(){this.agent.dirty(),this.getDownstream().dirty()}function jt(){this.agent&&this.agent.dirty()}function Jt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Qt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,u.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,o.UI)(e,(function(t,e){return te(e)})):$t}var $t=te(0);function te(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function ee(t){return t.data.count()}function ne(t){ie=null;try{t(re,oe)}catch(e){}return ie}var ie,re={},oe={};function ae(t,e){for(var n in e.prototype)t[n]=o.ZT}ae(re,P),ae(oe,O),re.eachSeriesByType=re.eachRawSeriesByType=function(t){ie=t},re.eachComponent=function(t){"series"===t.mainType&&t.subType&&(ie=t.subType)};var se=Xt,le=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],ue={color:le,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],le]},he="#B9B8CE",ce="#100C2A",fe=function(){return{axisLine:{lineStyle:{color:he}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},pe=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],de={darkMode:!0,color:pe,backgroundColor:ce,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:he}},textStyle:{color:he},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:he}},dataZoom:{borderColor:"#71708A",textStyle:{color:he},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:he}},timeline:{lineStyle:{color:he},label:{color:he},controlStyle:{color:he,borderColor:he}},calendar:{itemStyle:{color:ce},dayLabel:{color:he},monthLabel:{color:he},yearLabel:{color:he}},timeAxis:fe(),logAxis:fe(),valueAxis:fe(),categoryAxis:fe(),line:{symbol:"circle"},graph:{color:pe},gauge:{title:{color:he},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:he},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};de.categoryAxis.splitLine.show=!1;var ge=de,ve=n(6990),ye=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(o.HD(t)){var r=(0,ve.u9)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};o.S6(t,(function(t,r){for(var o=!1,l=0;l<a.length;l++){var u=a[l],h=r.lastIndexOf(u);if(h>0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),me=["symbol","symbolSize","symbolRotate","symbolOffset"],_e=me.concat(["symbolKeepAspect"]),xe={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},a=!1,s=0;s<me.length;s++){var l=me[s],u=t.get(l);(0,o.mf)(u)?(a=!0,r[l]=u):i[l]=u}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,o.l7)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var h=(0,o.XP)(r);return{dataEach:a?c:null}}}function c(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<h.length;a++){var s=h[a];e.setItemVisual(n,s,r[s](i,o))}}}},we={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t)){var n=t.getData();return{dataEach:n.hasItemOption?i:null}}function i(t,e){for(var n=t.getItemModel(e),i=0;i<_e.length;i++){var r=_e[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}}};function Se(t,e,n){switch(n){case"color":var i=t.getItemVisual(e,"style");return i[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n);default:0}}function be(t,e){switch(e){case"color":var n=t.getVisual("style");return n[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:0}}var Te=n(3313),Me=n(43704),De=n(19874),ke=n(62645),Ie=n(78834),Ce=n(4258);function Pe(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");if(n){var r=i.ensureUniqueItemVisual(t,"style");r.decal=(0,Ce.I)(n,e)}}));var r=i.getVisual("decal");if(r){var o=i.getVisual("style");o.decal=(0,Ce.I)(r,e)}}}))}var Ae=new l.Z,Le=Ae,Oe=n(9886),Re=n(25587),Ze=1,ze=800,Be=900,Ne=1e3,Ee=2e3,Fe=5e3,He=1e3,We=1100,Ve=2e3,Ge=3e3,Ue=4e3,Xe=4500,Ye=4600,qe=5e3,Ke=6e3,je=7e3,Je={PROCESSOR:{FILTER:Ne,SERIES_FILTER:ze,STATISTIC:Fe},VISUAL:{LAYOUT:He,PROGRESSIVE_LAYOUT:We,GLOBAL:Ve,CHART:Ge,POST_CHART_LAYOUT:Ye,COMPONENT:Ue,BRUSH:qe,CHART_ITEM:Xe,ARIA:Ke,DECAL:je}},Qe="__flagInMainProcess",$e="__pendingUpdate",tn="__needsUpdateStatus",en=/^[a-zA-Z0-9_]+$/,nn="__connectUpdateStatus",rn=0,on=1,an=2;function sn(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return un(this,t,e);On(this.id)}}function ln(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return un(this,t,e)}}function un(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),l.Z.prototype[e].apply(t,n)}var hn,cn,fn,pn,dn,gn,vn,yn,mn,_n,xn,wn,Sn,bn,Tn,Mn,Dn,kn,In=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(l.Z),Cn=In.prototype;Cn.on=ln("on"),Cn.off=ln("off");var Pn=function(t){function e(e,n,i){var a=t.call(this,new ye)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},(0,o.HD)(n)&&(n=En[n]),a._dom=e;var l="canvas",u="auto",h=!1;i.ssr&&r.Qq((function(t){var e=(0,Tt.A)(t),n=e.dataIndex;if(null!=n){var i=(0,o.kW)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}}));var c=a._zr=r.S1(e,{renderer:i.renderer||l,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,o.pD)(i.useDirtyRect,h),useCoarsePointer:(0,o.pD)(i.useCoarsePointer,u),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=(0,Dt.P2)((0,o.ak)(c.flush,c),17),n=(0,o.d9)(n),n&&pt(n,!0),a._theme=n,a._locale=(0,ke.D0)(i.locale||ke.sO),a._coordSysMgr=new z;var f=a._api=Tn(a);function p(t,e){return t.__prio-e.__prio}return(0,s.Z)(Nn,p),(0,s.Z)(zn,p),a._scheduler=new se(a,f,zn,Nn),a._messageCenter=new In,a._initEvents(),a.resize=(0,o.ak)(a.resize,a),c.animation.on("frame",a._onframe,a),_n(c,a),xn(c,a),(0,o.s7)(a),a}return(0,i.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){kn(this);var t=this._scheduler;if(this[$e]){var e=this[$e].silent;this[Qe]=!0;try{hn(this),pn.update.call(this,null,this[$e].updateParams)}catch(a){throw this[Qe]=!1,this[$e]=null,a}this._zr.flush(),this[Qe]=!1,this[$e]=null,yn.call(this,e),mn.call(this,e)}else if(t.unfinished){var n=Ze,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),gn(this,i),t.performVisualTasks(i),bn(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Qe])if(this._disposed)On(this.id);else{var i,r,a;if((0,o.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this[Qe]=!0,!this._model||e){var s=new V(this._api),l=this._theme,u=this._model=new P;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,s)}this._model.setOption(t,{replaceMerge:r},Bn);var h={seriesTransition:a,optionChanged:!0};if(n)this[$e]={silent:i,updateParams:h},this[Qe]=!1,this.getZr().wakeUp();else{try{hn(this),pn.update.call(this,null,h)}catch(c){throw this[$e]=null,this[Qe]=!1,c}this._ssr||this._zr.flush(),this[$e]=null,this[Qe]=!1,yn.call(this,i),mn.call(this,i)}}},e.prototype.setTheme=function(){(0,Te.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,o.S6)(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;(0,o.S6)(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,o.S6)(i,(function(t){t.group.ignore=!1})),a}On(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,a=Math.max,s=1/0;if(Wn[n]){var l=s,u=s,h=-s,c=-s,f=[],p=t&&t.pixelRatio||this.getDevicePixelRatio();(0,o.S6)(Hn,(function(r,s){if(r.group===n){var p=e?r.getZr().painter.getSvgDom().innerHTML:r.renderToCanvas((0,o.d9)(t)),d=r.getDom().getBoundingClientRect();l=i(d.left,l),u=i(d.top,u),h=a(d.right,h),c=a(d.bottom,c),f.push({dom:p,left:d.left,top:d.top})}})),l*=p,u*=p,h*=p,c*=p;var d=h-l,g=c-u,v=Oe.qW.createCanvas(),y=r.S1(v,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:g}),e){var m="";return(0,o.S6)(f,(function(t){var e=t.left-l,n=t.top-u;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new xt.Z({shape:{x:0,y:0,width:d,height:g},style:{fill:t.connectedBackgroundColor}})),(0,o.S6)(f,(function(t){var e=new wt.ZP({style:{x:t.left*p-l,y:t.top*p-u,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}On(this.id)},e.prototype.convertToPixel=function(t,e){return dn(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return dn(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=u.pm(i,t);return(0,o.S6)(r,(function(t,i){i.indexOf("Models")>=0&&(0,o.S6)(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}On(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=u.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel;var o=r.getData(),a=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return null!=a?Se(o,a,e):be(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,o.S6)(Ln,(function(e){var n=function(n){var i,r=t.getModel(),a=n.target,s="globalout"===e;if(s?i={}:a&&(0,Ie.o)(a,(function(t){var e=(0,Tt.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,a)||{},!0}if(e.eventData)return i=(0,o.l7)({},e.eventData),!0}),!0),i){var l=i.componentType,u=i.componentIndex;"markLine"!==l&&"markPoint"!==l&&"markArea"!==l||(l="series",u=i.seriesIndex);var h=l&&null!=u&&r.getComponent(l,u),c=h&&t["series"===h.mainType?"_chartsMap":"_componentsMap"][h.__viewId];0,i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:a,packedEvent:i,model:h,view:c},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),(0,o.S6)(Zn,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),(0,o.S6)(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),(0,Me.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?On(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)On(this.id);else{this._disposed=!0;var t=this.getDom();t&&u.P$(this.getDom(),Gn,"");var e=this,n=e._api,i=e._model;(0,o.S6)(e._componentsViews,(function(t){t.dispose(i,n)})),(0,o.S6)(e._chartsViews,(function(t){t.dispose(i,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete Hn[e.id]}},e.prototype.resize=function(t){if(!this[Qe])if(this._disposed)On(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[$e]&&(null==i&&(i=this[$e].silent),n=!0,this[$e]=null),this[Qe]=!0;try{n&&hn(this),pn.update.call(this,{type:"resize",animation:(0,o.l7)({duration:0},t&&t.animation)})}catch(r){throw this[Qe]=!1,r}this[Qe]=!1,yn.call(this,i),mn.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)On(this.id);else if((0,o.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),Fn[t]){var n=Fn[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?On(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,o.l7)({},t);return e.type=Zn[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)On(this.id);else if((0,o.Kn)(e)||(e={silent:!!e}),Rn[t.type]&&this._model)if(this[Qe])this._pendingActions.push(t);else{var n=e.silent;vn.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a.Z.browser.weChat&&this._throttledZrFlush(),yn.call(this,n),mn.call(this,n)}},e.prototype.updateLabelLayout=function(){Le.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)On(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);0,i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,a,l=e.concat(n);(0,s.Z)(l,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),(0,o.S6)(l,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,o=e.key;null!=r&&(i=Math.max(r,i)),o?(i===r&&o!==a&&i++,a=o):a&&(i===r&&i++,a=""),r=i,n.setZLevel(i)}))}}function n(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===Mt.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===Mt.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function r(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!a.Z.node&&!a.Z.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function l(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function h(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return c(t,n,i,-1/0),!0}))}}function c(t,e,n,i){var r=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),l=0;l<s.length;l++)i=Math.max(c(s[l],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(r&&(r.z=e,r.zlevel=n,isFinite(i)&&(r.z2=i+2)),o){var u=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(i)&&(o.z2=i+(u&&u.showAbove?1:-1))}return i}function f(t,e){e.eachRendered((function(t){if(!St.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function p(t,e){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(St.eq(t))return;if(t instanceof bt.ZP&&(0,Mt.e9)(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}hn=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),cn(t,!0),cn(t,!1),e.plan()},cn=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,ve.u9)(t.type),f=e?mt.Z.getClass(c.main,c.sub):_t.Z.getClass(c.sub);0,h=new f,h.init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(h,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&u(e)})):n.eachSeries(u);for(l=0;l<r.length;){var h=r[l];h.__alive?l++:(!e&&h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},fn=function(t,e,n,i,r){var a=t._model;if(a.setUpdatePayload(n),i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var h,c=n.excludeSeriesId;null!=c&&(h=(0,o.kW)(),(0,o.S6)(u.kF(c),(function(t){var e=u.U5(t,null);null!=e&&h.set(e,!0)}))),a&&a.eachComponent(l,(function(e){var i=h&&null!=h.get(e.id);if(!i)if((0,Mt.xp)(n))if(e instanceof yt.Z)n.type!==Mt.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,Mt.UL)(e,n,t._api);else{var r=(0,Mt.oJ)(e.mainType,e.componentIndex,n.name,t._api),a=r.focusSelf,s=r.dispatchers;n.type===Mt.Ki&&a&&!n.notBlur&&(0,Mt.zI)(e.mainType,e.componentIndex,t._api),s&&(0,o.S6)(s,(function(t){n.type===Mt.Ki?(0,Mt.fD)(t):(0,Mt.Mh)(t)}))}else(0,Mt.aG)(n)&&e instanceof yt.Z&&((0,Mt.og)(e,n,t._api),(0,Mt.ci)(e),Dn(t))}),t),a&&a.eachComponent(l,(function(e){var n=h&&null!=h.get(e.id);n||f(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else(0,o.S6)([].concat(t._componentsViews).concat(t._chartsViews),f);function f(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}},pn={prepareAndUpdate:function(t){hn(this),pn.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),gn(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),wn(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),Le.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var a=[];i.eachComponent((function(t,o){if("series"!==t){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,i,r,e);l&&l.update&&a.push(s)}else a.push(s)}}));var s=(0,o.kW)();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var a=o.updateTransform(t,i,r,e);a&&a.update&&s.set(t.uid,1)}else s.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:s}),bn(this,i,r,e,{},s),Le.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),_t.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),wn(this,n,this._api,e,{}),Le.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),_t.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){var r=n._chartsMap[t.__viewId];r.updateVisual(t,i,n._api,e)})),Le.trigger("afterupdate",i,this._api))},updateLayout:function(t){pn.update.call(this,t)}},dn=function(t,e,n,i){if(t._disposed)On(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=u.pm(o,n),l=0;l<a.length;l++){var h=a[l];if(h[e]&&null!=(r=h[e](o,s,i)))return r}0}},gn=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},vn=function(t,e){var n=this,i=this.getModel(),r=t.type,a=t.escapeConnect,s=Rn[r],l=s.actionInfo,h=(l.update||"update").split(":"),c=h.pop(),f=null!=h[0]&&(0,ve.u9)(h[0]);this[Qe]=!0;var p=[t],d=!1;t.batch&&(d=!0,p=(0,o.UI)(t.batch,(function(e){return e=(0,o.ce)((0,o.l7)({},e),t),e.batch=null,e})));var g,v=[],y=(0,Mt.aG)(t),m=(0,Mt.xp)(t);if(m&&(0,Mt.T5)(this._api),(0,o.S6)(p,(function(e){if(g=s.action(e,n._model,n._api),g=g||(0,o.l7)({},e),g.type=l.event||g.type,v.push(g),m){var i=u.zH(t),r=i.queryOptionMap,a=i.mainTypeSpecified,h=a?r.keys()[0]:"series";fn(n,c,e,h),Dn(n)}else y?(fn(n,c,e,"series"),Dn(n)):f&&fn(n,c,e,f.main,f.sub)})),"none"!==c&&!m&&!y&&!f)try{this[$e]?(hn(this),pn.update.call(this,t),this[$e]=null):pn[c].call(this,t)}catch(w){throw this[Qe]=!1,w}if(g=d?{type:l.event||r,escapeConnect:a,batch:v}:v[0],this[Qe]=!1,!e){var _=this._messageCenter;if(_.trigger(g.type,g),y){var x={type:"selectchanged",escapeConnect:a,selected:(0,Mt.C5)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};_.trigger(x.type,x)}}},yn=function(t){var e=this._pendingActions;while(e.length){var n=e.shift();vn.call(this,n,t)}},mn=function(t){!t&&this.trigger("updated")},_n=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[$e]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},xn=function(t,e){t.on("mouseover",(function(t){var n=t.target,i=(0,Ie.o)(n,Mt.Av);i&&((0,Mt.$l)(i,t,e._api),Dn(e))})).on("mouseout",(function(t){var n=t.target,i=(0,Ie.o)(n,Mt.Av);i&&((0,Mt.xr)(i,t,e._api),Dn(e))})).on("click",(function(t){var n=t.target,i=(0,Ie.o)(n,(function(t){return null!=(0,Tt.A)(t).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",o=(0,Tt.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},wn=function(t,n,i,r,a){e(n),Sn(t,n,i,r,a),(0,o.S6)(t._chartsViews,(function(t){t.__alive=!1})),bn(t,n,i,r,a),(0,o.S6)(t._chartsViews,(function(t){t.__alive||t.remove(n,i)}))},Sn=function(t,e,n,i,r,a){(0,o.S6)(a||t._componentsViews,(function(t){var r=t.__model;f(r,t),t.render(r,e,n,i),h(r,t),p(r,t)}))},bn=function(t,e,n,i,a,s){var u=t._scheduler;a=(0,o.l7)(a||{},{updatedSeries:e.getSeries()}),Le.trigger("series:beforeupdate",e,n,a);var c=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;u.updatePayload(r,i),f(e,n),s&&s.get(e.uid)&&r.dirty(),r.perform(u.getPerformArgs(r))&&(c=!0),n.group.silent=!!e.get("silent"),l(e,n),(0,Mt.ci)(e)})),u.unfinished=c||u.unfinished,Le.trigger("series:layoutlabels",e,n,a),Le.trigger("series:transition",e,n,a),e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];h(e,n),p(e,n)})),r(t,e),Le.trigger("series:afterupdate",e,n,a)},Dn=function(t){t[tn]=!0,t.getZr().wakeUp()},kn=function(t){t[tn]&&(t.getZr().storage.traverse((function(t){St.eq(t)||n(t)})),t[tn]=!1)},Tn=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,i.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){while(e){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,Mt.fD)(e,n),Dn(t)},n.prototype.leaveEmphasis=function(e,n){(0,Mt.Mh)(e,n),Dn(t)},n.prototype.enterBlur=function(e){(0,Mt.SX)(e),Dn(t)},n.prototype.leaveBlur=function(e){(0,Mt.VP)(e),Dn(t)},n.prototype.enterSelect=function(e){(0,Mt.XX)(e),Dn(t)},n.prototype.leaveSelect=function(e){(0,Mt.SJ)(e),Dn(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(O))(t)},Mn=function(t){function e(t,e){for(var n=0;n<t.length;n++){var i=t[n];i[nn]=e}}(0,o.S6)(Zn,(function(n,i){t._messageCenter.on(i,(function(n){if(Wn[t.group]&&t[nn]!==rn){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];(0,o.S6)(Hn,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,rn),(0,o.S6)(r,(function(t){t[nn]!==on&&t.dispatchAction(i)})),e(r,an)}}))}))}}(),e}(l.Z),An=Pn.prototype;An.on=sn("on"),An.off=sn("off"),An.one=function(t,e,n){var i=this;function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];e&&e.apply&&e.apply(this,n),i.off(t,r)}(0,Te.Sh)("ECharts#one is deprecated."),this.on.call(this,t,r,n)};var Ln=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function On(t){0}var Rn={},Zn={},zn=[],Bn=[],Nn=[],En={},Fn={},Hn={},Wn={},Vn=+new Date-0,Gn=(new Date,"_echarts_instance_");function Un(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=Xn(t);if(r)return r;0}var o=new Pn(t,e,n);return o.id="ec_"+Vn++,Hn[o.id]=o,i&&u.P$(t,Gn,o.id),Mn(o),Le.trigger("afterinit",o),o}function Xn(t){return Hn[u.IL(t,Gn)]}function Yn(t,e){En[t]=e}function qn(t){(0,o.cq)(Bn,t)<0&&Bn.push(t)}function Kn(t,e){ri(zn,t,e,Ee)}function jn(t){Qn("afterinit",t)}function Jn(t){Qn("afterupdate",t)}function Qn(t,e){Le.on(t,e)}function $n(t,e,n){(0,o.mf)(e)&&(n=e,e="");var i=(0,o.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,Zn[e]||((0,o.hu)(en.test(i)&&en.test(e)),Rn[i]||(Rn[i]={action:n,actionInfo:t}),Zn[e]=i)}function ti(t,e){z.register(t,e)}function ei(t,e){ri(Nn,t,e,He,"layout")}function ni(t,e){ri(Nn,t,e,Ge,"visual")}var ii=[];function ri(t,e,n,i,r){if(((0,o.mf)(e)||(0,o.Kn)(e))&&(n=e,e=i),!((0,o.cq)(ii,n)>=0)){ii.push(n);var a=se.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function oi(t,e){Fn[t]=e}function ai(t,e,n){var i=(0,Re.C)("registerMap");i&&i(t,e,n)}var si=De.DA;ni(Ve,Zt),ni(Xe,Bt),ni(Xe,Nt),ni(Ve,xe),ni(Xe,we),ni(je,Pe),qn(pt),Kn(Be,gt),oi("default",Vt),$n({type:Mt.Ki,event:Mt.Ki,update:Mt.Ki},o.ZT),$n({type:Mt.yx,event:Mt.yx,update:Mt.yx},o.ZT),$n({type:Mt.Hg,event:Mt.Hg,update:Mt.Hg},o.ZT),$n({type:Mt.JQ,event:Mt.JQ,update:Mt.JQ},o.ZT),$n({type:Mt.iK,event:Mt.iK,update:Mt.iK},o.ZT),Yn("light",ue),Yn("dark",ge)},25587:function(t,e,n){n.d(e,{C:function(){return o},M:function(){return r}});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},62645:function(t,e,n){n.d(e,{sO:function(){return p},D0:function(){return g},Li:function(){return y},G8:function(){return v}});var i=n(85632),r=n(59979),o={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",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},a={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表，"},series:{single:{prefix:"",withName:"图表类型是{seriesType}，表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType}，",withoutName:"第{seriesId}个系列是一个{seriesType}，",separator:{middle:"；",end:"。"}}},data:{allData:"其数据是——",partialData:"其中，前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:"，",end:""}}}},s=n(95797),l="ZH",u="EN",h=u,c={},f={},p=r.Z.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||h).toUpperCase();return t.indexOf(l)>-1?l:h}():h;function d(t,e){t=t.toUpperCase(),f[t]=new i.Z(e),c[t]=e}function g(t){if((0,s.HD)(t)){var e=c[t.toUpperCase()]||{};return t===l||t===u?(0,s.d9)(e):(0,s.TS)((0,s.d9)(e),(0,s.d9)(c[h]),!1)}return(0,s.TS)((0,s.d9)(t),(0,s.d9)(c[h]),!1)}function v(t){return f[t]}function y(){return f[h]}d(u,o),d(l,a)},17787:function(t,e,n){n.d(e,{v:function(){return r}});var i=n(95797);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var o=this.context;o.data=o.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var a,s=c(this._modBy),l=this._modDataCount||0,u=c(t&&t.modBy),h=t&&t.modDataCount||0;function c(t){return!(t>=1)&&(t=1),t}s===u&&l===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(r)),this._modBy=u,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,d=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!r&&(a||p<d)){var g=this._progress;if((0,i.kJ)(g))for(var v=0;v<g.length;v++)this._doProgress(g[v],p,d,u,h);else this._doProgress(g,p,d,u,h)}this._dueIndex=d;var y=null!=this._settedOutputEnd?this._settedOutputEnd:d;0,this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,i=c,r=Math.ceil(i/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},18517:function(t,e,n){n.d(e,{hG:function(){return h}});var i,r=n(95797),o=n(63354),a=n(26214),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,f={float:c,int:h,ordinal:Array,number:Array,time:c};function p(t){return t>65535?l:u}function d(){return[1/0,-1/0]}function g(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function v(t,e,n,i,r){var o=f[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}var y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];(0,a.QY)(o);this._dimensions=(0,r.UI)(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new f[e||"float"](this._rawCount),this._rawExtent[r]=d(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=d());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];v(n,u,h.type,l,!0)}for(var c=[],f=s;f<l;f++)for(var p=f-s,d=0;d<o;d++){h=r[d];var g=i.arrayRows.call(this,t[p]||c,h.property,p,d);n[d][f]=g;var y=a[d];g<y[0]&&(y[0]=g),g>y[1]&&(y[1]=g)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.UI)(a,(function(t){return t.property})),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=d()),v(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,l);else for(var f=[],p=t;p<e;p++){f=i.getItem(p,f);for(var g=0;g<s;g++){var y=o[g],m=this._dimValueGetter(f,u[g],p,g);y[p]=m;var _=l[g];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),i=this.count();return 0===i?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;var i=0,r=this._count-1;while(i<=r){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,h=this.count();u<h;u++){var c=this.getRawIndex(u),f=e-r[c],p=Math.abs(f);p<=n&&((p<a||p===a&&f>=0&&s<0)&&(a=p,s=f,l=0),f===s&&(o[l++]=u))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{n=p(this._rawCount);t=new n(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=p(n._rawCount),o=new r(i),a=[],s=t.length,l=0,u=t[0],h=n._chunks,c=0;c<i;c++){var f=void 0,d=n.getRawIndex(c);if(0===s)f=e(c);else if(1===s){var g=h[u][d];f=e(g,c)}else{for(var v=0;v<s;v++)a[v]=h[t[v]][d];a[v]=c,f=e.apply(null,a)}f&&(o[l++]=d)}return l<i&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.XP)(t),o=i.length;if(!o)return this;var a=e.count(),s=p(e._rawCount),l=new s(a),u=0,h=i[0],c=t[h][0],f=t[h][1],d=e._chunks,g=!1;if(!e._indices){var v=0;if(1===o){for(var y=d[i[0]],m=0;m<n;m++){var _=y[m];(_>=c&&_<=f||isNaN(_))&&(l[u++]=v),v++}g=!0}else if(2===o){y=d[i[0]];var x=d[i[1]],w=t[i[1]][0],S=t[i[1]][1];for(m=0;m<n;m++){_=y[m];var b=x[m];(_>=c&&_<=f||isNaN(_))&&(b>=w&&b<=S||isNaN(b))&&(l[u++]=v),v++}g=!0}}if(!g)if(1===o)for(m=0;m<a;m++){var T=e.getRawIndex(m);_=d[i[0]][T];(_>=c&&_<=f||isNaN(_))&&(l[u++]=T)}else for(m=0;m<a;m++){for(var M=!0,D=(T=e.getRawIndex(m),0);D<o;D++){var k=i[D];_=d[k][T];(_<t[k][0]||_>t[k][1])&&(M=!1)}M&&(l[u++]=e.getRawIndex(m))}return u<a&&(e._indices=l),e._count=u,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=d();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),f=0;f<o;f++)s[f]=i[e[f]][c];s[o]=h;var p=n&&n.apply(null,s);if(null!=p){"object"!==typeof p&&(r[0]=p,p=r);for(u=0;u<p.length;u++){var g=e[u],v=p[u],y=l[g],m=i[g];m&&(m[c]=v),v<y[0]&&(y[0]=v),v>y[1]&&(y[1]=v)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),u=0,h=Math.floor(1/e),c=this.getRawIndex(0),f=new(p(this._rawCount))(Math.min(2*(Math.ceil(l/h)+2),l));f[u++]=c;for(var d=1;d<l-1;d+=h){for(var g=Math.min(d+h,l-1),v=Math.min(d+2*h,l),y=(v+g)/2,m=0,_=g;_<v;_++){var x=this.getRawIndex(_),w=s[x];isNaN(w)||(m+=w)}m/=v-g;var S=d,b=Math.min(d+h,l),T=d-1,M=s[c];n=-1,r=S;var D=-1,k=0;for(_=S;_<b;_++){x=this.getRawIndex(_),w=s[x];isNaN(w)?(k++,D<0&&(D=x)):(i=Math.abs((T-y)*(w-M)-(T-_)*(m-M)),i>n&&(n=i,r=x))}k>0&&k<b-S&&(f[u++]=Math.min(D,r),r=Math.max(D,r)),f[u++]=r,c=r}return f[u++]=this.getRawIndex(l-1),o._count=u,o._indices=f,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]=d(),c=new(p(this._rawCount))(Math.ceil(u/s)),f=0,g=0;g<u;g+=s){s>u-g&&(s=u-g,a.length=s);for(var v=0;v<s;v++){var y=this.getRawIndex(g+v);a[v]=l[y]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[f++]=_}return r._count=f,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=d();if(!e)return n;var i,r=this.count(),o=!this._indices;if(o)return this._rawExtent[t].slice();if(i=this._extent[t],i)return i.slice();i=n;for(var a=i[0],s=i[1],l=0;l<r;l++){var u=this.getRawIndex(l),h=e[u];h<a&&(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,o=this._chunks,a=e&&(0,r.u4)(e,(function(t,e){return t[e]=!0,t}),{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?g(o[s]):o[s];else i._chunks=o;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=(0,r.d9)(this._extent),t._rawExtent=(0,r.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}();e["ZP"]=y},26214:function(t,e,n){n.d(e,{Kp:function(){return f},Ld:function(){return l},ML:function(){return c},QY:function(){return y},_P:function(){return u},nx:function(){return h}});var i=n(95797),r=n(86594),o=n(38496),a=n(45452),s=function(){function t(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}}return t}();function l(t){return t instanceof s}function u(t,e,n){n=n||f(t);var r=e.seriesLayoutBy,o=p(t,n,r,e.sourceHeader,e.dimensions),a=new s({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:o.dimensionsDefine,startIndex:o.startIndex,dimensionsDetectedCount:o.dimensionsDetectedCount,metaRawOption:(0,i.d9)(e)});return a}function h(t){return new s({data:t,sourceFormat:(0,i.fU)(t)?r.J5:r.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function f(t){var e=r.RA;if((0,i.fU)(t))e=r.J5;else if((0,i.kJ)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.kJ)(a)||(0,i.fU)(a)){e=r.XD;break}if((0,i.Kn)(a)){e=r.qb;break}}}}else if((0,i.Kn)(t))for(var s in t)if((0,i.RI)(t,s)&&(0,i.zG)(t[s])){e=r.hL;break}return e}function p(t,e,n,a,s){var l,u;if(!t)return{dimensionsDefine:g(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.XD){var h=t;"auto"===a||null==a?v((function(t){null!=t&&"-"!==t&&((0,i.HD)(t)?null==u&&(u=1):u=0)}),n,h,10):u=(0,i.hj)(a)?a:a?1:0,s||1!==u||(s=[],v((function(t,e){s[e]=null!=t?t+"":""}),n,h,1/0)),l=s?s.length:n===r.Wc?h.length:h[0]?h[0].length:null}else if(e===r.qb)s||(s=d(t));else if(e===r.hL)s||(s=[],(0,i.S6)(t,(function(t,e){s.push(e)})));else if(e===r.cy){var c=(0,o.C4)(t[0]);l=(0,i.kJ)(c)&&c.length||1}else r.J5;return{startIndex:u,dimensionsDefine:g(s),dimensionsDetectedCount:l}}function d(t){var e,n=0;while(n<t.length&&!(e=t[n++]));if(e)return(0,i.XP)(e)}function g(t){if(t){var e=(0,i.kW)();return(0,i.UI)(t,(function(t,n){t=(0,i.Kn)(t)?t:{name:t};var r={name:t.name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r}))}}function v(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<i;o++)t(a[o],o)}}function y(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},29221:function(t,e,n){n.d(e,{Pl:function(){return f},_j:function(){return g},a:function(){return m},hk:function(){return b},tB:function(){return w}});var i,r,o,a,s,l=n(95797),u=n(38496),h=n(26214),c=n(86594),f=function(){function t(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,f=o.dimensionsDefine,p=a[S(s,u)];if((0,l.l7)(t,p),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=g(s,u);t.getItem=(0,l.ak)(d,null,r,h,f);var v=m(s,u);t.count=(0,l.ak)(v,null,r,h,f)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],f=0;f<h;f++){var p=r[f*o+a];c[t+f]=p,p<l&&(l=p),p>u&&(u=p)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}t={},t[c.XD+"_"+c.fY]={pure:!0,appendData:r},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:r},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,l.S6)(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[c.cy]={appendData:r},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),t}(),p=function(t,e,n,i){return t[i]},d=(i={},i[c.XD+"_"+c.fY]=function(t,e,n,i){return t[i+e]},i[c.XD+"_"+c.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var l=a[s];o[s]=l?l[i]:null}return o},i[c.qb]=p,i[c.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=n[a].name;0;var l=t[s];o[a]=l?l[i]:null}return o},i[c.cy]=p,i);function g(t,e){var n=d[S(t,e)];return n}var v=function(t,e,n){return t.length},y=(r={},r[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[c.XD+"_"+c.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[c.qb]=v,r[c.hL]=function(t,e,n){var i=n[0].name;var r=t[i];return r?r.length:0},r[c.cy]=v,r);function m(t,e){var n=y[S(t,e)];return n}var _=function(t,e,n){return t[e]},x=(o={},o[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var i=(0,u.C4)(t);return i instanceof Array?i[e]:i},o[c.J5]=_,o);function w(t){var e=x[t];return e}function S(t,e){return t===c.XD?t+"_"+e:t}function b(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 w(o)(i,a,s)}var l=i;return o===c.cy&&(l=(0,u.C4)(i)),l}}}},63354:function(t,e,n){n.d(e,{ID:function(){return l},yQ:function(){return a}});var i=n(41201),r=n(95797),o=n(3313);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.hj)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:Number(t))}(0,r.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.HD)(t)?(0,r.fy)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},l=(function(){function t(t,e){if(!(0,r.hj)(e)){var n="";0,(0,o._y)(n)}this._opFn=s[t],this._rvalFloat=(0,i.FK)(e)}t.prototype.evaluate=function(t){return(0,r.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)}}(),function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.hj)(t)?t:(0,i.FK)(t),o=(0,r.hj)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.HD)(t),u=(0,r.HD)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}());(function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(e)}t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}})()},45452:function(t,e,n){n.d(e,{Dq:function(){return a},JT:function(){return c},Ss:function(){return u},Wd:function(){return h},md:function(){return l},u7:function(){return f}});var i=n(38496),r=n(95797),o=n(86594),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function l(t){s(t).datasetMap=(0,r.kW)()}function u(t,e,n){var i={},s=h(t);if(!s)return i;var l,u=e.sourceFormat,c=e.dimensionsDefine;u!==o.qb&&u!==o.hL||(0,r.S6)(c,(function(t,e){"name"===((0,r.Kn)(t)?t.name:t)&&(l=e)}));var f=function(){for(var t={},i={},r=[],o=0,s=Math.min(5,n);o<s;o++){var h=p(e.data,u,e.seriesLayoutBy,c,e.startIndex,o);r.push(h);var f=h===a.Not;if(f&&null==t.v&&o!==l&&(t.v=o),(null==t.n||t.n===t.v||!f&&r[t.n]===a.Not)&&(t.n=o),d(t)&&r[t.n]!==a.Not)return t;f||(h===a.Might&&null==i.v&&o!==l&&(i.v=o),null!=i.n&&i.n!==i.v||(i.n=o))}function d(t){return null!=t.v&&null!=t.n}return d(t)?t:d(i)?i:null}();if(f){i.value=[f.v];var d=null!=l?l:f.n;i.itemName=[d],i.seriesName=[d]}return i}function h(t){var e=t.get("data",!0);if(!e)return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function c(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function f(t,e){return p(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function p(t,e,n,s,l,u){var h,c,f,p=5;if((0,r.fU)(t))return a.Not;if(s){var d=s[u];(0,r.Kn)(d)?(c=d.name,f=d.type):(0,r.HD)(d)&&(c=d)}if(null!=f)return"ordinal"===f?a.Must:a.Not;if(e===o.XD){var g=t;if(n===o.Wc){for(var v=g[u],y=0;y<(v||[]).length&&y<p;y++)if(null!=(h=T(v[l+y])))return h}else for(y=0;y<g.length&&y<p;y++){var m=g[l+y];if(m&&null!=(h=T(m[u])))return h}}else if(e===o.qb){var _=t;if(!c)return a.Not;for(y=0;y<_.length&&y<p;y++){var x=_[y];if(x&&null!=(h=T(x[c])))return h}}else if(e===o.hL){var w=t;if(!c)return a.Not;v=w[c];if(!v||(0,r.fU)(v))return a.Not;for(y=0;y<v.length&&y<p;y++)if(null!=(h=T(v[y])))return h}else if(e===o.cy){var S=t;for(y=0;y<S.length&&y<p;y++){x=S[y];var b=(0,i.C4)(x);if(!(0,r.kJ)(b))return a.Not;if(null!=(h=T(b[u])))return h}}function T(t){var e=(0,r.HD)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},19874:function(t,e,n){n.d(e,{DA:function(){return y},vK:function(){return m}});var i=n(86594),r=n(38496),o=n(95797),a=n(29221),s=n(63354),l=n(3313),u=n(26214),h=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function c(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex,c="";t.seriesLayoutBy!==i.fY&&(0,l._y)(c);var v=[],y={},m=t.dimensionsDefine;if(m)(0,o.S6)(m,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(v.push(i),null!=n){var r="";(0,o.RI)(y,n)&&(0,l._y)(r),y[n]=i}}));else for(var _=0;_<t.dimensionsDetectedCount;_++)v.push({index:_});var x=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return x(r,u,v,t)},n.getRawData=(0,o.ak)(f,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var w=(0,a.a)(s,i.fY);n.count=(0,o.ak)(w,null,r,u,v);var S=(0,a.tB)(s);n.retrieveValue=function(t,e){var n=x(r,u,v,t);return b(n,e)};var b=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=v[e];return n?S(t,e,n.name):void 0}};return n.getDimensionInfo=(0,o.ak)(d,null,v,y),n.cloneAllDimensionInfo=(0,o.ak)(g,null,v),n}function f(t){var e=t.sourceFormat;if(!x(e)){var n="";0,(0,l._y)(n)}return t.data}function p(t){var e=t.sourceFormat,n=t.data;if(!x(e)){var r="";0,(0,l._y)(r)}if(e===i.XD){for(var a=[],s=0,u=n.length;s<u;s++)a.push(n[s].slice());return a}if(e===i.qb){for(a=[],s=0,u=n.length;s<u;s++)a.push((0,o.l7)({},n[s]));return a}}function d(t,e,n){if(null!=n)return(0,o.hj)(n)||!isNaN(n)&&!(0,o.RI)(e,n)?t[n]:(0,o.RI)(e,n)?e[n]:void 0}function g(t){return(0,o.d9)(t)}var v=(0,o.kW)();function y(t){t=(0,o.d9)(t);var e=t.type,n="";e||(0,l._y)(n);var i=e.split(":");2!==i.length&&(0,l._y)(n);var r=!1;"echarts"===i[0]&&(e=i[1],r=!0),t.__isBuiltIn=r,v.set(e,t)}function m(t,e,n){var i=(0,r.kF)(t),o=i.length,a="";o||(0,l._y)(a);for(var s=0,u=o;s<u;s++){var h=i[s];e=_(h,e,n,1===o?null:s),s!==u-1&&(e.length=Math.max(e.length,1))}return e}function _(t,e,n,a){var s="";e.length||(0,l._y)(s),(0,o.Kn)(t)||(0,l._y)(s);var h=t.type,f=v.get(h);f||(0,l._y)(s);var p=(0,o.UI)(e,(function(t){return c(t,f)})),d=(0,r.kF)(f.transform({upstream:p[0],upstreamList:p,config:(0,o.d9)(t.config)}));return(0,o.UI)(d,(function(t,n){var r="";(0,o.Kn)(t)||(0,l._y)(r),t.data||(0,l._y)(r);var a,s=(0,u.Kp)(t.data);x(s)||(0,l._y)(r);var h=e[0];if(h&&0===n&&!t.dimensions){var c=h.startIndex;c&&(t.data=h.data.slice(0,c).concat(t.data)),a={seriesLayoutBy:i.fY,sourceHeader:c,dimensions:h.metaRawOption.dimensions}}else a={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(t.data,a,null)}))}function x(t){return t===i.XD||t===i.qb}},35183:function(t,e,n){n.d(e,{D:function(){return p}});var i=n(26612),r=n(59160),o=n(16804),a=n(13350),s=n(84895),l=n(95797),u=n(25587),h=n(24503),c=[],f={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:u.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.wm)(t,e)}};function p(t){(0,l.kJ)(t)?(0,l.S6)(t,(function(t){p(t)})):(0,l.cq)(c,t)>=0||(c.push(t),(0,l.mf)(t)&&(t={install:t}),t.install(f))}},84602:function(t,e,n){n.d(e,{T:function(){return M}});var i=n(38496),r=n(96805),o=n(51058),a=n(75195),s=n(41201),l=n(87184),u=n(87293),h=n(95797),c=n(96695),f=n(19552),p=n(79214);function d(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function g(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:d(i&&i.shape.points)}}var v=["align","verticalAlign","width","height","fontSize"],y=new l.ZP,m=(0,i.Yf)(),_=(0,i.Yf)();function x(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var w=["x","y","rotation"],S=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,o){var a=i.style,s=i.__hostTarget,l=s.textConfig||{},u=i.getComputedTransform(),h=i.getBoundingRect().plain();r.Z.applyTransform(h,h,u),u?y.setLocalTransform(u):(y.x=y.y=y.rotation=y.originX=y.originY=0,y.scaleX=y.scaleY=1),y.rotation=(0,p.m)(y.rotation);var c,f=i.__hostTarget;if(f){c=f.getBoundingRect().plain();var d=f.getComputedTransform();r.Z.applyTransform(c,c,d)}var g=c&&f.getTextGuideLine();this._labelList.push({label:i,labelLine:g,seriesModel:n,dataIndex:t,dataType:e,layoutOption:o,computedLayoutOption:null,rect:h,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:g&&g.ignore,x:y.x,y:y.y,scaleX:y.scaleX,scaleY:y.scaleY,rotation:y.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:i.cursor,attachedPos:l.position,attachedRot:l.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");((0,h.mf)(i)||(0,h.XP)(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=(0,a.A)(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){(0,u.d)(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,l=a.__hostTarget,c=o.defaultAttr,f=void 0;f=(0,h.mf)(o.layoutOption)?o.layoutOption(g(o,l)):o.layoutOption,f=f||{},o.computedLayoutOption=f;var p=Math.PI/180;l&&l.setTextConfig({local:!1,position:null!=f.x||null!=f.y?null:c.attachedPos,rotation:null!=f.rotate?f.rotate*p:c.attachedRot,offset:[f.dx||0,f.dy||0]});var d=!1;if(null!=f.x?(a.x=(0,s.GM)(f.x,e),a.setStyle("x",0),d=!0):(a.x=c.x,a.setStyle("x",c.style.x)),null!=f.y?(a.y=(0,s.GM)(f.y,n),a.setStyle("y",0),d=!0):(a.y=c.y,a.setStyle("y",c.style.y)),f.labelLinePoints){var y=l.getTextGuideLine();y&&(y.setShape({points:f.labelLinePoints}),d=!1)}var _=m(a);_.needsUpdateLabelLine=d,a.rotation=null!=f.rotate?f.rotate*p:c.rotation,a.scaleX=c.scaleX,a.scaleY=c.scaleY;for(var x=0;x<v.length;x++){var w=v[x];a.setStyle(w,null!=f[w]?f[w]:c.style[w])}if(f.draggable){if(a.draggable=!0,a.cursor="move",l){var S=o.seriesModel;if(null!=o.dataIndex){var b=o.seriesModel.getData(o.dataType);S=b.getItemModel(o.dataIndex)}a.on("drag",i(l,S.getModel("labelLine")))}}else a.off("drag"),a.cursor=c.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=(0,c.VT)(this._labelList),r=(0,h.hX)(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=(0,h.hX)(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));(0,c.WE)(r,0,e),(0,c.GI)(o,0,n);var a=(0,h.hX)(i,(function(t){return t.layoutOption.hideOverlap}));(0,c.yl)(a)},t.prototype.processLabelsOverall=function(){var t=this;(0,h.S6)(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=m(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=(0,a.A)(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),s=o.getItemModel(r),l={},h=o.getItemVisual(r,"style");if(h){var c=o.getVisual("drawType");l.stroke=h[c]}var f=s.getModel("labelLine");(0,u.Iu)(t,(0,u.$x)(s),l),(0,u.d)(t,f)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!(0,o.eq)(t))){var r=m(n),s=r.oldLayout,l=(0,a.A)(t),u=l.dataIndex,c={x:n.x,y:n.y,rotation:n.rotation},p=e.getData(l.dataType);if(s){n.attr(s);var d=t.prevStates;d&&((0,h.cq)(d,"select")>=0&&n.attr(r.oldLayoutSelect),(0,h.cq)(d,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),(0,o.D)(n,c,e,u)}else if(n.attr(c),!(0,f.qA)(n).valueAnimation){var g=(0,h.pD)(n.style.opacity,1);n.style.opacity=0,(0,o.KZ)(n,{style:{opacity:g}},e,u)}if(r.oldLayout=c,n.states.select){var v=r.oldLayoutSelect={};x(v,c,w),x(v,n.states.select,w)}if(n.states.emphasis){var y=r.oldLayoutEmphasis={};x(y,c,w),x(y,n.states.emphasis,w)}(0,f.tD)(n,u,p,e,e)}if(i&&!i.ignore&&!i.invisible){r=_(i),s=r.oldLayout;var S={points:i.shape.points};s?(i.attr({shape:s}),(0,o.D)(i,{shape:S},e)):(i.setShape(S),i.style.strokePercent=0,(0,o.KZ)(i,{style:{strokePercent:1}},e)),r.oldLayout=S}},t}(),b=S,T=(0,i.Yf)();function M(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=T(e).labelManager;i||(i=T(e).labelManager=new b),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=T(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}},87293:function(t,e,n){n.d(e,{$x:function(){return z},Iu:function(){return Z},_A:function(){return L},d:function(){return I},qK:function(){return A}});var i=n(11123),r=n(47397),o=n(12484),a=n(355),s=n(79214),l=n(3816),u=n(95797),h=n(66012),c=n(15468),f=n(10859),p=2*Math.PI,d=a.Z.CMD,g=["top","right","bottom","left"];function v(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0);break}}function y(t,e,n,i,r,o,a,l,u){a-=t,l-=e;var h=Math.sqrt(a*a+l*l);a/=h,l/=h;var c=a*n+t,f=l*n+e;if(Math.abs(i-r)%p<1e-4)return u[0]=c,u[1]=f,h-n;if(o){var d=i;i=(0,s.m)(r),r=(0,s.m)(d)}else i=(0,s.m)(i),r=(0,s.m)(r);i>r&&(r+=p);var g=Math.atan2(l,a);if(g<0&&(g+=p),g>=i&&g<=r||g+p>=i&&g+p<=r)return u[0]=c,u[1]=f,h-n;var v=n*Math.cos(i)+t,y=n*Math.sin(i)+e,m=n*Math.cos(r)+t,_=n*Math.sin(r)+e,x=(v-a)*(v-a)+(y-l)*(y-l),w=(m-a)*(m-a)+(_-l)*(_-l);return x<w?(u[0]=v,u[1]=y,Math.sqrt(x)):(u[0]=m,u[1]=_,Math.sqrt(w))}function m(t,e,n,i,r,o,a,s){var l=r-t,u=o-e,h=n-t,c=i-e,f=Math.sqrt(h*h+c*c);h/=f,c/=f;var p=l*h+u*c,d=p/f;s&&(d=Math.min(Math.max(d,0),1)),d*=f;var g=a[0]=t+d*h,v=a[1]=e+d*c;return Math.sqrt((g-r)*(g-r)+(v-o)*(v-o))}function _(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,l=e+i,u=a[0]=Math.min(Math.max(r,t),s),h=a[1]=Math.min(Math.max(o,e),l);return Math.sqrt((u-r)*(u-r)+(h-o)*(h-o))}var x=[];function w(t,e,n){var i=_(e.x,e.y,e.width,e.height,t.x,t.y,x);return n.set(x[0],x[1]),i}function S(t,e,n){for(var i,r,o=0,a=0,s=0,u=0,h=1/0,c=e.data,f=t.x,p=t.y,g=0;g<c.length;){var v=c[g++];1===g&&(o=c[g],a=c[g+1],s=o,u=a);var w=h;switch(v){case d.M:s=c[g++],u=c[g++],o=s,a=u;break;case d.L:w=m(o,a,c[g],c[g+1],f,p,x,!0),o=c[g++],a=c[g++];break;case d.C:w=(0,l.t1)(o,a,c[g++],c[g++],c[g++],c[g++],c[g],c[g+1],f,p,x),o=c[g++],a=c[g++];break;case d.Q:w=(0,l.Wr)(o,a,c[g++],c[g++],c[g],c[g+1],f,p,x),o=c[g++],a=c[g++];break;case d.A:var S=c[g++],b=c[g++],T=c[g++],M=c[g++],D=c[g++],k=c[g++];g+=1;var I=!!(1-c[g++]);i=Math.cos(D)*T+S,r=Math.sin(D)*M+b,g<=1&&(s=i,u=r);var C=(f-S)*M/T+S;w=y(S,b,M,D,D+k,I,C,p,x),o=Math.cos(D+k)*T+S,a=Math.sin(D+k)*M+b;break;case d.R:s=o=c[g++],u=a=c[g++];var P=c[g++],A=c[g++];w=_(s,u,P,A,f,p,x);break;case d.Z:w=m(o,a,s,u,f,p,x,!0),o=s,a=u;break}w<h&&(h=w,n.set(x[0],x[1]))}return h}var b=new i.Z,T=new i.Z,M=new i.Z,D=new i.Z,k=new i.Z;function I(t,e){if(t){var n=t.getTextGuideLine(),o=t.getTextContent();if(o&&n){var a=t.textGuideLineConfig||{},s=[[0,0],[0,0],[0,0]],l=a.candidates||g,u=o.getBoundingRect().clone();u.applyTransform(o.getComputedTransform());var c=1/0,f=a.anchor,p=t.getComputedTransform(),d=p&&(0,h.U_)([],p),y=e.get("length2")||0;f&&M.copy(f);for(var m=0;m<l.length;m++){var _=l[m];v(_,0,u,b,D),i.Z.scaleAndAdd(T,b,D,y),T.transform(d);var x=t.getBoundingRect(),k=f?f.distance(T):t instanceof r.ZP?S(T,t.path,M):w(T,x,M);k<c&&(c=k,T.transform(p),M.transform(p),M.toArray(s[0]),T.toArray(s[1]),b.toArray(s[2]))}A(s,e.get("minTurnAngle")),n.setShape({points:s})}}}var C=[],P=new i.Z;function A(t,e){if(e<=180&&e>0){e=e/180*Math.PI,b.fromArray(t[0]),T.fromArray(t[1]),M.fromArray(t[2]),i.Z.sub(D,b,T),i.Z.sub(k,M,T);var n=D.len(),r=k.len();if(!(n<.001||r<.001)){D.scale(1/n),k.scale(1/r);var o=D.dot(k),a=Math.cos(e);if(a<o){var s=m(T.x,T.y,M.x,M.y,b.x,b.y,C,!1);P.fromArray(C),P.scaleAndAdd(k,s/Math.tan(Math.PI-e));var l=M.x!==T.x?(P.x-T.x)/(M.x-T.x):(P.y-T.y)/(M.y-T.y);if(isNaN(l))return;l<0?i.Z.copy(P,T):l>1&&i.Z.copy(P,M),P.toArray(t[1])}}}}function L(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,b.fromArray(t[0]),T.fromArray(t[1]),M.fromArray(t[2]),i.Z.sub(D,T,b),i.Z.sub(k,M,T);var r=D.len(),o=k.len();if(!(r<.001||o<.001)){D.scale(1/r),k.scale(1/o);var a=D.dot(e),s=Math.cos(n);if(a<s){var l=m(T.x,T.y,M.x,M.y,b.x,b.y,C,!1);P.fromArray(C);var u=Math.PI/2,h=Math.acos(k.dot(e)),c=u+h-n;if(c>=u)i.Z.copy(P,M);else{P.scaleAndAdd(k,l/Math.tan(Math.PI/2-c));var f=M.x!==T.x?(P.x-T.x)/(M.x-T.x):(P.y-T.y)/(M.y-T.y);if(isNaN(f))return;f<0?i.Z.copy(P,T):f>1&&i.Z.copy(P,M)}P.toArray(t[1])}}}}function O(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function R(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=c.TK(i[0],i[1]),o=c.TK(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=c.t7([],i[1],i[0],a/r),l=c.t7([],i[1],i[2],a/o),u=c.t7([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h<i.length;h++)t.lineTo(i[h][0],i[h][1])}function Z(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var a=e.normal,s=a.get("show"),l=r.ignore,h=0;h<f.qc.length;h++){var c=f.qc[h],p=e[c],d="normal"===c;if(p){var g=p.get("show"),v=d?l:(0,u.pD)(r.states[c]&&r.states[c].ignore,l);if(v||!(0,u.pD)(g,s)){var y=d?i:i&&i.states[c];y&&(y.ignore=!0),i&&O(i,!0,c,p);continue}i||(i=new o.Z,t.setTextGuideLine(i),d||!l&&s||O(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),O(i,!1,c,p)}}if(i){(0,u.ce)(i.style,n),i.style.fill=null;var m=a.get("showAbove"),_=t.textGuideLineConfig=t.textGuideLineConfig||{};_.showAbove=m||!1,i.buildPath=R}}else i&&t.removeTextGuideLine()}function z(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<f.L1.length;i++){var r=f.L1[i];n[r]=t.getModel([r,e])}return n}},96695:function(t,e,n){n.d(e,{GI:function(){return l},VT:function(){return o},WE:function(){return s},yl:function(){return u}});var i=n(63772),r=n(96805);function o(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var o=r.label,a=o.getComputedTransform(),s=o.getBoundingRect(),l=!a||a[1]<1e-5&&a[2]<1e-5,u=o.style.margin||0,h=s.clone();h.applyTransform(a),h.x-=u/2,h.y-=u/2,h.width+=u,h.height+=u;var c=l?new i.Z(s,a):null;e.push({label:o,labelLine:r.labelLine,rect:h,localRect:s,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:l,transform:a})}}return e}function a(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,l=0,u=!1,h=[],c=0,f=0;f<a;f++){var p=t[f],d=p.rect;s=d[e]-l,s<0&&(d[e]-=s,p.label[e]-=s,u=!0);var g=Math.max(-s,0);h.push(g),c+=g,l=d[e]+d[n]}c>0&&o&&S(-c/a,0,a);var v,y,m=t[0],_=t[a-1];return x(),v<0&&b(-v,.8),y<0&&b(y,.8),x(),w(v,y,1),w(y,v,-1),x(),v<0&&T(-v),y<0&&T(y),u}function x(){v=m.rect[e]-i,y=r-_.rect[e]-_.rect[n]}function w(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){S(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function S(n,i,r){0!==n&&(u=!0);for(var o=i;o<r;o++){var a=t[o],s=a.rect;s[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],s=0,l=1;l<a;l++){var u=t[l-1].rect,h=Math.max(t[l].rect[e]-u[e]-u[n],0);o.push(h),s+=h}if(s){var c=Math.min(Math.abs(i)/s,r);if(i>0)for(l=0;l<a-1;l++){var f=o[l]*c;S(f,0,l+1)}else for(l=a-1;l>0;l--){f=o[l-1]*c;S(-f,l,a)}}}function T(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?S(n,0,i+1):S(-n,a-i-1,a),t-=n,t<=0)return}}function s(t,e,n,i){return a(t,"x","width",e,n,i)}function l(t,e,n,i){return a(t,"y","height",e,n,i)}function u(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new r.Z(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],l=s.axisAligned,u=s.localRect,h=s.transform,c=s.label,f=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var p=s.obb,d=!1,g=0;g<e.length;g++){var v=e[g];if(n.intersect(v.rect)){if(l&&v.axisAligned){d=!0;break}if(v.obb||(v.obb=new i.Z(v.localRect,v.transform)),p||(p=new i.Z(u,h)),p.intersect(v.obb)){d=!0;break}}}d?(o(c),f&&o(f)):(c.attr("ignore",s.defaultAttr.ignore),f&&f.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},19552:function(t,e,n){n.d(e,{Lr:function(){return p},k3:function(){return f},ni:function(){return c},qA:function(){return S},qT:function(){return w},tD:function(){return b}});var i=n(49386),r=n(95797),o=n(10859),a=n(38496),s=n(51058),l={};function u(t,e){for(var n=0;n<o.L1.length;n++){var i=o.L1[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function h(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.L1.length;c++){var f=o.L1[c],p=e[f];h[f]=(0,r.pD)(a?a.getFormattedLabel(s,f,null,l,p&&p.get("formatter")):null,i)}return h}function c(t,e,n,a){n=n||l;for(var s=t instanceof i.ZP,c=!1,f=0;f<o.qc.length;f++){var g=e[o.qc[f]];if(g&&g.getShallow("show")){c=!0;break}}var v=s?t:t.getTextContent();if(c){s||(v||(v=new i.ZP,t.setTextContent(v)),t.stateProxy&&(v.stateProxy=t.stateProxy));var y=h(n,e),m=e.normal,_=!!m.getShallow("show"),x=p(m,a&&a.normal,n,!1,!s);x.text=y.normal,s||t.setTextConfig(d(m,n,!1));for(f=0;f<o.L1.length;f++){var w=o.L1[f];g=e[w];if(g){var b=v.ensureState(w),T=!!(0,r.pD)(g.getShallow("show"),_);if(T!==_&&(b.ignore=!T),b.style=p(g,a&&a[w],n,!0,!s),b.style.text=y[w],!s){var M=t.ensureState(w);M.textConfig=d(g,n,!0)}}}v.silent=!!m.getShallow("silent"),null!=v.style.x&&(x.x=v.style.x),null!=v.style.y&&(x.y=v.style.y),v.ignore=!_,v.useStyle(x),v.dirty(),n.enableTextSetter&&(S(v).setLabelText=function(t){var i=h(n,e,t);u(v,i)})}else v&&(v.ignore=!0);t.dirty()}function f(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.L1.length;i++){var r=o.L1[i];n[r]=t.getModel([r,e])}return n}function p(t,e,n,i,o){var a={};return g(a,t,n,i,o),e&&(0,r.l7)(a,e),a}function d(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.pD)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return i=t.getShallow("position")||(n?null:"inside"),"outside"===i&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}function g(t,e,n,i,r){n=n||l;var o,a=e.ecModel,s=a&&a.option.textStyle,u=v(e);if(u)for(var h in o={},u)if(u.hasOwnProperty(h)){var c=e.getModel(["rich",h]);x(o[h]={},c,s,n,i,r,!1,!0)}o&&(t.rich=o);var f=e.get("overflow");f&&(t.overflow=f);var p=e.get("minMargin");null!=p&&(t.margin=p),x(t,e,s,n,i,r,!0,!1)}function v(t){var e;while(t&&t!==t.ecModel){var n=(t.option||l).rich;if(n){e=e||{};for(var i=(0,r.XP)(n),o=0;o<i.length;o++){var a=i[o];e[a]=1}}t=t.parentModel}return e}var y=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],m=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],_=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function x(t,e,n,i,o,a,s,u){n=!o&&n||l;var h=i&&i.inheritColor,c=e.getShallow("color"),f=e.getShallow("textBorderColor"),p=(0,r.pD)(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=h||null),"inherit"!==f&&"auto"!==f||(f=h||null),a||(c=c||n.color,f=f||n.textBorderColor),null!=c&&(t.fill=c),null!=f&&(t.stroke=f);var d=(0,r.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var g=(0,r.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=g&&(t.lineDash=g);var v=(0,r.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=v&&(t.lineDashOffset=v),o||null!=p||u||(p=i&&i.defaultOpacity),null!=p&&(t.opacity=p),o||a||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var x=0;x<y.length;x++){var w=y[x],S=(0,r.pD)(e.getShallow(w),n[w]);null!=S&&(t[w]=S)}for(x=0;x<m.length;x++){w=m[x],S=e.getShallow(w);null!=S&&(t[w]=S)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!s||!i.disableBox){for(x=0;x<_.length;x++){w=_[x],S=e.getShallow(w);null!=S&&(t[w]=S)}var T=e.getShallow("borderType");null!=T&&(t.borderDash=T),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!h||(t.backgroundColor=h),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!h||(t.borderColor=h)}}function w(t,e){var n=e&&e.getModel("textStyle");return(0,r.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var S=(0,a.Yf)();function b(t,e,n,i,o){var l=S(t);if(l.valueAnimation&&l.prevValue!==l.value){var c=l.defaultInterpolatedText,f=(0,r.pD)(l.interpolatedValue,l.prevValue),p=l.value;t.percent=0,(null==l.prevValue?s.KZ:s.D)(t,{percent:1},i,e,null,d)}function d(i){var r=(0,a.pk)(n,l.precision,f,p,i);l.interpolatedValue=1===i?null:r;var s=h({labelDataIndex:e,labelFetcher:o,defaultText:c?c(r):r+""},l.statesModels,r);u(t,s)}}},43704:function(t,e,n){n.d(e,{s:function(){return s},y:function(){return o}});var i=n(95797),r=n(38496);function o(t,e){function n(e,n){var i=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){i.push(t.seriesIndex)})),i}(0,i.S6)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,r,o){e=(0,i.l7)({},e),o.dispatchAction((0,i.l7)(e,{type:t[1],seriesIndex:n(r,e)}))}))}))}function a(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var h=t.getData(),c=(0,r.gO)(h,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,i.kJ)(c)?h.getName(c[0]):h.getName(c),selected:(0,i.HD)(o)?o:(0,i.l7)({},o)})}}))}function s(t,e,n){t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(a("map","selectchanged",e,i,t),a("pie","selectchanged",e,i,t)):"select"===t.fromAction?(a("map","selected",e,i,t),a("pie","selected",e,i,t)):"unselect"===t.fromAction&&(a("map","unselected",e,i,t),a("pie","unselected",e,i,t))}))}},13350:function(t,e,n){var i=n(18299),r=n(95797),o=n(85632),a=n(40259),s=n(6990),l=n(38496),u=n(16457),h=(0,l.Yf)(),c=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.Kr("ec_cpt_model"),r}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),i=n?u.tE(t):{},o=e.getTheme();r.TS(t,o.get(this.mainType)),r.TS(t,this.getDefaultOption()),n&&u.dt(t,i,n)},e.prototype.mergeOption=function(t,e){r.TS(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){var n=[],i=t;while(i){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return(0,l.HZ)(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(o.Z);function f(t){var e=[];return r.S6(c.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=r.UI(e,(function(t){return(0,s.u9)(t).main})),"dataset"!==t&&r.cq(e,"dataset")<=0&&e.unshift("dataset"),e}(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,f),e["Z"]=c},85632:function(t,e,n){n.d(e,{Z:function(){return x}});var i=n(59979),r=n(6990),o=n(26314),a=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],s=(0,o.Z)(a),l=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return s(this,t,e)},t}(),u=n(19552),h=n(49386),c=["textStyle","color"],f=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],p=new h.ZP,d=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(c):null)},t.prototype.getFont=function(){return(0,u.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<f.length;n++)e[f[n]]=this.getShallow(f[n]);return p.useStyle(e),p.update(),p.getBoundingRect()},t}(),g=d,v=n(61599),y=n(63918),m=n(95797),_=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,m.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null,o=i?this._doGet(r):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),new t(o,n,this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){var t=this.constructor;return new t((0,m.d9)(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.Z.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;i++)if(t[i]&&(n=n&&"object"===typeof n?n[t[i]]:null,null==n))break;return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.dm)(_),(0,r.Qj)(_),(0,m.jB)(_,v.K),(0,m.jB)(_,y.D),(0,m.jB)(_,l),(0,m.jB)(_,g);var x=_},84895:function(t,e,n){n.d(e,{Z:function(){return B}});var i=n(18299),r=n(95797),o=n(59979),a=n(38496),s=n(13350),l=n(25650),u=n(4735),h=n(16457),c=n(17787),f=n(6990),p=n(26214),d=n(86594),g=n(45452),v=n(19874),y=n(18517),m=n(29221),_=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(),o=!!i.length;if(x(n)){var a=n,s=void 0,l=void 0,u=void 0;if(o){var h=i[0];h.prepareSource(),u=h.getSource(),s=u.data,l=u.sourceFormat,e=[h._getVersionSign()]}else s=a.get("data",!0),l=(0,r.fU)(s)?d.J5:d.cy,e=[];var c=this._getSourceMetaRawOption()||{},f=u&&u.metaRawOption||{},g=(0,r.pD)(c.seriesLayoutBy,f.seriesLayoutBy)||null,v=(0,r.pD)(c.sourceHeader,f.sourceHeader),y=(0,r.pD)(c.dimensions,f.dimensions),m=g!==f.seriesLayoutBy||!!v!==!!f.sourceHeader||y;t=m?[(0,p._P)(s,{seriesLayoutBy:g,sourceHeader:v,dimensions:y},l)]:[]}else{var _=n;if(o){var w=this._applyTransform(i);t=w.sourceList,e=w.upstreamSignList}else{var S=_.get("source",!0);t=[(0,p._P)(S,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){var a="";1!==t.length&&w(a)}var s=[],l=[];return(0,r.S6)(t,(function(t){t.prepareSource();var e=t.getSource(o||0),n="";null==o||e||w(n),s.push(e),l.push(t._getVersionSign())})),i?e=(0,v.vK)(i,s,{datasetIndex:n.componentIndex}):null!=o&&(e=[(0,p.ML)(s[0])]),{sourceList:e,upstreamSignList:l}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=0,r=this._storeList,o=r[i];o||(o=r[i]={});var a=o[n];if(!a){var s=this._getUpstreamSourceManagers()[0];x(this._sourceHost)&&s?a=s._innerGetDataStore(t,e,n):(a=new y.ZP,a.initData(new m.Pl(e,t.length),t)),o[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(x(t)){var e=(0,g.Wd)(t);return e?[e.getSourceManager()]:[]}return(0,r.UI)((0,g.JT)(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(x(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function x(t){return"series"===t.mainType}function w(t){throw new Error(t)}var S=n(43803);function b(t){var e,n,i,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),f=c.length,p=s.getRawValue(l),d=(0,r.kJ)(p),g=(0,S.jT)(s,l);if(f>1||d&&!f){var v=T(p,s,l,c,g);e=v.inlineValues,n=v.inlineValueTypes,i=v.blocks,o=v.inlineValues[0]}else if(f){var y=h.getDimensionInfo(c[0]);o=e=(0,m.hk)(h,l,c[0]),n=y.type}else o=e=d?p[0]:p;var _=(0,a.yu)(s),x=_&&s.name||"",w=h.getName(l),b=u?x:w;return(0,S.TX)("section",{header:x,noHeader:u||!_,sortParam:o,blocks:[(0,S.TX)("nameValue",{markerType:"item",markerColor:g,name:b,noName:!(0,r.fy)(b),value:e,valueType:n,dataIndex:l})].concat(i||[])})}function T(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,(function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,S.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.S6)(i,(function(t){c((0,m.hk)(a,n,t),t)})):(0,r.S6)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}var M=a.Yf();function D(t,e){return t.getName(e)||t.getId(e)}var k="__universalTransitionEnabled",I=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:A,reset:L}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=M(this).sourceManager=new _(this);i.prepareSource();var r=this.getInitialData(t,n);R(r,this),this.dataTask.context.data=r,M(this).dataBeforeProcessed=r,C(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},e.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=M(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);R(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,M(this).dataBeforeProcessed=o,C(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){var e=this.getRawData();e.appendData(t.data)},e.prototype.getData=function(t){var e=z(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return M(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=z(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}M(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.kW(t)},e.prototype.getSourceManager=function(){return M(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return M(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var t=this.get("colorBy");return t||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return b({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l._.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=t[o],s=D(r,a);n[s]=!1,this._selectedDataIndicesMap[s]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.XP(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[D(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[k])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){r.Kn(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=D(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var f=e[s-1];c=D(t,f);o.selectedMap=(n={},n[c]=!0,n),this._selectedDataIndicesMap=(i={},i[c]=t.getRawIndex(f),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s.Z.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s.Z);function C(t){var e=t.name;a.yu(t)||(t.name=P(t)||e)}function P(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return r.S6(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function A(t){return t.model.getRawData().count()}function L(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),O}function O(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function R(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,r.WA(Z,e))}))}function Z(t,e){var n=z(t);return n&&n.setOutputEnd((e||this).count()),e}function z(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}r.jB(I,u.X),r.jB(I,l._),(0,f.pw)(I,s.Z);var B=I},4735:function(t,e,n){n.d(e,{X:function(){return s},f:function(){return l}});var i=n(95797),r=n(29221),o=n(41054),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,f=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);if(u&&(c.value=u.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),!l){var f=h.getItemModel(t);l=f.get("normal"===e?["label","formatter"]:[e,"label","formatter"])}if(i.mf(l))return c.status=e,c.dimensionIndex=s,l(c);if(i.HD(l)){var p=(0,o.kF)(l,c);return p.replace(a,(function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(u&&i.kJ(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},63918:function(t,e,n){n.d(e,{D:function(){return a},t:function(){return r}});var i=n(26314),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},61599:function(t,e,n){n.d(e,{K:function(){return a},v:function(){return r}});var i=n(26314),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},26314:function(t,e,n){n.d(e,{Z:function(){return r}});var i=n(95797);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.cq(r,l)>=0||o&&i.cq(o,l)<0)){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},25650:function(t,e,n){n.d(e,{_:function(){return o}});var i=n(38496),r=(0,i.Yf)(),o=((0,i.Yf)(),function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=(0,i.kF)(this.get("color",!0)),a=this.get("colorLayer",!0);return s(this,r,o,a,t,e,n)},t.prototype.clearColorPalette=function(){l(this,r)},t}());function a(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}function s(t,e,n,i,r,o,s){o=o||t;var l=e(o),u=l.paletteIdx||0,h=l.paletteNameMap=l.paletteNameMap||{};if(h.hasOwnProperty(r))return h[r];var c=null!=s&&i?a(i,s):n;if(c=c||n,c&&c.length){var f=c[u];return r&&(h[r]=f),l.paletteIdx=(u+1)%c.length,f}}function l(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}},6228:function(t,e,n){n.d(e,{N:function(){return M}});var i=n(25815),r=n(95797),o=n(4311),a=n(18626),s=n(24250),l=n(85621),u=n(96805),h=n(8088),c=n(9886);function f(t,e,n){var i=c.qW.createCanvas(),r=e.getWidth(),o=e.getHeight(),a=i.style;return a&&(a.position="absolute",a.left="0",a.top="0",a.width=r+"px",a.height=o+"px",i.setAttribute("data-zr-dom-id",t)),i.width=r*n,i.height=o*n,i}var p=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.KL,"string"===typeof e?a=f(e,n,o):r.Kn(e)&&(a=e,e=a.id),s.id=e,s.dom=a;var l=a.style;return l&&(r.$j(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.ZT)(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=f("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var r,o=[],a=this.maxRepaintRectCount,s=!1,l=new u.Z(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===o.length){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var f=new u.Z(0,0,0,0);f.copy(c),f.union(t),o[h]=f,n=!0;break}if(s){l.copy(t),l.union(c);var p=t.width*t.height,d=c.width*c.height,g=l.width*l.height,v=g-p-d;v<i&&(i=v,r=h)}}if(s&&(o[r].union(t),n=!0),!n){e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var p=t[f];if(p){var d=p.shouldBePainted(n,i,!0,!0),g=p.__isRendered&&(p.__dirty&h.YV||!d)?p.getPrevPaintRect():null;g&&c(g);var v=d&&(p.__dirty&h.YV||!p.__isRendered)?p.getPaintRect():null;v&&c(v)}}for(f=this.__prevStartIndex;f<this.__prevEndIndex;++f){p=e[f],d=p&&p.shouldBePainted(n,i,!0,!0);if(p&&(!d||!p.__zr)&&p.__isRendered){g=p.getPrevPaintRect();g&&c(g)}}do{r=!1;for(f=0;f<o.length;)if(o[f].isZero())o.splice(f,1);else{for(var y=f+1;y<o.length;)o[f].intersect(o[y])?(r=!0,o[f].union(o[y]),o.splice(y,1)):y++;f++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,u=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,f=this.dpr,p=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/f,u/f));var d=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var u=void 0;if(r.Qq(e)){var g=e.global||e.__width===i&&e.__height===a;u=g&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=u,e.__width=i,e.__height=a}else r.dL(e)&&(e.scaleX=e.scaleX||f,e.scaleY=e.scaleY||f,u=(0,l.RZ)(o,e,{dirty:function(){p.setUnpainted(),p.painter.refresh()}}));o.save(),o.fillStyle=u||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(d,t,n,i,a),o.restore())}!n||h?g(0,0,a,u):n.length&&r.S6(n,(function(t){g(t.x*f,t.y*f,t.width*f,t.height*f)}))},e}(a.Z),d=p,g=n(33851),v=n(59979),y=1e5,m=314159,_=.01,x=.001;function w(t){return!!t&&(!!t.__builtin__||"function"===typeof t.resize&&"function"===typeof t.refresh)}function S(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}var b=function(){function t(t,e,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=r.l7({},n||{}),this.dpr=n.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t;var l=t.style;l&&(r.$j(t),t.innerHTML=""),this.storage=e;var u=this._zlevelList;this._prevDisplayList=[];var h=this._layers;if(a){var c=t,f=c.width,p=c.height;null!=n.width&&(f=n.width),null!=n.height&&(p=n.height),this.dpr=n.devicePixelRatio||1,c.width=f*this.dpr,c.height=p*this.dpr,this._width=f,this._height=p;var g=new d(c,this,this.dpr);g.__builtin__=!0,g.initContext(),h[m]=g,g.zlevel=m,u.push(m),this._domRoot=t}else{this._width=(0,s.ap)(t,0,n),this._height=(0,s.ap)(t,1,n);var v=this._domRoot=S(this._width,this._height);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var i,r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<e;o++){var a=t[o];a.__inHover&&(n||(n=this._hoverlayer=this.getLayer(y)),i||(i=n.ctx,i.save()),(0,l.Dm)(i,a,r,o===e-1))}i&&i.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(y)},t.prototype.paintOne=function(t,e){(0,l.RV)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;(0,g.Z)((function(){s._paintList(t,e,n,i)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(m).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var h=!0,c=!1,f=function(r){var s,l=o[r],u=l.ctx,f=a&&l.createRepaintRects(t,e,p._width,p._height),d=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,v=g&&Date.now(),y=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,y,f);else if(d===l.__startIndex){var m=t[d];m.incremental&&m.notClear&&!n||l.clear(!1,y,f)}-1===d&&(console.error("For some unknown reason. drawIndex is -1"),d=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=d;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),g){var o=Date.now()-v;if(o>15)break}}n.prevElClipPaths&&u.restore()};if(f)if(0===f.length)s=l.__endIndex;else for(var x=p.dpr,w=0;w<f.length;++w){var S=f[w];u.save(),u.beginPath(),u.rect(S.x*x,S.y*x,S.width*x,S.height*x),u.clip(),_(S),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)},p=this,d=0;d<o.length;d++)f(d);return v.Z.wxa&&r.S6(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,l.Dm)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.Dm)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=m);var n=this._layers[t];return n||(n=new d("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.TS(n,this._layerConfig[t],!0):this._layerConfig[t-_]&&r.TS(n,this._layerConfig[t-_],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]&&w(e)){if(r>0&&t>i[0]){for(s=0;s<r-1;s++)if(i[s]<t&&i[s+1]>t)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var o,a,s=null,l=0;for(a=0;a<t.length;a++){i=t[a];var u=i.zlevel,c=void 0;o!==u&&(o=u,l=0),i.incremental?(c=this.getLayer(u+x,this._needsManuallyCompositing),c.incremental=!0,l=1):c=this.getLayer(u+(l>0?_:0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==a&&(c.__dirty=!0),c.__startIndex=a,c.incremental?c.__drawIndex=-1:c.__drawIndex=a,e(a),s=c),i.__dirty&h.YV&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=a))}e(a),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,r.S6(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+_){var a=this._layers[o];r.TS(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.cq(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(r,0,i),e=(0,s.ap)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(m).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[m].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.Dm)(n,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}(),T=b;function M(t){t.registerPainter("canvas",T)}},6990:function(t,e,n){n.d(e,{PT:function(){return h},Qj:function(){return g},au:function(){return m},dm:function(){return c},pw:function(){return p},u9:function(){return l}});var i=n(18299),r=n(95797),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function l(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function u(t){r.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function h(t){return!(!t||!t[s])}function c(t,e){t.$constructor=t,t.extend=function(t){var e,n=this;return f(n)?e=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(n):(e=function(){(t.$constructor||n).apply(this,arguments)},r.XW(e,this)),r.l7(e.prototype,t),e[s]=!0,e.extend=this.extend,e.superCall=v,e.superApply=y,e.superClass=n,e}}function f(t){return r.mf(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function p(t,e){t.extend=e.extend}var d=Math.round(10*Math.random());function g(t){var e=["__\0is_clz",d++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function v(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 y(t,e,n){return this.superClass.prototype[e].apply(t,n)}function m(t){var e={};function n(t){var n=e[t.main];return n&&n[a]||(n=e[t.main]={},n[a]=!0),n}t.registerClass=function(t){var i=t.type||t.prototype.type;if(i){u(i),t.prototype.type=i;var r=l(i);if(r.sub){if(r.sub!==a){var o=n(r);o[r.sub]=t}}else e[r.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[a]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=l(t),i=[],o=e[n.main];return o&&o[a]?r.S6(o,(function(t,e){e!==a&&i.push(t)})):i.push(o),i},t.hasClass=function(t){var n=l(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return r.S6(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=l(t),i=e[n.main];return i&&i[a]}}},40259:function(t,e,n){n.d(e,{Kr:function(){return a},ZL:function(){return u},cj:function(){return s},jS:function(){return l}});var i=n(95797),r=n(6990),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=(0,r.u9)(t);e[i.main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function l(t,e){function n(t){var n={},a=[];return i.S6(t,(function(s){var l=r(n,s),u=l.originalDeps=e(s),h=o(u,t);l.entryCount=h.length,0===l.entryCount&&a.push(s),i.S6(h,(function(t){i.cq(l.predecessor,t)<0&&l.predecessor.push(t);var e=r(n,t);i.cq(e.successor,t)<0&&e.successor.push(s)}))})),{graph:n,noEntryList:a}}function r(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}function o(t,e){var n=[];return i.S6(t,(function(t){i.cq(e,t)>=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,r,o){if(t.length){var a=n(e),s=a.graph,l=a.noEntryList,u={};i.S6(t,(function(t){u[t]=!0}));while(l.length){var h=l.pop(),c=s[h],f=!!u[h];f&&(r.call(o,h,c.originalDeps.slice()),delete u[h]),i.S6(c.successor,f?d:p)}i.S6(u,(function(){var t="";throw new Error(t)}))}function p(t){s[t].entryCount--,0===s[t].entryCount&&l.push(t)}function d(t){u[t]=!0,p(t)}}}function u(t,e){return i.TS(i.TS({},t,!0),e,!0)}},4258:function(t,e,n){n.d(e,{I:function(){return v}});var i=Math.round(9*Math.random()),r="function"===typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype["delete"]=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=o,s=n(86634),l=n(95797),u=n(41201),h=n(86741),c=n(85621),f=n(9886),p=new a,d=new s.ZP(100),g=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function v(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p["delete"](t);var o=p.get(t);if(o)return o;var a=(0,l.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var s={repeat:"repeat"};return v(s),s.rotation=a.rotation,s.scaleX=s.scaleY=r?1:1/n,p.set(t,s),t.dirty=!1,s;function v(t){for(var e,o=[n],s=!0,p=0;p<g.length;++p){var v=a[g[p]];if(null!=v&&!(0,l.kJ)(v)&&!(0,l.HD)(v)&&!(0,l.hj)(v)&&"boolean"!==typeof v){s=!1;break}o.push(v)}if(s){e=o.join(",")+(r?"-svg":"");var S=d.get(e);S&&(r?t.svgElement=S:t.image=S)}var b,T=m(a.dashArrayX),M=_(a.dashArrayY),D=y(a.symbol),k=x(T),I=w(M),C=!r&&f.qW.createCanvas(),P=r&&{tag:"g",attrs:{},key:"dcl",children:[]},A=L();function L(){for(var t=1,e=0,n=k.length;e<n;++e)t=(0,u.nl)(t,k[e]);var i=1;for(e=0,n=D.length;e<n;++e)i=(0,u.nl)(i,D[e].length);t*=i;var r=I*k.length*D.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}function O(){b&&(b.clearRect(0,0,C.width,C.height),a.backgroundColor&&(b.fillStyle=a.backgroundColor,b.fillRect(0,0,C.width,C.height)));for(var t=0,e=0;e<M.length;++e)t+=M[e];if(!(t<=0)){var o=-I,s=0,l=0,u=0;while(o<A.height){if(s%2===0){var f=l/2%D.length,p=0,d=0,g=0;while(p<2*A.width){var v=0;for(e=0;e<T[u].length;++e)v+=T[u][e];if(v<=0)break;if(d%2===0){var y=.5*(1-a.symbolSize),m=p+T[u][d]*y,_=o+M[s]*y,x=T[u][d]*a.symbolSize,w=M[s]*a.symbolSize,S=g/2%D[f].length;k(m,_,x,w,D[f][S])}p+=T[u][d],++g,++d,d===T[u].length&&(d=0)}++u,u===T.length&&(u=0)}o+=M[s],++l,++s,s===M.length&&(s=0)}}function k(t,e,o,s,l){var u=r?1:n,f=(0,h.th)(l,t*u,e*u,o*u,s*u,a.color,a.symbolKeepAspect);if(r){var p=i.painter.renderOneToVNode(f);p&&P.children.push(p)}else(0,c.RV)(b,f)}}C&&(C.width=A.width*n,C.height=A.height*n,b=C.getContext("2d")),O(),s&&d.put(e,C||P),t.image=C,t.svgElement=P,t.svgWidth=A.width,t.svgHeight=A.height}}function y(t){if(!t||0===t.length)return[["rect"]];if((0,l.HD)(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!(0,l.HD)(t[n])){e=!1;break}if(e)return y([t]);var i=[];for(n=0;n<t.length;++n)(0,l.HD)(t[n])?i.push([t[n]]):i.push(t[n]);return i}function m(t){if(!t||0===t.length)return[[0,0]];if((0,l.hj)(t)){var e=Math.ceil(t);return[[e,e]]}for(var n=!0,i=0;i<t.length;++i)if(!(0,l.hj)(t[i])){n=!1;break}if(n)return m([t]);var r=[];for(i=0;i<t.length;++i)if((0,l.hj)(t[i])){e=Math.ceil(t[i]);r.push([e,e])}else{e=(0,l.UI)(t[i],(function(t){return Math.ceil(t)}));e.length%2===1?r.push(e.concat(e)):r.push(e)}return r}function _(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if((0,l.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,l.UI)(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}function x(t){return(0,l.UI)(t,(function(t){return w(t)}))}function w(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?2*e:e}},78834:function(t,e,n){function i(t,e,n){var i;while(t){if(e(t)&&(i=t,n))break;t=t.__hostTarget||t.parent}return i}n.d(e,{o:function(){return i}})},41054:function(t,e,n){n.d(e,{A0:function(){return d},Lz:function(){return g},MY:function(){return u},kF:function(){return p},uX:function(){return h},zW:function(){return l}});var i=n(95797),r=n(99837),o=n(41201),a=n(31360);function s(t){if(!(0,o.kE)(t))return i.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=i.MY;function h(t,e,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function l(t){return t&&i.fy(t)?t:"-"}function u(t){return!(null==t||isNaN(t)||!isFinite(t))}var h="time"===e,c=t instanceof Date;if(h||c){var f=h?(0,o.sG)(t):t;if(!isNaN(+f))return(0,a.WU)(f,r,n);if(c)return"-"}if("ordinal"===e)return i.cd(t)?l(t):i.hj(t)&&u(t)?t+"":"-";var p=(0,o.FK)(t);return u(p)?s(p):i.cd(t)?l(t):"boolean"===typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],f=function(t,e){return"{"+t+(null==e?"":e)+"}"};function p(t,e,n){i.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(f(l),f(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var p=e[u][a[h]];t=t.replace(f(c[h],u),n?(0,r.F1)(p):p)}return t}function d(t,e){var n=i.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";if(!o)return"";if("html"===s)return"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>';var l=n.markerId||"markerX";return{renderMode:s,content:"{"+l+"|}  ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}}function g(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}},43092:function(t,e,n){n.r(e),n.d(e,{Arc:function(){return nt.Z},BezierCurve:function(){return et},BoundingRect:function(){return ct.Z},Circle:function(){return Z.Z},CompoundPath:function(){return rt},Ellipse:function(){return N},Group:function(){return O.Z},Image:function(){return L.ZP},IncrementalDisplayable:function(){return yt},Line:function(){return K.Z},LinearGradient:function(){return lt},OrientedBoundingRect:function(){return ft.Z},Path:function(){return r.ZP},Point:function(){return pt.Z},Polygon:function(){return X},Polyline:function(){return Y.Z},RadialGradient:function(){return ht},Rect:function(){return q.Z},Ring:function(){return W},Sector:function(){return E.C},Text:function(){return R.ZP},applyTransform:function(){return Nt},clipPointsByRect:function(){return Vt},clipRectByRect:function(){return Gt},createIcon:function(){return Ut},extendPath:function(){return Dt},extendShape:function(){return Tt},getShapeClass:function(){return It},getTransform:function(){return Bt},groupTransition:function(){return Wt},initProps:function(){return xt.KZ},isElementRemoved:function(){return xt.eq},lineLineIntersect:function(){return Yt},linePolygonIntersect:function(){return Xt},makeImage:function(){return Pt},makePath:function(){return Ct},mergePath:function(){return Lt},registerShape:function(){return kt},removeElement:function(){return xt.bX},removeElementWithFadeOut:function(){return xt.XD},resizePath:function(){return Ot},setTooltipConfig:function(){return jt},subPixelOptimize:function(){return zt},subPixelOptimizeLine:function(){return Rt},subPixelOptimizeRect:function(){return Zt},transformDirection:function(){return Et},traverseElements:function(){return Qt},updateProps:function(){return xt.D}});var i=n(4311),r=n(47397),o=n(355),a=n(15468),s=o.Z.CMD,l=[[],[],[]],u=Math.sqrt,h=Math.atan2;function c(t,e){if(e){var n,i,r,o,c,f,p=t.data,d=t.len(),g=s.M,v=s.C,y=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<d;){switch(n=p[r++],o=r,i=0,n){case g:i=1;break;case y:i=1;break;case v:i=3;break;case x:i=2;break;case _:var w=e[4],S=e[5],b=u(e[0]*e[0]+e[1]*e[1]),T=u(e[2]*e[2]+e[3]*e[3]),M=h(-e[1]/T,e[0]/b);p[r]*=b,p[r++]+=w,p[r]*=T,p[r++]+=S,p[r++]*=b,p[r++]*=T,p[r++]+=M,p[r++]+=M,r+=2,o=r;break;case m:f[0]=p[r++],f[1]=p[r++],(0,a.Ne)(f,f,e),p[o++]=f[0],p[o++]=f[1],f[0]+=p[r++],f[1]+=p[r++],(0,a.Ne)(f,f,e),p[o++]=f[0],p[o++]=f[1]}for(c=0;c<i;c++){var D=l[c];D[0]=p[r++],D[1]=p[r++],(0,a.Ne)(D,D,e),p[o++]=D[0],p[o++]=D[1]}}t.increaseVersion()}}var f=n(95797),p=Math.sqrt,d=Math.sin,g=Math.cos,v=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function m(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function _(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(m(t,e))}function x(t,e,n,i,r,o,a,s,l,u,h){var c=l*(v/180),f=g(c)*(t-n)/2+d(c)*(e-i)/2,y=-1*d(c)*(t-n)/2+g(c)*(e-i)/2,x=f*f/(a*a)+y*y/(s*s);x>1&&(a*=p(x),s*=p(x));var w=(r===o?-1:1)*p((a*a*(s*s)-a*a*(y*y)-s*s*(f*f))/(a*a*(y*y)+s*s*(f*f)))||0,S=w*a*y/s,b=w*-s*f/a,T=(t+n)/2+g(c)*S-d(c)*b,M=(e+i)/2+d(c)*S+g(c)*b,D=_([1,0],[(f-S)/a,(y-b)/s]),k=[(f-S)/a,(y-b)/s],I=[(-1*f-S)/a,(-1*y-b)/s],C=_(k,I);if(m(k,I)<=-1&&(C=v),m(k,I)>=1&&(C=0),C<0){var P=Math.round(C/v*1e6)/1e6;C=2*v+P%2*v}h.addData(u,T,M,a,s,D,C,c,o)}var w=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,S=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function b(t){var e=new o.Z;if(!t)return e;var n,i=0,r=0,a=i,s=r,l=o.Z.CMD,u=t.match(w);if(!u)return e;for(var h=0;h<u.length;h++){for(var c=u[h],f=c.charAt(0),p=void 0,d=c.match(S)||[],g=d.length,v=0;v<g;v++)d[v]=parseFloat(d[v]);var y=0;while(y<g){var m=void 0,_=void 0,b=void 0,T=void 0,M=void 0,D=void 0,k=void 0,I=i,C=r,P=void 0,A=void 0;switch(f){case"l":i+=d[y++],r+=d[y++],p=l.L,e.addData(p,i,r);break;case"L":i=d[y++],r=d[y++],p=l.L,e.addData(p,i,r);break;case"m":i+=d[y++],r+=d[y++],p=l.M,e.addData(p,i,r),a=i,s=r,f="l";break;case"M":i=d[y++],r=d[y++],p=l.M,e.addData(p,i,r),a=i,s=r,f="L";break;case"h":i+=d[y++],p=l.L,e.addData(p,i,r);break;case"H":i=d[y++],p=l.L,e.addData(p,i,r);break;case"v":r+=d[y++],p=l.L,e.addData(p,i,r);break;case"V":r=d[y++],p=l.L,e.addData(p,i,r);break;case"C":p=l.C,e.addData(p,d[y++],d[y++],d[y++],d[y++],d[y++],d[y++]),i=d[y-2],r=d[y-1];break;case"c":p=l.C,e.addData(p,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r),i+=d[y-2],r+=d[y-1];break;case"S":m=i,_=r,P=e.len(),A=e.data,n===l.C&&(m+=i-A[P-4],_+=r-A[P-3]),p=l.C,I=d[y++],C=d[y++],i=d[y++],r=d[y++],e.addData(p,m,_,I,C,i,r);break;case"s":m=i,_=r,P=e.len(),A=e.data,n===l.C&&(m+=i-A[P-4],_+=r-A[P-3]),p=l.C,I=i+d[y++],C=r+d[y++],i+=d[y++],r+=d[y++],e.addData(p,m,_,I,C,i,r);break;case"Q":I=d[y++],C=d[y++],i=d[y++],r=d[y++],p=l.Q,e.addData(p,I,C,i,r);break;case"q":I=d[y++]+i,C=d[y++]+r,i+=d[y++],r+=d[y++],p=l.Q,e.addData(p,I,C,i,r);break;case"T":m=i,_=r,P=e.len(),A=e.data,n===l.Q&&(m+=i-A[P-4],_+=r-A[P-3]),i=d[y++],r=d[y++],p=l.Q,e.addData(p,m,_,i,r);break;case"t":m=i,_=r,P=e.len(),A=e.data,n===l.Q&&(m+=i-A[P-4],_+=r-A[P-3]),i+=d[y++],r+=d[y++],p=l.Q,e.addData(p,m,_,i,r);break;case"A":b=d[y++],T=d[y++],M=d[y++],D=d[y++],k=d[y++],I=i,C=r,i=d[y++],r=d[y++],p=l.A,x(I,C,i,r,D,k,b,T,M,p,e);break;case"a":b=d[y++],T=d[y++],M=d[y++],D=d[y++],k=d[y++],I=i,C=r,i+=d[y++],r+=d[y++],p=l.A,x(I,C,i,r,D,k,b,T,M,p,e);break}}"z"!==f&&"Z"!==f||(p=l.Z,e.addData(p),i=a,r=s),n=p}return e.toStatic(),e}var T=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(r.ZP);function M(t){return null!=t.setData}function D(t,e){var n=b(t),i=(0,f.l7)({},e);return i.buildPath=function(t){if(M(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){c(n,t),this.dirtyShape()},i}function k(t,e){return new T(D(t,e))}function I(t,e){var n=D(t,e),r=function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return(0,i.ZT)(e,t),e}(T);return r}function C(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.ZP(e);return s.createPathProxy(),s.buildPath=function(t){if(M(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s}var P=n(66012),A=n(87184),L=n(12222),O=n(3082),R=n(49386),Z=n(79001),z=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),B=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new z},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,l=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-l,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-l,i+o,r),t.bezierCurveTo(i+o,r+l,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+l,i-o,r),t.closePath()},e}(r.ZP);B.prototype.type="ellipse";var N=B,E=n(60497),F=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),H=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new F},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(r.ZP);H.prototype.type="ring";var W=H,V=n(92411),G=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),U=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new G},e.prototype.buildPath=function(t,e){V.L(t,e,!0)},e}(r.ZP);U.prototype.type="polygon";var X=U,Y=n(12484),q=n(96354),K=n(22940),j=n(3816),J=[],Q=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function $(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?j.X_:j.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?j.X_:j.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?j.AZ:j.Zm)(t.x1,t.cpx1,t.x2,e),(n?j.AZ:j.Zm)(t.y1,t.cpy1,t.y2,e)]}var tt=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Q},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(h<1&&((0,j.Lx)(n,a,r,h,J),a=J[1],r=J[2],(0,j.Lx)(i,s,o,h,J),s=J[1],o=J[2]),t.quadraticCurveTo(a,s,r,o)):(h<1&&((0,j.Vz)(n,a,l,r,h,J),a=J[1],l=J[2],r=J[3],(0,j.Vz)(i,s,u,o,h,J),s=J[1],u=J[2],o=J[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return $(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=$(this.shape,t,!0);return a.Fv(e,e)},e}(r.ZP);tt.prototype.type="bezier-curve";var et=tt,nt=n(13026),it=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.ZP.prototype.getBoundingRect.call(this)},e}(r.ZP),rt=it,ot=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}(),at=ot,st=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.ZT)(e,t),e}(at),lt=st,ut=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.ZT)(e,t),e}(at),ht=ut,ct=n(96805),ft=n(63772),pt=n(11123),dt=n(68992),gt=[],vt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.ZT)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new ct.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(gt)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(i.contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){var o=this._displayables[r];if(o.contain(t,e))return!0}return!1},e}(dt.ZP),yt=vt,mt=n(96751),_t=n(75195),xt=n(51058),wt=Math.max,St=Math.min,bt={};function Tt(t){return r.ZP.extend(t)}var Mt=I;function Dt(t,e){return Mt(t,e)}function kt(t,e){bt[t]=e}function It(t){if(bt.hasOwnProperty(t))return bt[t]}function Ct(t,e,n,i){var r=k(t,e);return n&&("center"===i&&(n=At(n,r.getBoundingRect())),Ot(r,n)),r}function Pt(t,e,n){var i=new L.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(At(e,r))}}});return i}function At(t,e){var n,i=e.width/e.height,r=t.height*i;r<=t.width?n=t.height:(r=t.width,n=r/i);var o=t.x+t.width/2,a=t.y+t.height/2;return{x:o-r/2,y:a-n/2,width:r,height:n}}var Lt=C;function Ot(t,e){if(t.applyTransform){var n=t.getBoundingRect(),i=n.calculateTransform(e);t.applyTransform(i)}}function Rt(t,e){return mt._3(t,t,{lineWidth:e}),t}function Zt(t){return mt.Pw(t.shape,t.shape,t.style),t}var zt=mt.vu;function Bt(t,e){var n=P.yR([]);while(t&&t!==e)P.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function Nt(t,e,n){return e&&!(0,f.zG)(e)&&(e=A.ZP.getLocalTransform(e)),n&&(e=P.U_([],e)),a.Ne([],t,e)}function Et(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return o=Nt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function Ft(t){return!t.isGroup}function Ht(t){return null!=t.shape}function Wt(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(Ft(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),(0,xt.D)(t,r,n,(0,_t.A)(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){Ft(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return Ht(t)&&(e.shape=(0,f.l7)({},t.shape)),e}}function Vt(t,e){return(0,f.UI)(t,(function(t){var n=t[0];n=wt(n,e.x),n=St(n,e.x+e.width);var i=t[1];return i=wt(i,e.y),i=St(i,e.y+e.height),[n,i]}))}function Gt(t,e){var n=wt(t.x,e.x),i=St(t.x+t.width,e.x+e.width),r=wt(t.y,e.y),o=St(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function Ut(t,e,n){var i=(0,f.l7)({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),(0,f.ce)(r,n),new L.ZP(i)):Ct(t.replace("path://",""),i,n,"center")}function Xt(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Yt(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Yt(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,f=qt(h,c,l,u);if(Kt(f))return!1;var p=t-r,d=e-o,g=qt(p,d,l,u)/f;if(g<0||g>1)return!1;var v=qt(p,d,h,c)/f;return!(v<0||v>1)}function qt(t,e,n,i){return t*i-n*e}function Kt(t){return t<=1e-6&&t>=-1e-6}function jt(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,f.HD)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,f.S6)((0,f.XP)(l),(function(t){(0,f.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=(0,_t.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,f.ce)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function Jt(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function Qt(t,e){if(t)if((0,f.kJ)(t))for(var n=0;n<t.length;n++)Jt(t[n],e);else Jt(t,e)}kt("circle",Z.Z),kt("ellipse",N),kt("sector",E.C),kt("ring",W),kt("polygon",X),kt("polyline",Y.Z),kt("rect",q.Z),kt("line",K.Z),kt("bezierCurve",et),kt("arc",nt.Z)},75195:function(t,e,n){n.d(e,{A:function(){return r},Q:function(){return o}});var i=n(38496),r=(0,i.Yf)(),o=function(t,e,n,i){if(i){var o=r(i);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse((function(i){var o=r(i);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"}))}}},16457:function(t,e,n){n.d(e,{BZ:function(){return c},ME:function(){return f},YD:function(){return p},dt:function(){return d},tE:function(){return g}});var i=n(95797),r=n(96805),o=n(41201),a=n(41054),s=i.S6,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,f=l.getBoundingRect(),p=e.childAt(u+1),d=p&&p.getBoundingRect();if("horizontal"===t){var g=f.width+(d?-d.x+f.x:0);h=o+g,h>i||l.newline?(o=0,h=g,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(d?-d.y+f.y:0);c=a+v,c>r||l.newline?(o+=s+n,a=0,c=v,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var c=h;i.WA(h,"vertical"),i.WA(h,"horizontal");function f(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,l=(0,o.GM)(t.left,i),u=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),f=(0,o.GM)(t.width,i),p=(0,o.GM)(t.height,s),d=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=i-h-g-l),isNaN(p)&&(p=s-c-d-u),null!=v&&(isNaN(f)&&isNaN(p)&&(v>i/s?f=.8*i:p=.8*s),isNaN(f)&&(f=v*p),isNaN(p)&&(p=f/v)),isNaN(l)&&(l=i-h-f-g),isNaN(u)&&(u=s-c-p-d),t.left||t.right){case"center":l=i/2-f/2-n[3];break;case"right":l=i-f-g;break}switch(t.top||t.bottom){case"middle":case"center":u=s/2-p/2-n[0];break;case"bottom":u=s-p-d;break}l=l||0,u=u||0,isNaN(f)&&(f=i-g-l-(h||0)),isNaN(p)&&(p=s-d-u-(c||0));var y=new r.Z(l+n[3],u+n[0],f,p);return y.margin=n,y}function p(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function d(t,e,n){var r=n&&n.ignoreSize;!i.kJ(r)&&(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0,f=2;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++})),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(u!==f&&a){if(a>=f)return o;for(var p=0;p<n.length;p++){var d=n[p];if(!h(o,d)&&h(t,d)){o[d]=t[d];break}}return o}return l}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function f(t,e,n){s(t,(function(t){e[t]=n[t]}))}f(u[0],t,o),f(u[1],t,a)}function g(t){return v({},t)}function v(t,e){return e&&t&&s(l,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}},3313:function(t,e,n){n.d(e,{Sh:function(){return i},_y:function(){return r}});"undefined"!==typeof console&&console.warn&&console.log;function i(t){0}function r(t){throw new Error(t)}},38496:function(t,e,n){n.d(e,{C4:function(){return f},C6:function(){return O},Cc:function(){return h},Co:function(){return p},HZ:function(){return R},IL:function(){return z},O0:function(){return D},P$:function(){return Z},Td:function(){return c},U5:function(){return b},U9:function(){return B},Yf:function(){return C},ab:function(){return d},gO:function(){return I},kF:function(){return u},lY:function(){return M},pk:function(){return N},pm:function(){return A},yu:function(){return T},zH:function(){return L}});var i=n(95797),r=n(59979),o=n(41201);function a(t,e,n){return(e-t)*n+t}var s="series\0",l="\0_ec_\0";function u(t){return t instanceof Array?t:null==t?[]:[t]}function h(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var i=0,r=n.length;i<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var c=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function f(t){return!(0,i.Kn)(t)||(0,i.kJ)(t)||t instanceof Date?t:t.value}function p(t){return(0,i.Kn)(t)&&!(t instanceof Array)}function d(t,e,n){var r="normalMerge"===n,o="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var s=(0,i.kW)();(0,i.S6)(e,(function(t,n){(0,i.Kn)(t)||(e[n]=null)}));var l=g(t,s,n);return(r||o)&&v(l,t,s,e),r&&y(l,e),r||o?m(l,e,o):a&&_(l,e),x(l),l}function g(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||M(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}function v(t,e,n,r){(0,i.S6)(r,(function(o,a){if(o&&null!=o.id){var s=S(o.id),l=n.get(s);if(null!=l){var u=t[l];(0,i.hu)(!u.newOption,'Duplicated option on id "'+s+'".'),u.newOption=o,u.existing=e[l],r[a]=null}}}))}function y(t,e){(0,i.S6)(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!M(n)&&!M(o)&&w("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}function m(t,e,n){(0,i.S6)(e,(function(e){if(e){var i,r=0;while((i=t[r])&&(i.newOption||M(i.existing)||i.existing&&null!=e.id&&!w("id",e,i.existing)))r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}function _(t,e){(0,i.S6)(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}function x(t){var e=(0,i.kW)();(0,i.S6)(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),(0,i.S6)(t,(function(t){var n=t.newOption;(0,i.hu)(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),(0,i.S6)(t,(function(t,n){var r=t.existing,o=t.newOption,a=t.keyInfo;if((0,i.Kn)(o)){if(a.name=null!=o.name?S(o.name):r?r.name:s+n,r)a.id=S(r.id);else if(null!=o.id)a.id=S(o.id);else{var l=0;do{a.id="\0"+a.name+"\0"+l++}while(e.get(a.id))}e.set(a.id,t)}}))}function w(t,e,n){var i=b(e[t],null),r=b(n[t],null);return null!=i&&null!=r&&i===r}function S(t){return b(t,"")}function b(t,e){return null==t?e:(0,i.HD)(t)?t:(0,i.hj)(t)||(0,i.cd)(t)?t+"":e}function T(t){var e=t.name;return!(!e||!e.indexOf(s))}function M(t){return t&&null!=t.id&&0===S(t.id).indexOf(l)}function D(t,e,n){(0,i.S6)(t,(function(t){var r=t.newOption;(0,i.Kn)(r)&&(t.keyInfo.mainType=e,t.keyInfo.subType=k(e,r,t.existing,n))}))}function k(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}function I(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.kJ)(e.dataIndex)?(0,i.UI)(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.kJ)(e.name)?(0,i.UI)(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function C(){var t="__ec_inner_"+P++;return function(e){return e[t]||(e[t]={})}}var P=(0,o.jj)();function A(t,e,n){var i=L(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=R(t,i,e,{useDefault:l===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});s[i+"Models"]=r.models,s[i+"Model"]=r.models[0]})),s}function L(t,e){var n;if((0,i.HD)(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.kW)(),a={},s=!1;return(0,i.S6)(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();if(l&&u&&!(e&&e.includeMainTypes&&(0,i.cq)(e.includeMainTypes,l)<0)){s=s||!!l;var h=o.get(l)||o.set(l,{});h[u]=t}}else a[n]=t})),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var O={useDefault:!0,enableAll:!1,enableNone:!1};function R(t,e,n,r){r=r||O;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,i.hu)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):("all"===o&&((0,i.hu)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s}),l)}function Z(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function z(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function B(t){return"auto"===t?r.Z.domSupported?"html":"richText":t||"html"}function N(t,e,n,r,s){var l=null==e||"auto"===e;if(null==r)return r;if((0,i.hj)(r)){var u=a(n||0,r,s);return(0,o.NM)(u,l?Math.max((0,o.p8)(n||0),(0,o.p8)(r)):e)}if((0,i.HD)(r))return s<1?n:r;for(var h=[],c=n,f=r,p=Math.max(c?c.length:0,f.length),d=0;d<p;++d){var g=t.getDimensionInfo(d);if(g&&"ordinal"===g.type)h[d]=(s<1&&c?c:f)[d];else{var v=c&&c[d]?c[d]:0,y=f[d];u=a(v,y,s);h[d]=(0,o.NM)(u,l?Math.max((0,o.p8)(v),(0,o.p8)(y)):e)}}return h}},41201:function(t,e,n){n.d(e,{FK:function(){return m},GM:function(){return l},HD:function(){return f},NM:function(){return u},NU:function(){return s},S$:function(){return p},jj:function(){return x},kE:function(){return _},mW:function(){return g},nl:function(){return S},p8:function(){return h},sG:function(){return y},wW:function(){return d}});var i=n(95797),r=1e-4,o=20;function a(t){return t.replace(/^\s+|\s+$/g,"")}function s(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i)if(l>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function l(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return i.HD(t)?a(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function u(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),o),t=(+t).toFixed(e),n?t:+t}function h(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return c(t)}function c(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function f(t,e){var n=i.u4(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var r=Math.pow(10,e),o=i.UI(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),a=100*r,s=i.UI(o,(function(t){return Math.floor(t)})),l=i.u4(s,(function(t,e){return t+e}),0),u=i.UI(o,(function(t,e){return t-s[e]}));while(l<a){for(var h=Number.NEGATIVE_INFINITY,c=null,f=0,p=u.length;f<p;++f)u[f]>h&&(h=u[f],c=f);++s[c],u[c]=0,++l}return i.UI(s,(function(t){return t/r}))}function p(t,e){var n=Math.max(h(t),h(e)),i=t+e;return n>o?i:u(i,n)}function d(t){var e=2*Math.PI;return(t%e+e)%e}function g(t){return t>-r&&t<r}var v=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function y(t){if(t instanceof Date)return t;if(i.HD(t)){var e=v.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function m(t){var e=parseFloat(t);return e==t&&(0!==e||!i.HD(t)||t.indexOf("x")<=0)?e:NaN}function _(t){return!isNaN(m(t))}function x(){return Math.round(9*Math.random())}function w(t,e){return 0===e?t:w(e,t%e)}function S(t,e){return null==t?e:null==e?t:t*e/w(t,e)}},10859:function(t,e,n){n.d(e,{$l:function(){return tt},Av:function(){return pt},C5:function(){return rt},CX:function(){return p},Hg:function(){return w},JQ:function(){return S},Ki:function(){return _},L1:function(){return g},Mh:function(){return V},RW:function(){return dt},SJ:function(){return Y},SX:function(){return G},T5:function(){return K},UL:function(){return Q},VP:function(){return U},WO:function(){return ct},XX:function(){return X},aG:function(){return gt},ci:function(){return it},e9:function(){return yt},fD:function(){return W},iK:function(){return b},k5:function(){return st},oJ:function(){return $},og:function(){return nt},qc:function(){return v},vF:function(){return ot},wU:function(){return d},xp:function(){return vt},xr:function(){return et},yx:function(){return x},zI:function(){return J}});var i=n(95797),r=n(75195),o=n(76171),a=n(38496),s=n(47397),l=1,u={},h=(0,a.Yf)(),c=(0,a.Yf)(),f=0,p=1,d=2,g=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],y=10,m=9,_="highlight",x="downplay",w="select",S="unselect",b="toggleSelect";function T(t){return null!=t&&"none"!==t}function M(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function D(t){M(t,"emphasis",d)}function k(t){t.hoverState===d&&M(t,"normal",f)}function I(t){M(t,"blur",p)}function C(t){t.hoverState===p&&M(t,"normal",f)}function P(t){t.selected=!0}function A(t){t.selected=!1}function L(t,e,n){e(t,n)}function O(t,e,n){L(t,e,n),t.isGroup&&t.traverse((function(t){L(t,e,n)}))}function R(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&"style"===u.targetName&&u.saveTo(o,e)}return o}function Z(t,e,n,r){var a=n&&(0,i.cq)(n,"select")>=0,l=!1;if(t instanceof s.ZP){var u=h(t),c=a&&u.selectFill||u.normalFill,f=a&&u.selectStroke||u.normalStroke;if(T(c)||T(f)){r=r||{};var p=r.style||{};"inherit"===p.fill?(l=!0,r=(0,i.l7)({},r),p=(0,i.l7)({},p),p.fill=c):!T(p.fill)&&T(c)?(l=!0,r=(0,i.l7)({},r),p=(0,i.l7)({},p),p.fill=(0,o.fD)(c)):!T(p.stroke)&&T(f)&&(l||(r=(0,i.l7)({},r),p=(0,i.l7)({},p)),p.stroke=(0,o.fD)(f)),r.style=p}}if(r&&null==r.z2){l||(r=(0,i.l7)({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:y)}return r}function z(t,e,n){if(n&&null==n.z2){n=(0,i.l7)({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:m)}return n}function B(t,e,n){var r=(0,i.cq)(t.currentStates,e)>=0,o=t.style.opacity,a=r?null:R(t,["opacity"],e,{opacity:1});n=n||{};var s=n.style||{};return null==s.opacity&&(n=(0,i.l7)({},n),s=(0,i.l7)({opacity:r?o:.1*a.opacity},s),n.style=s),n}function N(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return Z(this,t,e,n);if("blur"===t)return B(this,t,n);if("select"===t)return z(this,t,n)}return n}function E(t){t.stateProxy=N;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=N),n&&(n.stateProxy=N)}function F(t,e){!q(t,e)&&!t.__highByOuter&&O(t,D)}function H(t,e){!q(t,e)&&!t.__highByOuter&&O(t,k)}function W(t,e){t.__highByOuter|=1<<(e||0),O(t,D)}function V(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&O(t,k)}function G(t){O(t,I)}function U(t){O(t,C)}function X(t){O(t,P)}function Y(t){O(t,A)}function q(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function K(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(t){C(t)})),a&&n.push(i)),o.isBlured=!1})),(0,i.S6)(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function j(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&U(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries((function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var f=h&&l?h===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!f||"series"===e&&o)){var p=r.getViewOfSeriesModel(t);if(p.group.traverse((function(t){t.__highByOuter&&o&&"self"===e||I(t)})),(0,i.zG)(e))a(t.getData(),e);else if((0,i.Kn)(e))for(var d=(0,i.XP)(e),g=0;g<d.length;g++)a(t.getData(d[g]),e[d[g]]);u.push(t),c(t).isBlured=!0}})),o.eachComponent((function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}}))}}function J(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){I(t)}))}}}function Q(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(s,e);l=((0,i.kJ)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u){var h=s.count(),c=0;while(!u&&c<h)u=s.getItemGraphicEl(c++)}if(u){var f=(0,r.A)(u);j(o,f.focus,f.blurScope,n)}else{var p=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=p&&j(o,p,d,n)}}}function $(t,e,n,i){var o={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return o;var a=i.getModel().getComponent(t,e);if(!a)return o;var s=i.getViewOfComponentModel(a);if(!s||!s.findHighDownDispatchers)return o;for(var l,u=s.findHighDownDispatchers(n),h=0;h<u.length;h++)if("self"===(0,r.A)(u[h]).focus){l=!0;break}return{focusSelf:l,dispatchers:u}}function tt(t,e,n){var o=(0,r.A)(t),a=$(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&J(o.componentMainType,o.componentIndex,n),(0,i.S6)(s,(function(t){return F(t,e)}))):(j(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&J(o.componentMainType,o.componentIndex,n),F(t,e))}function et(t,e,n){K(n);var o=(0,r.A)(t),a=$(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.S6)(a,(function(t){return H(t,e)})):H(t,e)}function nt(t,e,n){if(gt(e)){var r=e.dataType,o=t.getData(r),s=(0,a.gO)(o,e);(0,i.kJ)(s)||(s=[s]),t[e.type===b?"toggleSelect":e.type===w?"select":"unselect"](s,r)}}function it(t){var e=t.getAllData();(0,i.S6)(e,(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?X(e):Y(e)}))}))}function rt(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();(0,i.S6)(n,(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function ot(t,e,n){ft(t,!0),O(t,E),lt(t,e,n)}function at(t){ft(t,!1)}function st(t,e,n,i){i?at(t):ot(t,e,n)}function lt(t,e,n){var i=(0,r.A)(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var ut=["emphasis","blur","select"],ht={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function ct(t,e,n,i){n=n||"itemStyle";for(var r=0;r<ut.length;r++){var o=ut[r],a=e.getModel([o,n]),s=t.ensureState(o);s.style=i?i(a):a[ht[n]]()}}function ft(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function pt(t){return!(!t||!t.__highDownDispatcher)}function dt(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function gt(t){var e=t.type;return e===w||e===S||e===b}function vt(t){var e=t.type;return e===_||e===x}function yt(t){var e=h(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},86741:function(t,e,n){n.d(e,{Cq:function(){return S},th:function(){return w}});var i=n(95797),r=n(47397),o=n(22940),a=n(96354),s=n(79001),l=n(43092),u=n(96805),h=n(66332),c=n(41201),f=r.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),p=r.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),d=r.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),f=Math.cos(u),p=.6*a,d=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*p,l+s+f*p,n,i-d,n,i),t.bezierCurveTo(n,i-d,n-h+c*p,l+s+f*p,n-h,l+s),t.closePath()}}),g=r.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),v={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:p,pin:d,arrow:g,triangle:f},y={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},m={};(0,i.S6)(v,(function(t,e){m[e]=new t}));var _=r.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.wI)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(i="rect",r=m[i]),y[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function w(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Z(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}}),s.__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function S(t,e){if(null!=t)return(0,i.kJ)(t)||(t=[t,t]),[(0,c.GM)(t[0],e[0])||0,(0,c.GM)((0,i.pD)(t[1],t[0]),e[1])||0]}},54849:function(t,e,n){n.d(e,{P2:function(){return a},T9:function(){return s},ZH:function(){return l}});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var f=function(){for(var t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];i=(new Date).getTime(),o=this,a=t;var p=s||e,d=s||n;s=null,r=i-(d?l:u)-p,clearTimeout(h),d?h=setTimeout(c,p):r>=0?c():h=setTimeout(c,-r),l=i};return f.clear=function(){h&&(clearTimeout(h),h=null)},f.debounceNextCall=function(t){s=t},f}function s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o],c=l[r];if(c!==n||h!==s){if(null==n||!s)return t[e]=u;l=t[e]=a(u,n,"debounce"===s),l[i]=u,l[o]=s,l[r]=n}return l}}function l(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},31360:function(t,e,n){n.d(e,{WU:function(){return u}});var i=n(41201),r=n(62645),o=n(85632),a={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},s="{yyyy}-{MM}-{dd}";a.hour,a.minute,a.second,a.none;function l(t,e){return t+="","0000".substr(0,e-t.length)+t}function u(t,e,n,a){var s=i.sG(t),u=s[h(n)](),y=s[c(n)]()+1,m=Math.floor((y-1)/3)+1,_=s[f(n)](),x=s["get"+(n?"UTC":"")+"Day"](),w=s[p(n)](),S=(w-1)%12+1,b=s[d(n)](),T=s[g(n)](),M=s[v(n)](),D=w>=12?"pm":"am",k=D.toUpperCase(),I=a instanceof o.Z?a:(0,r.G8)(a||r.sO)||(0,r.Li)(),C=I.getModel("time"),P=C.get("month"),A=C.get("monthAbbr"),L=C.get("dayOfWeek"),O=C.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,D+"").replace(/{A}/g,k+"").replace(/{yyyy}/g,u+"").replace(/{yy}/g,l(u%100+"",2)).replace(/{Q}/g,m+"").replace(/{MMMM}/g,P[y-1]).replace(/{MMM}/g,A[y-1]).replace(/{MM}/g,l(y,2)).replace(/{M}/g,y+"").replace(/{dd}/g,l(_,2)).replace(/{d}/g,_+"").replace(/{eeee}/g,L[x]).replace(/{ee}/g,O[x]).replace(/{e}/g,x+"").replace(/{HH}/g,l(w,2)).replace(/{H}/g,w+"").replace(/{hh}/g,l(S+"",2)).replace(/{h}/g,S+"").replace(/{mm}/g,l(b,2)).replace(/{m}/g,b+"").replace(/{ss}/g,l(T,2)).replace(/{s}/g,T+"").replace(/{SSS}/g,l(M,3)).replace(/{S}/g,M+"")}function h(t){return t?"getUTCFullYear":"getFullYear"}function c(t){return t?"getUTCMonth":"getMonth"}function f(t){return t?"getUTCDate":"getDate"}function p(t){return t?"getUTCHours":"getHours"}function d(t){return t?"getUTCMinutes":"getMinutes"}function g(t){return t?"getUTCSeconds":"getSeconds"}function v(t){return t?"getUTCMilliseconds":"getMilliseconds"}},86594:function(t,e,n){n.d(e,{J5:function(){return u},RA:function(){return h},Wc:function(){return f},XD:function(){return a},cy:function(){return o},f7:function(){return r},fY:function(){return c},hL:function(){return l},qb:function(){return s}});var i=n(95797),r=(0,i.kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),o="original",a="arrayRows",s="objectRows",l="keyedColumns",u="typedArray",h="unknown",c="column",f="row"},16804:function(t,e,n){n.d(e,{Z:function(){return x}});var i=n(95797),r=n(3082),o=n(40259),a=n(6990),s=n(38496),l=n(10859),u=n(17787);function h(){var t=(0,s.Yf)();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}var c=n(43092),f=s.Yf(),p=h(),d=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:y,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&v(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&v(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){f(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function g(t,e,n){t&&(0,l.Av)(t)&&("emphasis"===e?l.fD:l.Mh)(t,n)}function v(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),(function(e){g(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){g(t,n,o)}))}function y(t){return p(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&f(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.dm(d,["dispose"]),a.au(d);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},x=d},59160:function(t,e,n){var i=n(3082),r=n(40259),o=n(6990),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.dm(a),o.au(a),e["Z"]=a},88452:function(t,e,n){var i=n(87184),r=n(6997),o=n(96805),a=n(18626),s=n(66332),l=n(95797),u=n(25815),h=n(76171),c=n(8088),f="__zr_normal__",p=i.dN.concat(["ignore"]),d=(0,l.u4)(i.dN,(function(t,e){return t[e]=!0,t}),{ignore:!1}),g={},v=new o.Z(0,0,0,0),y=function(){function t(t){this.id=(0,l.M8)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,l=!1;r.parent=i?this:null;var u=!1;if(r.copyTransform(e),null!=n.position){var h=v;n.layoutRect?h.copy(n.layoutRect):h.copy(this.getBoundingRect()),i||h.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,h):(0,s.wI)(g,n,h),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var f=n.origin;if(f&&null!=n.rotation){var p=void 0,d=void 0;"center"===f?(p=.5*h.width,d=.5*h.height):(p=(0,s.GM)(f[0],h.width),d=(0,s.GM)(f[1],h.height)),u=!0,r.originX=-r.x+p+(i?0:h.x),r.originY=-r.y+d+(i?0:h.y)}}null!=n.rotation&&(r.rotation=n.rotation);var y=n.offset;y&&(r.x+=y[0],r.y+=y[1],u||(r.originX=-y[0],r.originY=-y[1]));var m=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,w=void 0,S=void 0;m&&this.canBeInsideText()?(x=n.insideFill,w=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=w&&"auto"!==w||(w=this.getInsideTextStroke(x),S=!0)):(x=n.outsideFill,w=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=w&&"auto"!==w||(w=this.getOutsideStroke(x),S=!0)),x=x||"#000",x===_.fill&&w===_.stroke&&S===_.autoStroke&&o===_.align&&a===_.verticalAlign||(l=!0,_.fill=x,_.stroke=w,_.autoStroke=S,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),e.__dirty|=c.YV,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&(0,h.Qc)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,(0,h.Pz)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.l7)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if((0,l.Kn)(t))for(var n=t,i=(0,l.XP)(n),r=0;r<i.length;r++){var o=i[r];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==f)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,p)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(f,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===f,o=this.hasState();if(o||!r){var a=this.currentStates,s=this.stateTransition;if(!((0,l.cq)(a,t)>=0)||!e&&1!==a.length){var u;if(this.stateProxy&&!r&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),u||r){r||this.saveCurrentToNormalState(u);var h=!!(u&&u.hoverLayer||i);h&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var p=this._textContent,d=this._textGuide;return p&&p.useState(t,e,n,h),d&&d.useState(t,e,n,h),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),u}(0,l.H)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],f=!!(h&&h.hoverLayer||n);f&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(i),d=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var g=this._textContent,v=this._textGuide;g&&g.useStates(t,e,f),v&&v.useStates(t,e,f),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}else this.clearStates()},t.prototype.isSilent=function(){var t=this.silent,e=this.parent;while(!t&&e){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.cq)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,l.cq)(i,t),o=(0,l.cq)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];(0,l.l7)(n,r),r.textConfig&&(e=e||{},(0,l.l7)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.l7)({},i?this.textConfig:n.textConfig),(0,l.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,h=0;h<p.length;h++){var c=p[h],f=r&&d[c];e&&null!=e[c]?f?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(f?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(h=0;h<this.animators.length;h++){var g=this.animators[h],v=g.targetName;g.getLoop()||g.__changeFinalValue(v?(e||n)[v]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var o=new r.Z(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=(0,l.cq)(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){if(!this[n]){var t=this[n]=[];o(this,t)}return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,r){n=n||{};var o=[];T(t,"",t,e,n,i,o,r);var a=o.length,s=!1,l=n.done,u=n.aborted,h=function(){s=!0,a--,a<=0&&(s?l&&l():u&&u())},c=function(){a--,a<=0&&(s?l&&l():u&&u())};a||l&&l(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var f=0;f<o.length;f++){var p=o[f];h&&p.done(h),c&&p.aborted(c),n.force&&p.duration(n.duration),p.start(n.easing)}return o}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function x(t){return(0,l.zG)(t[0])}function w(t,e,n){if((0,l.zG)(e[n]))if((0,l.zG)(t[n])||(t[n]=[]),(0,l.fU)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(x(r))for(var s=r[0].length,u=0;u<a;u++)o[u]?_(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else _(o,r,a);o.length=r.length}else t[n]=e[n]}function S(t,e){return t===e||(0,l.zG)(t)&&(0,l.zG)(e)&&b(t,e)}function b(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function T(t,e,n,i,o,a,s,u){for(var h=(0,l.XP)(i),c=o.duration,f=o.delay,p=o.additive,d=o.setToFinal,g=!(0,l.Kn)(a),v=t.animators,y=[],m=0;m<h.length;m++){var _=h[m],x=i[_];if(null!=x&&null!=n[_]&&(g||a[_]))if(!(0,l.Kn)(x)||(0,l.zG)(x)||(0,l.Qq)(x))y.push(_);else{if(e){u||(n[_]=x,t.updateDuringAnimation(e));continue}T(t,_,n[_],x,o,a&&a[_],s,u)}else u||(n[_]=x,t.updateDuringAnimation(e),y.push(_))}var b=y.length;if(!p&&b)for(var M=0;M<v.length;M++){var D=v[M];if(D.targetName===e){var k=D.stopTracks(y);if(k){var I=(0,l.cq)(v,D);v.splice(I,1)}}}if(o.force||(y=(0,l.hX)(y,(function(t){return!S(i[t],n[t])})),b=y.length),b>0||o.force&&!s.length){var C=void 0,P=void 0,A=void 0;if(u){P={},d&&(C={});for(M=0;M<b;M++){_=y[M];P[_]=n[_],d?C[_]=i[_]:n[_]=i[_]}}else if(d){A={};for(M=0;M<b;M++){_=y[M];A[_]=(0,r.V)(n[_]),w(n,i,_)}}D=new r.Z(n,!1,!1,p?(0,l.hX)(v,(function(t){return t.targetName===e})):null);D.targetName=e,o.scope&&(D.scope=o.scope),d&&C&&D.whenWithKeys(0,C,y),A&&D.whenWithKeys(0,A,y),D.whenWithKeys(null==c?500:c,u?P:i,y).delay(f||0),t.addAnimator(D,e),s.push(D)}}(0,l.jB)(y,a.Z),(0,l.jB)(y,i.ZP),e["Z"]=y},6997:function(t,e,n){n.d(e,{V:function(){return b},Z:function(){return N}});var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},r=i,o=n(95797),a=n(3816),s=/cubic-bezier\(([0-9,\.e ]+)\)/;function l(t){var e=t&&s.exec(t);if(e){var n=e[1].split(","),i=+(0,o.fy)(n[0]),r=+(0,o.fy)(n[1]),l=+(0,o.fy)(n[2]),u=+(0,o.fy)(n[3]);if(isNaN(i+r+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,a.kD)(0,i,l,1,t,h)&&(0,a.af)(0,r,u,1,h[0])}}}var u=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||o.ZT,this.ondestroy=t.ondestroy||o.ZT,this.onrestart=t.onrestart||o.ZT,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,o.mf)(t)?t:r[t]||l(t)},t}(),h=u,c=n(76171),f=n(59979);Math.round;function p(t){return"linear"===t.type}function d(t){return"radial"===t.type}(function(){f.Z.hasGlobalWindow&&(0,o.mf)(window.btoa)})();var g=Array.prototype.slice;function v(t,e,n){return(e-t)*n+t}function y(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=v(e[o],n[o],i);return t}function m(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=v(e[a][s],n[a][s],i)}return t}function _(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function x(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function w(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function S(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a){var s=o>a;if(s)i.length=a;else for(var l=o;l<a;l++)i.push(1===n?r[l]:g.call(r[l]))}var u=i[0]&&i[0].length;for(l=0;l<i.length;l++)if(1===n)isNaN(i[l])&&(i[l]=r[l]);else for(var h=0;h<u;h++)isNaN(i[l][h])&&(i[l][h]=r[l][h])}}function b(t){if((0,o.zG)(t)){var e=t.length;if((0,o.zG)(t[0])){for(var n=[],i=0;i<e;i++)n.push(g.call(t[i]));return n}return g.call(t)}return t}function T(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function M(t){return(0,o.zG)(t&&t[0])?2:1}var D=0,k=1,I=2,C=3,P=4,A=5,L=6;function O(t){return t===P||t===A}function R(t){return t===k||t===I}var Z=[0,0,0,0],z=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,a=i.length,s=!1,u=L,h=e;if((0,o.zG)(e)){var f=M(e);u=f,(1===f&&!(0,o.hj)(e[0])||2===f&&!(0,o.hj)(e[0][0]))&&(s=!0)}else if((0,o.hj)(e)&&!(0,o.Bu)(e))u=D;else if((0,o.HD)(e))if(isNaN(+e)){var g=c.Qc(e);g&&(h=g,u=C)}else u=D;else if((0,o.Qq)(e)){var v=(0,o.l7)({},h);v.colorStops=(0,o.UI)(e.colorStops,(function(t){return{offset:t.offset,color:c.Qc(t.color)}})),p(e)?u=P:d(e)&&(u=A),h=v}0===a?this.valType=u:u===this.valType&&u!==L||(s=!0),this.discrete=this.discrete||s;var y={time:t,value:h,rawValue:e,percent:0};return n&&(y.easing=n,y.easingFunc=(0,o.mf)(n)?n:r[n]||l(n)),i.push(y),y},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=R(i),l=O(i),u=0;u<r;u++){var h=n[u],c=h.value,f=o.value;h.percent=h.time/t,a||(s&&u!==r-1?S(c,f,i):l&&w(c.colorStops,f.colorStops))}if(!a&&i!==A&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var p=n[0].value;for(u=0;u<r;u++)i===D?n[u].additiveValue=n[u].value-p:i===C?n[u].additiveValue=_([],n[u].value,p,-1):R(i)&&(n[u].additiveValue=i===k?_([],n[u].value,p,-1):x([],n[u].value,p,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,c=this.propName,f=l===C,p=this._lastFr,d=Math.min;if(1===h)i=r=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){var g=d(p+1,h-1);for(n=g;n>=0;n--)if(u[n].percent<=e)break;n=d(n,h-2)}else{for(n=p;n<h;n++)if(u[n].percent>e)break;n=d(n-1,h-2)}r=u[n+1],i=u[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var _=r.percent-i.percent,x=0===_?1:d((e-i.percent)/_,1);r.easingFunc&&(x=r.easingFunc(x));var w=a?this._additiveValue:f?Z:t[c];if(!R(l)&&!f||w||(w=this._additiveValue=[]),this.discrete)t[c]=x<1?i.rawValue:r.rawValue;else if(R(l))l===k?y(w,i[s],r[s],x):m(w,i[s],r[s],x);else if(O(l)){var S=i[s],b=r[s],M=l===P;t[c]={type:M?"linear":"radial",x:v(S.x,b.x,x),y:v(S.y,b.y,x),colorStops:(0,o.UI)(S.colorStops,(function(t,e){var n=b.colorStops[e];return{offset:v(t.offset,n.offset,x),color:T(y([],t.color,n.color,x))}})),global:b.global},M?(t[c].x2=v(S.x2,b.x2,x),t[c].y2=v(S.y2,b.y2,x)):t[c].r=v(S.r,b.r,x)}else if(f)y(w,i[s],r[s],x),a||(t[c]=T(w));else{var D=v(i[s],r[s],x);a?this._additiveValue=D:t[c]=D}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===D?t[n]=t[n]+i:e===C?(c.Qc(t[n],Z),_(Z,Z,i,1),t[n]=T(Z)):e===k?_(t[n],t[n],i,1):e===I&&x(t[n],t[n],i,1)},t}(),B=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?(0,o.H)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,o.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new z(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,u.valType===C&&l&&(l=T(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,b(l),i),this._trackKeys.push(a)}s.addKeyframe(t,b(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),l=a.keyframes,u=l.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=l[u-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var f=new h({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=f,this.animation&&this.animation.addClip(f),t&&f.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,o.UI)(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=b(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,o.XP)(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var s=a.pop();r.addKeyframe(s.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}(),N=B},33851:function(t,e,n){var i,r=n(59979);i=r.Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)},e["Z"]=i},85621:function(t,e,n){n.d(e,{Dm:function(){return H},RV:function(){return F},RZ:function(){return w}});var i=n(68992),r=n(355),o=n(50322),a=n(24250),s=n(47397),l=n(12222),u=n(29912),h=n(95797);function c(t,e){return t&&"solid"!==t&&e>0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:(0,h.hj)(t)?[t]:(0,h.kJ)(t)?t:null:null}function f(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&c(e.lineDash,e.lineWidth),i=e.lineDashOffset;if(n){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(n=(0,h.UI)(n,(function(t){return t/r})),i/=r)}return[n,i]}var p=n(8088),d=n(9886),g=new r.Z(!0);function v(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function y(t){return"string"===typeof t&&"none"!==t}function m(t){var e=t.fill;return null!=e&&"none"!==e}function _(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function x(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function w(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}function S(t,e,n,i){var r,o=v(n),s=m(n),l=n.strokePercent,u=l<1,h=!e.path;e.silent&&!u||!h||e.createPathProxy();var c=e.path||g,d=e.__dirty;if(!i){var y=n.fill,S=n.stroke,b=s&&!!y.colorStops,T=o&&!!S.colorStops,M=s&&!!y.image,D=o&&!!S.image,k=void 0,I=void 0,C=void 0,P=void 0,A=void 0;(b||T)&&(A=e.getBoundingRect()),b&&(k=d?(0,a.ZF)(t,y,A):e.__canvasFillGradient,e.__canvasFillGradient=k),T&&(I=d?(0,a.ZF)(t,S,A):e.__canvasStrokeGradient,e.__canvasStrokeGradient=I),M&&(C=d||!e.__canvasFillPattern?w(t,y,e):e.__canvasFillPattern,e.__canvasFillPattern=C),D&&(P=d||!e.__canvasStrokePattern?w(t,S,e):e.__canvasStrokePattern,e.__canvasStrokePattern=C),b?t.fillStyle=k:M&&(C?t.fillStyle=C:s=!1),T?t.strokeStyle=I:D&&(P?t.strokeStyle=P:o=!1)}var L,O,R=e.getGlobalScale();c.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(r=f(e),L=r[0],O=r[1]);var Z=!0;(h||d&p.RH)&&(c.setDPR(t.dpr),u?c.setContext(null):(c.setContext(t),Z=!1),c.reset(),e.buildPath(c,e.shape,i),c.toStatic(),e.pathUpdated()),Z&&c.rebuildPath(t,u?l:1),L&&(t.setLineDash(L),t.lineDashOffset=O),i||(n.strokeFirst?(o&&x(t,n),s&&_(t,n)):(s&&_(t,n),o&&x(t,n))),L&&t.setLineDash([])}function b(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){h=n.sx,c=n.sy;var f=s-h,p=l-c;t.drawImage(i,h,c,f,p,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}function T(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||d.Uo,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(i=f(e),o=i[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(v(n)&&t.strokeText(r,n.x,n.y),m(n)&&t.fillText(r,n.x,n.y)):(m(n)&&t.fillText(r,n.x,n.y),v(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}var M=["shadowBlur","shadowOffsetX","shadowOffsetY"],D=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function k(t,e,n,r,o){var a=!1;if(!r&&(n=n||{},e===n))return!1;if(r||e.opacity!==n.opacity){N(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(N(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var l=0;l<M.length;l++){var u=M[l];(r||e[u]!==n[u])&&(a||(N(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(N(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function I(t,e,n,i,r){var o=E(e,r.inHover),a=i?null:n&&E(n,r.inHover)||{};if(o===a)return!1;var s=k(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(N(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(N(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(N(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth,u=l/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(N(t,r),s=!0),t.lineWidth=u)}for(var h=0;h<D.length;h++){var c=D[h],f=c[0];(i||o[f]!==a[f])&&(s||(N(t,r),s=!0),t[f]=o[f]||c[1])}return s}function C(t,e,n,i,r){return k(t,E(e,r.inHover),n&&E(n,r.inHover),i,r)}function P(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function A(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),P(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}function L(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var O=1,R=2,Z=3,z=4;function B(t){var e=m(t),n=v(t);return!(t.lineDash||!(+e^+n)||e&&"string"!==typeof t.fill||n&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function N(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function E(t,e){return e&&t.__hoverStyle||t.style}function F(t,e){H(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function H(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~p.YV,void(e.__isRendered=!1);var o=e.__clipPaths,h=n.prevElClipPaths,c=!1,f=!1;if(h&&!(0,a.cF)(o,h)||(h&&h.length&&(N(t,n),t.restore(),f=c=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),o&&o.length&&(N(t,n),t.save(),A(o,t,n),c=!0),n.prevElClipPaths=o),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var d=n.prevEl;d||(f=c=!0);var g=e instanceof s.ZP&&e.autoBatch&&B(e.style);c||L(r,d.transform)?(N(t,n),P(t,e)):g||N(t,n);var v=E(e,n.inHover);e instanceof s.ZP?(n.lastDrawType!==O&&(f=!0,n.lastDrawType=O),I(t,e,d,f,n),g&&(n.batchFill||n.batchStroke)||t.beginPath(),S(t,e,v,g),g&&(n.batchFill=v.fill||"",n.batchStroke=v.stroke||"")):e instanceof u.Z?(n.lastDrawType!==Z&&(f=!0,n.lastDrawType=Z),I(t,e,d,f,n),T(t,e,v)):e instanceof l.ZP?(n.lastDrawType!==R&&(f=!0,n.lastDrawType=R),C(t,e,d,f,n),b(t,e,v)):e.getTemporalDisplayables&&(n.lastDrawType!==z&&(f=!0,n.lastDrawType=z),W(t,e,n)),g&&i&&N(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}function W(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){var l=i[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),H(t,l,s,o===a-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=r.length;u<h;u++){l=r[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),H(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}},24250:function(t,e,n){function i(t){return isFinite(t)}function r(t,e,n){var r=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,s=null==e.y2?0:e.y2;e.global||(r=r*n.width+n.x,o=o*n.width+n.x,a=a*n.height+n.y,s=s*n.height+n.y),r=i(r)?r:0,o=i(o)?o:1,a=i(a)?a:0,s=i(s)?s:0;var l=t.createLinearGradient(r,a,o,s);return l}function o(t,e,n){var r=n.width,o=n.height,a=Math.min(r,o),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r;e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5;var h=t.createRadialGradient(s,l,0,s,l,u);return h}function a(t,e,n){for(var i="radial"===e.type?o(t,e,n):r(t,e,n),a=e.colorStops,s=0;s<a.length;s++)i.addColorStop(a[s].offset,a[s].color);return i}function s(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function l(t){return parseInt(t,10)}function u(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],a=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var s=document.defaultView.getComputedStyle(t);return(t[r]||l(s[i])||l(t.style[i]))-(l(s[o])||0)-(l(s[a])||0)|0}n.d(e,{ZF:function(){return a},ap:function(){return u},cF:function(){return s}})},25815:function(t,e,n){n.d(e,{Ak:function(){return a},GD:function(){return l},KL:function(){return o},iv:function(){return u},vU:function(){return s}});var i=n(59979),r=1;i.Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},66332:function(t,e,n){n.d(e,{Dp:function(){return f},GM:function(){return p},M3:function(){return h},dz:function(){return s},lP:function(){return u},mU:function(){return c},wI:function(){return d}});var i=n(96805),r=n(86634),o=n(9886),a={};function s(t,e){e=e||o.Uo;var n=a[e];n||(n=a[e]=new r.ZP(500));var i=n.get(t);return null==i&&(i=o.qW.measureText(t,e).width,n.put(t,i)),i}function l(t,e,n,r){var o=s(t,e),a=f(e),l=h(0,o,n),u=c(0,a,r),p=new i.Z(l,u,o,a);return p}function u(t,e,n,r){var o=((t||"")+"").split("\n"),a=o.length;if(1===a)return l(o[0],e,n,r);for(var s=new i.Z(0,0,0,0),u=0;u<o.length;u++){var h=l(o[u],e,n,r);0===u?s.copy(h):s.union(h)}return s}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function f(t){return s("国",t)}function p(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=p(i[0],n.width),u+=p(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=h,t.verticalAlign=c,t}},79214:function(t,e,n){n.d(e,{m:function(){return r}});var i=2*Math.PI;function r(t){return t%=i,t<0&&(t+=i),t}},96805:function(t,e,n){var i=n(66012),r=n(11123),o=Math.min,a=Math.max,s=new r.Z,l=new r.Z,u=new r.Z,h=new r.Z,c=new r.Z,f=new r.Z,p=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,r=t.height/e.height,o=i.Ue();return i.Iu(o,o,[-e.x,-e.y]),i.bA(o,o,[n,r]),i.Iu(o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,o=i.x,a=i.x+i.width,s=i.y,l=i.y+i.height,u=e.x,h=e.x+e.width,p=e.y,d=e.y+e.height,g=!(a<u||h<o||l<p||d<s);if(n){var v=1/0,y=0,m=Math.abs(a-u),_=Math.abs(h-o),x=Math.abs(l-p),w=Math.abs(d-s),S=Math.min(m,_),b=Math.min(x,w);a<u||h<o?S>y&&(y=S,m<_?r.Z.set(f,-m,0):r.Z.set(f,_,0)):S<v&&(v=S,m<_?r.Z.set(c,m,0):r.Z.set(c,-_,0)),l<p||d<s?b>y&&(y=b,x<w?r.Z.set(f,0,-x):r.Z.set(f,0,w)):S<v&&(v=S,x<w?r.Z.set(c,0,x):r.Z.set(c,0,-w))}return n&&r.Z.copy(n,g?c:f),g},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],f=i[4],p=i[5];return e.x=n.x*r+f,e.y=n.y*c+p,e.width=n.width*r,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=u.x=n.x,s.y=h.y=n.y,l.x=h.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(i),h.transform(i),l.transform(i),u.transform(i),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var d=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=d-e.x,e.height=g-e.y}else e!==n&&t.copy(e,n)},t}();e["Z"]=p},18626:function(t,e){var n=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e);break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1));break}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}();e["Z"]=n},86634:function(t,e,n){var i=function(){function t(t){this.value=t}return t}(),r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();e["ZP"]=o},63772:function(t,e,n){var i=n(11123),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z,l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.Z;for(n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r)||r||i.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(u=!1,s)return u;var f=Math.abs(o[0]-r[1]),p=Math.abs(r[0]-o[1]);Math.min(f,p)>a.len()&&(f<p?i.Z.scale(a,c,-f*l):i.Z.scale(a,c,p*l))}else if(n){f=Math.abs(o[0]-r[1]),p=Math.abs(r[0]-o[1]);Math.min(f,p)<n.len()&&(f<p?i.Z.scale(n,c,f*l):i.Z.scale(n,c,-p*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}();e["Z"]=l},355:function(t,e,n){n.d(e,{Z:function(){return F},L:function(){return N}});var i=n(15468),r=n(96805),o=n(25815),a=n(3816),s=Math.min,l=Math.max,u=Math.sin,h=Math.cos,c=2*Math.PI,f=i.Ue(),p=i.Ue(),d=i.Ue();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=l(t,n),o[1]=l(e,i)}var v=[],y=[];function m(t,e,n,i,r,o,u,h,c,f){var p=a.pP,d=a.af,g=p(t,n,r,u,v);c[0]=1/0,c[1]=1/0,f[0]=-1/0,f[1]=-1/0;for(var m=0;m<g;m++){var _=d(t,n,r,u,v[m]);c[0]=s(_,c[0]),f[0]=l(_,f[0])}g=p(e,i,o,h,y);for(m=0;m<g;m++){var x=d(e,i,o,h,y[m]);c[1]=s(x,c[1]),f[1]=l(x,f[1])}c[0]=s(t,c[0]),f[0]=l(t,f[0]),c[0]=s(u,c[0]),f[0]=l(u,f[0]),c[1]=s(e,c[1]),f[1]=l(e,f[1]),c[1]=s(h,c[1]),f[1]=l(h,f[1])}function _(t,e,n,i,r,o,u,h){var c=a.QC,f=a.Zm,p=l(s(c(t,n,r),1),0),d=l(s(c(e,i,o),1),0),g=f(t,n,r,p),v=f(e,i,o,d);u[0]=s(t,r,g),u[1]=s(e,o,v),h[0]=l(t,r,g),h[1]=l(e,o,v)}function x(t,e,n,r,o,a,s,l,g){var v=i.VV,y=i.Fp,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4)return l[0]=t-n,l[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(f[0]=h(o)*n+t,f[1]=u(o)*r+e,p[0]=h(a)*n+t,p[1]=u(a)*r+e,v(l,f,p),y(g,f,p),o%=c,o<0&&(o+=c),a%=c,a<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(d[0]=h(x)*n+t,d[1]=u(x)*r+e,v(l,d,l),y(g,d,g))}var w={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},S=[],b=[],T=[],M=[],D=[],k=[],I=Math.min,C=Math.max,P=Math.cos,A=Math.sin,L=Math.abs,O=Math.PI,R=2*O,Z="undefined"!==typeof Float32Array,z=[];function B(t){var e=Math.round(t/O*1e8)/1e8;return e%2*O}function N(t,e){var n=B(t[0]);n<0&&(n+=R);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=R?r=n+R:e&&n-r>=R?r=n-R:!e&&n>r?r=n+(R-B(n-r)):e&&n<r&&(r=n-(R-B(r-n))),t[0]=n,t[1]=r}var E=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){n=n||0,n>0&&(this._ux=L(n/o.KL/t)||0,this._uy=L(n/o.KL/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(w.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=L(t-this._xi),i=L(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(w.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(w.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(w.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),z[0]=i,z[1]=r,N(z,o),i=z[0],r=z[1];var a=r-i;return this.addData(w.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=P(r)*n+t,this._yi=A(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(w.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(w.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Z||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();Z&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},t.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Z&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){T[0]=T[1]=D[0]=D[1]=Number.MAX_VALUE,M[0]=M[1]=k[0]=k[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,a=0,s=0;for(t=0;t<this._len;){var l=e[t++],u=1===t;switch(u&&(n=e[t],o=e[t+1],a=n,s=o),l){case w.M:n=a=e[t++],o=s=e[t++],D[0]=a,D[1]=s,k[0]=a,k[1]=s;break;case w.L:g(n,o,e[t],e[t+1],D,k),n=e[t++],o=e[t++];break;case w.C:m(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],D,k),n=e[t++],o=e[t++];break;case w.Q:_(n,o,e[t++],e[t++],e[t],e[t+1],D,k),n=e[t++],o=e[t++];break;case w.A:var h=e[t++],c=e[t++],f=e[t++],p=e[t++],d=e[t++],v=e[t++]+d;t+=1;var y=!e[t++];u&&(a=P(d)*f+h,s=A(d)*p+c),x(h,c,f,p,d,v,y,D,k),n=P(v)*f+h,o=A(v)*p+c;break;case w.R:a=n=e[t++],s=o=e[t++];var S=e[t++],b=e[t++];g(a,s,a+S,s+b,D,k);break;case w.Z:n=a,o=s;break}i.VV(T,T,D),i.Fp(M,M,k)}return 0===t&&(T[0]=T[1]=M[0]=M[1]=0),new r.Z(T[0],T[1],M[0]-T[0],M[1]-T[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,h=0,c=0,f=0;f<e;){var p=t[f++],d=1===f;d&&(r=t[f],o=t[f+1],s=r,l=o);var g=-1;switch(p){case w.M:r=s=t[f++],o=l=t[f++];break;case w.L:var v=t[f++],y=t[f++],m=v-r,_=y-o;(L(m)>n||L(_)>i||f===e-1)&&(g=Math.sqrt(m*m+_*_),r=v,o=y);break;case w.C:var x=t[f++],S=t[f++],b=(v=t[f++],y=t[f++],t[f++]),T=t[f++];g=(0,a.Ci)(r,o,x,S,v,y,b,T,10),r=b,o=T;break;case w.Q:x=t[f++],S=t[f++],v=t[f++],y=t[f++];g=(0,a.wQ)(r,o,x,S,v,y,10),r=v,o=y;break;case w.A:var M=t[f++],D=t[f++],k=t[f++],O=t[f++],Z=t[f++],z=t[f++],B=z+Z;f+=1,d&&(s=P(Z)*k+M,l=A(Z)*O+D),g=C(k,O)*I(R,Math.abs(z)),r=P(B)*k+M,o=A(B)*O+D;break;case w.R:s=r=t[f++],l=o=t[f++];var N=t[f++],E=t[f++];g=2*N+2*E;break;case w.Z:m=s-r,_=l-o;g=Math.sqrt(m*m+_*_),r=s,o=l;break}g>=0&&(u[c++]=g,h+=g)}return this._pathLen=h,h},t.prototype.rebuildPath=function(t,e){var n,i,r,o,s,l,u,h,c,f,p,d=this.data,g=this._ux,v=this._uy,y=this._len,m=e<1,_=0,x=0,T=0;if(!m||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,h=this._pathLen,c=e*h,c))t:for(var M=0;M<y;){var D=d[M++],k=1===M;switch(k&&(r=d[M],o=d[M+1],n=r,i=o),D!==w.L&&T>0&&(t.lineTo(f,p),T=0),D){case w.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case w.L:s=d[M++],l=d[M++];var O=L(s-r),R=L(l-o);if(O>g||R>v){if(m){var Z=u[x++];if(_+Z>c){var z=(c-_)/Z;t.lineTo(r*(1-z)+s*z,o*(1-z)+l*z);break t}_+=Z}t.lineTo(s,l),r=s,o=l,T=0}else{var B=O*O+R*R;B>T&&(f=s,p=l,T=B)}break;case w.C:var N=d[M++],E=d[M++],F=d[M++],H=d[M++],W=d[M++],V=d[M++];if(m){Z=u[x++];if(_+Z>c){z=(c-_)/Z;(0,a.Vz)(r,N,F,W,z,S),(0,a.Vz)(o,E,H,V,z,b),t.bezierCurveTo(S[1],b[1],S[2],b[2],S[3],b[3]);break t}_+=Z}t.bezierCurveTo(N,E,F,H,W,V),r=W,o=V;break;case w.Q:N=d[M++],E=d[M++],F=d[M++],H=d[M++];if(m){Z=u[x++];if(_+Z>c){z=(c-_)/Z;(0,a.Lx)(r,N,F,z,S),(0,a.Lx)(o,E,H,z,b),t.quadraticCurveTo(S[1],b[1],S[2],b[2]);break t}_+=Z}t.quadraticCurveTo(N,E,F,H),r=F,o=H;break;case w.A:var G=d[M++],U=d[M++],X=d[M++],Y=d[M++],q=d[M++],K=d[M++],j=d[M++],J=!d[M++],Q=X>Y?X:Y,$=L(X-Y)>.001,tt=q+K,et=!1;if(m){Z=u[x++];_+Z>c&&(tt=q+K*(c-_)/Z,et=!0),_+=Z}if($&&t.ellipse?t.ellipse(G,U,X,Y,j,q,tt,J):t.arc(G,U,Q,q,tt,J),et)break t;k&&(n=P(q)*X+G,i=A(q)*Y+U),r=P(tt)*X+G,o=A(tt)*Y+U;break;case w.R:n=r=d[M],i=o=d[M+1],s=d[M++],l=d[M++];var nt=d[M++],it=d[M++];if(m){Z=u[x++];if(_+Z>c){var rt=c-_;t.moveTo(s,l),t.lineTo(s+I(rt,nt),l),rt-=nt,rt>0&&t.lineTo(s+nt,l+I(rt,it)),rt-=it,rt>0&&t.lineTo(s+C(nt-rt,0),l+it),rt-=nt,rt>0&&t.lineTo(s,l+C(it-rt,0));break t}_+=Z}t.rect(s,l,nt,it);break;case w.Z:if(m){Z=u[x++];if(_+Z>c){z=(c-_)/Z;t.lineTo(r*(1-z)+n*z,o*(1-z)+i*z);break t}_+=Z}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=w,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}(),F=E},11123:function(t,e){var n=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}();e["Z"]=n},87184:function(t,e,n){n.d(e,{dN:function(){return p}});var i=n(66012),r=n(15468),o=i.yR,a=5e-5;function s(t){return t>a||t<-a}var l=[],u=[],h=i.Ue(),c=Math.abs,f=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(o(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(l);var n=l[0]<0?-1:1,r=l[1]<0?-1:1,o=((l[0]-n)*e+n)/l[0]||0,a=((l[1]-r)*e+r)/l[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.Ue(),i.dC(u,t.invTransform,e),e=u);var n=this.originX,r=this.originY;(n||r)&&(h[4]=n,h[5]=r,i.dC(u,e,h),u[4]-=n,u[5]-=r,e=u),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.Ne(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){d(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,f=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var d=n+s,g=r+l;e[4]=-d*o-f*g*a,e[5]=-g*a-p*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=p*o,e[2]=f*a,u&&i.U1(e,e,u),e[4]+=n+h,e[5]+=r+c,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(t,e){for(var n=0;n<p.length;n++){var i=p[n];t[i]=e[i]}}e["ZP"]=f},3816:function(t,e,n){n.d(e,{AZ:function(){return b},Ci:function(){return w},Jz:function(){return T},Lx:function(){return D},QC:function(){return M},Vz:function(){return _},Wr:function(){return k},X_:function(){return v},Zm:function(){return S},af:function(){return g},kD:function(){return y},pP:function(){return m},t1:function(){return x},wQ:function(){return I}});var i=n(15468),r=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,l=o(3),u=1/3,h=(0,i.Ue)(),c=(0,i.Ue)(),f=(0,i.Ue)();function p(t){return t>-a&&t<a}function d(t){return t>a||t<-a}function g(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function v(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function y(t,e,n,i,a,s){var h=i+3*(e-n)-t,c=3*(n-2*e+t),f=3*(e-t),d=t-a,g=c*c-3*h*f,v=c*f-9*h*d,y=f*f-3*c*d,m=0;if(p(g)&&p(v))if(p(c))s[0]=0;else{var _=-f/c;_>=0&&_<=1&&(s[m++]=_)}else{var x=v*v-4*g*y;if(p(x)){var w=v/g,S=(_=-c/h+w,-w/2);_>=0&&_<=1&&(s[m++]=_),S>=0&&S<=1&&(s[m++]=S)}else if(x>0){var b=o(x),T=g*c+1.5*h*(-v+b),M=g*c+1.5*h*(-v-b);T=T<0?-r(-T,u):r(T,u),M=M<0?-r(-M,u):r(M,u);_=(-c-(T+M))/(3*h);_>=0&&_<=1&&(s[m++]=_)}else{var D=(2*g*c-3*h*v)/(2*o(g*g*g)),k=Math.acos(D)/3,I=o(g),C=Math.cos(k),P=(_=(-c-2*I*C)/(3*h),S=(-c+I*(C+l*Math.sin(k)))/(3*h),(-c+I*(C-l*Math.sin(k)))/(3*h));_>=0&&_<=1&&(s[m++]=_),S>=0&&S<=1&&(s[m++]=S),P>=0&&P<=1&&(s[m++]=P)}}return m}function m(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(p(s)){if(d(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var c=a*a-4*s*l;if(p(c))r[0]=-a/(2*s);else if(c>0){var f=o(c),g=(h=(-a+f)/(2*s),(-a-f)/(2*s));h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function _(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function x(t,e,n,r,a,l,u,p,d,v,y){var m,_,x,w,S,b=.005,T=1/0;h[0]=d,h[1]=v;for(var M=0;M<1;M+=.05)c[0]=g(t,n,a,u,M),c[1]=g(e,r,l,p,M),w=(0,i.WU)(h,c),w<T&&(m=M,T=w);T=1/0;for(var D=0;D<32;D++){if(b<s)break;_=m-b,x=m+b,c[0]=g(t,n,a,u,_),c[1]=g(e,r,l,p,_),w=(0,i.WU)(c,h),_>=0&&w<T?(m=_,T=w):(f[0]=g(t,n,a,u,x),f[1]=g(e,r,l,p,x),S=(0,i.WU)(f,h),x<=1&&S<T?(m=x,T=S):b*=.5)}return y&&(y[0]=g(t,n,a,u,m),y[1]=g(e,r,l,p,m)),o(T)}function w(t,e,n,i,r,o,a,s,l){for(var u=t,h=e,c=0,f=1/l,p=1;p<=l;p++){var d=p*f,v=g(t,n,r,a,d),y=g(e,i,o,s,d),m=v-u,_=y-h;c+=Math.sqrt(m*m+_*_),u=v,h=y}return c}function S(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function b(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function T(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(p(a)){if(d(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var c=s*s-4*a*l;if(p(c)){h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(c>0){var f=o(c),g=(h=(-s+f)/(2*a),(-s-f)/(2*a));h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function M(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function D(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function k(t,e,n,r,a,l,u,p,d){var g,v=.005,y=1/0;h[0]=u,h[1]=p;for(var m=0;m<1;m+=.05){c[0]=S(t,n,a,m),c[1]=S(e,r,l,m);var _=(0,i.WU)(h,c);_<y&&(g=m,y=_)}y=1/0;for(var x=0;x<32;x++){if(v<s)break;var w=g-v,b=g+v;c[0]=S(t,n,a,w),c[1]=S(e,r,l,w);_=(0,i.WU)(c,h);if(w>=0&&_<y)g=w,y=_;else{f[0]=S(t,n,a,b),f[1]=S(e,r,l,b);var T=(0,i.WU)(f,h);b<=1&&T<y?(g=b,y=T):v*=.5}}return d&&(d[0]=S(t,n,a,g),d[1]=S(e,r,l,g)),o(y)}function I(t,e,n,i,r,o,a){for(var s=t,l=e,u=0,h=1/a,c=1;c<=a;c++){var f=c*h,p=S(t,n,r,f),d=S(e,i,o,f),g=p-s,v=d-l;u+=Math.sqrt(g*g+v*v),s=p,l=d}return u}},99837:function(t,e,n){n.d(e,{F1:function(){return v},UK:function(){return p},A4:function(){return h},YB:function(){return u}});var i=n(59979),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][h]}var c=i|1<<n,f=n+1;while(i&1<<f)f++;for(var p=0,d=0,g=0;d<u;d++){var v=1<<d;v&a||(p+=(g%2?-1:1)*t[n][d]*o(t,e-1,f,c,a|v,s),g++)}return s[l]=p,p}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,0===s?1:0,1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,i,r){return h(l,e,i,r,!0)&&h(t,n,l[0],l[1])}function h(t,e,n,r,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!p(e)){var a=e[s]||(e[s]={}),l=c(e,a),u=f(l,a,o);if(u)return u(t,n,r),!0}return!1}function c(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function f(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),f=2*h,p=c.left,d=c.top;s.push(p,d),u=u&&o&&p===o[f]&&d===o[f+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}function p(t){return"CANVAS"===t.nodeName.toUpperCase()}var d=/([&<>"'])/g,g={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function v(t){return null==t?"":(t+"").replace(d,(function(t,e){return g[e]}))}},59979:function(t,e){var n=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),i=function(){function t(){this.browser=new n,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),r=new i;function o(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?r.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(r.node=!0,r.svgSupported=!0):o(navigator.userAgent,r),e["Z"]=r},14834:function(t,e,n){n.d(e,{OD:function(){return c},Oo:function(){return p},eV:function(){return l},iP:function(){return h},sT:function(){return g},xg:function(){return d}});var i=n(59979),r=n(99837),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&+i.Z.browser.version.split(".")[0]<39;function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.UK)(t)){var l=t.getBoundingClientRect();return n.zrX=o-l.left,void(n.zrY=s-l.top)}if((0,r.A4)(a,t,o,s))return n.zrX=a[0],void(n.zrY=a[1])}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(e=h(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var a="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];a&&l(t,a,e,n)}else{l(t,e,e,n);var s=f(e);e.zrDelta=s?s/120:-(e.detail||0)/3}var u=e.button;return null==e.which&&void 0!==u&&o.test(e.type)&&(e.which=1&u?1:2&u?3:4&u?2:0),e}function f(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var g=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}},66012:function(t,e,n){function i(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function u(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function h(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}n.d(e,{Iu:function(){return s},JG:function(){return o},U1:function(){return l},U_:function(){return h},Ue:function(){return i},bA:function(){return u},dC:function(){return a},yR:function(){return r}})},9886:function(t,e,n){n.d(e,{Uo:function(){return o},n5:function(){return i},qW:function(){return c}});var i=12,r="sans-serif",o=i+"px "+r,a=20,s=100,l="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function u(t){var e={};if("undefined"===typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-a)/s;e[i]=r}return e}var h=u(l),c={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var a=c.createCanvas();t=a&&a.getContext("2d")}if(t)return e!==r&&(e=t.font=r||o),t.measureText(n);n=n||"",r=r||o;var s=/((?:\d+)?\.?\d*)px/.exec(r),l=s&&+s[1]||i,u=0;if(r.indexOf("mono")>=0)u=l*n.length;else for(var f=0;f<n.length;f++){var p=h[n[f]];u+=null==p?l:p*l}return{width:u}}}(),loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},1994:function(t,e,n){n.d(e,{Z:function(){return f}});var i=32,r=7;function o(t){var e=0;while(t>=i)e|=1&t,t>>=1;return t+e}function a(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r<n&&i(t[r],t[r-1])<0)r++;s(t,e,r)}else while(r<n&&i(t[r],t[r-1])>=0)r++;return r-e}function s(t,e,n){n--;while(e<n){var i=t[e];t[e++]=t[n],t[n--]=i}}function l(t,e,n,i,r){for(i===e&&i++;i<n;i++){var o,a=t[i],s=e,l=i;while(s<l)o=s+l>>>1,r(a,t[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function u(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){s=i-r;while(l<s&&o(t,e[n+r+l])>0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(l<s&&o(t,e[n+r-l])<=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a<l){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function h(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){s=r+1;while(l<s&&o(t,e[n+r-l])<0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l<s&&o(t,e[n+r+l])>=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a<l){var h=a+(l-a>>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function c(t,e){var n,i,o=r,a=0,s=[];function l(t,e){n[a]=t,i[a]=e,a+=1}function c(){while(a>1){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;p(t)}}function f(){while(a>1){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,p(t)}}function p(r){var o=n[r],s=i[r],l=n[r+1],c=i[r+1];i[r]=s+c,r===a-3&&(n[r+1]=n[r+2],i[r+1]=i[r+2]),a--;var f=h(t[l],t,o,s,0,e);o+=f,s-=f,0!==s&&(c=u(t[o+s-1],t,l,c,c-1,e),0!==c&&(s<=c?d(o,s,l,c):g(o,s,l,c)))}function d(n,i,a,l){var c=0;for(c=0;c<i;c++)s[c]=t[n+c];var f=0,p=a,d=n;if(t[d++]=t[p++],0!==--l)if(1!==i){var g,v,y,m=o;while(1){g=0,v=0,y=!1;do{if(e(t[p],s[f])<0){if(t[d++]=t[p++],v++,g=0,0===--l){y=!0;break}}else if(t[d++]=s[f++],g++,v=0,1===--i){y=!0;break}}while((g|v)<m);if(y)break;do{if(g=h(t[p],s,f,i,0,e),0!==g){for(c=0;c<g;c++)t[d+c]=s[f+c];if(d+=g,f+=g,i-=g,i<=1){y=!0;break}}if(t[d++]=t[p++],0===--l){y=!0;break}if(v=u(s[f],t,p,l,0,e),0!==v){for(c=0;c<v;c++)t[d+c]=t[p+c];if(d+=v,p+=v,l-=v,0===l){y=!0;break}}if(t[d++]=s[f++],1===--i){y=!0;break}m--}while(g>=r||v>=r);if(y)break;m<0&&(m=0),m+=2}if(o=m,o<1&&(o=1),1===i){for(c=0;c<l;c++)t[d+c]=t[p+c];t[d+l]=s[f]}else{if(0===i)throw new Error;for(c=0;c<i;c++)t[d+c]=s[f+c]}}else{for(c=0;c<l;c++)t[d+c]=t[p+c];t[d+l]=s[f]}else for(c=0;c<i;c++)t[d+c]=s[f+c]}function g(n,i,a,l){var c=0;for(c=0;c<l;c++)s[c]=t[a+c];var f=n+i-1,p=l-1,d=a+l-1,g=0,v=0;if(t[d--]=t[f--],0!==--i)if(1!==l){var y=o;while(1){var m=0,_=0,x=!1;do{if(e(s[p],t[f])<0){if(t[d--]=t[f--],m++,_=0,0===--i){x=!0;break}}else if(t[d--]=s[p--],_++,m=0,1===--l){x=!0;break}}while((m|_)<y);if(x)break;do{if(m=i-h(s[p],t,n,i,i-1,e),0!==m){for(d-=m,f-=m,i-=m,v=d+1,g=f+1,c=m-1;c>=0;c--)t[v+c]=t[g+c];if(0===i){x=!0;break}}if(t[d--]=s[p--],1===--l){x=!0;break}if(_=l-u(t[f],s,0,l,l-1,e),0!==_){for(d-=_,p-=_,l-=_,v=d+1,g=p+1,c=0;c<_;c++)t[v+c]=s[g+c];if(l<=1){x=!0;break}}if(t[d--]=t[f--],0===--i){x=!0;break}y--}while(m>=r||_>=r);if(x)break;y<0&&(y=0),y+=2}if(o=y,o<1&&(o=1),1===l){for(d-=i,f-=i,v=d+1,g=f+1,c=i-1;c>=0;c--)t[v+c]=t[g+c];t[d]=s[p]}else{if(0===l)throw new Error;for(g=d-(l-1),c=0;c<l;c++)t[g+c]=s[c]}}else{for(d-=i,f-=i,v=d+1,g=f+1,c=i-1;c>=0;c--)t[v+c]=t[g+c];t[d]=s[p]}else for(g=d-(l-1),c=0;c<l;c++)t[g+c]=s[c]}return n=[],i=[],{mergeRuns:c,forceMergeRuns:f,pushRun:l}}function f(t,e,n,r){n||(n=0),r||(r=t.length);var s=r-n;if(!(s<2)){var u=0;if(s<i)return u=a(t,n,r,e),void l(t,n,r,n+u,e);var h=c(t,e),f=o(s);do{if(u=a(t,n,r,e),u<f){var p=s;p>f&&(p=f),l(t,n,n+p,n+u,e),u=p}h.pushRun(n,u),h.mergeRuns(),s-=u,n+=u}while(0!==s);h.forceMergeRuns()}}},95797:function(t,e,n){n.d(e,{$j:function(){return ut},Bu:function(){return U},H:function(){return y},HD:function(){return z},I3:function(){return ft},Jv:function(){return X},Kn:function(){return E},M8:function(){return v},MY:function(){return j},Mh:function(){return W},Qq:function(){return V},R1:function(){return q},RI:function(){return ht},S6:function(){return D},TS:function(){return _},UI:function(){return k},WA:function(){return O},WW:function(){return st},XP:function(){return P},XW:function(){return b},ZT:function(){return ct},ak:function(){return L},cd:function(){return B},ce:function(){return w},cq:function(){return S},d9:function(){return m},dL:function(){return G},fU:function(){return H},fy:function(){return Q},hX:function(){return C},hj:function(){return N},hu:function(){return J},jB:function(){return T},kJ:function(){return R},kW:function(){return at},l7:function(){return x},mf:function(){return Z},nW:function(){return lt},pD:function(){return Y},s7:function(){return tt},tP:function(){return K},u4:function(){return I},zG:function(){return M}});var i=n(9886),r=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,h=s.slice,c=s.map,f=function(){}.constructor,p=f?f.prototype:null,d="__proto__",g=2311;function v(){return g++}function y(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!==typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!et(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!et(t)){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!et(t)&&!W(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==d&&(e[u]=m(t[u]));return e}function _(t,e,n){if(!E(e)||!E(t))return n?m(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==d){var r=t[i],o=e[i];!E(o)||!E(r)||R(o)||R(r)||W(o)||W(r)||F(o)||F(r)||et(o)||et(r)?!n&&i in t||(t[i]=m(e[i])):_(r,o,n)}return t}function x(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==d&&(t[n]=e[n]);return t}function w(t,e,n){for(var i=P(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}i.qW.createCanvas;function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return-1}function b(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function T(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 w(t,e,n)}function M(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function D(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function k(t,e,n){if(!t)return[];if(!e)return K(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function I(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function C(t,e,n){if(!t)return[];if(!e)return K(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function P(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 A(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}}var L=p&&Z(p.bind)?p.call.bind(p.bind):A;function O(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function Z(t){return"function"===typeof t}function z(t){return"string"===typeof t}function B(t){return"[object String]"===a.call(t)}function N(t){return"number"===typeof t}function E(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function F(t){return!!r[a.call(t)]}function H(t){return!!o[a.call(t)]}function W(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function V(t){return null!=t.colorStops}function G(t){return null!=t.image}function U(t){return t!==t}function X(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function Y(t,e){return null!=t?t:e}function q(t,e,n){return null!=t?t:null!=e?e:n}function K(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function j(t){if("number"===typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function J(t,e){if(!t)throw new Error(e)}function Q(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var $="__ec_primitive__";function tt(t){t[$]=!0}function et(t){return t[$]}var nt=function(){function t(){this.data={}}return t.prototype["delete"]=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),it="function"===typeof Map;function rt(){return it?new Map:new nt}var ot=function(){function t(e){var n=R(e);this.data=rt();var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&D(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return it?Array.from(t):t},t.prototype.removeKey=function(t){this.data["delete"](t)},t}();function at(t){return new ot(t)}function st(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];var r=t.length;for(i=0;i<e.length;i++)n[i+r]=e[i];return n}function lt(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&x(n,e),n}function ut(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function ht(t,e){return t.hasOwnProperty(e)}function ct(){}var ft=180/Math.PI},15468:function(t,e,n){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t){return Math.sqrt(l(t))}n.d(e,{Fp:function(){return m},Fv:function(){return h},IH:function(){return o},Ne:function(){return v},TE:function(){return c},TK:function(){return f},Ue:function(){return i},VV:function(){return y},WU:function(){return d},bA:function(){return u},d9:function(){return r},lu:function(){return a},t7:function(){return g}});function l(t){return t[0]*t[0]+t[1]*t[1]}function u(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function h(t,e){var n=s(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function c(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var f=c;function p(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var d=p;function g(t,e,n,i){return t[0]=e[0]+i*(n[0]-e[0]),t[1]=e[1]+i*(n[1]-e[1]),t}function v(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function y(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function m(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},68992:function(t,e,n){n.d(e,{ik:function(){return h},tj:function(){return u}});var i=n(4311),r=n(88452),o=n(96805),a=n(95797),s=n(8088),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],f=["invisible"],p=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype._init=function(e){for(var n=(0,a.XP)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&v(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent){var a=this.parent;while(a){if(a.ignore)return!1;a=a.parent}}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"===typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},e.prototype.styleUpdated=function(){this.__dirty&=~s.SE},e.prototype.createStyle=function(t){return(0,a.nW)(u,t)},e.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[l]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},e.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var p=(0,a.XP)(h),d=0;d<p.length;d++){var g=p[d];g in l&&(l[g]=l[g],this.style[g]=h[g])}var v=(0,a.XP)(l);for(d=0;d<v.length;d++){g=v[d];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);var y=this.__inHover?f:c;for(d=0;d<y.length;d++){g=y[d];n&&null!=n[g]?this[g]=n[g]:u&&null!=i[g]&&(this[g]=i[g])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},e.prototype.getAnimationStyleProps=function(){return h},e.initDefaultProps=function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=s.YV|s.SE}(),e}(r.Z),d=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);function v(t,e,n){return d.copy(t.getBoundingRect()),t.transform&&d.applyTransform(t.transform),g.width=e,g.height=n,!d.intersect(g)}e["ZP"]=p},3082:function(t,e,n){var i=n(4311),r=n(95797),o=n(88452),a=n(96805),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.cq(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Z.applyTransform(e,l,u),r=r||e.clone(),r.union(e)):(r=r||l.clone(),r.union(l))}}return r||e},e}(o.Z);s.prototype.type="group",e["Z"]=s},12222:function(t,e,n){var i=n(4311),r=n(68992),o=n(96805),a=n(95797),s=(0,a.ce)({x:0,y:0},r.tj),l={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.ik.style)};function u(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=u(e.image)?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.ZP);h.prototype.type="image",e["ZP"]=h},47397:function(t,e,n){n.d(e,{$t:function(){return L},ZP:function(){return z}});var i=n(4311),r=n(68992),o=n(355);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>i+s||a<e-s&&a<i-s||o>t+s&&o>n+s||o<t-s&&o<n-s)return!1;if(t===n)return Math.abs(o-t)<=s/2;l=(e-i)/(t-n),u=(t*i-n*e)/(t-n);var h=l*o-a+u,c=h*h/(l*l+1);return c<=s/2*s/2}var s=n(3816);function l(t,e,n,i,r,o,a,l,u,h,c){if(0===u)return!1;var f=u;if(c>e+f&&c>i+f&&c>o+f&&c>l+f||c<e-f&&c<i-f&&c<o-f&&c<l-f||h>t+f&&h>n+f&&h>r+f&&h>a+f||h<t-f&&h<n-f&&h<r-f&&h<a-f)return!1;var p=s.t1(t,e,n,i,r,o,a,l,h,c,null);return p<=f/2}function u(t,e,n,i,r,o,a,l,u){if(0===a)return!1;var h=a;if(u>e+h&&u>i+h&&u>o+h||u<e-h&&u<i-h&&u<o-h||l>t+h&&l>n+h&&l>r+h||l<t-h&&l<n-h&&l<r-h)return!1;var c=(0,s.Wr)(t,e,n,i,r,o,l,u,null);return c<=h/2}var h=n(79214),c=2*Math.PI;function f(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var u=a;s-=t,l-=e;var f=Math.sqrt(s*s+l*l);if(f-u>n||f+u<n)return!1;if(Math.abs(i-r)%c<1e-4)return!0;if(o){var p=i;i=(0,h.m)(r),r=(0,h.m)(p)}else i=(0,h.m)(i),r=(0,h.m)(r);i>r&&(r+=c);var d=Math.atan2(l,s);return d<0&&(d+=c),d>=i&&d<=r||d+c>=i&&d+c<=r}function p(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var d=o.Z.CMD,g=2*Math.PI,v=1e-4;function y(t,e){return Math.abs(t-e)<v}var m=[-1,-1,-1],_=[-1,-1];function x(){var t=_[0];_[0]=_[1],_[1]=t}function w(t,e,n,i,r,o,a,l,u,h){if(h>e&&h>i&&h>o&&h>l||h<e&&h<i&&h<o&&h<l)return 0;var c=s.kD(e,i,o,l,h,m);if(0===c)return 0;for(var f=0,p=-1,d=void 0,g=void 0,v=0;v<c;v++){var y=m[v],w=0===y||1===y?.5:1,S=s.af(t,n,r,a,y);S<u||(p<0&&(p=s.pP(e,i,o,l,_),_[1]<_[0]&&p>1&&x(),d=s.af(e,i,o,l,_[0]),p>1&&(g=s.af(e,i,o,l,_[1]))),2===p?y<_[0]?f+=d<e?w:-w:y<_[1]?f+=g<d?w:-w:f+=l<g?w:-w:y<_[0]?f+=d<e?w:-w:f+=l<d?w:-w)}return f}function S(t,e,n,i,r,o,a,l){if(l>e&&l>i&&l>o||l<e&&l<i&&l<o)return 0;var u=s.Jz(e,i,o,l,m);if(0===u)return 0;var h=s.QC(e,i,o);if(h>=0&&h<=1){for(var c=0,f=s.Zm(e,i,o,h),p=0;p<u;p++){var d=0===m[p]||1===m[p]?.5:1,g=s.Zm(t,n,r,m[p]);g<a||(m[p]<h?c+=f<e?d:-d:c+=o<f?d:-d)}return c}d=0===m[0]||1===m[0]?.5:1,g=s.Zm(t,n,r,m[0]);return g<a?0:o<e?d:-d}function b(t,e,n,i,r,o,a,s){if(s-=e,s>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);m[0]=-l,m[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=g-1e-4){i=0,r=g;var h=o?1:-1;return a>=m[0]+t&&a<=m[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=g,r+=g);for(var f=0,p=0;p<2;p++){var d=m[p];if(d+t>a){var v=Math.atan2(s,d);h=o?1:-1;v<0&&(v=g+v),(v>=i&&v<=r||v+g>=i&&v+g<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),f+=h)}}return f}function T(t,e,n,i,r){for(var o,s,h=t.data,c=t.len(),g=0,v=0,m=0,_=0,x=0,T=0;T<c;){var M=h[T++],D=1===T;switch(M===d.M&&T>1&&(n||(g+=p(v,m,_,x,i,r))),D&&(v=h[T],m=h[T+1],_=v,x=m),M){case d.M:_=h[T++],x=h[T++],v=_,m=x;break;case d.L:if(n){if(a(v,m,h[T],h[T+1],e,i,r))return!0}else g+=p(v,m,h[T],h[T+1],i,r)||0;v=h[T++],m=h[T++];break;case d.C:if(n){if(l(v,m,h[T++],h[T++],h[T++],h[T++],h[T],h[T+1],e,i,r))return!0}else g+=w(v,m,h[T++],h[T++],h[T++],h[T++],h[T],h[T+1],i,r)||0;v=h[T++],m=h[T++];break;case d.Q:if(n){if(u(v,m,h[T++],h[T++],h[T],h[T+1],e,i,r))return!0}else g+=S(v,m,h[T++],h[T++],h[T],h[T+1],i,r)||0;v=h[T++],m=h[T++];break;case d.A:var k=h[T++],I=h[T++],C=h[T++],P=h[T++],A=h[T++],L=h[T++];T+=1;var O=!!(1-h[T++]);o=Math.cos(A)*C+k,s=Math.sin(A)*P+I,D?(_=o,x=s):g+=p(v,m,o,s,i,r);var R=(i-k)*P/C+k;if(n){if(f(k,I,P,A,A+L,O,e,R,r))return!0}else g+=b(k,I,P,A,A+L,O,R,r);v=Math.cos(A+L)*C+k,m=Math.sin(A+L)*P+I;break;case d.R:_=v=h[T++],x=m=h[T++];var Z=h[T++],z=h[T++];if(o=_+Z,s=x+z,n){if(a(_,x,o,x,e,i,r)||a(o,x,o,s,e,i,r)||a(o,s,_,s,e,i,r)||a(_,s,_,x,e,i,r))return!0}else g+=p(o,x,o,s,i,r),g+=p(_,s,_,x,i,r);break;case d.Z:if(n){if(a(v,m,_,x,e,i,r))return!0}else g+=p(v,m,_,x,i,r);v=_,m=x;break}}return n||y(m,x)||(g+=p(v,m,_,x,i,r)||0),0!==g}function M(t,e,n){return T(t,0,!1,e,n)}function D(t,e,n,i){return T(t,e,!0,n,i)}var k=n(95797),I=n(76171),C=n(25815),P=n(8088),A=n(87184),L=(0,k.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),O={style:(0,k.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},R=A.dN.concat(["invisible","culling","z","z2","zlevel","parent"]),Z=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<R.length;++s)r[R[s]]=this[R[s]];r.__dirty|=P.YV}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=(0,k.XP)(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?(0,k.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,k.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,k.HD)(t)){var e=(0,I.L0)(t,0);return e>.5?C.vU:e>.2?C.iv:C.GD}if(t)return C.GD}return C.vU},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,k.HD)(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=(0,I.L0)(t,0)<C.Ak;if(i===r)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~P.RH},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new o.Z(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&P.RH)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),D(o,a/s,t,e)))return!0}if(this.hasFill())return M(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=P.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:(0,k.l7)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&P.RH)},e.prototype.createStyle=function(t){return(0,k.nW)(L,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,k.l7)({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,k.l7)({},i.shape),(0,k.l7)(s,n.shape)):(s=(0,k.l7)({},r?this.shape:i.shape),(0,k.l7)(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=(0,k.l7)({},this.shape);for(var u={},h=(0,k.XP)(s),c=0;c<h.length;c++){var f=h[c];"object"===typeof s[f]?this.shape[f]=s[f]:u[f]=s[f]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return O},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,k.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,k.d9)(t.shape)},n}(e);for(var r in t)"function"===typeof t[r]&&(n.prototype[r]=t[r]);return n},e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=P.YV|P.SE|P.RH}(),e}(r.ZP),z=Z},29912:function(t,e,n){var i=n(4311),r=n(68992),o=n(66332),a=n(47397),s=n(95797),l=n(9886),u=(0,s.ce)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return(0,s.nW)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(r.ZP);h.prototype.type="tspan",e["Z"]=h},49386:function(t,e,n){n.d(e,{ZP:function(){return U}});var i=n(4311),r=n(50322),o=n(95797),a=n(66332),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=u(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=h(o[a],r);return o.join("\n")}function u(t,e,n,i){i=i||{};var r=(0,o.l7)({},i);r.font=e,n=(0,o.pD)(n,"..."),r.maxIterations=(0,o.pD)(i.maxIterations,2);var s=r.minChar=(0,o.pD)(i.minChar,0);r.cnCharWidth=(0,a.dz)("国",e);var l=r.ascCharWidth=(0,a.dz)("a",e);r.placeholder=(0,o.pD)(i.placeholder,"");for(var u=t=Math.max(0,t-1),h=0;h<s&&u>=l;h++)u-=l;var c=(0,a.dz)(n,e);return c>u&&(n="",c=0),u=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=u,r.containerWidth=t,r}function h(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var o=(0,a.dz)(t,i);if(o<=n)return t;for(var s=0;;s++){if(o<=r||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?c(t,r,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*r/o):0;t=t.substr(0,l),o=(0,a.dz)(t,i)}return""===t&&(t=e.placeholder),t}function c(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}function f(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,s=e.font,l="truncate"===i,c=(0,a.Dp)(s),f=(0,o.pD)(e.lineHeight,c),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,g=e.width;n=null==g||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?w(t,e.font,g,"breakAll"===i,0).lines:[];var v=n.length*f,y=(0,o.pD)(e.height,v);if(v>y&&d){var m=Math.floor(y/f);n=n.slice(0,m)}if(t&&l&&null!=g)for(var _=u(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;x<n.length;x++)n[x]=h(n[x],_);var S=y,b=0;for(x=0;x<n.length;x++)b=Math.max((0,a.dz)(n[x],s),b);null==g&&(g=b);var T=b;return r&&(S+=r[0]+r[2],T+=r[1]+r[3],g+=r[1]+r[3]),p&&(T=g),{lines:n,height:y,outerWidth:T,outerHeight:S,lineHeight:f,calculatedLineHeight:c,contentWidth:b,contentHeight:v,width:g}}var p=function(){function t(){}return t}(),d=function(){function t(t){this.tokens=[],t&&(this.tokens=t)}return t}(),g=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return t}();function v(t,e){var n=new g;if(null!=t&&(t+=""),!t)return n;var i,u=e.width,h=e.height,c=e.overflow,f="break"!==c&&"breakAll"!==c||null==u?null:{width:u,accumWidth:0,breakAll:"breakAll"===c},p=s.lastIndex=0;while(null!=(i=s.exec(t))){var d=i.index;d>p&&y(n,t.substring(p,d),e,f),y(n,i[2],e,f,i[1]),p=s.lastIndex}p<t.length&&y(n,t.substring(p,t.length),e,f);var v=[],m=0,_=0,x=e.padding,w="truncate"===c,S="truncate"===e.lineOverflow;function b(t,e,n){t.width=e,t.lineHeight=n,m+=n,_=Math.max(_,e)}t:for(var T=0;T<n.lines.length;T++){for(var M=n.lines[T],D=0,k=0,I=0;I<M.tokens.length;I++){var C=M.tokens[I],P=C.styleName&&e.rich[C.styleName]||{},A=C.textPadding=P.padding,L=A?A[1]+A[3]:0,O=C.font=P.font||e.font;C.contentHeight=(0,a.Dp)(O);var R=(0,o.pD)(P.height,C.contentHeight);if(C.innerHeight=R,A&&(R+=A[0]+A[2]),C.height=R,C.lineHeight=(0,o.R1)(P.lineHeight,e.lineHeight,R),C.align=P&&P.align||e.align,C.verticalAlign=P&&P.verticalAlign||"middle",S&&null!=h&&m+C.lineHeight>h){I>0?(M.tokens=M.tokens.slice(0,I),b(M,k,D),n.lines=n.lines.slice(0,T+1)):n.lines=n.lines.slice(0,T);break t}var Z=P.width,z=null==Z||"auto"===Z;if("string"===typeof Z&&"%"===Z.charAt(Z.length-1))C.percentWidth=Z,v.push(C),C.contentWidth=(0,a.dz)(C.text,O);else{if(z){var B=P.backgroundColor,N=B&&B.image;N&&(N=r.ko(N),r.v5(N)&&(C.width=Math.max(C.width,N.width*R/N.height)))}var E=w&&null!=u?u-k:null;null!=E&&E<C.width?!z||E<L?(C.text="",C.width=C.contentWidth=0):(C.text=l(C.text,E-L,O,e.ellipsis,{minChar:e.truncateMinChar}),C.width=C.contentWidth=(0,a.dz)(C.text,O)):C.contentWidth=(0,a.dz)(C.text,O)}C.width+=L,k+=C.width,P&&(D=Math.max(D,C.lineHeight))}b(M,k,D)}n.outerWidth=n.width=(0,o.pD)(u,_),n.outerHeight=n.height=(0,o.pD)(h,m),n.contentHeight=m,n.contentWidth=_,x&&(n.outerWidth+=x[1]+x[3],n.outerHeight+=x[0]+x[2]);for(T=0;T<v.length;T++){C=v[T];var F=C.percentWidth;C.width=parseInt(F,10)/100*n.width}return n}function y(t,e,n,i,r){var o,s,l=""===e,u=r&&n.rich[r]||{},h=t.lines,c=u.font||n.font,f=!1;if(i){var g=u.padding,v=g?g[1]+g[3]:0;if(null!=u.width&&"auto"!==u.width){var y=(0,a.GM)(u.width,i.width)+v;h.length>0&&y+i.accumWidth>i.width&&(o=e.split("\n"),f=!0),i.accumWidth=y}else{var m=w(e,c,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+v,s=m.linesWidths,o=m.lines}}else o=e.split("\n");for(var _=0;_<o.length;_++){var x=o[_],S=new p;if(S.styleName=r,S.text=x,S.isLineHolder=!x&&!l,"number"===typeof u.width?S.width=u.width:S.width=s?s[_]:(0,a.dz)(x,c),_||f)h.push(new d([S]));else{var b=(h[h.length-1]||(h[0]=new d)).tokens,T=b.length;1===T&&b[0].isLineHolder?b[0]=S:(x||!T||l)&&b.push(S)}}}function m(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var _=(0,o.u4)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function x(t){return!m(t)||!!_[t]}function w(t,e,n,i,r){for(var o=[],s=[],l="",u="",h=0,c=0,f=0;f<t.length;f++){var p=t.charAt(f);if("\n"!==p){var d=(0,a.dz)(p,e),g=!i&&!x(p);(o.length?c+d>n:r+c+d>n)?c?(l||u)&&(g?(l||(l=u,u="",h=0,c=h),o.push(l),s.push(c-h),u+=p,h+=d,l="",c=h):(u&&(l+=u,u="",h=0),o.push(l),s.push(c),l=p,c=d)):g?(o.push(u),s.push(h),u=p,h=d):(o.push(p),s.push(d)):(c+=d,g?(u+=p,h+=d):(u&&(l+=u,u="",h=0),l+=p))}else u&&(l+=u,c+=h),o.push(l),s.push(c),l="",u="",h=0,c=0}return o.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(o.push(l),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var S=n(29912),b=n(12222),T=n(96354),M=n(96805),D=n(68992),k=n(9886),I={fill:"#000"},C=2,P={style:(0,o.ce)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},D.ik.style)},A=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=I,n.attr(e),n}return(0,i.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,N(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new M.Z(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),i=i||t.clone(),i.union(t)):(i=i||a.clone(),i.union(a))}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||I},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,o.l7)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,o.l7)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return P},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||k.Uo,n=t.padding,i=V(t),r=f(i,t),o=G(t),s=!!t.backgroundColor,l=r.outerHeight,u=r.outerWidth,h=r.contentWidth,c=r.lines,p=r.lineHeight,d=this._defaultStyle,g=t.x||0,v=t.y||0,y=t.align||d.align||"left",m=t.verticalAlign||d.verticalAlign||"top",_=g,x=(0,a.mU)(v,r.contentHeight,m);if(o||n){var w=(0,a.M3)(g,u,y),b=(0,a.mU)(v,l,m);o&&this._renderBackground(t,t,w,b,u,l)}x+=p/2,n&&(_=W(g,y,n),"top"===m?x+=n[0]:"bottom"===m&&(x-=n[2]));for(var T=0,D=!1,I=(H("fill"in t?t.fill:(D=!0,d.fill))),P=(F("stroke"in t?t.stroke:s||d.autoStroke&&!D?null:(T=C,d.stroke))),A=t.textShadowBlur>0,L=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),O=r.calculatedLineHeight,R=0;R<c.length;R++){var Z=this._getOrCreateChild(S.Z),B=Z.createStyle();Z.useStyle(B),B.text=c[R],B.x=_,B.y=x,y&&(B.textAlign=y),B.textBaseline="middle",B.opacity=t.opacity,B.strokeFirst=!0,A&&(B.shadowBlur=t.textShadowBlur||0,B.shadowColor=t.textShadowColor||"transparent",B.shadowOffsetX=t.textShadowOffsetX||0,B.shadowOffsetY=t.textShadowOffsetY||0),B.stroke=P,B.fill=I,P&&(B.lineWidth=t.lineWidth||T,B.lineDash=t.lineDash,B.lineDashOffset=t.lineDashOffset||0),B.font=e,z(B,t),x+=p,L&&Z.setBoundingRect(new M.Z((0,a.M3)(B.x,t.width,B.textAlign),(0,a.mU)(B.y,O,B.textBaseline),h,O))}},e.prototype._updateRichTexts=function(){var t=this.style,e=V(t),n=v(e,t),i=n.width,r=n.outerWidth,o=n.outerHeight,s=t.padding,l=t.x||0,u=t.y||0,h=this._defaultStyle,c=t.align||h.align,f=t.verticalAlign||h.verticalAlign,p=(0,a.M3)(l,r,c),d=(0,a.mU)(u,o,f),g=p,y=d;s&&(g+=s[3],y+=s[0]);var m=g+i;G(t)&&this._renderBackground(t,t,p,d,r,o);for(var _=!!t.backgroundColor,x=0;x<n.lines.length;x++){var w=n.lines[x],S=w.tokens,b=S.length,T=w.lineHeight,M=w.width,D=0,k=g,I=m,C=b-1,P=void 0;while(D<b&&(P=S[D],!P.align||"left"===P.align))this._placeToken(P,t,T,y,k,"left",_),M-=P.width,k+=P.width,D++;while(C>=0&&(P=S[C],"right"===P.align))this._placeToken(P,t,T,y,I,"right",_),M-=P.width,I-=P.width,C--;k+=(i-(k-g)-(m-I)-M)/2;while(D<=C)P=S[D],this._placeToken(P,t,T,y,k+P.width/2,"center",_),k+=P.width,D++;y+=T}},e.prototype._placeToken=function(t,e,n,i,r,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2);var f=!t.isLineHolder&&G(u);f&&this._renderBackground(u,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var p=!!u.backgroundColor,d=t.textPadding;d&&(r=W(r,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var g=this._getOrCreateChild(S.Z),v=g.createStyle();g.useStyle(v);var y=this._defaultStyle,m=!1,_=0,x=H("fill"in u?u.fill:"fill"in e?e.fill:(m=!0,y.fill)),w=F("stroke"in u?u.stroke:"stroke"in e?e.stroke:p||l||y.autoStroke&&!m?null:(_=C,y.stroke)),b=u.textShadowBlur>0||e.textShadowBlur>0;v.text=t.text,v.x=r,v.y=c,b&&(v.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,v.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",v.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,v.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),v.textAlign=s,v.textBaseline="middle",v.font=t.font||k.Uo,v.opacity=(0,o.R1)(u.opacity,e.opacity,1),z(v,u),w&&(v.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,_),v.lineDash=(0,o.pD)(u.lineDash,e.lineDash),v.lineDashOffset=e.lineDashOffset||0,v.stroke=w),x&&(v.fill=x);var T=t.contentWidth,D=t.contentHeight;g.setBoundingRect(new M.Z((0,a.M3)(v.x,T,v.textAlign),(0,a.mU)(v.y,D,v.textBaseline),T,D))},e.prototype._renderBackground=function(t,e,n,i,r,a){var s,l,u=t.backgroundColor,h=t.borderWidth,c=t.borderColor,f=u&&u.image,p=u&&!f,d=t.borderRadius,g=this;if(p||t.lineHeight||h&&c){s=this._getOrCreateChild(T.Z),s.useStyle(s.createStyle()),s.style.fill=null;var v=s.shape;v.x=n,v.y=i,v.width=r,v.height=a,v.r=d,s.dirtyShape()}if(p){var y=s.style;y.fill=u||null,y.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(f){l=this._getOrCreateChild(b.ZP),l.onload=function(){g.dirtyStyle()};var m=l.style;m.image=u.image,m.x=n,m.y=i,m.width=r,m.height=a}if(h&&c){y=s.style;y.lineWidth=h,y.stroke=c,y.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),y.lineDash=t.borderDash,y.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var _=(s||l).style;_.shadowBlur=t.shadowBlur||0,_.shadowColor=t.shadowColor||"transparent",_.shadowOffsetX=t.shadowOffsetX||0,_.shadowOffsetY=t.shadowOffsetY||0,_.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return B(t)&&(e=[t.fontStyle,t.fontWeight,Z(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,o.fy)(e)||t.textFont||t.font},e}(D.ZP),L={left:!0,right:1,center:1},O={top:1,bottom:1,middle:1},R=["fontStyle","fontWeight","fontSize","fontFamily"];function Z(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?k.n5+"px":t+"px":t}function z(t,e){for(var n=0;n<R.length;n++){var i=R[n],r=e[i];null!=r&&(t[i]=r)}}function B(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function N(t){return E(t),(0,o.S6)(t.rich,E),t}function E(t){if(t){t.font=A.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||L[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||O[n]?n:"top";var i=t.padding;i&&(t.padding=(0,o.MY)(t.padding))}}function F(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function H(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function W(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function V(t){var e=t.text;return null!=e&&(e+=""),e}function G(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}var U=A},8088:function(t,e,n){n.d(e,{RH:function(){return o},SE:function(){return r},YV:function(){return i}});var i=1,r=2,o=4},50322:function(t,e,n){n.d(e,{Gq:function(){return s},ko:function(){return a},v5:function(){return u}});var i=n(86634),r=n(9886),o=new i.ZP(50);function a(t){if("string"===typeof t){var e=o.get(t);return e&&e.image}return t}function s(t,e,n,i,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?(e=s.image,!u(e)&&s.pending.push(h)):(e=r.qW.loadImage(t,l,l),e.__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}return t}return e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},92411:function(t,e,n){n.d(e,{L:function(){return o}});var i=n(15468);function r(t,e,n,r){var o,a,s,l,u=[],h=[],c=[],f=[];if(r){s=[1/0,1/0],l=[-1/0,-1/0];for(var p=0,d=t.length;p<d;p++)(0,i.VV)(s,s,t[p]),(0,i.Fp)(l,l,t[p]);(0,i.VV)(s,s,r[0]),(0,i.Fp)(l,l,r[1])}for(p=0,d=t.length;p<d;p++){var g=t[p];if(n)o=t[p?p-1:d-1],a=t[(p+1)%d];else{if(0===p||p===d-1){u.push((0,i.d9)(t[p]));continue}o=t[p-1],a=t[p+1]}(0,i.lu)(h,a,o),(0,i.bA)(h,h,e);var v=(0,i.TE)(g,o),y=(0,i.TE)(g,a),m=v+y;0!==m&&(v/=m,y/=m),(0,i.bA)(c,h,-v),(0,i.bA)(f,h,y);var _=(0,i.IH)([],g,c),x=(0,i.IH)([],g,f);r&&((0,i.Fp)(_,_,s),(0,i.VV)(_,_,l),(0,i.Fp)(x,x,s),(0,i.VV)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}function o(t,e,n){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=r(o,i,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],h=a[2*l+1],c=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(o[0][0],o[0][1]);l=1;for(var f=o.length;l<f;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},96751:function(t,e,n){n.d(e,{Pw:function(){return o},_3:function(){return r},vu:function(){return a}});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u?(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0)),t):t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l?(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,0===o?0:1),t.height=Math.max(a(r+s,l,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2===0?r/2:(r+(n?1:-1))/2}},13026:function(t,e,n){var i=n(4311),r=n(47397),o=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc",e["Z"]=a},79001:function(t,e,n){var i=n(4311),r=n(47397),o=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle",e["Z"]=a},22940:function(t,e,n){var i=n(4311),r=n(47397),o=n(96751),a={},s=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,i,r,s;if(this.subPixelOptimize){var l=(0,o._3)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.ZP);l.prototype.type="line",e["Z"]=l},12484:function(t,e,n){var i=n(4311),r=n(47397),o=n(92411),a=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),s=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!1)},e}(r.ZP);s.prototype.type="polyline",e["Z"]=s},96354:function(t,e,n){n.d(e,{Z:function(){return h}});var i=n(4311),r=n(47397);function o(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"===typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>h&&(a=i+r,i*=h/a,r*=h/a),n+o>h&&(a=n+o,n*=h/a,o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}var a=n(96751),s=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),l={},u=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,i,r,s;if(this.subPixelOptimize){var u=(0,a.Pw)(l,e,this.style);n=u.x,i=u.y,r=u.width,s=u.height,u.r=e.r,e=u}else n=e.x,i=e.y,r=e.width,s=e.height;e.r?o(t,e):t.rect(n,i,r,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);u.prototype.type="rect";var h=u},60497:function(t,e,n){n.d(e,{C:function(){return b}});var i=n(4311),r=n(47397),o=n(95797),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,f=Math.abs,p=Math.sqrt,d=Math.max,g=Math.min,v=1e-4;function y(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,f=c*l-h*u;if(!(f*f<v))return f=(h*(e-o)-c*(t-r))/f,[t+f*l,e+f*u]}function m(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/p(s*s+l*l),h=u*l,c=-u*s,f=t+h,g=e+c,v=n+h,y=i+c,m=(f+v)/2,_=(g+y)/2,x=v-f,w=y-g,S=x*x+w*w,b=r-o,T=f*y-v*g,M=(w<0?-1:1)*p(d(0,b*b*S-T*T)),D=(T*w-x*M)/S,k=(-T*x-w*M)/S,I=(T*w+x*M)/S,C=(-T*x+w*M)/S,P=D-m,A=k-_,L=I-m,O=C-_;return P*P+A*A>L*L+O*O&&(D=I,k=C),{cx:D,cy:k,x0:-h,y0:-c,x1:D*(r/b-1),y1:k*(r/b-1)}}function _(t){var e;if((0,o.kJ)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function x(t,e){var n,i=d(e.r,0),r=d(e.r0||0,0),o=i>0,x=r>0;if(o||x){if(o||(i=r,r=0),r>i){var w=i;i=r,r=w}var S=e.startAngle,b=e.endAngle;if(!isNaN(S)&&!isNaN(b)){var T=e.cx,M=e.cy,D=!!e.clockwise,k=f(b-S),I=k>s&&k%s;if(I>v&&(k=I),i>v)if(k>s-v)t.moveTo(T+i*u(S),M+i*l(S)),t.arc(T,M,i,S,b,!D),r>v&&(t.moveTo(T+r*u(b),M+r*l(b)),t.arc(T,M,r,b,S,D));else{var C=void 0,P=void 0,A=void 0,L=void 0,O=void 0,R=void 0,Z=void 0,z=void 0,B=void 0,N=void 0,E=void 0,F=void 0,H=void 0,W=void 0,V=void 0,G=void 0,U=i*u(S),X=i*l(S),Y=r*u(b),q=r*l(b),K=k>v;if(K){var j=e.cornerRadius;j&&(n=_(j),C=n[0],P=n[1],A=n[2],L=n[3]);var J=f(i-r)/2;if(O=g(J,A),R=g(J,L),Z=g(J,C),z=g(J,P),E=B=d(O,R),F=N=d(Z,z),(B>v||N>v)&&(H=i*u(b),W=i*l(b),V=r*u(S),G=r*l(S),k<a)){var Q=y(U,X,V,G,H,W,Y,q);if(Q){var $=U-Q[0],tt=X-Q[1],et=H-Q[0],nt=W-Q[1],it=1/l(h(($*et+tt*nt)/(p($*$+tt*tt)*p(et*et+nt*nt)))/2),rt=p(Q[0]*Q[0]+Q[1]*Q[1]);E=g(B,(i-rt)/(it+1)),F=g(N,(r-rt)/(it-1))}}}if(K)if(E>v){var ot=g(A,E),at=g(L,E),st=m(V,G,U,X,i,ot,D),lt=m(H,W,Y,q,i,at,D);t.moveTo(T+st.cx+st.x0,M+st.cy+st.y0),E<B&&ot===at?t.arc(T+st.cx,M+st.cy,E,c(st.y0,st.x0),c(lt.y0,lt.x0),!D):(ot>0&&t.arc(T+st.cx,M+st.cy,ot,c(st.y0,st.x0),c(st.y1,st.x1),!D),t.arc(T,M,i,c(st.cy+st.y1,st.cx+st.x1),c(lt.cy+lt.y1,lt.cx+lt.x1),!D),at>0&&t.arc(T+lt.cx,M+lt.cy,at,c(lt.y1,lt.x1),c(lt.y0,lt.x0),!D))}else t.moveTo(T+U,M+X),t.arc(T,M,i,S,b,!D);else t.moveTo(T+U,M+X);if(r>v&&K)if(F>v){ot=g(C,F),at=g(P,F),st=m(Y,q,H,W,r,-at,D),lt=m(U,X,V,G,r,-ot,D);t.lineTo(T+st.cx+st.x0,M+st.cy+st.y0),F<N&&ot===at?t.arc(T+st.cx,M+st.cy,F,c(st.y0,st.x0),c(lt.y0,lt.x0),!D):(at>0&&t.arc(T+st.cx,M+st.cy,at,c(st.y0,st.x0),c(st.y1,st.x1),!D),t.arc(T,M,r,c(st.cy+st.y1,st.cx+st.x1),c(lt.cy+lt.y1,lt.cx+lt.x1),D),ot>0&&t.arc(T+lt.cx,M+lt.cy,ot,c(lt.y1,lt.x1),c(lt.y0,lt.x0),!D))}else t.lineTo(T+Y,M+q),t.arc(T,M,r,b,S,D);else t.lineTo(T+Y,M+q)}else t.moveTo(T,M);t.closePath()}}}var w=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),S=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new w},e.prototype.buildPath=function(t,e){x(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.ZP);S.prototype.type="sector";var b=S},76171:function(t,e,n){n.d(e,{L0:function(){return x},Pz:function(){return _},Qc:function(){return v},fD:function(){return S}});var i=n(86634),r=n(95797),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return t=Math.round(t),t<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}function h(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var p=new i.ZP(20),d=null;function g(t,e){d&&f(d,e),d=p.put(t,d||e.slice())}function v(t,e){if(t){e=e||[];var n=p.get(t);if(n)return f(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in o)return f(e,o[i]),g(t,e),e;var r=i.length;if("#"!==i.charAt(0)){var a=i.indexOf("("),s=i.indexOf(")");if(-1!==a&&s+1===r){var h=i.substr(0,a),d=i.substr(a+1,s-(a+1)).split(","),v=1;switch(h){case"rgba":if(4!==d.length)return 3===d.length?c(e,+d[0],+d[1],+d[2],1):c(e,0,0,0,1);v=u(d.pop());case"rgb":return d.length>=3?(c(e,l(d[0]),l(d[1]),l(d[2]),3===d.length?v:u(d[3])),g(t,e),e):void c(e,0,0,0,1);case"hsla":return 4!==d.length?void c(e,0,0,0,1):(d[3]=u(d[3]),y(d,e),g(t,e),e);case"hsl":return 3!==d.length?void c(e,0,0,0,1):(y(d,e),g(t,e),e);default:return}}c(e,0,0,0,1)}else{if(4===r||5===r){var m=parseInt(i.slice(1,4),16);return m>=0&&m<=4095?(c(e,(3840&m)>>4|(3840&m)>>8,240&m|(240&m)>>4,15&m|(15&m)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){m=parseInt(i.slice(1,7),16);return m>=0&&m<=16777215?(c(e,(16711680&m)>>16,(65280&m)>>8,255&m,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1)}}}}function y(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return e=e||[],c(e,a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=v(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return _(n,4===n.length?"rgba":"rgb")}}function _(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function x(t,e){var n=v(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var w=new i.ZP(100);function S(t){if((0,r.HD)(t)){var e=w.get(t);return e||(e=m(t,-.1),w.put(t,e)),e}if((0,r.Qq)(t)){var n=(0,r.l7)({},t);return n.colorStops=(0,r.UI)(t.colorStops,(function(t){return{offset:t.offset,color:m(t.color,-.1)}})),n}return t}},24503:function(t,e,n){n.d(e,{S1:function(){return gt},wm:function(){return vt},Qq:function(){return yt}});var i=n(59979),r=n(95797),o=n(4311),a=n(15468),s=function(){function t(t,e){this.target=t,this.topTarget=e&&e.topTarget}return t}(),l=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){var e=t.target;while(e&&!e.draggable)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new s(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new s(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,l=this._dropTarget;this._dropTarget=a,e!==a&&(l&&a!==l&&this.handler.dispatchToElement(new s(l,t),"dragleave",t.event),a&&a!==l&&this.handler.dispatchToElement(new s(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new s(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),u=l,h=n(18626),c=n(14834),f=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],l=c.eV(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in g)if(g.hasOwnProperty(e)){var n=g[e](this._track,t);if(n)return n}},t}();function p(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}function d(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var g={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=p(i)/p(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=d(i);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n(96805),y="silent";function m(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_}}function _(){c.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,o.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(h.Z),w=function(){function t(t,e){this.x=t,this.y=e}return t}(),S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],b=new v.Z(0,0,0,0),T=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new w(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new x,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new u(a),a}return(0,o.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(r.S6(S,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=k(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?new w(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new w(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,o=m(e,t,n);while(i)if(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new w(t,e);if(D(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new v.Z(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(b.copy(h.getBoundingRect()),h.transform&&b.applyTransform(h.transform),b.intersect(l)&&o.push(h))}if(o.length)for(var c=4,f=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=c)for(var g=0;g<p;g+=f){var y=t+d*Math.cos(g),m=e+d*Math.sin(g);if(D(o,r,y,m,n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);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 w;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(h.Z);function M(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){var i=t,r=void 0,o=!1;while(i){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||y}return!1}function D(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=M(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==y)){e.target=a;break}}}function k(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}r.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){T.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,s=k(this,r,o);if("mouseup"===t&&s||(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||a.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var I=T,C=n(1994),P=n(8088),A=!1;function L(){A||(A=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function O(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var R=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=O}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,C.Z)(n,O)},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():[];var r=i,o=t;while(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|=P.YV),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)&&(L(),u.z=0),isNaN(u.z2)&&(L(),u.z2=0),isNaN(u.zlevel)&&(L(),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 f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=r.cq(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}(),Z=R,z=n(33851),B=n(6997);function N(){return(new Date).getTime()}var E=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return(0,o.ZT)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=N()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,o=i.step(e,n);o?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&((0,z.Z)(e),!t._paused&&t.update())}this._running=!0,(0,z.Z)(e)},e.prototype.start=function(){this._running||(this._time=N(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=N(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=N()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new B.Z(t,e.loop);return this.addAnimator(n),n},e}(h.Z),F=E,H=300,W=i.Z.domSupported,V=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=r.UI(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),G={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},U=!1;function X(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Y(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function q(t){t&&(t.zrByTouch=!0)}function K(t,e){return(0,c.OD)(t.dom,new J(t,e),!0)}function j(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var J=function(){function t(t,e){this.stopPropagation=r.ZT,this.stopImmediatePropagation=r.ZT,this.preventDefault=r.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Q={mousedown:function(t){t=(0,c.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,c.OD)(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,c.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=(0,c.OD)(this.dom,t);var e=t.toElement||t.relatedTarget;j(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){U=!0,t=(0,c.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){U||(t=(0,c.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=(0,c.OD)(this.dom,t),q(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Q.mousemove.call(this,t),Q.mousedown.call(this,t)},touchmove:function(t){t=(0,c.OD)(this.dom,t),q(t),this.handler.processGesture(t,"change"),Q.mousemove.call(this,t)},touchend:function(t){t=(0,c.OD)(this.dom,t),q(t),this.handler.processGesture(t,"end"),Q.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<H&&Q.click.call(this,t)},pointerdown:function(t){Q.mousedown.call(this,t)},pointermove:function(t){X(t)||Q.mousemove.call(this,t)},pointerup:function(t){Q.mouseup.call(this,t)},pointerout:function(t){X(t)||Q.mouseout.call(this,t)}};r.S6(["click","dblclick","contextmenu"],(function(t){Q[t]=function(e){e=(0,c.OD)(this.dom,e),this.trigger(t,e)}}));var $={pointermove:function(t){X(t)||$.mousemove.call(this,t)},pointerup:function(t){$.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function tt(t,e){var n=e.domHandlers;i.Z.pointerEventsSupported?r.S6(V.pointer,(function(i){nt(e,i,(function(e){n[i].call(t,e)}))})):(i.Z.touchEventsSupported&&r.S6(V.touch,(function(i){nt(e,i,(function(r){n[i].call(t,r),Y(e)}))})),r.S6(V.mouse,(function(i){nt(e,i,(function(r){r=(0,c.iP)(r),e.touching||n[i].call(t,r)}))})))}function et(t,e){function n(n){function i(i){i=(0,c.iP)(i),j(t,i.target)||(i=K(t,i),e.domHandlers[n].call(t,i))}nt(e,n,i,{capture:!0})}i.Z.pointerEventsSupported?r.S6(G.pointer,n):i.Z.touchEventsSupported||r.S6(G.mouse,n)}function nt(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,c.Oo)(t.domTarget,e,n,i)}function it(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,c.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var rt=function(){function t(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return t}(),ot=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new rt(e,Q),W&&(i._globalHandlerScope=new rt(document,$)),tt(i,i._localHandlerScope),i}return(0,o.ZT)(e,t),e.prototype.dispose=function(){it(this._localHandlerScope),W&&it(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,W&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?et(this,e):it(e)}},e}(h.Z),at=ot,st=n(76171),lt=n(25815),ut=n(3082),ht={},ct={};function ft(t){delete ct[t]}function pt(t){if(!t)return!1;if("string"===typeof t)return(0,st.L0)(t,1)<lt.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,st.L0)(e[r].color,1);return n/=i,n<lt.Ak}return!1}var dt=function(){function t(t,e,n){var o=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var a=new Z,s=n.renderer||"canvas";ht[s]||(s=r.XP(ht)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var l=new ht[s](e,a,n,t),u=n.ssr||l.ssrOnly;this.storage=a,this.painter=l;var h,c=i.Z.node||i.Z.worker||u?null:new at(l.getViewportRoot(),l.root),f=n.useCoarsePointer,p=null==f||"auto"===f?i.Z.touchEventsSupported:!!f,d=44;p&&(h=r.pD(n.pointerSize,d)),this.handler=new I(a,l,c,l.root,h),this.animation=new F({stage:{update:u?null:function(){return o._flush(!0)}}}),u||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=pt(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=N();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=N();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof ut.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,ft(this.id))},t}();function gt(t,e){var n=new dt(r.M8(),t,e);return ct[n.id]=n,n}function vt(t,e){ht[t]=e}function yt(t){t}}}]);