@perses-dev/timeseries-chart-plugin 0.9.0 → 0.10.0

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 (107) hide show
  1. package/__mf/js/TimeSeriesChart.d3742b3b.js +5 -0
  2. package/__mf/js/async/109.bf4f02fe.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.2c598209.js +5 -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/TimeSeriesChartBase.d.ts.map +1 -1
  42. package/lib/TimeSeriesChartBase.js +2 -2
  43. package/lib/TimeSeriesChartBase.js.map +1 -1
  44. package/lib/TimeSeriesChartOptionsEditorSettings.js +1 -0
  45. package/lib/TimeSeriesChartOptionsEditorSettings.js.map +1 -1
  46. package/lib/TimeSeriesChartPanel.d.ts.map +1 -1
  47. package/lib/TimeSeriesChartPanel.js.map +1 -1
  48. package/lib/TimeSeriesExportAction.d.ts +4 -0
  49. package/lib/TimeSeriesExportAction.d.ts.map +1 -0
  50. package/lib/TimeSeriesExportAction.js +69 -0
  51. package/lib/TimeSeriesExportAction.js.map +1 -0
  52. package/lib/cjs/CSVExportUtils.js +246 -0
  53. package/lib/cjs/TimeSeriesChart.js +8 -1
  54. package/lib/cjs/TimeSeriesChartBase.js +2 -2
  55. package/lib/cjs/TimeSeriesChartOptionsEditorSettings.js +1 -0
  56. package/lib/cjs/TimeSeriesExportAction.js +123 -0
  57. package/lib/cjs/index.js +1 -0
  58. package/lib/index.d.ts +1 -0
  59. package/lib/index.d.ts.map +1 -1
  60. package/lib/index.js +1 -0
  61. package/lib/index.js.map +1 -1
  62. package/mf-manifest.json +41 -90
  63. package/mf-stats.json +41 -90
  64. package/package.json +12 -4
  65. package/__mf/js/983.b0368f8f.js +0 -5
  66. package/__mf/js/TimeSeriesChart.33363c77.js +0 -5
  67. package/__mf/js/async/171.598de6a9.js +0 -7
  68. package/__mf/js/async/173.f6f7e45b.js +0 -2
  69. package/__mf/js/async/214.2d4431c6.js +0 -1
  70. package/__mf/js/async/223.def4d0a9.js +0 -1
  71. package/__mf/js/async/224.ce414ffb.js +0 -1
  72. package/__mf/js/async/238.625b8a48.js +0 -1
  73. package/__mf/js/async/281.a2a87c37.js +0 -2
  74. package/__mf/js/async/292.311e6eb0.js +0 -1
  75. package/__mf/js/async/359.18a264e7.js +0 -2
  76. package/__mf/js/async/409.b4cabab7.js +0 -1
  77. package/__mf/js/async/476.45fca8d3.js +0 -1
  78. package/__mf/js/async/488.0d0b1a91.js +0 -1
  79. package/__mf/js/async/620.d6f96402.js +0 -2
  80. package/__mf/js/async/651.80087530.js +0 -1
  81. package/__mf/js/async/656.d43503a5.js +0 -1
  82. package/__mf/js/async/694.27c70ab1.js +0 -1
  83. package/__mf/js/async/738.0a12bb44.js +0 -1
  84. package/__mf/js/async/740.67107c3c.js +0 -1
  85. package/__mf/js/async/75.5952779d.js +0 -1
  86. package/__mf/js/async/755.f76e3538.js +0 -38
  87. package/__mf/js/async/770.78a741ab.js +0 -1
  88. package/__mf/js/async/780.3fa36115.js +0 -110
  89. package/__mf/js/async/780.3fa36115.js.LICENSE.txt +0 -27
  90. package/__mf/js/async/845.6d99c354.js +0 -73
  91. package/__mf/js/async/879.24def15a.js +0 -2
  92. package/__mf/js/async/960.3047096d.js +0 -2
  93. package/__mf/js/async/964.6dfbf211.js +0 -2
  94. package/__mf/js/async/981.77f901c0.js +0 -2
  95. package/__mf/js/async/__federation_expose_TimeSeriesChart.1e16af77.js +0 -1
  96. package/__mf/js/async/lib-router.098fc614.js +0 -2
  97. package/__mf/js/main.beef92ec.js +0 -1
  98. /package/__mf/js/async/{845.6d99c354.js.LICENSE.txt → 109.bf4f02fe.js.LICENSE.txt} +0 -0
  99. /package/__mf/js/async/{173.f6f7e45b.js.LICENSE.txt → 173.58a1dc61.js.LICENSE.txt} +0 -0
  100. /package/__mf/js/async/{359.18a264e7.js.LICENSE.txt → 53.8edfe937.js.LICENSE.txt} +0 -0
  101. /package/__mf/js/async/{171.598de6a9.js.LICENSE.txt → 547.bb4f1e58.js.LICENSE.txt} +0 -0
  102. /package/__mf/js/async/{281.a2a87c37.js.LICENSE.txt → 797.72ff552e.js.LICENSE.txt} +0 -0
  103. /package/__mf/js/async/{620.d6f96402.js.LICENSE.txt → 863.f147d2ba.js.LICENSE.txt} +0 -0
  104. /package/__mf/js/async/{960.3047096d.js.LICENSE.txt → 960.cd399075.js.LICENSE.txt} +0 -0
  105. /package/__mf/js/async/{964.6dfbf211.js.LICENSE.txt → 964.719c530c.js.LICENSE.txt} +0 -0
  106. /package/__mf/js/async/{981.77f901c0.js.LICENSE.txt → 981.e360e7df.js.LICENSE.txt} +0 -0
  107. /package/__mf/js/async/{lib-router.098fc614.js.LICENSE.txt → lib-router.25a1f509.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).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)){(0,n.each)(i,function(i){e(t,i,s)});return}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;if(!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!function(e,t,i,n,r){if(r){var a=g("update",e,t,n,i);a.duration>0&&e.animateFrom(r,a)}}(e,t,y||0,i,C)}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){a.remove(t);return}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)}}return!function(e,t,i){if(!e.isGroup){var n=i.currentZ,r=i.currentZLevel;e.z=n,e.zlevel=r;var a=t.z2;null!=a&&(e.z2=a||0);for(var o=0;o<N.length;o++)(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)})(e,t,N[o])}}(d,n,r),"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){(function(e){new w.Z(e.oldChildren,e.newChildren,en,en,e).add(er).update(er).remove(ea).execute()})({api:e,oldChildren:t.children()||[],newChildren:a||[],dataIndex:i,seriesModel:r,group:t});return}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=t.childAt(g);f=t,v=m,y=r,v&&(0,P.O3)(v,u(f).option,y)}}}(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)){t.setItemLayout(i,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:M,cx:d,cy:p,r0:f,r:_?NaN:g});return}(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,g=Math.abs(c)<d?Math.sqrt(h*h/(1-c*c/d/d)):d;u.rB=g,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)){this.setShape(u);return}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=8*e.startIndex;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),function(e){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)})})}(e)}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;return e[0]===l[0]?i[0]+" "+u[1]:e[1]===l[1]?i[1]+" "+u[0]: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")){this.group.removeAll();return}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={};if("color"===t){var l=a.get("contentColor");o.color=l}function u(e){return o[e]}function h(e,t){o[e]=t}var c=a.controllerVisuals[n||a.getValueState(e)],d=s.Z.prepareVisualTypes(c);return r.each(d,function(n){var r=c[n];i.convertOpacityToAlpha&&"opacity"===n&&(n="colorAlpha",r=c.__alphaForOpacity),s.Z.dependsOn(n,t)&&r&&r.applyVisual(e,u,h)}),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?"horizontal"===t&&i?{scaleX:"bottom"===e?-1:1,rotation:-Math.PI/2}:"vertical"!==t||i?{scaleX:"left"===e?1:-1}:{scaleX:"left"===e?1:-1,scaleY:-1}:{scaleX:"bottom"===e?1:-1,rotation:Math.PI/2})},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;a=Math.max(parseInt(a,10),1),t.splitNumber=a;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)}}}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["488"],{56050:function(){}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 620.d6f96402.js.LICENSE.txt */
2
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["620"],{37634:function(e,r,t){var o=t(6085);r.createRoot=o.createRoot,r.hydrateRoot=o.hydrateRoot},71426:function(e,r,t){var o=t(54538),n=Symbol.for("react.element"),a=Symbol.for("react.fragment"),f=Object.prototype.hasOwnProperty,c=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function i(e,r,t){var o,a={},i=null,u=null;for(o in void 0!==t&&(i=""+t),void 0!==r.key&&(i=""+r.key),void 0!==r.ref&&(u=r.ref),r)f.call(r,o)&&!s.hasOwnProperty(o)&&(a[o]=r[o]);if(e&&e.defaultProps)for(o in r=e.defaultProps)void 0===a[o]&&(a[o]=r[o]);return{$$typeof:n,type:e,key:i,ref:u,props:a,_owner:c.current}}r.Fragment=a,r.jsx=i,r.jsxs=i},24246:function(e,r,t){e.exports=t(71426)},29161:function(e,r,t){t.r(r);var o=t(24246),n=t(54538),a=t.n(n);t(37634).createRoot(document.getElementById("root")).render((0,o.jsx)(a().StrictMode,{}))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["651"],{17960:function(e,r,t){t.d(r,{Z:()=>n});function n(e){var r=Object.create(null);return function(t){return void 0===r[t]&&(r[t]=e(t)),r[t]}}},42747:function(e,r,t){t.d(r,{O:()=>v});var n,o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=t(17960),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},c=(0,i.Z)(function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()}),f=function(e,r){switch(e){case"animation":case"animationName":if("string"==typeof r)return r.replace(s,function(e,r,t){return n={name:r,styles:t,next:n},r})}return 1===o[e]||l(e)||"number"!=typeof r||0===r?r:r+"px"};function d(e,r,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return n={name:t.name,styles:t.styles,next:n},t.name;if(void 0!==t.styles){var o=t.next;if(void 0!==o)for(;void 0!==o;)n={name:o.name,styles:o.styles,next:n},o=o.next;return t.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=d(e,r,t[o])+";";else for(var i in t){var a=t[i];if("object"!=typeof a)null!=r&&void 0!==r[a]?n+=i+"{"+r[a]+"}":u(a)&&(n+=c(i)+":"+f(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==r||void 0===r[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(n+=c(i)+":"+f(i,a[s])+";");else{var l=d(e,r,a);switch(i){case"animation":case"animationName":n+=c(i)+":"+l+";";break;default:n+=i+"{"+l+"}"}}}return n}(e,r,t);case"function":if(void 0!==e){var i=n,a=t(e);return n=i,d(e,r,a)}}if(null==r)return t;var s=r[t];return void 0!==s?s:t}var m=/label:\s*([^\s;{]+)\s*(;|$)/g;function v(e,r,t){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,i=!0,a="";n=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=d(t,r,s)):a+=s[0];for(var l=1;l<e.length;l++)a+=d(t,r,e[l]),i&&(a+=s[l]);m.lastIndex=0;for(var u="";null!==(o=m.exec(a));)u+="-"+o[1];return{name:function(e){for(var r,t=0,n=0,o=e.length;o>=4;++n,o-=4)r=(65535&(r=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((r>>>16)*59797<<16),r^=r>>>24,t=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)^(65535&t)*0x5bd1e995+((t>>>16)*59797<<16);switch(o){case 3:t^=(255&e.charCodeAt(n+2))<<16;case 2:t^=(255&e.charCodeAt(n+1))<<8;case 1:t^=255&e.charCodeAt(n),t=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)}return t^=t>>>13,(((t=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16))^t>>>15)>>>0).toString(36)}(a)+u,styles:a,next:n}}},70252:function(e,r,t){t.d(r,{Z:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["656"],{14046:function(e,i,n){n.d(i,{Dc:()=>t,gO:()=>a});let a={first:{label:"First",description:"First value"},last:{label:"Last",description:"Last value"},"first-number":{label:"First *",description:"First numeric value"},"last-number":{label:"Last *",description:"Last numeric value"},mean:{label:"Avg",description:"Average value excluding nulls"},sum:{label:"Sum",description:"The sum of all values"},min:{label:"Min",description:"Minimum value"},max:{label:"Max",description:"Maximum value"}};function t(e,i){let n=i.reduce((e,i)=>(e[i]=void 0,e),{}),a=0,t=0;return e.forEach((i,s)=>{let l=i[1];0===s&&"first"in n&&(n.first=l),s===e.length-1&&"last"in n&&(n.last=l),"number"==typeof l&&(a+=1,t+=l,"first-number"in n&&void 0===n["first-number"]&&(n["first-number"]=l),"last-number"in n&&(n["last-number"]=l),"min"in n&&("number"!=typeof n.min?n.min=l:n.min=Math.min(n.min,l)),"max"in n&&("number"!=typeof n.max?n.max=l:n.max=Math.max(n.max,l)))}),a>0&&"sum"in n&&(n.sum=t),a>0&&"mean"in n&&(n.mean=t/a),n}},56050:function(){}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["694"],{17960:function(e,t,r){r.d(t,{Z:()=>n});function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},42747:function(e,t,r){r.d(t,{O:()=>m});var n,i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=r(17960),o=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},d=(0,a.Z)(function(e){return l(e)?e:e.replace(o,"-$&").toLowerCase()}),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return n={name:t,styles:r,next:n},t})}return 1===i[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function p(e,t,r){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return n={name:r.name,styles:r.styles,next:n},r.name;if(void 0!==r.styles){var i=r.next;if(void 0!==i)for(;void 0!==i;)n={name:i.name,styles:i.styles,next:n},i=i.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=p(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o)null!=t&&void 0!==t[o]?n+=a+"{"+t[o]+"}":c(o)&&(n+=d(a)+":"+u(a,o)+";");else if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var s=0;s<o.length;s++)c(o[s])&&(n+=d(a)+":"+u(a,o[s])+";");else{var l=p(e,t,o);switch(a){case"animation":case"animationName":n+=d(a)+":"+l+";";break;default:n+=a+"{"+l+"}"}}}return n}(e,t,r);case"function":if(void 0!==e){var a=n,o=r(e);return n=a,p(e,t,o)}}if(null==t)return r;var s=t[r];return void 0!==s?s:r}var f=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i,a=!0,o="";n=void 0;var s=e[0];null==s||void 0===s.raw?(a=!1,o+=p(r,t,s)):o+=s[0];for(var l=1;l<e.length;l++)o+=p(r,t,e[l]),a&&(o+=s[l]);f.lastIndex=0;for(var c="";null!==(i=f.exec(o));)c+="-"+i[1];return{name:function(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}(o)+c,styles:o,next:n}}},51958:function(e,t,r){r.r(t),r.d(t,{default:()=>g});var n=r(70252),i=r(72116),a=r(42747),o=r(37164),s=r(53211),l=r(54538),c=r(17960),d=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,u=(0,c.Z)(function(e){return d.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),p=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?u:p},m=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},h=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,s.hC)(t,r,n),(0,o.L)(function(){return(0,s.My)(t,r,n)}),null},g=(function e(t,r){var o,c,d=t.__emotion_real===t,u=d&&t.__emotion_base||t;void 0!==r&&(o=r.label,c=r.target);var p=m(t,r,d),g=p||f(u),y=!g("as");return function(){var v=arguments,b=d&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{var k=v[0];b.push(k[0]);for(var x=v.length,C=1;C<x;C++)b.push(v[C],k[C])}var w=(0,i.withEmotionCache)(function(e,t,r){var n=y&&e.as||u,o="",d=[],m=e;if(null==e.theme){for(var v in m={},e)m[v]=e[v];m.theme=l.useContext(i.ThemeContext)}"string"==typeof e.className?o=(0,s.fp)(t.registered,d,e.className):null!=e.className&&(o=e.className+" ");var k=(0,a.O)(b.concat(d),t.registered,m);o+=t.key+"-"+k.name,void 0!==c&&(o+=" "+c);var x=y&&void 0===p?f(n):g,C={};for(var w in e)(!y||"as"!==w)&&x(w)&&(C[w]=e[w]);return C.className=o,r&&(C.ref=r),l.createElement(l.Fragment,null,l.createElement(h,{cache:t,serialized:k,isStringTag:"string"==typeof n}),l.createElement(n,C))});return w.displayName=void 0!==o?o:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",w.defaultProps=t.defaultProps,w.__emotion_real=w,w.__emotion_base=u,w.__emotion_styles=b,w.__emotion_forwardProp=p,Object.defineProperty(w,"toString",{value:function(){return"."+c}}),w.withComponent=function(t,i){return e(t,(0,n.Z)({},r,i,{shouldForwardProp:m(w,i,!0)})).apply(void 0,b)},w}}).bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){g[e]=g(e)})},37164:function(e,t,r){r.d(t,{L:()=>a,j:()=>o});var n=r(54538),i=!!n.useInsertionEffect&&n.useInsertionEffect,a=i||function(e){return e()},o=i||n.useLayoutEffect},53211:function(e,t,r){function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{My:()=>a,fp:()=>n,hC:()=>i});var i=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){i(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(void 0!==a)}}},70252:function(e,t,r){r.d(t,{Z:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["738"],{81228:function(e,t,s){s.r(t),s.d(t,{toNestErrors:()=>a,validateFieldsNatively:()=>l});var i=s(36679);let r=(e,t,s)=>{if(e&&"reportValidity"in e){let r=(0,i.get)(s,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},l=(e,t)=>{for(let s in t.fields){let i=t.fields[s];i&&i.ref&&"reportValidity"in i.ref?r(i.ref,s,e):i.refs&&i.refs.forEach(t=>r(t,s,e))}},a=(e,t)=>{t.shouldUseNativeValidation&&l(e,t);let s={};for(let r in e){let l=(0,i.get)(t.fields,r),a=Object.assign(e[r]||{},{ref:l&&l.ref});if(f(t.names||Object.keys(e),r)){let e=Object.assign({},(0,i.get)(s,r));(0,i.set)(e,"root",a),(0,i.set)(s,r,e)}else(0,i.set)(s,r,a)}return s},f=(e,t)=>e.some(e=>e.startsWith(t+"."))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["740"],{48872:function(e,t,n){n.r(t),n.d(t,{getTimezoneOffset:()=>P,toDate:()=>y,toZonedTime:()=>v,format:()=>z,formatInTimeZone:()=>W,fromZonedTime:()=>X});var r=n(16332),i=n(57871);function a(e,t,n){var r,a,u;let l=(0,i.getDefaultOptions)(),o=(r=e,a=n.timeZone,u=n.locale??l.locale,new Intl.DateTimeFormat(u?[u.code,"en-US"]:void 0,{timeZone:a,timeZoneName:r}));return"formatToParts"in o?function(e,t){let n=e.formatToParts(t);for(let e=n.length-1;e>=0;--e)if("timeZoneName"===n[e].type)return n[e].value}(o,t):function(e,t){let n=e.format(t).replace(/\u200E/g,""),r=/ [\w-+ ]+$/.exec(n);return r?r[0].substr(1):""}(o,t)}let u={year:0,month:1,day:2,hour:3,minute:4,second:5},l={},o=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),c="06/25/2014, 00:00:00"===o||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===o;function s(e,t,n,r,i,a,u){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(r,i,a,u),l}let f=/^(Z)$/,d=/^([+-]\d{2})$/,g=/^([+-])(\d{2}):?(\d{2})$/;function m(e,t,n){let r,i;if(!e)return 0;let a=f.exec(e);if(a)return 0;if(a=d.exec(e))return w(r=parseInt(a[1],10))?-(36e5*r):NaN;if(a=g.exec(e)){r=parseInt(a[2],10);let e=parseInt(a[3],10);return w(r,e)?(i=36e5*Math.abs(r)+6e4*e,"+"===a[1]?-i:i):NaN}if(function(e){if(h[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),h[e]=!0,!0}catch(e){return!1}}(e)){var u;t=new Date(t||Date.now());let r=D(n?t:s((u=t).getFullYear(),u.getMonth(),u.getDate(),u.getHours(),u.getMinutes(),u.getSeconds(),u.getMilliseconds()),e);return-(n?r:function(e,t,n){let r=e.getTime()-t,i=D(new Date(r),n);if(t===i)return t;let a=D(new Date(r-=i-t),n);return i===a?i:Math.max(i,a)}(t,r,e))}return NaN}function D(e,t){let n=function(e,t){var n;let r=(l[n=t]||(l[n]=c?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),l[n]);return"formatToParts"in r?function(e,t){try{let n=e.formatToParts(t),r=[];for(let e=0;e<n.length;e++){let t=u[n[e].type];void 0!==t&&(r[t]=parseInt(n[e].value,10))}return r}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(r,e):function(e,t){let n=e.format(t),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(r[3],10),parseInt(r[1],10),parseInt(r[2],10),parseInt(r[4],10),parseInt(r[5],10),parseInt(r[6],10)]}(r,e)}(e,t),r=s(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),i=e.getTime(),a=i%1e3;return r-(i-=a>=0?a:1e3+a)}function w(e,t){return -23<=e&&e<=23&&(null==t||0<=t&&t<=59)}let h={},T={X:function(e,t,n){let r=p(n.timeZone,e);if(0===r)return"Z";switch(t){case"X":return M(r);case"XXXX":case"XX":return Y(r);default:return Y(r,":")}},x:function(e,t,n){let r=p(n.timeZone,e);switch(t){case"x":return M(r);case"xxxx":case"xx":return Y(r);default:return Y(r,":")}},O:function(e,t,n){let r=p(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){let n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;return 0===a?n+String(i):n+String(i)+t+N(a,2)}(r,":");default:return"GMT"+Y(r,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return a("short",e,n);default:return a("long",e,n)}}};function p(e,t){let n=e?m(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(n))throw RangeError("Invalid time zone specified: "+e);return n}function N(e,t){let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return(e<0?"-":"")+n}function Y(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+N(Math.floor(n/60),2)+t+N(Math.floor(n%60),2)}function M(e,t){return e%60==0?(e>0?"-":"+")+N(Math.abs(e)/60,2):Y(e,t)}function x(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}let Z=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,I={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:Z};function y(e,t={}){if(arguments.length<1)throw TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);let n=null==t.additionalDigits?2:Number(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);let r=function(e){let t;let n={},r=I.dateTimePattern.exec(e);if(r?(n.date=r[1],t=r[3]):(r=I.datePattern.exec(e))?(n.date=r[1],t=r[2]):(n.date=null,t=e),t){let e=I.timeZone.exec(t);e?(n.time=t.replace(e[1],""),n.timeZone=e[1].trim()):n.time=t}return n}(e),{year:i,restDateString:a}=function(e,t){if(e){let n=I.YYY[t],r=I.YYYYY[t],i=I.YYYY.exec(e)||r.exec(e);if(i){let t=i[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(i=I.YY.exec(e)||n.exec(e)){let t=i[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(r.date,n),u=function(e,t){let n,r,i;if(null===t)return null;if(!e||!e.length)return(n=new Date(0)).setUTCFullYear(t),n;let a=I.MM.exec(e);if(a)return(n=new Date(0),F(t,r=parseInt(a[1],10)-1))?(n.setUTCFullYear(t,r),n):new Date(NaN);if(a=I.DDD.exec(e)){n=new Date(0);let e=parseInt(a[1],10);return!function(e,t){if(t<1)return!1;let n=b(e);return(!n||!(t>366))&&(!!n||!(t>365))}(t,e)?new Date(NaN):(n.setUTCFullYear(t,0,e),n)}if(a=I.MMDD.exec(e)){n=new Date(0),r=parseInt(a[1],10)-1;let e=parseInt(a[2],10);return F(t,r,e)?(n.setUTCFullYear(t,r,e),n):new Date(NaN)}if(a=I.Www.exec(e))return H(i=parseInt(a[1],10)-1)?C(t,i):new Date(NaN);if(a=I.WwwD.exec(e)){i=parseInt(a[1],10)-1;let e=parseInt(a[2],10)-1;return H(i,e)?C(t,i,e):new Date(NaN)}return null}(a,i);if(null===u||isNaN(u.getTime())||!u)return new Date(NaN);{let e;let n=u.getTime(),i=0;if(r.time&&(null===(i=function(e){let t,n;let r=I.HH.exec(e);if(r)return $(t=parseFloat(r[1].replace(",",".")))?t%24*36e5:NaN;if(r=I.HHMM.exec(e))return $(t=parseInt(r[1],10),n=parseFloat(r[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(r=I.HHMMSS.exec(e)){t=parseInt(r[1],10),n=parseInt(r[2],10);let e=parseFloat(r[3].replace(",","."));return $(t,n,e)?t%24*36e5+6e4*n+1e3*e:NaN}return null}(r.time))||isNaN(i)))return new Date(NaN);if(r.timeZone||t.timeZone){if(isNaN(e=m(r.timeZone||t.timeZone,new Date(n+i))))return new Date(NaN)}else e=x(new Date(n+i)),e=x(new Date(n+i+e));return new Date(n+i+e)}}function C(e,t,n){t=t||0,n=n||0;let r=new Date(0);r.setUTCFullYear(e,0,4);let i=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}let U=[31,28,31,30,31,30,31,31,30,31,30,31],S=[31,29,31,30,31,30,31,31,30,31,30,31];function b(e){return e%400==0||e%4==0&&e%100!=0}function F(e,t,n){if(t<0||t>11)return!1;if(null!=n){if(n<1)return!1;let r=b(e);if(r&&n>S[t]||!r&&n>U[t])return!1}return!0}function H(e,t){return!(e<0)&&!(e>52)&&(null==t||!(t<0)&&!(t>6))}function $(e,t,n){return!(e<0)&&!(e>=25)&&(null==t||!(t<0)&&!(t>=60))&&(null==n||!(n<0)&&!(n>=60))}let O=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function z(e,t,n={}){let i=(t=String(t)).match(O);if(i){let r=y(n.originalDate||e,n);t=i.reduce(function(e,t){if("'"===t[0])return e;let i=e.indexOf(t),a="'"===e[i-1],u=e.replace(t,"'"+T[t[0]](r,t,n)+"'");return a?u.substring(0,i-1)+u.substring(i+1):u},t)}return(0,r.WU)(e,t,n)}function v(e,t,n){let r=m(t,e=y(e,n),!0),i=new Date(e.getTime()-r),a=new Date(0);return a.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),a.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),a}function W(e,t,n,r){return r={...r,timeZone:t,originalDate:e},z(v(e,t,{timeZone:r.timeZone}),n,r)}function X(e,t,n){if("string"==typeof e&&!e.match(Z))return y(e,{...n,timeZone:t});let r=s((e=y(e,n)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),i=m(t,new Date(r));return new Date(r+i)}function P(e,t){return-m(e,t)}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkTimeSeriesChart=self.webpackChunkTimeSeriesChart||[]).push([["75"],{99657:function(e,t,n){n.r(t),n.d(t,{endOfWeek:()=>ek.v,formatRFC7231:()=>eG,getISOWeekYear:()=>h.L,isFirstDayOfMonth:()=>tw,roundToNearestHours:()=>nB,intlFormat:()=>tS,subHours:()=>rM,differenceInMinutes:()=>en,eachHourOfInterval:()=>eh,isThisWeek:()=>tG,getMilliseconds:()=>ta.p,nextDay:()=>nT,formatDate:()=>eC.p6,isEqual:()=>tI.X,startOfQuarter:()=>eD,startOfHour:()=>ro.o,lastDayOfISOWeek:()=>nt,isBefore:()=>tp.R,eachWeekOfInterval:()=>ey,isMatch:()=>tb,compareAsc:()=>F,isThisHour:()=>tZ,lightFormat:()=>nf,parse:()=>t$.Qc,isSameMinute:()=>tz,addSeconds:()=>O.v,differenceInHours:()=>V,quartersToYears:()=>nZ,addDays:()=>r.E,getSeconds:()=>to.C,lastDayOfMonth:()=>tg,formatters:()=>eC.$0,quartersToMonths:()=>nq,previousTuesday:()=>n_,subYears:()=>rO,endOfISOWeek:()=>ew,getISODay:()=>tt.t,differenceInCalendarMonths:()=>J,milliseconds:()=>nc,getHours:()=>te.p,isSameHour:()=>tL.f,endOfDecade:()=>eY,addMinutes:()=>v.m,isSameISOWeek:()=>tE,hoursToMilliseconds:()=>tm,formatDistanceStrict:()=>ez,eachDayOfInterval:()=>ed,addQuarters:()=>T,isLastDayOfMonth:()=>ei,isTuesday:()=>t5,setMonth:()=>nG.q,getDay:()=>e3,compareDesc:()=>$,getQuarter:()=>_,isSameWeek:()=>tC,addYears:()=>N.B,subWeeks:()=>rT,setDate:()=>n1.G,startOfISOWeekYear:()=>M.E,endOfYesterday:()=>eL,add:()=>s,startOfDay:()=>ru.b,isSameISOWeekYear:()=>tU,endOfISOWeekYear:()=>eH,daysToWeeks:()=>x,endOfMonth:()=>ea.V,isThursday:()=>t1,format:()=>eC.WU,isFriday:()=>tH,isPast:()=>tx,setWeek:()=>rn.$,yearsToDays:()=>rQ,areIntervalsOverlapping:()=>Q,isSameMonth:()=>tR.x,setDay:()=>n2.v,constructFrom:()=>i.L,isSameDay:()=>L.K,closestIndexTo:()=>w,eachMinuteOfInterval:()=>eg,nextSunday:()=>nQ,formatDistanceToNow:()=>eR,previousDay:()=>nE,setQuarter:()=>re,startOfMonth:()=>eT.N,transpose:()=>rS.p,fromUnixTime:()=>e1,differenceInMonths:()=>eu,eachWeekendOfMonth:()=>eO,hoursToMinutes:()=>ty,lastDayOfWeek:()=>ne,setHours:()=>n6.B,endOfHour:()=>eI,startOfYesterday:()=>rc,setISOWeekYear:()=>D,minutesToSeconds:()=>nm,subBusinessDays:()=>rg,nextWednesday:()=>nI,endOfTomorrow:()=>ex,startOfSecond:()=>t_,previousWednesday:()=>nX,max:()=>Y,startOfToday:()=>rl,subDays:()=>t4,differenceInISOWeekYears:()=>ee,hoursToSeconds:()=>tv,addHours:()=>d.T,subSeconds:()=>rv,getWeeksInMonth:()=>tM,isSameYear:()=>tq.F,previousSaturday:()=>nz,setISOWeek:()=>n4.M,isExists:()=>tk,getOverlappingDaysInIntervals:()=>ts,min:()=>I,previousThursday:()=>nJ,millisecondsToSeconds:()=>ng,secondsToMilliseconds:()=>nK,nextThursday:()=>np,lastDayOfQuarter:()=>nr,addISOWeekYears:()=>m,setYear:()=>ri.M,differenceInCalendarQuarters:()=>X,getDate:()=>e2._,roundToNearestMinutes:()=>nA,isThisISOWeek:()=>tB,longFormatters:()=>eC.Gw,parseJSON:()=>nC,intlFormatDistance:()=>tN,secondsToHours:()=>nP,parsers:()=>t$.fQ,endOfSecond:()=>eb,formatISO9075:()=>eB,interval:()=>tT,nextSaturday:()=>nN,addMonths:()=>a.z,getDaysInMonth:()=>e6.N,lightFormatters:()=>ni.o,startOfTomorrow:()=>rf,isWithinInterval:()=>t9._,isValid:()=>C.J,setISODay:()=>n9.v,getISOWeeksInYear:()=>tr,setDayOfYear:()=>n3,isSameQuarter:()=>tJ,differenceInDays:()=>A,isWednesday:()=>t6,monthsToYears:()=>nv,endOfQuarter:()=>e$,getWeek:()=>tc.Q,nextMonday:()=>nS,nextFriday:()=>nO,startOfDecade:()=>rs,subISOWeekYears:()=>G,getDefaultOptions:()=>e8.j,formatRFC3339:()=>eP,lastDayOfISOWeekYear:()=>nn,getWeekYear:()=>th.c,formatRelative:()=>e0,formatDistanceToNowStrict:()=>eJ,isSameSecond:()=>tX,isThisQuarter:()=>tK,monthsToQuarters:()=>ny,differenceInBusinessDays:()=>E,endOfToday:()=>eW,addMilliseconds:()=>y.n,isMonday:()=>tW,subMonths:()=>rd,getISOWeek:()=>tn.l,eachMonthOfInterval:()=>eM,subQuarters:()=>ry,secondsToMinutes:()=>nV,formatISODuration:()=>eA,yearsToQuarters:()=>rY,differenceInMilliseconds:()=>et,millisecondsToMinutes:()=>nh,differenceInCalendarDays:()=>g.w,getUnixTime:()=>tf,setMinutes:()=>n8.H,previousFriday:()=>nU,setSeconds:()=>rt.O,minutesToMilliseconds:()=>nD,formatDuration:()=>eX,differenceInCalendarYears:()=>B,isThisSecond:()=>tV,yearsToMonths:()=>rp,subMinutes:()=>rm,lastDayOfYear:()=>na,weeksToDays:()=>rN,subMilliseconds:()=>rD,previousSunday:()=>nR,eachWeekendOfYear:()=>eQ,startOfMinute:()=>tj,startOfWeekYear:()=>rr.v,minutesToHours:()=>nM,isFuture:()=>tF,differenceInWeeks:()=>el,getDecade:()=>e7,previousMonday:()=>nj,getYear:()=>tD.S,getMonth:()=>tu.j,differenceInCalendarISOWeeks:()=>R,differenceInSeconds:()=>eo,eachYearOfInterval:()=>ep,endOfMinute:()=>eF,isThisMonth:()=>tP,isToday:()=>t2,nextTuesday:()=>nY,getTime:()=>tl,intervalToDuration:()=>tO,millisecondsToHours:()=>nd,getWeekOfMonth:()=>td,differenceInYears:()=>ef,eachWeekendOfInterval:()=>ev,startOfWeek:()=>q.z,toDate:()=>u.Q,formatDistance:()=>ej,getDayOfYear:()=>e5.B,addBusinessDays:()=>c,isSaturday:()=>o,addWeeks:()=>S.j,isDate:()=>tY.J,isLeapYear:()=>e9,startOfISOWeek:()=>z.T,clamp:()=>k,differenceInCalendarISOWeekYears:()=>U,setDefaultOptions:()=>n5,constructNow:()=>b,endOfYear:()=>eS.w,set:()=>n0,sub:()=>rh,formatISO:()=>eZ,eachQuarterOfInterval:()=>em,isAfter:()=>tQ.A,isWeekend:()=>f,isTomorrow:()=>t3,getMinutes:()=>ti.q,endOfDay:()=>er.i,getDaysInYear:()=>e4,isSunday:()=>l,differenceInCalendarWeeks:()=>Z,differenceInQuarters:()=>es,isThisYear:()=>t0,lastDayOfDecade:()=>t8,closestTo:()=>H,isThisMinute:()=>tA,isYesterday:()=>t7,setWeekYear:()=>ra,parseISO:()=>nk,setMilliseconds:()=>n7.I,startOfYear:()=>eN.e});var r=n(29435),a=n(39489),i=n(63879),u=n(55753);function s(e,t,n){let{years:s=0,months:o=0,weeks:l=0,days:f=0,hours:c=0,minutes:d=0,seconds:h=0}=t,g=(0,u.Q)(e,n?.in),M=o||s?(0,a.z)(g,o+12*s):g,D=f||l?(0,r.E)(M,f+7*l):M;return(0,i.L)(n?.in||e,+D+1e3*(h+60*(d+60*c)))}function o(e,t){return 6===(0,u.Q)(e,t?.in).getDay()}function l(e,t){return 0===(0,u.Q)(e,t?.in).getDay()}function f(e,t){let n=(0,u.Q)(e,t?.in).getDay();return 0===n||6===n}function c(e,t,n){let r=(0,u.Q)(e,n?.in),a=f(r,n);if(isNaN(t))return(0,i.L)(n?.in,NaN);let s=r.getHours(),c=t<0?-1:1,d=Math.trunc(t/5);r.setDate(r.getDate()+7*d);let h=Math.abs(t%5);for(;h>0;)r.setDate(r.getDate()+c),f(r,n)||(h-=1);return a&&f(r,n)&&0!==t&&(o(r,n)&&r.setDate(r.getDate()+(c<0?2:-1)),l(r,n)&&r.setDate(r.getDate()+(c<0?1:-2))),r.setHours(s),r}var d=n(22694),h=n(55795),g=n(56512),M=n(66024);function D(e,t,n){let r=(0,u.Q)(e,n?.in),a=(0,g.w)(r,(0,M.E)(r,n)),s=(0,i.L)(n?.in||e,0);return s.setFullYear(t,0,4),s.setHours(0,0,0,0),(r=(0,M.E)(s)).setDate(r.getDate()+a),r}function m(e,t,n){return D(e,(0,h.L)(e,n)+t,n)}var y=n(92450),v=n(14336);function T(e,t,n){return(0,a.z)(e,3*t,n)}var O=n(32791),S=n(5154),N=n(6341);function Q(e,t,n){let[r,a]=[+(0,u.Q)(e.start,n?.in),+(0,u.Q)(e.end,n?.in)].sort((e,t)=>e-t),[i,s]=[+(0,u.Q)(t.start,n?.in),+(0,u.Q)(t.end,n?.in)].sort((e,t)=>e-t);return n?.inclusive?r<=s&&i<=a:r<s&&i<a}var p=n(5643);function Y(e,t){let n;let r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=i.L.bind(null,e));let t=(0,u.Q)(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),(0,i.L)(r,n||NaN)}function I(e,t){let n;let r=t?.in;return e.forEach(e=>{r||"object"!=typeof e||(r=i.L.bind(null,e));let t=(0,u.Q)(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),(0,i.L)(r,n||NaN)}function k(e,t,n){let[r,a,i]=(0,p.d)(n?.in,e,t.start,t.end);return I([Y([r,a],n),i],n)}function w(e,t){let n,r;let a=+(0,u.Q)(e);return isNaN(a)?NaN:(t.forEach((e,t)=>{let i=(0,u.Q)(e);if(isNaN(+i)){n=NaN,r=NaN;return}let s=Math.abs(a-+i);(null==n||s<r)&&(n=t,r=s)}),n)}function H(e,t,n){let[r,...a]=(0,p.d)(n?.in,e,...t),u=w(r,a);return"number"==typeof u&&isNaN(u)?(0,i.L)(r,NaN):void 0!==u?a[u]:void 0}function F(e,t){let n=+(0,u.Q)(e)-+(0,u.Q)(t);return n<0?-1:n>0?1:n}function $(e,t){let n=+(0,u.Q)(e)-+(0,u.Q)(t);return n>0?-1:n<0?1:n}function b(e){return(0,i.L)(e,Date.now())}var W=n(25274);function x(e){let t=Math.trunc(e/W.ju);return 0===t?0:t}var L=n(97912),C=n(53743);function E(e,t,n){let[a,i]=(0,p.d)(n?.in,e,t);if(!(0,C.J)(a)||!(0,C.J)(i))return NaN;let u=(0,g.w)(a,i),s=u<0?-1:1,o=Math.trunc(u/7),l=5*o,c=(0,r.E)(i,7*o);for(;!(0,L.K)(a,c);)l+=f(c,n)?0:s,c=(0,r.E)(c,s);return 0===l?0:l}function U(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return(0,h.L)(r,n)-(0,h.L)(a,n)}var j=n(67337),z=n(15889);function R(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=(0,z.T)(r),u=(0,z.T)(a);return Math.round((+i-(0,j.D)(i)-(+u-(0,j.D)(u)))/W.jE)}function J(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return 12*(r.getFullYear()-a.getFullYear())+(r.getMonth()-a.getMonth())}function _(e,t){return Math.trunc((0,u.Q)(e,t?.in).getMonth()/3)+1}function X(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return 4*(r.getFullYear()-a.getFullYear())+(_(r)-_(a))}var q=n(5149);function Z(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=(0,q.z)(r,n),u=(0,q.z)(a,n);return Math.round((+i-(0,j.D)(i)-(+u-(0,j.D)(u)))/W.jE)}function B(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return r.getFullYear()-a.getFullYear()}function A(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=P(r,a),u=Math.abs((0,g.w)(r,a));r.setDate(r.getDate()-i*u);let s=Number(P(r,a)===-i),o=i*(u-s);return 0===o?0:o}function P(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function K(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}function V(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=(+r-+a)/W.vh;return K(n?.roundingMethod)(i)}function G(e,t,n){return m(e,-t,n)}function ee(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=F(r,a),u=Math.abs(U(r,a,n)),s=Number(F(G(r,i*u,n),a)===-i),o=i*(u-s);return 0===o?0:o}function et(e,t){return+(0,u.Q)(e)-+(0,u.Q)(t)}function en(e,t,n){let r=et(e,t)/W.yJ;return K(n?.roundingMethod)(r)}var er=n(13189),ea=n(24575);function ei(e,t){let n=(0,u.Q)(e,t?.in);return+(0,er.i)(n,t)==+(0,ea.V)(n,t)}function eu(e,t,n){let[r,a,i]=(0,p.d)(n?.in,e,e,t),u=F(a,i),s=Math.abs(J(a,i));if(s<1)return 0;1===a.getMonth()&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-u*s);let o=F(a,i)===-u;ei(r)&&1===s&&1===F(r,i)&&(o=!1);let l=u*(s-+o);return 0===l?0:l}function es(e,t,n){let r=eu(e,t,n)/3;return K(n?.roundingMethod)(r)}function eo(e,t,n){let r=et(e,t)/1e3;return K(n?.roundingMethod)(r)}function el(e,t,n){let r=A(e,t,n)/7;return K(n?.roundingMethod)(r)}function ef(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t),i=F(r,a),u=Math.abs(B(r,a));r.setFullYear(1584),a.setFullYear(1584);let s=F(r,a)===-i,o=i*(u-+s);return 0===o?0:o}function ec(e,t){let[n,r]=(0,p.d)(e,t.start,t.end);return{start:n,end:r}}function ed(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setDate(s.getDate()+o),s.setHours(0,0,0,0);return a?l.reverse():l}function eh(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setMinutes(0,0,0);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setHours(s.getHours()+o);return a?l.reverse():l}function eg(e,t){let{start:n,end:r}=ec(t?.in,e);n.setSeconds(0,0);let a=+n>+r,u=a?+n:+r,s=a?r:n,o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s=(0,v.m)(s,o);return a?l.reverse():l}function eM(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0),s.setDate(1);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setMonth(s.getMonth()+o);return a?l.reverse():l}function eD(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3,1),n.setHours(0,0,0,0),n}function em(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+eD(n):+eD(r),s=a?eD(r):eD(n),o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s=T(s,o);return a?l.reverse():l}function ey(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?(0,q.z)(r,t):(0,q.z)(n,t),s=a?(0,q.z)(n,t):(0,q.z)(r,t);u.setHours(15),s.setHours(15);let o=+s.getTime(),l=u,f=t?.step??1;if(!f)return[];f<0&&(f=-f,a=!a);let c=[];for(;+l<=o;)l.setHours(0),c.push((0,i.L)(n,l)),(l=(0,S.j)(l,f)).setHours(15);return a?c.reverse():c}function ev(e,t){let{start:n,end:r}=ec(t?.in,e),a=ed({start:n,end:r},t),u=[],s=0;for(;s<a.length;){let e=a[s++];f(e)&&u.push((0,i.L)(n,e))}return u}var eT=n(50007);function eO(e,t){return ev({start:(0,eT.N)(e,t),end:(0,ea.V)(e,t)},t)}var eS=n(89880),eN=n(18874);function eQ(e,t){return ev({start:(0,eN.e)(e,t),end:(0,eS.w)(e,t)},t)}function ep(e,t){let{start:n,end:r}=ec(t?.in,e),a=+n>+r,u=a?+n:+r,s=a?r:n;s.setHours(0,0,0,0),s.setMonth(0,1);let o=t?.step??1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=u;)l.push((0,i.L)(n,s)),s.setFullYear(s.getFullYear()+o);return a?l.reverse():l}function eY(e,t){let n=(0,u.Q)(e,t?.in),r=9+10*Math.floor(n.getFullYear()/10);return n.setFullYear(r,11,31),n.setHours(23,59,59,999),n}function eI(e,t){let n=(0,u.Q)(e,t?.in);return n.setMinutes(59,59,999),n}var ek=n(35918);function ew(e,t){return(0,ek.v)(e,{...t,weekStartsOn:1})}function eH(e,t){let n=(0,h.L)(e,t),r=(0,i.L)(t?.in||e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let a=(0,z.T)(r,t);return a.setMilliseconds(a.getMilliseconds()-1),a}function eF(e,t){let n=(0,u.Q)(e,t?.in);return n.setSeconds(59,999),n}function e$(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3+3,0),n.setHours(23,59,59,999),n}function eb(e,t){let n=(0,u.Q)(e,t?.in);return n.setMilliseconds(999),n}function eW(e){return(0,er.i)(Date.now(),e)}function ex(e){let t=b(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=b(e?.in);return i.setFullYear(n,r,a+1),i.setHours(23,59,59,999),e?.in?e.in(i):i}function eL(e){let t=b(e?.in),n=(0,i.L)(e?.in,0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()-1),n.setHours(23,59,59,999),n}var eC=n(16332),eE=n(14257),eU=n(85095);function ej(e,t,n){let r;let a=(0,eU.j)(),i=n?.locale??a.locale??eE._,u=F(e,t);if(isNaN(u))throw RangeError("Invalid time value");let s=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:u}),[o,l]=(0,p.d)(n?.in,...u>0?[t,e]:[e,t]),f=eo(l,o),c=Math.round((f-((0,j.D)(l)-(0,j.D)(o))/1e3)/60);if(c<2){if(n?.includeSeconds){if(f<5)return i.formatDistance("lessThanXSeconds",5,s);if(f<10)return i.formatDistance("lessThanXSeconds",10,s);if(f<20)return i.formatDistance("lessThanXSeconds",20,s);else if(f<40)return i.formatDistance("halfAMinute",0,s);else if(f<60)return i.formatDistance("lessThanXMinutes",1,s);else return i.formatDistance("xMinutes",1,s)}return 0===c?i.formatDistance("lessThanXMinutes",1,s):i.formatDistance("xMinutes",c,s)}if(c<45)return i.formatDistance("xMinutes",c,s);if(c<90)return i.formatDistance("aboutXHours",1,s);if(c<W.H_){let e=Math.round(c/60);return i.formatDistance("aboutXHours",e,s)}if(c<2520)return i.formatDistance("xDays",1,s);else if(c<W.fH){let e=Math.round(c/W.H_);return i.formatDistance("xDays",e,s)}else if(c<2*W.fH)return r=Math.round(c/W.fH),i.formatDistance("aboutXMonths",r,s);if((r=eu(l,o))<12){let e=Math.round(c/W.fH);return i.formatDistance("xMonths",e,s)}{let e=r%12,t=Math.trunc(r/12);return e<3?i.formatDistance("aboutXYears",t,s):e<9?i.formatDistance("overXYears",t,s):i.formatDistance("almostXYears",t+1,s)}}function ez(e,t,n){let r;let a=(0,eU.j)(),i=n?.locale??a.locale??eE._,u=F(e,t);if(isNaN(u))throw RangeError("Invalid time value");let s=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:u}),[o,l]=(0,p.d)(n?.in,...u>0?[t,e]:[e,t]),f=K(n?.roundingMethod??"round"),c=l.getTime()-o.getTime(),d=c/W.yJ,h=(c-((0,j.D)(l)-(0,j.D)(o)))/W.yJ,g=n?.unit;if("second"===(r=g||(d<1?"second":d<60?"minute":d<W.H_?"hour":h<W.fH?"day":h<W.UU?"month":"year"))){let e=f(c/1e3);return i.formatDistance("xSeconds",e,s)}if("minute"===r){let e=f(d);return i.formatDistance("xMinutes",e,s)}if("hour"===r){let e=f(d/60);return i.formatDistance("xHours",e,s)}if("day"===r){let e=f(h/W.H_);return i.formatDistance("xDays",e,s)}if("month"===r){let e=f(h/W.fH);return 12===e&&"month"!==g?i.formatDistance("xYears",1,s):i.formatDistance("xMonths",e,s)}else{let e=f(h/W.UU);return i.formatDistance("xYears",e,s)}}function eR(e,t){return ej(e,b(e),t)}function eJ(e,t){return ez(e,b(e),t)}let e_=["years","months","weeks","days","hours","minutes","seconds"];function eX(e,t){let n=(0,eU.j)(),r=t?.locale??n.locale??eE._,a=t?.format??e_,i=t?.zero??!1,u=t?.delimiter??" ";return r.formatDistance?a.reduce((t,n)=>{let a=`x${n.replace(/(^.)/,e=>e.toUpperCase())}`,u=e[n];return void 0!==u&&(i||e[n])?t.concat(r.formatDistance(a,u)):t},[]).join(u):""}var eq=n(73577);function eZ(e,t){let n=(0,u.Q)(e,t?.in);if(isNaN(+n))throw RangeError("Invalid time value");let r=t?.format??"extended",a=t?.representation??"complete",i="",s="",o="extended"===r?"-":"";if("time"!==a){let e=(0,eq.r)(n.getDate(),2),t=(0,eq.r)(n.getMonth()+1,2),r=(0,eq.r)(n.getFullYear(),4);i=`${r}${o}${t}${o}${e}`}if("date"!==a){let e=n.getTimezoneOffset();if(0!==e){let t=Math.abs(e),n=(0,eq.r)(Math.trunc(t/60),2),r=(0,eq.r)(t%60,2);s=`${e<0?"+":"-"}${n}:${r}`}else s="Z";let t=(0,eq.r)(n.getHours(),2),a=(0,eq.r)(n.getMinutes(),2),u=(0,eq.r)(n.getSeconds(),2),o=""===i?"":"T",l=[t,a,u].join("extended"===r?":":"");i=`${i}${o}${l}${s}`}return i}function eB(e,t){let n=(0,u.Q)(e,t?.in);if(!(0,C.J)(n))throw RangeError("Invalid time value");let r=t?.format??"extended",a=t?.representation??"complete",i="",s="extended"===r?"-":"",o="extended"===r?":":"";if("time"!==a){let e=(0,eq.r)(n.getDate(),2),t=(0,eq.r)(n.getMonth()+1,2),r=(0,eq.r)(n.getFullYear(),4);i=`${r}${s}${t}${s}${e}`}if("date"!==a){let e=(0,eq.r)(n.getHours(),2),t=(0,eq.r)(n.getMinutes(),2),r=(0,eq.r)(n.getSeconds(),2),a=""===i?"":" ";i=`${i}${a}${e}${o}${t}${o}${r}`}return i}function eA(e){let{years:t=0,months:n=0,days:r=0,hours:a=0,minutes:i=0,seconds:u=0}=e;return`P${t}Y${n}M${r}DT${a}H${i}M${u}S`}function eP(e,t){let n=(0,u.Q)(e,t?.in);if(!(0,C.J)(n))throw RangeError("Invalid time value");let r=t?.fractionDigits??0,a=(0,eq.r)(n.getDate(),2),i=(0,eq.r)(n.getMonth()+1,2),s=n.getFullYear(),o=(0,eq.r)(n.getHours(),2),l=(0,eq.r)(n.getMinutes(),2),f=(0,eq.r)(n.getSeconds(),2),c="";if(r>0){let e=Math.trunc(n.getMilliseconds()*Math.pow(10,r-3));c="."+(0,eq.r)(e,r)}let d="",h=n.getTimezoneOffset();if(0!==h){let e=Math.abs(h),t=(0,eq.r)(Math.trunc(e/60),2),n=(0,eq.r)(e%60,2);d=`${h<0?"+":"-"}${t}:${n}`}else d="Z";return`${s}-${i}-${a}T${o}:${l}:${f}${c}${d}`}let eK=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],eV=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function eG(e){let t=(0,u.Q)(e);if(!(0,C.J)(t))throw RangeError("Invalid time value");let n=eK[t.getUTCDay()],r=(0,eq.r)(t.getUTCDate(),2),a=eV[t.getUTCMonth()],i=t.getUTCFullYear(),s=(0,eq.r)(t.getUTCHours(),2),o=(0,eq.r)(t.getUTCMinutes(),2),l=(0,eq.r)(t.getUTCSeconds(),2);return`${n}, ${r} ${a} ${i} ${s}:${o}:${l} GMT`}function e0(e,t,n){let r;let[a,i]=(0,p.d)(n?.in,e,t),u=(0,eU.j)(),s=n?.locale??u.locale??eE._,o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??u.weekStartsOn??u.locale?.options?.weekStartsOn??0,l=(0,g.w)(a,i);if(isNaN(l))throw RangeError("Invalid time value");r=l<-6?"other":l<-1?"lastWeek":l<0?"yesterday":l<1?"today":l<2?"tomorrow":l<7?"nextWeek":"other";let f=s.formatRelative(r,a,i,{locale:s,weekStartsOn:o});return(0,eC.WU)(a,f,{locale:s,weekStartsOn:o})}function e1(e,t){return(0,u.Q)(1e3*e,t?.in)}var e2=n(71721);function e3(e,t){return(0,u.Q)(e,t?.in).getDay()}var e5=n(52529),e6=n(61721);function e9(e,t){let n=(0,u.Q)(e,t?.in).getFullYear();return n%400==0||n%4==0&&n%100!=0}function e4(e,t){let n=(0,u.Q)(e,t?.in);return Number.isNaN(+n)?NaN:e9(n)?366:365}function e7(e,t){return 10*Math.floor((0,u.Q)(e,t?.in).getFullYear()/10)}var e8=n(70658),te=n(28904),tt=n(69105),tn=n(65345);function tr(e,t){let n=(0,M.E)(e,t);return Math.round((+(0,M.E)((0,S.j)(n,60))-+n)/W.jE)}var ta=n(20506),ti=n(7785),tu=n(38364);function ts(e,t){let[n,r]=[+(0,u.Q)(e.start),+(0,u.Q)(e.end)].sort((e,t)=>e-t),[a,i]=[+(0,u.Q)(t.start),+(0,u.Q)(t.end)].sort((e,t)=>e-t);if(!(n<i&&a<r))return 0;let s=a<n?n:a,o=s-(0,j.D)(s),l=i>r?r:i;return Math.ceil((l-(0,j.D)(l)-o)/W.dP)}var to=n(18340);function tl(e){return+(0,u.Q)(e)}function tf(e){return Math.trunc(+(0,u.Q)(e)/1e3)}var tc=n(74265);function td(e,t){let n=(0,eU.j)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,e2._)((0,u.Q)(e,t?.in));if(isNaN(a))return NaN;let i=r-e3((0,eT.N)(e,t));return i<=0&&(i+=7),Math.ceil((a-i)/7)+1}var th=n(30904);function tg(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),(0,u.Q)(n,t?.in)}function tM(e,t){let n=(0,u.Q)(e,t?.in);return Z(tg(n,t),(0,eT.N)(n,t),t)+1}var tD=n(26635);function tm(e){return Math.trunc(e*W.vh)}function ty(e){return Math.trunc(e*W.fR)}function tv(e){return Math.trunc(e*W.R3)}function tT(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);if(isNaN(+r))throw TypeError("Start date is invalid");if(isNaN(+a))throw TypeError("End date is invalid");if(n?.assertPositive&&+r>+a)throw TypeError("End date must be after start date");return{start:r,end:a}}function tO(e,t){let{start:n,end:r}=ec(t?.in,e),a={},i=ef(r,n);i&&(a.years=i);let u=s(n,{years:a.years}),o=eu(r,u);o&&(a.months=o);let l=s(u,{months:a.months}),f=A(r,l);f&&(a.days=f);let c=s(l,{days:a.days}),d=V(r,c);d&&(a.hours=d);let h=s(c,{hours:a.hours}),g=en(r,h);g&&(a.minutes=g);let M=eo(r,s(h,{minutes:a.minutes}));return M&&(a.seconds=M),a}function tS(e,t,n){var r;let a;return void 0===(r=t)||"locale"in r?n=t:a=t,new Intl.DateTimeFormat(n?.locale,a).format((0,u.Q)(e))}function tN(e,t,n){let r,a=0,[i,u]=(0,p.d)(n?.in,e,t);if(n?.unit)"second"===(r=n?.unit)?a=eo(i,u):"minute"===r?a=en(i,u):"hour"===r?a=V(i,u):"day"===r?a=(0,g.w)(i,u):"week"===r?a=Z(i,u):"month"===r?a=J(i,u):"quarter"===r?a=X(i,u):"year"===r&&(a=B(i,u));else{let e=eo(i,u);Math.abs(e)<W.xx?(a=eo(i,u),r="second"):Math.abs(e)<W.R3?(a=en(i,u),r="minute"):Math.abs(e)<W.gM&&1>Math.abs((0,g.w)(i,u))?(a=V(i,u),r="hour"):Math.abs(e)<W.vr&&(a=(0,g.w)(i,u))&&7>Math.abs(a)?r="day":Math.abs(e)<W.nZ?(a=Z(i,u),r="week"):Math.abs(e)<W.Y2?(a=J(i,u),r="month"):Math.abs(e)<W.rz&&4>X(i,u)?(a=X(i,u),r="quarter"):(a=B(i,u),r="year")}return new Intl.RelativeTimeFormat(n?.locale,{numeric:"auto",...n}).format(a,r)}var tQ=n(41275),tp=n(14107),tY=n(95090),tI=n(50436);function tk(e,t,n){let r=new Date(e,t,n);return r.getFullYear()===e&&r.getMonth()===t&&r.getDate()===n}function tw(e,t){return 1===(0,u.Q)(e,t?.in).getDate()}function tH(e,t){return 5===(0,u.Q)(e,t?.in).getDay()}function tF(e){return+(0,u.Q)(e)>Date.now()}var t$=n(18070);function tb(e,t,n){return(0,C.J)((0,t$.Qc)(e,t,new Date,n))}function tW(e,t){return 1===(0,u.Q)(e,t?.in).getDay()}function tx(e){return+(0,u.Q)(e)<Date.now()}var tL=n(78374);function tC(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return+(0,q.z)(r,n)==+(0,q.z)(a,n)}function tE(e,t,n){return tC(e,t,{...n,weekStartsOn:1})}function tU(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return+(0,M.E)(r)==+(0,M.E)(a)}function tj(e,t){let n=(0,u.Q)(e,t?.in);return n.setSeconds(0,0),n}function tz(e,t){return+tj(e)==+tj(t)}var tR=n(3303);function tJ(e,t,n){let[r,a]=(0,p.d)(n?.in,e,t);return+eD(r)==+eD(a)}function t_(e,t){let n=(0,u.Q)(e,t?.in);return n.setMilliseconds(0),n}function tX(e,t){return+t_(e)==+t_(t)}var tq=n(59250);function tZ(e,t){return(0,tL.f)((0,u.Q)(e,t?.in),b(t?.in||e))}function tB(e,t){return tE((0,i.L)(t?.in||e,e),b(t?.in||e))}function tA(e){return tz(e,b(e))}function tP(e,t){return(0,tR.x)((0,i.L)(t?.in||e,e),b(t?.in||e))}function tK(e,t){return tJ((0,i.L)(t?.in||e,e),b(t?.in||e))}function tV(e){return tX(e,b(e))}function tG(e,t){return tC((0,i.L)(t?.in||e,e),b(t?.in||e),t)}function t0(e,t){return(0,tq.F)((0,i.L)(t?.in||e,e),b(t?.in||e))}function t1(e,t){return 4===(0,u.Q)(e,t?.in).getDay()}function t2(e,t){return(0,L.K)((0,i.L)(t?.in||e,e),b(t?.in||e))}function t3(e,t){return(0,L.K)(e,(0,r.E)(b(t?.in||e),1),t)}function t5(e,t){return 2===(0,u.Q)(e,t?.in).getDay()}function t6(e,t){return 3===(0,u.Q)(e,t?.in).getDay()}var t9=n(62511);function t4(e,t,n){return(0,r.E)(e,-t,n)}function t7(e,t){return(0,L.K)((0,i.L)(t?.in||e,e),t4(b(t?.in||e),1))}function t8(e,t){let n=(0,u.Q)(e,t?.in),r=9+10*Math.floor(n.getFullYear()/10);return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),(0,u.Q)(n,t?.in)}function ne(e,t){let n=(0,eU.j)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,a=(0,u.Q)(e,t?.in),i=a.getDay();return a.setHours(0,0,0,0),a.setDate(a.getDate()+((i<r?-7:0)+6-(i-r))),a}function nt(e,t){return ne(e,{...t,weekStartsOn:1})}function nn(e,t){let n=(0,h.L)(e,t),r=(0,i.L)(t?.in||e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let a=(0,z.T)(r,t);return a.setDate(a.getDate()-1),a}function nr(e,t){let n=(0,u.Q)(e,t?.in),r=n.getMonth();return n.setMonth(r-r%3+3,0),n.setHours(0,0,0,0),n}function na(e,t){let n=(0,u.Q)(e,t?.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(0,0,0,0),n}var ni=n(7175);let nu=/(\w)\1*|''|'(''|[^'])+('|$)|./g,ns=/^'([^]*?)'?$/,no=/''/g,nl=/[a-zA-Z]/;function nf(e,t){let n=(0,u.Q)(e);if(!(0,C.J)(n))throw RangeError("Invalid time value");let r=t.match(nu);return r?r.map(e=>{if("''"===e)return"'";let t=e[0];if("'"===t)return function(e){let t=e.match(ns);return t?t[1].replace(no,"'"):e}(e);let r=ni.o[t];if(r)return r(n,e);if(t.match(nl))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return e}).join(""):""}function nc({years:e,months:t,weeks:n,days:r,hours:a,minutes:i,seconds:u}){let s=0;e&&(s+=e*W.dT),t&&(s+=t*(W.dT/12)),n&&(s+=7*n),r&&(s+=r);let o=86400*s;return a&&(o+=3600*a),i&&(o+=60*i),u&&(o+=u),Math.trunc(1e3*o)}function nd(e){return Math.trunc(e/W.vh)}function nh(e){return Math.trunc(e/W.yJ)}function ng(e){return Math.trunc(e/W.qk)}function nM(e){return Math.trunc(e/W.fR)}function nD(e){return Math.trunc(e*W.yJ)}function nm(e){return Math.trunc(e*W.xx)}function ny(e){return Math.trunc(e/W.Ob)}function nv(e){return Math.trunc(e/W.CU)}function nT(e,t,n){let a=t-e3(e,n);return a<=0&&(a+=7),(0,r.E)(e,a,n)}function nO(e,t){return nT(e,5,t)}function nS(e,t){return nT(e,1,t)}function nN(e,t){return nT(e,6,t)}function nQ(e,t){return nT(e,0,t)}function np(e,t){return nT(e,4,t)}function nY(e,t){return nT(e,2,t)}function nI(e,t){return nT(e,3,t)}function nk(e,t){let n,r;let a=()=>(0,i.L)(t?.in,NaN),s=t?.additionalDigits??2,o=function(e){let t;let n={},r=e.split(nw.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],nw.timeZoneDelimiter.test(n.date)&&(n.date=e.split(nw.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=nw.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(o.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?a:100*i,restDateString:e.slice((r[1]||r[2]).length)}}(o.date,s);n=function(e,t){var n,r,a,i,u,s,o,l;if(null===t)return new Date(NaN);let f=e.match(nH);if(!f)return new Date(NaN);let c=!!f[4],d=nb(f[1]),h=nb(f[2])-1,g=nb(f[3]),M=nb(f[4]),D=nb(f[5])-1;if(c){return(n=0,r=M,a=D,r>=1&&r<=53&&a>=0&&a<=6)?function(e,t,n){let r=new Date(0);r.setUTCFullYear(e,0,4);let a=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+((t-1)*7+n+1-a)),r}(t,M,D):new Date(NaN)}{let e=new Date(0);return(i=t,u=h,s=g,u>=0&&u<=11&&s>=1&&s<=(nx[u]||(nL(i)?29:28))&&(o=t,(l=d)>=1&&l<=(nL(o)?366:365)))?(e.setUTCFullYear(t,h,Math.max(d,g)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(+n))return a();let l=+n,f=0;if(o.time&&isNaN(f=function(e){var t,n,r;let a=e.match(nF);if(!a)return NaN;let i=nW(a[1]),u=nW(a[2]),s=nW(a[3]);return(t=i,n=u,r=s,24===t?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&t>=0&&t<25)?i*W.vh+u*W.yJ+1e3*s:NaN}(o.time)))return a();if(o.timezone){if(isNaN(r=function(e){var t,n;if("Z"===e)return 0;let r=e.match(n$);if(!r)return 0;let a="+"===r[1]?-1:1,i=parseInt(r[2]),u=r[3]&&parseInt(r[3])||0;return(t=0,(n=u)>=0&&n<=59)?a*(i*W.vh+u*W.yJ):NaN}(o.timezone)))return a()}else{let e=new Date(l+f),n=(0,u.Q)(0,t?.in);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}return(0,u.Q)(l+f+r,t?.in)}let nw={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},nH=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,nF=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,n$=/^([+-])(\d{2})(?::?(\d{2}))?$/;function nb(e){return e?parseInt(e):1}function nW(e){return e&&parseFloat(e.replace(",","."))||0}let nx=[31,null,31,30,31,30,31,31,30,31,30,31];function nL(e){return e%400==0||e%4==0&&e%100!=0}function nC(e,t){let n=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return n?(0,u.Q)(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4]-(+n[9]||0)*("-"==n[8]?-1:1),+n[5]-(+n[10]||0)*("-"==n[8]?-1:1),+n[6],+((n[7]||"0")+"00").substring(0,3)),t?.in):(0,u.Q)(NaN,t?.in)}function nE(e,t,n){let r=e3(e,n)-t;return r<=0&&(r+=7),t4(e,r,n)}function nU(e,t){return nE(e,5,t)}function nj(e,t){return nE(e,1,t)}function nz(e,t){return nE(e,6,t)}function nR(e,t){return nE(e,0,t)}function nJ(e,t){return nE(e,4,t)}function n_(e,t){return nE(e,2,t)}function nX(e,t){return nE(e,3,t)}function nq(e){return Math.trunc(e*W.Ob)}function nZ(e){return Math.trunc(e/W._j)}function nB(e,t){let n=t?.nearestTo??1;if(n<1||n>12)return(0,i.L)(t?.in||e,NaN);let r=(0,u.Q)(e,t?.in),a=r.getMinutes()/60,s=r.getSeconds()/60/60,o=r.getMilliseconds()/1e3/60/60,l=r.getHours()+a+s+o,f=K(t?.roundingMethod??"round")(l/n)*n;return r.setHours(f,0,0,0),r}function nA(e,t){let n=t?.nearestTo??1;if(n<1||n>30)return(0,i.L)(e,NaN);let r=(0,u.Q)(e,t?.in),a=r.getSeconds()/60,s=r.getMilliseconds()/1e3/60,o=r.getMinutes()+a+s,l=K(t?.roundingMethod??"round")(o/n)*n;return r.setMinutes(l,0,0),r}function nP(e){return Math.trunc(e/W.R3)}function nK(e){return e*W.qk}function nV(e){return Math.trunc(e/W.xx)}var nG=n(11136);function n0(e,t,n){let r=(0,u.Q)(e,n?.in);return isNaN(+r)?(0,i.L)(n?.in||e,NaN):(null!=t.year&&r.setFullYear(t.year),null!=t.month&&(r=(0,nG.q)(r,t.month)),null!=t.date&&r.setDate(t.date),null!=t.hours&&r.setHours(t.hours),null!=t.minutes&&r.setMinutes(t.minutes),null!=t.seconds&&r.setSeconds(t.seconds),null!=t.milliseconds&&r.setMilliseconds(t.milliseconds),r)}var n1=n(83709),n2=n(42063);function n3(e,t,n){let r=(0,u.Q)(e,n?.in);return r.setMonth(0),r.setDate(t),r}function n5(e){let t={},n=(0,eU.j)();for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e]);for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(void 0===e[n]?delete t[n]:t[n]=e[n]);(0,eU.b)(t)}var n6=n(63200),n9=n(21542),n4=n(95738),n7=n(44138),n8=n(36292);function re(e,t,n){let r=(0,u.Q)(e,n?.in),a=Math.trunc(r.getMonth()/3)+1;return(0,nG.q)(r,r.getMonth()+3*(t-a))}var rt=n(33518),rn=n(65675),rr=n(20937);function ra(e,t,n){let r=(0,eU.j)(),a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=(0,g.w)((0,u.Q)(e,n?.in),(0,rr.v)(e,n),n),o=(0,i.L)(n?.in||e,0);o.setFullYear(t,0,a),o.setHours(0,0,0,0);let l=(0,rr.v)(o,n);return l.setDate(l.getDate()+s),l}var ri=n(28140),ru=n(23033);function rs(e,t){let n=(0,u.Q)(e,t?.in),r=10*Math.floor(n.getFullYear()/10);return n.setFullYear(r,0,1),n.setHours(0,0,0,0),n}var ro=n(82806);function rl(e){return(0,ru.b)(Date.now(),e)}function rf(e){let t=b(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),u=(0,i.L)(e?.in,0);return u.setFullYear(n,r,a+1),u.setHours(0,0,0,0),u}function rc(e){let t=b(e?.in),n=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=b(e?.in);return i.setFullYear(n,r,a-1),i.setHours(0,0,0,0),i}function rd(e,t,n){return(0,a.z)(e,-t,n)}function rh(e,t,n){let{years:r=0,months:a=0,weeks:u=0,days:s=0,hours:o=0,minutes:l=0,seconds:f=0}=t,c=t4(rd(e,a+12*r,n),s+7*u,n);return(0,i.L)(n?.in||e,+c-1e3*(f+60*(l+60*o)))}function rg(e,t,n){return c(e,-t,n)}function rM(e,t,n){return(0,d.T)(e,-t,n)}function rD(e,t,n){return(0,y.n)(e,-t,n)}function rm(e,t,n){return(0,v.m)(e,-t,n)}function ry(e,t,n){return T(e,-t,n)}function rv(e,t,n){return(0,O.v)(e,-t,n)}function rT(e,t,n){return(0,S.j)(e,-t,n)}function rO(e,t,n){return(0,N.B)(e,-t,n)}var rS=n(50469);function rN(e){return Math.trunc(e*W.ju)}function rQ(e){return Math.trunc(e*W.dT)}function rp(e){return Math.trunc(e*W.CU)}function rY(e){return Math.trunc(e*W._j)}}}]);