@perses-dev/stat-chart-plugin 0.13.0-beta.0 → 0.13.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mf/js/StatChart.304b5d2c.js +7 -0
- package/__mf/js/async/121.a33651ce.js +2 -0
- package/__mf/js/async/122.a4c0e249.js +7 -0
- package/__mf/js/async/177.4dddf131.js +1 -0
- package/__mf/js/async/189.29a6588c.js +24 -0
- package/__mf/js/async/192.0b251884.js +1 -0
- package/__mf/js/async/2.e8bdc16f.js +1 -0
- package/__mf/js/async/235.f388b6fd.js +1 -0
- package/__mf/js/async/274.b762faf5.js +2 -0
- package/__mf/js/async/289.935d218f.js +66 -0
- package/__mf/js/async/356.3f7b970d.js +1 -0
- package/__mf/js/async/392.70b1a3c5.js +2 -0
- package/__mf/js/async/450.bdfbd76f.js +1 -0
- package/__mf/js/async/465.7c60371f.js +2 -0
- package/__mf/js/async/470.cc046da0.js +2 -0
- package/__mf/js/async/558.e8f8691f.js +1 -0
- package/__mf/js/async/570.264704d1.js +2 -0
- package/__mf/js/async/587.7d22fb82.js +1 -0
- package/__mf/js/async/588.c00e3759.js +1 -0
- package/__mf/js/async/616.22b37336.js +1 -0
- package/__mf/js/async/71.1f2caf38.js +1 -0
- package/__mf/js/async/721.5c1c6916.js +1 -0
- package/__mf/js/async/{866.e6542737.js → 866.cb6cbc7a.js} +2 -2
- package/__mf/js/async/873.13ff7de6.js +1 -0
- package/__mf/js/async/941.230549f5.js +2 -0
- package/__mf/js/async/968.bfd3594f.js +1 -0
- package/__mf/js/async/978.98475f4b.js +1 -0
- package/__mf/js/async/__federation_expose_StatChart.78aafd31.js +1 -0
- package/__mf/js/async/lib-router.6c58ccc7.js +2 -0
- package/__mf/js/async/{lib-router.040bbb94.js.LICENSE.txt → lib-router.6c58ccc7.js.LICENSE.txt} +3 -3
- package/__mf/js/main.55960860.js +7 -0
- package/mf-manifest.json +36 -36
- package/mf-stats.json +36 -36
- package/package.json +5 -4
- package/__mf/js/StatChart.8655e48a.js +0 -7
- package/__mf/js/async/121.86811fc5.js +0 -2
- package/__mf/js/async/177.47e93ede.js +0 -1
- package/__mf/js/async/192.c8e5200d.js +0 -1
- package/__mf/js/async/2.35776588.js +0 -1
- package/__mf/js/async/235.d89662f4.js +0 -1
- package/__mf/js/async/236.bc0e7181.js +0 -7
- package/__mf/js/async/274.0a3b59a5.js +0 -2
- package/__mf/js/async/356.44f67235.js +0 -1
- package/__mf/js/async/392.342419bd.js +0 -2
- package/__mf/js/async/450.0ad74d00.js +0 -1
- package/__mf/js/async/465.178c329d.js +0 -2
- package/__mf/js/async/470.02952871.js +0 -2
- package/__mf/js/async/471.f69d2e5b.js +0 -66
- package/__mf/js/async/558.0e64d762.js +0 -1
- package/__mf/js/async/568.c64a5ffb.js +0 -24
- package/__mf/js/async/570.f407deb7.js +0 -2
- package/__mf/js/async/587.806e94c8.js +0 -1
- package/__mf/js/async/588.5332d073.js +0 -1
- package/__mf/js/async/616.68b848ee.js +0 -1
- package/__mf/js/async/71.b1847413.js +0 -1
- package/__mf/js/async/721.bc9d8f7f.js +0 -1
- package/__mf/js/async/873.05eb2387.js +0 -1
- package/__mf/js/async/941.349eff0d.js +0 -2
- package/__mf/js/async/968.86a4b472.js +0 -1
- package/__mf/js/async/978.6beaa6c4.js +0 -1
- package/__mf/js/async/__federation_expose_StatChart.c148f9d8.js +0 -1
- package/__mf/js/async/lib-router.040bbb94.js +0 -2
- package/__mf/js/main.3f92b718.js +0 -7
- /package/__mf/css/async/{236.85c2cbf6.css → 122.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{121.86811fc5.js.LICENSE.txt → 121.a33651ce.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{236.bc0e7181.js.LICENSE.txt → 122.a4c0e249.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{568.c64a5ffb.js.LICENSE.txt → 189.29a6588c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{274.0a3b59a5.js.LICENSE.txt → 274.b762faf5.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{471.f69d2e5b.js.LICENSE.txt → 289.935d218f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{392.342419bd.js.LICENSE.txt → 392.70b1a3c5.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{465.178c329d.js.LICENSE.txt → 465.7c60371f.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{470.02952871.js.LICENSE.txt → 470.cc046da0.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{570.f407deb7.js.LICENSE.txt → 570.264704d1.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{866.e6542737.js.LICENSE.txt → 866.cb6cbc7a.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.349eff0d.js.LICENSE.txt → 941.230549f5.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_StatChart=self.chunk_StatChart||[]).push([["450"],{39952(e,t,i){i.d(t,{$:()=>l,L:()=>function e(t,i,l){if(l.isAnimationEnabled()&&i){if((0,n.isArray)(i))return void(0,n.each)(i,function(i){e(t,i,l)});var u=i.keyframes,c=i.duration;if(l&&null==c){var h=(0,o.Jw)("enter",l,0);c=h&&h.duration}if(u&&c){var d=a(t);(0,n.each)(r.rd,function(e){var r;e&&!t[e]||(u.sort(function(e,t){return e.percent-t.percent}),(0,n.each)(u,function(o){var a=t.animators,l=e?o[e]:o;if(l){var u=(0,n.keys)(l);if(e||(u=(0,n.filter)(u,function(e){return 0>(0,n.indexOf)(s,e)})),u.length){r||((r=t.animate(e,i.loop,!0)).scope="keyframe");for(var h=0;h<a.length;h++)a[h]!==r&&a[h].targetName===r.targetName&&a[h].stopTracks(u);e&&(d[e]=d[e]||{});var p=e?d[e]:d;(0,n.each)(u,function(i){p[i]=((e?t[e]:t)||{})[i]}),r.whenWithKeys(c*o.percent,l,u,o.easing)}}}),r&&r.delay(i.delay||0).duration(c).start(i.easing))})}}}});var n=i(4884),r=i(24707),o=i(68532),a=(0,i(84124).$r)(),s=["percent","easing","shape","style","extra"];function l(e){e.stopAnimation("keyframe"),e.attr(a(e))}},24707(e,t,i){i.d(t,{aB:()=>y,h8:()=>v,ho:()=>m,rd:()=>d,rh:()=>f});var n=i(84124),r=i(4884),o=i(83390),a=i(38513),s=i(68532),l=i(30070),u=i(5486),c={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},h=(0,r.keys)(c);(0,r.reduce)(u.Wx,function(e,t){return e[t]=1,e},{}),u.Wx.join(", ");var d=["","style","shape","extra"],p=(0,n.$r)();function g(e,t,i,n,o){var a=e+"Animation",l=(0,s.Jw)(e,n,o)||{},u=p(t).userDuring;return l.duration>0&&(l.during=u?(0,r.bind)(_,{el:t,userDuring:u}):null,l.setToFinal=!0,l.scope=e),(0,r.extend)(l,i[a]),l}function f(e,t,i,o){var s,f,v=(o=o||{}).dataIndex,x=o.isInit,b=o.clearStyle,_=i.isAnimationEnabled(),w=p(e),M=t.style;w.userDuring=t.during;var I={},C={};if(function(e,t){for(var i=0;i<h.length;i++){var n=h[i],r=c[n],o=e[n];o&&(t[r[0]]=o[0],t[r[1]]=o[1])}for(var i=0;i<u.Wx.length;i++){var a=u.Wx[i];null!=e[a]&&(t[a]=e[a])}}(t,C),A("shape",t,C),A("extra",t,C),!x&&_&&(function(e,t,i){for(var r=t.transition,o=m(r)?u.Wx:(0,n.qB)(r||[]),a=0;a<o.length;a++){var s=o[a];if("style"!==s&&"shape"!==s&&"extra"!==s){var l=e[s];i[s]=l}}}(e,t,I),S("shape",e,t,I),S("extra",e,t,I),function(e,t,i,o){if(i){var a,s=e.style;if(s){var l=i.transition,u=t.transition;if(l&&!m(l)){var c=(0,n.qB)(l);a||(a=o.style={});for(var h=0;h<c.length;h++){var d=c[h],p=s[d];a[d]=p}}else if(e.getAnimationStyleProps&&(m(u)||m(l)||(0,r.indexOf)(u,"style")>=0)){var g=e.getAnimationStyleProps(),f=g?g.style:null;if(f){a||(a=o.style={});for(var y=(0,r.keys)(i),h=0;h<y.length;h++){var d=y[h];if(f[d]){var p=s[d];a[d]=p}}}}}}}(e,t,M,I)),C.style=M,function(e,t,i){var n=t.style;if(!e.isGroup&&n){if(i){e.useStyle({});for(var r=e.animators,o=0;o<r.length;o++){var a=r[o];"style"===a.targetName&&a.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}(e,C,b),s=e,f=t,(0,r.hasOwn)(f,"silent")&&(s.silent=f.silent),(0,r.hasOwn)(f,"ignore")&&(s.ignore=f.ignore),s instanceof a.Ay&&(0,r.hasOwn)(f,"invisible")&&(s.invisible=f.invisible),s instanceof l.Ay&&(0,r.hasOwn)(f,"autoBatch")&&(s.autoBatch=f.autoBatch),_)if(x){var D={};(0,r.each)(d,function(e){var i=e?t[e]:t;i&&i.enterFrom&&(e&&(D[e]=D[e]||{}),(0,r.extend)(e?D[e]:D,i.enterFrom))});var O=g("enter",e,t,i,v);O.duration>0&&e.animateFrom(D,O)}else{var T=e,L=t,k=v||0,P=i,R=I;if(R){var V=g("update",T,L,P,k);V.duration>0&&T.animateFrom(R,V)}}y(e,t),M?e.dirty():e.markRedraw()}function y(e,t){for(var i=p(e).leaveToProps,n=0;n<d.length;n++){var o=d[n],a=o?t[o]:t;a&&a.leaveTo&&(i||(i=p(e).leaveToProps={}),o&&(i[o]=i[o]||{}),(0,r.extend)(o?i[o]:i,a.leaveTo))}}function v(e,t,i,n){if(e){var r=e.parent,o=p(e).leaveToProps;if(o){var a=g("update",e,t,i,0);a.done=function(){r.remove(e),n&&n()},e.animateTo(o,a)}else r.remove(e),n&&n()}}function m(e){return"all"===e}var x={},b={setTransform:function(e,t){return x.el[e]=t,this},getTransform:function(e){return x.el[e]},setShape:function(e,t){var i=x.el;return(i.shape||(i.shape={}))[e]=t,i.dirtyShape&&i.dirtyShape(),this},getShape:function(e){var t=x.el.shape;if(t)return t[e]},setStyle:function(e,t){var i=x.el,n=i.style;return n&&(n[e]=t,i.dirtyStyle&&i.dirtyStyle()),this},getStyle:function(e){var t=x.el.style;if(t)return t[e]},setExtra:function(e,t){return(x.el.extra||(x.el.extra={}))[e]=t,this},getExtra:function(e){var t=x.el.extra;if(t)return t[e]}};function _(){var e=this.el;if(e){var t=p(e).userDuring,i=this.userDuring;if(t!==i){this.el=this.userDuring=null;return}x.el=e,i(b)}}function S(e,t,i,o){var a,s=i[e];if(s){var l=t[e];if(l){var u=i.transition,c=s.transition;if(c)if(a||(a=o[e]={}),m(c))(0,r.extend)(a,l);else for(var h=(0,n.qB)(c),d=0;d<h.length;d++){var p=h[d],g=l[p];a[p]=g}else if(m(u)||(0,r.indexOf)(u,e)>=0){a||(a=o[e]={});for(var f=(0,r.keys)(l),d=0;d<f.length;d++){var y,v,p=f[d],g=l[p];y=s[p],v=g,((0,r.isArrayLike)(y)?y!==v:null!=y&&isFinite(y))&&(a[p]=g)}}}}}function A(e,t,i){var n=t[e];if(n)for(var a=i[e]={},s=(0,r.keys)(n),l=0;l<s.length;l++){var u=s[l];a[u]=(0,o.F)(n[u])}}},77774(e,t,i){i.d(t,{A:()=>l});var n=i(31831),r=i(55785),o=i(43059),a=i(4884),s=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,t,i){var n=this.coordinateSystem;if(n&&n.clampData){var r=n.clampData(e),o=n.dataToPoint(r);if(i)(0,a.each)(n.getAxes(),function(e,i){if("category"===e.type&&null!=t){var n=e.getTicksCoords(),a=e.getTickModel().get("alignWithLabel"),s=r[i],l="x1"===t[i]||"y1"===t[i];if(l&&!a&&(s+=1),!(n.length<2)){if(2===n.length){o[i]=e.toGlobalCoord(e.getExtent()[+!!l]);return}for(var u=void 0,c=void 0,h=1,d=0;d<n.length;d++){var p=n[d].coord,g=d===n.length-1?n[d-1].tickValue+h:n[d].tickValue;if(g===s){c=p;break}if(g<s)u=p;else if(null!=u&&g>s){c=(p+u)/2;break}1===d&&(h=g-n[0].tickValue)}null==c&&(u?u&&(c=n[n.length-1].coord):c=n[0].coord),o[i]=e.toGlobalCoord(c)}}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),c=+!n.getBaseAxis().isHorizontal();o[c]+=l+u/2}return o}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(r.A);r.A.registerClass(s);let l=s},31373(e,t,i){i.d(t,{a:()=>K});var n=i(4884),r=i(30730),o=i(50821),a=i(31831),s=i(77774),l=i(43059),u=i(3818),c=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,a.C6)(t,e),t.prototype.getInitialData=function(){return(0,l.A)(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},t.prototype.getProgressiveThreshold=function(){var e=this.get("progressiveThreshold"),t=this.get("largeThreshold");return t>e&&(e=t),e},t.prototype.brushSelector=function(e,t,i){return i.rect(t.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=(0,u.G_)(s.A.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(s.A),h=i(30070),d=i(79620),p=i(59033),g=i(68532),f=i(63811),y=i(23917),v=i(35032),m=i(72059),x=i(73394),b=i(89425),_=i(55037),S=i(88556),A=i(31440),w=i(43139),M=i(18538),I=i(23960);function C(e,t,i){return t*Math.sin(e)*(i?-1:1)}function D(e,t,i){return t*Math.cos(e)*(i?1:-1)}var O=i(27108),T=Math.max,L=Math.min,k=function(e){function t(){var i=e.call(this)||this;return i.type=t.type,i._isFirstFrame=!0,i}return(0,a.C6)(t,e),t.prototype.render=function(e,t,i,n){this._model=e,this._removeOnRenderedListener(i),this._updateDrawMode(e);var r=e.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,t,i):this._renderNormal(e,t,i,n))},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,t){this._progressiveEls=[],this._incrementalRenderLarge(e,t)},t.prototype.eachRendered=function(e){(0,p.traverseElements)(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var t=e.pipelineContext.large;(null==this._isLargeDraw||t!==this._isLargeDraw)&&(this._isLargeDraw=t,this._clear())},t.prototype._renderNormal=function(e,t,i,n){var r,o=this.group,a=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var c=e.isAnimationEnabled()?e:null,h=function(e,t){var i=e.get("realtimeSort",!0),n=t.getBaseAxis();if(i&&"category"===n.type&&"cartesian2d"===t.type)return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}(e,l);h&&this._enableRealtimeSort(h,a,i);var p=e.get("clip",!0)||h,v=function(e,t){var i=e.getArea&&e.getArea();if((0,w.g)(e,"cartesian2d")){var n=e.getBaseAxis();if("category"!==n.type||!n.onBand){var r=t.getLayout("bandWidth");n.isHorizontal()?(i.x-=r,i.width+=2*r):(i.y-=r,i.height+=2*r)}}return i}(l,a);o.removeClipPath();var m=e.get("roundCap",!0),b=e.get("showBackground",!0),_=e.getModel("backgroundStyle"),S=_.get("borderRadius")||0,A=[],M=this._backgroundEls,I=n&&n.isInitSort,C=n&&"changeAxisOrder"===n.type;function D(e){var t,i,n,o=G[l.type](a,e),s=(t=l,i=r,n=o,new("polar"===t.type?y.A:f.A)({shape:U(i,n,t),silent:!0,z2:0}));return s.useStyle(_.getItemStyle()),"cartesian2d"===l.type?s.setShape("r",S):s.setShape("cornerRadius",S),A[e]=s,s}a.diff(s).add(function(t){var i=a.getItemModel(t),n=G[l.type](a,t,i);if(b&&D(t),a.hasValue(t)&&B[l.type](n)){var s=!1;p&&(s=P[l.type](v,n));var d=R[l.type](e,a,t,n,r,c,u.model,!1,m);h&&(d.forceLabelAnimation=!0),H(d,a,t,i,n,e,r,"polar"===l.type),I?d.attr({shape:n}):h?V(h,c,d,n,t,r,!1,!1):(0,g.LW)(d,{shape:n},e,t),a.setItemGraphicEl(t,d),o.add(d),d.ignore=s}}).update(function(t,i){var n=a.getItemModel(t),d=G[l.type](a,t,n);if(b){var f=void 0;0===M.length?f=D(i):((f=M[i]).useStyle(_.getItemStyle()),"cartesian2d"===l.type?f.setShape("r",S):f.setShape("cornerRadius",S),A[t]=f);var y=G[l.type](a,t),w=U(r,y,l);(0,g.oi)(f,{shape:w},c,t)}var O=s.getItemGraphicEl(i);if(!a.hasValue(t)||!B[l.type](d))return void o.remove(O);var T=!1;if(p&&(T=P[l.type](v,d))&&o.remove(O),O?(0,g.ap)(O):O=R[l.type](e,a,t,d,r,c,u.model,!!O,m),h&&(O.forceLabelAnimation=!0),C){var L=O.getTextContent();if(L){var k=(0,x.Lu)(L);null!=k.prevValue&&(k.prevValue=k.value)}}else H(O,a,t,n,d,e,r,"polar"===l.type);I?O.attr({shape:d}):h?V(h,c,O,d,t,r,!0,C):(0,g.oi)(O,{shape:d},e,t,null),a.setItemGraphicEl(t,O),O.ignore=T,o.add(O)}).remove(function(t){var i=s.getItemGraphicEl(t);i&&(0,g.t5)(i,e,t)}).execute();var O=this._backgroundGroup||(this._backgroundGroup=new d.A);O.removeAll();for(var T=0;T<A.length;++T)O.add(A[T]);o.add(O),this._backgroundEls=A,this._data=a},t.prototype._renderLarge=function(e,t,i){this._clear(),Y(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,t){this._removeBackground(),Y(t,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var t=e.get("clip",!0)&&(0,_.Ip)(e.coordinateSystem,!1,e),i=this.group;t?i.setClipPath(t):i.removeClipPath()},t.prototype._enableRealtimeSort=function(e,t,i){var n=this;if(t.count()){var r=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(t,e,i),this._isFirstFrame=!1;else{var o=function(e){var i=t.getItemGraphicEl(e),n=i&&i.shape;return n&&Math.abs(r.isHorizontal()?n.height:n.width)||0};this._onRendered=function(){n._updateSortWithinSameData(t,o,r,i)},i.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,t,i){var r=[];return e.each(e.mapDimension(t.dim),function(e,t){var n=i(t);n=null==n?NaN:n,r.push({dataIndex:t,mappedValue:n,ordinalNumber:e})}),r.sort(function(e,t){return t.mappedValue-e.mappedValue}),{ordinalNumbers:(0,n.map)(r,function(e){return e.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,t,i){for(var n=i.scale,r=e.mapDimension(i.dim),o=Number.MAX_VALUE,a=0,s=n.getOrdinalMeta().categories.length;a<s;++a){var l=e.rawIndexOf(r,n.getRawOrdinalNumber(a)),u=l<0?5e-324:t(e.indexOfRawIndex(l));if(u>o)return!0;o=u}return!1},t.prototype._isOrderDifferentInView=function(e,t){for(var i=t.scale,n=i.getExtent(),r=Math.max(0,n[0]),o=Math.min(n[1],i.getOrdinalMeta().categories.length-1);r<=o;++r)if(e.ordinalNumbers[r]!==i.getRawOrdinalNumber(r))return!0},t.prototype._updateSortWithinSameData=function(e,t,i,n){if(this._isOrderChangedWithinSameData(e,t,i)){var r=this._dataSort(e,i,t);this._isOrderDifferentInView(r,i)&&(this._removeOnRenderedListener(n),n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:r}))}},t.prototype._dispatchInitSort=function(e,t,i){var n=t.baseAxis,r=this._dataSort(e,n,function(i){return e.get(e.mapDimension(t.otherAxis.dim),i)});i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",isInitSort:!0,axisId:n.index,sortInfo:r})},t.prototype.remove=function(e,t){this._clear(this._model),this._removeOnRenderedListener(t)},t.prototype.dispose=function(e,t){this._removeOnRenderedListener(t)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var t=this.group,i=this._data;e&&e.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(t){(0,g.t5)(t,e,(0,v.z)(t).dataIndex)})):t.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(A.A),P={cartesian2d:function(e,t){var i=t.width<0?-1:1,n=t.height<0?-1:1;i<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var r=e.x+e.width,o=e.y+e.height,a=T(t.x,e.x),s=L(t.x+t.width,r),l=T(t.y,e.y),u=L(t.y+t.height,o),c=s<a,h=u<l;return t.x=c&&a>r?s:a,t.y=h&&l>o?u:l,t.width=c?0:s-a,t.height=h?0:u-l,i<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||h},polar:function(e,t){var i=t.r0<=t.r?1:-1;if(i<0){var n=t.r;t.r=t.r0,t.r0=n}var r=L(t.r,e.r),o=T(t.r0,e.r0);t.r=r,t.r0=o;var a=r-o<0;if(i<0){var n=t.r;t.r=t.r0,t.r0=n}return a}},R={cartesian2d:function(e,t,i,r,o,a,s,l,u){var c=new f.A({shape:(0,n.extend)({},r),z2:1});return c.__dataIndex=i,c.name="item",a&&(c.shape[o?"height":"width"]=0),c},polar:function(e,t,i,n,r,o,a,s,l){var u,c,h=!r&&l?S.A:y.A,d=new h({shape:n,z2:1});if(d.name="item",u=W(r),c=({isRoundCap:h===S.A}).isRoundCap,d.calculateTextPosition=function(e,t,i){var n=t.position;if(!n||n instanceof Array)return(0,I.X4)(e,t,i);var r=u(n),o=null!=t.distance?t.distance:5,a=this.shape,s=a.cx,l=a.cy,h=a.r,d=a.r0,p=(h+d)/2,g=a.startAngle,f=a.endAngle,y=(g+f)/2,v=c?Math.abs(h-d)/2:0,m=Math.cos,x=Math.sin,b=s+h*m(g),_=l+h*x(g),S="left",A="top";switch(r){case"startArc":b=s+(d-o)*m(y),_=l+(d-o)*x(y),S="center",A="top";break;case"insideStartArc":b=s+(d+o)*m(y),_=l+(d+o)*x(y),S="center",A="bottom";break;case"startAngle":b=s+p*m(g)+C(g,o+v,!1),_=l+p*x(g)+D(g,o+v,!1),S="right",A="middle";break;case"insideStartAngle":b=s+p*m(g)+C(g,-o+v,!1),_=l+p*x(g)+D(g,-o+v,!1),S="left",A="middle";break;case"middle":b=s+p*m(y),_=l+p*x(y),S="center",A="middle";break;case"endArc":b=s+(h+o)*m(y),_=l+(h+o)*x(y),S="center",A="bottom";break;case"insideEndArc":b=s+(h-o)*m(y),_=l+(h-o)*x(y),S="center",A="top";break;case"endAngle":b=s+p*m(f)+C(f,o+v,!0),_=l+p*x(f)+D(f,o+v,!0),S="left",A="middle";break;case"insideEndAngle":b=s+p*m(f)+C(f,-o+v,!0),_=l+p*x(f)+D(f,-o+v,!0),S="right",A="middle";break;default:return(0,I.X4)(e,t,i)}return(e=e||{}).x=b,e.y=_,e.align=S,e.verticalAlign=A,e},o){var p=d.shape,f=r?"r":"endAngle",v={};p[f]=r?n.r0:n.startAngle,v[f]=n[f],(s?g.oi:g.LW)(d,{shape:v},o)}return d}};function V(e,t,i,n,r,o,a,s){o?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(a?g.oi:g.LW)(i,{shape:l},t,r,null);var l,u,c=t?e.baseAxis.model:null;(a?g.oi:g.LW)(i,{shape:u},c,r)}function z(e,t){for(var i=0;i<t.length;i++)if(!isFinite(e[t[i]]))return!0;return!1}var N=["x","y","width","height"],E=["cx","cy","r","startAngle","endAngle"],B={cartesian2d:function(e){return!z(e,N)},polar:function(e){return!z(e,E)}},G={cartesian2d:function(e,t,i){var n,r,o,a=e.getItemLayout(t),s=i?(n=i,r=a,(o=n.get(["itemStyle","borderColor"]))&&"none"!==o?Math.min(n.get(["itemStyle","borderWidth"])||0,isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height)):0):0,l=a.width>0?1:-1,u=a.height>0?1:-1;return{x:a.x+l*s/2,y:a.y+u*s/2,width:a.width-l*s,height:a.height-u*s}},polar:function(e,t,i){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function W(e){var t;return t=e?"Arc":"Angle",function(e){switch(e){case"start":case"insideStart":case"end":case"insideEnd":return e+t;default:return e}}}function H(e,t,i,r,o,a,s,l){var u=t.getItemVisual(i,"style");if(l){if(!a.get("roundCap")){var c=e.shape,h=(0,O.i)(r.getModel("itemStyle"),c,!0);(0,n.extend)(c,h),e.setShape(c)}}else{var d=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",d)}e.useStyle(u);var p=r.getShallow("cursor");p&&e.attr("cursor",p);var g=l?s?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":s?o.height>=0?"bottom":"top":o.width>=0?"right":"left",f=(0,x.lx)(r);(0,x.qM)(e,f,{labelFetcher:a,labelDataIndex:i,defaultText:(0,M.i)(a.getData(),i),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:g});var y=e.getTextContent();if(l&&y){var v=r.get(["label","position"]);e.textConfig.inside="middle"===v||null,function(e,t,i,r){if((0,n.isNumber)(r))return e.setTextConfig({rotation:r});if((0,n.isArray)(t))return e.setTextConfig({rotation:0});var o,a=e.shape,s=a.clockwise?a.startAngle:a.endAngle,l=a.clockwise?a.endAngle:a.startAngle,u=i(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=(s+l)/2;break;case"startAngle":case"insideStartAngle":o=s;break;case"endAngle":case"insideEndAngle":o=l;break;default:e.setTextConfig({rotation:0});return}var c=1.5*Math.PI-o;"middle"===u&&c>Math.PI/2&&c<1.5*Math.PI&&(c-=Math.PI),e.setTextConfig({rotation:c})}(e,"outside"===v?g:v,W(s),r.get(["label","rotate"]))}(0,x.Oh)(y,f,a.getRawValue(i),function(e){return(0,M.T)(t,e)});var b=r.getModel(["emphasis"]);(0,m.Lm)(e,b.get("focus"),b.get("blurScope"),b.get("disabled")),(0,m.Mx)(e,r),null!=o.startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(e.style.fill="none",e.style.stroke="none",(0,n.each)(e.states,function(e){e.style&&(e.style.fill=e.style.stroke="none")}))}var F=function(){},Z=function(e){function t(t){var i=e.call(this,t)||this;return i.type="largeBar",i}return(0,a.C6)(t,e),t.prototype.getDefaultShape=function(){return new F},t.prototype.buildPath=function(e,t){for(var i=t.points,n=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l<i.length;l+=3)a[n]=s,a[r]=i[l+2],o[n]=i[l+n],o[r]=i[l+r],e.rect(o[0],o[1],a[0],a[1])},t}(h.Ay);function Y(e,t,i,n){var r=e.getData(),o=+!!r.getLayout("valueAxisHorizontal"),a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=e.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var c=new Z({shape:{points:u},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),i&&i.push(c)}var h=new Z({shape:{points:r.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,t.add(h),h.useStyle(r.getVisual("style")),(0,v.z)(h).seriesIndex=e.seriesIndex,e.get("silent")||(h.on("mousedown",X),h.on("mousemove",X)),i&&i.push(h)}var X=(0,b.nF)(function(e){var t=function(e,t,i){for(var n=e.baseDimIdx,r=1-n,o=e.shape.points,a=e.largeDataIndices,s=[],l=[],u=e.barWidth,c=0,h=o.length/3;c<h;c++){var d=3*c;if(l[n]=u,l[r]=o[d+2],s[n]=o[d+n],s[r]=o[d+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),t>=s[0]&&t<=s[0]+l[0]&&i>=s[1]&&i<=s[1]+l[1])return a[c]}return -1}(this,e.offsetX,e.offsetY);(0,v.z)(this).dataIndex=t>=0?t:null},30,!1);function U(e,t,i){if((0,w.g)(i,"cartesian2d")){var n=i.getArea();return{x:e?t.x:n.x,y:e?n.y:t.y,width:e?t.width:n.width,height:e?n.height:t.height}}var n=i.getArea();return{cx:n.cx,cy:n.cy,r0:e?n.r0:t.r0,r:e?n.r:t.r,startAngle:e?t.startAngle:0,endAngle:e?t.endAngle:2*Math.PI}}function K(e){e.registerChartView(k),e.registerSeriesModel(c),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,n.curry(r.Zp,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,r.KF)("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,(0,o.A)("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,t){var i=e.componentType||"series";t.eachComponent({mainType:i,query:e},function(t){e.sortInfo&&t.axis.setCategorySortInfo(e.sortInfo)})})}},23670(e,t,i){i.d(t,{a:()=>es});var n=i(31831),r=i(43059),o=i(84124),a=i(55785),s={color:"fill",borderColor:"stroke"},l={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u=(0,o.$r)(),c=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,t){return(0,r.A)(null,this)},t.prototype.getDataParams=function(t,i,n){var r=e.prototype.getDataParams.call(this,t,i);return n&&(r.info=u(n).info),r},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(a.A),h=i(4884),d=i(30070),p=i(59033),g=i(64586),f=i(52384),y=i(79620),v=i(72059),m=i(73394),x=i(18538),b=i(30730),_=i(31393),S=i(31440),A=i(55037);function w(e,t){return t=t||[0,0],h.map(["x","y"],function(i,n){var r=this.getAxis(i),o=t[n],a=e[n]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))},this)}function M(e,t){return t=t||[0,0],h.map([0,1],function(i){var n=t[i],r=e[i]/2,o=[],a=[];return o[i]=n-r,a[i]=n+r,o[1-i]=a[1-i]=t[1-i],Math.abs(this.dataToPoint(o)[i]-this.dataToPoint(a)[i])},this)}function I(e,t){var i=this.getAxis(),n=t instanceof Array?t[0]:t,r=(e instanceof Array?e[0]:e)/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(n-r)-i.dataToCoord(n+r))}function C(e,t){return t=t||[0,0],h.map(["Radius","Angle"],function(i,n){var r=this["get"+i+"Axis"](),o=t[n],a=e[n]/2,s="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a));return"Angle"===i&&(s=s*Math.PI/180),s},this)}var D=i(38513),O=i(45106),T=i(58391),L=i(34780),k=i(24707),P=i(39952),R="emphasis",V="normal",z="blur",N="select",E=[V,R,z,N],B={normal:["itemStyle"],emphasis:[R,"itemStyle"],blur:[z,"itemStyle"],select:[N,"itemStyle"]},G={normal:["label"],emphasis:[R,"label"],blur:[z,"label"],select:[N,"label"]},W=["x","y"],H={normal:{},emphasis:{},blur:{},select:{}},F={cartesian2d:function(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:h.bind(w,e)}}},geo:function(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(t){return e.dataToPoint(t)},size:h.bind(M,e)}}},single:function(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(t){return e.dataToPoint(t)},size:(0,h.bind)(I,e)}}},polar:function(e){var t=e.getRadiusAxis(),i=e.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:n[1],r0:n[0]},api:{coord:function(n){var r=t.dataToRadius(n[0]),o=i.dataToAngle(n[1]),a=e.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:h.bind(C,e)}}},calendar:function(e){var t=e.getRect(),i=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:i.start,end:i.end,weeks:i.weeks,dayCount:i.allDay}},api:{coord:function(t,i){return e.dataToPoint(t,i)}}}}};function Z(e){return e instanceof d.Ay}function Y(e){return e instanceof D.Ay}var X=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.render=function(e,t,i,n){this._progressiveEls=null;var r=this._data,o=e.getData(),a=this.group,s=$(e,o,t,i);r||a.removeAll(),o.diff(r).add(function(t){j(i,null,t,s(t,n),e,a,o)}).remove(function(t){var i=r.getItemGraphicEl(t);i&&(0,k.h8)(i,u(i).option,e)}).update(function(t,l){j(i,r.getItemGraphicEl(l),t,s(t,n),e,a,o)}).execute();var l=e.get("clip",!0)?(0,A.Ip)(e.coordinateSystem,!1,e):null;l?a.setClipPath(l):a.removeClipPath(),this._data=o},t.prototype.incrementalPrepareRender=function(e,t,i){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,i,n,r){var o=t.getData(),a=$(t,o,i,n),s=this._progressiveEls=[];function l(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var c=j(null,null,u,a(u,r),t,this.group,o);c&&(c.traverse(l),s.push(c))}},t.prototype.eachRendered=function(e){p.traverseElements(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,t,i,n){var r=t.element;if(null==r||i.name===r)return!0;for(;(i=i.__hostTarget||i.parent)&&i!==this.group;)if(i.name===r)return!0;return!1},t.type="custom",t}(S.A);function U(e){var t,i=e.type;if("path"===i){var n=e.shape,r=null!=n.width&&null!=n.height?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,o=ea(n);u(t=p.makePath(o,null,r,n.layout||"center")).customPathData=o}else if("image"===i)u(t=new g.Ay({})).customImagePath=e.style.image;else if("text"===i)t=new f.Ay({});else if("group"===i)t=new y.A;else if("compoundPath"===i)throw Error('"compoundPath" is not supported yet.');else{var a=p.getShapeClass(i);a||(0,T.$8)(""),t=new a}return u(t).customGraphicType=i,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function K(e,t,i,n,r,o,a){(0,P.$)(t);var s=r&&r.normal.cfg;s&&t.setTextConfig(s),n&&null==n.transition&&(n.transition=W);var l=n&&n.style;if(l){"text"===t.type&&((0,h.hasOwn)(l,"textFill")&&(l.fill=l.textFill),(0,h.hasOwn)(l,"textStroke")&&(l.stroke=l.textStroke));var u=void 0,c=Z(t)?l.decal:null;e&&c&&(c.dirty=!0,u=(0,L.w)(c,e)),l.__decalPattern=u}if(Y(t)&&l){var u=l.__decalPattern;u&&(l.decal=u)}(0,k.rh)(t,n,o,{dataIndex:i,isInit:a,clearStyle:!0}),(0,P.L)(t,n.keyframeAnimation,o)}function q(e,t,i,n,r){var o=t.isGroup?null:t,a=r&&r[e].cfg;if(o){var s=o.ensureState(e);if(!1===n){var l=o.getState(e);l&&(l.style=null)}else s.style=n||null;a&&(s.textConfig=a),(0,v.DW)(o)}}function $(e,t,i,n){var r,o,a,u,c=e.get("renderItem"),d=e.coordinateSystem,p={};d&&(p=d.prepareCustoms?d.prepareCustoms(d):F[d.type](d));for(var g=(0,h.defaults)({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(e,i){return null==i&&(i=a),t.getStore().get(t.getDimensionIndex(e||0),i)},style:function(i,n){null==n&&(n=a);var r=t.getItemVisual(n,"style"),o=r&&r.fill,s=r&&r.opacity,l=I(n,V).getItemStyle();null!=o&&(l.fill=o),null!=s&&(l.opacity=s);var u={inheritColor:(0,h.isString)(o)?o:"#000"},c=C(n,V),d=m.VB(c,null,u,!1,!0);d.text=c.getShallow("show")?(0,h.retrieve2)(e.getFormattedLabel(n,V),(0,x.i)(t,n)):null;var p=m.sD(c,u,!1);return T(i,l),l=(0,O.Fs)(l,d,p),i&&D(l,i),l.legacy=!0,l},ordinalRawValue:function(e,i){null==i&&(i=a),e=e||0;var n=t.getDimensionInfo(e);if(!n){var r=t.getDimensionIndex(e);return r>=0?t.getStore().get(r,i):void 0}var o=t.get(n.name,i),s=n&&n.ordinalMeta;return s?s.categories[o]:o},styleEmphasis:function(i,n){null==n&&(n=a);var r=I(n,R).getItemStyle(),o=C(n,R),s=m.VB(o,null,null,!0,!0);s.text=o.getShallow("show")?(0,h.retrieve3)(e.getFormattedLabel(n,R),e.getFormattedLabel(n,V),(0,x.i)(t,n)):null;var l=m.sD(o,null,!0);return T(i,r),r=(0,O.Fs)(r,s,l),i&&D(r,i),r.legacy=!0,r},visual:function(e,i){if(null==i&&(i=a),(0,h.hasOwn)(s,e)){var n=t.getItemVisual(i,"style");return n?n[s[e]]:null}if((0,h.hasOwn)(l,e))return t.getItemVisual(i,e)},barLayout:function(e){if("cartesian2d"===d.type){var t=d.getBaseAxis();return(0,b.DL)((0,h.defaults)({axis:t},e))}},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(e){return m.c8(e,i)}},p.api||{}),f={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:p.coordSys,dataInsideLength:t.count(),encode:(r=e.getData(),o={},(0,h.each)(r.dimensions,function(e){var t=r.getDimensionInfo(e);if(!t.isExtraCoord){var i=t.coordDim;(o[i]=o[i]||[])[t.coordDimIndex]=r.getDimensionIndex(e)}}),o)},y={},v={},_={},S={},A=0;A<E.length;A++){var w=E[A];_[w]=e.getModel(B[w]),S[w]=e.getModel(G[w])}function M(e){return e===a?u||(u=t.getItemModel(e)):t.getItemModel(e)}function I(e,i){return t.hasItemOption?e===a?y[i]||(y[i]=M(e).getModel(B[i])):M(e).getModel(B[i]):_[i]}function C(e,i){return t.hasItemOption?e===a?v[i]||(v[i]=M(e).getModel(G[i])):M(e).getModel(G[i]):S[i]}return function(e,i){return a=e,u=null,y={},v={},c&&c((0,h.defaults)({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:i?i.type:null},f),g)};function D(e,t){for(var i in t)(0,h.hasOwn)(t,i)&&(e[i]=t[i])}function T(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}}function j(e,t,i,n,r,o,a){if(!n)return void o.remove(t);var s=J(e,t,i,n,r,o);return s&&a.setItemGraphicEl(i,s),s&&(0,v.Lm)(s,n.focus,n.blurScope,n.emphasisDisabled),s}function J(e,t,i,n,r,o){var a,s=-1,l=t;t&&Q(t,n,r)&&(s=(0,h.indexOf)(o.childrenRef(),t),t=null);var c=!t,d=t;d?d.clearStates():(d=U(n),l&&((a=d).copyTransform(l),Y(a)&&Y(l)&&(a.setStyle(l.style),a.z=l.z,a.z2=l.z2,a.zlevel=l.zlevel,a.invisible=l.invisible,a.ignore=l.ignore,Z(a)&&Z(l)&&a.setShape(l.shape)))),!1===n.morph?d.disableMorphing=!0:d.disableMorphing&&(d.disableMorphing=!1),H.normal.cfg=H.normal.conOpt=H.emphasis.cfg=H.emphasis.conOpt=H.blur.cfg=H.blur.conOpt=H.select.cfg=H.select.conOpt=null,H.isLegacy=!1,function(e,t,i,n,r,o){if(!e.isGroup){ee(i,null,o),ee(i,R,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var c=e.getTextContent();if(!1===a)c&&e.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},c?c.clearStates():(c=U(a),e.setTextContent(c)),K(null,c,t,a,null,n,r);for(var h=a&&a.style,d=0;d<E.length;d++){var p=E[d];if(p!==V){var g=o[p].conOpt;q(p,c,g,ei(a,g,p),null)}}h?c.dirty():c.markRedraw()}}}}(d,i,n,r,c,H),function(e,t,i,n,r){var o=i.clipPath;if(!1===o)e&&e.getClipPath()&&e.removeClipPath();else if(o){var a=e.getClipPath();a&&Q(a,o,n)&&(a=null),a||(a=U(o),e.setClipPath(a)),K(null,a,t,o,null,n,r)}}(d,i,n,r,c),K(e,d,i,n,H,r,c),(0,h.hasOwn)(n,"info")&&(u(d).info=n.info);for(var p=0;p<E.length;p++){var g=E[p];if(g!==V){var f=et(n,g),y=ei(n,f,g);q(g,d,f,y,H)}}var v=d;if(!v.isGroup){var m=r.currentZ,x=r.currentZLevel;v.z=m,v.zlevel=x;var b=n.z2;null!=b&&(v.z2=b||0);for(var S=0;S<E.length;S++)!function(e,t,i){var n=i===V,r=n?t:et(t,i),o=r?r.z2:null;null!=o&&((n?e:e.ensureState(i)).z2=o||0)}(v,n,E[S])}return"group"===n.type&&function(e,t,i,n,r){var o=n.children,a=o?o.length:0,s=n.$mergeChildren,l="byName"===s||n.diffChildrenByName,c=!1===s;if(a||l||c){if(l){return f={api:e,oldChildren:t.children()||[],newChildren:o||[],dataIndex:i,seriesModel:r,group:t},new _.A(f.oldChildren,f.newChildren,en,en,f).add(er).update(er).remove(eo).execute()}c&&t.removeAll();for(var h=0;h<a;h++){var d=o[h],p=t.childAt(h);d?(null==d.ignore&&(d.ignore=!1),J(e,p,i,d,r,t)):p.ignore=!0}for(var g=t.childCount()-1;g>=h;g--){var f,y,v,m,x=t.childAt(g);y=t,v=x,m=r,v&&(0,k.h8)(v,u(y).option,m)}}}(e,d,i,n,r),s>=0?o.replaceAt(d,s):o.add(d),d}function Q(e,t,i){var n,r=u(e),o=t.type,a=t.shape,s=t.style;return i.isUniversalTransitionEnabled()||null!=o&&o!==r.customGraphicType||"path"===o&&(n=a)&&((0,h.hasOwn)(n,"pathData")||(0,h.hasOwn)(n,"d"))&&ea(a)!==r.customPathData||"image"===o&&(0,h.hasOwn)(s,"image")&&s.image!==r.customImagePath}function ee(e,t,i){var n=t?et(e,t):e,r=t?ei(e,n,R):e.style,o=e.type,a=n?n.textConfig:null,s=e.textContent,l=s?t?et(s,t):s:null;if(r&&(i.isLegacy||(0,O.ex)(r,o,!!a,!!l))){i.isLegacy=!0;var u=(0,O.lH)(r,o,!t);!a&&u.textConfig&&(a=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;c.type||(c.type="text")}var h=t?i[t]:i.normal;h.cfg=a,h.conOpt=l}function et(e,t){return t?e?e[t]:null:e}function ei(e,t,i){var n=t&&t.style;return null==n&&i===R&&e&&(n=e.styleEmphasis),n}function en(e,t){var i=e&&e.name;return null!=i?i:"e\0\0"+t}function er(e,t){var i=this.context,n=null!=e?i.newChildren[e]:null,r=null!=t?i.oldChildren[t]:null;J(i.api,r,i.dataIndex,n,i.seriesModel,i.group)}function eo(e){var t=this.context,i=t.oldChildren[e];i&&(0,k.h8)(i,u(i).option,t.seriesModel)}function ea(e){return e&&(e.pathData||e.d)}function es(e){e.registerChartView(X),e.registerSeriesModel(c)}},49828(e,t,i){i.d(t,{a:()=>I});var n=i(31831),r=i(30070),o=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},a=function(e){function t(t){var i=e.call(this,t)||this;return i.type="pointer",i}return(0,n.C6)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){var i=Math.cos,n=Math.sin,r=t.r,o=t.width,a=t.angle,s=t.x-i(a)*o*(o>=r/3?1:2),l=t.y-n(a)*o*(o>=r/3?1:2);a=t.angle-Math.PI/2,e.moveTo(s,l),e.lineTo(t.x+i(a)*o,t.y+n(a)*o),e.lineTo(t.x+i(t.angle)*r,t.y+n(t.angle)*r),e.lineTo(t.x-i(a)*o,t.y-n(a)*o),e.lineTo(s,l)},t}(r.Ay),s=i(23917),l=i(28887),u=i(52384),c=i(68532),h=i(79620),d=i(72059),p=i(73394),g=i(31440),f=i(21916),y=i(88556),v=i(60253),m=i(64586),x=i(4884),b=i(35032),_=i(40843);function S(e,t){var i=null==e?"":e+"";return t&&((0,x.isString)(t)?i=t.replace("{value}",i):(0,x.isFunction)(t)&&(i=t(e))),i}var A=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.render=function(e,t,i){this.group.removeAll();var n,r,o=e.get(["axisLine","lineStyle","color"]),a=(n=e.get("center"),r=Math.min(i.getWidth(),i.getHeight()),{cx:(0,f.lo)(n[0],i.getWidth()),cy:(0,f.lo)(n[1],i.getHeight()),r:(0,f.lo)(e.get("radius"),r/2)});this._renderMain(e,t,i,o,a),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,i,n,r){var o=this.group,a=e.get("clockwise"),l=-e.get("startAngle")/180*Math.PI,u=-e.get("endAngle")/180*Math.PI,c=e.getModel("axisLine"),h=c.get("roundCap")?y.A:s.A,d=c.get("show"),p=c.getModel("lineStyle"),g=p.get("width"),f=[l,u];(0,_.q)(f,!a),l=f[0];for(var v=(u=f[1])-l,m=l,b=[],S=0;d&&S<n.length;S++){var A=new h({shape:{startAngle:m,endAngle:u=l+v*Math.min(Math.max(n[S][0],0),1),cx:r.cx,cy:r.cy,clockwise:a,r0:r.r-g,r:r.r},silent:!0});A.setStyle({fill:n[S][1]}),A.setStyle(p.getLineStyle(["color","width"])),b.push(A),m=u}b.reverse(),(0,x.each)(b,function(e){return o.add(e)});var w=function(e){var t;if(e<=0)return n[0][1];for(t=0;t<n.length;t++)if(n[t][0]>=e&&(0===t?0:n[t-1][0])<e)return n[t][1];return n[t-1][1]};this._renderTicks(e,t,i,w,r,l,u,a,g),this._renderTitleAndDetail(e,t,i,w,r),this._renderAnchor(e,r),this._renderPointer(e,t,i,w,r,l,u,a,g)},t.prototype._renderTicks=function(e,t,i,n,r,o,a,s,c){for(var h,d,g=this.group,y=r.cx,v=r.cy,m=r.r,b=+e.get("min"),_=+e.get("max"),A=e.getModel("splitLine"),w=e.getModel("axisTick"),M=e.getModel("axisLabel"),I=e.get("splitNumber"),C=w.get("splitNumber"),D=(0,f.lo)(A.get("length"),m),O=(0,f.lo)(w.get("length"),m),T=o,L=(a-o)/I,k=L/C,P=A.getModel("lineStyle").getLineStyle(),R=w.getModel("lineStyle").getLineStyle(),V=A.get("distance"),z=0;z<=I;z++){if(h=Math.cos(T),d=Math.sin(T),A.get("show")){var N=V?V+c:c,E=new l.A({shape:{x1:h*(m-N)+y,y1:d*(m-N)+v,x2:h*(m-D-N)+y,y2:d*(m-D-N)+v},style:P,silent:!0});"auto"===P.stroke&&E.setStyle({stroke:n(z/I)}),g.add(E)}if(M.get("show")){var N=M.get("distance")+V,B=S((0,f.LI)(z/I*(_-b)+b),M.get("formatter")),G=n(z/I),W=h*(m-D-N)+y,H=d*(m-D-N)+v,F=M.get("rotate"),Z=0;"radial"===F?(Z=-T+2*Math.PI)>Math.PI/2&&(Z+=Math.PI):"tangential"===F?Z=-T-Math.PI/2:(0,x.isNumber)(F)&&(Z=F*Math.PI/180),0===Z?g.add(new u.Ay({style:(0,p.VB)(M,{text:B,x:W,y:H,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:h<-.4?"left":h>.4?"right":"center"},{inheritColor:G}),silent:!0})):g.add(new u.Ay({style:(0,p.VB)(M,{text:B,x:W,y:H,verticalAlign:"middle",align:"center"},{inheritColor:G}),silent:!0,originX:W,originY:H,rotation:Z}))}if(w.get("show")&&z!==I){var N=w.get("distance");N=N?N+c:c;for(var Y=0;Y<=C;Y++){h=Math.cos(T),d=Math.sin(T);var X=new l.A({shape:{x1:h*(m-N)+y,y1:d*(m-N)+v,x2:h*(m-O-N)+y,y2:d*(m-O-N)+v},silent:!0,style:R});"auto"===R.stroke&&X.setStyle({stroke:n((z+Y/C)/I)}),g.add(X),T+=k}T-=k}else T+=L}},t.prototype._renderPointer=function(e,t,i,n,r,o,l,u,h){var p=this.group,g=this._data,_=this._progressEls,S=[],A=e.get(["pointer","show"]),w=e.getModel("progress"),M=w.get("show"),I=e.getData(),C=I.mapDimension("value"),D=+e.get("min"),O=+e.get("max"),T=[D,O],L=[o,l];function k(t,i){var n,o=I.getItemModel(t).getModel("pointer"),s=(0,f.lo)(o.get("width"),r.r),l=(0,f.lo)(o.get("length"),r.r),u=e.get(["pointer","icon"]),c=o.get("offsetCenter"),h=(0,f.lo)(c[0],r.r),d=(0,f.lo)(c[1],r.r),p=o.get("keepAspect");return(n=u?(0,v.v5)(u,h-s/2,d-l,s,l,null,p):new a({shape:{angle:-Math.PI/2,width:s,r:l,x:h,y:d}})).rotation=-(i+Math.PI/2),n.x=r.cx,n.y=r.cy,n}function P(e,t){var i=w.get("roundCap")?y.A:s.A,n=w.get("overlap"),a=n?w.get("width"):h/I.count(),l=n?r.r-a:r.r-(e+1)*a,c=n?r.r:r.r-e*a,d=new i({shape:{startAngle:o,endAngle:t,cx:r.cx,cy:r.cy,clockwise:u,r0:l,r:c}});return n&&(d.z2=O-I.get(C,e)%O),d}(M||A)&&(I.diff(g).add(function(t){var i=I.get(C,t);if(A){var n=k(t,o);c.LW(n,{rotation:-((isNaN(+i)?L[0]:(0,f.Cb)(i,T,L,!0))+Math.PI/2)},e),p.add(n),I.setItemGraphicEl(t,n)}if(M){var r=P(t,o),a=w.get("clip");c.LW(r,{shape:{endAngle:(0,f.Cb)(i,T,L,a)}},e),p.add(r),(0,b.a)(e.seriesIndex,I.dataType,t,r),S[t]=r}}).update(function(t,i){var n=I.get(C,t);if(A){var r=g.getItemGraphicEl(i),a=r?r.rotation:o,s=k(t,a);s.rotation=a,c.oi(s,{rotation:-((isNaN(+n)?L[0]:(0,f.Cb)(n,T,L,!0))+Math.PI/2)},e),p.add(s),I.setItemGraphicEl(t,s)}if(M){var l=_[i],u=P(t,l?l.shape.endAngle:o),h=w.get("clip");c.oi(u,{shape:{endAngle:(0,f.Cb)(n,T,L,h)}},e),p.add(u),(0,b.a)(e.seriesIndex,I.dataType,t,u),S[t]=u}}).execute(),I.each(function(e){var t=I.getItemModel(e),i=t.getModel("emphasis"),r=i.get("focus"),o=i.get("blurScope"),a=i.get("disabled");if(A){var s=I.getItemGraphicEl(e),l=I.getItemVisual(e,"style"),u=l.fill;if(s instanceof m.Ay){var c=s.style;s.useStyle((0,x.extend)({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",n((0,f.Cb)(I.get(C,e),T,[0,1],!0))),s.z2EmphasisLift=0,(0,d.Mx)(s,t),(0,d.Lm)(s,r,o,a)}if(M){var h=S[e];h.useStyle(I.getItemVisual(e,"style")),h.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,(0,d.Mx)(h,t),(0,d.Lm)(h,r,o,a)}}),this._progressEls=S)},t.prototype._renderAnchor=function(e,t){var i=e.getModel("anchor");if(i.get("show")){var n=i.get("size"),r=i.get("icon"),o=i.get("offsetCenter"),a=i.get("keepAspect"),s=(0,v.v5)(r,t.cx-n/2+(0,f.lo)(o[0],t.r),t.cy-n/2+(0,f.lo)(o[1],t.r),n,n,null,a);s.z2=+!!i.get("showAbove"),s.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(s)}},t.prototype._renderTitleAndDetail=function(e,t,i,n,r){var o=this,a=e.getData(),s=a.mapDimension("value"),l=+e.get("min"),c=+e.get("max"),d=new h.A,g=[],y=[],v=e.isAnimationEnabled(),m=e.get(["pointer","showAbove"]);a.diff(this._data).add(function(e){g[e]=new u.Ay({silent:!0}),y[e]=new u.Ay({silent:!0})}).update(function(e,t){g[e]=o._titleEls[t],y[e]=o._detailEls[t]}).execute(),a.each(function(t){var i=a.getItemModel(t),o=a.get(s,t),u=new h.A,x=n((0,f.Cb)(o,[l,c],[0,1],!0)),b=i.getModel("title");if(b.get("show")){var _=b.get("offsetCenter"),A=r.cx+(0,f.lo)(_[0],r.r),w=r.cy+(0,f.lo)(_[1],r.r),M=g[t];M.attr({z2:2*!m,style:(0,p.VB)(b,{x:A,y:w,text:a.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:x})}),u.add(M)}var I=i.getModel("detail");if(I.get("show")){var C=I.get("offsetCenter"),D=r.cx+(0,f.lo)(C[0],r.r),O=r.cy+(0,f.lo)(C[1],r.r),T=(0,f.lo)(I.get("width"),r.r),L=(0,f.lo)(I.get("height"),r.r),k=e.get(["progress","show"])?a.getItemVisual(t,"style").fill:x,M=y[t],P=I.get("formatter");M.attr({z2:2*!m,style:(0,p.VB)(I,{x:D,y:O,text:S(o,P),width:isNaN(T)?null:T,height:isNaN(L)?null:L,align:"center",verticalAlign:"middle"},{inheritColor:k})}),(0,p.Oh)(M,{normal:I},o,function(e){return S(e,P)}),v&&(0,p.xb)(M,t,a,e,{getFormattedLabel:function(e,t,i,n,r,a){return S(a?a.interpolatedValue:o,P)}}),u.add(M)}d.add(u)}),this.group.add(d),this._titleEls=g,this._detailEls=y},t.type="gauge",t}(g.A),w=i(29605),M=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.visualStyleAccessPath="itemStyle",i}return(0,n.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,w.A)(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(i(55785).A);function I(e){e.registerChartView(A),e.registerSeriesModel(M)}},9356(e,t,i){i.d(t,{a:()=>b});var n=i(31831),r=i(59033),o=i(63811),a=i(64586),s=i(72059),l=i(46979),u=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=l.yh.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,i,n,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,c=this.canvas,h=c.getContext("2d"),d=e.length;c.width=t,c.height=i;for(var p=0;p<d;++p){var g=e[p],f=g[0],y=g[1],v=n(g[2]);h.globalAlpha=v,h.drawImage(a,f-u,y-u)}if(!c.width||!c.height)return c;for(var m=h.getImageData(0,0,c.width,c.height),x=m.data,b=0,_=x.length,S=this.minOpacity,A=this.maxOpacity-S;b<_;){var v=x[b+3]/256,w=4*Math.floor(255*v);if(v>0){var M=o(v)?s:l;v>0&&(v=v*A+S),x[b++]=M[w],x[b++]=M[w+1],x[b++]=M[w+2],x[b++]=M[w+3]*v*256}else b+=4}return h.putImageData(m,0,0),c},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=l.yh.createCanvas()),t=this.pointSize+this.blurSize,i=2*t;e.width=i,e.height=i;var n=e.getContext("2d");return n.clearRect(0,0,i,i),n.shadowOffsetX=i,n.shadowBlur=this.blurSize,n.shadowColor="#000",n.beginPath(),n.arc(-t,t,this.pointSize,0,2*Math.PI,!0),n.closePath(),n.fill(),e},e.prototype._getGradient=function(e,t){for(var i=this._gradientPixels,n=i[t]||(i[t]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)e[t](a/255,!0,r),n[o++]=r[0],n[o++]=r[1],n[o++]=r[2],n[o++]=r[3];return n},e}(),c=i(4884),h=i(31440),d=i(43139),p=i(73394);function g(e){var t=e.dimensions;return"lng"===t[0]&&"lat"===t[1]}var f=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.render=function(e,t,i){t.eachComponent("visualMap",function(t){t.eachTargetSeries(function(i){i===e&&(n=t)})}),this._progressiveEls=null,this.group.removeAll();var n,r=e.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(e,i,0,e.getData().count()):g(r)&&this._renderOnGeo(r,e,n,i)},t.prototype.incrementalPrepareRender=function(e,t,i){this.group.removeAll()},t.prototype.incrementalRender=function(e,t,i,n){var r=t.coordinateSystem;r&&(g(r)?this.render(t,i,n):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(t,n,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){r.traverseElements(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,t,i,n,r){var a,l,u,c,h=e.coordinateSystem,g=(0,d.g)(h,"cartesian2d");if(g){var f=h.getAxis("x"),y=h.getAxis("y");a=f.getBandWidth()+.5,l=y.getBandWidth()+.5,u=f.scale.getExtent(),c=y.scale.getExtent()}for(var v=this.group,m=e.getData(),x=e.getModel(["emphasis","itemStyle"]).getItemStyle(),b=e.getModel(["blur","itemStyle"]).getItemStyle(),_=e.getModel(["select","itemStyle"]).getItemStyle(),S=e.get(["itemStyle","borderRadius"]),A=(0,p.lx)(e),w=e.getModel("emphasis"),M=w.get("focus"),I=w.get("blurScope"),C=w.get("disabled"),D=g?[m.mapDimension("x"),m.mapDimension("y"),m.mapDimension("value")]:[m.mapDimension("time"),m.mapDimension("value")],O=i;O<n;O++){var T=void 0,L=m.getItemVisual(O,"style");if(g){var k=m.get(D[0],O),P=m.get(D[1],O);if(isNaN(m.get(D[2],O))||isNaN(k)||isNaN(P)||k<u[0]||k>u[1]||P<c[0]||P>c[1])continue;var R=h.dataToPoint([k,P]);T=new o.A({shape:{x:R[0]-a/2,y:R[1]-l/2,width:a,height:l},style:L})}else{if(isNaN(m.get(D[1],O)))continue;T=new o.A({z2:1,shape:h.dataToRect([m.get(D[0],O)]).contentShape,style:L})}if(m.hasItemOption){var V=m.getItemModel(O),z=V.getModel("emphasis");x=z.getModel("itemStyle").getItemStyle(),b=V.getModel(["blur","itemStyle"]).getItemStyle(),_=V.getModel(["select","itemStyle"]).getItemStyle(),S=V.get(["itemStyle","borderRadius"]),M=z.get("focus"),I=z.get("blurScope"),C=z.get("disabled"),A=(0,p.lx)(V)}T.shape.r=S;var N=e.getRawValue(O),E="-";N&&null!=N[2]&&(E=N[2]+""),(0,p.qM)(T,A,{labelFetcher:e,labelDataIndex:O,defaultOpacity:L.opacity,defaultText:E}),T.ensureState("emphasis").style=x,T.ensureState("blur").style=b,T.ensureState("select").style=_,(0,s.Lm)(T,M,I,C),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),v.add(T),m.setItemGraphicEl(O,T),this._progressiveEls&&this._progressiveEls.push(T)}},t.prototype._renderOnGeo=function(e,t,i,n){var r,o,s,l,h,d,p,g=i.targetVisuals.inRange,f=i.targetVisuals.outOfRange,y=t.getData(),v=this._hmLayer||this._hmLayer||new u;v.blurSize=t.get("blurSize"),v.pointSize=t.get("pointSize"),v.minOpacity=t.get("minOpacity"),v.maxOpacity=t.get("maxOpacity");var m=e.getViewRect().clone(),x=e.getRoamTransform();m.applyTransform(x);var b=Math.max(m.x,0),_=Math.max(m.y,0),S=Math.min(m.width+m.x,n.getWidth()),A=Math.min(m.height+m.y,n.getHeight()),w=S-b,M=A-_,I=[y.mapDimension("lng"),y.mapDimension("lat"),y.mapDimension("value")],C=y.mapArray(I,function(t,i,n){var r=e.dataToPoint([t,i]);return r[0]-=b,r[1]-=_,r.push(n),r}),D=i.getExtent(),O="visualMap.continuous"===i.type?(r=i.option.range,o=D[1]-D[0],r=[(r[0]-D[0])/o,(r[1]-D[0])/o],function(e){return e>=r[0]&&e<=r[1]}):(s=i.getPieceList(),l=i.option.selected,h=D[1]-D[0],d=(s=c.map(s,function(e){return{interval:[(e.interval[0]-D[0])/h,(e.interval[1]-D[0])/h]}})).length,p=0,function(e){var t;for(t=p;t<d;t++){var i=s[t].interval;if(i[0]<=e&&e<=i[1]){p=t;break}}if(t===d)for(t=p-1;t>=0;t--){var i=s[t].interval;if(i[0]<=e&&e<=i[1]){p=t;break}}return t>=0&&t<d&&l[t]});v.update(C,w,M,g.color.getNormalizer(),{inRange:g.color.getColorMapper(),outOfRange:f.color.getColorMapper()},O);var T=new a.Ay({style:{width:w,height:M,x:b,y:_,image:v.canvas},silent:!0});this.group.add(T)},t.type="heatmap",t}(h.A),y=i(55785),v=i(43059),m=i(51907),x=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,v.A)(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=m.A.get(this.get("coordinateSystem"));if(e&&e.dimensions)return"lng"===e.dimensions[0]&&"lat"===e.dimensions[1]},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(y.A);function b(e){e.registerChartView(f),e.registerSeriesModel(x)}},25591(e,t,i){i.d(t,{A:()=>M});var n=i(31831),r=i(4884),o=i(28535),a=i(60253),s=i(28887),l=i(95163),u=i(30070),c=s.A.prototype,h=l.A.prototype,d=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};function p(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}(0,n.C6)(function(){return null!==d&&d.apply(this,arguments)||this},d);var g=function(e){function t(t){var i=e.call(this,t)||this;return i.type="ec-line",i}return(0,n.C6)(t,e),t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new d},t.prototype.buildPath=function(e,t){p(t)?c.buildPath.call(this,e,t):h.buildPath.call(this,e,t)},t.prototype.pointAt=function(e){return p(this.shape)?c.pointAt.call(this,e):h.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var t=this.shape,i=p(t)?[t.x2-t.x1,t.y2-t.y1]:h.tangentAt.call(this,e);return o.normalize(i,i)},t}(u.Ay),f=i(68532),y=i(79620),v=i(72059),m=i(73394),x=i(21916),b=["fromSymbol","toSymbol"];function _(e){return"_"+e+"Type"}function S(e,t,i){var n=t.getItemVisual(i,e);if(!n||"none"===n)return n;var r=t.getItemVisual(i,e+"Size"),o=t.getItemVisual(i,e+"Rotate"),s=t.getItemVisual(i,e+"Offset"),l=t.getItemVisual(i,e+"KeepAspect"),u=a.xU(r),c=a.hV(s||0,u);return n+u+c+(o||"")+(l||"")}function A(e,t,i){var n=t.getItemVisual(i,e);if(n&&"none"!==n){var r=t.getItemVisual(i,e+"Size"),o=t.getItemVisual(i,e+"Rotate"),s=t.getItemVisual(i,e+"Offset"),l=t.getItemVisual(i,e+"KeepAspect"),u=a.xU(r),c=a.hV(s||0,u),h=a.v5(n,-u[0]/2+c[0],-u[1]/2+c[1],u[0],u[1],null,l);return h.__specifiedRotation=null==o||isNaN(o)?void 0:o*Math.PI/180||0,h.name=e,h}}function w(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var i=t[2];i?(e.cpx1=i[0],e.cpy1=i[1]):(e.cpx1=NaN,e.cpy1=NaN)}let M=function(e){function t(t,i,n){var r=e.call(this)||this;return r._createLine(t,i,n),r}return(0,n.C6)(t,e),t.prototype._createLine=function(e,t,i){var n,o,a=e.hostModel,s=(n=e.getItemLayout(t),w((o=new g({name:"line",subPixelOptimize:!0})).shape,n),o);s.shape.percent=0,f.LW(s,{shape:{percent:1}},a,t),this.add(s),(0,r.each)(b,function(i){var n=A(i,e,t);this.add(n),this[_(i)]=S(i,e,t)},this),this._updateCommonStl(e,t,i)},t.prototype.updateData=function(e,t,i){var n=e.hostModel,o=this.childOfName("line"),a=e.getItemLayout(t),s={shape:{}};w(s.shape,a),f.oi(o,s,n,t),(0,r.each)(b,function(i){var n=S(i,e,t),r=_(i);if(this[r]!==n){this.remove(this.childOfName(i));var o=A(i,e,t);this.add(o)}this[r]=n},this),this._updateCommonStl(e,t,i)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,t,i){var n=e.hostModel,o=this.childOfName("line"),a=i&&i.emphasisLineStyle,s=i&&i.blurLineStyle,l=i&&i.selectLineStyle,u=i&&i.labelStatesModels,c=i&&i.emphasisDisabled,h=i&&i.focus,d=i&&i.blurScope;if(!i||e.hasItemOption){var p=e.getItemModel(t),g=p.getModel("emphasis");a=g.getModel("lineStyle").getLineStyle(),s=p.getModel(["blur","lineStyle"]).getLineStyle(),l=p.getModel(["select","lineStyle"]).getLineStyle(),c=g.get("disabled"),h=g.get("focus"),d=g.get("blurScope"),u=(0,m.lx)(p)}var f=e.getItemVisual(t,"style"),y=f.stroke;o.useStyle(f),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=a,o.ensureState("blur").style=s,o.ensureState("select").style=l,(0,r.each)(b,function(e){var t=this.childOfName(e);if(t){t.setColor(y),t.style.opacity=f.opacity;for(var i=0;i<v.BV.length;i++){var n=v.BV[i],r=o.getState(n);if(r){var a=r.style||{},s=t.ensureState(n),l=s.style||(s.style={});null!=a.stroke&&(l[t.__isEmptyBrush?"stroke":"fill"]=a.stroke),null!=a.opacity&&(l.opacity=a.opacity)}}t.markRedraw()}},this);var _=n.getRawValue(t);(0,m.qM)(this,u,{labelDataIndex:t,labelFetcher:{getFormattedLabel:function(t,i){return n.getFormattedLabel(t,i,e.dataType)}},inheritColor:y||"#000",defaultOpacity:f.opacity,defaultText:(null==_?e.getName(t):isFinite(_)?(0,x.LI)(_):_)+""});var S=this.getTextContent();if(S){var A=u.normal;S.__align=S.style.align,S.__verticalAlign=S.style.verticalAlign,S.__position=A.get("position")||"middle";var w=A.get("distance");(0,r.isArray)(w)||(w=[w,w]),S.__labelDistance=w}this.setTextConfig({position:null,local:!0,inside:!1}),(0,v.Lm)(this,h,d,c)},t.prototype.highlight=function(){(0,v.HY)(this)},t.prototype.downplay=function(){(0,v.SD)(this)},t.prototype.updateLayout=function(e,t){this.setLinePoints(e.getItemLayout(t))},t.prototype.setLinePoints=function(e){var t=this.childOfName("line");w(t.shape,e),t.dirty()},t.prototype.beforeUpdate=function(){var e=this.childOfName("fromSymbol"),t=this.childOfName("toSymbol"),i=this.getTextContent();if(e||t||i&&!i.ignore){for(var n=1,r=this.parent;r;)r.scaleX&&(n/=r.scaleX),r=r.parent;var a=this.childOfName("line");if(this.__dirty||a.__dirty){var s=a.shape.percent,l=a.pointAt(0),u=a.pointAt(s),c=o.sub([],u,l);if(o.normalize(c,c),e&&(e.setPosition(l),A(e,0),e.scaleX=e.scaleY=n*s,e.markRedraw()),t&&(t.setPosition(u),A(t,1),t.scaleX=t.scaleY=n*s,t.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var h=void 0,d=void 0,p=i.__labelDistance,g=p[0]*n,f=p[1]*n,y=s/2,v=a.tangentAt(y),m=[v[1],-v[0]],x=a.pointAt(y);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]);var b=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var _=-Math.atan2(v[1],v[0]);u[0]<l[0]&&(_=Math.PI+_),i.rotation=_}var S=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":S=-f,d="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":S=f,d="top";break;default:S=0,d="middle"}switch(i.__position){case"end":i.x=c[0]*g+u[0],i.y=c[1]*f+u[1],h=c[0]>.8?"left":c[0]<-.8?"right":"center",d=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":i.x=-c[0]*g+l[0],i.y=-c[1]*f+l[1],h=c[0]>.8?"right":c[0]<-.8?"left":"center",d=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=g*b+l[0],i.y=l[1]+S,h=v[0]<0?"right":"left",i.originX=-g*b,i.originY=-S;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+S,h="center",i.originY=-S;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-g*b+u[0],i.y=u[1]+S,h=v[0]>=0?"right":"left",i.originX=g*b,i.originY=-S}i.scaleX=i.scaleY=n,i.setStyle({verticalAlign:i.__verticalAlign||d,align:i.__align||h})}}}function A(e,t){var i=e.__specifiedRotation;if(null==i){var n=a.tangentAt(t);e.attr("rotation",(1===t?-1:1)*Math.PI/2-Math.atan2(n[1],n[0]))}else e.attr("rotation",i)}},t}(y.A)},87274(e,t,i){i.d(t,{A:()=>c});var n=i(79620),r=i(59033),o=i(25591),a=i(73394);function s(e){var t=e.hostModel,i=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:i.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:i.get("disabled"),blurScope:i.get("blurScope"),focus:i.get("focus"),labelStatesModels:(0,a.lx)(t)}}function l(e){return isNaN(e[0])||isNaN(e[1])}function u(e){return e&&!l(e[0])&&!l(e[1])}let c=function(){function e(e){this.group=new n.A,this._LineCtor=e||o.A}return e.prototype.updateData=function(e){var t=this;this._progressiveEls=null;var i=this.group,n=this._lineData;this._lineData=e,n||i.removeAll();var r=s(e);e.diff(n).add(function(i){t._doAdd(e,i,r)}).update(function(i,o){t._doUpdate(n,e,o,i,r)}).remove(function(e){i.remove(n.getItemGraphicEl(e))}).execute()},e.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(t,i){t.updateLayout(e,i)},this)},e.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=s(e),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(e,t){function i(e){var t;e.isGroup||(t=e).animators&&t.animators.length>0||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var n=e.start;n<e.end;n++)if(u(t.getItemLayout(n))){var r=new this._LineCtor(t,n,this._seriesScope);r.traverse(i),this.group.add(r),t.setItemGraphicEl(n,r),this._progressiveEls.push(r)}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(e){r.traverseElements(this._progressiveEls||this.group,e)},e.prototype._doAdd=function(e,t,i){if(u(e.getItemLayout(t))){var n=new this._LineCtor(e,t,i);e.setItemGraphicEl(t,n),this.group.add(n)}},e.prototype._doUpdate=function(e,t,i,n,r){var o=e.getItemGraphicEl(i);u(t.getItemLayout(n))?(o?o.updateData(t,n,r):o=new this._LineCtor(t,n,r),t.setItemGraphicEl(n,o),this.group.add(o)):this.group.remove(o)},e}()},29605(e,t,i){i.d(t,{A:()=>a});var n=i(85337),r=i(15764),o=i(4884);function a(e,t,i){t=(0,o.isArray)(t)&&{coordDimensions:t}||(0,o.extend)({encodeDefine:e.getEncode()},t);var a=e.getSource(),s=(0,n.A)(a,t).dimensions,l=new r.A(s,e);return l.initData(a,i),l}},27108(e,t,i){i.d(t,{i:()=>o});var n=i(4884),r=i(23960);function o(e,t,i){var o=e.get("borderRadius");if(null==o)return i?{cornerRadius:0}:null;(0,n.isArray)(o)||(o=[o,o,o,o]);var a=Math.abs(t.r||0-t.r0||0);return{cornerRadius:(0,n.map)(o,function(e){return(0,r.lo)(e,a)})}}},76545(e,t,i){i.d(t,{a:()=>B});var n=i(1514),r=i(21916),o=i(10675),a=i(4884),s=i(40843),l=2*Math.PI,u=Math.PI/180;function c(e,t){return o.dV(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function h(e,t){var i,n,o=c(e,t),s=e.get("center"),l=e.get("radius");a.isArray(l)||(l=[0,l]);var u=(0,r.lo)(o.width,t.getWidth()),h=(0,r.lo)(o.height,t.getHeight()),d=Math.min(u,h),p=(0,r.lo)(l[0],d/2),g=(0,r.lo)(l[1],d/2),f=e.coordinateSystem;if(f){var y=f.dataToPoint(s);i=y[0]||0,n=y[1]||0}else a.isArray(s)||(s=[s,s]),i=(0,r.lo)(s[0],u)+o.x,n=(0,r.lo)(s[1],h)+o.y;return{cx:i,cy:n,r0:p,r:g}}function d(e,t,i){t.eachSeriesByType(e,function(e){var t=e.getData(),n=t.mapDimension("value"),o=c(e,i),a=h(e,i),d=a.cx,p=a.cy,g=a.r,f=a.r0,y=-e.get("startAngle")*u,v=e.get("endAngle"),m=e.get("padAngle")*u;v="auto"===v?y-l:-v*u;var x=e.get("minAngle")*u+m,b=0;t.each(n,function(e){!isNaN(e)&&b++});var _=t.getSum(n),S=Math.PI/(_||b)*2,A=e.get("clockwise"),w=e.get("roseType"),M=e.get("stillShowZeroSum"),I=t.getDataExtent(n);I[0]=0;var C=A?1:-1,D=[y,v],O=C*m/2;(0,s.q)(D,!A),y=D[0];var T=Math.abs((v=D[1])-y),L=T,k=0,P=y;if(t.setLayout({viewRect:o,r:g}),t.each(n,function(e,i){if(isNaN(e))return void t.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:d,cy:p,r0:f,r:w?NaN:g});(n="area"!==w?0===_&&M?S:e*S:T/b)<x?(n=x,L-=x):k+=e;var n,o=P+C*n,a=0,s=0;m>n?s=a=P+C*n/2:(a=P+O,s=o-O),t.setItemLayout(i,{angle:n,startAngle:a,endAngle:s,clockwise:A,cx:d,cy:p,r0:f,r:w?(0,r.Cb)(e,I,[f,g]):g}),P=o}),L<l&&b)if(L<=.001){var R=T/b;t.each(n,function(e,i){if(!isNaN(e)){var n=t.getItemLayout(i);n.angle=R;var r=0,o=0;R<m?o=r=y+C*(i+.5)*R:(r=y+C*i*R+O,o=y+C*(i+1)*R-O),n.startAngle=r,n.endAngle=o}})}else S=L/k,P=y,t.each(n,function(e,i){if(!isNaN(e)){var n=t.getItemLayout(i),r=n.angle===x?x:e*S,o=0,a=0;r<m?a=o=P+C*r/2:(o=P+O,a=P+C*r-O),n.startAngle=o,n.endAngle=a,P+=C*r}})})}var p=i(31069),g=i(31831),f=i(52384),y=i(68532),v=i(88297),m=i(23917),x=i(72059),b=i(31440),_=i(45400),S=i(82883),A=i(6417),w=Math.PI/180;function M(e,t,i,n,r,o,a,s,l,u){if(!(e.length<2)){for(var c=e.length,h=0;h<c;h++)if("outer"===e[h].position&&"labelLine"===e[h].labelAlignTo){var d=e[h].label.x-u;e[h].linePoints[1][0]+=d,e[h].label.x=u}(0,A.Xe)(e,l,l+a)&&function(e){for(var o={list:[],maxY:0},a={list:[],maxY:0},s=0;s<e.length;s++)if("none"===e[s].labelAlignTo){var l=e[s],u=l.label.y>i?a:o,c=Math.abs(l.label.y-i);if(c>=u.maxY){var h=l.label.x-t-l.len2*r,d=n+l.len;u.rB=Math.abs(h)<d?Math.sqrt(c*c/(1-h*h/d/d)):d,u.maxY=c}u.list.push(l)}p(o),p(a)}(e)}function p(e){for(var o=e.rB,a=o*o,s=0;s<e.list.length;s++){var l=e.list[s],u=Math.abs(l.label.y-i),c=n+l.len,h=t+(Math.sqrt(c*c*(1-Math.abs(u*u/a)))+l.len2)*r,d=h-l.label.x,p=l.targetTextWidth-d*r;I(l,p,!0),l.label.x=h}}}function I(e,t,i){if(void 0===i&&(i=!1),null==e.labelStyleWidth){var n=e.label,r=n.style,o=e.rect,a=r.backgroundColor,s=r.padding,l=s?s[1]+s[3]:0,u=r.overflow,c=o.width+(a?0:l);if(t<c||i){var h=o.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-l);var d=n.getBoundingRect();n.setStyle("width",Math.ceil(d.width)),n.setStyle("backgroundColor",a)}else{var p=t-l,g=t<c?p:i?p>e.unconstrainedWidth?null:p:null;n.setStyle("width",g)}var f=n.getBoundingRect();o.width=f.width;var y=(n.style.margin||0)+2.1;o.height=f.height+y,o.y-=(o.height-h)/2}}}function C(e){return"center"===e.position}var D=i(73394),O=i(27108),T=function(e){function t(t,i,n){var r=e.call(this)||this;r.z2=2;var o=new f.Ay;return r.setTextContent(o),r.updateData(t,i,n,!0),r}return(0,g.C6)(t,e),t.prototype.updateData=function(e,t,i,n){var r=e.hostModel,o=e.getItemModel(t),s=o.getModel("emphasis"),l=e.getItemLayout(t),u=(0,a.extend)((0,O.i)(o.getModel("itemStyle"),l,!0),l);if(isNaN(u.startAngle))return void this.setShape(u);if(n){this.setShape(u);var c=r.getShallow("animationType");r.ecModel.ssr?(y.LW(this,{scaleX:0,scaleY:0},r,{dataIndex:t,isFrom:!0}),this.originX=u.cx,this.originY=u.cy):"scale"===c?(this.shape.r=l.r0,y.LW(this,{shape:{r:l.r}},r,t)):null!=i?(this.setShape({startAngle:i,endAngle:i}),y.LW(this,{shape:{startAngle:l.startAngle,endAngle:l.endAngle}},r,t)):(this.shape.endAngle=l.startAngle,y.oi(this,{shape:{endAngle:l.endAngle}},r,t))}else(0,y.ap)(this),y.oi(this,{shape:u},r,t);this.useStyle(e.getItemVisual(t,"style")),(0,x.Mx)(this,o);var h=(l.startAngle+l.endAngle)/2,d=r.get("selectedOffset"),p=Math.cos(h)*d,g=Math.sin(h)*d,f=o.getShallow("cursor");f&&this.attr("cursor",f),this._updateLabel(r,e,t),this.ensureState("emphasis").shape=(0,a.extend)({r:l.r+(s.get("scale")&&s.get("scaleSize")||0)},(0,O.i)(s.getModel("itemStyle"),l)),(0,a.extend)(this.ensureState("select"),{x:p,y:g,shape:(0,O.i)(o.getModel(["select","itemStyle"]),l)}),(0,a.extend)(this.ensureState("blur"),{shape:(0,O.i)(o.getModel(["blur","itemStyle"]),l)});var v=this.getTextGuideLine(),m=this.getTextContent();v&&(0,a.extend)(v.ensureState("select"),{x:p,y:g}),(0,a.extend)(m.ensureState("select"),{x:p,y:g}),(0,x.Lm)(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},t.prototype._updateLabel=function(e,t,i){var n=t.getItemModel(i),r=n.getModel("labelLine"),o=t.getItemVisual(i,"style"),s=o&&o.fill,l=o&&o.opacity;(0,D.qM)(this,(0,D.lx)(n),{labelFetcher:t.hostModel,labelDataIndex:i,inheritColor:s,defaultOpacity:l,defaultText:e.getFormattedLabel(i,"normal")||t.getName(i)});var u=this.getTextContent();this.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var c=e.get(["label","position"]);if("outside"!==c&&"outer"!==c)this.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new v.A,this.setTextGuideLine(h)),(0,S.eR)(this,(0,S.rv)(n),{stroke:s,opacity:(0,a.retrieve3)(r.get(["lineStyle","opacity"]),l,1)})}},t}(m.A),L=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return(0,g.C6)(t,e),t.prototype.render=function(e,t,i,n){var o,s=e.getData(),l=this._data,u=this.group;if(!l&&s.count()>0){for(var c=s.getItemLayout(0),d=1;isNaN(c&&c.startAngle)&&d<s.count();++d)c=s.getItemLayout(d);c&&(o=c.startAngle)}if(this._emptyCircleSector&&u.remove(this._emptyCircleSector),0===s.count()&&e.get("showEmptyCircle")){var p=new m.A({shape:h(e,i)});p.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=p,u.add(p)}s.diff(l).add(function(e){var t=new T(s,e,o);s.setItemGraphicEl(e,t),u.add(t)}).update(function(e,t){var i=l.getItemGraphicEl(t);i.updateData(s,e,o),i.off("click"),u.add(i),s.setItemGraphicEl(e,i)}).remove(function(t){var i=l.getItemGraphicEl(t);y.t5(i,e,t)}).execute(),function(e){var t,i,n=e.getData(),o=[],s=!1,l=(e.get("minShowLabelAngle")||0)*w,u=n.getLayout("viewRect"),c=n.getLayout("r"),h=u.width,d=u.x,p=u.y,g=u.height;function f(e){e.ignore=!0}n.each(function(e){var u,p,g,y,v=n.getItemGraphicEl(e),m=v.shape,x=v.getTextContent(),b=v.getTextGuideLine(),S=n.getItemModel(e),A=S.getModel("label"),w=A.get("position")||S.get(["emphasis","label","position"]),M=A.get("distanceToLabelLine"),I=A.get("alignTo"),C=(0,r.lo)(A.get("edgeDistance"),h),D=A.get("bleedMargin"),O=S.getModel("labelLine"),T=O.get("length");T=(0,r.lo)(T,h);var L=O.get("length2");if(L=(0,r.lo)(L,h),Math.abs(m.endAngle-m.startAngle)<l){(0,a.each)(x.states,f),x.ignore=!0,b&&((0,a.each)(b.states,f),b.ignore=!0);return}if(function(e){if(!e.ignore)return!0;for(var t in e.states)if(!1===e.states[t].ignore)return!0;return!1}(x)){var k=(m.startAngle+m.endAngle)/2,P=Math.cos(k),R=Math.sin(k);t=m.cx,i=m.cy;var V="inside"===w||"inner"===w;if("center"===w)u=m.cx,p=m.cy,y="center";else{var z=(V?(m.r+m.r0)/2*P:m.r*P)+t,N=(V?(m.r+m.r0)/2*R:m.r*R)+i;if(u=z+3*P,p=N+3*R,!V){var E=z+P*(T+c-m.r),B=N+R*(T+c-m.r),G=E+(P<0?-1:1)*L;u="edge"===I?P<0?d+C:d+h-C:G+(P<0?-M:M),p=B,g=[[z,N],[E,B],[G,B]]}y=V?"center":"edge"===I?P>0?"right":"left":P>0?"left":"right"}var W=Math.PI,H=0,F=A.get("rotate");if((0,a.isNumber)(F))H=W/180*F;else if("center"===w)H=0;else if("radial"===F||!0===F)H=P<0?-k+W:-k;else if("tangential"===F&&"outside"!==w&&"outer"!==w){var Z=Math.atan2(P,R);Z<0&&(Z=2*W+Z),R>0&&(Z=W+Z),H=Z-W}if(s=!!H,x.x=u,x.y=p,x.rotation=H,x.setStyle({verticalAlign:"middle"}),V){x.setStyle({align:y});var Y=x.states.select;Y&&(Y.x+=x.x,Y.y+=x.y)}else{var X=x.getBoundingRect().clone();X.applyTransform(x.getComputedTransform());var U=(x.style.margin||0)+2.1;X.y-=U/2,X.height+=U,o.push({label:x,labelLine:b,position:w,len:T,len2:L,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new _.A(P,R),linePoints:g,textAlign:y,labelDistance:M,labelAlignTo:I,edgeDistance:C,bleedMargin:D,rect:X,unconstrainedWidth:X.width,labelStyleWidth:x.style.width})}v.setTextConfig({inside:V})}}),!s&&e.get("avoidLabelOverlap")&&function(e,t,i,n,r,o,a,s){for(var l=[],u=[],c=Number.MAX_VALUE,h=-Number.MAX_VALUE,d=0;d<e.length;d++){var p=e[d].label;C(e[d])||(p.x<t?(c=Math.min(c,p.x),l.push(e[d])):(h=Math.max(h,p.x),u.push(e[d])))}for(var d=0;d<e.length;d++){var g=e[d];if(!C(g)&&g.linePoints){if(null!=g.labelStyleWidth)continue;var p=g.label,f=g.linePoints,y=void 0;y="edge"===g.labelAlignTo?p.x<t?f[2][0]-g.labelDistance-a-g.edgeDistance:a+r-g.edgeDistance-f[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?p.x<t?c-a-g.bleedMargin:a+r-h-g.bleedMargin:p.x<t?p.x-a-g.bleedMargin:a+r-p.x-g.bleedMargin,g.targetTextWidth=y,I(g,y)}}M(u,t,i,n,1,r,o,a,s,h),M(l,t,i,n,-1,r,o,a,s,c);for(var d=0;d<e.length;d++){var g=e[d];if(!C(g)&&g.linePoints){var p=g.label,f=g.linePoints,v="edge"===g.labelAlignTo,m=p.style.padding,x=m?m[1]+m[3]:0,b=p.style.backgroundColor?0:x,_=g.rect.width+b,S=f[1][0]-f[2][0];v?p.x<t?f[2][0]=a+g.edgeDistance+_+g.labelDistance:f[2][0]=a+r-g.edgeDistance-_-g.labelDistance:(p.x<t?f[2][0]=p.x+g.labelDistance:f[2][0]=p.x-g.labelDistance,f[1][0]=f[2][0]+S),f[1][1]=f[2][1]=p.y}}}(o,t,i,c,h,g,d,p);for(var y=0;y<o.length;y++){var v=o[y],m=v.label,x=v.labelLine,b=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:v.textAlign}),b&&((0,a.each)(m.states,f),m.ignore=!0);var A=m.states.select;A&&(A.x+=m.x,A.y+=m.y)}if(x){var D=v.linePoints;b||!D?((0,a.each)(x.states,f),x.ignore=!0):((0,S.YI)(D,v.minTurnAngle),(0,S.QK)(D,v.surfaceNormal,v.maxSurfaceAngle),x.setShape({points:D}),m.__hostTarget.textGuideLineConfig={anchor:new _.A(D[0][0],D[0][1])})}}}(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=s)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,t){var i=t.getData().getItemLayout(0);if(i){var n=e[0]-i.cx,r=e[1]-i.cy,o=Math.sqrt(n*n+r*r);return o<=i.r&&o>=i.r0}},t.type="pie",t}(b.A),k=i(29605),P=i(84124),R=i(88569),V=i(96457),z=i(55785),N=P.$r(),E=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,g.C6)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new V.A(a.bind(this.getData,this),a.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return(0,k.A)(this,{coordDimensions:["value"],encodeDefaulter:a.curry(R.ln,this)})},t.prototype.getDataParams=function(t){var i=this.getData(),n=N(i),o=n.seats;if(!o){var a=[];i.each(i.mapDimension("value"),function(e){a.push(e)}),o=n.seats=(0,r.kM)(a,i.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,t);return s.percent=o[t]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){P.M5(e,"labelLine",["show"]);var t=e.labelLine,i=e.emphasis.labelLine;t.show=t.show&&e.label.show,i.show=i.show&&e.emphasis.label.show},t.type="series.pie",t.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"},t}(z.A);function B(e){e.registerChartView(L),e.registerSeriesModel(E),(0,n.I)("pie",e.registerAction),e.registerLayout((0,a.curry)(d,"pie")),e.registerProcessor((0,p.A)("pie")),e.registerProcessor({seriesType:"pie",reset:function(e,t){var i=e.getData();i.filterSelf(function(e){var t=i.mapDimension("value"),n=i.get(t,e);return!(0,a.isNumber)(n)||!!isNaN(n)||!(n<0)})}})}},32741(e,t,i){i.d(t,{a:()=>x});var n=i(74653),r=i(31831),o=i(43059),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.hasSymbolVisual=!0,i}return(0,r.C6)(t,e),t.prototype.getInitialData=function(e,t){return(0,o.A)(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return null==e?this.option.large?5e3:this.get("progressive"):e},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return null==e?this.option.large?1e4:this.get("progressiveThreshold"):e},t.prototype.brushSelector=function(e,t,i){return i.point(t.getItemLayout(e))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(i(55785).A),s=i(22448),l=i(51690),u=i(30070),c=i(79620),h=i(60253),d=i(35032),p=function(){},g=function(e){function t(t){var i=e.call(this,t)||this;return i._off=0,i.hoverDataIdx=-1,i}return(0,r.C6)(t,e),t.prototype.getDefaultShape=function(){return new p},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,t){var i,n=t.points,r=t.size,o=this.symbolProxy,a=o.shape,s=e.getContext?e.getContext():e,l=s&&r[0]<4,u=this.softClipShape;if(l){this._ctx=s;return}for(this._ctx=null,i=this._off;i<n.length;){var c=n[i++],h=n[i++];!(isNaN(c)||isNaN(h))&&(!u||u.contain(c,h))&&(a.x=c-r[0]/2,a.y=h-r[1]/2,a.width=r[0],a.height=r[1],o.buildPath(e,a,!0))}this.incremental&&(this._off=i,this.notClear=!0)},t.prototype.afterBrush=function(){var e,t=this.shape,i=t.points,n=t.size,r=this._ctx,o=this.softClipShape;if(r){for(e=this._off;e<i.length;){var a=i[e++],s=i[e++];!(isNaN(a)||isNaN(s))&&(!o||o.contain(a,s))&&r.fillRect(a-n[0]/2,s-n[1]/2,n[0],n[1])}this.incremental&&(this._off=e,this.notClear=!0)}},t.prototype.findDataIndex=function(e,t){for(var i=this.shape,n=i.points,r=i.size,o=Math.max(r[0],4),a=Math.max(r[1],4),s=n.length/2-1;s>=0;s--){var l=2*s,u=n[l]-o/2,c=n[l+1]-a/2;if(e>=u&&t>=c&&e<=u+o&&t<=c+a)return s}return -1},t.prototype.contain=function(e,t){var i=this.transformCoordToLocal(e,t),n=this.getBoundingRect();return(e=i[0],t=i[1],n.contain(e,t))?(this.hoverDataIdx=this.findDataIndex(e,t))>=0:(this.hoverDataIdx=-1,!1)},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var t=this.shape,i=t.points,n=t.size,r=n[0],o=n[1],a=1/0,s=1/0,u=-1/0,c=-1/0,h=0;h<i.length;){var d=i[h++],p=i[h++];a=Math.min(d,a),u=Math.max(d,u),s=Math.min(p,s),c=Math.max(p,c)}e=this._rect=new l.A(a-r/2,s-o/2,u-a+r,c-s+o)}return e},t}(u.Ay),f=function(){function e(){this.group=new c.A}return e.prototype.updateData=function(e,t){this._clear();var i=this._create();i.setShape({points:e.getLayout("points")}),this._setCommon(i,e,t)},e.prototype.updateLayout=function(e){var t=e.getLayout("points");this.group.eachChild(function(e){if(null!=e.startIndex){var i=(e.endIndex-e.startIndex)*2,n=4*e.startIndex*2;t=new Float32Array(t.buffer,n,i)}e.setShape("points",t),e.reset()})},e.prototype.incrementalPrepareUpdate=function(e){this._clear()},e.prototype.incrementalUpdate=function(e,t,i){var n=this._newAdded[0],r=t.getLayout("points"),o=n&&n.shape.points;if(o&&o.length<2e4){var a=o.length,s=new Float32Array(a+r.length);s.set(o),s.set(r,a),n.endIndex=e.end,n.setShape({points:s})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:r}),this._setCommon(l,t,i)}},e.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},e.prototype._create=function(){var e=new g({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},e.prototype._setCommon=function(e,t,i){var n=t.hostModel;i=i||{};var r=t.getVisual("symbolSize");e.setShape("size",r instanceof Array?r:[r,r]),e.softClipShape=i.clipShape||null,e.symbolProxy=(0,h.v5)(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<4;e.useStyle(n.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var a=t.getVisual("style"),s=a&&a.fill;s&&e.setColor(s);var l=(0,d.z)(e);l.seriesIndex=n.seriesIndex,e.on("mousemove",function(t){l.dataIndex=null;var i=e.hoverDataIdx;i>=0&&(l.dataIndex=i+(e.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),y=i(97548),v=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.render=function(e,t,i){var n=e.getData();this._updateSymbolDraw(n,e).updateData(n,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,t,i){var n=e.getData();this._updateSymbolDraw(n,e).incrementalPrepareUpdate(n),this._finished=!1},t.prototype.incrementalRender=function(e,t,i){this._symbolDraw.incrementalUpdate(e,t.getData(),{clipShape:this._getClipShape(t)}),this._finished=e.end===t.getData().count()},t.prototype.updateTransform=function(e,t,i){var n=e.getData();if(this.group.dirty(),!this._finished||n.count()>1e4)return{update:!0};var r=(0,y.A)("").reset(e,t,i);r.progress&&r.progress({start:0,end:n.count(),count:n.count()},n),this._symbolDraw.updateLayout(n)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var t=e.coordinateSystem;return t&&t.getArea&&t.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,t){var i=this._symbolDraw,n=t.pipelineContext.large;return i&&n===this._isLargeDraw||(i&&i.remove(),i=this._symbolDraw=n?new f:new s.A,this._isLargeDraw=n,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(e,t){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(i(31440).A),m=i(50926);function x(e){(0,n.Y)(m.a),e.registerSeriesModel(a),e.registerChartView(v),e.registerLayout((0,y.A)("scatter"))}},44878(e,t,i){i.d(t,{A:()=>c});var n=i(31831),r=i(4884),o=i(36805),a=i(27016),s=i(84124),l=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},e}();function u(e){var t={};return(0,r.each)(["start","end","startValue","endValue","throttle"],function(i){e.hasOwnProperty(i)&&(t[i]=e[i])}),t}let c=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i._autoThrottle=!0,i._noTarget=!0,i._rangePropMode=["percent","percent"],i}return(0,n.C6)(t,e),t.prototype.init=function(e,t,i){var n=u(e);this.settledOption=n,this.mergeDefaultAndTheme(e,i),this._doInit(n)},t.prototype.mergeOption=function(e){var t=u(e);(0,r.merge)(this.option,e,!0),(0,r.merge)(this.settledOption,t,!0),this._doInit(t)},t.prototype._doInit=function(e){var t=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var i=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(e,n){"value"===this._rangePropMode[n]&&(t[e[0]]=i[e[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),t=this._targetAxisInfoMap=(0,r.createHashMap)();this._fillSpecifiedTargetAxis(t)?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(t,this._orient)),this._noTarget=!0,t.each(function(e){e.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var t=!1;return(0,r.each)(a.$5,function(i){var n=this.getReferringComponents((0,a.dX)(i),s.UW);if(n.specified){t=!0;var o=new l;(0,r.each)(n.models,function(e){o.add(e.componentIndex)}),e.set(i,o)}},this),t},t.prototype._fillAutoTargetAxisByOrient=function(e,t){var i=this.ecModel,n=!0,o="vertical"===t?"y":"x",u=i.findComponents({mainType:o+"Axis"});if(c(u,o),n){var u=i.findComponents({mainType:"singleAxis",filter:function(e){return e.get("orient",!0)===t}});c(u,"single")}function c(t,i){var o=t[0];if(o){var a=new l;if(a.add(o.componentIndex),e.set(i,a),n=!1,"x"===i||"y"===i){var u=o.getReferringComponents("grid",s.US).models[0];u&&(0,r.each)(t,function(e){o.componentIndex!==e.componentIndex&&u===e.getReferringComponents("grid",s.US).models[0]&&a.add(e.componentIndex)})}}}n&&(0,r.each)(a.$5,function(t){if(n){var r=i.findComponents({mainType:(0,a.dX)(t),filter:function(e){return"category"===e.get("type",!0)}});if(r[0]){var o=new l;o.add(r[0].componentIndex),e.set(t,o),n=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(t){e||(e=t)},this),"y"===e?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var t=this.ecModel.option;this.option.throttle=t.animation&&t.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(e){var t=this._rangePropMode,i=this.get("rangeMode");(0,r.each)([["start","startValue"],["end","endValue"]],function(n,r){var o=null!=e[n[0]],a=null!=e[n[1]];o&&!a?t[r]="percent":!o&&a?t[r]="value":i?t[r]=i[r]:o&&(t[r]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(t,i){null==e&&(e=this.ecModel.getComponent((0,a.dX)(t),i))},this),e},t.prototype.eachTargetAxis=function(e,t){this._targetAxisInfoMap.each(function(i,n){(0,r.each)(i.indexList,function(i){e.call(t,n,i)})})},t.prototype.getAxisProxy=function(e,t){var i=this.getAxisModel(e,t);if(i)return i.__dzAxisProxy},t.prototype.getAxisModel=function(e,t){var i=this._targetAxisInfoMap.get(e);if(i&&i.indexMap[t])return this.ecModel.getComponent((0,a.dX)(e),t)},t.prototype.setRawRange=function(e){var t=this.option,i=this.settledOption;(0,r.each)([["start","startValue"],["end","endValue"]],function(n){(null!=e[n[0]]||null!=e[n[1]])&&(t[n[0]]=i[n[0]]=e[n[0]],t[n[1]]=i[n[1]]=e[n[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var t=this.option;(0,r.each)(["start","startValue","end","endValue"],function(i){t[i]=e[i]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,t){if(null!=e||null!=t)return this.getAxisProxy(e,t).getDataValueWindow();var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var t,i=this._targetAxisInfoMap.keys(),n=0;n<i.length;n++)for(var r=i[n],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;t||(t=s)}return t},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(o.A)},59730(e,t,i){i.d(t,{A:()=>r});var n=i(31831);let r=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.render=function(e,t,i,n){this.dataZoomModel=e,this.ecModel=t,this.api=i},t.type="dataZoom",t}(i(43583).A)},27016(e,t,i){i.d(t,{$5:()=>r,CN:()=>l,_u:()=>a,dX:()=>s,es:()=>u});var n=i(4884),r=["x","y","radius","angle","single"],o=["cartesian2d","polar","singleAxis"];function a(e){var t=e.get("coordinateSystem");return(0,n.indexOf)(o,t)>=0}function s(e){return e+"Axis"}function l(e,t){var i,r=(0,n.createHashMap)(),o=[],a=(0,n.createHashMap)();e.eachComponent({mainType:"dataZoom",query:t},function(e){a.get(e.uid)||l(e)});do i=!1,e.eachComponent("dataZoom",s);while(i);function s(e){var t;!a.get(e.uid)&&(t=!1,e.eachTargetAxis(function(e,i){var n=r.get(e);n&&n[i]&&(t=!0)}),t)&&(l(e),i=!0)}function l(e){a.set(e.uid,!0),o.push(e),e.eachTargetAxis(function(e,t){(r.get(e)||r.set(e,[]))[t]=!0})}return o}function u(e){var t=e.ecModel,i={infoList:[],infoMap:(0,n.createHashMap)()};return e.eachTargetAxis(function(e,n){var r=t.getComponent(s(e),n);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,l=i.infoMap.get(a);l||(l={model:o,axisModels:[]},i.infoList.push(l),i.infoMap.set(a,l)),l.axisModels.push(r)}}}),i}},61305(e,t,i){i.d(t,{a:()=>a});var n=i(74653),r=i(49747),o=i(5920);function a(e){(0,n.Y)(r.a),(0,n.Y)(o.a)}},97019(e,t,i){i.d(t,{A:()=>f});var n=i(4884),r=i(27016),o=i(21916),a=i(91365),s=i(93530),l=i(89972),u=i(84124),c=n.each,h=o.Y6,d=function(){function e(e,t,i,n){this._dimName=e,this._axisIndex=t,this.ecModel=n,this._dataZoomModel=i}return e.prototype.hostedBy=function(e){return this._dataZoomModel===e},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(t){if((0,r._u)(t)){var i=(0,r.dX)(this._dimName),n=t.getReferringComponents(i,u.US).models[0];n&&this._axisIndex===n.componentIndex&&e.push(t)}},this),e},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return n.clone(this._minMaxSpan)},e.prototype.calculateDataWindow=function(e){var t,i=this._dataExtent,n=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),s=[0,100],l=[],u=[];c(["start","end"],function(a,c){var h=e[a],d=e[a+"Value"];"percent"===r[c]?(null==h&&(h=s[c]),d=n.parse(o.Cb(h,s,i))):(t=!0,d=null==d?i[c]:n.parse(d),h=o.Cb(d,i,s)),u[c]=null==d||isNaN(d)?i[c]:d,l[c]=null==h||isNaN(h)?s[c]:h}),h(u),h(l);var d=this._minMaxSpan;function p(e,t,i,r,s){var l=s?"Span":"ValueSpan";(0,a.A)(0,e,i,"all",d["min"+l],d["max"+l]);for(var u=0;u<2;u++)t[u]=o.Cb(e[u],i,r,!0),s&&(t[u]=n.parse(t[u]))}return t?p(u,l,i,s,!1):p(l,u,s,i,!0),{valueWindow:u,percentWindow:l}},e.prototype.reset=function(e){if(e===this._dataZoomModel){var t,i,n,r,o,a=this.getTargetSeriesModels();this._dataExtent=(t=this,i=this._dimName,n=[1/0,-1/0],c(a,function(e){(0,s.PN)(n,e.getData(),i)}),r=t.getAxisModel(),[(o=(0,l.Tc)(r.axis.scale,r,n).calculate()).min,o.max]),this._updateMinMaxSpan();var u=this.calculateDataWindow(e.settledOption);this._valueWindow=u.valueWindow,this._percentWindow=u.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(e,t){if(e===this._dataZoomModel){var i=this._dimName,r=this.getTargetSeriesModels(),o=e.get("filterMode"),a=this._valueWindow;"none"!==o&&c(r,function(e){var t=e.getData(),r=t.mapDimensionsAll(i);if(r.length){if("weakFilter"===o){var s=t.getStore(),l=n.map(r,function(e){return t.getDimensionIndex(e)},t);t.filterSelf(function(e){for(var t,i,n,o=0;o<r.length;o++){var u=s.get(l[o],e),c=!isNaN(u),h=u<a[0],d=u>a[1];if(c&&!h&&!d)return!0;c&&(n=!0),h&&(t=!0),d&&(i=!0)}return n&&t&&i})}else c(r,function(i){if("empty"===o)e.setData(t=t.map(i,function(e){var t;return(t=e)>=a[0]&&t<=a[1]?e:NaN}));else{var n={};n[i]=a,t.selectRange(n)}});c(r,function(e){t.setApproximateExtent(a,e)})}})}},e.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},t=this._dataZoomModel,i=this._dataExtent;c(["min","max"],function(n){var r=t.get(n+"Span"),a=t.get(n+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?r=o.Cb(i[0]+a,i,[0,100],!0):null!=r&&(a=o.Cb(r,[0,100],i,!0)-i[0]),e[n+"Span"]=r,e[n+"ValueSpan"]=a},this)},e.prototype._setAxisModel=function(){var e=this.getAxisModel(),t=this._percentWindow,i=this._valueWindow;if(t){var n=o.hb(i,[0,500]);n=Math.min(n,20);var r=e.axis.scale.rawExtentInfo;0!==t[0]&&r.setDeterminedMinMax("min",+i[0].toFixed(n)),100!==t[1]&&r.setDeterminedMinMax("max",+i[1].toFixed(n)),r.freeze()}},e}();let p={getTargetSeries:function(e){function t(t){e.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(n,o){var a=e.getComponent((0,r.dX)(n),o);t(n,o,a,i)})})}t(function(e,t,i,n){i.__dzAxisProxy=null});var i=[];t(function(t,n,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new d(t,n,o,e),i.push(r.__dzAxisProxy))});var o=(0,n.createHashMap)();return(0,n.each)(i,function(e){(0,n.each)(e.getTargetSeriesModels(),function(e){o.set(e.uid,e)})}),o},overallReset:function(e,t){e.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(t,i){e.getAxisProxy(t,i).reset(e)}),e.eachTargetAxis(function(i,n){e.getAxisProxy(i,n).filterData(e,t)})}),e.eachComponent("dataZoom",function(e){var t=e.findRepresentativeAxisProxy();if(t){var i=t.getDataPercentWindow(),n=t.getDataValueWindow();e.setCalculatedRange({start:i[0],end:i[1],startValue:n[0],endValue:n[1]})}})}};var g=!1;function f(e){g||(g=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,p),e.registerAction("dataZoom",function(e,t){var i=(0,r.CN)(t,e);(0,n.each)(i,function(t){t.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})}),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}},49747(e,t,i){i.d(t,{a:()=>A});var n=i(31831),r=i(44878),o=i(3818),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.type="dataZoom.inside",t.defaultOption=(0,o.G_)(r.A.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(r.A),s=i(59730),l=i(91365),u=i(96120),c=i(89425),h=i(84124),d=i(4884),p=i(27016),g=(0,h.$r)();function f(e,t){if(t){e.removeKey(t.model.uid);var i=t.controller;i&&i.dispose()}}function y(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function v(e,t,i,n){return e.coordinateSystem.containPoint([i,n])}var m=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return(0,n.C6)(t,e),t.prototype.render=function(t,i,n){var r;(e.prototype.render.apply(this,arguments),t.noTarget())?this._clear():(this.range=t.getPercentRange(),r={pan:(0,d.bind)(x.pan,this),zoom:(0,d.bind)(x.zoom,this),scrollMove:(0,d.bind)(x.scrollMove,this)},g(n).coordSysRecordMap.each(function(e){var i=e.dataZoomInfoMap.get(t.uid);i&&(i.getRange=r)}))},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){!function(e,t){for(var i=g(e).coordSysRecordMap,n=i.keys(),r=0;r<n.length;r++){var o=n[r],a=i.get(o),s=a.dataZoomInfoMap;if(s){var l=t.uid;s.get(l)&&(s.removeKey(l),s.keys().length||f(i,a))}}}(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(s.A),x={zoom:function(e,t,i,n){var r=this.range,o=r.slice(),a=e.axisModels[0];if(a){var s=_[t](null,[n.originX,n.originY],a,i,e),u=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/n.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if((0,l.A)(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1])return o}},pan:b(function(e,t,i,n,r,o){var a=_[n]([o.oldX,o.oldY],[o.newX,o.newY],t,r,i);return a.signal*(e[1]-e[0])*a.pixel/a.pixelLength}),scrollMove:b(function(e,t,i,n,r,o){return _[n]([0,0],[o.scrollDelta,o.scrollDelta],t,r,i).signal*(e[1]-e[0])*o.scrollDelta})};function b(e){return function(t,i,n,r){var o=this.range,a=o.slice(),s=t.axisModels[0];if(s){var u=e(a,s,t,i,n,r);if((0,l.A)(u,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1])return a}}}var _={grid:function(e,t,i,n,r){var o=i.axis,a={},s=r.model.coordinateSystem.getRect();return e=e||[0,0],"x"===o.dim?(a.pixel=t[0]-e[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(e,t,i,n,r){var o=i.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),"radiusAxis"===i.mainType?(a.pixel=t[0]-e[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=t[1]-e[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(e,t,i,n,r){var o=i.axis,a=r.model.coordinateSystem.getRect(),s={};return e=e||[0,0],"horizontal"===o.orient?(s.pixel=t[0]-e[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}},S=i(97019);function A(e){(0,S.A)(e),e.registerComponentModel(a),e.registerComponentView(m),e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(e,t){var i=g(t),n=i.coordSysRecordMap||(i.coordSysRecordMap=(0,d.createHashMap)());n.each(function(e){e.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(e){var i=(0,p.es)(e);(0,d.each)(i.infoList,function(i){var r,o,a,s=i.model.uid,l=n.get(s)||n.set(s,(a=(o={model:r=i.model,containsPoint:(0,d.curry)(v,r),dispatchAction:(0,d.curry)(y,t),dataZoomInfoMap:null,controller:null}).controller=new u.A(t.getZr()),(0,d.each)(["pan","zoom","scrollMove"],function(e){a.on(e,function(t){var i=[];o.dataZoomInfoMap.each(function(n){if(t.isAvailableBehavior(n.model.option)){var r=(n.getRange||{})[e],a=r&&r(n.dzReferCoordSysInfo,o.model.mainType,o.controller,t);!n.model.get("disabled",!0)&&a&&i.push({dataZoomId:n.model.id,start:a[0],end:a[1]})}}),i.length&&o.dispatchAction(i)})}),o));(l.dataZoomInfoMap||(l.dataZoomInfoMap=(0,d.createHashMap)())).set(e.uid,{dzReferCoordSysInfo:i,model:e,getRange:null})})}),n.each(function(e){var t,i,r,o,a,s=e.controller,l=e.dataZoomInfoMap;if(l){var u=l.keys()[0];null!=u&&(a=l.get(u))}if(!a)return void f(n,e);var h=(i="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},o=!0,l.each(function(e){var n=e.model,a=!n.get("disabled",!0)&&(!n.get("zoomLock",!0)||"move");r[i+a]>r[i+t]&&(t=a),o=o&&n.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!o}});s.enable(h.controlType,h.opt),s.setPointerChecker(e.containsPoint),c.N(e,"dispatchAction",a.model.get("throttle",!0),"fixRate")})})}},5920(e,t,i){i.d(t,{a:()=>P});var n=i(31831),r=i(44878),o=i(3818),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=(0,o.G_)(r.A.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(r.A),s=i(4884),l=i(77250),u=i(63811),c=i(79620),h=i(97451),d=i(88297),p=i(52384),g=i(59033),f=i(45400),y=i(89425),v=i(59730),m=i(21916),x=i(10675),b=i(91365),_=i(27016),S=i(72059),A=i(60253),w=i(73394),M=u.A,I="horizontal",C="vertical",D=["line","bar","candlestick","scatter"],O={easing:"cubicOut",duration:100,delay:0},T=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i._displayables={},i}return(0,n.C6)(t,e),t.prototype.init=function(e,t){this.api=t,this._onBrush=(0,s.bind)(this._onBrush,this),this._onBrushEnd=(0,s.bind)(this._onBrushEnd,this)},t.prototype.render=function(t,i,n,r){if(e.prototype.render.apply(this,arguments),y.N(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),!1===t.get("show"))return void this.group.removeAll();if(t.noTarget()){this._clear(),this.group.removeAll();return}r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){y.IU(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var t=this._displayables.sliderGroup=new c.A;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(t),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,t=this.api,i=e.get("brushSelect"),n=this._findCoordRect(),r={width:t.getWidth(),height:t.getHeight()},o=this._orient===I?{right:r.width-n.x-n.width,top:r.height-30-7-7*!!i,width:n.width,height:30}:{right:7,top:n.y,width:30,height:n.height},a=x.vs(e.option);(0,s.each)(["right","top","width","height"],function(e){"ph"===a[e]&&(a[e]=o[e])});var l=x.dV(a,r);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===C&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,t=this._location,i=this._orient,n=this.dataZoomModel.getFirstTargetAxisModel(),r=n&&n.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(i!==I||r?i===I&&r?{scaleY:a?1:-1,scaleX:-1}:i!==C||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=e.getBoundingRect([o]);e.x=t.x-s.x,e.y=t.y-s.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,t=this._size,i=this._displayables.sliderGroup,n=e.get("brushSelect");i.add(new M({silent:!0,shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var r=new M({shape:{x:0,y:0,width:t[0],height:t[1]},style:{fill:"transparent"},z2:0,onclick:(0,s.bind)(this._onClickPanel,this)}),o=this.api.getZr();n?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),i.add(r)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],e){var t=this._size,i=this._shadowSize||[],n=e.series,r=n.getRawData(),o=n.getShadowDim&&n.getShadowDim(),a=o&&r.getDimensionInfo(o)?n.getShadowDim():e.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||t[0]!==i[0]||t[1]!==i[1]){var u,p=r.getDataExtent(a),g=(p[1]-p[0])*.3;p=[p[0]-g,p[1]+g];var f=[0,t[1]],y=[0,t[0]],v=[[t[0],0],[0,0]],x=[],b=y[1]/(r.count()-1),_=0,S=Math.round(r.count()/t[0]);r.each([a],function(e,t){if(S>0&&t%S){_+=b;return}var i=null==e||isNaN(e)||""===e,n=i?0:(0,m.Cb)(e,p,f,!0);i&&!u&&t?(v.push([v[v.length-1][0],0]),x.push([x[x.length-1][0],0])):!i&&u&&(v.push([_,0]),x.push([_,0])),v.push([_,n]),x.push([_,n]),_+=b,u=i}),s=this._shadowPolygonPts=v,l=this._shadowPolylinePts=x}this._shadowData=r,this._shadowDim=a,this._shadowSize=[t[0],t[1]];for(var A=this.dataZoomModel,w=0;w<3;w++){var M=function(e){var t=A.getModel(e?"selectedDataBackground":"dataBackground"),i=new c.A,n=new h.A({shape:{points:s},segmentIgnoreThreshold:1,style:t.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new d.A({shape:{points:l},segmentIgnoreThreshold:1,style:t.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return i.add(n),i.add(r),i}(1===w);this._displayables.sliderGroup.add(M),this._displayables.dataShadowSegs.push(M)}}}},t.prototype._prepareDataShadowInfo=function(){var e,t=this.dataZoomModel,i=t.get("showDataShadow");if(!1!==i){var n=this.ecModel;return t.eachTargetAxis(function(r,o){var a=t.getAxisProxy(r,o).getTargetSeriesModels();(0,s.each)(a,function(t){if(!e&&!(!0!==i&&0>(0,s.indexOf)(D,t.get("type")))){var a,l=n.getComponent((0,_.dX)(r),o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[r],c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(a=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),e={thisAxis:l,series:t,thisDim:r,otherDim:u,otherAxisInverse:a}}},this)},this),e}},t.prototype._renderHandle=function(){var e=this.group,t=this._displayables,i=t.handles=[null,null],n=t.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,l=this.api,c=a.get("borderRadius")||0,h=a.get("brushSelect"),d=t.filler=new M({silent:h,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(d),r.add(new M({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:c},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),(0,s.each)([0,1],function(t){var o=a.get("handleIcon");!A.$V[o]&&0>o.indexOf("path://")&&0>o.indexOf("image://")&&(o="path://"+o);var l=(0,A.v5)(o,-1,0,2,2,null,!0);l.attr({cursor:L(this._orient),draggable:!0,drift:(0,s.bind)(this._onDragMove,this,t),ondragend:(0,s.bind)(this._onDragEnd,this),onmouseover:(0,s.bind)(this._showDataInfo,this,!0),onmouseout:(0,s.bind)(this._showDataInfo,this,!1),z2:5});var u=l.getBoundingRect(),c=a.get("handleSize");this._handleHeight=(0,m.lo)(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,l.setStyle(a.getModel("handleStyle").getItemStyle()),l.style.strokeNoScale=!0,l.rectHover=!0,l.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,S.iJ)(l);var h=a.get("handleColor");null!=h&&(l.style.fill=h),r.add(i[t]=l);var d=a.getModel("textStyle");e.add(n[t]=new p.Ay({silent:!0,invisible:!0,style:(0,w.VB)(d,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:d.getTextColor(),font:d.getFont()}),z2:10}))},this);var g=d;if(h){var f=(0,m.lo)(a.get("moveHandleSize"),o[1]),y=t.moveHandle=new u.A({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:f}}),v=.8*f,x=t.moveHandleIcon=(0,A.v5)(a.get("moveHandleIcon"),-v/2,-v/2,v,v,"#fff",!0);x.silent=!0,x.y=o[1]+f/2-.5,y.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(o[1]/2,Math.max(f,10));(g=t.moveZone=new u.A({invisible:!0,shape:{y:o[1]-b,height:f+b}})).on("mouseover",function(){l.enterEmphasis(y)}).on("mouseout",function(){l.leaveEmphasis(y)}),r.add(y),r.add(x),r.add(g)}g.attr({draggable:!0,cursor:L(this._orient),drift:(0,s.bind)(this._onDragMove,this,"all"),ondragstart:(0,s.bind)(this._showDataInfo,this,!0),ondragend:(0,s.bind)(this._onDragEnd,this),onmouseover:(0,s.bind)(this._showDataInfo,this,!0),onmouseout:(0,s.bind)(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),t=this._getViewExtent();this._handleEnds=[(0,m.Cb)(e[0],[0,100],t,!0),(0,m.Cb)(e[1],[0,100],t,!0)]},t.prototype._updateInterval=function(e,t){var i=this.dataZoomModel,n=this._handleEnds,r=this._getViewExtent(),o=i.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];(0,b.A)(t,n,r,i.get("zoomLock")?"all":e,null!=o.minSpan?(0,m.Cb)(o.minSpan,a,r,!0):null,null!=o.maxSpan?(0,m.Cb)(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=(0,m.Y6)([(0,m.Cb)(n[0],r,a,!0),(0,m.Cb)(n[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},t.prototype._updateView=function(e){var t=this._displayables,i=this._handleEnds,n=(0,m.Y6)(i.slice()),r=this._size;(0,s.each)([0,1],function(e){var n=t.handles[e],o=this._handleHeight;n.attr({scaleX:o/2,scaleY:o/2,x:i[e]+(e?-1:1),y:r[1]/2-o/2})},this),t.filler.setShape({x:n[0],y:0,width:n[1]-n[0],height:r[1]});var o={x:n[0],width:n[1]-n[0]};t.moveHandle&&(t.moveHandle.setShape(o),t.moveZone.setShape(o),t.moveZone.getBoundingRect(),t.moveHandleIcon&&t.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=t.dataShadowSegs,l=[0,n[0],n[1],r[0]],c=0;c<a.length;c++){var h=a[c],d=h.getClipPath();d||(d=new u.A,h.setClipPath(d)),d.setShape({x:l[c],y:0,width:l[c+1]-l[c],height:r[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var t=this.dataZoomModel,i=this._displayables,n=i.handleLabels,r=this._orient,o=["",""];if(t.get("showDetail")){var a=t.findRepresentativeAxisProxy();if(a){var s=a.getAxisModel().axis,l=this._range,u=e?a.calculateDataWindow({start:l[0],end:l[1]}).valueWindow:a.getDataValueWindow();o=[this._formatLabel(u[0],s),this._formatLabel(u[1],s)]}}var c=(0,m.Y6)(this._handleEnds.slice());function h(e){var t=g.getTransform(i.handles[e].parent,this.group),a=g.transformDirection(0===e?"right":"left",t),s=this._handleWidth/2+5,l=g.applyTransform([c[e]+(0===e?-s:s),this._size[1]/2],t);n[e].setStyle({x:l[0],y:l[1],verticalAlign:r===I?"middle":a,align:r===I?a:"center",text:o[e]})}h.call(this,0),h.call(this,1)},t.prototype._formatLabel=function(e,t){var i=this.dataZoomModel,n=i.get("labelFormatter"),r=i.get("labelPrecision");(null==r||"auto"===r)&&(r=t.getPixelPrecision());var o=null==e||isNaN(e)?"":"category"===t.type||"time"===t.type?t.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(r,20));return(0,s.isFunction)(n)?n(e,o):(0,s.isString)(n)?n.replace("{value}",o):o},t.prototype._showDataInfo=function(e){e=this._dragging||e;var t=this._displayables,i=t.handleLabels;i[0].attr("invisible",!e),i[1].attr("invisible",!e),t.moveHandle&&this.api[e?"enterEmphasis":"leaveEmphasis"](t.moveHandle,1)},t.prototype._onDragMove=function(e,t,i,n){this._dragging=!0,l.ds(n.event);var r=this._displayables.sliderGroup.getLocalTransform(),o=g.applyTransform([t,i],r,!0),a=this._updateInterval(e,o[0]),s=this.dataZoomModel.get("realtime");this._updateView(!s),a&&s&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),this.dataZoomModel.get("realtime")||this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var t=this._size,i=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(i[0]<0)&&!(i[0]>t[0])&&!(i[1]<0)&&!(i[1]>t[1])){var n=this._handleEnds,r=(n[0]+n[1])/2,o=this._updateInterval("all",i[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var t=e.offsetX,i=e.offsetY;this._brushStart=new f.A(t,i),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var t=this._displayables.brushRect;if(this._brushing=!1,t){t.attr("ignore",!0);var i=t.shape;if(!(new Date-this._brushStartTime<200&&5>Math.abs(i.width))){var n=this._getViewExtent(),r=[0,100];this._range=(0,m.Y6)([(0,m.Cb)(i.x,n,r,!0),(0,m.Cb)(i.x+i.width,n,r,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(l.ds(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,t){var i=this._displayables,n=this.dataZoomModel,r=i.brushRect;r||(r=i.brushRect=new M({silent:!0,style:n.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(e,t),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},t.prototype._dispatchZoomAction=function(e){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?O:null,start:t[0],end:t[1]})},t.prototype._findCoordRect=function(){var e,t=(0,_.es)(this.dataZoomModel).infoList;if(!e&&t.length){var i=t[0].model.coordinateSystem;e=i.getRect&&i.getRect()}if(!e){var n=this.api.getWidth(),r=this.api.getHeight();e={x:.2*n,y:.2*r,width:.6*n,height:.6*r}}return e},t.type="dataZoom.slider",t}(v.A);function L(e){return"vertical"===e?"ns-resize":"ew-resize"}var k=i(97019);function P(e){e.registerComponentModel(a),e.registerComponentView(T),(0,k.A)(e)}},88593(e,t,i){i.d(t,{A:()=>J});var n=i(31831),r=i(4884),o=i(16419),a=i(79620),s=i(63811),l=i(59033),u=i(88297),c=i(97451),h=i(67614),d=i(31393),p=Math.min,g=Math.max,f=Math.pow,y="globalPan",v={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},m={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},x={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},b=0,_=function(e){function t(t){var i=e.call(this)||this;return i._track=[],i._covers=[],i._handlers={},i._zr=t,i.group=new a.A,i._uid="brushController_"+b++,(0,r.each)(K,function(e,t){this._handlers[t]=(0,r.bind)(e,this)},i),i}return(0,n.C6)(t,e),t.prototype.enableBrush=function(e){return this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var t=this._zr;this._enableGlobalPan||h.s(t,y,this._uid),(0,r.each)(this._handlers,function(e,i){t.on(i,e)}),this._brushType=e.brushType,this._brushOption=(0,r.merge)((0,r.clone)(x),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;h._r(e,y,this._uid),(0,r.each)(this._handlers,function(t,i){e.off(i,t)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var t=this._panels={};(0,r.each)(e,function(e){t[e.panelId]=(0,r.clone)(e)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},this._enableGlobalPan=e.enableGlobalPan;var t=this.group;return this._zr.add(t),t.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=t.getLocalTransform(),this},t.prototype.updateCovers=function(e){e=(0,r.map)(e,function(e){return(0,r.merge)((0,r.clone)(x),e,!0)});var t=this._covers,i=this._covers=[],n=this,o=this._creatingCover;return new d.A(t,e,function(e,t){return a(e.__brushOption,t)},a).add(s).update(s).remove(function(e){t[e]!==o&&n.group.remove(t[e])}).execute(),this;function a(e,t){return(null!=e.id?e.id:"\0-brush-index-"+t)+"-"+e.brushType}function s(r,a){var s=e[r];if(null!=a&&t[a]===o)i[r]=t[a];else{var l=i[r]=null!=a?(t[a].__brushOption=s,t[a]):A(n,S(n,s));I(n,l)}}},t.prototype.unmount=function(){return this.enableBrush(!1),T(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(o.A);function S(e,t){var i=$[t.brushType].createCover(e,t);return i.__brushOption=t,M(i,t),e.group.add(i),i}function A(e,t){var i=C(t);return i.endCreating&&(i.endCreating(e,t),M(t,t.__brushOption)),t}function w(e,t){var i=t.__brushOption;C(t).updateCoverShape(e,t,i.range,i)}function M(e,t){var i=t.z;null==i&&(i=1e4),e.traverse(function(e){e.z=i,e.z2=i})}function I(e,t){C(t).updateCommon(e,t),w(e,t)}function C(e){return $[e.__brushOption.brushType]}function D(e,t,i){var n,o=e._panels;if(!o)return!0;var a=e._transform;return(0,r.each)(o,function(e){e.isTargetByCursor(t,i,a)&&(n=e)}),n}function O(e,t){var i=e._panels;if(!i)return!0;var n=t.__brushOption.panelId;return null==n||i[n]}function T(e){var t=e._covers,i=t.length;return(0,r.each)(t,function(t){e.group.remove(t)},e),t.length=0,!!i}function L(e,t){var i=(0,r.map)(e._covers,function(e){var t=e.__brushOption,i=(0,r.clone)(t.range);return{brushType:t.brushType,panelId:t.panelId,range:i}});e.trigger("brush",{areas:i,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function k(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function P(e,t,i,n){var o=new a.A;return o.add(new s.A({name:"main",style:N(i),silent:!0,draggable:!0,cursor:"move",drift:(0,r.curry)(G,e,t,o,["n","s","w","e"]),ondragend:(0,r.curry)(L,t,{isEnd:!0})})),(0,r.each)(n,function(i){o.add(new s.A({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,r.curry)(G,e,t,o,i),ondragend:(0,r.curry)(L,t,{isEnd:!0})}))}),o}function R(e,t,i,n){var r=n.brushStyle.lineWidth||0,o=g(r,6),a=i[0][0],s=i[1][0],l=a-r/2,u=s-r/2,c=i[0][1],h=i[1][1],d=c-o+r/2,p=h-o+r/2,f=c-a,y=h-s,v=f+r,m=y+r;z(e,t,"main",a,s,f,y),n.transformable&&(z(e,t,"w",l,u,o,m),z(e,t,"e",d,u,o,m),z(e,t,"n",l,u,v,o),z(e,t,"s",l,p,v,o),z(e,t,"nw",l,u,o,o),z(e,t,"ne",d,u,o,o),z(e,t,"sw",l,p,o,o),z(e,t,"se",d,p,o,o))}function V(e,t){var i=t.__brushOption,n=i.transformable,o=t.childAt(0);o.useStyle(N(i)),o.attr({silent:!n,cursor:n?"move":"default"}),(0,r.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var r,o,a,s=t.childOfName(i.join("")),l=1===i.length?B(e,i[0]):(("e"===(a=[B(r=e,(o=i)[0]),B(r,o[1])])[0]||"w"===a[0])&&a.reverse(),a.join(""));s&&s.attr({silent:!n,invisible:!n,cursor:n?m[l]+"-resize":null})})}function z(e,t,i,n,r,o,a){var s,l,u,c=t.childOfName(i);c&&c.setShape((l=p((s=F(e,t,[[n,r],[n+o,r+a]]))[0][0],s[1][0]),{x:l,y:u=p(s[0][1],s[1][1]),width:g(s[0][0],s[1][0])-l,height:g(s[0][1],s[1][1])-u}))}function N(e){return(0,r.defaults)({strokeNoScale:!0},e.brushStyle)}function E(e,t,i,n){var r=[p(e,i),p(t,n)],o=[g(e,i),g(t,n)];return[[r[0],o[0]],[r[1],o[1]]]}function B(e,t){return({left:"w",right:"e",top:"n",bottom:"s"})[l.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[t],l.getTransform(e.group))]}function G(e,t,i,n,o,a){var s=i.__brushOption,l=e.toRectRange(s.range),u=H(t,o,a);(0,r.each)(n,function(e){var t=v[e];l[t[0]][t[1]]+=u[t[0]]}),s.range=e.fromRectRange(E(l[0][0],l[1][0],l[0][1],l[1][1])),I(t,i),L(t,{isEnd:!1})}function W(e,t,i,n){var o=t.__brushOption.range,a=H(e,i,n);(0,r.each)(o,function(e){e[0]+=a[0],e[1]+=a[1]}),I(e,t),L(e,{isEnd:!1})}function H(e,t,i){var n=e.group,r=n.transformCoordToLocal(t,i),o=n.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function F(e,t,i){var n=O(e,t);return n&&!0!==n?n.clipPath(i,e._transform):(0,r.clone)(i)}function Z(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Y(e,t,i){return e.childOfName("main").contain(t,i)}function X(e,t,i,n){var o,a=e._creatingCover,s=e._creatingPanel,l=e._brushOption;if(e._track.push(i.slice()),function(e){var t=e._track;if(!t.length)return!1;var i=t[t.length-1],n=t[0],r=i[0]-n[0],o=i[1]-n[1];return f(r*r+o*o,.5)>6}(e)||a){if(s&&!a){"single"===l.brushMode&&T(e);var u=(0,r.clone)(l);u.brushType=U(u.brushType,s),u.panelId=!0===s?null:s.panelId,a=e._creatingCover=S(e,u),e._covers.push(a)}if(a){var c=$[U(e._brushType,s)];a.__brushOption.range=c.getCreatingRange(F(e,a,e._track)),n&&(A(e,a),c.updateCommon(e,a)),w(e,a),o={isEnd:n}}}else n&&"single"===l.brushMode&&l.removeOnClick&&D(e,t,i)&&T(e)&&(o={isEnd:n,removeOnClick:!0});return o}function U(e,t){return"auto"===e?t.defaultBrushType:e}var K={mousedown:function(e){if(this._dragging)q(this,e);else if(!e.target||!e.target.draggable){Z(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null,(this._creatingPanel=D(this,e,t))&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,i=e.offsetY,n=this.group.transformCoordToLocal(t,i);if(!function(e,t,i){if(!(!e._brushType||(n=e,r=t.offsetX,o=t.offsetY,a=n._zr,r<0||r>a.getWidth()||o<0||o>a.getHeight()))){var n,r,o,a,s=e._zr,l=e._covers,u=D(e,t,i);if(!e._dragging)for(var c=0;c<l.length;c++){var h=l[c].__brushOption;if(u&&(!0===u||h.panelId===u.panelId)&&$[h.brushType].contain(l[c],i[0],i[1]))return}u&&s.setCursorStyle("crosshair")}}(this,e,n),this._dragging){Z(e);var r=X(this,e,n,!1);r&&L(this,r)}},mouseup:function(e){q(this,e)}};function q(e,t){if(e._dragging){Z(t);var i=t.offsetX,n=t.offsetY,r=e.group.transformCoordToLocal(i,n),o=X(e,t,r,!0);e._dragging=!1,e._track=[],e._creatingCover=null,o&&L(e,o)}}var $={lineX:j(0),lineY:j(1),rect:{createCover:function(e,t){function i(e){return e}return P({toRectRange:i,fromRectRange:i},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=k(e);return E(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,i,n){R(e,t,i,n)},updateCommon:V,contain:Y},polygon:{createCover:function(e,t){var i=new a.A;return i.add(new u.A({name:"main",style:N(t),silent:!0})),i},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new c.A({name:"main",draggable:!0,drift:(0,r.curry)(W,e,t),ondragend:(0,r.curry)(L,e,{isEnd:!0})}))},updateCoverShape:function(e,t,i,n){t.childAt(0).setShape({points:F(e,t,i)})},updateCommon:V,contain:Y}};function j(e){return{createCover:function(t,i){return P({toRectRange:function(t){var i=[t,[0,100]];return e&&i.reverse(),i},fromRectRange:function(t){return t[e]}},t,i,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var i=k(t);return[p(i[0][e],i[1][e]),g(i[0][e],i[1][e])]},updateCoverShape:function(t,i,n,r){var o,a=O(t,i);if(!0!==a&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(e);else{var s=t._zr;o=[0,[s.getWidth(),s.getHeight()][1-e]]}var l=[n,o];e&&l.reverse(),R(t,i,l,r)},updateCommon:V,contain:Y}}let J=_},63785(e,t,i){i.d(t,{A:()=>x});var n=i(4884),r=i(59033),o=i(28709),a=i(84124),s=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],l=function(){function e(e,t,i){var r=this;this._targetInfoList=[];var o=c(t,e);(0,n.each)(h,function(e,t){(!i||!i.include||(0,n.indexOf)(i.include,t)>=0)&&e(o,r._targetInfoList)})}return e.prototype.setOutputRanges=function(e,t){return this.matchOutputRanges(e,t,function(e,t,i){if((e.coordRanges||(e.coordRanges=[])).push(t),!e.coordRange){e.coordRange=t;var n=g[e.brushType](0,i,t);e.__rangeOffset={offset:y[e.brushType](n.values,e.range,[1,1]),xyMinMax:n.xyMinMax}}}),e},e.prototype.matchOutputRanges=function(e,t,i){(0,n.each)(e,function(e){var r=this.findTargetInfo(e,t);r&&!0!==r&&(0,n.each)(r.coordSyses,function(n){var r=g[e.brushType](1,n,e.range,!0);i(e,r.values,n,t)})},this)},e.prototype.setInputRanges=function(e,t){(0,n.each)(e,function(e){var i=this.findTargetInfo(e,t);if(e.range=e.range||[],i&&!0!==i){e.panelId=i.panelId;var n,r,o,a,s,l=g[e.brushType](0,i.coordSys,e.coordRange),u=e.__rangeOffset;e.range=u?y[e.brushType](l.values,u.offset,(n=l.xyMinMax,r=u.xyMinMax,o=m(n),a=m(r),isNaN((s=[o[0]/a[0],o[1]/a[1]])[0])&&(s[0]=1),isNaN(s[1])&&(s[1]=1),s)):l.values}},this)},e.prototype.makePanelOpts=function(e,t){return(0,n.map)(this._targetInfoList,function(i){var n=i.getPanelRect();return{panelId:i.panelId,defaultBrushType:t?t(i):null,clipPath:o.wd(n),isTargetByCursor:o.x$(n,e,i.coordSysModel),getLinearBrushOtherExtent:o.wx(n)}})},e.prototype.controlSeries=function(e,t,i){var r=this.findTargetInfo(e,i);return!0===r||r&&(0,n.indexOf)(r.coordSyses,t.coordinateSystem)>=0},e.prototype.findTargetInfo=function(e,t){for(var i=this._targetInfoList,n=c(t,e),r=0;r<i.length;r++){var o=i[r],a=e.panelId;if(a){if(o.panelId===a)return o}else for(var s=0;s<d.length;s++)if(d[s](n,o))return o}return!0},e}();function u(e){return e[0]>e[1]&&e.reverse(),e}function c(e,t){return(0,a._e)(e,t,{includeMainTypes:s})}var h={grid:function(e,t){var i=e.xAxisModels,r=e.yAxisModels,o=e.gridModels,a=(0,n.createHashMap)(),s={},l={};(i||r||o)&&((0,n.each)(i,function(e){var t=e.axis.grid.model;a.set(t.id,t),s[t.id]=!0}),(0,n.each)(r,function(e){var t=e.axis.grid.model;a.set(t.id,t),l[t.id]=!0}),(0,n.each)(o,function(e){a.set(e.id,e),s[e.id]=!0,l[e.id]=!0}),a.each(function(e){var o=e.coordinateSystem,a=[];(0,n.each)(o.getCartesians(),function(e,t){((0,n.indexOf)(i,e.getAxis("x").model)>=0||(0,n.indexOf)(r,e.getAxis("y").model)>=0)&&a.push(e)}),t.push({panelId:"grid--"+e.id,gridModel:e,coordSysModel:e,coordSys:a[0],coordSyses:a,getPanelRect:p.grid,xAxisDeclared:s[e.id],yAxisDeclared:l[e.id]})}))},geo:function(e,t){(0,n.each)(e.geoModels,function(e){var i=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:i,coordSyses:[i],getPanelRect:p.geo})})}},d=[function(e,t){var i=e.xAxisModel,n=e.yAxisModel,r=e.gridModel;return!r&&i&&(r=i.axis.grid.model),!r&&n&&(r=n.axis.grid.model),r&&r===t.gridModel},function(e,t){var i=e.geoModel;return i&&i===t.geoModel}],p={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(r.getTransform(e)),t}},g={lineX:(0,n.curry)(f,0),lineY:(0,n.curry)(f,1),rect:function(e,t,i,n){var r=e?t.pointToData([i[0][0],i[1][0]],n):t.dataToPoint([i[0][0],i[1][0]],n),o=e?t.pointToData([i[0][1],i[1][1]],n):t.dataToPoint([i[0][1],i[1][1]],n),a=[u([r[0],o[0]]),u([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(e,t,i,r){var o=[[1/0,-1/0],[1/0,-1/0]];return{values:(0,n.map)(i,function(i){var n=e?t.pointToData(i,r):t.dataToPoint(i,r);return o[0][0]=Math.min(o[0][0],n[0]),o[1][0]=Math.min(o[1][0],n[1]),o[0][1]=Math.max(o[0][1],n[0]),o[1][1]=Math.max(o[1][1],n[1]),n}),xyMinMax:o}}};function f(e,t,i,r){var o=i.getAxis(["x","y"][e]),a=u((0,n.map)([0,1],function(e){return t?o.coordToData(o.toLocalCoord(r[e]),!0):o.toGlobalCoord(o.dataToCoord(r[e]))})),s=[];return s[e]=a,s[1-e]=[NaN,NaN],{values:a,xyMinMax:s}}var y={lineX:(0,n.curry)(v,0),lineY:(0,n.curry)(v,1),rect:function(e,t,i){return[[e[0][0]-i[0]*t[0][0],e[0][1]-i[0]*t[0][1]],[e[1][0]-i[1]*t[1][0],e[1][1]-i[1]*t[1][1]]]},polygon:function(e,t,i){return(0,n.map)(e,function(e,n){return[e[0]-i[0]*t[n][0],e[1]-i[1]*t[n][1]]})}};function v(e,t,i,n){return[t[0]-n[e]*i[0],t[1]-n[e]*i[1]]}function m(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}let x=l},96120(e,t,i){i.d(t,{A:()=>h});var n=i(31831),r=i(16419),o=i(77250),a=i(67614),s=i(4884);function l(e,t,i,n,r){e.pointerChecker&&e.pointerChecker(n,r.originX,r.originY)&&(o.ds(n.event),u(e,t,i,n,r))}function u(e,t,i,n,r){r.isAvailableBehavior=(0,s.bind)(c,null,i,n),e.trigger(t,r)}function c(e,t,i){var n=i[e];return!e||n&&(!(0,s.isString)(n)||t.event[n+"Key"])}let h=function(e){function t(t){var i=e.call(this)||this;i._zr=t;var n=(0,s.bind)(i._mousedownHandler,i),r=(0,s.bind)(i._mousemoveHandler,i),o=(0,s.bind)(i._mouseupHandler,i),a=(0,s.bind)(i._mousewheelHandler,i),l=(0,s.bind)(i._pinchHandler,i);return i.enable=function(e,i){this.disable(),this._opt=(0,s.defaults)((0,s.clone)(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),(!0===e||"move"===e||"pan"===e)&&(t.on("mousedown",n),t.on("mousemove",r),t.on("mouseup",o)),(!0===e||"scale"===e||"zoom"===e)&&(t.on("mousewheel",a),t.on("pinch",l))},i.disable=function(){t.off("mousedown",n),t.off("mousemove",r),t.off("mouseup",o),t.off("mousewheel",a),t.off("pinch",l)},i}return(0,n.C6)(t,e),t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!o.W5(e)){for(var t=e.target;t;){if(t.draggable)return;t=t.__hostTarget||t.parent}var i=e.offsetX,n=e.offsetY;this.pointerChecker&&this.pointerChecker(e,i,n)&&(this._x=i,this._y=n,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(!(!this._dragging||!c("moveOnMouseMove",e,this._opt)||"pinch"===e.gestureEvent||a.Ck(this._zr,"globalPan"))){var t=e.offsetX,i=e.offsetY,n=this._x,r=this._y;this._x=t,this._y=i,this._opt.preventDefaultMouseMove&&o.ds(e.event),u(this,"pan","moveOnMouseMove",e,{dx:t-n,dy:i-r,oldX:n,oldY:r,newX:t,newY:i,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){o.W5(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var t=c("zoomOnMouseWheel",e,this._opt),i=c("moveOnMouseWheel",e,this._opt),n=e.wheelDelta,r=Math.abs(n),o=e.offsetX,a=e.offsetY;if(0!==n&&(t||i)){if(t){var s=r>3?1.4:r>1?1.2:1.1;l(this,"zoom","zoomOnMouseWheel",e,{scale:n>0?s:1/s,originX:o,originY:a,isAvailableBehavior:null})}if(i){var u=Math.abs(n);l(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:(n>0?1:-1)*(u>3?.4:u>1?.15:.05),originX:o,originY:a,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!a.Ck(this._zr,"globalPan")){var t=e.pinchScale>1?1.1:1/1.1;l(this,"zoom",null,e,{scale:t,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(r.A)},28709(e,t,i){i.d(t,{wd:()=>a,wx:()=>s,x$:()=>l});var n=i(51690),r=i(10099),o=i(59033);function a(e){return e=u(e),function(t){return o.clipPointsByRect(t,e)}}function s(e,t){return e=u(e),function(i){var n=null!=t?t:i,r=n?e.width:e.height,o=n?e.x:e.y;return[o,o+(r||0)]}}function l(e,t,i){var n=u(e);return function(e,o){return n.contain(o[0],o[1])&&!(0,r.I)(e,t,i)}}function u(e){return n.A.create(e)}},10099(e,t,i){i.d(t,{I:()=>r});var n={axisPointer:1,tooltip:1,brush:1};function r(e,t,i){var r=t.getComponentByElement(e.topTarget),o=r&&r.coordinateSystem;return r&&r!==i&&!n.hasOwnProperty(r.mainType)&&o&&o.model!==i}},67614(e,t,i){i.d(t,{Ck:()=>l,_r:()=>s,s:()=>a});var n=i(31950),r=i(4884),o="\0_ec_interaction_mutex";function a(e,t,i){u(e)[t]=i}function s(e,t,i){var n=u(e);n[t]===i&&(n[t]=null)}function l(e,t){return!!u(e)[t]}function u(e){return e[o]||(e[o]={})}n.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},r.noop)},7474(e,t,i){i.d(t,{P:()=>s,Z:()=>a});var n=i(10675),r=i(3306),o=i(63811);function a(e,t,i){var r=t.getBoxLayoutParams(),o=t.get("padding"),a={width:i.getWidth(),height:i.getHeight()},s=(0,n.dV)(r,a,o);(0,n.aP)(t.get("orient"),e,t.get("itemGap"),s.width,s.height),(0,n.m$)(e,r,a,o)}function s(e,t){var i=r.QX(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new o.A({shape:{x:e.x-i[3],y:e.y-i[0],width:e.width+i[1]+i[3],height:e.height+i[0]+i[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1})}},91365(e,t,i){function n(e,t,i,n,a,s){e=e||0;var l,u=i[1]-i[0];if(null!=a&&(a=o(a,[0,u])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===n){var c=Math.abs(t[1]-t[0]);c=o(c,[0,u]),a=s=o(c,[a,s]),n=0}t[0]=o(t[0],i),t[1]=o(t[1],i);var h=r(t,n);t[n]+=e;var d=a||0,p=i.slice();return h.sign<0?p[0]+=d:p[1]-=d,t[n]=o(t[n],p),l=r(t,n),null!=a&&(l.sign!==h.sign||l.span<a)&&(t[1-n]=t[n]+h.sign*a),l=r(t,n),null!=s&&l.span>s&&(t[1-n]=t[n]+l.sign*s),t}function r(e,t){var i=e[t]-e[1-t];return{span:Math.abs(i),sign:i>0?-1:i<0?1:t?-1:1}}function o(e,t){return Math.min(null!=t[1]?t[1]:1/0,Math.max(null!=t[0]?t[0]:-1/0,e))}i.d(t,{A:()=>n})},50944(e,t,i){i.d(t,{a:()=>H});var n=i(74653),r=i(31831),o=i(4884),a=i(25744),s=i(84124),l=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.layoutMode={type:"box",ignoreSize:!0},i}return(0,r.C6)(t,e),t.prototype.init=function(e,t,i){this.mergeDefaultAndTheme(e,i),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,i){e.prototype.mergeOption.call(this,t,i),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,i=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),o.isArray(t)&&o.each(t,function(e,n){var r;o.isString(e)&&(e={type:e}),t[n]=o.merge(e,"all"===(r=e.type)?{type:"all",title:i.getLocaleModel().get(["legend","selector","all"])}:"inverse"===r?{type:"inverse",title:i.getLocaleModel().get(["legend","selector","inverse"])}:void 0)})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,i=0;i<e.length;i++){var n=e[i].get("name");if(this.isSelected(n)){this.select(n),t=!0;break}}t||this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],i=[];e.eachRawSeries(function(n){var r,o=n.name;if(i.push(o),n.legendVisualProvider){var a=n.legendVisualProvider.getAllNames();e.isSeriesFiltered(n)||(i=i.concat(a)),a.length?t=t.concat(a):r=!0}else r=!0;r&&(0,s.O0)(n)&&t.push(n.name)}),this._availableNames=i;var n=this.get("data")||t,r=o.createHashMap(),l=o.map(n,function(e){return((o.isString(e)||o.isNumber(e))&&(e={name:e}),r.get(e.name))?null:(r.set(e.name,!0),new a.A(e,this,this.ecModel))},this);this._data=o.filter(l,function(e){return!!e})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var i=this._data;o.each(i,function(e){t[e.get("name")]=!1})}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;o.each(e,function(e){t[e.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;o.each(e,function(e){var i=e.get("name",!0);t.hasOwnProperty(i)||(t[i]=!0),t[i]=!t[i]})},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&o.indexOf(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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}},t}(i(36805).A),u=i(34196),c=i(79620),h=i(52384),d=i(63811),p=i(59033),g=i(72059),f=i(73394),y=i(7474),v=i(10675),m=i(43583),x=i(60253),b=i(34780),_=i(35032),S=o.curry,A=o.each,w=c.A,M=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.newlineDisabled=!1,i}return(0,r.C6)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new w),this.group.add(this._selectorGroup=new w),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,i){var n=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var r=e.get("align"),a=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===a?"right":"left");var s=e.get("selector",!0),l=e.get("selectorPosition",!0);s&&(!l||"auto"===l)&&(l="horizontal"===a?"end":"start"),this.renderInner(r,e,t,i,s,a,l);var u=e.getBoxLayoutParams(),c={width:i.getWidth(),height:i.getHeight()},h=e.get("padding"),d=v.dV(u,c,h),p=this.layoutInner(e,r,d,n,s,l),g=v.dV(o.defaults({width:p.width,height:p.height},u),c,h);this.group.x=g.x-p.x,this.group.y=g.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,y.P)(p,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,i,n,r,a,s){var l=this.getContentGroup(),c=o.createHashMap(),h=t.get("selectedMode"),d=[];i.eachRawSeries(function(e){e.get("legendHoverLink")||d.push(e.id)}),A(t.getData(),function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var p=new w;p.newline=!0,l.add(p);return}var g=i.getSeriesByName(s)[0];if(!c.get(s))if(g){var f=g.getData(),y=f.getVisual("legendLineStyle")||{},v=f.getVisual("legendIcon"),m=f.getVisual("style"),x=this._createItem(g,s,a,r,t,e,y,m,v,h,n);x.on("click",S(I,s,null,n,d)).on("mouseover",S(D,g.name,null,n,d)).on("mouseout",S(O,g.name,null,n,d)),i.ssr&&x.eachChild(function(e){var t=(0,_.z)(e);t.seriesIndex=g.seriesIndex,t.dataIndex=a,t.ssrType="legend"}),c.set(s,!0)}else i.eachRawSeries(function(l){if(!c.get(s)&&l.legendVisualProvider){var p=l.legendVisualProvider;if(p.containName(s)){var g=p.indexOfName(s),f=p.getItemVisual(g,"style"),y=p.getItemVisual(g,"legendIcon"),v=(0,u.parse)(f.fill);v&&0===v[3]&&(v[3]=.2,f=o.extend(o.extend({},f),{fill:(0,u.stringify)(v,"rgba")}));var m=this._createItem(l,s,a,r,t,e,{},f,y,h,n);m.on("click",S(I,null,s,n,d)).on("mouseover",S(D,null,s,n,d)).on("mouseout",S(O,null,s,n,d)),i.ssr&&m.eachChild(function(e){var t=(0,_.z)(e);t.seriesIndex=l.seriesIndex,t.dataIndex=a,t.ssrType="legend"}),c.set(s,!0)}}},this)},this),r&&this._createSelector(r,t,n,a,s)},t.prototype._createSelector=function(e,t,i,n,r){var o=this.getSelectorGroup();A(e,function(e){var n=e.type,r=new h.Ay({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});o.add(r);var a=t.getModel("selectorLabel"),s=t.getModel(["emphasis","selectorLabel"]);(0,f.qM)(r,{normal:a,emphasis:s},{defaultText:e.title}),(0,g.iJ)(r)})},t.prototype._createItem=function(e,t,i,n,r,a,s,l,u,c,y){var v=e.visualDrawType,m=r.get("itemWidth"),_=r.get("itemHeight"),S=r.isSelected(t),M=n.get("symbolRotate"),I=n.get("symbolKeepAspect"),C=n.get("icon"),D=function(e,t,i,n,r,o,a){function s(e,t){"auto"===e.lineWidth&&(e.lineWidth=2*(t.lineWidth>0)),A(e,function(i,n){"inherit"===e[n]&&(e[n]=t[n])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=0===e.lastIndexOf("empty",0)?"fill":"stroke",h=l.getShallow("decal");u.decal=h&&"inherit"!==h?(0,b.w)(h,a):n.decal,"inherit"===u.fill&&(u.fill=n[r]),"inherit"===u.stroke&&(u.stroke=n[c]),"inherit"===u.opacity&&(u.opacity=("fill"===r?n:i).opacity),s(u,n);var d=t.getModel("lineStyle"),p=d.getLineStyle();if(s(p,i),"auto"===u.fill&&(u.fill=n.fill),"auto"===u.stroke&&(u.stroke=n.fill),"auto"===p.stroke&&(p.stroke=n.fill),!o){var g=t.get("inactiveBorderWidth"),f=u[c];u.lineWidth="auto"===g?n.lineWidth>0&&f?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),p.stroke=d.get("inactiveColor"),p.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}(u=C||u||"roundRect",n,s,l,v,S,y),O=new w,T=n.getModel("textStyle");if(o.isFunction(e.getLegendIcon)&&(!C||"inherit"===C))O.add(e.getLegendIcon({itemWidth:m,itemHeight:_,icon:u,iconRotate:M,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:I}));else{var L,k,P,R="inherit"===C&&e.getData().getVisual("symbol")?"inherit"===M?e.getData().getVisual("symbolRotate"):M:0;O.add((k=(L={itemWidth:m,itemHeight:_,icon:u,iconRotate:R,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:I}).icon||"roundRect",(P=(0,x.v5)(k,0,0,L.itemWidth,L.itemHeight,L.itemStyle.fill,L.symbolKeepAspect)).setStyle(L.itemStyle),P.rotation=(L.iconRotate||0)*Math.PI/180,P.setOrigin([L.itemWidth/2,L.itemHeight/2]),k.indexOf("empty")>-1&&(P.style.stroke=P.style.fill,P.style.fill="#fff",P.style.lineWidth=2),P))}var V=r.get("formatter"),z=t;o.isString(V)&&V?z=V.replace("{name}",null!=t?t:""):o.isFunction(V)&&(z=V(t));var N=S?T.getTextColor():n.get("inactiveColor");O.add(new h.Ay({style:(0,f.VB)(T,{text:z,x:"left"===a?m+5:-5,y:_/2,fill:N,align:a,verticalAlign:"middle"},{inheritColor:N})}));var E=new d.A({shape:O.getBoundingRect(),style:{fill:"transparent"}}),B=n.getModel("tooltip");return B.get("show")&&p.setTooltipConfig({el:E,componentModel:r,itemName:t,itemTooltipOption:B.option}),O.add(E),O.eachChild(function(e){e.silent=!0}),E.silent=!c,this.getContentGroup().add(O),(0,g.iJ)(O),O.__legendDataIndex=i,O},t.prototype.layoutInner=function(e,t,i,n,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();v.aP(e.get("orient"),a,e.get("itemGap"),i.width,i.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),!r)return a.x=u[0],a.y=u[1],this.group.getBoundingRect();v.aP("horizontal",s,e.get("selectorItemGap",!0));var c=s.getBoundingRect(),h=[-c.x,-c.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",f=0===p?"height":"width",y=0===p?"y":"x";"end"===o?h[p]+=l[g]+d:u[p]+=c[g]+d,h[1-p]+=l[f]/2-c[f]/2,s.x=h[0],s.y=h[1],a.x=u[0],a.y=u[1];var m={x:0,y:0};return m[g]=l[g]+d+c[g],m[f]=Math.max(l[f],c[f]),m[y]=Math.min(0,c[y]+h[1-p]),m},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(m.A);function I(e,t,i,n){O(e,t,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),D(e,t,i,n)}function C(e){for(var t,i=e.getZr().storage.getDisplayList(),n=0,r=i.length;n<r&&!(t=i[n].states.emphasis);)n++;return t&&t.hoverLayer}function D(e,t,i,n){C(i)||i.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function O(e,t,i,n){C(i)||i.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}function T(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var i=0;i<t.length;i++)if(!t[i].isSelected(e.name))return!1;return!0})}function L(e,t,i){var n,r={},a="toggleSelected"===e;return i.eachComponent("legend",function(i){a&&null!=n?i[n?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?i[e]():(i[e](t.name),n=i.isSelected(t.name));var s=i.getData();(0,o.each)(s,function(e){var t=e.get("name");if("\n"!==t&&""!==t){var n=i.isSelected(t);r.hasOwnProperty(t)?r[t]=r[t]&&n:r[t]=n}})}),"allSelect"===e||"inverseSelect"===e?{selected:r}:{name:t.name,selected:r}}function k(e){e.registerComponentModel(l),e.registerComponentView(M),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,T),e.registerSubTypeDefaulter("legend",function(){return"plain"}),e.registerAction("legendToggleSelect","legendselectchanged",(0,o.curry)(L,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",(0,o.curry)(L,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",(0,o.curry)(L,"inverseSelect")),e.registerAction("legendSelect","legendselected",(0,o.curry)(L,"select")),e.registerAction("legendUnSelect","legendunselected",(0,o.curry)(L,"unSelect"))}var P=i(3818),R=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,i,n){var r=(0,v.vs)(t);e.prototype.init.call(this,t,i,n),V(this,t,r)},t.prototype.mergeOption=function(t,i){e.prototype.mergeOption.call(this,t,i),V(this,this.option,t)},t.type="legend.scroll",t.defaultOption=(0,P.G_)(l.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}),t}(l);function V(e,t,i){var n=e.getOrient(),r=[1,1];r[n.index]=0,(0,v.YA)(t,i,{type:"box",ignoreSize:!!r})}var z=i(68532),N=c.A,E=["width","height"],B=["x","y"],G=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.newlineDisabled=!0,i._currentIndex=0,i}return(0,r.C6)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new N),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new N)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,i,n,r,a,s,l){var u=this;e.prototype.renderInner.call(this,t,i,n,r,a,s,l);var c=this._controllerGroup,d=i.get("pageIconSize",!0),g=o.isArray(d)?d:[d,d];y("pagePrev",0);var f=i.getModel("pageTextStyle");function y(e,t){var n=p.createIcon(i.get("pageIcons",!0)[i.getOrient().name][t],{onclick:o.bind(u._pageGo,u,e+"DataIndex",i,r)},{x:-g[0]/2,y:-g[1]/2,width:g[0],height:g[1]});n.name=e,c.add(n)}c.add(new h.Ay({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),y("pageNext",1)},t.prototype.layoutInner=function(e,t,i,n,r,a){var s=this.getSelectorGroup(),l=e.getOrient().index,u=E[l],c=B[l],h=E[1-l],d=B[1-l];r&&v.aP("horizontal",s,e.get("selectorItemGap",!0));var p=e.get("selectorButtonGap",!0),g=s.getBoundingRect(),f=[-g.x,-g.y],y=o.clone(i);r&&(y[u]=i[u]-g[u]-p);var m=this._layoutContentAndController(e,n,y,l,u,h,d,c);if(r){if("end"===a)f[l]+=m[u]+p;else{var x=g[u]+p;f[l]-=x,m[c]-=x}m[u]+=g[u]+p,f[1-l]+=m[d]+m[h]/2-g[h]/2,m[h]=Math.max(m[h],g[h]),m[d]=Math.min(m[d],g[d]+f[1-l]),s.x=f[0],s.y=f[1],s.markRedraw()}return m},t.prototype._layoutContentAndController=function(e,t,i,n,r,a,s,l){var u=this.getContentGroup(),c=this._containerGroup,h=this._controllerGroup;v.aP(e.get("orient"),u,e.get("itemGap"),n?i.width:null,n?null:i.height),v.aP("horizontal",h,e.get("pageButtonItemGap",!0));var p=u.getBoundingRect(),g=h.getBoundingRect(),f=this._showController=p[r]>i[r],y=[-p.x,-p.y];t||(y[n]=u[l]);var m=[0,0],x=[-g.x,-g.y],b=o.retrieve2(e.get("pageButtonGap",!0),e.get("itemGap",!0));f&&("end"===e.get("pageButtonPosition",!0)?x[n]+=i[r]-g[r]:m[n]+=g[r]+b),x[1-n]+=p[a]/2-g[a]/2,u.setPosition(y),c.setPosition(m),h.setPosition(x);var _={x:0,y:0};if(_[r]=f?i[r]:p[r],_[a]=Math.max(p[a],g[a]),_[s]=Math.min(0,g[s]+x[1-n]),c.__rectSize=i[r],f){var S={x:0,y:0};S[r]=Math.max(i[r]-g[r]-b,0),S[a]=_[a],c.setClipPath(new d.A({shape:S})),c.__rectSize=S[r]}else h.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var A=this._getPageInfo(e);return null!=A.pageIndex&&z.oi(u,{x:A.contentPosition[0],y:A.contentPosition[1]},f?e:null),this._updatePageInfoView(e,A),_},t.prototype._pageGo=function(e,t,i){var n=this._getPageInfo(t)[e];null!=n&&i.dispatchAction({type:"legendScroll",scrollDataIndex:n,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var i=this._controllerGroup;o.each(["pagePrev","pageNext"],function(n){var r=null!=t[n+"DataIndex"],o=i.childOfName(n);o&&(o.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),o.cursor=r?"pointer":"default")});var n=i.childOfName("pageText"),r=e.get("pageFormatter"),a=t.pageIndex,s=null!=a?a+1:0,l=t.pageCount;n&&r&&n.setStyle("text",o.isString(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):r({current:s,total:l}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,r=e.getOrient().index,o=E[r],a=B[r],s=this._findTargetItemIndex(t),l=i.children(),u=l[s],c=l.length,h=+!!c,d={contentPosition:[i.x,i.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=m(u);d.contentPosition[r]=-p.s;for(var g=s+1,f=p,y=p,v=null;g<=c;++g)(!(v=m(l[g]))&&y.e>f.s+n||v&&!x(v,f.s))&&(f=y.i>f.i?y:v)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=f.i),++d.pageCount),y=v;for(var g=s-1,f=p,y=p,v=null;g>=-1;--g)(!(v=m(l[g]))||!x(y,v.s))&&f.i<y.i&&(y=f,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=f.i),++d.pageCount,++d.pageIndex),f=v;return d;function m(e){if(e){var t=e.getBoundingRect(),i=t[a]+e[a];return{s:i,e:i+t[o],i:e.__legendDataIndex}}}function x(e,t){return e.e>=t&&e.s<=t+n}},t.prototype._findTargetItemIndex=function(e){var t,i;return this._showController?(this.getContentGroup().eachChild(function(n,r){var o=n.__legendDataIndex;null==i&&null!=o&&(i=r),o===e&&(t=r)}),null!=t?t:i):0},t.type="legend.scroll",t}(M);function W(e){(0,n.Y)(k),e.registerComponentModel(R),e.registerComponentView(G),e.registerAction("legendScroll","legendscroll",function(e,t){var i=e.scrollDataIndex;null!=i&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(i)})})}function H(e){(0,n.Y)(k),(0,n.Y)(W)}},8412(e,t,i){i.d(t,{A:()=>p});var n=i(31831),r=i(4884),o=i(35209),a=i(42345),s=i(36805),l=i(84124),u=i(56803);function c(e){(0,l.M5)(e,"label",["show"])}var h=(0,l.$r)(),d=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.createdBySelf=!1,i}return(0,n.C6)(t,e),t.prototype.init=function(e,t,i){this.mergeDefaultAndTheme(e,i),this._mergeOption(e,i,!1,!0)},t.prototype.isAnimationEnabled=function(){if(o.A.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,t){this._mergeOption(e,t,!1,!1)},t.prototype._mergeOption=function(e,t,i,n){var o=this.mainType;i||t.eachSeries(function(e){var i=e.get(this.mainType,!0),a=h(e)[o];if(!i||!i.data){h(e)[o]=null;return}a?a._mergeOption(i,t,!0):(n&&c(i),r.each(i.data,function(e){e instanceof Array?(c(e[0]),c(e[1])):c(e)}),a=this.createMarkerModelFromSeries(i,this,t),r.extend(a,{mainType:this.mainType,seriesIndex:e.seriesIndex,name:e.name,createdBySelf:!0}),a.__hostSeries=e),h(e)[o]=a},this)},t.prototype.formatTooltip=function(e,t,i){var n=this.getData(),r=this.getRawValue(e),o=n.getName(e);return(0,u.Qx)("section",{header:this.name,blocks:[(0,u.Qx)("nameValue",{name:o,value:r,noName:!o,noValue:null==r})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(e){this._data=e},t.getMarkerModelFromSeries=function(e,t){return h(e)[t]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(s.A);r.mixin(d,a.J.prototype);let p=d},49112(e,t,i){i.d(t,{A:()=>c});var n=i(31831),r=i(43583),o=i(4884),a=i(8412),s=i(84124),l=i(72059),u=(0,s.$r)();let c=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.init=function(){this.markerGroupMap=(0,o.createHashMap)()},t.prototype.render=function(e,t,i){var n=this,r=this.markerGroupMap;r.each(function(e){u(e).keep=!1}),t.eachSeries(function(e){var r=a.A.getMarkerModelFromSeries(e,n.type);r&&n.renderSeries(e,r,t,i)}),r.each(function(e){u(e).keep||n.group.remove(e.group)})},t.prototype.markKeep=function(e){u(e).keep=!0},t.prototype.toggleBlurSeries=function(e,t){var i=this;(0,o.each)(e,function(e){var n=a.A.getMarkerModelFromSeries(e,i.type);n&&n.getData().eachItemGraphicEl(function(e){e&&(t?(0,l.QX)(e):(0,l.JC)(e))})})},t.type="marker",t}(r.A)},3415(e,t,i){i.d(t,{A:()=>r});var n=i(4884);function r(e,t){if(!e)return!1;for(var i=(0,n.isArray)(e)?e:[e],r=0;r<i.length;r++)if(i[r]&&i[r][t])return!0;return!1}},64404(e,t,i){i.d(t,{a:()=>L});var n=i(3415),r=i(31831),o=i(8412),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,i,n){return new t(e,i,n)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(o.A),s=i(34196),l=i(15764),u=i(21916),c=i(79620),h=i(97451),d=i(68532),p=i(72059),g=i(89945),f=i(49112),y=i(4884),v=i(43139),m=i(84124),x=i(80153),b=i(73394),_=i(35032),S=i(47163),A=(0,m.$r)(),w=function(e,t,i,n){var r=n[0],o=n[1];if(r&&o){var a=g.xx(e,r),s=g.xx(e,o),l=a.coord,u=s.coord;l[0]=(0,y.retrieve)(l[0],-1/0),l[1]=(0,y.retrieve)(l[1],-1/0),u[0]=(0,y.retrieve)(u[0],1/0),u[1]=(0,y.retrieve)(u[1],1/0);var c=(0,y.mergeAll)([{},a,s]);return c.coord=[a.coord,s.coord],c.x0=a.x,c.y0=a.y,c.x1=s.x,c.y1=s.y,c}};function M(e){return!isNaN(e)&&!isFinite(e)}function I(e,t,i,n){var r=1-e;return M(t[r])&&M(i[r])}function C(e,t){var i=t.coord[0],n=t.coord[1],r={coord:i,x:t.x0,y:t.y0},o={coord:n,x:t.x1,y:t.y1};return(0,v.g)(e,"cartesian2d")?!!(i&&n&&(I(1,i,n,e)||I(0,i,n,e)))||g.PN(e,r,o):g.Lq(e,r)||g.Lq(e,o)}function D(e,t,i,n,r){var o,a=n.coordinateSystem,s=e.getItemModel(t),l=u.lo(s.get(i[0]),r.getWidth()),c=u.lo(s.get(i[1]),r.getHeight());if(isNaN(l)||isNaN(c)){if(n.getMarkerPosition){var h=e.getValues(["x0","y0"],t),d=e.getValues(["x1","y1"],t),p=a.clampData(h),g=a.clampData(d),f=[];"x0"===i[0]?f[0]=p[0]>g[0]?d[0]:h[0]:f[0]=p[0]>g[0]?h[0]:d[0],"y0"===i[1]?f[1]=p[1]>g[1]?d[1]:h[1]:f[1]=p[1]>g[1]?h[1]:d[1],o=n.getMarkerPosition(f,i,!0)}else{var y=e.get(i[0],t),m=e.get(i[1],t),x=[y,m];a.clampData&&a.clampData(x,x),o=a.dataToPoint(x,!0)}if((0,v.g)(a,"cartesian2d")){var b=a.getAxis("x"),_=a.getAxis("y"),y=e.get(i[0],t),m=e.get(i[1],t);M(y)?o[0]=b.toGlobalCoord(b.getExtent()[+("x0"!==i[0])]):M(m)&&(o[1]=_.toGlobalCoord(_.getExtent()[+("y0"!==i[1])]))}isNaN(l)||(o[0]=l),isNaN(c)||(o[1]=c)}else o=[l,c];return o}var O=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],T=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.updateTransform=function(e,t,i){t.eachSeries(function(e){var t=o.A.getMarkerModelFromSeries(e,"markArea");if(t){var n=t.getData();n.each(function(t){var r=(0,y.map)(O,function(r){return D(n,t,r,e,i)});n.setItemLayout(t,r),n.getItemGraphicEl(t).setShape("points",r)})}},this)},t.prototype.renderSeries=function(e,t,i,n){var r=e.coordinateSystem,o=e.id,a=e.getData(),g=this.markerGroupMap,f=g.get(o)||g.set(o,{group:new c.A});this.group.add(f.group),this.markKeep(f);var v=function(e,t,i){if(e){var n,r,o=(0,y.map)(e&&e.dimensions,function(e){var i=t.getData(),n=i.getDimensionInfo(i.mapDimension(e))||{};return(0,y.extend)((0,y.extend)({},n),{name:e,ordinalMeta:null})});r=(0,y.map)(["x0","y0","x1","y1"],function(e,t){return{name:e,type:o[t%2].type}}),n=new l.A(r,i)}else r=[{name:"value",type:"float"}],n=new l.A(r,i);var a=(0,y.map)(i.get("data"),(0,y.curry)(w,t,e,i));e&&(a=(0,y.filter)(a,(0,y.curry)(C,e)));var s=e?function(e,t,i,n){var o=e.coord[Math.floor(n/2)][n%2];return(0,S.Pn)(o,r[n])}:function(e,t,i,n){return(0,S.Pn)(e.value,r[n])};return n.initData(a,null,s),n.hasItemOption=!0,n}(r,e,t);t.setData(v),v.each(function(t){var i=(0,y.map)(O,function(i){return D(v,t,i,e,n)}),o=r.getAxis("x").scale,l=r.getAxis("y").scale,c=o.getExtent(),h=l.getExtent(),d=[o.parse(v.get("x0",t)),o.parse(v.get("x1",t))],p=[l.parse(v.get("y0",t)),l.parse(v.get("y1",t))];u.Y6(d),u.Y6(p);var g=!(c[0]>d[1]||c[1]<d[0]||h[0]>p[1]||h[1]<p[0]);v.setItemLayout(t,{points:i,allClipped:!g});var f=v.getItemModel(t).getModel("itemStyle").getItemStyle(),m=(0,x.rI)(a,"color");!f.fill&&(f.fill=m,(0,y.isString)(f.fill)&&(f.fill=s.modifyAlpha(f.fill,.4))),f.stroke||(f.stroke=m),v.setItemVisual(t,"style",f)}),v.diff(A(f).data).add(function(e){var t=v.getItemLayout(e);if(!t.allClipped){var i=new h.A({shape:{points:t.points}});v.setItemGraphicEl(e,i),f.group.add(i)}}).update(function(e,i){var n=A(f).data.getItemGraphicEl(i),r=v.getItemLayout(e);r.allClipped?n&&f.group.remove(n):(n?d.oi(n,{shape:{points:r.points}},t,e):n=new h.A({shape:{points:r.points}}),v.setItemGraphicEl(e,n),f.group.add(n))}).remove(function(e){var t=A(f).data.getItemGraphicEl(e);f.group.remove(t)}).execute(),v.eachItemGraphicEl(function(e,i){var n=v.getItemModel(i),r=v.getItemVisual(i,"style");e.useStyle(v.getItemVisual(i,"style")),(0,b.qM)(e,(0,b.lx)(n),{labelFetcher:t,labelDataIndex:i,defaultText:v.getName(i)||"",inheritColor:(0,y.isString)(r.fill)?s.modifyAlpha(r.fill,1):"#000"}),(0,p.Mx)(e,n),(0,p.Lm)(e,null,null,n.get(["emphasis","disabled"])),(0,_.z)(e).dataModel=t}),A(f).data=v,f.group.silent=t.get("silent")||e.get("silent")},t.type="markArea",t}(f.A);function L(e){e.registerComponentModel(a),e.registerComponentView(T),e.registerPreprocessor(function(e){(0,n.A)(e.series,"markArea")&&(e.markArea=e.markArea||{})})}},28502(e,t,i){i.d(t,{a:()=>M});var n=i(3415),r=i(31831),o=i(8412),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,i,n){return new t(e,i,n)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(o.A),s=i(15764),l=i(21916),u=i(89945),c=i(87274),h=i(49112),d=i(41402),p=i(43139),g=i(35032),f=i(4884),y=i(84124),v=i(80153),m=(0,y.$r)(),x=function(e,t,i,n){var r,o=e.getData();if((0,f.isArray)(n))r=n;else{var a=n.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=n.xAxis||null!=n.yAxis){var s=void 0,l=void 0;if(null!=n.yAxis||null!=n.xAxis)s=t.getAxis(null!=n.yAxis?"y":"x"),l=(0,f.retrieve)(n.yAxis,n.xAxis);else{var c=u.Yc(n,o,t,e);s=c.valueAxis;var h=(0,d.me)(o,c.valueDataDim);l=u.vz(o,h,a)}var p=+("x"!==s.dim),g=1-p,y=(0,f.clone)(n),v={coord:[]};y.type=null,y.coord=[],y.coord[g]=-1/0,v.coord[g]=1/0;var m=i.get("precision");m>=0&&(0,f.isNumber)(l)&&(l=+l.toFixed(Math.min(m,20))),y.coord[p]=v.coord[p]=l,r=[y,v,{type:a,valueIndex:n.valueIndex,value:l}]}else r=[]}var x=[u.xx(e,r[0]),u.xx(e,r[1]),(0,f.extend)({},r[2])];return x[2].type=x[2].type||null,(0,f.merge)(x[2],x[0]),(0,f.merge)(x[2],x[1]),x};function b(e){return!isNaN(e)&&!isFinite(e)}function _(e,t,i,n){var r=1-e,o=n.dimensions[e];return b(t[r])&&b(i[r])&&t[e]===i[e]&&n.getAxis(o).containData(t[e])}function S(e,t){if("cartesian2d"===e.type){var i=t[0].coord,n=t[1].coord;if(i&&n&&(_(1,i,n,e)||_(0,i,n,e)))return!0}return u.Lq(e,t[0])&&u.Lq(e,t[1])}function A(e,t,i,n,r){var o,a=n.coordinateSystem,s=e.getItemModel(t),u=l.lo(s.get("x"),r.getWidth()),c=l.lo(s.get("y"),r.getHeight());if(isNaN(u)||isNaN(c)){if(n.getMarkerPosition)o=n.getMarkerPosition(e.getValues(e.dimensions,t));else{var h=a.dimensions,d=e.get(h[0],t),g=e.get(h[1],t);o=a.dataToPoint([d,g])}if((0,p.g)(a,"cartesian2d")){var f=a.getAxis("x"),y=a.getAxis("y"),h=a.dimensions;b(e.get(h[0],t))?o[0]=f.toGlobalCoord(f.getExtent()[+!i]):b(e.get(h[1],t))&&(o[1]=y.toGlobalCoord(y.getExtent()[+!i]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];e.setItemLayout(t,o)}var w=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.updateTransform=function(e,t,i){t.eachSeries(function(e){var t=o.A.getMarkerModelFromSeries(e,"markLine");if(t){var n=t.getData(),r=m(t).from,a=m(t).to;r.each(function(t){A(r,t,!0,e,i),A(a,t,!1,e,i)}),n.each(function(e){n.setItemLayout(e,[r.getItemLayout(e),a.getItemLayout(e)])}),this.markerGroupMap.get(e.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,t,i,n){var r,o,a,l,h,d,p,y,b,_=e.coordinateSystem,w=e.id,M=e.getData(),I=this.markerGroupMap,C=I.get(w)||I.set(w,new c.A);this.group.add(C.group);var D=(r=_,o=e,a=t,l=r?(0,f.map)(r&&r.dimensions,function(e){var t=o.getData().getDimensionInfo(o.getData().mapDimension(e))||{};return(0,f.extend)((0,f.extend)({},t),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new s.A(l,a),d=new s.A(l,a),p=new s.A([],a),y=(0,f.map)(a.get("data"),(0,f.curry)(x,o,r,a)),r&&(y=(0,f.filter)(y,(0,f.curry)(S,r))),b=u.fY(!!r,l),h.initData((0,f.map)(y,function(e){return e[0]}),null,b),d.initData((0,f.map)(y,function(e){return e[1]}),null,b),p.initData((0,f.map)(y,function(e){return e[2]})),p.hasItemOption=!0,{from:h,to:d,line:p}),O=D.from,T=D.to,L=D.line;m(t).from=O,m(t).to=T,t.setData(L);var k=t.get("symbol"),P=t.get("symbolSize"),R=t.get("symbolRotate"),V=t.get("symbolOffset");function z(t,i,r){var o=t.getItemModel(i);A(t,i,r,e,n);var a=o.getModel("itemStyle").getItemStyle();null==a.fill&&(a.fill=(0,v.rI)(M,"color")),t.setItemVisual(i,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:(0,f.retrieve2)(o.get("symbolOffset",!0),V[+!r]),symbolRotate:(0,f.retrieve2)(o.get("symbolRotate",!0),R[+!r]),symbolSize:(0,f.retrieve2)(o.get("symbolSize"),P[+!r]),symbol:(0,f.retrieve2)(o.get("symbol",!0),k[+!r]),style:a})}(0,f.isArray)(k)||(k=[k,k]),(0,f.isArray)(P)||(P=[P,P]),(0,f.isArray)(R)||(R=[R,R]),(0,f.isArray)(V)||(V=[V,V]),D.from.each(function(e){z(O,e,!0),z(T,e,!1)}),L.each(function(e){var t=L.getItemModel(e).getModel("lineStyle").getLineStyle();L.setItemLayout(e,[O.getItemLayout(e),T.getItemLayout(e)]),null==t.stroke&&(t.stroke=O.getItemVisual(e,"style").fill),L.setItemVisual(e,{fromSymbolKeepAspect:O.getItemVisual(e,"symbolKeepAspect"),fromSymbolOffset:O.getItemVisual(e,"symbolOffset"),fromSymbolRotate:O.getItemVisual(e,"symbolRotate"),fromSymbolSize:O.getItemVisual(e,"symbolSize"),fromSymbol:O.getItemVisual(e,"symbol"),toSymbolKeepAspect:T.getItemVisual(e,"symbolKeepAspect"),toSymbolOffset:T.getItemVisual(e,"symbolOffset"),toSymbolRotate:T.getItemVisual(e,"symbolRotate"),toSymbolSize:T.getItemVisual(e,"symbolSize"),toSymbol:T.getItemVisual(e,"symbol"),style:t})}),C.updateData(L),D.line.eachItemGraphicEl(function(e){(0,g.z)(e).dataModel=t,e.traverse(function(e){(0,g.z)(e).dataModel=t})}),this.markKeep(C),C.group.silent=t.get("silent")||e.get("silent")},t.type="markLine",t}(h.A);function M(e){e.registerComponentModel(a),e.registerComponentView(w),e.registerPreprocessor(function(e){(0,n.A)(e.series,"markLine")&&(e.markLine=e.markLine||{})})}},48683(e,t,i){i.d(t,{a:()=>v});var n=i(3415),r=i(31831),o=i(8412),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.createMarkerModelFromSeries=function(e,i,n){return new t(e,i,n)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(o.A),s=i(22448),l=i(21916),u=i(15764),c=i(89945),h=i(49112),d=i(4884),p=i(35032),g=i(80153);function f(e,t,i){var n=t.coordinateSystem;e.each(function(r){var o,a=e.getItemModel(r),s=l.lo(a.get("x"),i.getWidth()),u=l.lo(a.get("y"),i.getHeight());if(isNaN(s)||isNaN(u)){if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,r));else if(n){var c=e.get(n.dimensions[0],r),h=e.get(n.dimensions[1],r);o=n.dataToPoint([c,h])}}else o=[s,u];isNaN(s)||(o[0]=s),isNaN(u)||(o[1]=u),e.setItemLayout(r,o)})}var y=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.updateTransform=function(e,t,i){t.eachSeries(function(e){var t=o.A.getMarkerModelFromSeries(e,"markPoint");t&&(f(t.getData(),e,i),this.markerGroupMap.get(e.id).updateLayout())},this)},t.prototype.renderSeries=function(e,t,i,n){var r,o,a,l,h,y,v,m=e.coordinateSystem,x=e.id,b=e.getData(),_=this.markerGroupMap,S=_.get(x)||_.set(x,new s.A),A=(r=m,o=e,a=t,l=r?(0,d.map)(r&&r.dimensions,function(e){var t=o.getData().getDimensionInfo(o.getData().mapDimension(e))||{};return(0,d.extend)((0,d.extend)({},t),{name:e,ordinalMeta:null})}):[{name:"value",type:"float"}],h=new u.A(l,a),y=(0,d.map)(a.get("data"),(0,d.curry)(c.xx,o)),r&&(y=(0,d.filter)(y,(0,d.curry)(c.Lq,r))),v=c.fY(!!r,l),h.initData(y,null,v),h);t.setData(A),f(t.getData(),e,n),A.each(function(e){var i=A.getItemModel(e),n=i.getShallow("symbol"),r=i.getShallow("symbolSize"),o=i.getShallow("symbolRotate"),a=i.getShallow("symbolOffset"),s=i.getShallow("symbolKeepAspect");if((0,d.isFunction)(n)||(0,d.isFunction)(r)||(0,d.isFunction)(o)||(0,d.isFunction)(a)){var l=t.getRawValue(e),u=t.getDataParams(e);(0,d.isFunction)(n)&&(n=n(l,u)),(0,d.isFunction)(r)&&(r=r(l,u)),(0,d.isFunction)(o)&&(o=o(l,u)),(0,d.isFunction)(a)&&(a=a(l,u))}var c=i.getModel("itemStyle").getItemStyle(),h=(0,g.rI)(b,"color");c.fill||(c.fill=h),A.setItemVisual(e,{symbol:n,symbolSize:r,symbolRotate:o,symbolOffset:a,symbolKeepAspect:s,style:c})}),S.updateData(A),this.group.add(S.group),A.eachItemGraphicEl(function(e){e.traverse(function(e){(0,p.z)(e).dataModel=t})}),this.markKeep(S),S.group.silent=t.get("silent")||e.get("silent")},t.type="markPoint",t}(h.A);function v(e){e.registerComponentModel(a),e.registerComponentView(y),e.registerPreprocessor(function(e){(0,n.A)(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}},89945(e,t,i){i.d(t,{Lq:()=>d,PN:()=>p,Yc:()=>h,fY:()=>g,vz:()=>f,xx:()=>c});var n=i(21916),r=i(41402),o=i(4884),a=i(47163);function s(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function l(e,t,i,o,a,s){var l=[],u=(0,r.sJ)(t,o)?t.getCalculationInfo("stackResultDimension"):o,c=f(t,u,e),h=t.indicesOfNearest(u,c)[0];l[a]=t.get(i,h),l[s]=t.get(u,h);var d=t.get(o,h),p=n.XV(t.get(o,h));return(p=Math.min(p,20))>=0&&(l[s]=+l[s].toFixed(p)),[l,d]}var u={min:(0,o.curry)(l,"min"),max:(0,o.curry)(l,"max"),average:(0,o.curry)(l,"average"),median:(0,o.curry)(l,"median")};function c(e,t){if(t){var i,n=e.getData(),r=e.coordinateSystem,a=r&&r.dimensions;if(!(!isNaN(parseFloat((i=t).x))&&!isNaN(parseFloat(i.y)))&&!(0,o.isArray)(t.coord)&&(0,o.isArray)(a)){var s=h(t,n,r,e);if((t=(0,o.clone)(t)).type&&u[t.type]&&s.baseAxis&&s.valueAxis){var l=(0,o.indexOf)(a,s.baseAxis.dim),c=(0,o.indexOf)(a,s.valueAxis.dim),d=u[t.type](n,s.baseDataDim,s.valueDataDim,l,c);t.coord=d[0],t.value=d[1]}else t.coord=[null!=t.xAxis?t.xAxis:t.radiusAxis,null!=t.yAxis?t.yAxis:t.angleAxis]}if(null!=t.coord&&(0,o.isArray)(a))for(var p=t.coord,g=0;g<2;g++)u[p[g]]&&(p[g]=f(n,n.mapDimension(a[g]),p[g]));else t.coord=[];return t}}function h(e,t,i,n){var r,o,a,s={};return null!=e.valueIndex||null!=e.valueDim?(s.valueDataDim=null!=e.valueIndex?t.getDimension(e.valueIndex):e.valueDim,s.valueAxis=i.getAxis((r=n,o=s.valueDataDim,(a=r.getData().getDimensionInfo(o))&&a.coordDim)),s.baseAxis=i.getOtherAxis(s.valueAxis),s.baseDataDim=t.mapDimension(s.baseAxis.dim)):(s.baseAxis=n.getBaseAxis(),s.valueAxis=i.getOtherAxis(s.baseAxis),s.baseDataDim=t.mapDimension(s.baseAxis.dim),s.valueDataDim=t.mapDimension(s.valueAxis.dim)),s}function d(e,t){return!e||!e.containData||!t.coord||!!s(t)||e.containData(t.coord)}function p(e,t,i){return!e||!e.containZone||!t.coord||!i.coord||!!s(t)||!!s(i)||e.containZone(t.coord,i.coord)}function g(e,t){return e?function(e,i,n,r){var o=r<2?e.coord&&e.coord[r]:e.value;return(0,a.Pn)(o,t[r])}:function(e,i,n,r){return(0,a.Pn)(e.value,t[r])}}function f(e,t,i){if("average"===i){var n=0,r=0;return e.each(t,function(e,t){!isNaN(e)&&(n+=e,r++)}),n/r}return"median"===i?e.getMedian(t):e.getDataExtent(t)[+("max"===i)]}},91523(e,t,i){i.d(t,{M_:()=>o,Ms:()=>n,x$:()=>a});var n=function(){},r={};function o(e,t){r[e]=t}function a(e){return r[e]}},40988(e,t,i){i.d(t,{a:()=>q});var n=i(74653),r=i(31831),o=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.type="dataZoom.select",t}(i(44878).A),a=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.type="dataZoom.select",t}(i(59730).A),s=i(97019);function l(e){e.registerComponentModel(o),e.registerComponentView(a),(0,s.A)(e)}var u=i(4884),c=i(91523),h=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.C6)(t,e),t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var t=this.ecModel;u.each(this.option.feature,function(e,i){var n=c.x$(i);n&&(n.getDefaultOption&&(n.defaultOption=n.getDefaultOption(t)),u.merge(e,n.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(i(36805).A),d=i(23960),p=i(59033),g=i(72059),f=i(25744),y=i(31393),v=i(7474),m=i(43583),x=i(3818),b=i(52384),_=i(73394),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(e,t,i,n){var r=this.group;if(r.removeAll(),e.get("show")){var o=+e.get("itemSize"),a="vertical"===e.get("orient"),s=e.get("feature")||{},l=this._features||(this._features={}),h=[];u.each(s,function(e,t){h.push(t)}),new y.A(this._featureNames||[],h).add(m).update(m).remove(u.curry(m,null)).execute(),this._featureNames=h,v.Z(r,e,i),r.add(v.P(r.getBoundingRect(),e)),a||r.eachChild(function(e){var t=e.__title,n=e.ensureState("emphasis"),a=n.textConfig||(n.textConfig={}),s=e.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!u.isFunction(l)&&t){var c=l.style||(l.style={}),h=d.NO(t,b.Ay.makeFont(c)),p=e.x+r.x,g=e.y+r.y+o,f=!1;g+h.height>i.getHeight()&&(a.position="top",f=!0);var y=f?-5-h.height:o+10;p+h.width/2>i.getWidth()?(a.position=["100%",y],c.align="right"):p-h.width/2<0&&(a.position=[0,y],c.align="left")}})}function m(d,y){var v,m,S,A,w,M,I,C,D,O,T,L=h[d],k=h[y],P=s[L],R=new f.A(P,e,e.ecModel);if(n&&null!=n.newTitle&&n.featureName===L&&(P.title=n.newTitle),L&&!k){if(0===L.indexOf("my"))T={onclick:R.option.onclick,featureName:L};else{var V=(0,c.x$)(L);if(!V)return;T=new V}l[L]=T}else if(!(T=l[k]))return;T.uid=(0,x.$Q)("toolbox-feature"),T.model=R,T.ecModel=t,T.api=i;var z=T instanceof c.Ms;if(!L&&k){z&&T.dispose&&T.dispose(t,i);return}if(!R.get("show")||z&&T.unusable){z&&T.remove&&T.remove(t,i);return}v=R,m=T,S=L,M=v.getModel("iconStyle"),I=v.getModel(["emphasis","iconStyle"]),C=m instanceof c.Ms&&m.getIcons?m.getIcons():v.get("icon"),D=v.get("title")||{},u.isString(C)?(A={})[S]=C:A=C,u.isString(D)?(w={})[S]=D:w=D,O=v.iconPaths={},u.each(A,function(n,s){var l=p.createIcon(n,{},{x:-o/2,y:-o/2,width:o,height:o});l.setStyle(M.getItemStyle()),l.ensureState("emphasis").style=I.getItemStyle();var c=new b.Ay({style:{text:w[s],align:I.get("textAlign"),borderRadius:I.get("textBorderRadius"),padding:I.get("textPadding"),fill:null,font:(0,_.c8)({fontStyle:I.get("textFontStyle"),fontFamily:I.get("textFontFamily"),fontSize:I.get("textFontSize"),fontWeight:I.get("textFontWeight")},t)},ignore:!0});l.setTextContent(c),p.setTooltipConfig({el:l,componentModel:e,itemName:s,formatterParamsExtra:{title:w[s]}}),l.__title=w[s],l.on("mouseover",function(){var t=I.getItemStyle(),n=a?null==e.get("right")&&"right"!==e.get("left")?"right":"left":null==e.get("bottom")&&"bottom"!==e.get("top")?"bottom":"top";c.setStyle({fill:I.get("textFill")||t.fill||t.stroke||"#000",backgroundColor:I.get("textBackgroundColor")}),l.setTextConfig({position:I.get("textPosition")||n}),c.ignore=!e.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){"emphasis"!==v.get(["iconStatus",s])&&i.leaveEmphasis(this),c.hide()}),("emphasis"===v.get(["iconStatus",s])?g.HY:g.SD)(l),r.add(l),l.on("click",u.bind(m.onclick,m,t,i,s)),O[s]=l}),R.setIconStatus=function(e,t){var i=this.option,n=this.iconPaths;i.iconStatus=i.iconStatus||{},i.iconStatus[e]=t,n[e]&&("emphasis"===t?g.HY:g.SD)(n[e])},T instanceof c.Ms&&T.render&&T.render(R,t,i,n)}},t.prototype.updateView=function(e,t,i,n){u.each(this._features,function(e){e instanceof c.Ms&&e.updateView&&e.updateView(e.model,t,i,n)})},t.prototype.remove=function(e,t){u.each(this._features,function(i){i instanceof c.Ms&&i.remove&&i.remove(e,t)}),this.group.removeAll()},t.prototype.dispose=function(e,t){u.each(this._features,function(i){i instanceof c.Ms&&i.dispose&&i.dispose(e,t)})},t.type="toolbox",t}(m.A),A=i(35209),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.onclick=function(e,t){var i=this.model,n=i.get("name")||e.get("title.0.text")||"echarts",r="svg"===t.getZr().painter.getType(),o=r?"svg":i.get("type",!0)||"png",a=t.getConnectedDataURL({type:o,backgroundColor:i.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),s=A.A.browser;if((0,u.isFunction)(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var l=document.createElement("a");l.download=n+"."+o,l.target="_blank",l.href=a;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});l.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||r){var h=a.split(","),d=h[0].indexOf("base64")>-1,p=r?decodeURIComponent(h[1]):h[1];d&&(p=window.atob(p));var g=n+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var f=p.length,y=new Uint8Array(f);f--;)y[f]=p.charCodeAt(f);var v=new Blob([y]);window.navigator.msSaveOrOpenBlob(v,g)}else{var m=document.createElement("iframe");document.body.appendChild(m);var x=m.contentWindow,b=x.document;b.open("image/svg+xml","replace"),b.write(p),b.close(),x.focus(),b.execCommand("SaveAs",!0,g),document.body.removeChild(m)}}else{var _=i.get("lang"),S='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(_&&_[0]||"")+'" /></body>',w=window.open();w.document.write(S),w.document.title=n}},t.getDefaultOption=function(e){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},t}(c.Ms),M=i(31950),I=i(84124),C="__ec_magicType_stack__",D=[["line","bar"],["stack"]],O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.getIcons=function(){var e=this.model,t=e.get("icon"),i={};return u.each(e.get("type"),function(e){t[e]&&(i[e]=t[e])}),i},t.getDefaultOption=function(e){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},t.prototype.onclick=function(e,t,i){var n,r=this.model,o=r.get(["seriesIndex",i]);if(T[i]){var a={series:[]};u.each(D,function(e){u.indexOf(e,i)>=0&&u.each(e,function(e){r.setIconStatus(e,"normal")})}),r.setIconStatus(i,"emphasis"),e.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},function(e){var t=e.subType,n=e.id,o=T[i](t,n,e,r);o&&(u.defaults(o,e.option),a.series.push(o));var s=e.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===i||"bar"===i)){var l=s.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",h=e.getReferringComponents(c,I.US).models[0].componentIndex;a[c]=a[c]||[];for(var d=0;d<=h;d++)a[c][h]=a[c][h]||{};a[c][h].boundaryGap="bar"===i}}});var s=i;"stack"===i&&(n=u.merge({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",i])&&(s="tiled")),t.dispatchAction({type:"changeMagicType",currentType:s,newOption:a,newTitle:n,featureName:"magicType"})}},t}(c.Ms),T={line:function(e,t,i,n){if("bar"===e)return u.merge({id:t,type:"line",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(e,t,i,n){if("line"===e)return u.merge({id:t,type:"bar",data:i.get("data"),stack:i.get("stack"),markPoint:i.get("markPoint"),markLine:i.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(e,t,i,n){var r=i.get("stack")===C;if("line"===e||"bar"===e)return n.setIconStatus("stack",r?"normal":"emphasis"),u.merge({id:t,stack:r?"":C},n.get(["option","stack"])||{},!0)}};M.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var L=i(77250),k=Array(60).join("-");function P(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var R=RegExp("[ ]+","g"),V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.onclick=function(e,t){setTimeout(function(){t.dispatchAction({type:"hideTip"})});var i,n,r,o,a,s,l,c=t.getDom(),h=this.model;this._dom&&c.removeChild(this._dom);var d=document.createElement("div");d.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",d.style.backgroundColor=h.get("backgroundColor")||"#fff";var p=document.createElement("h4"),g=h.get("lang")||[];p.innerHTML=g[0]||h.get("title"),p.style.cssText="margin:10px 20px",p.style.color=h.get("textColor");var f=document.createElement("div"),y=document.createElement("textarea");f.style.cssText="overflow:auto";var v=h.get("optionToContent"),m=h.get("contentToOption"),x=(l=(i={},n=[],r=[],e.eachRawSeries(function(e){var t=e.coordinateSystem;if(t&&("cartesian2d"===t.type||"polar"===t.type)){var o=t.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;i[a]||(i[a]={categoryAxis:o,valueAxis:t.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),i[a].series.push(e)}else n.push(e)}else n.push(e)}),{seriesGroupByCategoryAxis:i,other:n,meta:r}),{value:u.filter([(o=l.seriesGroupByCategoryAxis,a=[],u.each(o,function(e,t){var i=e.categoryAxis,n=e.valueAxis.dim,r=[" "].concat(u.map(e.series,function(e){return e.name})),o=[i.model.getCategories()];u.each(e.series,function(e){var t=e.getRawData();o.push(e.getRawData().mapArray(t.mapDimension(n),function(e){return e}))});for(var s=[r.join(" ")],l=0;l<o[0].length;l++){for(var c=[],h=0;h<o.length;h++)c.push(o[h][l]);s.push(c.join(" "))}a.push(s.join("\n"))}),a.join("\n\n"+k+"\n\n")),(s=l.other,u.map(s,function(e){var t=e.getRawData(),i=[e.name],n=[];return t.each(t.dimensions,function(){for(var e=arguments.length,r=arguments[e-1],o=t.getName(r),a=0;a<e-1;a++)n[a]=arguments[a];i.push((o?o+" ":"")+n.join(" "))}),i.join("\n")}).join("\n\n"+k+"\n\n"))],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join("\n\n"+k+"\n\n"),meta:l.meta});if(u.isFunction(v)){var b=v(t.getOption());u.isString(b)?f.innerHTML=b:u.isDom(b)&&f.appendChild(b)}else{y.readOnly=h.get("readOnly");var _=y.style;_.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",_.color=h.get("textColor"),_.borderColor=h.get("textareaBorderColor"),_.backgroundColor=h.get("textareaColor"),y.value=x.value,f.appendChild(y)}var S=x.meta,A=document.createElement("div");A.style.cssText="position:absolute;bottom:5px;left:0;right:0";var w="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",M=document.createElement("div"),I=document.createElement("div");w+=";background-color:"+h.get("buttonColor")+";color:"+h.get("buttonTextColor");var C=this;function D(){c.removeChild(d),C._dom=null}(0,L.q2)(M,"click",D),(0,L.q2)(I,"click",function(){var e,i,n,r;if(null==m&&null!=v||null!=m&&null==v)return void D();try{u.isFunction(m)?e=m(f,t.getOption()):(i=y.value,n=i.split(RegExp("\n*"+k+"\n*","g")),r={series:[]},u.each(n,function(e,t){if(function(e){if(e.slice(0,e.indexOf("\n")).indexOf(" ")>=0)return!0}(e)){var i=function(e){for(var t=e.split(/\n+/g),i=P(t.shift()).split(R),n=[],r=u.map(i,function(e){return{name:e,data:[]}}),o=0;o<t.length;o++){var a=P(t[o]).split(R);n.push(a.shift());for(var s=0;s<a.length;s++)r[s]&&(r[s].data[o]=a[s])}return{series:r,categories:n}}(e),n=S[t],o=n.axisDim+"Axis";n&&(r[o]=r[o]||[],r[o][n.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{var i=function(e){for(var t=e.split(/\n+/g),i=P(t.shift()),n=[],r=0;r<t.length;r++){var o=P(t[r]);if(o){var a=o.split(R),s="",l=void 0,u=!1;isNaN(a[0])?(u=!0,s=a[0],a=a.slice(1),n[r]={name:s,value:[]},l=n[r].value):l=n[r]=[];for(var c=0;c<a.length;c++)l.push(+a[c]);1===l.length&&(u?n[r].value=l[0]:n[r]=l[0])}}return{name:i,data:n}}(e);r.series.push(i)}}),e=r)}catch(e){throw D(),Error("Data view format error "+e)}e&&t.dispatchAction({type:"changeDataView",newOption:e}),D()}),M.innerHTML=g[1],I.innerHTML=g[2],I.style.cssText=M.style.cssText=w,h.get("readOnly")||A.appendChild(I),A.appendChild(M),d.appendChild(p),d.appendChild(f),d.appendChild(A),f.style.height=c.clientHeight-80+"px",c.appendChild(d),this._dom=d},t.prototype.remove=function(e,t){this._dom&&t.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,t){this.remove(e,t)},t.getDefaultOption=function(e){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},t}(c.Ms);M.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var i=[];u.each(e.newOption.series,function(e){var n=t.getSeriesByName(e.name)[0];if(n){var r,o=n.get("data");i.push({name:e.name,data:(r=e.data,u.map(r,function(e,t){var i=o&&o[t];if(!u.isObject(i)||u.isArray(i))return e;u.isObject(e)&&!u.isArray(e)||(e={value:e});var n=null!=i.name&&null==e.name;return e=u.defaults(e,i),n&&delete e.name,e}))})}else i.push(u.extend({type:"scatter"},e))}),t.mergeOption(u.defaults({series:i},e.newOption))});var z=u.each,N=(0,I.$r)();function E(e){var t=N(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var B=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.onclick=function(e,t){N(e).snapshots=null,t.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:e.getLocaleModel().get(["toolbox","restore","title"])}},t}(c.Ms);M.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var G=i(88593),W=i(63785),H=i(91365),F=i(20020),Z=u.each,Y=(0,I.S_)("toolbox-dataZoom_"),X=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.render=function(e,t,i,n){var r,o,a,s,l,c,h,d,p;this._brushController||(this._brushController=new G.A(i.getZr()),this._brushController.on("brush",u.bind(this._onBrush,this)).mount()),r=e,o=t,a=this,s=n,l=i,c=a._isZoomActive,s&&"takeGlobalCursor"===s.type&&(c="dataZoomSelect"===s.key&&s.dataZoomSelectActive),a._isZoomActive=c,r.setIconStatus("zoom",c?"emphasis":"normal"),h=new W.A(K(r),o,{include:["grid"]}).makePanelOpts(l,function(e){return e.xAxisDeclared&&!e.yAxisDeclared?"lineX":!e.xAxisDeclared&&e.yAxisDeclared?"lineY":"rect"}),a._brushController.setPanels(h).enableBrush(!!c&&!!h.length&&{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}),d=e,p=t,d.setIconStatus("back",E(p).length>1?"emphasis":"normal")},t.prototype.onclick=function(e,t,i){U[i].call(this)},t.prototype.remove=function(e,t){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,t){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var t=e.areas;if(e.isEnd&&t.length){var i,n,r,o={},a=this.ecModel;this._brushController.updateCovers([]),new W.A(K(this.model),a,{include:["grid"]}).matchOutputRanges(t,a,function(e,t,i){if("cartesian2d"===i.type){var n=e.brushType;"rect"===n?(s("x",i,t[0]),s("y",i,t[1])):s({lineX:"x",lineY:"y"}[n],i,t)}}),i=a,n=o,r=E(i),z(n,function(e,t){for(var n=r.length-1;n>=0&&!r[n][t];n--);if(n<0){var o=i.queryComponents({mainType:"dataZoom",subType:"select",id:t})[0];if(o){var a=o.getPercentRange();r[0][t]={dataZoomId:t,start:a[0],end:a[1]}}}}),r.push(n),this._dispatchZoomAction(o)}function s(e,t,i){var n,r,s,l=t.getAxis(e),u=l.model,c=(n=e,r=u,a.eachComponent({mainType:"dataZoom",subType:"select"},function(e){e.getAxisModel(n,r.componentIndex)&&(s=e)}),s),h=c.findRepresentativeAxisProxy(u).getMinMaxSpan();(null!=h.minValueSpan||null!=h.maxValueSpan)&&(i=(0,H.A)(0,i.slice(),l.scale.getExtent(),0,h.minValueSpan,h.maxValueSpan)),c&&(o[c.id]={dataZoomId:c.id,startValue:i[0],endValue:i[1]})}},t.prototype._dispatchZoomAction=function(e){var t=[];Z(e,function(e,i){t.push(u.clone(e))}),t.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:t})},t.getDefaultOption=function(e){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},t}(c.Ms),U={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){var e,t,i;this._dispatchZoomAction((t=(e=E(this.ecModel))[e.length-1],e.length>1&&e.pop(),i={},z(t,function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}}),i))}};function K(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return null==t.xAxisIndex&&null==t.xAxisId&&(t.xAxisIndex="all"),null==t.yAxisIndex&&null==t.yAxisId&&(t.yAxisIndex="all"),t}function q(e){e.registerComponentModel(h),e.registerComponentView(S),(0,c.M_)("saveAsImage",w),(0,c.M_)("magicType",O),(0,c.M_)("dataView",V),(0,c.M_)("dataZoom",X),(0,c.M_)("restore",B),(0,n.Y)(l)}(0,F.S)("dataZoom",function(e){var t=e.getComponent("toolbox",0),i=["feature","dataZoom"];if(t&&null!=t.get(i)){var n=t.getModel(i),r=[],o=K(n),a=(0,I._e)(e,o);return Z(a.xAxisModels,function(e){return s(e,"xAxis","xAxisIndex")}),Z(a.yAxisModels,function(e){return s(e,"yAxis","yAxisIndex")}),r}function s(e,t,i){var o=e.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:Y+t+o};a[i]=o,r.push(a)}})},882(e,t,i){i.d(t,{A:()=>v});var n=i(31831),r=i(4884),o=i(74664),a=i(39111),s=i(88526),l=i(84124),u=i(21916),c=i(36805),h=a.A.mapVisual,d=a.A.eachVisual,p=r.isArray,g=r.each,f=u.Y6,y=u.Cb;let v=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.stateList=["inRange","outOfRange"],i.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],i.layoutMode={type:"box",ignoreSize:!0},i.dataBound=[-1/0,1/0],i.targetVisuals={},i.controllerVisuals={},i}return(0,n.C6)(t,e),t.prototype.init=function(e,t,i){this.mergeDefaultAndTheme(e,i)},t.prototype.optionUpdated=function(e,t){var i=this.option;t||s.St(i,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var t=this.stateList;e=r.bind(e,this),this.controllerVisuals=s.u1(this.option.controller,t,e),this.targetVisuals=s.u1(this.option.target,t,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,t=[];return null==e||"all"===e?this.ecModel.eachSeries(function(e,i){t.push(i)}):t=l.qB(e),t},t.prototype.eachTargetSeries=function(e,t){r.each(this.getTargetSeriesIndices(),function(i){var n=this.ecModel.getSeriesByIndex(i);n&&e.call(t,n)},this)},t.prototype.isTargetSeries=function(e){var t=!1;return this.eachTargetSeries(function(i){i===e&&(t=!0)}),t},t.prototype.formatValueText=function(e,t,i){var n,o=this.option,a=o.precision,s=this.dataBound,l=o.formatter;i=i||["<",">"],r.isArray(e)&&(e=e.slice(),n=!0);var u=t?e:n?[c(e[0]),c(e[1])]:c(e);if(r.isString(l))return l.replace("{value}",n?u[0]:u).replace("{value2}",n?u[1]:u);if(r.isFunction(l))return n?l(e[0],e[1]):l(e);if(!n)return u;if(e[0]===s[0])return i[0]+" "+u[1];if(e[1]===s[1])return i[1]+" "+u[0];return u[0]+" - "+u[1];function c(e){return e===s[0]?"min":e===s[1]?"max":(+e).toFixed(Math.min(a,20))}},t.prototype.resetExtent=function(){var e=this.option,t=f([e.min,e.max]);this._dataExtent=t},t.prototype.getDataDimensionIndex=function(e){var t=this.option.dimension;if(null!=t)return e.getDimensionIndex(t);for(var i=e.dimensions,n=i.length-1;n>=0;n--){var r=i[n],o=e.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,t=this.option,i={inRange:t.inRange,outOfRange:t.outOfRange},n=t.target||(t.target={}),s=t.controller||(t.controller={});r.merge(n,i),r.merge(s,i);var l=this.isCategory();function u(i){p(t.color)&&!i.inRange&&(i.inRange={color:t.color.slice().reverse()}),i.inRange=i.inRange||{color:e.get("gradientColor")}}u.call(this,n),u.call(this,s),(function(e,t,i){var n=e[t],r=e[i];n&&!r&&(r=e[i]={},g(n,function(e,t){if(a.A.isValidType(t)){var i=o.A.get(t,"inactive",l);null!=i&&(r[t]=i,"color"!==t||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}}))}).call(this,n,"inRange","outOfRange"),(function(e){var t=(e.inRange||{}).symbol||(e.outOfRange||{}).symbol,i=(e.inRange||{}).symbolSize||(e.outOfRange||{}).symbolSize,n=this.get("inactiveColor"),o=this.getItemSymbol()||"roundRect";g(this.stateList,function(a){var s=this.itemSize,u=e[a];u||(u=e[a]={color:l?n:[n]}),null==u.symbol&&(u.symbol=t&&r.clone(t)||(l?o:[o])),null==u.symbolSize&&(u.symbolSize=i&&r.clone(i)||(l?s[0]:[s[0],s[0]])),u.symbol=h(u.symbol,function(e){return"none"===e?o:e});var c=u.symbolSize;if(null!=c){var p=-1/0;d(c,function(e){e>p&&(p=e)}),u.symbolSize=h(c,function(e){return y(e,[0,p],[0,s[0]],!0)})}},this)}).call(this,s)},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(c.A)},79006(e,t,i){i.d(t,{A:()=>u});var n=i(31831),r=i(4884),o=i(63811),a=i(3306),s=i(10675),l=i(39111);let u=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i.autoPositionValues={left:1,right:1,top:1,bottom:1},i}return(0,n.C6)(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,i,n){(this.visualMapModel=e,!1===e.get("show"))?this.group.removeAll():this.doRender(e,t,i,n)},t.prototype.renderBackground=function(e){var t=this.visualMapModel,i=a.QX(t.get("padding")||0),n=e.getBoundingRect();e.add(new o.A({z2:-1,silent:!0,shape:{x:n.x-i[3],y:n.y-i[0],width:n.width+i[3]+i[1],height:n.height+i[0]+i[2]},style:{fill:t.get("backgroundColor"),stroke:t.get("borderColor"),lineWidth:t.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,t,i){var n=(i=i||{}).forceState,o=this.visualMapModel,a={};function s(e){return a[e]}function u(e,t){a[e]=t}"color"===t&&(a.color=o.get("contentColor"));var c=o.controllerVisuals[n||o.getValueState(e)],h=l.A.prepareVisualTypes(c);return r.each(h,function(n){var r=c[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=c.__alphaForOpacity),l.A.dependsOn(n,t)&&r&&r.applyVisual(e,s,u)}),a[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,i=this.api;s.m$(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},t.prototype.doRender=function(e,t,i,n){},t.type="visualMap",t}(i(43583).A)},89085(e,t,i){i.d(t,{J:()=>a,l:()=>s});var n=i(4884),r=i(10675),o=[["left","right","width"],["top","bottom","height"]];function a(e,t,i){var n=e.option,a=n.align;if(null!=a&&"auto"!==a)return a;for(var s={width:t.getWidth(),height:t.getHeight()},l=+("horizontal"===n.orient),u=o[l],c=[0,null,10],h={},d=0;d<3;d++)h[o[1-l][d]]=c[d],h[u[d]]=2===d?i[0]:n[u[d]];var p=[["x","width",3],["y","height",0]][l],g=(0,r.dV)(h,s,n.padding);return u[(g.margin[p[2]]||0)+g[p[0]]+.5*g[p[1]]<.5*s[p[1]]?0:1]}function s(e,t){return n.each(e||[],function(e){null!=e.dataIndex&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}},46182(e,t,i){i.d(t,{a:()=>a});var n=i(74653),r=i(97310),o=i(12836);function a(e){(0,n.Y)(r.a),(0,n.Y)(o.a)}},12793(e,t,i){i.d(t,{A:()=>f});var n={type:"selectDataRange",event:"dataRangeSelected",update:"update"},r=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(t){t.setSelected(e.selected)})},o=i(4884),a=i(88526),s=i(39111),l=i(80153),u=[{createOnAllSeries:!0,reset:function(e,t){var i=[];return t.eachComponent("visualMap",function(t){var n=e.pipelineContext;!t.isTargetSeries(e)||n&&n.large||i.push(a.dS(t.stateList,t.targetVisuals,o.bind(t.getValueState,t),t.getDataDimensionIndex(e.getData())))}),i}},{createOnAllSeries:!0,reset:function(e,t){var i=e.getData(),n=[];t.eachComponent("visualMap",function(t){if(t.isTargetSeries(e)){var r=t.getVisualMeta(o.bind(c,null,e,t))||{stops:[],outerColors:[]},a=t.getDataDimensionIndex(i);a>=0&&(r.dimension=a,n.push(r))}}),e.getData().setVisual("visualMeta",n)}}];function c(e,t,i,n){for(var r=t.targetVisuals[n],o=s.A.prepareVisualTypes(r),a={color:(0,l.rI)(e.getData(),"color")},u=0,c=o.length;u<c;u++){var h=o[u],d=r["opacity"===h?"__alphaForOpacity":h];d&&d.applyVisual(i,p,g)}return a.color;function p(e){return a[e]}function g(e,t){a[e]=t}}var h=o.each;function d(e){var t=e&&e.visualMap;o.isArray(t)||(t=t?[t]:[]),h(t,function(e){if(e){p(e,"splitList")&&!p(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&o.isArray(t)&&h(t,function(e){o.isObject(e)&&(p(e,"start")&&!p(e,"min")&&(e.min=e.start),p(e,"end")&&!p(e,"max")&&(e.max=e.end))})}})}function p(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var g=!1;function f(e){g||(g=!0,e.registerSubTypeDefaulter("visualMap",function(e){return e.categories||(e.pieces?e.pieces.length>0:e.splitNumber>0)&&!e.calculable?"piecewise":"continuous"}),e.registerAction(n,r),(0,o.each)(u,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(d))}},97310(e,t,i){i.d(t,{a:()=>N});var n=i(31831),r=i(4884),o=i(882),a=i(21916),s=i(3818),l=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.optionUpdated=function(t,i){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(e){e.mappingMethod="linear",e.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(null==t[0]||isNaN(t[0]))&&(t[0]=20),(null==t[1]||isNaN(t[1]))&&(t[1]=140)},t.prototype._resetRange=function(){var e=this.getExtent(),t=this.option.range;!t||t.auto?(e.auto=1,this.option.range=e):r.isArray(t)&&(t[0]>t[1]&&t.reverse(),t[0]=Math.max(t[0],e[0]),t[1]=Math.min(t[1],e[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,function(e){var t=this.option.controller[e].symbolSize;t&&t[0]!==t[1]&&(t[0]=t[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),t=a.Y6((this.get("range")||[]).slice());return t[0]>e[1]&&(t[0]=e[1]),t[1]>e[1]&&(t[1]=e[1]),t[0]<e[0]&&(t[0]=e[0]),t[1]<e[0]&&(t[1]=e[0]),t},t.prototype.getValueState=function(e){var t=this.option.range,i=this.getExtent();return(t[0]<=i[0]||t[0]<=e)&&(t[1]>=i[1]||e<=t[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[];return this.eachTargetSeries(function(i){var n=[],r=i.getData();r.each(this.getDataDimensionIndex(r),function(t,i){e[0]<=t&&t<=e[1]&&n.push(i)},this),t.push({seriesId:i.id,dataIndex:n})},this),t},t.prototype.getVisualMeta=function(e){var t=u(this,"outOfRange",this.getExtent()),i=u(this,"inRange",this.option.range.slice()),n=[];function r(t,i){n.push({value:t,color:e(t,i)})}for(var o=0,a=0,s=i.length,l=t.length;a<l&&(!i.length||t[a]<=i[0]);a++)t[a]<i[o]&&r(t[a],"outOfRange");for(var c=1;o<s;o++,c=0)c&&n.length&&r(i[o],"outOfRange"),r(i[o],"inRange");for(var c=1;a<l;a++)(!i.length||i[i.length-1]<t[a])&&(c&&(n.length&&r(n[n.length-1].value,"outOfRange"),c=0),r(t[a],"outOfRange"));var h=n.length;return{stops:n,outerColors:[h?n[0].color:"transparent",h?n[h-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=(0,s.G_)(o.A.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(o.A);function u(e,t,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,r=i[0],o=[],a=0;a<=200&&r<i[1];a++)o.push(r),r+=n;return o.push(i[1]),o}var c=i(87142),h=i(77250),d=i(79006),p=i(52384),g=i(79620),f=i(63811),y=i(59033),v=i(97451),m=i(91365),x=i(89085),b=i(84124),_=i(23960),S=i(72059),A=i(60253),w=i(64586),M=i(35032),I=i(73394),C=i(26889),D=a.Cb,O=r.each,T=Math.min,L=Math.max,k=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i._shapes={},i._dataInterval=[],i._handleEnds=[],i._hoverLinkDataIndices=[],i}return(0,n.C6)(t,e),t.prototype.init=function(t,i){e.prototype.init.call(this,t,i),this._hoverLinkFromSeriesMouseOver=r.bind(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=r.bind(this._hideIndicator,this)},t.prototype.doRender=function(e,t,i,n){n&&"selectDataRange"===n.type&&n.from===this.uid||this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,t=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(t);var i=e.get("text");this._renderEndsText(t,i,0),this._renderEndsText(t,i,1),this._updateView(!0),this.renderBackground(t),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(t)},t.prototype._renderEndsText=function(e,t,i){if(t){var n=t[1-i];n=null!=n?n+"":"";var r=this.visualMapModel,o=r.get("textGap"),a=r.itemSize,s=this._shapes.mainGroup,l=this._applyTransform([a[0]/2,0===i?-o:a[1]+o],s),u=this._applyTransform(0===i?"bottom":"top",s),c=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new p.Ay({style:(0,I.VB)(h,{x:l[0],y:l[1],verticalAlign:"horizontal"===c?"middle":u,align:"horizontal"===c?u:"center",text:n})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,i=this._shapes,n=t.itemSize,o=this._orient,a=this._useHandle,s=x.J(t,this.api,n),l=i.mainGroup=this._createBarGroup(s),u=new g.A;l.add(u),u.add(i.outOfRange=P()),u.add(i.inRange=P(null,a?V(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0))),u.setClipPath(new f.A({shape:{x:0,y:0,width:n[0],height:n[1],r:3}}));var c=t.textStyleModel.getTextRect("国"),h=L(c.width,c.height);a&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(t,l,0,n,h,o),this._createHandle(t,l,1,n,h,o)),this._createIndicator(t,l,n,h,o),e.add(l)},t.prototype._createHandle=function(e,t,i,n,o,a){var s=r.bind(this._dragHandle,this,i,!1),l=r.bind(this._dragHandle,this,i,!0),u=(0,_.lo)(e.get("handleSize"),n[0]),c=(0,A.v5)(e.get("handleIcon"),-u/2,-u/2,u,u,null,!0),d=V(this._orient);c.attr({cursor:d,draggable:!0,drift:s,ondragend:l,onmousemove:function(e){h.ds(e.event)}}),c.x=n[0]/2,c.useStyle(e.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,S.ix)(c,!0),t.add(c);var g=this.visualMapModel.textStyleModel,f=new p.Ay({cursor:d,draggable:!0,drift:s,onmousemove:function(e){h.ds(e.event)},ondragend:l,style:(0,I.VB)(g,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var y=[u,0],v=this._shapes;v.handleThumbs[i]=c,v.handleLabelPoints[i]=y,v.handleLabels[i]=f},t.prototype._createIndicator=function(e,t,i,n,o){var a=(0,_.lo)(e.get("indicatorSize"),i[0]),s=(0,A.v5)(e.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var l=e.getModel("indicatorStyle").getItemStyle();if(s instanceof w.Ay){var u=s.style;s.useStyle(r.extend({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},l))}else s.useStyle(l);t.add(s);var c=this.visualMapModel.textStyleModel,h=new p.Ay({silent:!0,invisible:!0,style:(0,I.VB)(c,{x:0,y:0,text:""})});this.group.add(h);var d=[("horizontal"===o?n/2:6)+i[0]/2,0],g=this._shapes;g.indicator=s,g.indicatorLabel=h,g.indicatorLabelPoint=d,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,t,i,n){if(this._useHandle){if(this._dragging=!t,!t){var r=this._applyTransform([i,n],this._shapes.mainGroup,!0);this._updateInterval(e,r[1]),this._hideIndicator(),this._updateView()}!this.visualMapModel.get("realtime")===t&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),t?this._hovering||this._clearHoverLinkToSeries():R(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,t=this._dataInterval=e.getSelected(),i=e.getExtent(),n=[0,e.itemSize[1]];this._handleEnds=[D(t[0],i,n,!0),D(t[1],i,n,!0)]},t.prototype._updateInterval=function(e,t){t=t||0;var i=this.visualMapModel,n=this._handleEnds,r=[0,i.itemSize[1]];(0,m.A)(t,n,r,e,0);var o=i.getExtent();this._dataInterval=[D(n[0],r,o,!0),D(n[1],r,o,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,i=t.getExtent(),n=this._shapes,r=[0,t.itemSize[1]],o=e?r:this._handleEnds,a=this._createBarVisual(this._dataInterval,i,o,"inRange"),s=this._createBarVisual(i,i,r,"outOfRange");n.inRange.setStyle({fill:a.barColor}).setShape("points",a.barPoints),n.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(o,a)},t.prototype._createBarVisual=function(e,t,i,n){var r={forceState:n,convertOpacityToAlpha:!0},o=this._makeColorGradient(e,r),a=[this.getControllerVisual(e[0],"symbolSize",r),this.getControllerVisual(e[1],"symbolSize",r)],s=this._createBarPoints(i,a);return{barColor:new c.A(0,0,0,1,o),barPoints:s,handlesColor:[o[0].color,o[o.length-1].color]}},t.prototype._makeColorGradient=function(e,t){var i=[],n=(e[1]-e[0])/100;i.push({color:this.getControllerVisual(e[0],"color",t),offset:0});for(var r=1;r<100;r++){var o=e[0]+n*r;if(o>e[1])break;i.push({color:this.getControllerVisual(o,"color",t),offset:r/100})}return i.push({color:this.getControllerVisual(e[1],"color",t),offset:1}),i},t.prototype._createBarPoints=function(e,t){var i=this.visualMapModel.itemSize;return[[i[0]-t[0],e[0]],[i[0],e[0]],[i[0],e[1]],[i[0]-t[1],e[1]]]},t.prototype._createBarGroup=function(e){var t=this._orient,i=this.visualMapModel.get("inverse");return new g.A("horizontal"===t&&!i?{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2}:"horizontal"===t&&i?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"===t&&!i?{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"left"===e?1:-1})},t.prototype._updateHandle=function(e,t){if(this._useHandle){var i=this._shapes,n=this.visualMapModel,r=i.handleThumbs,o=i.handleLabels,a=n.itemSize,s=n.getExtent();O([0,1],function(l){var u=r[l];u.setStyle("fill",t.handlesColor[l]),u.y=e[l];var c=D(e[l],[0,a[1]],s,!0),h=this.getControllerVisual(c,"symbolSize");u.scaleX=u.scaleY=h/a[0],u.x=a[0]-h/2;var d=y.applyTransform(i.handleLabelPoints[l],y.getTransform(u,this.group));o[l].setStyle({x:d[0],y:d[1],text:n.formatValueText(this._dataInterval[l]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",i.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,t,i,n){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var c=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(e,"symbolSize"),d=D(e,o,s,!0),p=a[0]-h/2,g={x:u.x,y:u.y};u.y=d,u.x=p;var f=y.applyTransform(l.indicatorLabelPoint,y.getTransform(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),x="horizontal"===this._orient;v.setStyle({text:(i||"")+r.formatValueText(t),verticalAlign:x?m:"middle",align:x?"center":m});var b={x:p,y:d,style:{fill:c}},_={style:{x:f[0],y:f[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(b,S),v.animateTo(_,S)}else u.attr(b),v.attr(_);this._firstShowIndicator=!1;var A=this._shapes.handleLabels;if(A)for(var w=0;w<A.length;w++)this.api.enterBlur(A[w])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(t){if(e._hovering=!0,!e._dragging){var i=e.visualMapModel.itemSize,n=e._applyTransform([t.offsetX,t.offsetY],e._shapes.mainGroup,!0,!0);n[1]=T(L(0,n[1]),i[1]),e._doHoverLinkToSeries(n[1],0<=n[0]&&n[0]<=i[0])}}).on("mouseout",function(){e._hovering=!1,e._dragging||e._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,t){var i=this.visualMapModel,n=i.itemSize;if(i.option.hoverLink){var r,o,a,s,l,u=[0,n[1]],c=i.getExtent();e=T(L(u[0],e),u[1]);var h=(r=i,o=c,a=u,s=6,(l=r.get("hoverLinkDataSize"))&&(s=D(l,o,a,!0)/2),s),d=[e-h,e+h],p=D(e,u,c,!0),g=[D(d[0],u,c,!0),D(d[1],u,c,!0)];d[0]<u[0]&&(g[0]=-1/0),d[1]>u[1]&&(g[1]=1/0),t&&(g[0]===-1/0?this._showIndicator(p,g[1],"< ",h):g[1]===1/0?this._showIndicator(p,g[0],"> ",h):this._showIndicator(p,p,"≈ ",h));var f=this._hoverLinkDataIndices,y=[];(t||R(i))&&(y=this._hoverLinkDataIndices=i.findTargetDataIndices(g));var v=b.D6(f,y);this._dispatchHighDown("downplay",x.l(v[0],i)),this._dispatchHighDown("highlight",x.l(v[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){if((0,C.R)(e.target,function(e){var i=(0,M.z)(e);if(null!=i.dataIndex)return t=i,!0},!0),t){var t,i=this.ecModel.getSeriesByIndex(t.seriesIndex),n=this.visualMapModel;if(n.isTargetSeries(i)){var r=i.getData(t.dataType),o=r.getStore().get(n.getDataDimensionIndex(r),t.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var t=this._shapes.handleLabels;if(t)for(var i=0;i<t.length;i++)this.api.leaveBlur(t[i])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",x.l(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,t,i,n){var o=y.getTransform(t,n?null:this.group);return r.isArray(e)?y.applyTransform(e,o,i):y.transformDirection(e,o,i)},t.prototype._dispatchHighDown=function(e,t){t&&t.length&&this.api.dispatchAction({type:e,batch:t})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(d.A);function P(e,t,i,n){return new v.A({shape:{points:e},draggable:!!i,cursor:t,drift:i,onmousemove:function(e){h.ds(e.event)},ondragend:n})}function R(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function V(e){return"vertical"===e?"ns-resize":"ew-resize"}var z=i(12793);function N(e){e.registerComponentModel(l),e.registerComponentView(k),(0,z.A)(e)}},12836(e,t,i){i.d(t,{a:()=>S});var n=i(31831),r=i(4884),o=i(882),a=i(39111),s=i(74664),l=i(21916),u=i(3818),c=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i._pieceList=[],i}return(0,n.C6)(t,e),t.prototype.optionUpdated=function(t,i){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],h[this._mode].call(this,this._pieceList),this._resetSelected(t,i);var o=this.option.categories;this.resetVisual(function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=r.clone(o)):(e.dataExtent=this.getExtent(),e.mappingMethod="piecewise",e.pieceList=r.map(this._pieceList,function(e){return e=r.clone(e),"inRange"!==t&&(e.visual=null),e}))})},t.prototype.completeVisualOption=function(){var t=this.option,i={},n=a.A.listVisualTypes(),o=this.isCategory();function l(e,t,i){return e&&e[t]&&e[t].hasOwnProperty(i)}r.each(t.pieces,function(e){r.each(n,function(t){e.hasOwnProperty(t)&&(i[t]=1)})}),r.each(i,function(e,i){var n=!1;r.each(this.stateList,function(e){n=n||l(t,e,i)||l(t.target,e,i)},this),n||r.each(this.stateList,function(e){(t[e]||(t[e]={}))[i]=s.A.get(i,"inRange"===e?"active":"inactive",o)})},this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var i=this.option,n=this._pieceList,o=(t?i:e).selected||{};if(i.selected=o,r.each(n,function(e,t){var i=this.getSelectedMapKey(e);o.hasOwnProperty(i)||(o[i]=!0)},this),"single"===i.selectedMode){var a=!1;r.each(n,function(e,t){var i=this.getSelectedMapKey(e);o[i]&&(a?o[i]=!1:a=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return"categories"===this._mode?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=r.clone(e)},t.prototype.getValueState=function(e){var t=a.A.findPieceIndex(e,this._pieceList);return null!=t&&this.option.selected[this.getSelectedMapKey(this._pieceList[t])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var t=[],i=this._pieceList;return this.eachTargetSeries(function(n){var r=[],o=n.getData();o.each(this.getDataDimensionIndex(o),function(t,n){a.A.findPieceIndex(t,i)===e&&r.push(n)},this),t.push({seriesId:n.id,dataIndex:r})},this),t},t.prototype.getRepresentValue=function(e){var t;if(this.isCategory())t=e.value;else if(null!=e.value)t=e.value;else{var i=e.interval||[];t=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return t},t.prototype.getVisualMeta=function(e){if(!this.isCategory()){var t=[],i=["",""],n=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(o,function(e){var t=e.interval;t&&(t[0]>s&&l([s,t[0]],"outOfRange"),l(t.slice()),s=t[1])},this),{stops:t,outerColors:i}}function l(r,o){var a=n.getRepresentValue({interval:r});o||(o=n.getValueState(a));var s=e(a,o);r[0]===-1/0?i[0]=s:r[1]===1/0?i[1]=s:t.push({value:r[0],color:s},{value:r[1],color:s})}},t.type="visualMap.piecewise",t.defaultOption=(0,u.G_)(o.A.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(o.A),h={splitNumber:function(e){var t=this.option,i=Math.min(t.precision,20),n=this.getExtent(),o=t.splitNumber;t.splitNumber=o=Math.max(parseInt(o,10),1);for(var a=(n[1]-n[0])/o;+a.toFixed(i)!==a&&i<5;)i++;t.precision=i,a=+a.toFixed(i),t.minOpen&&e.push({interval:[-1/0,n[0]],close:[0,0]});for(var s=0,u=n[0];s<o;u+=a,s++){var c=s===o-1?n[1]:u+a;e.push({interval:[u,c],close:[1,1]})}t.maxOpen&&e.push({interval:[n[1],1/0],close:[0,0]}),(0,l.sL)(e),r.each(e,function(e,t){e.index=t,e.text=this.formatValueText(e.interval)},this)},categories:function(e){var t=this.option;r.each(t.categories,function(t){e.push({text:this.formatValueText(t,!0),value:t})},this),d(t,e)},pieces:function(e){var t=this.option;r.each(t.pieces,function(t,i){r.isObject(t)||(t={value:t});var n={text:"",index:i};if(null!=t.label&&(n.text=t.label),t.hasOwnProperty("value")){var o=n.value=t.value;n.interval=[o,o],n.close=[1,1]}else{for(var s=n.interval=[],l=n.close=[0,0],u=[1,0,1],c=[-1/0,1/0],h=[],d=0;d<2;d++){for(var p=[["gte","gt","min"],["lte","lt","max"]][d],g=0;g<3&&null==s[d];g++)s[d]=t[p[g]],l[d]=u[g],h[d]=2===g;null==s[d]&&(s[d]=c[d])}h[0]&&s[1]===1/0&&(l[0]=0),h[1]&&s[0]===-1/0&&(l[1]=0),s[0]===s[1]&&l[0]&&l[1]&&(n.value=s[0])}n.visual=a.A.retrieveVisuals(t),e.push(n)},this),d(t,e),(0,l.sL)(e),r.each(e,function(e){var t=e.close,i=[["<","≤"][t[1]],[">","≥"][t[0]]];e.text=e.text||this.formatValueText(null!=e.value?e.value:e.interval,!1,i)},this)}};function d(e,t){var i=e.inverse;("vertical"===e.orient?!i:i)&&t.reverse()}var p=i(79006),g=i(79620),f=i(52384),y=i(60253),v=i(10675),m=i(89085),x=i(73394),b=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.C6)(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,i=t.get("textGap"),n=t.textStyleModel,o=n.getFont(),a=n.getTextColor(),s=this._getItemAlign(),l=t.itemSize,u=this._getViewData(),c=u.endsText,h=r.retrieve(t.get("showLabel",!0),!c);c&&this._renderEndsText(e,c[0],l,h,s),r.each(u.viewPieceList,function(n){var u=n.piece,c=new g.A;c.onclick=r.bind(this._onItemClick,this,u),this._enableHoverLink(c,n.indexInModelPieceList);var d=t.getRepresentValue(u);if(this._createItemSymbol(c,d,[0,0,l[0],l[1]]),h){var p=this.visualMapModel.getValueState(d);c.add(new f.Ay({style:{x:"right"===s?-i:l[0]+i,y:l[1]/2,text:u.text,verticalAlign:"middle",align:s,font:o,fill:a,opacity:"outOfRange"===p?.5:1}}))}e.add(c)},this),c&&this._renderEndsText(e,c[1],l,h,s),v.aP(t.get("orient"),e,t.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,t){var i=this;e.on("mouseover",function(){return n("highlight")}).on("mouseout",function(){return n("downplay")});var n=function(e){var n=i.visualMapModel;n.option.hoverLink&&i.api.dispatchAction({type:e,batch:m.l(n.findTargetDataIndices(t),n)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return m.J(e,this.api,e.itemSize);var i=t.align;return i&&"auto"!==i||(i="left"),i},t.prototype._renderEndsText=function(e,t,i,n,r){if(t){var o=new g.A,a=this.visualMapModel.textStyleModel;o.add(new f.Ay({style:(0,x.VB)(a,{x:n?"right"===r?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?r:"center",text:t})})),e.add(o)}},t.prototype._getViewData=function(){var e=this.visualMapModel,t=r.map(e.getPieceList(),function(e,t){return{piece:e,indexInModelPieceList:t}}),i=e.get("text"),n=e.get("orient"),o=e.get("inverse");return("horizontal"===n?o:!o)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},t.prototype._createItemSymbol=function(e,t,i){e.add((0,y.v5)(this.getControllerVisual(t,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(t,"color")))},t.prototype._onItemClick=function(e){var t=this.visualMapModel,i=t.option,n=i.selectedMode;if(n){var o=r.clone(i.selected),a=t.getSelectedMapKey(e);"single"===n||!0===n?(o[a]=!0,r.each(o,function(e,t){o[t]=t===a})):o[a]=!o[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t}(p.A),_=i(12793);function S(e){e.registerComponentModel(c),e.registerComponentView(b),(0,_.A)(e)}},82883(e,t,i){i.d(t,{QK:()=>D,YI:()=>C,eR:()=>L,lB:()=>w,rv:()=>k});var n=i(45400),r=i(30070),o=i(88297),a=i(40843),s=i(50391),l=i(26989),u=i(4884),c=i(37817),h=i(28535),d=i(72059),p=2*Math.PI,g=a.A.CMD,f=["top","right","bottom","left"];function y(e,t,i,n,r,o,a,s){var l=i-e,u=n-t,c=Math.sqrt(l*l+u*u),h=((r-e)*(l/=c)+(o-t)*(u/=c))/c;s&&(h=Math.min(Math.max(h,0),1)),h*=c;var d=a[0]=e+h*l,p=a[1]=t+h*u;return Math.sqrt((d-r)*(d-r)+(p-o)*(p-o))}function v(e,t,i,n,r,o,a){i<0&&(e+=i,i=-i),n<0&&(t+=n,n=-n);var s=e+i,l=t+n,u=a[0]=Math.min(Math.max(r,e),s),c=a[1]=Math.min(Math.max(o,t),l);return Math.sqrt((u-r)*(u-r)+(c-o)*(c-o))}var m=[],x=new n.A,b=new n.A,_=new n.A,S=new n.A,A=new n.A;function w(e,t){if(e){var i=e.getTextGuideLine(),o=e.getTextContent();if(o&&i){var a=e.textGuideLineConfig||{},u=[[0,0],[0,0],[0,0]],h=a.candidates||f,d=o.getBoundingRect().clone();d.applyTransform(o.getComputedTransform());var A=1/0,w=a.anchor,M=e.getComputedTransform(),I=M&&(0,c.invert)([],M),D=t.get("length2")||0;w&&_.copy(w);for(var O=0;O<h.length;O++){!function(e,t,i,n){var r=t.width,o=t.height;switch(e){case"top":i.set(t.x+r/2,t.y-0),n.set(0,-1);break;case"bottom":i.set(t.x+r/2,t.y+o+0),n.set(0,1);break;case"left":i.set(t.x-0,t.y+o/2),n.set(-1,0);break;case"right":i.set(t.x+r+0,t.y+o/2),n.set(1,0)}}(h[O],d,x,S),n.A.scaleAndAdd(b,x,S,D),b.transform(I);var T=e.getBoundingRect(),L=w?w.distance(b):e instanceof r.Ay?function(e,t,i){for(var n,r,o=0,a=0,u=0,c=0,h=1/0,d=t.data,f=e.x,x=e.y,b=0;b<d.length;){var _=d[b++];1===b&&(o=d[b],a=d[b+1],u=o,c=a);var S=h;switch(_){case g.M:u=d[b++],c=d[b++],o=u,a=c;break;case g.L:S=y(o,a,d[b],d[b+1],f,x,m,!0),o=d[b++],a=d[b++];break;case g.C:S=(0,l.Et)(o,a,d[b++],d[b++],d[b++],d[b++],d[b],d[b+1],f,x,m),o=d[b++],a=d[b++];break;case g.Q:S=(0,l.kh)(o,a,d[b++],d[b++],d[b],d[b+1],f,x,m),o=d[b++],a=d[b++];break;case g.A:var A=d[b++],w=d[b++],M=d[b++],I=d[b++],C=d[b++],D=d[b++];b+=1;var O=!!(1-d[b++]);n=Math.cos(C)*M+A,r=Math.sin(C)*I+w,b<=1&&(u=n,c=r);var T=(f-A)*I/M+A;S=function(e,t,i,n,r,o,a,l,u){var c=Math.sqrt((a-=e)*a+(l-=t)*l),h=(a/=c)*i+e,d=(l/=c)*i+t;if(Math.abs(n-r)%p<1e-4)return u[0]=h,u[1]=d,c-i;if(o){var g=n;n=(0,s.n)(r),r=(0,s.n)(g)}else n=(0,s.n)(n),r=(0,s.n)(r);n>r&&(r+=p);var f=Math.atan2(l,a);if(f<0&&(f+=p),f>=n&&f<=r||f+p>=n&&f+p<=r)return u[0]=h,u[1]=d,c-i;var y=i*Math.cos(n)+e,v=i*Math.sin(n)+t,m=i*Math.cos(r)+e,x=i*Math.sin(r)+t,b=(y-a)*(y-a)+(v-l)*(v-l),_=(m-a)*(m-a)+(x-l)*(x-l);return b<_?(u[0]=y,u[1]=v,Math.sqrt(b)):(u[0]=m,u[1]=x,Math.sqrt(_))}(A,w,I,C,C+D,O,T,x,m),o=Math.cos(C+D)*M+A,a=Math.sin(C+D)*I+w;break;case g.R:S=v(u=o=d[b++],c=a=d[b++],d[b++],d[b++],f,x,m);break;case g.Z:S=y(o,a,u,c,f,x,m,!0),o=u,a=c}S<h&&(h=S,i.set(m[0],m[1]))}return h}(b,e.path,_):function(e,t,i){var n=v(t.x,t.y,t.width,t.height,e.x,e.y,m);return i.set(m[0],m[1]),n}(b,T,_);L<A&&(A=L,b.transform(M),_.transform(M),_.toArray(u[0]),b.toArray(u[1]),x.toArray(u[2]))}C(u,t.get("minTurnAngle")),i.setShape({points:u})}}}var M=[],I=new n.A;function C(e,t){if(t<=180&&t>0){t=t/180*Math.PI,x.fromArray(e[0]),b.fromArray(e[1]),_.fromArray(e[2]),n.A.sub(S,x,b),n.A.sub(A,_,b);var i=S.len(),r=A.len();if(!(i<.001)&&!(r<.001)&&(S.scale(1/i),A.scale(1/r),Math.cos(t)<S.dot(A))){var o=y(b.x,b.y,_.x,_.y,x.x,x.y,M,!1);I.fromArray(M),I.scaleAndAdd(A,o/Math.tan(Math.PI-t));var a=_.x!==b.x?(I.x-b.x)/(_.x-b.x):(I.y-b.y)/(_.y-b.y);if(isNaN(a))return;a<0?n.A.copy(I,b):a>1&&n.A.copy(I,_),I.toArray(e[1])}}}function D(e,t,i){if(i<=180&&i>0){i=i/180*Math.PI,x.fromArray(e[0]),b.fromArray(e[1]),_.fromArray(e[2]),n.A.sub(S,b,x),n.A.sub(A,_,b);var r=S.len(),o=A.len();if(!(r<.001)&&!(o<.001)&&(S.scale(1/r),A.scale(1/o),S.dot(t)<Math.cos(i))){var a=y(b.x,b.y,_.x,_.y,x.x,x.y,M,!1);I.fromArray(M);var s=Math.PI/2,l=s+Math.acos(A.dot(t))-i;if(l>=s)n.A.copy(I,_);else{I.scaleAndAdd(A,a/Math.tan(Math.PI/2-l));var u=_.x!==b.x?(I.x-b.x)/(_.x-b.x):(I.y-b.y)/(_.y-b.y);if(isNaN(u))return;u<0?n.A.copy(I,b):u>1&&n.A.copy(I,_)}I.toArray(e[1])}}}function O(e,t,i,n){var r="normal"===i,o=r?e:e.ensureState(i);o.ignore=t;var a=n.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=n.getModel("lineStyle").getLineStyle();r?e.useStyle(s):o.style=s}function T(e,t){var i=t.smooth,n=t.points;if(n)if(e.moveTo(n[0][0],n[0][1]),i>0&&n.length>=3){var r=h.dist(n[0],n[1]),o=h.dist(n[1],n[2]);if(!r||!o){e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]);return}var a=Math.min(r,o)*i,s=h.lerp([],n[1],n[0],a/r),l=h.lerp([],n[1],n[2],a/o),u=h.lerp([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)e.lineTo(n[c][0],n[c][1])}function L(e,t,i){var n=e.getTextGuideLine(),r=e.getTextContent();if(!r){n&&e.removeTextGuideLine();return}for(var a=t.normal,s=a.get("show"),l=r.ignore,c=0;c<d.wV.length;c++){var h=d.wV[c],p=t[h],g="normal"===h;if(p){var f=p.get("show");if((g?l:(0,u.retrieve2)(r.states[h]&&r.states[h].ignore,l))||!(0,u.retrieve2)(f,s)){var y=g?n:n&&n.states[h];y&&(y.ignore=!0),n&&O(n,!0,h,p);continue}!n&&(n=new o.A,e.setTextGuideLine(n),g||!l&&s||O(n,!0,"normal",t.normal),e.stateProxy&&(n.stateProxy=e.stateProxy)),O(n,!1,h,p)}}if(n){(0,u.defaults)(n.style,i),n.style.fill=null;var v=a.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=v||!1,n.buildPath=T}}function k(e,t){t=t||"labelLine";for(var i={normal:e.getModel(t)},n=0;n<d.BV.length;n++){var r=d.BV[n];i[r]=e.getModel([r,t])}return i}},31069(e,t,i){i.d(t,{A:()=>n});function n(e){return{seriesType:e,reset:function(e,t){var i=t.findComponents({mainType:"legend"});if(i&&i.length){var n=e.getData();n.filterSelf(function(e){for(var t=n.getName(e),r=0;r<i.length;r++)if(!i[r].isSelected(t))return!1;return!0})}}}}},88556(e,t,i){i.d(t,{A:()=>a});var n=i(31831),r=i(30070),o=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0};let a=function(e){function t(t){var i=e.call(this,t)||this;return i.type="sausage",i}return(0,n.C6)(t,e),t.prototype.getDefaultShape=function(){return new o},t.prototype.buildPath=function(e,t){var i=t.cx,n=t.cy,r=Math.max(t.r0||0,0),o=Math.max(t.r,0),a=(o-r)*.5,s=r+a,l=t.startAngle,u=t.endAngle,c=t.clockwise,h=2*Math.PI,d=c?u-l<h:l-u<h;d||(l=u-(c?h:-h));var p=Math.cos(l),g=Math.sin(l),f=Math.cos(u),y=Math.sin(u);d?(e.moveTo(p*r+i,g*r+n),e.arc(p*s+i,g*s+n,a,-Math.PI+l,l,!c)):e.moveTo(p*o+i,g*o+n),e.arc(i,n,o,l,u,!c),e.arc(f*s+i,y*s+n,a,u-2*Math.PI,u-Math.PI,!c),0!==r&&e.arc(i,n,r,u,l,c)},t}(r.Ay)},45106(e,t,i){i.d(t,{Fs:()=>s,ex:()=>r,lH:()=>o});var n=i(4884);function r(e,t,i,r){return e&&(e.legacy||!1!==e.legacy&&!i&&!r&&"tspan"!==t&&("text"===t||(0,n.hasOwn)(e,"text")))}function o(e,t,i){var r,o,s;if("text"===t)s=e;else{s={},(0,n.hasOwn)(e,"text")&&(s.text=e.text),(0,n.hasOwn)(e,"rich")&&(s.rich=e.rich),(0,n.hasOwn)(e,"textFill")&&(s.fill=e.textFill),(0,n.hasOwn)(e,"textStroke")&&(s.stroke=e.textStroke),(0,n.hasOwn)(e,"fontFamily")&&(s.fontFamily=e.fontFamily),(0,n.hasOwn)(e,"fontSize")&&(s.fontSize=e.fontSize),(0,n.hasOwn)(e,"fontStyle")&&(s.fontStyle=e.fontStyle),(0,n.hasOwn)(e,"fontWeight")&&(s.fontWeight=e.fontWeight),o={type:"text",style:s,silent:!0},r={};var l=(0,n.hasOwn)(e,"textPosition");i?r.position=l?e.textPosition:"inside":l&&(r.position=e.textPosition),(0,n.hasOwn)(e,"textPosition")&&(r.position=e.textPosition),(0,n.hasOwn)(e,"textOffset")&&(r.offset=e.textOffset),(0,n.hasOwn)(e,"textRotation")&&(r.rotation=e.textRotation),(0,n.hasOwn)(e,"textDistance")&&(r.distance=e.textDistance)}return a(s,e),(0,n.each)(s.rich,function(e){a(e,e)}),{textConfig:r,textContent:o}}function a(e,t){t&&(t.font=t.textFont||t.font,(0,n.hasOwn)(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),(0,n.hasOwn)(t,"textAlign")&&(e.align=t.textAlign),(0,n.hasOwn)(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),(0,n.hasOwn)(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),(0,n.hasOwn)(t,"textWidth")&&(e.width=t.textWidth),(0,n.hasOwn)(t,"textHeight")&&(e.height=t.textHeight),(0,n.hasOwn)(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),(0,n.hasOwn)(t,"textPadding")&&(e.padding=t.textPadding),(0,n.hasOwn)(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),(0,n.hasOwn)(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),(0,n.hasOwn)(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),(0,n.hasOwn)(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),(0,n.hasOwn)(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),(0,n.hasOwn)(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),(0,n.hasOwn)(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function s(e,t,i){e.textPosition=e.textPosition||i.position||"inside",null!=i.offset&&(e.textOffset=i.offset),null!=i.rotation&&(e.textRotation=i.rotation),null!=i.distance&&(e.textDistance=i.distance);var r=e.textPosition.indexOf("inside")>=0,o=e.fill||"#000";l(e,t);var a=null==e.textFill;return r?a&&(e.textFill=i.insideFill||"#fff",!e.textStroke&&i.insideStroke&&(e.textStroke=i.insideStroke),e.textStroke||(e.textStroke=o),null==e.textStrokeWidth&&(e.textStrokeWidth=2)):(a&&(e.textFill=e.fill||i.outsideFill||"#000"),!e.textStroke&&i.outsideStroke&&(e.textStroke=i.outsideStroke)),e.text=t.text,e.rich=t.rich,(0,n.each)(t.rich,function(e){l(e,e)}),e}function l(e,t){t&&((0,n.hasOwn)(t,"fill")&&(e.textFill=t.fill),(0,n.hasOwn)(t,"stroke")&&(e.textStroke=t.fill),(0,n.hasOwn)(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),(0,n.hasOwn)(t,"font")&&(e.font=t.font),(0,n.hasOwn)(t,"fontStyle")&&(e.fontStyle=t.fontStyle),(0,n.hasOwn)(t,"fontWeight")&&(e.fontWeight=t.fontWeight),(0,n.hasOwn)(t,"fontSize")&&(e.fontSize=t.fontSize),(0,n.hasOwn)(t,"fontFamily")&&(e.fontFamily=t.fontFamily),(0,n.hasOwn)(t,"align")&&(e.textAlign=t.align),(0,n.hasOwn)(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),(0,n.hasOwn)(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),(0,n.hasOwn)(t,"width")&&(e.textWidth=t.width),(0,n.hasOwn)(t,"height")&&(e.textHeight=t.height),(0,n.hasOwn)(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),(0,n.hasOwn)(t,"padding")&&(e.textPadding=t.padding),(0,n.hasOwn)(t,"borderColor")&&(e.textBorderColor=t.borderColor),(0,n.hasOwn)(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),(0,n.hasOwn)(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),(0,n.hasOwn)(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),(0,n.hasOwn)(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),(0,n.hasOwn)(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),(0,n.hasOwn)(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),(0,n.hasOwn)(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),(0,n.hasOwn)(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),(0,n.hasOwn)(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),(0,n.hasOwn)(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}},96457(e,t,i){i.d(t,{A:()=>n});let n=function(){function e(e,t){this._getDataWithEncodedVisual=e,this._getRawData=t}return e.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},e.prototype.containName=function(e){return this._getRawData().indexOfName(e)>=0},e.prototype.indexOfName=function(e){return this._getDataWithEncodedVisual().indexOfName(e)},e.prototype.getItemVisual=function(e,t){return this._getDataWithEncodedVisual().getItemVisual(e,t)},e}()},39111(e,t,i){i.d(t,{A:()=>x});var n=i(4884),r=i(34196),o=i(21916),a=n.each,s=n.isObject,l=function(){function e(t){var i,r,o=t.mappingMethod,s=t.type,l=this.option=n.clone(t);this.type=s,this.mappingMethod=o,this._normalizeData=m[o];var c=e.visualHandlers[s];this.applyVisual=c.applyVisual,this.getColorMapper=c.getColorMapper,this._normalizedToVisual=c._normalizedToVisual[o],"piecewise"===o?(u(l),r=(i=l).pieceList,i.hasSpecialVisual=!1,n.each(r,function(e,t){e.originIndex=t,null!=e.visual&&(i.hasSpecialVisual=!0)})):"category"===o?l.categories?function(e){var t=e.categories,i=e.categoryMap={},r=e.visual;if(a(t,function(e,t){i[e]=t}),!n.isArray(r)){var o=[];n.isObject(r)?a(r,function(e,t){var n=i[t];o[null!=n?n:-1]=e}):o[-1]=r,r=v(e,o)}for(var s=t.length-1;s>=0;s--)null==r[s]&&(delete i[t[s]],t.pop())}(l):u(l,!0):(n.assert("linear"!==o||l.dataExtent),u(l))}return e.prototype.mapValueToVisual=function(e){var t=this._normalizeData(e);return this._normalizedToVisual(t,e)},e.prototype.getNormalizer=function(){return n.bind(this._normalizeData,this)},e.listVisualTypes=function(){return n.keys(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(e,t,i){n.isObject(e)?n.each(e,t,i):t.call(i,e)},e.mapVisual=function(t,i,r){var o,a=n.isArray(t)?[]:n.isObject(t)?{}:(o=!0,null);return e.eachVisual(t,function(e,t){var n=i.call(r,e,t);o?a=n:a[t]=n}),a},e.retrieveVisuals=function(t){var i,n={};return t&&a(e.visualHandlers,function(e,r){t.hasOwnProperty(r)&&(n[r]=t[r],i=!0)}),i?n:null},e.prepareVisualTypes=function(e){if(n.isArray(e))e=e.slice();else{if(!s(e))return[];var t=[];a(e,function(e,i){t.push(i)}),e=t}return e.sort(function(e,t){return"color"===t&&"color"!==e&&0===e.indexOf("color")?1:-1}),e},e.dependsOn=function(e,t){return"color"===t?!!(e&&0===e.indexOf(t)):e===t},e.findPieceIndex=function(e,t,i){for(var r,o=1/0,a=0,s=t.length;a<s;a++){var l=t[a].value;if(null!=l){if(l===e||n.isString(l)&&l===e+"")return a;i&&w(l,a)}}for(var a=0,s=t.length;a<s;a++){var u,c,h,d,p,g,f,y,v,m,x,b,_=t[a],S=_.interval,A=_.close;if(S){if(S[0]===-1/0){if(u=A[1],c=e,h=S[1],u?c<=h:c<h)return a}else if(S[1]===1/0){if(d=A[0],p=S[0],g=e,d?p<=g:p<g)return a}else{if(f=A[0],y=S[0],v=e,(f?y<=v:y<v)&&(m=A[1],x=e,b=S[1],m?x<=b:x<b))return a}i&&w(S[0],a),i&&w(S[1],a)}}if(i)return e===1/0?t.length-1:e===-1/0?0:r;function w(t,i){var n=Math.abs(t-e);n<o&&(o=n,r=i)}},e.visualHandlers={color:{applyVisual:d("color"),getColorMapper:function(){var e=this.option;return n.bind("category"===e.mappingMethod?function(e,t){return t||(e=this._normalizeData(e)),p.call(this,e)}:function(t,i,n){var o=!!n;return i||(t=this._normalizeData(t)),n=r.fastLerp(t,e.parsedVisual,n),o?n:r.stringify(n,"rgba")},this)},_normalizedToVisual:{linear:function(e){return r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")},category:p,piecewise:function(e,t){var i=y.call(this,t);return null==i&&(i=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),i},fixed:g}},colorHue:c(function(e,t){return r.modifyHSL(e,t)}),colorSaturation:c(function(e,t){return r.modifyHSL(e,null,t)}),colorLightness:c(function(e,t){return r.modifyHSL(e,null,null,t)}),colorAlpha:c(function(e,t){return r.modifyAlpha(e,t)}),decal:{applyVisual:d("decal"),_normalizedToVisual:{linear:null,category:p,piecewise:null,fixed:null}},opacity:{applyVisual:d("opacity"),_normalizedToVisual:f([0,1])},liftZ:{applyVisual:d("liftZ"),_normalizedToVisual:{linear:g,category:g,piecewise:g,fixed:g}},symbol:{applyVisual:function(e,t,i){i("symbol",this.mapValueToVisual(e))},_normalizedToVisual:{linear:h,category:p,piecewise:function(e,t){var i=y.call(this,t);return null==i&&(i=h.call(this,e)),i},fixed:g}},symbolSize:{applyVisual:d("symbolSize"),_normalizedToVisual:f([0,1])}},e}();function u(e,t){var i=e.visual,r=[];n.isObject(i)?a(i,function(e){r.push(e)}):null!=i&&r.push(i),t||1!==r.length||({color:1,symbol:1}).hasOwnProperty(e.type)||(r[1]=r[0]),v(e,r)}function c(e){return{applyVisual:function(t,i,n){var r=this.mapValueToVisual(t);n("color",e(i("color"),r))},_normalizedToVisual:f([0,1])}}function h(e){var t=this.option.visual;return t[Math.round((0,o.Cb)(e,[0,1],[0,t.length-1],!0))]||{}}function d(e){return function(t,i,n){n(e,this.mapValueToVisual(t))}}function p(e){var t=this.option.visual;return t[this.option.loop&&-1!==e?e%t.length:e]}function g(){return this.option.visual[0]}function f(e){return{linear:function(t){return(0,o.Cb)(t,e,this.option.visual,!0)},category:p,piecewise:function(t,i){var n=y.call(this,i);return null==n&&(n=(0,o.Cb)(t,e,this.option.visual,!0)),n},fixed:g}}function y(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=l.findPieceIndex(e,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function v(e,t){return e.visual=t,"color"===e.type&&(e.parsedVisual=n.map(t,function(e){return r.parse(e)||[0,0,0,1]})),t}var m={linear:function(e){return(0,o.Cb)(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,i=l.findPieceIndex(e,t,!0);if(null!=i)return(0,o.Cb)(i,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return null==t?-1:t},fixed:n.noop};let x=l},74664(e,t,i){i.d(t,{A:()=>o});var n=i(4884),r={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};let o={get:function(e,t,i){var o=n.clone((r[e]||{})[t]);return i&&n.isArray(o)?o[o.length-1]:o}}},88526(e,t,i){i.d(t,{R3:()=>c,St:()=>u,dS:()=>h,u1:()=>l});var n=i(4884),r=i(39111),o=i(80153),a=n.each;function s(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function l(e,t,i){var o={};return a(t,function(t){var s,l=o[t]=((s=function(){}).prototype.__hidden=s.prototype,new s);a(e[t],function(e,o){if(r.A.isValidType(o)){var a={type:o,visual:e};i&&i(a,t),l[o]=new r.A(a),"opacity"===o&&((a=n.clone(a)).type="colorAlpha",l.__hidden.__alphaForOpacity=new r.A(a))}})}),o}function u(e,t,i){var r;n.each(i,function(e){t.hasOwnProperty(e)&&s(t[e])&&(r=!0)}),r&&n.each(i,function(i){t.hasOwnProperty(i)&&s(t[i])?e[i]=n.clone(t[i]):delete e[i]})}function c(e,t,i,a,s,l){var u,c={};function h(e){return(0,o.Ez)(i,u,e)}function d(e,t){(0,o.oZ)(i,u,e,t)}function p(e,n){u=null==l?e:n;var r=i.getRawDataItem(u);if(!r||!1!==r.visualMap)for(var o=a.call(s,e),p=t[o],g=c[o],f=0,y=g.length;f<y;f++){var v=g[f];p[v]&&p[v].applyVisual(e,h,d)}}n.each(e,function(e){var i=r.A.prepareVisualTypes(t[e]);c[e]=i}),null==l?i.each(p):i.each([l],p)}function h(e,t,i,a){var s={};return n.each(e,function(e){var i=r.A.prepareVisualTypes(t[e]);s[e]=i}),{progress:function(e,n){function r(e){return(0,o.Ez)(n,c,e)}function l(e,t){(0,o.oZ)(n,c,e,t)}null!=a&&(u=n.getDimensionIndex(a));for(var u,c,h=n.getStore();null!=(c=e.next());){var d=n.getRawDataItem(c);if(!d||!1!==d.visualMap)for(var p=null!=a?h.get(u,c):c,g=i(p),f=t[g],y=s[g],v=0,m=y.length;v<m;v++){var x=y[v];f[x]&&f[x].applyVisual(p,r,l)}}}}}}}]);
|