@perses-dev/timeseries-chart-plugin 0.9.1 → 0.10.1

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.
Files changed (108) hide show
  1. package/__mf/js/TimeSeriesChart.2f8b193b.js +6 -0
  2. package/__mf/js/async/109.604f6c41.js +73 -0
  3. package/__mf/js/async/133.c48c8cc8.js +110 -0
  4. package/__mf/js/async/{879.24def15a.js.LICENSE.txt → 133.c48c8cc8.js.LICENSE.txt} +28 -0
  5. package/__mf/js/async/173.58a1dc61.js +2 -0
  6. package/__mf/js/async/214.37696543.js +1 -0
  7. package/__mf/js/async/224.2d3ce51f.js +1 -0
  8. package/__mf/js/async/238.767e5398.js +1 -0
  9. package/__mf/js/async/292.9efc6a73.js +1 -0
  10. package/__mf/js/async/409.97dde548.js +1 -0
  11. package/__mf/js/async/476.23a59a72.js +1 -0
  12. package/__mf/js/async/488.031fc875.js +1 -0
  13. package/__mf/js/async/53.8edfe937.js +2 -0
  14. package/__mf/js/async/547.bb4f1e58.js +7 -0
  15. package/__mf/js/async/580.5f4b0dbd.js +38 -0
  16. package/__mf/js/async/613.20f15bb7.js +1 -0
  17. package/__mf/js/async/62.f24fce0a.js +1 -0
  18. package/__mf/js/async/651.e0c9e225.js +1 -0
  19. package/__mf/js/async/686.0cd9a75c.js +1 -0
  20. package/__mf/js/async/694.ebf24a00.js +1 -0
  21. package/__mf/js/async/738.c37f7bca.js +1 -0
  22. package/__mf/js/async/740.f0e8d499.js +1 -0
  23. package/__mf/js/async/75.26ec5bee.js +1 -0
  24. package/__mf/js/async/770.e129dd07.js +1 -0
  25. package/__mf/js/async/797.72ff552e.js +2 -0
  26. package/__mf/js/async/863.f147d2ba.js +2 -0
  27. package/__mf/js/async/960.cd399075.js +2 -0
  28. package/__mf/js/async/964.719c530c.js +2 -0
  29. package/__mf/js/async/981.e360e7df.js +2 -0
  30. package/__mf/js/async/__federation_expose_TimeSeriesChart.f20a0aca.js +3 -0
  31. package/__mf/js/async/lib-router.25a1f509.js +2 -0
  32. package/__mf/js/main.42f3cc3e.js +6 -0
  33. package/lib/CSVExportUtils.d.ts +39 -0
  34. package/lib/CSVExportUtils.d.ts.map +1 -0
  35. package/lib/CSVExportUtils.js +212 -0
  36. package/lib/CSVExportUtils.js.map +1 -0
  37. package/lib/TimeSeriesChart.d.ts +0 -3
  38. package/lib/TimeSeriesChart.d.ts.map +1 -1
  39. package/lib/TimeSeriesChart.js +9 -4
  40. package/lib/TimeSeriesChart.js.map +1 -1
  41. package/lib/TimeSeriesChartOptionsEditorSettings.js +1 -0
  42. package/lib/TimeSeriesChartOptionsEditorSettings.js.map +1 -1
  43. package/lib/TimeSeriesChartPanel.d.ts.map +1 -1
  44. package/lib/TimeSeriesChartPanel.js.map +1 -1
  45. package/lib/TimeSeriesExportAction.d.ts +4 -0
  46. package/lib/TimeSeriesExportAction.d.ts.map +1 -0
  47. package/lib/TimeSeriesExportAction.js +69 -0
  48. package/lib/TimeSeriesExportAction.js.map +1 -0
  49. package/lib/cjs/CSVExportUtils.js +246 -0
  50. package/lib/cjs/TimeSeriesChart.js +8 -1
  51. package/lib/cjs/TimeSeriesChartOptionsEditorSettings.js +1 -0
  52. package/lib/cjs/TimeSeriesExportAction.js +123 -0
  53. package/lib/cjs/index.js +1 -0
  54. package/lib/cjs/utils/data-transform.js +0 -49
  55. package/lib/index.d.ts +1 -0
  56. package/lib/index.d.ts.map +1 -1
  57. package/lib/index.js +1 -0
  58. package/lib/index.js.map +1 -1
  59. package/lib/utils/data-transform.d.ts +1 -5
  60. package/lib/utils/data-transform.d.ts.map +1 -1
  61. package/lib/utils/data-transform.js +1 -49
  62. package/lib/utils/data-transform.js.map +1 -1
  63. package/mf-manifest.json +41 -90
  64. package/mf-stats.json +41 -90
  65. package/package.json +12 -4
  66. package/__mf/js/983.9bbeba19.js +0 -5
  67. package/__mf/js/TimeSeriesChart.63488d0a.js +0 -5
  68. package/__mf/js/async/171.598de6a9.js +0 -7
  69. package/__mf/js/async/173.f6f7e45b.js +0 -2
  70. package/__mf/js/async/214.2d4431c6.js +0 -1
  71. package/__mf/js/async/223.def4d0a9.js +0 -1
  72. package/__mf/js/async/224.ce414ffb.js +0 -1
  73. package/__mf/js/async/238.625b8a48.js +0 -1
  74. package/__mf/js/async/281.a2a87c37.js +0 -2
  75. package/__mf/js/async/292.311e6eb0.js +0 -1
  76. package/__mf/js/async/359.18a264e7.js +0 -2
  77. package/__mf/js/async/409.2808c63e.js +0 -1
  78. package/__mf/js/async/476.45fca8d3.js +0 -1
  79. package/__mf/js/async/488.0d0b1a91.js +0 -1
  80. package/__mf/js/async/620.d6f96402.js +0 -2
  81. package/__mf/js/async/651.80087530.js +0 -1
  82. package/__mf/js/async/656.d43503a5.js +0 -1
  83. package/__mf/js/async/694.27c70ab1.js +0 -1
  84. package/__mf/js/async/738.0a12bb44.js +0 -1
  85. package/__mf/js/async/740.67107c3c.js +0 -1
  86. package/__mf/js/async/75.5952779d.js +0 -1
  87. package/__mf/js/async/755.f76e3538.js +0 -38
  88. package/__mf/js/async/770.78a741ab.js +0 -1
  89. package/__mf/js/async/780.3fa36115.js +0 -110
  90. package/__mf/js/async/780.3fa36115.js.LICENSE.txt +0 -27
  91. package/__mf/js/async/845.6d99c354.js +0 -73
  92. package/__mf/js/async/879.24def15a.js +0 -2
  93. package/__mf/js/async/960.3047096d.js +0 -2
  94. package/__mf/js/async/964.6dfbf211.js +0 -2
  95. package/__mf/js/async/981.77f901c0.js +0 -2
  96. package/__mf/js/async/__federation_expose_TimeSeriesChart.cb3d3f05.js +0 -1
  97. package/__mf/js/async/lib-router.098fc614.js +0 -2
  98. package/__mf/js/main.cca17449.js +0 -1
  99. /package/__mf/js/async/{845.6d99c354.js.LICENSE.txt → 109.604f6c41.js.LICENSE.txt} +0 -0
  100. /package/__mf/js/async/{173.f6f7e45b.js.LICENSE.txt → 173.58a1dc61.js.LICENSE.txt} +0 -0
  101. /package/__mf/js/async/{359.18a264e7.js.LICENSE.txt → 53.8edfe937.js.LICENSE.txt} +0 -0
  102. /package/__mf/js/async/{171.598de6a9.js.LICENSE.txt → 547.bb4f1e58.js.LICENSE.txt} +0 -0
  103. /package/__mf/js/async/{281.a2a87c37.js.LICENSE.txt → 797.72ff552e.js.LICENSE.txt} +0 -0
  104. /package/__mf/js/async/{620.d6f96402.js.LICENSE.txt → 863.f147d2ba.js.LICENSE.txt} +0 -0
  105. /package/__mf/js/async/{960.3047096d.js.LICENSE.txt → 960.cd399075.js.LICENSE.txt} +0 -0
  106. /package/__mf/js/async/{964.6dfbf211.js.LICENSE.txt → 964.719c530c.js.LICENSE.txt} +0 -0
  107. /package/__mf/js/async/{981.77f901c0.js.LICENSE.txt → 981.e360e7df.js.LICENSE.txt} +0 -0
  108. /package/__mf/js/async/{lib-router.098fc614.js.LICENSE.txt → lib-router.25a1f509.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_TimeSeriesChart=self.chunk_TimeSeriesChart||[]).push([["476"],{40717:function(e,t,i){i.d(t,{r:()=>s,t:()=>function e(t,i,s){if(s.isAnimationEnabled()&&i){if((0,n.isArray)(i))return void(0,n.each)(i,function(i){e(t,i,s)});var u=i.keyframes,h=i.duration;if(s&&null==h){var c=(0,a.ke)("enter",s,0);h=c&&c.duration}if(u&&h){var d=o(t);(0,n.each)(r.O0,function(e){var r;(!e||t[e])&&(u.sort(function(e,t){return e.percent-t.percent}),(0,n.each)(u,function(a){var o=t.animators,s=e?a[e]:a;if(s){var u=(0,n.keys)(s);if(e||(u=(0,n.filter)(u,function(e){return 0>(0,n.indexOf)(l,e)})),u.length){r||((r=t.animate(e,i.loop,!0)).scope="keyframe");for(var c=0;c<o.length;c++)o[c]!==r&&o[c].targetName===r.targetName&&o[c].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(h*a.percent,s,u,a.easing)}}}),r&&r.delay(i.delay||0).duration(h).start(i.easing))})}}}});var n=i(67975),r=i(89655),a=i(99858),o=(0,i(86571).Yf)(),l=["percent","easing","shape","style","extra"];function s(e){e.stopAnimation("keyframe"),e.attr(o(e))}},89655:function(e,t,i){i.d(t,{O0:()=>d,O3:()=>y,Ob:()=>f,WK:()=>m,_9:()=>v});var n=i(86571),r=i(67975),a=i(17993),o=i(2097),l=i(99858),s=i(7185),u=i(44066),h={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},c=(0,r.keys)(h);(0,r.reduce)(u.dN,function(e,t){return e[t]=1,e},{}),u.dN.join(", ");var d=["","style","shape","extra"],p=(0,n.Yf)();function g(e,t,i,n,a){var o=e+"Animation",s=(0,l.ke)(e,n,a)||{},u=p(t).userDuring;return s.duration>0&&(s.during=u?(0,r.bind)(w,{el:t,userDuring:u}):null,s.setToFinal=!0,s.scope=e),(0,r.extend)(s,i[o]),s}function f(e,t,i,a){var l,f,y=(a=a||{}).dataIndex,x=a.isInit,S=a.clearStyle,w=i.isAnimationEnabled(),_=p(e),I=t.style;_.userDuring=t.during;var C={},O={};if(function(e,t,i){for(var n=0;n<c.length;n++){var r=c[n],a=h[r],o=t[r];o&&(i[a[0]]=o[0],i[a[1]]=o[1])}for(var n=0;n<u.dN.length;n++){var l=u.dN[n];null!=t[l]&&(i[l]=t[l])}}(0,t,O),M("shape",t,O),M("extra",t,O),!x&&w&&(function(e,t,i){for(var r=t.transition,a=m(r)?u.dN:(0,n.kF)(r||[]),o=0;o<a.length;o++){var l=a[o];if("style"!==l&&"shape"!==l&&"extra"!==l){var s=e[l];i[l]=s}}}(e,t,C),b("shape",e,t,C),b("extra",e,t,C),function(e,t,i,a){if(i){var o,l=e.style;if(l){var s=i.transition,u=t.transition;if(s&&!m(s)){var h=(0,n.kF)(s);o||(o=a.style={});for(var c=0;c<h.length;c++){var d=h[c],p=l[d];o[d]=p}}else if(e.getAnimationStyleProps&&(m(u)||m(s)||(0,r.indexOf)(u,"style")>=0)){var g=e.getAnimationStyleProps(),f=g?g.style:null;if(f){o||(o=a.style={});for(var v=(0,r.keys)(i),c=0;c<v.length;c++){var d=v[c];if(f[d]){var p=l[d];o[d]=p}}}}}}}(e,t,I,C)),O.style=I,function(e,t,i){var n=t.style;if(!e.isGroup&&n){if(i){e.useStyle({});for(var r=e.animators,a=0;a<r.length;a++){var o=r[a];"style"===o.targetName&&o.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}(e,O,S),l=e,f=t,(0,r.hasOwn)(f,"silent")&&(l.silent=f.silent),(0,r.hasOwn)(f,"ignore")&&(l.ignore=f.ignore),l instanceof o.ZP&&(0,r.hasOwn)(f,"invisible")&&(l.invisible=f.invisible),l instanceof s.ZP&&(0,r.hasOwn)(f,"autoBatch")&&(l.autoBatch=f.autoBatch),w)if(x){var T={};(0,r.each)(d,function(e){var i=e?t[e]:t;i&&i.enterFrom&&(e&&(T[e]=T[e]||{}),(0,r.extend)(e?T[e]:T,i.enterFrom))});var A=g("enter",e,t,i,y);A.duration>0&&e.animateFrom(T,A)}else{var L=e,D=t,P=y||0,Z=i,k=C;if(k){var V=g("update",L,D,Z,P);V.duration>0&&L.animateFrom(k,V)}}v(e,t),I?e.dirty():e.markRedraw()}function v(e,t){for(var i=p(e).leaveToProps,n=0;n<d.length;n++){var a=d[n],o=a?t[a]:t;o&&o.leaveTo&&(i||(i=p(e).leaveToProps={}),a&&(i[a]=i[a]||{}),(0,r.extend)(a?i[a]:i,o.leaveTo))}}function y(e,t,i,n){if(e){var r=e.parent,a=p(e).leaveToProps;if(a){var o=g("update",e,t,i,0);o.done=function(){r.remove(e),n&&n()},e.animateTo(a,o)}else r.remove(e),n&&n()}}function m(e){return"all"===e}var x={},S={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 w(){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(S)}}function b(e,t,i,a){var o,l=i[e];if(l){var s=t[e];if(s){var u=i.transition,h=l.transition;if(h)if(o||(o=a[e]={}),m(h))(0,r.extend)(o,s);else for(var c=(0,n.kF)(h),d=0;d<c.length;d++){var p=c[d],g=s[p];o[p]=g}else if(m(u)||(0,r.indexOf)(u,e)>=0){o||(o=a[e]={});for(var f=(0,r.keys)(s),d=0;d<f.length;d++){var v,y,p=f[d],g=s[p];v=l[p],y=g,((0,r.isArrayLike)(v)?v!==y:null!=v&&isFinite(v))&&(o[p]=g)}}}}}function M(e,t,i){var n=t[e];if(n)for(var o=i[e]={},l=(0,r.keys)(n),s=0;s<l.length;s++){var u=l[s];o[u]=(0,a.V)(n[u])}}},35246:function(e,t,i){i.d(t,{N:()=>el});var n=i(69988),r=i(30984),a=i(86571),o=i(2021),l={color:"fill",borderColor:"stroke"},s={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},u=(0,a.Yf)(),h=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.ZT)(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.Z)(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}(o.Z),c=i(67975),d=i(7185),p=i(29790),g=i(63287),f=i(76150),v=i(37293),y=i(98306),m=i(33361),x=i(16072),S=i(58783),w=i(82787),b=i(58050),M=i(21730);function _(e,t){return t=t||[0,0],c.map(["x","y"],function(i,n){var r=this.getAxis(i),a=t[n],o=e[n]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o))},this)}function I(e,t){return t=t||[0,0],c.map([0,1],function(i){var n=t[i],r=e[i]/2,a=[],o=[];return a[i]=n-r,o[i]=n+r,a[1-i]=o[1-i]=t[1-i],Math.abs(this.dataToPoint(a)[i]-this.dataToPoint(o)[i])},this)}function C(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 O(e,t){return t=t||[0,0],c.map(["Radius","Angle"],function(i,n){var r=this["get"+i+"Axis"](),a=t[n],o=e[n]/2,l="category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(a-o)-r.dataToCoord(a+o));return"Angle"===i&&(l=l*Math.PI/180),l},this)}var T=i(2097),A=i(43810),L=i(12159),D=i(96151),P=i(89655),Z=i(40717),k="emphasis",V="normal",R="blur",z="select",N=[V,k,R,z],G={normal:["itemStyle"],emphasis:[k,"itemStyle"],blur:[R,"itemStyle"],select:[z,"itemStyle"]},B={normal:["label"],emphasis:[k,"label"],blur:[R,"label"],select:[z,"label"]},E=["x","y"],H={normal:{},emphasis:{},blur:{},select:{}},W={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:c.bind(_,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:c.bind(I,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,c.bind)(C,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]),a=i.dataToAngle(n[1]),o=e.coordToPoint([r,a]);return o.push(r,a*Math.PI/180),o},size:c.bind(O,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 F(e){return e instanceof d.ZP}function U(e){return e instanceof T.ZP}var X=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.ZT)(t,e),t.prototype.render=function(e,t,i,n){this._progressiveEls=null;var r=this._data,a=e.getData(),o=this.group,l=j(e,a,t,i);r||o.removeAll(),a.diff(r).add(function(t){$(i,null,t,l(t,n),e,o,a)}).remove(function(t){var i=r.getItemGraphicEl(t);i&&(0,P.O3)(i,u(i).option,e)}).update(function(t,s){$(i,r.getItemGraphicEl(s),t,l(t,n),e,o,a)}).execute();var s=e.get("clip",!0)?(0,M.lQ)(e.coordinateSystem,!1,e):null;s?o.setClipPath(s):o.removeClipPath(),this._data=a},t.prototype.incrementalPrepareRender=function(e,t,i){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,t,i,n,r){var a=t.getData(),o=j(t,a,i,n),l=this._progressiveEls=[];function s(e){e.isGroup||(e.incremental=!0,e.ensureState("emphasis").hoverLayer=!0)}for(var u=e.start;u<e.end;u++){var h=$(null,null,u,o(u,r),t,this.group,a);h&&(h.traverse(s),l.push(h))}},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}(b.Z);function Y(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,a=eo(n);u(t=p.makePath(a,null,r,n.layout||"center")).customPathData=a}else if("image"===i)u(t=new g.ZP({})).customImagePath=e.style.image;else if("text"===i)t=new f.ZP({});else if("group"===i)t=new v.Z;else if("compoundPath"===i)throw Error('"compoundPath" is not supported yet.');else{var o=p.getShapeClass(i);o||(0,L._y)(""),t=new o}return u(t).customGraphicType=i,t.name=e.name,t.z2EmphasisLift=1,t.z2SelectLift=1,t}function K(e,t,i,n,r,a,o){(0,Z.r)(t);var l=r&&r.normal.cfg;l&&t.setTextConfig(l),n&&null==n.transition&&(n.transition=E);var s=n&&n.style;if(s){"text"===t.type&&((0,c.hasOwn)(s,"textFill")&&(s.fill=s.textFill),(0,c.hasOwn)(s,"textStroke")&&(s.stroke=s.textStroke));var u=void 0,h=F(t)?s.decal:null;e&&h&&(h.dirty=!0,u=(0,D.I)(h,e)),s.__decalPattern=u}if(U(t)&&s){var u=s.__decalPattern;u&&(s.decal=u)}(0,P.Ob)(t,n,a,{dataIndex:i,isInit:o,clearStyle:!0}),(0,Z.t)(t,n.keyframeAnimation,a)}function q(e,t,i,n,r){var a=t.isGroup?null:t,o=r&&r[e].cfg;if(a){var l=a.ensureState(e);if(!1===n){var s=a.getState(e);s&&(s.style=null)}else l.style=n||null;o&&(l.textConfig=o),(0,y.MA)(a)}}function j(e,t,i,n){var r,a,o,u,h=e.get("renderItem"),d=e.coordinateSystem,p={};d&&(p=d.prepareCustoms?d.prepareCustoms(d):W[d.type](d));for(var g=(0,c.defaults)({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:function(e,i){return null==i&&(i=o),t.getStore().get(t.getDimensionIndex(e||0),i)},style:function(i,n){null==n&&(n=o);var r=t.getItemVisual(n,"style"),a=r&&r.fill,l=r&&r.opacity,s=C(n,V).getItemStyle();null!=a&&(s.fill=a),null!=l&&(s.opacity=l);var u={inheritColor:(0,c.isString)(a)?a:"#000"},h=O(n,V),d=m.Lr(h,null,u,!1,!0);d.text=h.getShallow("show")?(0,c.retrieve2)(e.getFormattedLabel(n,V),(0,x.H)(t,n)):null;var p=m.nC(h,u,!1);return L(i,s),s=(0,A.n8)(s,d,p),i&&T(s,i),s.legacy=!0,s},ordinalRawValue:function(e,i){null==i&&(i=o),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 a=t.get(n.name,i),l=n&&n.ordinalMeta;return l?l.categories[a]:a},styleEmphasis:function(i,n){null==n&&(n=o);var r=C(n,k).getItemStyle(),a=O(n,k),l=m.Lr(a,null,null,!0,!0);l.text=a.getShallow("show")?(0,c.retrieve3)(e.getFormattedLabel(n,k),e.getFormattedLabel(n,V),(0,x.H)(t,n)):null;var s=m.nC(a,null,!0);return L(i,r),r=(0,A.n8)(r,l,s),i&&T(r,i),r.legacy=!0,r},visual:function(e,i){if(null==i&&(i=o),(0,c.hasOwn)(l,e)){var n=t.getItemVisual(i,"style");return n?n[l[e]]:null}if((0,c.hasOwn)(s,e))return t.getItemVisual(i,e)},barLayout:function(e){if("cartesian2d"===d.type){var t=d.getBaseAxis();return(0,S.Gk)((0,c.defaults)({axis:t},e))}},currentSeriesIndices:function(){return i.getCurrentSeriesIndices()},font:function(e){return m.qT(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(),a={},(0,c.each)(r.dimensions,function(e){var t=r.getDimensionInfo(e);if(!t.isExtraCoord){var i=t.coordDim;(a[i]=a[i]||[])[t.coordDimIndex]=r.getDimensionIndex(e)}}),a)},v={},y={},w={},b={},M=0;M<N.length;M++){var _=N[M];w[_]=e.getModel(G[_]),b[_]=e.getModel(B[_])}function I(e){return e===o?u||(u=t.getItemModel(e)):t.getItemModel(e)}function C(e,i){return t.hasItemOption?e===o?v[i]||(v[i]=I(e).getModel(G[i])):I(e).getModel(G[i]):w[i]}function O(e,i){return t.hasItemOption?e===o?y[i]||(y[i]=I(e).getModel(B[i])):I(e).getModel(B[i]):b[i]}return function(e,i){return o=e,u=null,v={},y={},h&&h((0,c.defaults)({dataIndexInside:e,dataIndex:t.getRawIndex(e),actionType:i?i.type:null},f),g)};function T(e,t){for(var i in t)(0,c.hasOwn)(t,i)&&(e[i]=t[i])}function L(e,t){e&&(e.textFill&&(t.textFill=e.textFill),e.textPosition&&(t.textPosition=e.textPosition))}}function $(e,t,i,n,r,a,o){if(!n)return void a.remove(t);var l=Q(e,t,i,n,r,a);return l&&o.setItemGraphicEl(i,l),l&&(0,y.k5)(l,n.focus,n.blurScope,n.emphasisDisabled),l}function Q(e,t,i,n,r,a){var o,l=-1,s=t;t&&J(t,n,r)&&(l=(0,c.indexOf)(a.childrenRef(),t),t=null);var h=!t,d=t;d?d.clearStates():(d=Y(n),s&&((o=d).copyTransform(s),U(o)&&U(s)&&(o.setStyle(s.style),o.z=s.z,o.z2=s.z2,o.zlevel=s.zlevel,o.invisible=s.invisible,o.ignore=s.ignore,F(o)&&F(s)&&o.setShape(s.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,a){if(!e.isGroup){ee(i,null,a),ee(i,k,a);var o=a.normal.conOpt,l=a.emphasis.conOpt,s=a.blur.conOpt,u=a.select.conOpt;if(null!=o||null!=l||null!=u||null!=s){var h=e.getTextContent();if(!1===o)h&&e.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},h?h.clearStates():(h=Y(o),e.setTextContent(h)),K(null,h,t,o,null,n,r);for(var c=o&&o.style,d=0;d<N.length;d++){var p=N[d];if(p!==V){var g=a[p].conOpt;q(p,h,g,ei(o,g,p),null)}}c?h.dirty():h.markRedraw()}}}}(d,i,n,r,h,H),function(e,t,i,n,r){var a=i.clipPath;if(!1===a)e&&e.getClipPath()&&e.removeClipPath();else if(a){var o=e.getClipPath();o&&J(o,a,n)&&(o=null),o||(o=Y(a),e.setClipPath(o)),K(null,o,t,a,null,n,r)}}(d,i,n,r,h),K(e,d,i,n,H,r,h),(0,c.hasOwn)(n,"info")&&(u(d).info=n.info);for(var p=0;p<N.length;p++){var g=N[p];if(g!==V){var f=et(n,g),v=ei(n,f,g);q(g,d,f,v,H)}}var y=d;if(!y.isGroup){var m=r.currentZ,x=r.currentZLevel;y.z=m,y.zlevel=x;var S=n.z2;null!=S&&(y.z2=S||0);for(var b=0;b<N.length;b++)!function(e,t,i){var n=i===V,r=n?t:et(t,i),a=r?r.z2:null;null!=a&&((n?e:e.ensureState(i)).z2=a||0)}(y,n,N[b])}return"group"===n.type&&function(e,t,i,n,r){var a=n.children,o=a?a.length:0,l=n.$mergeChildren,s="byName"===l||n.diffChildrenByName,h=!1===l;if(o||s||h){if(s){return f={api:e,oldChildren:t.children()||[],newChildren:a||[],dataIndex:i,seriesModel:r,group:t},new w.Z(f.oldChildren,f.newChildren,en,en,f).add(er).update(er).remove(ea).execute()}h&&t.removeAll();for(var c=0;c<o;c++){var d=a[c],p=t.childAt(c);d?(null==d.ignore&&(d.ignore=!1),Q(e,p,i,d,r,t)):p.ignore=!0}for(var g=t.childCount()-1;g>=c;g--){var f,v,y,m,x=t.childAt(g);v=t,y=x,m=r,y&&(0,P.O3)(y,u(v).option,m)}}}(e,d,i,n,r),l>=0?a.replaceAt(d,l):a.add(d),d}function J(e,t,i){var n,r=u(e),a=t.type,o=t.shape,l=t.style;return i.isUniversalTransitionEnabled()||null!=a&&a!==r.customGraphicType||"path"===a&&(n=o)&&((0,c.hasOwn)(n,"pathData")||(0,c.hasOwn)(n,"d"))&&eo(o)!==r.customPathData||"image"===a&&(0,c.hasOwn)(l,"image")&&l.image!==r.customImagePath}function ee(e,t,i){var n=t?et(e,t):e,r=t?ei(e,n,k):e.style,a=e.type,o=n?n.textConfig:null,l=e.textContent,s=l?t?et(l,t):l:null;if(r&&(i.isLegacy||(0,A.Sv)(r,a,!!o,!!s))){i.isLegacy=!0;var u=(0,A.Tw)(r,a,!t);!o&&u.textConfig&&(o=u.textConfig),!s&&u.textContent&&(s=u.textContent)}if(!t&&s){var h=s;h.type||(h.type="text")}var c=t?i[t]:i.normal;c.cfg=o,c.conOpt=s}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===k&&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;Q(i.api,r,i.dataIndex,n,i.seriesModel,i.group)}function ea(e){var t=this.context,i=t.oldChildren[e];i&&(0,P.O3)(i,u(i).option,t.seriesModel)}function eo(e){return e&&(e.pathData||e.d)}function el(e){e.registerChartView(X),e.registerSeriesModel(h)}},78846:function(e,t,i){i.d(t,{N:()=>C});var n=i(69988),r=i(7185),a=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},o=function(e){function t(t){var i=e.call(this,t)||this;return i.type="pointer",i}return(0,n.ZT)(t,e),t.prototype.getDefaultShape=function(){return new a},t.prototype.buildPath=function(e,t){var i=Math.cos,n=Math.sin,r=t.r,a=t.width,o=t.angle,l=t.x-i(o)*a*(a>=r/3?1:2),s=t.y-n(o)*a*(a>=r/3?1:2);o=t.angle-Math.PI/2,e.moveTo(l,s),e.lineTo(t.x+i(o)*a,t.y+n(o)*a),e.lineTo(t.x+i(t.angle)*r,t.y+n(t.angle)*r),e.lineTo(t.x-i(o)*a,t.y-n(o)*a),e.lineTo(l,s)},t}(r.ZP),l=i(53511),s=i(72859),u=i(76150),h=i(99858),c=i(37293),d=i(98306),p=i(33361),g=i(58050),f=i(82517),v=i(2699),y=i(5965),m=i(63287),x=i(67975),S=i(10428),w=i(97694);function b(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 M=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.ZT)(t,e),t.prototype.render=function(e,t,i){this.group.removeAll();var n,r,a=e.get(["axisLine","lineStyle","color"]),o=(n=e.get("center"),r=Math.min(i.getWidth(),i.getHeight()),{cx:(0,f.GM)(n[0],i.getWidth()),cy:(0,f.GM)(n[1],i.getHeight()),r:(0,f.GM)(e.get("radius"),r/2)});this._renderMain(e,t,i,a,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,t,i,n,r){var a=this.group,o=e.get("clockwise"),s=-e.get("startAngle")/180*Math.PI,u=-e.get("endAngle")/180*Math.PI,h=e.getModel("axisLine"),c=h.get("roundCap")?v.Z:l.C,d=h.get("show"),p=h.getModel("lineStyle"),g=p.get("width"),f=[s,u];(0,w.L)(f,!o),s=f[0];for(var y=(u=f[1])-s,m=s,S=[],b=0;d&&b<n.length;b++){var M=new c({shape:{startAngle:m,endAngle:u=s+y*Math.min(Math.max(n[b][0],0),1),cx:r.cx,cy:r.cy,clockwise:o,r0:r.r-g,r:r.r},silent:!0});M.setStyle({fill:n[b][1]}),M.setStyle(p.getLineStyle(["color","width"])),S.push(M),m=u}S.reverse(),(0,x.each)(S,function(e){return a.add(e)});var _=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,_,r,s,u,o,g),this._renderTitleAndDetail(e,t,i,_,r),this._renderAnchor(e,r),this._renderPointer(e,t,i,_,r,s,u,o,g)},t.prototype._renderTicks=function(e,t,i,n,r,a,o,l,h){for(var c,d,g=this.group,v=r.cx,y=r.cy,m=r.r,S=+e.get("min"),w=+e.get("max"),M=e.getModel("splitLine"),_=e.getModel("axisTick"),I=e.getModel("axisLabel"),C=e.get("splitNumber"),O=_.get("splitNumber"),T=(0,f.GM)(M.get("length"),m),A=(0,f.GM)(_.get("length"),m),L=a,D=(o-a)/C,P=D/O,Z=M.getModel("lineStyle").getLineStyle(),k=_.getModel("lineStyle").getLineStyle(),V=M.get("distance"),R=0;R<=C;R++){if(c=Math.cos(L),d=Math.sin(L),M.get("show")){var z=V?V+h:h,N=new s.Z({shape:{x1:c*(m-z)+v,y1:d*(m-z)+y,x2:c*(m-T-z)+v,y2:d*(m-T-z)+y},style:Z,silent:!0});"auto"===Z.stroke&&N.setStyle({stroke:n(R/C)}),g.add(N)}if(I.get("show")){var z=I.get("distance")+V,G=b((0,f.NM)(R/C*(w-S)+S),I.get("formatter")),B=n(R/C),E=c*(m-T-z)+v,H=d*(m-T-z)+y,W=I.get("rotate"),F=0;"radial"===W?(F=-L+2*Math.PI)>Math.PI/2&&(F+=Math.PI):"tangential"===W?F=-L-Math.PI/2:(0,x.isNumber)(W)&&(F=W*Math.PI/180),0===F?g.add(new u.ZP({style:(0,p.Lr)(I,{text:G,x:E,y:H,verticalAlign:d<-.8?"top":d>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:B}),silent:!0})):g.add(new u.ZP({style:(0,p.Lr)(I,{text:G,x:E,y:H,verticalAlign:"middle",align:"center"},{inheritColor:B}),silent:!0,originX:E,originY:H,rotation:F}))}if(_.get("show")&&R!==C){var z=_.get("distance");z=z?z+h:h;for(var U=0;U<=O;U++){c=Math.cos(L),d=Math.sin(L);var X=new s.Z({shape:{x1:c*(m-z)+v,y1:d*(m-z)+y,x2:c*(m-A-z)+v,y2:d*(m-A-z)+y},silent:!0,style:k});"auto"===k.stroke&&X.setStyle({stroke:n((R+U/O)/C)}),g.add(X),L+=P}L-=P}else L+=D}},t.prototype._renderPointer=function(e,t,i,n,r,a,s,u,c){var p=this.group,g=this._data,w=this._progressEls,b=[],M=e.get(["pointer","show"]),_=e.getModel("progress"),I=_.get("show"),C=e.getData(),O=C.mapDimension("value"),T=+e.get("min"),A=+e.get("max"),L=[T,A],D=[a,s];function P(t,i){var n,a=C.getItemModel(t).getModel("pointer"),l=(0,f.GM)(a.get("width"),r.r),s=(0,f.GM)(a.get("length"),r.r),u=e.get(["pointer","icon"]),h=a.get("offsetCenter"),c=(0,f.GM)(h[0],r.r),d=(0,f.GM)(h[1],r.r),p=a.get("keepAspect");return(n=u?(0,y.th)(u,c-l/2,d-s,l,s,null,p):new o({shape:{angle:-Math.PI/2,width:l,r:s,x:c,y:d}})).rotation=-(i+Math.PI/2),n.x=r.cx,n.y=r.cy,n}function Z(e,t){var i=_.get("roundCap")?v.Z:l.C,n=_.get("overlap"),o=n?_.get("width"):c/C.count(),s=n?r.r-o:r.r-(e+1)*o,h=n?r.r:r.r-e*o,d=new i({shape:{startAngle:a,endAngle:t,cx:r.cx,cy:r.cy,clockwise:u,r0:s,r:h}});return n&&(d.z2=A-C.get(O,e)%A),d}(I||M)&&(C.diff(g).add(function(t){var i=C.get(O,t);if(M){var n=P(t,a);h.KZ(n,{rotation:-((isNaN(+i)?D[0]:(0,f.NU)(i,L,D,!0))+Math.PI/2)},e),p.add(n),C.setItemGraphicEl(t,n)}if(I){var r=Z(t,a),o=_.get("clip");h.KZ(r,{shape:{endAngle:(0,f.NU)(i,L,D,o)}},e),p.add(r),(0,S.Q)(e.seriesIndex,C.dataType,t,r),b[t]=r}}).update(function(t,i){var n=C.get(O,t);if(M){var r=g.getItemGraphicEl(i),o=r?r.rotation:a,l=P(t,o);l.rotation=o,h.D(l,{rotation:-((isNaN(+n)?D[0]:(0,f.NU)(n,L,D,!0))+Math.PI/2)},e),p.add(l),C.setItemGraphicEl(t,l)}if(I){var s=w[i],u=Z(t,s?s.shape.endAngle:a),c=_.get("clip");h.D(u,{shape:{endAngle:(0,f.NU)(n,L,D,c)}},e),p.add(u),(0,S.Q)(e.seriesIndex,C.dataType,t,u),b[t]=u}}).execute(),C.each(function(e){var t=C.getItemModel(e),i=t.getModel("emphasis"),r=i.get("focus"),a=i.get("blurScope"),o=i.get("disabled");if(M){var l=C.getItemGraphicEl(e),s=C.getItemVisual(e,"style"),u=s.fill;if(l instanceof m.ZP){var h=l.style;l.useStyle((0,x.extend)({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},s))}else l.useStyle(s),"pointer"!==l.type&&l.setColor(u);l.setStyle(t.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===l.style.fill&&l.setStyle("fill",n((0,f.NU)(C.get(O,e),L,[0,1],!0))),l.z2EmphasisLift=0,(0,d.WO)(l,t),(0,d.k5)(l,r,a,o)}if(I){var c=b[e];c.useStyle(C.getItemVisual(e,"style")),c.setStyle(t.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,(0,d.WO)(c,t),(0,d.k5)(c,r,a,o)}}),this._progressEls=b)},t.prototype._renderAnchor=function(e,t){var i=e.getModel("anchor");if(i.get("show")){var n=i.get("size"),r=i.get("icon"),a=i.get("offsetCenter"),o=i.get("keepAspect"),l=(0,y.th)(r,t.cx-n/2+(0,f.GM)(a[0],t.r),t.cy-n/2+(0,f.GM)(a[1],t.r),n,n,null,o);l.z2=+!!i.get("showAbove"),l.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(l)}},t.prototype._renderTitleAndDetail=function(e,t,i,n,r){var a=this,o=e.getData(),l=o.mapDimension("value"),s=+e.get("min"),h=+e.get("max"),d=new c.Z,g=[],v=[],y=e.isAnimationEnabled(),m=e.get(["pointer","showAbove"]);o.diff(this._data).add(function(e){g[e]=new u.ZP({silent:!0}),v[e]=new u.ZP({silent:!0})}).update(function(e,t){g[e]=a._titleEls[t],v[e]=a._detailEls[t]}).execute(),o.each(function(t){var i=o.getItemModel(t),a=o.get(l,t),u=new c.Z,x=n((0,f.NU)(a,[s,h],[0,1],!0)),S=i.getModel("title");if(S.get("show")){var w=S.get("offsetCenter"),M=r.cx+(0,f.GM)(w[0],r.r),_=r.cy+(0,f.GM)(w[1],r.r),I=g[t];I.attr({z2:2*!m,style:(0,p.Lr)(S,{x:M,y:_,text:o.getName(t),align:"center",verticalAlign:"middle"},{inheritColor:x})}),u.add(I)}var C=i.getModel("detail");if(C.get("show")){var O=C.get("offsetCenter"),T=r.cx+(0,f.GM)(O[0],r.r),A=r.cy+(0,f.GM)(O[1],r.r),L=(0,f.GM)(C.get("width"),r.r),D=(0,f.GM)(C.get("height"),r.r),P=e.get(["progress","show"])?o.getItemVisual(t,"style").fill:x,I=v[t],Z=C.get("formatter");I.attr({z2:2*!m,style:(0,p.Lr)(C,{x:T,y:A,text:b(a,Z),width:isNaN(L)?null:L,height:isNaN(D)?null:D,align:"center",verticalAlign:"middle"},{inheritColor:P})}),(0,p.pe)(I,{normal:C},a,function(e){return b(e,Z)}),y&&(0,p.tD)(I,t,o,e,{getFormattedLabel:function(e,t,i,n,r,o){return b(o?o.interpolatedValue:a,Z)}}),u.add(I)}d.add(u)}),this.group.add(d),this._titleEls=g,this._detailEls=v},t.type="gauge",t}(g.Z),_=i(78939),I=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.ZT)(t,e),t.prototype.getInitialData=function(e,t){return(0,_.Z)(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(2021).Z);function C(e){e.registerChartView(M),e.registerSeriesModel(I)}},27835:function(e,t,i){i.d(t,{N:()=>S});var n=i(69988),r=i(29790),a=i(31969),o=i(63287),l=i(98306),s=i(49906),u=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=s.qW.createCanvas();this.canvas=e}return e.prototype.update=function(e,t,i,n,r,a){var o=this._getBrush(),l=this._getGradient(r,"inRange"),s=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),d=e.length;h.width=t,h.height=i;for(var p=0;p<d;++p){var g=e[p],f=g[0],v=g[1],y=n(g[2]);c.globalAlpha=y,c.drawImage(o,f-u,v-u)}if(!h.width||!h.height)return h;for(var m=c.getImageData(0,0,h.width,h.height),x=m.data,S=0,w=x.length,b=this.minOpacity,M=this.maxOpacity-b;S<w;){var y=x[S+3]/256,_=4*Math.floor(255*y);if(y>0){var I=a(y)?l:s;y>0&&(y=y*M+b),x[S++]=I[_],x[S++]=I[_+1],x[S++]=I[_+2],x[S++]=I[_+3]*y*256}else S+=4}return c.putImageData(m,0,0),h},e.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=s.qW.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],a=0,o=0;o<256;o++)e[t](o/255,!0,r),n[a++]=r[0],n[a++]=r[1],n[a++]=r[2],n[a++]=r[3];return n},e}(),h=i(67975),c=i(58050),d=i(82667),p=i(33361);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.ZT)(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 o,s,u,h,c=e.coordinateSystem,g=(0,d.H)(c,"cartesian2d");if(g){var f=c.getAxis("x"),v=c.getAxis("y");o=f.getBandWidth()+.5,s=v.getBandWidth()+.5,u=f.scale.getExtent(),h=v.scale.getExtent()}for(var y=this.group,m=e.getData(),x=e.getModel(["emphasis","itemStyle"]).getItemStyle(),S=e.getModel(["blur","itemStyle"]).getItemStyle(),w=e.getModel(["select","itemStyle"]).getItemStyle(),b=e.get(["itemStyle","borderRadius"]),M=(0,p.k3)(e),_=e.getModel("emphasis"),I=_.get("focus"),C=_.get("blurScope"),O=_.get("disabled"),T=g?[m.mapDimension("x"),m.mapDimension("y"),m.mapDimension("value")]:[m.mapDimension("time"),m.mapDimension("value")],A=i;A<n;A++){var L=void 0,D=m.getItemVisual(A,"style");if(g){var P=m.get(T[0],A),Z=m.get(T[1],A);if(isNaN(m.get(T[2],A))||isNaN(P)||isNaN(Z)||P<u[0]||P>u[1]||Z<h[0]||Z>h[1])continue;var k=c.dataToPoint([P,Z]);L=new a.Z({shape:{x:k[0]-o/2,y:k[1]-s/2,width:o,height:s},style:D})}else{if(isNaN(m.get(T[1],A)))continue;L=new a.Z({z2:1,shape:c.dataToRect([m.get(T[0],A)]).contentShape,style:D})}if(m.hasItemOption){var V=m.getItemModel(A),R=V.getModel("emphasis");x=R.getModel("itemStyle").getItemStyle(),S=V.getModel(["blur","itemStyle"]).getItemStyle(),w=V.getModel(["select","itemStyle"]).getItemStyle(),b=V.get(["itemStyle","borderRadius"]),I=R.get("focus"),C=R.get("blurScope"),O=R.get("disabled"),M=(0,p.k3)(V)}L.shape.r=b;var z=e.getRawValue(A),N="-";z&&null!=z[2]&&(N=z[2]+""),(0,p.ni)(L,M,{labelFetcher:e,labelDataIndex:A,defaultOpacity:D.opacity,defaultText:N}),L.ensureState("emphasis").style=x,L.ensureState("blur").style=S,L.ensureState("select").style=w,(0,l.k5)(L,I,C,O),L.incremental=r,r&&(L.states.emphasis.hoverLayer=!0),y.add(L),m.setItemGraphicEl(A,L),this._progressiveEls&&this._progressiveEls.push(L)}},t.prototype._renderOnGeo=function(e,t,i,n){var r,a,l,s,c,d,p,g=i.targetVisuals.inRange,f=i.targetVisuals.outOfRange,v=t.getData(),y=this._hmLayer||this._hmLayer||new u;y.blurSize=t.get("blurSize"),y.pointSize=t.get("pointSize"),y.minOpacity=t.get("minOpacity"),y.maxOpacity=t.get("maxOpacity");var m=e.getViewRect().clone(),x=e.getRoamTransform();m.applyTransform(x);var S=Math.max(m.x,0),w=Math.max(m.y,0),b=Math.min(m.width+m.x,n.getWidth()),M=Math.min(m.height+m.y,n.getHeight()),_=b-S,I=M-w,C=[v.mapDimension("lng"),v.mapDimension("lat"),v.mapDimension("value")],O=v.mapArray(C,function(t,i,n){var r=e.dataToPoint([t,i]);return r[0]-=S,r[1]-=w,r.push(n),r}),T=i.getExtent(),A="visualMap.continuous"===i.type?(r=i.option.range,a=T[1]-T[0],r=[(r[0]-T[0])/a,(r[1]-T[0])/a],function(e){return e>=r[0]&&e<=r[1]}):(l=i.getPieceList(),s=i.option.selected,c=T[1]-T[0],d=(l=h.map(l,function(e){return{interval:[(e.interval[0]-T[0])/c,(e.interval[1]-T[0])/c]}})).length,p=0,function(e){var t;for(t=p;t<d;t++){var i=l[t].interval;if(i[0]<=e&&e<=i[1]){p=t;break}}if(t===d)for(t=p-1;t>=0;t--){var i=l[t].interval;if(i[0]<=e&&e<=i[1]){p=t;break}}return t>=0&&t<d&&s[t]});y.update(O,_,I,g.color.getNormalizer(),{inRange:g.color.getColorMapper(),outOfRange:f.color.getColorMapper()},A);var L=new o.ZP({style:{width:_,height:I,x:S,y:w,image:y.canvas},silent:!0});this.group.add(L)},t.type="heatmap",t}(c.Z),v=i(2021),y=i(30984),m=i(49801),x=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.ZT)(t,e),t.prototype.getInitialData=function(e,t){return(0,y.Z)(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=m.Z.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}(v.Z);function S(e){e.registerChartView(f),e.registerSeriesModel(x)}},78939:function(e,t,i){i.d(t,{Z:()=>o});var n=i(56904),r=i(83208),a=i(67975);function o(e,t,i){t=(0,a.isArray)(t)&&{coordDimensions:t}||(0,a.extend)({encodeDefine:e.getEncode()},t);var o=e.getSource(),l=(0,n.Z)(o,t).dimensions,s=new r.Z(l,e);return s.initData(o,i),s}},85731:function(e,t,i){i.d(t,{N:()=>G});var n=i(52914),r=i(82517),a=i(50651),o=i(67975),l=i(97694),s=2*Math.PI,u=Math.PI/180;function h(e,t){return a.ME(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function c(e,t){var i,n,a=h(e,t),l=e.get("center"),s=e.get("radius");o.isArray(s)||(s=[0,s]);var u=(0,r.GM)(a.width,t.getWidth()),c=(0,r.GM)(a.height,t.getHeight()),d=Math.min(u,c),p=(0,r.GM)(s[0],d/2),g=(0,r.GM)(s[1],d/2),f=e.coordinateSystem;if(f){var v=f.dataToPoint(l);i=v[0]||0,n=v[1]||0}else o.isArray(l)||(l=[l,l]),i=(0,r.GM)(l[0],u)+a.x,n=(0,r.GM)(l[1],c)+a.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"),a=h(e,i),o=c(e,i),d=o.cx,p=o.cy,g=o.r,f=o.r0,v=-e.get("startAngle")*u,y=e.get("endAngle"),m=e.get("padAngle")*u;y="auto"===y?v-s:-y*u;var x=e.get("minAngle")*u+m,S=0;t.each(n,function(e){!isNaN(e)&&S++});var w=t.getSum(n),b=Math.PI/(w||S)*2,M=e.get("clockwise"),_=e.get("roseType"),I=e.get("stillShowZeroSum"),C=t.getDataExtent(n);C[0]=0;var O=M?1:-1,T=[v,y],A=O*m/2;(0,l.L)(T,!M),v=T[0];var L=Math.abs((y=T[1])-v),D=L,P=0,Z=v;if(t.setLayout({viewRect:a,r:g}),t.each(n,function(e,i){if(isNaN(e))return void t.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:d,cy:p,r0:f,r:_?NaN:g});(n="area"!==_?0===w&&I?b:e*b:L/S)<x?(n=x,D-=x):P+=e;var n,a=Z+O*n,o=0,l=0;m>n?l=o=Z+O*n/2:(o=Z+A,l=a-A),t.setItemLayout(i,{angle:n,startAngle:o,endAngle:l,clockwise:M,cx:d,cy:p,r0:f,r:_?(0,r.NU)(e,C,[f,g]):g}),Z=a}),D<s&&S)if(D<=.001){var k=L/S;t.each(n,function(e,i){if(!isNaN(e)){var n=t.getItemLayout(i);n.angle=k;var r=0,a=0;k<m?a=r=v+O*(i+.5)*k:(r=v+O*i*k+A,a=v+O*(i+1)*k-A),n.startAngle=r,n.endAngle=a}})}else b=D/P,Z=v,t.each(n,function(e,i){if(!isNaN(e)){var n=t.getItemLayout(i),r=n.angle===x?x:e*b,a=0,o=0;r<m?o=a=Z+O*r/2:(a=Z+A,o=Z+O*r-A),n.startAngle=a,n.endAngle=o,Z+=O*r}})})}var p=i(31260),g=i(69988),f=i(76150),v=i(99858),y=i(61099),m=i(53511),x=i(98306),S=i(58050),w=i(91145),b=i(9655),M=i(67285),_=Math.PI/180;function I(e,t,i,n,r,a,o,l,s,u){if(!(e.length<2)){for(var h=e.length,c=0;c<h;c++)if("outer"===e[c].position&&"labelLine"===e[c].labelAlignTo){var d=e[c].label.x-u;e[c].linePoints[1][0]+=d,e[c].label.x=u}(0,M.GI)(e,s,s+o)&&function(e){for(var a={list:[],maxY:0},o={list:[],maxY:0},l=0;l<e.length;l++)if("none"===e[l].labelAlignTo){var s=e[l],u=s.label.y>i?o:a,h=Math.abs(s.label.y-i);if(h>=u.maxY){var c=s.label.x-t-s.len2*r,d=n+s.len;u.rB=Math.abs(c)<d?Math.sqrt(h*h/(1-c*c/d/d)):d,u.maxY=h}u.list.push(s)}p(a),p(o)}(e)}function p(e){for(var a=e.rB,o=a*a,l=0;l<e.list.length;l++){var s=e.list[l],u=Math.abs(s.label.y-i),h=n+s.len,c=t+(Math.sqrt(h*h*(1-Math.abs(u*u/o)))+s.len2)*r,d=c-s.label.x,p=s.targetTextWidth-d*r;C(s,p,!0),s.label.x=c}}}function C(e,t,i){if(void 0===i&&(i=!1),null==e.labelStyleWidth){var n=e.label,r=n.style,a=e.rect,o=r.backgroundColor,l=r.padding,s=l?l[1]+l[3]:0,u=r.overflow,h=a.width+(o?0:s);if(t<h||i){var c=a.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-s);var d=n.getBoundingRect();n.setStyle("width",Math.ceil(d.width)),n.setStyle("backgroundColor",o)}else{var p=t-s,g=t<h?p:i?p>e.unconstrainedWidth?null:p:null;n.setStyle("width",g)}var f=n.getBoundingRect();a.width=f.width;var v=(n.style.margin||0)+2.1;a.height=f.height+v,a.y-=(a.height-c)/2}}}function O(e){return"center"===e.position}var T=i(33361),A=i(10061),L=function(e){function t(t,i,n){var r=e.call(this)||this;r.z2=2;var a=new f.ZP;return r.setTextContent(a),r.updateData(t,i,n,!0),r}return(0,g.ZT)(t,e),t.prototype.updateData=function(e,t,i,n){var r=e.hostModel,a=e.getItemModel(t),l=a.getModel("emphasis"),s=e.getItemLayout(t),u=(0,o.extend)((0,A.T)(a.getModel("itemStyle"),s,!0),s);if(isNaN(u.startAngle))return void this.setShape(u);if(n){this.setShape(u);var h=r.getShallow("animationType");r.ecModel.ssr?(v.KZ(this,{scaleX:0,scaleY:0},r,{dataIndex:t,isFrom:!0}),this.originX=u.cx,this.originY=u.cy):"scale"===h?(this.shape.r=s.r0,v.KZ(this,{shape:{r:s.r}},r,t)):null!=i?(this.setShape({startAngle:i,endAngle:i}),v.KZ(this,{shape:{startAngle:s.startAngle,endAngle:s.endAngle}},r,t)):(this.shape.endAngle=s.startAngle,v.D(this,{shape:{endAngle:s.endAngle}},r,t))}else(0,v.Zi)(this),v.D(this,{shape:u},r,t);this.useStyle(e.getItemVisual(t,"style")),(0,x.WO)(this,a);var c=(s.startAngle+s.endAngle)/2,d=r.get("selectedOffset"),p=Math.cos(c)*d,g=Math.sin(c)*d,f=a.getShallow("cursor");f&&this.attr("cursor",f),this._updateLabel(r,e,t),this.ensureState("emphasis").shape=(0,o.extend)({r:s.r+(l.get("scale")&&l.get("scaleSize")||0)},(0,A.T)(l.getModel("itemStyle"),s)),(0,o.extend)(this.ensureState("select"),{x:p,y:g,shape:(0,A.T)(a.getModel(["select","itemStyle"]),s)}),(0,o.extend)(this.ensureState("blur"),{shape:(0,A.T)(a.getModel(["blur","itemStyle"]),s)});var y=this.getTextGuideLine(),m=this.getTextContent();y&&(0,o.extend)(y.ensureState("select"),{x:p,y:g}),(0,o.extend)(m.ensureState("select"),{x:p,y:g}),(0,x.k5)(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},t.prototype._updateLabel=function(e,t,i){var n=t.getItemModel(i),r=n.getModel("labelLine"),a=t.getItemVisual(i,"style"),l=a&&a.fill,s=a&&a.opacity;(0,T.ni)(this,(0,T.k3)(n),{labelFetcher:t.hostModel,labelDataIndex:i,inheritColor:l,defaultOpacity:s,defaultText:e.getFormattedLabel(i,"normal")||t.getName(i)});var u=this.getTextContent();this.setTextConfig({position:null,rotation:null}),u.attr({z2:10});var h=e.get(["label","position"]);if("outside"!==h&&"outer"!==h)this.removeTextGuideLine();else{var c=this.getTextGuideLine();c||(c=new y.Z,this.setTextGuideLine(c)),(0,b.Iu)(this,(0,b.$x)(n),{stroke:l,opacity:(0,o.retrieve3)(r.get(["lineStyle","opacity"]),s,1)})}},t}(m.C),D=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ignoreLabelLineUpdate=!0,t}return(0,g.ZT)(t,e),t.prototype.render=function(e,t,i,n){var a,l=e.getData(),s=this._data,u=this.group;if(!s&&l.count()>0){for(var h=l.getItemLayout(0),d=1;isNaN(h&&h.startAngle)&&d<l.count();++d)h=l.getItemLayout(d);h&&(a=h.startAngle)}if(this._emptyCircleSector&&u.remove(this._emptyCircleSector),0===l.count()&&e.get("showEmptyCircle")){var p=new m.C({shape:c(e,i)});p.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=p,u.add(p)}l.diff(s).add(function(e){var t=new L(l,e,a);l.setItemGraphicEl(e,t),u.add(t)}).update(function(e,t){var i=s.getItemGraphicEl(t);i.updateData(l,e,a),i.off("click"),u.add(i),l.setItemGraphicEl(e,i)}).remove(function(t){var i=s.getItemGraphicEl(t);v.XD(i,e,t)}).execute(),function(e){var t,i,n=e.getData(),a=[],l=!1,s=(e.get("minShowLabelAngle")||0)*_,u=n.getLayout("viewRect"),h=n.getLayout("r"),c=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,v,y=n.getItemGraphicEl(e),m=y.shape,x=y.getTextContent(),S=y.getTextGuideLine(),b=n.getItemModel(e),M=b.getModel("label"),_=M.get("position")||b.get(["emphasis","label","position"]),I=M.get("distanceToLabelLine"),C=M.get("alignTo"),O=(0,r.GM)(M.get("edgeDistance"),c),T=M.get("bleedMargin"),A=b.getModel("labelLine"),L=A.get("length");L=(0,r.GM)(L,c);var D=A.get("length2");if(D=(0,r.GM)(D,c),Math.abs(m.endAngle-m.startAngle)<s){(0,o.each)(x.states,f),x.ignore=!0,S&&((0,o.each)(S.states,f),S.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 P=(m.startAngle+m.endAngle)/2,Z=Math.cos(P),k=Math.sin(P);t=m.cx,i=m.cy;var V="inside"===_||"inner"===_;if("center"===_)u=m.cx,p=m.cy,v="center";else{var R=(V?(m.r+m.r0)/2*Z:m.r*Z)+t,z=(V?(m.r+m.r0)/2*k:m.r*k)+i;if(u=R+3*Z,p=z+3*k,!V){var N=R+Z*(L+h-m.r),G=z+k*(L+h-m.r),B=N+(Z<0?-1:1)*D;u="edge"===C?Z<0?d+O:d+c-O:B+(Z<0?-I:I),p=G,g=[[R,z],[N,G],[B,G]]}v=V?"center":"edge"===C?Z>0?"right":"left":Z>0?"left":"right"}var E=Math.PI,H=0,W=M.get("rotate");if((0,o.isNumber)(W))H=E/180*W;else if("center"===_)H=0;else if("radial"===W||!0===W)H=Z<0?-P+E:-P;else if("tangential"===W&&"outside"!==_&&"outer"!==_){var F=Math.atan2(Z,k);F<0&&(F=2*E+F),k>0&&(F=E+F),H=F-E}if(l=!!H,x.x=u,x.y=p,x.rotation=H,x.setStyle({verticalAlign:"middle"}),V){x.setStyle({align:v});var U=x.states.select;U&&(U.x+=x.x,U.y+=x.y)}else{var X=x.getBoundingRect().clone();X.applyTransform(x.getComputedTransform());var Y=(x.style.margin||0)+2.1;X.y-=Y/2,X.height+=Y,a.push({label:x,labelLine:S,position:_,len:L,len2:D,minTurnAngle:A.get("minTurnAngle"),maxSurfaceAngle:A.get("maxSurfaceAngle"),surfaceNormal:new w.Z(Z,k),linePoints:g,textAlign:v,labelDistance:I,labelAlignTo:C,edgeDistance:O,bleedMargin:T,rect:X,unconstrainedWidth:X.width,labelStyleWidth:x.style.width})}y.setTextConfig({inside:V})}}),!l&&e.get("avoidLabelOverlap")&&function(e,t,i,n,r,a,o,l){for(var s=[],u=[],h=Number.MAX_VALUE,c=-Number.MAX_VALUE,d=0;d<e.length;d++){var p=e[d].label;O(e[d])||(p.x<t?(h=Math.min(h,p.x),s.push(e[d])):(c=Math.max(c,p.x),u.push(e[d])))}for(var d=0;d<e.length;d++){var g=e[d];if(!O(g)&&g.linePoints){if(null!=g.labelStyleWidth)continue;var p=g.label,f=g.linePoints,v=void 0;v="edge"===g.labelAlignTo?p.x<t?f[2][0]-g.labelDistance-o-g.edgeDistance:o+r-g.edgeDistance-f[2][0]-g.labelDistance:"labelLine"===g.labelAlignTo?p.x<t?h-o-g.bleedMargin:o+r-c-g.bleedMargin:p.x<t?p.x-o-g.bleedMargin:o+r-p.x-g.bleedMargin,g.targetTextWidth=v,C(g,v)}}I(u,t,i,n,1,r,a,o,l,c),I(s,t,i,n,-1,r,a,o,l,h);for(var d=0;d<e.length;d++){var g=e[d];if(!O(g)&&g.linePoints){var p=g.label,f=g.linePoints,y="edge"===g.labelAlignTo,m=p.style.padding,x=m?m[1]+m[3]:0,S=p.style.backgroundColor?0:x,w=g.rect.width+S,b=f[1][0]-f[2][0];y?p.x<t?f[2][0]=o+g.edgeDistance+w+g.labelDistance:f[2][0]=o+r-g.edgeDistance-w-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]+b),f[1][1]=f[2][1]=p.y}}}(a,t,i,h,c,g,d,p);for(var v=0;v<a.length;v++){var y=a[v],m=y.label,x=y.labelLine,S=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:y.textAlign}),S&&((0,o.each)(m.states,f),m.ignore=!0);var M=m.states.select;M&&(M.x+=m.x,M.y+=m.y)}if(x){var T=y.linePoints;S||!T?((0,o.each)(x.states,f),x.ignore=!0):((0,b.qK)(T,y.minTurnAngle),(0,b._A)(T,y.surfaceNormal,y.maxSurfaceAngle),x.setShape({points:T}),m.__hostTarget.textGuideLineConfig={anchor:new w.Z(T[0][0],T[0][1])})}}}(e),"expansion"!==e.get("animationTypeUpdate")&&(this._data=l)},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,a=Math.sqrt(n*n+r*r);return a<=i.r&&a>=i.r0}},t.type="pie",t}(S.Z),P=i(78939),Z=i(86571),k=i(86451),V=i(26435),R=i(2021),z=Z.Yf(),N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,g.ZT)(t,e),t.prototype.init=function(t){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new V.Z(o.bind(this.getData,this),o.bind(this.getRawData,this)),this._defaultLabelLine(t)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return(0,P.Z)(this,{coordDimensions:["value"],encodeDefaulter:o.curry(k.Ss,this)})},t.prototype.getDataParams=function(t){var i=this.getData(),n=z(i),a=n.seats;if(!a){var o=[];i.each(i.mapDimension("value"),function(e){o.push(e)}),a=n.seats=(0,r.HD)(o,i.hostModel.get("percentPrecision"))}var l=e.prototype.getDataParams.call(this,t);return l.percent=a[t]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(e){Z.Cc(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}(R.Z);function G(e){e.registerChartView(D),e.registerSeriesModel(N),(0,n.y)("pie",e.registerAction),e.registerLayout((0,o.curry)(d,"pie")),e.registerProcessor((0,p.Z)("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,o.isNumber)(n)||!!isNaN(n)||!(n<0)})}})}},8890:function(e,t,i){i.d(t,{N:()=>x});var n=i(36232),r=i(69988),a=i(30984),o=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.ZT)(t,e),t.prototype.getInitialData=function(e,t){return(0,a.Z)(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(2021).Z),l=i(5434),s=i(9495),u=i(7185),h=i(37293),c=i(5965),d=i(10428),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.ZT)(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,a=this.symbolProxy,o=a.shape,l=e.getContext?e.getContext():e,s=l&&r[0]<4,u=this.softClipShape;if(s){this._ctx=l;return}for(this._ctx=null,i=this._off;i<n.length;){var h=n[i++],c=n[i++];!(isNaN(h)||isNaN(c))&&(!u||u.contain(h,c))&&(o.x=h-r[0]/2,o.y=c-r[1]/2,o.width=r[0],o.height=r[1],a.buildPath(e,o,!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,a=this.softClipShape;if(r){for(e=this._off;e<i.length;){var o=i[e++],l=i[e++];!(isNaN(o)||isNaN(l))&&(!a||a.contain(o,l))&&r.fillRect(o-n[0]/2,l-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,a=Math.max(r[0],4),o=Math.max(r[1],4),l=n.length/2-1;l>=0;l--){var s=2*l,u=n[s]-a/2,h=n[s+1]-o/2;if(e>=u&&t>=h&&e<=u+a&&t<=h+o)return l}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],a=n[1],o=1/0,l=1/0,u=-1/0,h=-1/0,c=0;c<i.length;){var d=i[c++],p=i[c++];o=Math.min(d,o),u=Math.max(d,u),l=Math.min(p,l),h=Math.max(p,h)}e=this._rect=new s.Z(o-r/2,l-a/2,u-o+r,h-l+a)}return e},t}(u.ZP),f=function(){function e(){this.group=new h.Z}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"),a=n&&n.shape.points;if(a&&a.length<2e4){var o=a.length,l=new Float32Array(o+r.length);l.set(a),l.set(r,o),n.endIndex=e.end,n.setShape({points:l})}else{this._newAdded=[];var s=this._create();s.startIndex=e.start,s.endIndex=e.end,s.incremental=!0,s.setShape({points:r}),this._setCommon(s,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,c.th)(t.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var a=e.shape.size[0]<4;e.useStyle(n.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var o=t.getVisual("style"),l=o&&o.fill;l&&e.setColor(l);var s=(0,d.A)(e);s.seriesIndex=n.seriesIndex,e.on("mousemove",function(t){s.dataIndex=null;var i=e.hoverDataIdx;i>=0&&(s.dataIndex=i+(e.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),v=i(13706),y=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.ZT)(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,v.Z)("").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 l.Z,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(58050).Z),m=i(28525);function x(e){(0,n.D)(m.N),e.registerSeriesModel(o),e.registerChartView(y),e.registerLayout((0,v.Z)("scatter"))}},27806:function(e,t,i){i.d(t,{N:()=>H});var n=i(36232),r=i(69988),a=i(67975),o=i(16505),l=i(86571),s=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.ZT)(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"]),a.isArray(t)&&a.each(t,function(e,n){var r;a.isString(e)&&(e={type:e}),t[n]=a.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,a=n.name;if(i.push(a),n.legendVisualProvider){var o=n.legendVisualProvider.getAllNames();e.isSeriesFiltered(n)||(i=i.concat(o)),o.length?t=t.concat(o):r=!0}else r=!0;r&&(0,l.yu)(n)&&t.push(n.name)}),this._availableNames=i;var n=this.get("data")||t,r=a.createHashMap(),s=a.map(n,function(e){return((a.isString(e)||a.isNumber(e))&&(e={name:e}),r.get(e.name))?null:(r.set(e.name,!0),new o.Z(e,this,this.ecModel))},this);this._data=a.filter(s,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;a.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;a.each(e,function(e){t[e.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;a.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])&&a.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(45352).Z),u=i(54411),h=i(37293),c=i(76150),d=i(31969),p=i(29790),g=i(98306),f=i(33361),v=i(60630),y=i(50651),m=i(64292),x=i(5965),S=i(96151),w=i(10428),b=a.curry,M=a.each,_=h.Z,I=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.ZT)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new _),this.group.add(this._selectorGroup=new _),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"),o=e.get("orient");r&&"auto"!==r||(r="right"===e.get("left")&&"vertical"===o?"right":"left");var l=e.get("selector",!0),s=e.get("selectorPosition",!0);l&&(!s||"auto"===s)&&(s="horizontal"===o?"end":"start"),this.renderInner(r,e,t,i,l,o,s);var u=e.getBoxLayoutParams(),h={width:i.getWidth(),height:i.getHeight()},c=e.get("padding"),d=y.ME(u,h,c),p=this.layoutInner(e,r,d,n,l,s),g=y.ME(a.defaults({width:p.width,height:p.height},u),h,c);this.group.x=g.x-p.x,this.group.y=g.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(0,v.l)(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,o,l){var s=this.getContentGroup(),h=a.createHashMap(),c=t.get("selectedMode"),d=[];i.eachRawSeries(function(e){e.get("legendHoverLink")||d.push(e.id)}),M(t.getData(),function(r,o){var l=r.get("name");if(!this.newlineDisabled&&(""===l||"\n"===l)){var p=new _;p.newline=!0,s.add(p);return}var g=i.getSeriesByName(l)[0];if(!h.get(l))if(g){var f=g.getData(),v=f.getVisual("legendLineStyle")||{},y=f.getVisual("legendIcon"),m=f.getVisual("style"),x=this._createItem(g,l,o,r,t,e,v,m,y,c,n);x.on("click",b(C,l,null,n,d)).on("mouseover",b(T,g.name,null,n,d)).on("mouseout",b(A,g.name,null,n,d)),i.ssr&&x.eachChild(function(e){var t=(0,w.A)(e);t.seriesIndex=g.seriesIndex,t.dataIndex=o,t.ssrType="legend"}),h.set(l,!0)}else i.eachRawSeries(function(s){if(!h.get(l)&&s.legendVisualProvider){var p=s.legendVisualProvider;if(p.containName(l)){var g=p.indexOfName(l),f=p.getItemVisual(g,"style"),v=p.getItemVisual(g,"legendIcon"),y=(0,u.parse)(f.fill);y&&0===y[3]&&(y[3]=.2,f=a.extend(a.extend({},f),{fill:(0,u.stringify)(y,"rgba")}));var m=this._createItem(s,l,o,r,t,e,{},f,v,c,n);m.on("click",b(C,null,l,n,d)).on("mouseover",b(T,null,l,n,d)).on("mouseout",b(A,null,l,n,d)),i.ssr&&m.eachChild(function(e){var t=(0,w.A)(e);t.seriesIndex=s.seriesIndex,t.dataIndex=o,t.ssrType="legend"}),h.set(l,!0)}}},this)},this),r&&this._createSelector(r,t,n,o,l)},t.prototype._createSelector=function(e,t,i,n,r){var a=this.getSelectorGroup();M(e,function(e){var n=e.type,r=new c.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:"all"===n?"legendAllSelect":"legendInverseSelect"})}});a.add(r);var o=t.getModel("selectorLabel"),l=t.getModel(["emphasis","selectorLabel"]);(0,f.ni)(r,{normal:o,emphasis:l},{defaultText:e.title}),(0,g.vF)(r)})},t.prototype._createItem=function(e,t,i,n,r,o,l,s,u,h,v){var y=e.visualDrawType,m=r.get("itemWidth"),w=r.get("itemHeight"),b=r.isSelected(t),I=n.get("symbolRotate"),C=n.get("symbolKeepAspect"),O=n.get("icon"),T=function(e,t,i,n,r,a,o){function l(e,t){"auto"===e.lineWidth&&(e.lineWidth=2*(t.lineWidth>0)),M(e,function(i,n){"inherit"===e[n]&&(e[n]=t[n])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),h=0===e.lastIndexOf("empty",0)?"fill":"stroke",c=s.getShallow("decal");u.decal=c&&"inherit"!==c?(0,S.I)(c,o):n.decal,"inherit"===u.fill&&(u.fill=n[r]),"inherit"===u.stroke&&(u.stroke=n[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?n:i).opacity),l(u,n);var d=t.getModel("lineStyle"),p=d.getLineStyle();if(l(p,i),"auto"===u.fill&&(u.fill=n.fill),"auto"===u.stroke&&(u.stroke=n.fill),"auto"===p.stroke&&(p.stroke=n.fill),!a){var g=t.get("inactiveBorderWidth"),f=u[h];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=O||u||"roundRect",n,l,s,y,b,v),A=new _,L=n.getModel("textStyle");if(a.isFunction(e.getLegendIcon)&&(!O||"inherit"===O))A.add(e.getLegendIcon({itemWidth:m,itemHeight:w,icon:u,iconRotate:I,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:C}));else{var D,P,Z,k="inherit"===O&&e.getData().getVisual("symbol")?"inherit"===I?e.getData().getVisual("symbolRotate"):I:0;A.add((P=(D={itemWidth:m,itemHeight:w,icon:u,iconRotate:k,itemStyle:T.itemStyle,lineStyle:T.lineStyle,symbolKeepAspect:C}).icon||"roundRect",(Z=(0,x.th)(P,0,0,D.itemWidth,D.itemHeight,D.itemStyle.fill,D.symbolKeepAspect)).setStyle(D.itemStyle),Z.rotation=(D.iconRotate||0)*Math.PI/180,Z.setOrigin([D.itemWidth/2,D.itemHeight/2]),P.indexOf("empty")>-1&&(Z.style.stroke=Z.style.fill,Z.style.fill="#fff",Z.style.lineWidth=2),Z))}var V=r.get("formatter"),R=t;a.isString(V)&&V?R=V.replace("{name}",null!=t?t:""):a.isFunction(V)&&(R=V(t));var z=b?L.getTextColor():n.get("inactiveColor");A.add(new c.ZP({style:(0,f.Lr)(L,{text:R,x:"left"===o?m+5:-5,y:w/2,fill:z,align:o,verticalAlign:"middle"},{inheritColor:z})}));var N=new d.Z({shape:A.getBoundingRect(),style:{fill:"transparent"}}),G=n.getModel("tooltip");return G.get("show")&&p.setTooltipConfig({el:N,componentModel:r,itemName:t,itemTooltipOption:G.option}),A.add(N),A.eachChild(function(e){e.silent=!0}),N.silent=!h,this.getContentGroup().add(A),(0,g.vF)(A),A.__legendDataIndex=i,A},t.prototype.layoutInner=function(e,t,i,n,r,a){var o=this.getContentGroup(),l=this.getSelectorGroup();y.BZ(e.get("orient"),o,e.get("itemGap"),i.width,i.height);var s=o.getBoundingRect(),u=[-s.x,-s.y];if(l.markRedraw(),o.markRedraw(),!r)return o.x=u[0],o.y=u[1],this.group.getBoundingRect();y.BZ("horizontal",l,e.get("selectorItemGap",!0));var h=l.getBoundingRect(),c=[-h.x,-h.y],d=e.get("selectorButtonGap",!0),p=e.getOrient().index,g=0===p?"width":"height",f=0===p?"height":"width",v=0===p?"y":"x";"end"===a?c[p]+=s[g]+d:u[p]+=h[g]+d,c[1-p]+=s[f]/2-h[f]/2,l.x=c[0],l.y=c[1],o.x=u[0],o.y=u[1];var m={x:0,y:0};return m[g]=s[g]+d+h[g],m[f]=Math.max(s[f],h[f]),m[v]=Math.min(0,h[v]+c[1-p]),m},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(m.Z);function C(e,t,i,n){A(e,t,i,n),i.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),T(e,t,i,n)}function O(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 T(e,t,i,n){O(i)||i.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function A(e,t,i,n){O(i)||i.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}function L(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 D(e,t,i){var n,r={},o="toggleSelected"===e;return i.eachComponent("legend",function(i){o&&null!=n?i[n?"select":"unSelect"](t.name):"allSelect"===e||"inverseSelect"===e?i[e]():(i[e](t.name),n=i.isSelected(t.name));var l=i.getData();(0,a.each)(l,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 P(e){e.registerComponentModel(s),e.registerComponentView(I),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,L),e.registerSubTypeDefaulter("legend",function(){return"plain"}),e.registerAction("legendToggleSelect","legendselectchanged",(0,a.curry)(D,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",(0,a.curry)(D,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",(0,a.curry)(D,"inverseSelect")),e.registerAction("legendSelect","legendselected",(0,a.curry)(D,"select")),e.registerAction("legendUnSelect","legendunselected",(0,a.curry)(D,"unSelect"))}var Z=i(4587),k=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,r.ZT)(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,i,n){var r=(0,y.tE)(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,Z.ZL)(s.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}(s);function V(e,t,i){var n=e.getOrient(),r=[1,1];r[n.index]=0,(0,y.dt)(t,i,{type:"box",ignoreSize:!!r})}var R=i(99858),z=h.Z,N=["width","height"],G=["x","y"],B=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.ZT)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new z),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new z)},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,o,l,s){var u=this;e.prototype.renderInner.call(this,t,i,n,r,o,l,s);var h=this._controllerGroup,d=i.get("pageIconSize",!0),g=a.isArray(d)?d:[d,d];v("pagePrev",0);var f=i.getModel("pageTextStyle");function v(e,t){var n=p.createIcon(i.get("pageIcons",!0)[i.getOrient().name][t],{onclick:a.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,h.add(n)}h.add(new c.ZP({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1)},t.prototype.layoutInner=function(e,t,i,n,r,o){var l=this.getSelectorGroup(),s=e.getOrient().index,u=N[s],h=G[s],c=N[1-s],d=G[1-s];r&&y.BZ("horizontal",l,e.get("selectorItemGap",!0));var p=e.get("selectorButtonGap",!0),g=l.getBoundingRect(),f=[-g.x,-g.y],v=a.clone(i);r&&(v[u]=i[u]-g[u]-p);var m=this._layoutContentAndController(e,n,v,s,u,c,d,h);if(r){if("end"===o)f[s]+=m[u]+p;else{var x=g[u]+p;f[s]-=x,m[h]-=x}m[u]+=g[u]+p,f[1-s]+=m[d]+m[c]/2-g[c]/2,m[c]=Math.max(m[c],g[c]),m[d]=Math.min(m[d],g[d]+f[1-s]),l.x=f[0],l.y=f[1],l.markRedraw()}return m},t.prototype._layoutContentAndController=function(e,t,i,n,r,o,l,s){var u=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;y.BZ(e.get("orient"),u,e.get("itemGap"),n?i.width:null,n?null:i.height),y.BZ("horizontal",c,e.get("pageButtonItemGap",!0));var p=u.getBoundingRect(),g=c.getBoundingRect(),f=this._showController=p[r]>i[r],v=[-p.x,-p.y];t||(v[n]=u[s]);var m=[0,0],x=[-g.x,-g.y],S=a.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]+S),x[1-n]+=p[o]/2-g[o]/2,u.setPosition(v),h.setPosition(m),c.setPosition(x);var w={x:0,y:0};if(w[r]=f?i[r]:p[r],w[o]=Math.max(p[o],g[o]),w[l]=Math.min(0,g[l]+x[1-n]),h.__rectSize=i[r],f){var b={x:0,y:0};b[r]=Math.max(i[r]-g[r]-S,0),b[o]=w[o],h.setClipPath(new d.Z({shape:b})),h.__rectSize=b[r]}else c.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var M=this._getPageInfo(e);return null!=M.pageIndex&&R.D(u,{x:M.contentPosition[0],y:M.contentPosition[1]},f?e:null),this._updatePageInfoView(e,M),w},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;a.each(["pagePrev","pageNext"],function(n){var r=null!=t[n+"DataIndex"],a=i.childOfName(n);a&&(a.setStyle("fill",r?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),a.cursor=r?"pointer":"default")});var n=i.childOfName("pageText"),r=e.get("pageFormatter"),o=t.pageIndex,l=null!=o?o+1:0,s=t.pageCount;n&&r&&n.setStyle("text",a.isString(r)?r.replace("{current}",null==l?"":l+"").replace("{total}",null==s?"":s+""):r({current:l,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),i=this.getContentGroup(),n=this._containerGroup.__rectSize,r=e.getOrient().index,a=N[r],o=G[r],l=this._findTargetItemIndex(t),s=i.children(),u=s[l],h=s.length,c=+!!h,d={contentPosition:[i.x,i.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return d;var p=m(u);d.contentPosition[r]=-p.s;for(var g=l+1,f=p,v=p,y=null;g<=h;++g)(!(y=m(s[g]))&&v.e>f.s+n||y&&!x(y,f.s))&&(f=v.i>f.i?v:y)&&(null==d.pageNextDataIndex&&(d.pageNextDataIndex=f.i),++d.pageCount),v=y;for(var g=l-1,f=p,v=p,y=null;g>=-1;--g)(!(y=m(s[g]))||!x(v,y.s))&&f.i<v.i&&(v=f,null==d.pagePrevDataIndex&&(d.pagePrevDataIndex=f.i),++d.pageCount,++d.pageIndex),f=y;return d;function m(e){if(e){var t=e.getBoundingRect(),i=t[o]+e[o];return{s:i,e:i+t[a],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 a=n.__legendDataIndex;null==i&&null!=a&&(i=r),a===e&&(t=r)}),null!=t?t:i):0},t.type="legend.scroll",t}(I);function E(e){(0,n.D)(P),e.registerComponentModel(k),e.registerComponentView(B),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.D)(P),(0,n.D)(E)}},10946:function(e,t,i){i.d(t,{Z:()=>y});var n=i(69988),r=i(67975),a=i(53835),o=i(89125),l=i(86750),s=i(86571),u=i(82517),h=i(45352),c=o.Z.mapVisual,d=o.Z.eachVisual,p=r.isArray,g=r.each,f=u.dt,v=u.NU;let y=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.ZT)(t,e),t.prototype.init=function(e,t,i){this.mergeDefaultAndTheme(e,i)},t.prototype.optionUpdated=function(e,t){var i=this.option;t||l.jO(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=l.qD(this.option.controller,t,e),this.targetVisuals=l.qD(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=s.kF(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,a=this.option,o=a.precision,l=this.dataBound,s=a.formatter;i=i||["<",">"],r.isArray(e)&&(e=e.slice(),n=!0);var u=t?e:n?[h(e[0]),h(e[1])]:h(e);if(r.isString(s))return s.replace("{value}",n?u[0]:u).replace("{value2}",n?u[1]:u);if(r.isFunction(s))return n?s(e[0],e[1]):s(e);if(!n)return u;if(e[0]===l[0])return i[0]+" "+u[1];if(e[1]===l[1])return i[1]+" "+u[0];return u[0]+" - "+u[1];function h(e){return e===l[0]?"min":e===l[1]?"max":(+e).toFixed(Math.min(o,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],a=e.getDimensionInfo(r);if(!a.isCalculationCoord)return a.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={}),l=t.controller||(t.controller={});r.merge(n,i),r.merge(l,i);var s=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,l),(function(e,t,i){var n=e[t],r=e[i];n&&!r&&(r=e[i]={},g(n,function(e,t){if(o.Z.isValidType(t)){var i=a.Z.get(t,"inactive",s);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"),a=this.getItemSymbol()||"roundRect";g(this.stateList,function(o){var l=this.itemSize,u=e[o];u||(u=e[o]={color:s?n:[n]}),null==u.symbol&&(u.symbol=t&&r.clone(t)||(s?a:[a])),null==u.symbolSize&&(u.symbolSize=i&&r.clone(i)||(s?l[0]:[l[0],l[0]])),u.symbol=c(u.symbol,function(e){return"none"===e?a:e});var h=u.symbolSize;if(null!=h){var p=-1/0;d(h,function(e){e>p&&(p=e)}),u.symbolSize=c(h,function(e){return v(e,[0,p],[0,l[0]],!0)})}},this)}).call(this,l)},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}(h.Z)},10959:function(e,t,i){i.d(t,{Z:()=>u});var n=i(69988),r=i(67975),a=i(31969),o=i(40814),l=i(50651),s=i(89125);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.ZT)(t,e),t.prototype.init=function(e,t){this.ecModel=e,this.api=t},t.prototype.render=function(e,t,i,n){if(this.visualMapModel=e,!1===e.get("show"))return void this.group.removeAll();this.doRender(e,t,i,n)},t.prototype.renderBackground=function(e){var t=this.visualMapModel,i=o.MY(t.get("padding")||0),n=e.getBoundingRect();e.add(new a.Z({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,a=this.visualMapModel,o={};function l(e){return o[e]}function u(e,t){o[e]=t}"color"===t&&(o.color=a.get("contentColor"));var h=a.controllerVisuals[n||a.getValueState(e)],c=s.Z.prepareVisualTypes(h);return r.each(c,function(n){var r=h[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=h.__alphaForOpacity),s.Z.dependsOn(n,t)&&r&&r.applyVisual(e,l,u)}),o[t]},t.prototype.positionGroup=function(e){var t=this.visualMapModel,i=this.api;l.p$(e,t.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},t.prototype.doRender=function(e,t,i,n){},t.type="visualMap",t}(i(64292).Z)},31215:function(e,t,i){i.d(t,{H:()=>l,X:()=>o});var n=i(67975),r=i(50651),a=[["left","right","width"],["top","bottom","height"]];function o(e,t,i){var n=e.option,o=n.align;if(null!=o&&"auto"!==o)return o;for(var l={width:t.getWidth(),height:t.getHeight()},s=+("horizontal"===n.orient),u=a[s],h=[0,null,10],c={},d=0;d<3;d++)c[a[1-s][d]]=h[d],c[u[d]]=2===d?i[0]:n[u[d]];var p=[["x","width",3],["y","height",0]][s],g=(0,r.ME)(c,l,n.padding);return u[(g.margin[p[2]]||0)+g[p[0]]+.5*g[p[1]]<.5*l[p[1]]?0:1]}function l(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}},943:function(e,t,i){i.d(t,{N:()=>o});var n=i(36232),r=i(32767),a=i(55828);function o(e){(0,n.D)(r.N),(0,n.D)(a.N)}},87145:function(e,t,i){i.d(t,{Z:()=>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)})},a=i(67975),o=i(86750),l=i(89125),s=i(43928),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(o.Z7(t.stateList,t.targetVisuals,a.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(a.bind(h,null,e,t))||{stops:[],outerColors:[]},o=t.getDataDimensionIndex(i);o>=0&&(r.dimension=o,n.push(r))}}),e.getData().setVisual("visualMeta",n)}}];function h(e,t,i,n){for(var r=t.targetVisuals[n],a=l.Z.prepareVisualTypes(r),o={color:(0,s.UL)(e.getData(),"color")},u=0,h=a.length;u<h;u++){var c=a[u],d=r["opacity"===c?"__alphaForOpacity":c];d&&d.applyVisual(i,p,g)}return o.color;function p(e){return o[e]}function g(e,t){o[e]=t}}var c=a.each;function d(e){var t=e&&e.visualMap;a.isArray(t)||(t=t?[t]:[]),c(t,function(e){if(e){p(e,"splitList")&&!p(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var t=e.pieces;t&&a.isArray(t)&&c(t,function(e){a.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,a.each)(u,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(d))}},32767:function(e,t,i){i.d(t,{N:()=>z});var n=i(69988),r=i(67975),a=i(10946),o=i(82517),l=i(4587),s=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.ZT)(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=o.dt((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 a=0,o=0,l=i.length,s=t.length;o<s&&(!i.length||t[o]<=i[0]);o++)t[o]<i[a]&&r(t[o],"outOfRange");for(var h=1;a<l;a++,h=0)h&&n.length&&r(i[a],"outOfRange"),r(i[a],"inRange");for(var h=1;o<s;o++)(!i.length||i[i.length-1]<t[o])&&(h&&(n.length&&r(n[n.length-1].value,"outOfRange"),h=0),r(t[o],"outOfRange"));var c=n.length;return{stops:n,outerColors:[c?n[0].color:"transparent",c?n[c-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=(0,l.ZL)(a.Z.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}(a.Z);function u(e,t,i){if(i[0]===i[1])return i.slice();for(var n=(i[1]-i[0])/200,r=i[0],a=[],o=0;o<=200&&r<i[1];o++)a.push(r),r+=n;return a.push(i[1]),a}var h=i(44235),c=i(9474),d=i(10959),p=i(76150),g=i(37293),f=i(31969),v=i(29790),y=i(24484),m=i(12920),x=i(31215),S=i(86571),w=i(12666),b=i(98306),M=i(5965),_=i(63287),I=i(10428),C=i(33361),O=i(26501),T=o.NU,A=r.each,L=Math.min,D=Math.max,P=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.ZT)(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,a=r.get("textGap"),o=r.itemSize,l=this._shapes.mainGroup,s=this._applyTransform([o[0]/2,0===i?-a:o[1]+a],l),u=this._applyTransform(0===i?"bottom":"top",l),h=this._orient,c=this.visualMapModel.textStyleModel;this.group.add(new p.ZP({style:(0,C.Lr)(c,{x:s[0],y:s[1],verticalAlign:"horizontal"===h?"middle":u,align:"horizontal"===h?u:"center",text:n})}))}},t.prototype._renderBar=function(e){var t=this.visualMapModel,i=this._shapes,n=t.itemSize,a=this._orient,o=this._useHandle,l=x.X(t,this.api,n),s=i.mainGroup=this._createBarGroup(l),u=new g.Z;s.add(u),u.add(i.outOfRange=Z()),u.add(i.inRange=Z(null,o?V(this._orient):null,r.bind(this._dragHandle,this,"all",!1),r.bind(this._dragHandle,this,"all",!0))),u.setClipPath(new f.Z({shape:{x:0,y:0,width:n[0],height:n[1],r:3}}));var h=t.textStyleModel.getTextRect("国"),c=D(h.width,h.height);o&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(t,s,0,n,c,a),this._createHandle(t,s,1,n,c,a)),this._createIndicator(t,s,n,c,a),e.add(s)},t.prototype._createHandle=function(e,t,i,n,a,o){var l=r.bind(this._dragHandle,this,i,!1),s=r.bind(this._dragHandle,this,i,!0),u=(0,w.GM)(e.get("handleSize"),n[0]),h=(0,M.th)(e.get("handleIcon"),-u/2,-u/2,u,u,null,!0),d=V(this._orient);h.attr({cursor:d,draggable:!0,drift:l,ondragend:s,onmousemove:function(e){c.sT(e.event)}}),h.x=n[0]/2,h.useStyle(e.getModel("handleStyle").getItemStyle()),h.setStyle({strokeNoScale:!0,strokeFirst:!0}),h.style.lineWidth*=2,h.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),(0,b.Nj)(h,!0),t.add(h);var g=this.visualMapModel.textStyleModel,f=new p.ZP({cursor:d,draggable:!0,drift:l,onmousemove:function(e){c.sT(e.event)},ondragend:s,style:(0,C.Lr)(g,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var v=[u,0],y=this._shapes;y.handleThumbs[i]=h,y.handleLabelPoints[i]=v,y.handleLabels[i]=f},t.prototype._createIndicator=function(e,t,i,n,a){var o=(0,w.GM)(e.get("indicatorSize"),i[0]),l=(0,M.th)(e.get("indicatorIcon"),-o/2,-o/2,o,o,null,!0);l.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var s=e.getModel("indicatorStyle").getItemStyle();if(l instanceof _.ZP){var u=l.style;l.useStyle(r.extend({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else l.useStyle(s);t.add(l);var h=this.visualMapModel.textStyleModel,c=new p.ZP({silent:!0,invisible:!0,style:(0,C.Lr)(h,{x:0,y:0,text:""})});this.group.add(c);var d=[("horizontal"===a?n/2:6)+i[0]/2,0],g=this._shapes;g.indicator=l,g.indicatorLabel=c,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():k(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=[T(t[0],i,n,!0),T(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.Z)(t,n,r,e,0);var a=i.getExtent();this._dataInterval=[T(n[0],r,a,!0),T(n[1],r,a,!0)]},t.prototype._updateView=function(e){var t=this.visualMapModel,i=t.getExtent(),n=this._shapes,r=[0,t.itemSize[1]],a=e?r:this._handleEnds,o=this._createBarVisual(this._dataInterval,i,a,"inRange"),l=this._createBarVisual(i,i,r,"outOfRange");n.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),n.outOfRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),this._updateHandle(a,o)},t.prototype._createBarVisual=function(e,t,i,n){var r={forceState:n,convertOpacityToAlpha:!0},a=this._makeColorGradient(e,r),o=[this.getControllerVisual(e[0],"symbolSize",r),this.getControllerVisual(e[1],"symbolSize",r)],l=this._createBarPoints(i,o);return{barColor:new h.Z(0,0,0,1,a),barPoints:l,handlesColor:[a[0].color,a[a.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 a=e[0]+n*r;if(a>e[1])break;i.push({color:this.getControllerVisual(a,"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.Z("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,a=i.handleLabels,o=n.itemSize,l=n.getExtent();A([0,1],function(s){var u=r[s];u.setStyle("fill",t.handlesColor[s]),u.y=e[s];var h=T(e[s],[0,o[1]],l,!0),c=this.getControllerVisual(h,"symbolSize");u.scaleX=u.scaleY=c/o[0],u.x=o[0]-c/2;var d=v.applyTransform(i.handleLabelPoints[s],v.getTransform(u,this.group));a[s].setStyle({x:d[0],y:d[1],text:n.formatValueText(this._dataInterval[s]),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,a=r.getExtent(),o=r.itemSize,l=[0,o[1]],s=this._shapes,u=s.indicator;if(u){u.attr("invisible",!1);var h=this.getControllerVisual(e,"color",{convertOpacityToAlpha:!0}),c=this.getControllerVisual(e,"symbolSize"),d=T(e,a,l,!0),p=o[0]-c/2,g={x:u.x,y:u.y};u.y=d,u.x=p;var f=v.applyTransform(s.indicatorLabelPoint,v.getTransform(u,this.group)),y=s.indicatorLabel;y.attr("invisible",!1);var m=this._applyTransform("left",s.mainGroup),x="horizontal"===this._orient;y.setStyle({text:(i||"")+r.formatValueText(t),verticalAlign:x?m:"middle",align:x?"center":m});var S={x:p,y:d,style:{fill:h}},w={style:{x:f[0],y:f[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var b={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(S,b),y.animateTo(w,b)}else u.attr(S),y.attr(w);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var _=0;_<M.length;_++)this.api.enterBlur(M[_])}},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]=L(D(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,a,o,l,s,u=[0,n[1]],h=i.getExtent();e=L(D(u[0],e),u[1]);var c=(r=i,a=h,o=u,l=6,(s=r.get("hoverLinkDataSize"))&&(l=T(s,a,o,!0)/2),l),d=[e-c,e+c],p=T(e,u,h,!0),g=[T(d[0],u,h,!0),T(d[1],u,h,!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],"< ",c):g[1]===1/0?this._showIndicator(p,g[0],"> ",c):this._showIndicator(p,p,"≈ ",c));var f=this._hoverLinkDataIndices,v=[];(t||k(i))&&(v=this._hoverLinkDataIndices=i.findTargetDataIndices(g));var y=S.XI(f,v);this._dispatchHighDown("downplay",x.H(y[0],i)),this._dispatchHighDown("highlight",x.H(y[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){if((0,O.o)(e.target,function(e){var i=(0,I.A)(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),a=r.getStore().get(n.getDataDimensionIndex(r),t.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},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.H(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 a=v.getTransform(t,n?null:this.group);return r.isArray(e)?v.applyTransform(e,a,i):v.transformDirection(e,a,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.Z);function Z(e,t,i,n){return new y.Z({shape:{points:e},draggable:!!i,cursor:t,drift:i,onmousemove:function(e){c.sT(e.event)},ondragend:n})}function k(e){var t=e.get("hoverLinkOnHandle");return!!(null==t?e.get("realtime"):t)}function V(e){return"vertical"===e?"ns-resize":"ew-resize"}var R=i(87145);function z(e){e.registerComponentModel(s),e.registerComponentView(P),(0,R.Z)(e)}},55828:function(e,t,i){i.d(t,{N:()=>b});var n=i(69988),r=i(67975),a=i(10946),o=i(89125),l=i(53835),s=i(82517),u=i(4587),h=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i._pieceList=[],i}return(0,n.ZT)(t,e),t.prototype.optionUpdated=function(t,i){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],c[this._mode].call(this,this._pieceList),this._resetSelected(t,i);var a=this.option.categories;this.resetVisual(function(e,t){"categories"===n?(e.mappingMethod="category",e.categories=r.clone(a)):(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=o.Z.listVisualTypes(),a=this.isCategory();function s(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||s(t,e,i)||s(t.target,e,i)},this),n||r.each(this.stateList,function(e){(t[e]||(t[e]={}))[i]=l.Z.get(i,"inRange"===e?"active":"inactive",a)})},this),e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,t){var i=this.option,n=this._pieceList,a=(t?i:e).selected||{};if(i.selected=a,r.each(n,function(e,t){var i=this.getSelectedMapKey(e);a.hasOwnProperty(i)||(a[i]=!0)},this),"single"===i.selectedMode){var o=!1;r.each(n,function(e,t){var i=this.getSelectedMapKey(e);a[i]&&(o?a[i]=!1:o=!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=o.Z.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=[],a=n.getData();a.each(this.getDataDimensionIndex(a),function(t,n){o.Z.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,a=this._pieceList.slice();if(a.length){var o=a[0].interval[0];o!==-1/0&&a.unshift({interval:[-1/0,o]}),(o=a[a.length-1].interval[1])!==1/0&&a.push({interval:[o,1/0]})}else a.push({interval:[-1/0,1/0]});var l=-1/0;return r.each(a,function(e){var t=e.interval;t&&(t[0]>l&&s([l,t[0]],"outOfRange"),s(t.slice()),l=t[1])},this),{stops:t,outerColors:i}}function s(r,a){var o=n.getRepresentValue({interval:r});a||(a=n.getValueState(o));var l=e(o,a);r[0]===-1/0?i[0]=l:r[1]===1/0?i[1]=l:t.push({value:r[0],color:l},{value:r[1],color:l})}},t.type="visualMap.piecewise",t.defaultOption=(0,u.ZL)(a.Z.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}(a.Z),c={splitNumber:function(e){var t=this.option,i=Math.min(t.precision,20),n=this.getExtent(),a=t.splitNumber;t.splitNumber=a=Math.max(parseInt(a,10),1);for(var o=(n[1]-n[0])/a;+o.toFixed(i)!==o&&i<5;)i++;t.precision=i,o=+o.toFixed(i),t.minOpen&&e.push({interval:[-1/0,n[0]],close:[0,0]});for(var l=0,u=n[0];l<a;u+=o,l++){var h=l===a-1?n[1]:u+o;e.push({interval:[u,h],close:[1,1]})}t.maxOpen&&e.push({interval:[n[1],1/0],close:[0,0]}),(0,s.nR)(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 a=n.value=t.value;n.interval=[a,a],n.close=[1,1]}else{for(var l=n.interval=[],s=n.close=[0,0],u=[1,0,1],h=[-1/0,1/0],c=[],d=0;d<2;d++){for(var p=[["gte","gt","min"],["lte","lt","max"]][d],g=0;g<3&&null==l[d];g++)l[d]=t[p[g]],s[d]=u[g],c[d]=2===g;null==l[d]&&(l[d]=h[d])}c[0]&&l[1]===1/0&&(s[0]=0),c[1]&&l[0]===-1/0&&(s[1]=0),l[0]===l[1]&&s[0]&&s[1]&&(n.value=l[0])}n.visual=o.Z.retrieveVisuals(t),e.push(n)},this),d(t,e),(0,s.nR)(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(10959),g=i(37293),f=i(76150),v=i(5965),y=i(50651),m=i(31215),x=i(33361),S=function(e){function t(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=t.type,i}return(0,n.ZT)(t,e),t.prototype.doRender=function(){var e=this.group;e.removeAll();var t=this.visualMapModel,i=t.get("textGap"),n=t.textStyleModel,a=n.getFont(),o=n.getTextColor(),l=this._getItemAlign(),s=t.itemSize,u=this._getViewData(),h=u.endsText,c=r.retrieve(t.get("showLabel",!0),!h);h&&this._renderEndsText(e,h[0],s,c,l),r.each(u.viewPieceList,function(n){var u=n.piece,h=new g.Z;h.onclick=r.bind(this._onItemClick,this,u),this._enableHoverLink(h,n.indexInModelPieceList);var d=t.getRepresentValue(u);if(this._createItemSymbol(h,d,[0,0,s[0],s[1]]),c){var p=this.visualMapModel.getValueState(d);h.add(new f.ZP({style:{x:"right"===l?-i:s[0]+i,y:s[1]/2,text:u.text,verticalAlign:"middle",align:l,font:a,fill:o,opacity:"outOfRange"===p?.5:1}}))}e.add(h)},this),h&&this._renderEndsText(e,h[1],s,c,l),y.BZ(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.H(n.findTargetDataIndices(t),n)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,t=e.option;if("vertical"===t.orient)return m.X(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 a=new g.Z,o=this.visualMapModel.textStyleModel;a.add(new f.ZP({style:(0,x.Lr)(o,{x:n?"right"===r?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:n?r:"center",text:t})})),e.add(a)}},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"),a=e.get("inverse");return("horizontal"===n?a:!a)?t.reverse():i&&(i=i.slice().reverse()),{viewPieceList:t,endsText:i}},t.prototype._createItemSymbol=function(e,t,i){e.add((0,v.th)(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 a=r.clone(i.selected),o=t.getSelectedMapKey(e);"single"===n||!0===n?(a[o]=!0,r.each(a,function(e,t){a[t]=t===o})):a[o]=!a[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:a})}},t.type="visualMap.piecewise",t}(p.Z),w=i(87145);function b(e){e.registerComponentModel(h),e.registerComponentView(S),(0,w.Z)(e)}},9655:function(e,t,i){i.d(t,{$x:()=>P,Iu:()=>D,_A:()=>T,d:()=>_,qK:()=>O});var n=i(91145),r=i(7185),a=i(61099),o=i(97694),l=i(66790),s=i(99101),u=i(67975),h=i(49634),c=i(77605),d=i(98306),p=2*Math.PI,g=o.Z.CMD,f=["top","right","bottom","left"];function v(e,t,i,n,r,a,o,l){var s=i-e,u=n-t,h=Math.sqrt(s*s+u*u),c=((r-e)*(s/=h)+(a-t)*(u/=h))/h;l&&(c=Math.min(Math.max(c,0),1)),c*=h;var d=o[0]=e+c*s,p=o[1]=t+c*u;return Math.sqrt((d-r)*(d-r)+(p-a)*(p-a))}function y(e,t,i,n,r,a,o){i<0&&(e+=i,i=-i),n<0&&(t+=n,n=-n);var l=e+i,s=t+n,u=o[0]=Math.min(Math.max(r,e),l),h=o[1]=Math.min(Math.max(a,t),s);return Math.sqrt((u-r)*(u-r)+(h-a)*(h-a))}var m=[],x=new n.Z,S=new n.Z,w=new n.Z,b=new n.Z,M=new n.Z;function _(e,t){if(e){var i=e.getTextGuideLine(),a=e.getTextContent();if(a&&i){var o=e.textGuideLineConfig||{},u=[[0,0],[0,0],[0,0]],c=o.candidates||f,d=a.getBoundingRect().clone();d.applyTransform(a.getComputedTransform());var M=1/0,_=o.anchor,I=e.getComputedTransform(),C=I&&(0,h.invert)([],I),T=t.get("length2")||0;_&&w.copy(_);for(var A=0;A<c.length;A++){!function(e,t,i,n,r){var a=i.width,o=i.height;switch(e){case"top":n.set(i.x+a/2,i.y-0),r.set(0,-1);break;case"bottom":n.set(i.x+a/2,i.y+o+0),r.set(0,1);break;case"left":n.set(i.x-t,i.y+o/2),r.set(-1,0);break;case"right":n.set(i.x+a+t,i.y+o/2),r.set(1,0)}}(c[A],0,d,x,b),n.Z.scaleAndAdd(S,x,b,T),S.transform(C);var L=e.getBoundingRect(),D=_?_.distance(S):e instanceof r.ZP?function(e,t,i){for(var n,r,a=0,o=0,u=0,h=0,c=1/0,d=t.data,f=e.x,x=e.y,S=0;S<d.length;){var w=d[S++];1===S&&(a=d[S],o=d[S+1],u=a,h=o);var b=c;switch(w){case g.M:u=d[S++],h=d[S++],a=u,o=h;break;case g.L:b=v(a,o,d[S],d[S+1],f,x,m,!0),a=d[S++],o=d[S++];break;case g.C:b=(0,s.t1)(a,o,d[S++],d[S++],d[S++],d[S++],d[S],d[S+1],f,x,m),a=d[S++],o=d[S++];break;case g.Q:b=(0,s.Wr)(a,o,d[S++],d[S++],d[S],d[S+1],f,x,m),a=d[S++],o=d[S++];break;case g.A:var M=d[S++],_=d[S++],I=d[S++],C=d[S++],O=d[S++],T=d[S++];S+=1;var A=!!(1-d[S++]);n=Math.cos(O)*I+M,r=Math.sin(O)*C+_,S<=1&&(u=n,h=r);var L=(f-M)*C/I+M;b=function(e,t,i,n,r,a,o,s,u){var h=Math.sqrt((o-=e)*o+(s-=t)*s),c=(o/=h)*i+e,d=(s/=h)*i+t;if(Math.abs(n-r)%p<1e-4)return u[0]=c,u[1]=d,h-i;if(a){var g=n;n=(0,l.m)(r),r=(0,l.m)(g)}else n=(0,l.m)(n),r=(0,l.m)(r);n>r&&(r+=p);var f=Math.atan2(s,o);if(f<0&&(f+=p),f>=n&&f<=r||f+p>=n&&f+p<=r)return u[0]=c,u[1]=d,h-i;var v=i*Math.cos(n)+e,y=i*Math.sin(n)+t,m=i*Math.cos(r)+e,x=i*Math.sin(r)+t,S=(v-o)*(v-o)+(y-s)*(y-s),w=(m-o)*(m-o)+(x-s)*(x-s);return S<w?(u[0]=v,u[1]=y,Math.sqrt(S)):(u[0]=m,u[1]=x,Math.sqrt(w))}(M,_,C,O,O+T,A,L,x,m),a=Math.cos(O+T)*I+M,o=Math.sin(O+T)*C+_;break;case g.R:b=y(u=a=d[S++],h=o=d[S++],d[S++],d[S++],f,x,m);break;case g.Z:b=v(a,o,u,h,f,x,m,!0),a=u,o=h}b<c&&(c=b,i.set(m[0],m[1]))}return c}(S,e.path,w):function(e,t,i){var n=y(t.x,t.y,t.width,t.height,e.x,e.y,m);return i.set(m[0],m[1]),n}(S,L,w);D<M&&(M=D,S.transform(I),w.transform(I),w.toArray(u[0]),S.toArray(u[1]),x.toArray(u[2]))}O(u,t.get("minTurnAngle")),i.setShape({points:u})}}}var I=[],C=new n.Z;function O(e,t){if(t<=180&&t>0){t=t/180*Math.PI,x.fromArray(e[0]),S.fromArray(e[1]),w.fromArray(e[2]),n.Z.sub(b,x,S),n.Z.sub(M,w,S);var i=b.len(),r=M.len();if(!(i<.001)&&!(r<.001)&&(b.scale(1/i),M.scale(1/r),Math.cos(t)<b.dot(M))){var a=v(S.x,S.y,w.x,w.y,x.x,x.y,I,!1);C.fromArray(I),C.scaleAndAdd(M,a/Math.tan(Math.PI-t));var o=w.x!==S.x?(C.x-S.x)/(w.x-S.x):(C.y-S.y)/(w.y-S.y);if(isNaN(o))return;o<0?n.Z.copy(C,S):o>1&&n.Z.copy(C,w),C.toArray(e[1])}}}function T(e,t,i){if(i<=180&&i>0){i=i/180*Math.PI,x.fromArray(e[0]),S.fromArray(e[1]),w.fromArray(e[2]),n.Z.sub(b,S,x),n.Z.sub(M,w,S);var r=b.len(),a=M.len();if(!(r<.001)&&!(a<.001)&&(b.scale(1/r),M.scale(1/a),b.dot(t)<Math.cos(i))){var o=v(S.x,S.y,w.x,w.y,x.x,x.y,I,!1);C.fromArray(I);var l=Math.PI/2,s=l+Math.acos(M.dot(t))-i;if(s>=l)n.Z.copy(C,w);else{C.scaleAndAdd(M,o/Math.tan(Math.PI/2-s));var u=w.x!==S.x?(C.x-S.x)/(w.x-S.x):(C.y-S.y)/(w.y-S.y);if(isNaN(u))return;u<0?n.Z.copy(C,S):u>1&&n.Z.copy(C,w)}C.toArray(e[1])}}}function A(e,t,i,n){var r="normal"===i,a=r?e:e.ensureState(i);a.ignore=t;var o=n.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var l=n.getModel("lineStyle").getLineStyle();r?e.useStyle(l):a.style=l}function L(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=c.dist(n[0],n[1]),a=c.dist(n[1],n[2]);if(!r||!a){e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]);return}var o=Math.min(r,a)*i,l=c.lerp([],n[1],n[0],o/r),s=c.lerp([],n[1],n[2],o/a),u=c.lerp([],l,s,.5);e.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),e.bezierCurveTo(s[0],s[1],s[0],s[1],n[2][0],n[2][1])}else for(var h=1;h<n.length;h++)e.lineTo(n[h][0],n[h][1])}function D(e,t,i){var n=e.getTextGuideLine(),r=e.getTextContent();if(!r){n&&e.removeTextGuideLine();return}for(var o=t.normal,l=o.get("show"),s=r.ignore,h=0;h<d.qc.length;h++){var c=d.qc[h],p=t[c],g="normal"===c;if(p){var f=p.get("show");if((g?s:(0,u.retrieve2)(r.states[c]&&r.states[c].ignore,s))||!(0,u.retrieve2)(f,l)){var v=g?n:n&&n.states[c];v&&(v.ignore=!0),n&&A(n,!0,c,p);continue}!n&&(n=new a.Z,e.setTextGuideLine(n),g||!s&&l||A(n,!0,"normal",t.normal),e.stateProxy&&(n.stateProxy=e.stateProxy)),A(n,!1,c,p)}}if(n){(0,u.defaults)(n.style,i),n.style.fill=null;var y=o.get("showAbove");(e.textGuideLineConfig=e.textGuideLineConfig||{}).showAbove=y||!1,n.buildPath=L}}function P(e,t){t=t||"labelLine";for(var i={normal:e.getModel(t)},n=0;n<d.L1.length;n++){var r=d.L1[n];i[r]=e.getModel([r,t])}return i}},31260:function(e,t,i){i.d(t,{Z:()=>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})}}}}},43810:function(e,t,i){i.d(t,{Sv:()=>r,Tw:()=>a,n8:()=>l});var n=i(67975);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 a(e,t,i){var r,a,l;if("text"===t)l=e;else{l={},(0,n.hasOwn)(e,"text")&&(l.text=e.text),(0,n.hasOwn)(e,"rich")&&(l.rich=e.rich),(0,n.hasOwn)(e,"textFill")&&(l.fill=e.textFill),(0,n.hasOwn)(e,"textStroke")&&(l.stroke=e.textStroke),(0,n.hasOwn)(e,"fontFamily")&&(l.fontFamily=e.fontFamily),(0,n.hasOwn)(e,"fontSize")&&(l.fontSize=e.fontSize),(0,n.hasOwn)(e,"fontStyle")&&(l.fontStyle=e.fontStyle),(0,n.hasOwn)(e,"fontWeight")&&(l.fontWeight=e.fontWeight),a={type:"text",style:l,silent:!0},r={};var s=(0,n.hasOwn)(e,"textPosition");i?r.position=s?e.textPosition:"inside":s&&(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 o(l,e),(0,n.each)(l.rich,function(e){o(e,e)}),{textConfig:r,textContent:a}}function o(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 l(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,a=e.fill||"#000";s(e,t);var o=null==e.textFill;return r?o&&(e.textFill=i.insideFill||"#fff",!e.textStroke&&i.insideStroke&&(e.textStroke=i.insideStroke),e.textStroke||(e.textStroke=a),null==e.textStrokeWidth&&(e.textStrokeWidth=2)):(o&&(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){s(e,e)}),e}function s(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))}},26435:function(e,t,i){i.d(t,{Z:()=>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}()},89125:function(e,t,i){i.d(t,{Z:()=>x});var n=i(67975),r=i(54411),a=i(82517),o=n.each,l=n.isObject,s=function(){function e(t){var i,r,a=t.mappingMethod,l=t.type,s=this.option=n.clone(t);this.type=l,this.mappingMethod=a,this._normalizeData=m[a];var h=e.visualHandlers[l];this.applyVisual=h.applyVisual,this.getColorMapper=h.getColorMapper,this._normalizedToVisual=h._normalizedToVisual[a],"piecewise"===a?(u(s),r=(i=s).pieceList,i.hasSpecialVisual=!1,n.each(r,function(e,t){e.originIndex=t,null!=e.visual&&(i.hasSpecialVisual=!0)})):"category"===a?s.categories?function(e){var t=e.categories,i=e.categoryMap={},r=e.visual;if(o(t,function(e,t){i[e]=t}),!n.isArray(r)){var a=[];n.isObject(r)?o(r,function(e,t){var n=i[t];a[null!=n?n:-1]=e}):a[-1]=r,r=y(e,a)}for(var l=t.length-1;l>=0;l--)null==r[l]&&(delete i[t[l]],t.pop())}(s):u(s,!0):(n.assert("linear"!==a||s.dataExtent),u(s))}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 a,o=n.isArray(t)?[]:n.isObject(t)?{}:(a=!0,null);return e.eachVisual(t,function(e,t){var n=i.call(r,e,t);a?o=n:o[t]=n}),o},e.retrieveVisuals=function(t){var i,n={};return t&&o(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(!l(e))return[];var t=[];o(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,a=1/0,o=0,l=t.length;o<l;o++){var s=t[o].value;if(null!=s){if(s===e||n.isString(s)&&s===e+"")return o;i&&_(s,o)}}for(var o=0,l=t.length;o<l;o++){var u,h,c,d,p,g,f,v,y,m,x,S,w=t[o],b=w.interval,M=w.close;if(b){if(b[0]===-1/0){if(u=M[1],h=e,c=b[1],u?h<=c:h<c)return o}else if(b[1]===1/0){if(d=M[0],p=b[0],g=e,d?p<=g:p<g)return o}else{if(f=M[0],v=b[0],y=e,(f?v<=y:v<y)&&(m=M[1],x=e,S=b[1],m?x<=S:x<S))return o}i&&_(b[0],o),i&&_(b[1],o)}}if(i)return e===1/0?t.length-1:e===-1/0?0:r;function _(t,i){var n=Math.abs(t-e);n<a&&(a=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 a=!!n;return i||(t=this._normalizeData(t)),n=r.fastLerp(t,e.parsedVisual,n),a?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=v.call(this,t);return null==i&&(i=r.stringify(r.fastLerp(e,this.option.parsedVisual),"rgba")),i},fixed:g}},colorHue:h(function(e,t){return r.modifyHSL(e,t)}),colorSaturation:h(function(e,t){return r.modifyHSL(e,null,t)}),colorLightness:h(function(e,t){return r.modifyHSL(e,null,null,t)}),colorAlpha:h(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:c,category:p,piecewise:function(e,t){var i=v.call(this,t);return null==i&&(i=c.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)?o(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]),y(e,r)}function h(e){return{applyVisual:function(t,i,n){var r=this.mapValueToVisual(t);n("color",e(i("color"),r))},_normalizedToVisual:f([0,1])}}function c(e){var t=this.option.visual;return t[Math.round((0,a.NU)(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,a.NU)(t,e,this.option.visual,!0)},category:p,piecewise:function(t,i){var n=v.call(this,i);return null==n&&(n=(0,a.NU)(t,e,this.option.visual,!0)),n},fixed:g}}function v(e){var t=this.option,i=t.pieceList;if(t.hasSpecialVisual){var n=s.findPieceIndex(e,i),r=i[n];if(r&&r.visual)return r.visual[this.type]}}function y(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,a.NU)(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,i=s.findPieceIndex(e,t,!0);if(null!=i)return(0,a.NU)(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=s},53835:function(e,t,i){i.d(t,{Z:()=>a});var n=i(67975),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 a={get:function(e,t,i){var a=n.clone((r[e]||{})[t]);return i&&n.isArray(a)?a[a.length-1]:a}}},86750:function(e,t,i){i.d(t,{$p:()=>h,Z7:()=>c,jO:()=>u,qD:()=>s});var n=i(67975),r=i(89125),a=i(43928),o=n.each;function l(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function s(e,t,i){var a={};return o(t,function(t){var l,s=a[t]=((l=function(){}).prototype.__hidden=l.prototype,new l);o(e[t],function(e,a){if(r.Z.isValidType(a)){var o={type:a,visual:e};i&&i(o,t),s[a]=new r.Z(o),"opacity"===a&&((o=n.clone(o)).type="colorAlpha",s.__hidden.__alphaForOpacity=new r.Z(o))}})}),a}function u(e,t,i){var r;n.each(i,function(e){t.hasOwnProperty(e)&&l(t[e])&&(r=!0)}),r&&n.each(i,function(i){t.hasOwnProperty(i)&&l(t[i])?e[i]=n.clone(t[i]):delete e[i]})}function h(e,t,i,o,l,s){var u,h={};function c(e){return(0,a.Or)(i,u,e)}function d(e,t){(0,a.LZ)(i,u,e,t)}function p(e,n){u=null==s?e:n;var r=i.getRawDataItem(u);if(!r||!1!==r.visualMap)for(var a=o.call(l,e),p=t[a],g=h[a],f=0,v=g.length;f<v;f++){var y=g[f];p[y]&&p[y].applyVisual(e,c,d)}}n.each(e,function(e){var i=r.Z.prepareVisualTypes(t[e]);h[e]=i}),null==s?i.each(p):i.each([s],p)}function c(e,t,i,o){var l={};return n.each(e,function(e){var i=r.Z.prepareVisualTypes(t[e]);l[e]=i}),{progress:function(e,n){function r(e){return(0,a.Or)(n,h,e)}function s(e,t){(0,a.LZ)(n,h,e,t)}null!=o&&(u=n.getDimensionIndex(o));for(var u,h,c=n.getStore();null!=(h=e.next());){var d=n.getRawDataItem(h);if(!d||!1!==d.visualMap)for(var p=null!=o?c.get(u,h):h,g=i(p),f=t[g],v=l[g],y=0,m=v.length;y<m;y++){var x=v[y];f[x]&&f[x].applyVisual(p,r,s)}}}}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.chunk_TimeSeriesChart=self.chunk_TimeSeriesChart||[]).push([["488"],{56050:function(){}}]);