@perses-dev/timeseries-table-plugin 0.6.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 (110) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +41 -0
  3. package/__mf/css/async/341.53436797.css +1 -0
  4. package/__mf/css/async/759.53436797.css +1 -0
  5. package/__mf/font/lato-all-300-normal.322bdf14.woff +0 -0
  6. package/__mf/font/lato-all-400-normal.63513b00.woff +0 -0
  7. package/__mf/font/lato-all-700-normal.bb27db94.woff +0 -0
  8. package/__mf/font/lato-all-900-normal.a27049a3.woff +0 -0
  9. package/__mf/font/lato-latin-300-normal.c5195215.woff2 +0 -0
  10. package/__mf/font/lato-latin-400-normal.b7ffde23.woff2 +0 -0
  11. package/__mf/font/lato-latin-700-normal.d5eb20bc.woff2 +0 -0
  12. package/__mf/font/lato-latin-900-normal.d884a71c.woff2 +0 -0
  13. package/__mf/font/lato-latin-ext-300-normal.abcc64a9.woff2 +0 -0
  14. package/__mf/font/lato-latin-ext-400-normal.6ebed106.woff2 +0 -0
  15. package/__mf/font/lato-latin-ext-700-normal.8697d1d5.woff2 +0 -0
  16. package/__mf/font/lato-latin-ext-900-normal.20a2b415.woff2 +0 -0
  17. package/__mf/js/795.a00f14d5.js +5 -0
  18. package/__mf/js/TimeSeriesTable.78b6adc4.js +5 -0
  19. package/__mf/js/async/156.edaa1366.js +1 -0
  20. package/__mf/js/async/173.7677c422.js +2 -0
  21. package/__mf/js/async/173.7677c422.js.LICENSE.txt +19 -0
  22. package/__mf/js/async/570.4e5c2806.js +1 -0
  23. package/__mf/js/async/620.989f65d2.js +2 -0
  24. package/__mf/js/async/620.989f65d2.js.LICENSE.txt +9 -0
  25. package/__mf/js/async/621.966dfe80.js +111 -0
  26. package/__mf/js/async/621.966dfe80.js.LICENSE.txt +52 -0
  27. package/__mf/js/async/651.f2005980.js +1 -0
  28. package/__mf/js/async/694.46f61549.js +1 -0
  29. package/__mf/js/async/740.64988389.js +1 -0
  30. package/__mf/js/async/75.65fec995.js +1 -0
  31. package/__mf/js/async/770.46d7d5f9.js +1 -0
  32. package/__mf/js/async/960.d242a960.js +2 -0
  33. package/__mf/js/async/960.d242a960.js.LICENSE.txt +8 -0
  34. package/__mf/js/async/964.7386b918.js +2 -0
  35. package/__mf/js/async/964.7386b918.js.LICENSE.txt +9 -0
  36. package/__mf/js/async/998.e20cf478.js +65 -0
  37. package/__mf/js/async/998.e20cf478.js.LICENSE.txt +59 -0
  38. package/__mf/js/async/__federation_expose_TimeSeriesTable.0774ca0f.js +1 -0
  39. package/__mf/js/main.857476c9.js +1 -0
  40. package/lib/TimeSeriesTable.d.ts +8 -0
  41. package/lib/TimeSeriesTable.d.ts.map +1 -0
  42. package/lib/TimeSeriesTable.js +29 -0
  43. package/lib/TimeSeriesTable.js.map +1 -0
  44. package/lib/TimeSeriesTablePanel.d.ts +7 -0
  45. package/lib/TimeSeriesTablePanel.d.ts.map +1 -0
  46. package/lib/TimeSeriesTablePanel.js +33 -0
  47. package/lib/TimeSeriesTablePanel.js.map +1 -0
  48. package/lib/bootstrap.d.ts +2 -0
  49. package/lib/bootstrap.d.ts.map +1 -0
  50. package/lib/bootstrap.js +19 -0
  51. package/lib/bootstrap.js.map +1 -0
  52. package/lib/cjs/TimeSeriesTable.js +35 -0
  53. package/lib/cjs/TimeSeriesTablePanel.js +41 -0
  54. package/lib/cjs/bootstrap.js +26 -0
  55. package/lib/cjs/components/DataTable.js +185 -0
  56. package/lib/cjs/components/HistogramChart.js +121 -0
  57. package/lib/cjs/components/SeriesName.js +100 -0
  58. package/lib/cjs/components/index.js +20 -0
  59. package/lib/cjs/env.d.js +14 -0
  60. package/lib/cjs/getPluginModule.js +27 -0
  61. package/lib/cjs/index-federation.js +55 -0
  62. package/lib/cjs/index.js +29 -0
  63. package/lib/cjs/model.js +5 -0
  64. package/lib/cjs/setup-tests.js +19 -0
  65. package/lib/cjs/test/mock-query-results.js +417 -0
  66. package/lib/components/DataTable.d.ts +18 -0
  67. package/lib/components/DataTable.d.ts.map +1 -0
  68. package/lib/components/DataTable.js +173 -0
  69. package/lib/components/DataTable.js.map +1 -0
  70. package/lib/components/HistogramChart.d.ts +16 -0
  71. package/lib/components/HistogramChart.d.ts.map +1 -0
  72. package/lib/components/HistogramChart.js +113 -0
  73. package/lib/components/HistogramChart.js.map +1 -0
  74. package/lib/components/SeriesName.d.ts +11 -0
  75. package/lib/components/SeriesName.d.ts.map +1 -0
  76. package/lib/components/SeriesName.js +95 -0
  77. package/lib/components/SeriesName.js.map +1 -0
  78. package/lib/components/index.d.ts +4 -0
  79. package/lib/components/index.d.ts.map +1 -0
  80. package/lib/components/index.js +5 -0
  81. package/lib/components/index.js.map +1 -0
  82. package/lib/env.d.js +15 -0
  83. package/lib/env.d.js.map +1 -0
  84. package/lib/getPluginModule.d.ts +6 -0
  85. package/lib/getPluginModule.d.ts.map +1 -0
  86. package/lib/getPluginModule.js +16 -0
  87. package/lib/getPluginModule.js.map +1 -0
  88. package/lib/index-federation.d.ts +1 -0
  89. package/lib/index-federation.d.ts.map +1 -0
  90. package/lib/index-federation.js +15 -0
  91. package/lib/index-federation.js.map +1 -0
  92. package/lib/index.d.ts +7 -0
  93. package/lib/index.d.ts.map +1 -0
  94. package/lib/index.js +8 -0
  95. package/lib/index.js.map +1 -0
  96. package/lib/model.d.ts +3 -0
  97. package/lib/model.d.ts.map +1 -0
  98. package/lib/model.js +4 -0
  99. package/lib/model.js.map +1 -0
  100. package/lib/setup-tests.d.ts +2 -0
  101. package/lib/setup-tests.d.ts.map +1 -0
  102. package/lib/setup-tests.js +17 -0
  103. package/lib/setup-tests.js.map +1 -0
  104. package/lib/test/mock-query-results.d.ts +136 -0
  105. package/lib/test/mock-query-results.d.ts.map +1 -0
  106. package/lib/test/mock-query-results.js +389 -0
  107. package/lib/test/mock-query-results.js.map +1 -0
  108. package/mf-manifest.json +212 -0
  109. package/mf-stats.json +242 -0
  110. package/package.json +54 -0
@@ -0,0 +1,111 @@
1
+ /*! For license information please see 621.966dfe80.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkTimeSeriesTable=self.webpackChunkTimeSeriesTable||[]).push([["621"],{7960:function(t,e,n){n.d(e,{Z:()=>r});function r(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}},2747:function(t,e,n){n.d(e,{O:()=>d});var r,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},o=n(7960),a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(t){return 45===t.charCodeAt(1)},u=function(t){return null!=t&&"boolean"!=typeof t},c=(0,o.Z)(function(t){return l(t)?t:t.replace(a,"-$&").toLowerCase()}),h=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(s,function(t,e,n){return r={name:e,styles:n,next:r},e})}return 1===i[t]||l(t)||"number"!=typeof e||0===e?e:e+"px"};function p(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)r={name:i.name,styles:i.styles,next:r},i=i.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=p(t,e,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a)null!=e&&void 0!==e[a]?r+=o+"{"+e[a]+"}":u(a)&&(r+=c(o)+":"+h(o,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==e||void 0===e[a[0]]))for(var s=0;s<a.length;s++)u(a[s])&&(r+=c(o)+":"+h(o,a[s])+";");else{var l=p(t,e,a);switch(o){case"animation":case"animationName":r+=c(o)+":"+l+";";break;default:r+=o+"{"+l+"}"}}}return r}(t,e,n);case"function":if(void 0!==t){var o=r,a=n(t);return r=o,p(t,e,a)}}if(null==e)return n;var s=e[n];return void 0!==s?s:n}var f=/label:\s*([^\s;{]+)\s*(;|$)/g;function d(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var i,o=!0,a="";r=void 0;var s=t[0];null==s||void 0===s.raw?(o=!1,a+=p(n,e,s)):a+=s[0];for(var l=1;l<t.length;l++)a+=p(n,e,t[l]),o&&(a+=s[l]);f.lastIndex=0;for(var u="";null!==(i=f.exec(a));)u+="-"+i[1];return{name:function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))*0x5bd1e995+((e>>>16)*59797<<16),e^=e>>>24,n=(65535&e)*0x5bd1e995+((e>>>16)*59797<<16)^(65535&n)*0x5bd1e995+((n>>>16)*59797<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n^=255&t.charCodeAt(r),n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*0x5bd1e995+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+u,styles:a,next:r}}},315:function(t,e,n){n.d(e,{Z:()=>I});var r=n(4538),i=n(496),o=n(2267),a=n(6838),s=n(2709),l=n(2319),u=n(1751),c=n(6351),h=n(1640),p=n(433),f=n(8866),d=n(9602),g=n(5094),y=n(247),m=n(4246);let v=(0,y.Z)((0,m.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),_=(0,y.Z)((0,m.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),x=(0,y.Z)((0,m.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),b=(0,y.Z)((0,m.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined");var S=n(3049);let w=t=>{let{variant:e,color:n,severity:r,classes:i}=t,a={root:["root",`color${(0,h.Z)(n||r)}`,`${e}${(0,h.Z)(n||r)}`,`${e}`],icon:["icon"],message:["message"],action:["action"]};return(0,o.Z)(a,d.t,i)},k=(0,s.ZP)(f.Z,{name:"MuiAlert",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,e[n.variant],e[`${n.variant}${(0,h.Z)(n.color||n.severity)}`]]}})((0,l.Z)(({theme:t})=>{let e="light"===t.palette.mode?a._j:a.$n,n="light"===t.palette.mode?a.$n:a._j;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter((0,p.Z)(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert[`${r}Color`]:e(t.palette[r].light,.6),backgroundColor:t.vars?t.vars.palette.Alert[`${r}StandardBg`]:n(t.palette[r].light,.9),[`& .${d.Z.icon}`]:t.vars?{color:t.vars.palette.Alert[`${r}IconColor`]}:{color:t.palette[r].main}}})),...Object.entries(t.palette).filter((0,p.Z)(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert[`${n}Color`]:e(t.palette[n].light,.6),border:`1px solid ${(t.vars||t).palette[n].light}`,[`& .${d.Z.icon}`]:t.vars?{color:t.vars.palette.Alert[`${n}IconColor`]}:{color:t.palette[n].main}}})),...Object.entries(t.palette).filter((0,p.Z)(["dark"])).map(([e])=>({props:{colorSeverity:e,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert[`${e}FilledColor`],backgroundColor:t.vars.palette.Alert[`${e}FilledBg`]}:{backgroundColor:"dark"===t.palette.mode?t.palette[e].dark:t.palette[e].main,color:t.palette.getContrastText(t.palette[e].main)}}}))]}})),T=(0,s.ZP)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(t,e)=>e.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),C=(0,s.ZP)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(t,e)=>e.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),M=(0,s.ZP)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(t,e)=>e.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),D={success:(0,m.jsx)(v,{fontSize:"inherit"}),warning:(0,m.jsx)(_,{fontSize:"inherit"}),error:(0,m.jsx)(x,{fontSize:"inherit"}),info:(0,m.jsx)(b,{fontSize:"inherit"})},I=r.forwardRef(function(t,e){let n=(0,u.i)({props:t,name:"MuiAlert"}),{action:r,children:o,className:a,closeText:s="Close",color:l,components:h={},componentsProps:p={},icon:f,iconMapping:d=D,onClose:y,role:v="alert",severity:_="success",slotProps:x={},slots:b={},variant:I="standard",...Z}=n,P={...n,color:l,severity:_,variant:I,colorSeverity:l||_},A=w(P),O={slots:{closeButton:h.CloseButton,closeIcon:h.CloseIcon,...b},slotProps:{...p,...x}},[R,L]=(0,c.Z)("root",{ref:e,shouldForwardComponentProp:!0,className:(0,i.Z)(A.root,a),elementType:k,externalForwardedProps:{...O,...Z},ownerState:P,additionalProps:{role:v,elevation:0}}),[B,z]=(0,c.Z)("icon",{className:A.icon,elementType:T,externalForwardedProps:O,ownerState:P}),[F,E]=(0,c.Z)("message",{className:A.message,elementType:C,externalForwardedProps:O,ownerState:P}),[N,W]=(0,c.Z)("action",{className:A.action,elementType:M,externalForwardedProps:O,ownerState:P}),[H,j]=(0,c.Z)("closeButton",{elementType:g.Z,externalForwardedProps:O,ownerState:P}),[$,V]=(0,c.Z)("closeIcon",{elementType:S.Z,externalForwardedProps:O,ownerState:P});return(0,m.jsxs)(R,{...L,children:[!1!==f?(0,m.jsx)(B,{...z,children:f||d[_]||D[_]}):null,(0,m.jsx)(F,{...E,children:o}),null!=r?(0,m.jsx)(N,{...W,children:r}):null,null==r&&y?(0,m.jsx)(N,{...W,children:(0,m.jsx)(H,{size:"small","aria-label":s,title:s,color:"inherit",onClick:y,...j,children:(0,m.jsx)($,{fontSize:"small",...V})})}):null]})})},9602:function(t,e,n){n.d(e,{Z:()=>a,t:()=>o});var r=n(4124),i=n(6749);function o(t){return(0,i.ZP)("MuiAlert",t)}let a=(0,r.Z)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"])},6372:function(t,e,n){n.d(e,{Z:()=>g});var r=n(4538),i=n(496),o=n(9966),a=n(1652),s=n(3772),l=n(8971),u=n(4246),c=n(544),h=n(6385),p=n(2994);let f=(0,n(4124).Z)("MuiBox",["root"]),d=(0,h.Z)(),g=function(t={}){let{themeId:e,defaultTheme:n,defaultClassName:c="MuiBox-root",generateClassName:h}=t,p=(0,o.ZP)("div",{shouldForwardProp:t=>"theme"!==t&&"sx"!==t&&"as"!==t})(a.Z);return r.forwardRef(function(t,r){let o=(0,l.Z)(n),{className:a,component:f="div",...d}=(0,s.Z)(t);return(0,u.jsx)(p,{as:f,ref:r,className:(0,i.Z)(a,h?h(c):c),theme:e&&o[e]||o,...d})})}({themeId:p.Z,defaultTheme:d,defaultClassName:f.root,generateClassName:c.Z.generate})},4544:function(t,e,n){n.d(e,{Z:()=>P});var r=n(4538),i=n(496),o=n(2267),a=n(4111),s=n(2709),l=n(1751),u=n(1183),c=n(7151),h=n(9565);class p{static create(){return new p}static use(){let t=(0,h.Z)(p.create).current,[e,n]=r.useState(!1);return t.shouldMount=e,t.setShouldMount=n,r.useEffect(t.mountEffect,[e]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let t,e;let n=new Promise((n,r)=>{t=n,e=r});return n.resolve=t,n.reject=e,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}var f=n(6317),d=n(7126),g=n(2116),y=n(4246),m=n(4124);let v=(0,m.Z)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_=(0,g.keyframes)`
3
+ 0% {
4
+ transform: scale(0);
5
+ opacity: 0.1;
6
+ }
7
+
8
+ 100% {
9
+ transform: scale(1);
10
+ opacity: 0.3;
11
+ }
12
+ `,x=(0,g.keyframes)`
13
+ 0% {
14
+ opacity: 1;
15
+ }
16
+
17
+ 100% {
18
+ opacity: 0;
19
+ }
20
+ `,b=(0,g.keyframes)`
21
+ 0% {
22
+ transform: scale(1);
23
+ }
24
+
25
+ 50% {
26
+ transform: scale(0.92);
27
+ }
28
+
29
+ 100% {
30
+ transform: scale(1);
31
+ }
32
+ `,S=(0,s.ZP)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),w=(0,s.ZP)(function(t){let{className:e,classes:n,pulsate:o=!1,rippleX:a,rippleY:s,rippleSize:l,in:u,onExited:c,timeout:h}=t,[p,f]=r.useState(!1),d=(0,i.Z)(e,n.ripple,n.rippleVisible,o&&n.ripplePulsate),g=(0,i.Z)(n.child,p&&n.childLeaving,o&&n.childPulsate);return u||p||f(!0),r.useEffect(()=>{if(!u&&null!=c){let t=setTimeout(c,h);return()=>{clearTimeout(t)}}},[c,u,h]),(0,y.jsx)("span",{className:d,style:{width:l,height:l,top:-(l/2)+s,left:-(l/2)+a},children:(0,y.jsx)("span",{className:g})})},{name:"MuiTouchRipple",slot:"Ripple"})`
33
+ opacity: 0;
34
+ position: absolute;
35
+
36
+ &.${v.rippleVisible} {
37
+ opacity: 0.3;
38
+ transform: scale(1);
39
+ animation-name: ${_};
40
+ animation-duration: ${550}ms;
41
+ animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
42
+ }
43
+
44
+ &.${v.ripplePulsate} {
45
+ animation-duration: ${({theme:t})=>t.transitions.duration.shorter}ms;
46
+ }
47
+
48
+ & .${v.child} {
49
+ opacity: 1;
50
+ display: block;
51
+ width: 100%;
52
+ height: 100%;
53
+ border-radius: 50%;
54
+ background-color: currentColor;
55
+ }
56
+
57
+ & .${v.childLeaving} {
58
+ opacity: 0;
59
+ animation-name: ${x};
60
+ animation-duration: ${550}ms;
61
+ animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
62
+ }
63
+
64
+ & .${v.childPulsate} {
65
+ position: absolute;
66
+ /* @noflip */
67
+ left: 0px;
68
+ top: 0;
69
+ animation-name: ${b};
70
+ animation-duration: 2500ms;
71
+ animation-timing-function: ${({theme:t})=>t.transitions.easing.easeInOut};
72
+ animation-iteration-count: infinite;
73
+ animation-delay: 200ms;
74
+ }
75
+ `,k=r.forwardRef(function(t,e){let{center:n=!1,classes:o={},className:a,...s}=(0,l.i)({props:t,name:"MuiTouchRipple"}),[u,c]=r.useState([]),h=r.useRef(0),p=r.useRef(null);r.useEffect(()=>{p.current&&(p.current(),p.current=null)},[u]);let g=r.useRef(!1),m=(0,d.Z)(),_=r.useRef(null),x=r.useRef(null),b=r.useCallback(t=>{let{pulsate:e,rippleX:n,rippleY:r,rippleSize:a,cb:s}=t;c(t=>[...t,(0,y.jsx)(w,{classes:{ripple:(0,i.Z)(o.ripple,v.ripple),rippleVisible:(0,i.Z)(o.rippleVisible,v.rippleVisible),ripplePulsate:(0,i.Z)(o.ripplePulsate,v.ripplePulsate),child:(0,i.Z)(o.child,v.child),childLeaving:(0,i.Z)(o.childLeaving,v.childLeaving),childPulsate:(0,i.Z)(o.childPulsate,v.childPulsate)},timeout:550,pulsate:e,rippleX:n,rippleY:r,rippleSize:a},h.current)]),h.current+=1,p.current=s},[o]),k=r.useCallback((t={},e={},r=()=>{})=>{let i,o,a;let{pulsate:s=!1,center:l=n||e.pulsate,fakeElement:u=!1}=e;if(t?.type==="mousedown"&&g.current){g.current=!1;return}t?.type==="touchstart"&&(g.current=!0);let c=u?null:x.current,h=c?c.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==t&&(0!==t.clientX||0!==t.clientY)&&(t.clientX||t.touches)){let{clientX:e,clientY:n}=t.touches&&t.touches.length>0?t.touches[0]:t;i=Math.round(e-h.left),o=Math.round(n-h.top)}else i=Math.round(h.width/2),o=Math.round(h.height/2);l?(a=Math.sqrt((2*h.width**2+h.height**2)/3))%2==0&&(a+=1):a=Math.sqrt((2*Math.max(Math.abs((c?c.clientWidth:0)-i),i)+2)**2+(2*Math.max(Math.abs((c?c.clientHeight:0)-o),o)+2)**2),t?.touches?null===_.current&&(_.current=()=>{b({pulsate:s,rippleX:i,rippleY:o,rippleSize:a,cb:r})},m.start(80,()=>{_.current&&(_.current(),_.current=null)})):b({pulsate:s,rippleX:i,rippleY:o,rippleSize:a,cb:r})},[n,b,m]),T=r.useCallback(()=>{k({},{pulsate:!0})},[k]),C=r.useCallback((t,e)=>{if(m.clear(),t?.type==="touchend"&&_.current){_.current(),_.current=null,m.start(0,()=>{C(t,e)});return}_.current=null,c(t=>t.length>0?t.slice(1):t),p.current=e},[m]);return r.useImperativeHandle(e,()=>({pulsate:T,start:k,stop:C}),[T,k,C]),(0,y.jsx)(S,{className:(0,i.Z)(v.root,o.root,a),ref:x,...s,children:(0,y.jsx)(f.Z,{component:null,exit:!0,children:u})})});var T=n(6749);function C(t){return(0,T.ZP)("MuiButtonBase",t)}let M=(0,m.Z)("MuiButtonBase",["root","disabled","focusVisible"]),D=t=>{let{disabled:e,focusVisible:n,focusVisibleClassName:r,classes:i}=t,a=(0,o.Z)({root:["root",e&&"disabled",n&&"focusVisible"]},C,i);return n&&r&&(a.root+=` ${r}`),a},I=(0,s.ZP)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${M.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function Z(t,e,n,r=!1){return(0,c.Z)(i=>(n&&n(i),r||t[e](i),!0))}let P=r.forwardRef(function(t,e){let n=(0,l.i)({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:h,className:f,component:d="button",disabled:g=!1,disableRipple:m=!1,disableTouchRipple:v=!1,focusRipple:_=!1,focusVisibleClassName:x,LinkComponent:b="a",onBlur:S,onClick:w,onContextMenu:T,onDragLeave:C,onFocus:M,onFocusVisible:P,onKeyDown:A,onKeyUp:O,onMouseDown:R,onMouseLeave:L,onMouseUp:B,onTouchEnd:z,onTouchMove:F,onTouchStart:E,tabIndex:N=0,TouchRippleProps:W,touchRippleRef:H,type:j,...$}=n,V=r.useRef(null),U=p.use(),q=(0,u.Z)(U.ref,H),[G,X]=r.useState(!1);g&&G&&X(!1),r.useImperativeHandle(o,()=>({focusVisible:()=>{X(!0),V.current.focus()}}),[]);let K=U.shouldMount&&!m&&!g;r.useEffect(()=>{G&&_&&!m&&U.pulsate()},[m,_,G,U]);let Y=Z(U,"start",R,v),J=Z(U,"stop",T,v),Q=Z(U,"stop",C,v),tt=Z(U,"stop",B,v),te=Z(U,"stop",t=>{G&&t.preventDefault(),L&&L(t)},v),tn=Z(U,"start",E,v),tr=Z(U,"stop",z,v),ti=Z(U,"stop",F,v),to=Z(U,"stop",t=>{(0,a.Z)(t.target)||X(!1),S&&S(t)},!1),ta=(0,c.Z)(t=>{V.current||(V.current=t.currentTarget),(0,a.Z)(t.target)&&(X(!0),P&&P(t)),M&&M(t)}),ts=()=>{let t=V.current;return d&&"button"!==d&&!("A"===t.tagName&&t.href)},tl=(0,c.Z)(t=>{_&&!t.repeat&&G&&" "===t.key&&U.stop(t,()=>{U.start(t)}),t.target===t.currentTarget&&ts()&&" "===t.key&&t.preventDefault(),A&&A(t),t.target===t.currentTarget&&ts()&&"Enter"===t.key&&!g&&(t.preventDefault(),w&&w(t))}),tu=(0,c.Z)(t=>{_&&" "===t.key&&G&&!t.defaultPrevented&&U.stop(t,()=>{U.pulsate(t)}),O&&O(t),w&&t.target===t.currentTarget&&ts()&&" "===t.key&&!t.defaultPrevented&&w(t)}),tc=d;"button"===tc&&($.href||$.to)&&(tc=b);let th={};"button"===tc?(th.type=void 0===j?"button":j,th.disabled=g):($.href||$.to||(th.role="button"),g&&(th["aria-disabled"]=g));let tp=(0,u.Z)(e,V),tf={...n,centerRipple:s,component:d,disabled:g,disableRipple:m,disableTouchRipple:v,focusRipple:_,tabIndex:N,focusVisible:G},td=D(tf);return(0,y.jsxs)(I,{as:tc,className:(0,i.Z)(td.root,f),ownerState:tf,onBlur:to,onClick:w,onContextMenu:J,onFocus:ta,onKeyDown:tl,onKeyUp:tu,onMouseDown:Y,onMouseLeave:te,onMouseUp:tt,onDragLeave:Q,onTouchEnd:tr,onTouchMove:ti,onTouchStart:tn,ref:tp,tabIndex:g?-1:N,type:j,...th,...$,children:[h,K?(0,y.jsx)(k,{ref:q,center:s,...W}):null]})})},898:function(t,e,n){n.d(e,{Z:()=>k});var r=n(4538),i=n(496),o=n(2267),a=n(2116),s=n(2709),l=n(2319),u=n(1751),c=n(1640),h=n(433),p=n(4124),f=n(6749);function d(t){return(0,f.ZP)("MuiCircularProgress",t)}(0,p.Z)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);var g=n(4246);let y=(0,a.keyframes)`
76
+ 0% {
77
+ transform: rotate(0deg);
78
+ }
79
+
80
+ 100% {
81
+ transform: rotate(360deg);
82
+ }
83
+ `,m=(0,a.keyframes)`
84
+ 0% {
85
+ stroke-dasharray: 1px, 200px;
86
+ stroke-dashoffset: 0;
87
+ }
88
+
89
+ 50% {
90
+ stroke-dasharray: 100px, 200px;
91
+ stroke-dashoffset: -15px;
92
+ }
93
+
94
+ 100% {
95
+ stroke-dasharray: 1px, 200px;
96
+ stroke-dashoffset: -126px;
97
+ }
98
+ `,v="string"!=typeof y?(0,a.css)`
99
+ animation: ${y} 1.4s linear infinite;
100
+ `:null,_="string"!=typeof m?(0,a.css)`
101
+ animation: ${m} 1.4s ease-in-out infinite;
102
+ `:null,x=t=>{let{classes:e,variant:n,color:r,disableShrink:i}=t,a={root:["root",n,`color${(0,c.Z)(r)}`],svg:["svg"],circle:["circle",`circle${(0,c.Z)(n)}`,i&&"circleDisableShrink"]};return(0,o.Z)(a,d,e)},b=(0,s.ZP)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,e[n.variant],e[`color${(0,c.Z)(n.color)}`]]}})((0,l.Z)(({theme:t})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:v||{animation:`${y} 1.4s linear infinite`}},...Object.entries(t.palette).filter((0,h.Z)()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}}))]}))),S=(0,s.ZP)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(t,e)=>e.svg})({display:"block"}),w=(0,s.ZP)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.circle,e[`circle${(0,c.Z)(n.variant)}`],n.disableShrink&&e.circleDisableShrink]}})((0,l.Z)(({theme:t})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:t})=>"indeterminate"===t.variant&&!t.disableShrink,style:_||{animation:`${m} 1.4s ease-in-out infinite`}}]}))),k=r.forwardRef(function(t,e){let n=(0,u.i)({props:t,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:a=!1,size:s=40,style:l,thickness:c=3.6,value:h=0,variant:p="indeterminate",...f}=n,d={...n,color:o,disableShrink:a,size:s,thickness:c,value:h,variant:p},y=x(d),m={},v={},_={};if("determinate"===p){let t=2*Math.PI*((44-c)/2);m.strokeDasharray=t.toFixed(3),_["aria-valuenow"]=Math.round(h),m.strokeDashoffset=`${((100-h)/100*t).toFixed(3)}px`,v.transform="rotate(-90deg)"}return(0,g.jsx)(b,{className:(0,i.Z)(y.root,r),style:{width:s,height:s,...v,...l},ownerState:d,ref:e,role:"progressbar",..._,...f,children:(0,g.jsx)(S,{className:y.svg,ownerState:d,viewBox:"22 22 44 44",children:(0,g.jsx)(w,{className:y.circle,style:m,ownerState:d,cx:44,cy:44,r:(44-c)/2,fill:"none",strokeWidth:c})})})})},1751:function(t,e,n){n.d(e,{i:()=>a});var r=n(4538),i=n(6819);n(4246);let o=r.createContext(void 0);function a(t){return function({props:t,name:e}){return function(t){let{theme:e,name:n,props:r}=t;if(!e||!e.components||!e.components[n])return r;let o=e.components[n];return o.defaultProps?(0,i.Z)(o.defaultProps,r):o.styleOverrides||o.variants?r:(0,i.Z)(o,r)}({props:t,name:e,theme:{components:r.useContext(o)}})}(t)}},5094:function(t,e,n){n.d(e,{Z:()=>w});var r=n(4538),i=n(496),o=n(2267),a=n(6839),s=n(6838),l=n(2709),u=n(2319),c=n(433),h=n(1751),p=n(4544),f=n(898),d=n(1640),g=n(4124),y=n(6749);function m(t){return(0,y.ZP)("MuiIconButton",t)}let v=(0,g.Z)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]);var _=n(4246);let x=t=>{let{classes:e,disabled:n,color:r,edge:i,size:a,loading:s}=t,l={root:["root",s&&"loading",n&&"disabled","default"!==r&&`color${(0,d.Z)(r)}`,i&&`edge${(0,d.Z)(i)}`,`size${(0,d.Z)(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,o.Z)(l,m,e)},b=(0,l.ZP)(p.Z,{name:"MuiIconButton",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,n.loading&&e.loading,"default"!==n.color&&e[`color${(0,d.Z)(n.color)}`],n.edge&&e[`edge${(0,d.Z)(n.edge)}`],e[`size${(0,d.Z)(n.size)}`]]}})((0,u.Z)(({theme:t})=>({textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:t=>!t.disableRipple,style:{"--IconButton-hoverBg":t.vars?`rgba(${t.vars.palette.action.activeChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,s.Fq)(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),(0,u.Z)(({theme:t})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter((0,c.Z)()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette).filter((0,c.Z)()).map(([e])=>({props:{color:e},style:{"--IconButton-hoverBg":t.vars?`rgba(${(t.vars||t).palette[e].mainChannel} / ${t.vars.palette.action.hoverOpacity})`:(0,s.Fq)((t.vars||t).palette[e].main,t.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],[`&.${v.disabled}`]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},[`&.${v.loading}`]:{color:"transparent"}}))),S=(0,l.ZP)("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(t,e)=>e.loadingIndicator})(({theme:t})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),w=r.forwardRef(function(t,e){let n=(0,h.i)({props:t,name:"MuiIconButton"}),{edge:r=!1,children:o,className:s,color:l="default",disabled:u=!1,disableFocusRipple:c=!1,size:p="medium",id:d,loading:g=null,loadingIndicator:y,...m}=n,v=(0,a.Z)(d),w=y??(0,_.jsx)(f.Z,{"aria-labelledby":v,color:"inherit",size:16}),k={...n,edge:r,color:l,disabled:u,disableFocusRipple:c,loading:g,loadingIndicator:w,size:p},T=x(k);return(0,_.jsxs)(b,{id:g?v:d,className:(0,i.Z)(T.root,s),centerRipple:!0,focusRipple:!c,disabled:u||g,ref:e,...m,ownerState:k,children:["boolean"==typeof g&&(0,_.jsx)("span",{className:T.loadingWrapper,style:{display:"contents"},children:(0,_.jsx)(S,{className:T.loadingIndicator,ownerState:k,children:g&&w})}),o]})})},8866:function(t,e,n){n.d(e,{Z:()=>v});var r=n(4538),i=n(496),o=n(2267),a=n(6838),s=n(2709),l=n(4776),u=n(2319),c=n(1751),h=n(8505),p=n(4124),f=n(6749);function d(t){return(0,f.ZP)("MuiPaper",t)}(0,p.Z)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);var g=n(4246);let y=t=>{let{square:e,elevation:n,variant:r,classes:i}=t,a={root:["root",r,!e&&"rounded","elevation"===r&&`elevation${n}`]};return(0,o.Z)(a,d,i)},m=(0,s.ZP)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,e[n.variant],!n.square&&e.rounded,"elevation"===n.variant&&e[`elevation${n.elevation}`]]}})((0,u.Z)(({theme:t})=>({backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(t.vars||t).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),v=r.forwardRef(function(t,e){let n=(0,c.i)({props:t,name:"MuiPaper"}),r=(0,l.Z)(),{className:o,component:s="div",elevation:u=1,square:p=!1,variant:f="elevation",...d}=n,v={...n,component:s,elevation:u,square:p,variant:f},_=y(v);return(0,g.jsx)(m,{as:s,ownerState:v,className:(0,i.Z)(_.root,o),ref:e,...d,style:{..."elevation"===f&&{"--Paper-shadow":(r.vars||r).shadows[u],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[u]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,a.Fq)("#fff",(0,h.Z)(u))}, ${(0,a.Fq)("#fff",(0,h.Z)(u))})`}},...d.style}})})},5283:function(t,e,n){n.d(e,{Z:()=>a});var r=n(9886),i=n(2709),o=n(1751);let a=(0,r.Z)({createStyledComponent:(0,i.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>(0,o.i)({props:t,name:"MuiStack"})})},190:function(t,e,n){n.d(e,{Z:()=>m});var r=n(4538),i=n(496),o=n(2267),a=n(2679),s=n(2709),l=n(2319),u=n(1751),c=n(4124),h=n(6749);function p(t){return(0,h.ZP)("MuiTable",t)}(0,c.Z)("MuiTable",["root","stickyHeader"]);var f=n(4246);let d=t=>{let{classes:e,stickyHeader:n}=t;return(0,o.Z)({root:["root",n&&"stickyHeader"]},p,e)},g=(0,s.ZP)("table",{name:"MuiTable",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,n.stickyHeader&&e.stickyHeader]}})((0,l.Z)(({theme:t})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...t.typography.body2,padding:t.spacing(2),color:(t.vars||t).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:t})=>t.stickyHeader,style:{borderCollapse:"separate"}}]}))),y="table",m=r.forwardRef(function(t,e){let n=(0,u.i)({props:t,name:"MuiTable"}),{className:o,component:s=y,padding:l="normal",size:c="medium",stickyHeader:h=!1,...p}=n,m={...n,component:s,padding:l,size:c,stickyHeader:h},v=d(m),_=r.useMemo(()=>({padding:l,size:c,stickyHeader:h}),[l,c,h]);return(0,f.jsx)(a.Z.Provider,{value:_,children:(0,f.jsx)(g,{as:s,role:s===y?null:"table",ref:e,className:(0,i.Z)(v.root,o),ownerState:m,...p})})})},2679:function(t,e,n){n.d(e,{Z:()=>r});let r=n(4538).createContext()},2641:function(t,e,n){n.d(e,{Z:()=>r});let r=n(4538).createContext()},6174:function(t,e,n){n.d(e,{Z:()=>m});var r=n(4538),i=n(496),o=n(2267),a=n(2641),s=n(2709),l=n(1751),u=n(4124),c=n(6749);function h(t){return(0,c.ZP)("MuiTableBody",t)}(0,u.Z)("MuiTableBody",["root"]);var p=n(4246);let f=t=>{let{classes:e}=t;return(0,o.Z)({root:["root"]},h,e)},d=(0,s.ZP)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-row-group"}),g={variant:"body"},y="tbody",m=r.forwardRef(function(t,e){let n=(0,l.i)({props:t,name:"MuiTableBody"}),{className:r,component:o=y,...s}=n,u={...n,component:o},c=f(u);return(0,p.jsx)(a.Z.Provider,{value:g,children:(0,p.jsx)(d,{className:(0,i.Z)(c.root,r),as:o,ref:e,role:o===y?null:"rowgroup",ownerState:u,...s})})})},6205:function(t,e,n){n.d(e,{Z:()=>x});var r=n(4538),i=n(496),o=n(2267),a=n(6838),s=n(1640),l=n(2679),u=n(2641),c=n(2709),h=n(2319),p=n(1751),f=n(4124),d=n(6749);function g(t){return(0,d.ZP)("MuiTableCell",t)}let y=(0,f.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var m=n(4246);let v=t=>{let{classes:e,variant:n,align:r,padding:i,size:a,stickyHeader:l}=t,u={root:["root",n,l&&"stickyHeader","inherit"!==r&&`align${(0,s.Z)(r)}`,"normal"!==i&&`padding${(0,s.Z)(i)}`,`size${(0,s.Z)(a)}`]};return(0,o.Z)(u,g,e)},_=(0,c.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,e[n.variant],e[`size${(0,s.Z)(n.size)}`],"normal"!==n.padding&&e[`padding${(0,s.Z)(n.padding)}`],"inherit"!==n.align&&e[`align${(0,s.Z)(n.align)}`],n.stickyHeader&&e.stickyHeader]}})((0,h.Z)(({theme:t})=>({...t.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:t.vars?`1px solid ${t.vars.palette.TableCell.border}`:`1px solid
103
+ ${"light"===t.palette.mode?(0,a.$n)((0,a.Fq)(t.palette.divider,1),.88):(0,a._j)((0,a.Fq)(t.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(t.vars||t).palette.text.primary,lineHeight:t.typography.pxToRem(24),fontWeight:t.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(t.vars||t).palette.text.primary}},{props:{variant:"footer"},style:{color:(t.vars||t).palette.text.secondary,lineHeight:t.typography.pxToRem(21),fontSize:t.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${y.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:t})=>t.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(t.vars||t).palette.background.default}}]}))),x=r.forwardRef(function(t,e){let n;let o=(0,p.i)({props:t,name:"MuiTableCell"}),{align:a="inherit",className:s,component:c,padding:h,scope:f,size:d,sortDirection:g,variant:y,...x}=o,b=r.useContext(l.Z),S=r.useContext(u.Z),w=S&&"head"===S.variant,k=f;"td"===(n=c||(w?"th":"td"))?k=void 0:!k&&w&&(k="col");let T=y||S&&S.variant,C={...o,align:a,component:n,padding:h||(b&&b.padding?b.padding:"normal"),size:d||(b&&b.size?b.size:"medium"),sortDirection:g,stickyHeader:"head"===T&&b&&b.stickyHeader,variant:T},M=v(C),D=null;return g&&(D="asc"===g?"ascending":"descending"),(0,m.jsx)(_,{as:n,ref:e,className:(0,i.Z)(M.root,s),"aria-sort":D,scope:k,ownerState:C,...x})})},1889:function(t,e,n){n.d(e,{Z:()=>m});var r=n(4538),i=n(496),o=n(2267),a=n(2641),s=n(2709),l=n(1751),u=n(4124),c=n(6749);function h(t){return(0,c.ZP)("MuiTableHead",t)}(0,u.Z)("MuiTableHead",["root"]);var p=n(4246);let f=t=>{let{classes:e}=t;return(0,o.Z)({root:["root"]},h,e)},d=(0,s.ZP)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(t,e)=>e.root})({display:"table-header-group"}),g={variant:"head"},y="thead",m=r.forwardRef(function(t,e){let n=(0,l.i)({props:t,name:"MuiTableHead"}),{className:r,component:o=y,...s}=n,u={...n,component:o},c=f(u);return(0,p.jsx)(a.Z.Provider,{value:g,children:(0,p.jsx)(d,{as:o,className:(0,i.Z)(c.root,r),ref:e,role:o===y?null:"rowgroup",ownerState:u,...s})})})},4968:function(t,e,n){n.d(e,{Z:()=>v});var r=n(4538),i=n(496),o=n(2267),a=n(6838),s=n(2641),l=n(2709),u=n(2319),c=n(1751),h=n(4124),p=n(6749);function f(t){return(0,p.ZP)("MuiTableRow",t)}let d=(0,h.Z)("MuiTableRow",["root","selected","hover","head","footer"]);var g=n(4246);let y=t=>{let{classes:e,selected:n,hover:r,head:i,footer:a}=t;return(0,o.Z)({root:["root",n&&"selected",r&&"hover",i&&"head",a&&"footer"]},f,e)},m=(0,l.ZP)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,n.head&&e.head,n.footer&&e.footer]}})((0,u.Z)(({theme:t})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${d.hover}:hover`]:{backgroundColor:(t.vars||t).palette.action.hover},[`&.${d.selected}`]:{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / ${t.vars.palette.action.selectedOpacity})`:(0,a.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),"&:hover":{backgroundColor:t.vars?`rgba(${t.vars.palette.primary.mainChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))`:(0,a.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity)}}}))),v=r.forwardRef(function(t,e){let n=(0,c.i)({props:t,name:"MuiTableRow"}),{className:o,component:a="tr",hover:l=!1,selected:u=!1,...h}=n,p=r.useContext(s.Z),f={...n,component:a,hover:l,selected:u,head:p&&"head"===p.variant,footer:p&&"footer"===p.variant},d=y(f);return(0,g.jsx)(m,{as:a,ref:e,className:(0,i.Z)(d.root,o),role:"tr"===a?null:"row",ownerState:f,...h})})},2054:function(t,e,n){n.d(e,{Z:()=>_});var r=n(4538),i=n(496),o=n(2267),a=n(2543),s=n(2709),l=n(2319),u=n(1751),c=n(1640),h=n(433),p=n(7488),f=n(4246);let d={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},g=(0,a.u7)(),y=t=>{let{align:e,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:s}=t,l={root:["root",a,"inherit"!==t.align&&`align${(0,c.Z)(e)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,o.Z)(l,p.f,s)},m=(0,s.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,n.variant&&e[n.variant],"inherit"!==n.align&&e[`align${(0,c.Z)(n.align)}`],n.noWrap&&e.noWrap,n.gutterBottom&&e.gutterBottom,n.paragraph&&e.paragraph]}})((0,l.Z)(({theme:t})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(t.typography).filter(([t,e])=>"inherit"!==t&&e&&"object"==typeof e).map(([t,e])=>({props:{variant:t},style:e})),...Object.entries(t.palette).filter((0,h.Z)()).map(([e])=>({props:{color:e},style:{color:(t.vars||t).palette[e].main}})),...Object.entries(t.palette?.text||{}).filter(([,t])=>"string"==typeof t).map(([e])=>({props:{color:`text${(0,c.Z)(e)}`},style:{color:(t.vars||t).palette.text[e]}})),{props:({ownerState:t})=>"inherit"!==t.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},_=r.forwardRef(function(t,e){let{color:n,...r}=(0,u.i)({props:t,name:"MuiTypography"}),o=!d[n],a=g({...r,...o&&{color:n}}),{align:s="inherit",className:l,component:c,gutterBottom:h=!1,noWrap:p=!1,paragraph:_=!1,variant:x="body1",variantMapping:b=v,...S}=a,w={...a,align:s,color:n,className:l,component:c,gutterBottom:h,noWrap:p,paragraph:_,variant:x,variantMapping:b},k=c||(_?"p":b[x]||v[x])||"span",T=y(w);return(0,f.jsx)(m,{as:k,ref:e,className:(0,i.Z)(T.root,l),...S,ownerState:w,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...S.style}})})},7488:function(t,e,n){n.d(e,{Z:()=>a,f:()=>o});var r=n(4124),i=n(6749);function o(t){return(0,i.ZP)("MuiTypography",t)}let a=(0,r.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},3049:function(t,e,n){n.d(e,{Z:()=>o}),n(4538);var r=n(247),i=n(4246);let o=(0,r.Z)((0,i.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},6385:function(t,e,n){n.d(e,{Z:()=>te});var r=n(2220),i=n(1170),o=n(6838);let a={black:"#000",white:"#fff"},s={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},l={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},u={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},c={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},h={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},p={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},f={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function d(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.white,default:a.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let g=d();function y(){return{text:{primary:a.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:a.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let m=y();function v(t,e,n,r){let i=r.light||r,a=r.dark||1.5*r;t[e]||(t.hasOwnProperty(n)?t[e]=t[n]:"light"===e?t.light=(0,o.$n)(t.main,i):"dark"===e&&(t.dark=(0,o._j)(t.main,a)))}function _(t){let e;let{mode:n="light",contrastThreshold:_=3,tonalOffset:x=.2,...b}=t,S=t.primary||function(t="light"){return"dark"===t?{main:h["200"],light:h["50"],dark:h["400"]}:{main:h["700"],light:h["400"],dark:h["800"]}}(n),w=t.secondary||function(t="light"){return"dark"===t?{main:l["200"],light:l["50"],dark:l["400"]}:{main:l["500"],light:l["300"],dark:l["700"]}}(n),k=t.error||function(t="light"){return"dark"===t?{main:u["500"],light:u["300"],dark:u["700"]}:{main:u["700"],light:u["400"],dark:u["800"]}}(n),T=t.info||function(t="light"){return"dark"===t?{main:p["400"],light:p["300"],dark:p["700"]}:{main:p["700"],light:p["500"],dark:p["900"]}}(n),C=t.success||function(t="light"){return"dark"===t?{main:f["400"],light:f["300"],dark:f["700"]}:{main:f["800"],light:f["500"],dark:f["900"]}}(n),M=t.warning||function(t="light"){return"dark"===t?{main:c["400"],light:c["300"],dark:c["700"]}:{main:"#ed6c02",light:c["500"],dark:c["900"]}}(n);function D(t){return(0,o.mi)(t,m.text.primary)>=_?m.text.primary:g.text.primary}let I=({color:t,name:e,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(t={...t}).main&&t[n]&&(t.main=t[n]),!t.hasOwnProperty("main"))throw Error((0,r.Z)(11,e?` (${e})`:"",n));if("string"!=typeof t.main)throw Error((0,r.Z)(12,e?` (${e})`:"",JSON.stringify(t.main)));return v(t,"light",i,x),v(t,"dark",o,x),t.contrastText||(t.contrastText=D(t.main)),t};return"light"===n?e=d():"dark"===n&&(e=y()),(0,i.Z)({common:{...a},mode:n,primary:I({color:S,name:"primary"}),secondary:I({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:I({color:k,name:"error"}),warning:I({color:M,name:"warning"}),info:I({color:T,name:"info"}),success:I({color:C,name:"success"}),grey:s,contrastThreshold:_,getContrastText:D,augmentColor:I,tonalOffset:x,...e},b)}var x=n(4715),b=n(2664);let S=(t,e,n,r=[])=>{let i=t;e.forEach((t,o)=>{o===e.length-1?Array.isArray(i)?i[Number(t)]=n:i&&"object"==typeof i&&(i[t]=n):i&&"object"==typeof i&&(i[t]||(i[t]=r.includes(t)?[]:{}),i=i[t])})},w=(t,e,n)=>{!function t(r,i=[],o=[]){Object.entries(r).forEach(([r,a])=>{n&&(!n||n([...i,r]))||null==a||("object"==typeof a&&Object.keys(a).length>0?t(a,[...i,r],Array.isArray(a)?[...o,r]:o):e([...i,r],a,o))})}(t)},k=(t,e)=>"number"==typeof e?["lineHeight","fontWeight","opacity","zIndex"].some(e=>t.includes(e))||t[t.length-1].toLowerCase().includes("opacity")?e:`${e}px`:e;function T(t,e){let{prefix:n,shouldSkipGeneratingVar:r}=e||{},i={},o={},a={};return w(t,(t,e,s)=>{if(("string"==typeof e||"number"==typeof e)&&(!r||!r(t,e))){let r=`--${n?`${n}-`:""}${t.join("-")}`,l=k(t,e);Object.assign(i,{[r]:l}),S(o,t,`var(${r})`,s),S(a,t,`var(${r}, ${l})`,s)}},t=>"vars"===t[0]),{css:i,vars:o,varsWithDefaults:a}}let C=function(t,e={}){let{getSelector:n=function(e,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),e){if("media"===r){if(t.defaultColorScheme===e)return":root";let r=a[e]?.palette?.mode||e;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return t.defaultColorScheme===e?`:root, ${r.replace("%s",String(e))}`:r.replace("%s",String(e))}return":root"},disableCssColorScheme:r,colorSchemeSelector:o}=e,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...u}=t,{vars:c,css:h,varsWithDefaults:p}=T(u,e),f=p,d={},{[l]:g,...y}=a;if(Object.entries(y||{}).forEach(([t,n])=>{let{vars:r,css:o,varsWithDefaults:a}=T(n,e);f=(0,i.Z)(f,a),d[t]={css:o,vars:r}}),g){let{css:t,vars:n,varsWithDefaults:r}=T(g,e);f=(0,i.Z)(f,r),d[l]={css:t,vars:n}}return{vars:f,generateThemeVars:()=>{let t={...c};return Object.entries(d).forEach(([,{vars:e}])=>{t=(0,i.Z)(t,e)}),t},generateStyleSheets:()=>{let e=[],i=t.defaultColorScheme||"light";function o(t,n){Object.keys(n).length&&e.push("string"==typeof t?{[t]:{...n}}:t)}o(n(void 0,{...h}),h);let{[i]:s,...l}=d;if(s){let{css:t}=s,e=a[i]?.palette?.mode,l=!r&&e?{colorScheme:e,...t}:{...t};o(n(i,{...l}),l)}return Object.entries(l).forEach(([t,{css:e}])=>{let i=a[t]?.palette?.mode,s=!r&&i?{colorScheme:i,...e}:{...e};o(n(t,{...s}),s)}),e}}};var M=n(273),D=n(1652),I=n(6798);let Z={textTransform:"uppercase"},P='"Roboto", "Helvetica", "Arial", sans-serif';function A(...t){return`${t[0]}px ${t[1]}px ${t[2]}px ${t[3]}px rgba(0,0,0,0.2),${t[4]}px ${t[5]}px ${t[6]}px ${t[7]}px rgba(0,0,0,0.14),${t[8]}px ${t[9]}px ${t[10]}px ${t[11]}px rgba(0,0,0,0.12)`}let O=["none",A(0,2,1,-1,0,1,1,0,0,1,3,0),A(0,3,1,-2,0,2,2,0,0,1,5,0),A(0,3,3,-2,0,3,4,0,0,1,8,0),A(0,2,4,-1,0,4,5,0,0,1,10,0),A(0,3,5,-1,0,5,8,0,0,1,14,0),A(0,3,5,-1,0,6,10,0,0,1,18,0),A(0,4,5,-2,0,7,10,1,0,2,16,1),A(0,5,5,-3,0,8,10,1,0,3,14,2),A(0,5,6,-3,0,9,12,1,0,3,16,2),A(0,6,6,-3,0,10,14,1,0,4,18,3),A(0,6,7,-4,0,11,15,1,0,4,20,3),A(0,7,8,-4,0,12,17,2,0,5,22,4),A(0,7,8,-4,0,13,19,2,0,5,24,4),A(0,7,9,-4,0,14,21,2,0,5,26,4),A(0,8,9,-5,0,15,22,2,0,6,28,5),A(0,8,10,-5,0,16,24,2,0,6,30,5),A(0,8,11,-5,0,17,26,2,0,6,32,5),A(0,9,11,-5,0,18,28,2,0,7,34,6),A(0,9,12,-6,0,19,29,2,0,7,36,6),A(0,10,13,-6,0,20,31,3,0,8,38,7),A(0,10,13,-6,0,21,33,3,0,8,40,7),A(0,10,14,-6,0,22,35,3,0,8,42,7),A(0,11,14,-7,0,23,36,3,0,9,44,8),A(0,11,15,-7,0,24,38,3,0,9,46,8)],R={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},L={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function B(t){return`${Math.round(t)}ms`}function z(t){if(!t)return 0;let e=t/36;return Math.min(Math.round((4+15*e**.25+e/5)*10),3e3)}let F={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function E(t={}){let e={...t};return!function t(e){let n=Object.entries(e);for(let r=0;r<n.length;r++){let[o,a]=n[r];!((0,i.P)(a)||void 0===a||"string"==typeof a||"boolean"==typeof a||"number"==typeof a||Array.isArray(a))||o.startsWith("unstable_")?delete e[o]:(0,i.P)(a)&&(e[o]={...a},t(e[o]))}}(e),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
104
+
105
+ const theme = ${JSON.stringify(e,null,2)};
106
+
107
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
108
+ theme.transitions = createTransitions(theme.transitions || {});
109
+
110
+ export default theme;`}let N=function(t={},...e){var n;let{breakpoints:o,mixins:a={},spacing:s,palette:l={},transitions:u={},typography:c={},shape:h,...p}=t;if(t.vars&&void 0===t.generateThemeVars)throw Error((0,r.Z)(20));let f=_(l),d=(0,I.Z)(t),g=(0,i.Z)(d,{mixins:{toolbar:{minHeight:56,[(n=d.breakpoints).up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[n.up("sm")]:{minHeight:64}},...a},palette:f,shadows:O.slice(),typography:function(t,e){let{fontFamily:n=P,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:c,pxToRem:h,...p}="function"==typeof e?e(t):e,f=r/14,d=h||(t=>`${t/u*f}rem`),g=(t,e,r,i,o)=>({fontFamily:n,fontWeight:t,fontSize:d(e),lineHeight:r,...n===P?{letterSpacing:`${Math.round(i/e*1e5)/1e5}em`}:{},...o,...c}),y={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(s,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(s,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(s,14,1.75,.4,Z),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,Z),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,i.Z)({htmlFontSize:u,pxToRem:d,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l,...y},p,{clone:!1})}(f,c),transitions:function(t){let e={...R,...t.easing},n={...L,...t.duration};return{getAutoHeightDuration:z,create:(t=["all"],r={})=>{let{duration:i=n.standard,easing:o=e.easeInOut,delay:a=0,...s}=r;return(Array.isArray(t)?t:[t]).map(t=>`${t} ${"string"==typeof i?i:B(i)} ${o} ${"string"==typeof a?a:B(a)}`).join(",")},...t,easing:e,duration:n}}(u),zIndex:{...F}});return g=(0,i.Z)(g,p),(g=e.reduce((t,e)=>(0,i.Z)(t,e),g)).unstable_sxConfig={...M.Z,...p?.unstable_sxConfig},g.unstable_sx=function(t){return(0,D.Z)({sx:t,theme:this})},g.toRuntimeSource=E,g};var W=n(8505);let H=[...Array(25)].map((t,e)=>{if(0===e)return"none";let n=(0,W.Z)(e);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function j(t){return{inputPlaceholder:"dark"===t?.5:.42,inputUnderline:"dark"===t?.7:.42,switchTrackDisabled:"dark"===t?.2:.12,switchTrack:"dark"===t?.3:.38}}function $(t){return"dark"===t?H:[]}function V(t){return!!t[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!t[0].match(/sxConfig$/)||"palette"===t[0]&&!!t[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}let U=t=>[...[...Array(25)].map((e,n)=>`--${t?`${t}-`:""}overlays-${n}`),`--${t?`${t}-`:""}palette-AppBar-darkBg`,`--${t?`${t}-`:""}palette-AppBar-darkColor`],q=t=>(e,n)=>{let r=t.rootSelector||":root",i=t.colorSchemeSelector,o=i;if("class"===i&&(o=".%s"),"data"===i&&(o="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(o=`[${i}="%s"]`),t.defaultColorScheme===e){if("dark"===e){let i={};return(U(t.cssVarPrefix).forEach(t=>{i[t]=n[t],delete n[t]}),"media"===o)?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:o?{[o.replace("%s",e)]:i,[`${r}, ${o.replace("%s",e)}`]:n}:{[r]:{...n,...i}}}if(o&&"media"!==o)return`${r}, ${o.replace("%s",String(e))}`}else if(e){if("media"===o)return{[`@media (prefers-color-scheme: ${String(e)})`]:{[r]:n}};if(o)return o.replace("%s",String(e))}return r};function G(t,e,n){!t[e]&&n&&(t[e]=n)}function X(t){return"string"==typeof t&&t.startsWith("hsl")?(0,o.ve)(t):t}function K(t,e){`${e}Channel`in t||(t[`${e}Channel`]=(0,o.LR)(X(t[e]),`MUI: Can't create \`palette.${e}Channel\` because \`palette.${e}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
111
+ To suppress this warning, you need to explicitly provide the \`palette.${e}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}let Y=t=>{try{return t()}catch(t){}},J=(t="mui")=>(function(t=""){return(e,...n)=>`var(--${t?`${t}-`:""}${e}${function e(...n){if(!n.length)return"";let r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${t?`${t}-`:""}${r}${e(...n.slice(1))})`}(...n)})`})(t);function Q(t,e,n,r){if(!e)return;e=!0===e?{}:e;let i="dark"===r?"dark":"light";if(!n){t[r]=function(t){let{palette:e={mode:"light"},opacity:n,overlays:r,...i}=t,o=_(e);return{palette:o,opacity:{...j(o.mode),...n},overlays:r||$(o.mode),...i}}({...e,palette:{mode:i,...e?.palette}});return}let{palette:o,...a}=N({...n,palette:{mode:i,...e?.palette}});return t[r]={...e,palette:o,opacity:{...j(i),...e?.opacity},overlays:e?.overlays||$(i)},a}function tt(t,e,n){t.colorSchemes&&n&&(t.colorSchemes[e]={...!0!==n&&n,palette:_({...!0===n?{}:n.palette,mode:e})})}function te(t={},...e){let{palette:n,cssVariables:a=!1,colorSchemes:s=n?void 0:{light:!0},defaultColorScheme:l=n?.mode,...u}=t,c=l||"light",h=s?.[c],p={...s,...n?{[c]:{..."boolean"!=typeof h&&h,palette:n}}:void 0};if(!1===a){if(!("colorSchemes"in t))return N(t,...e);let r=n;"palette"in t||!p[c]||(!0!==p[c]?r=p[c].palette:"dark"!==c||(r={mode:"dark"}));let i=N({...t,palette:r},...e);return i.defaultColorScheme=c,i.colorSchemes=p,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==p.light&&p.light,palette:i.palette},tt(i,"dark",p.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==p.dark&&p.dark,palette:i.palette},tt(i,"light",p.light)),i}return n||"light"in p||"light"!==c||(p.light=!0),function(t={},...e){var n;let{colorSchemes:a={light:!0},defaultColorScheme:s,disableCssColorScheme:l=!1,cssVarPrefix:u="mui",shouldSkipGeneratingVar:c=V,colorSchemeSelector:h=a.light&&a.dark?"media":void 0,rootSelector:p=":root",...f}=t,d=Object.keys(a)[0],g=s||(a.light&&"light"!==d?"light":d),y=J(u),{[g]:m,light:v,dark:_,...S}=a,w={...S},k=m;if(("dark"!==g||"dark"in a)&&("light"!==g||"light"in a)||(k=!0),!k)throw Error((0,r.Z)(21,g));let T=Q(w,k,f,g);v&&!w.light&&Q(w,v,void 0,"light"),_&&!w.dark&&Q(w,_,void 0,"dark");let I={defaultColorScheme:g,...T,cssVarPrefix:u,colorSchemeSelector:h,rootSelector:p,getCssVar:y,colorSchemes:w,font:{...function(t){let e={};return Object.entries(t).forEach(t=>{let[n,r]=t;"object"==typeof r&&(e[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),e}(T.typography),...T.font},spacing:"number"==typeof(n=f.spacing)?`${n}px`:"string"==typeof n||"function"==typeof n||Array.isArray(n)?n:"8px"};Object.keys(I.colorSchemes).forEach(t=>{let e=I.colorSchemes[t].palette,n=t=>{let n=t.split("-"),r=n[1],i=n[2];return y(t,e[r][i])};if("light"===e.mode&&(G(e.common,"background","#fff"),G(e.common,"onBackground","#000")),"dark"===e.mode&&(G(e.common,"background","#000"),G(e.common,"onBackground","#fff")),function(t,e){e.forEach(e=>{t[e]||(t[e]={})})}(e,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===e.mode){G(e.Alert,"errorColor",(0,o.q8)(e.error.light,.6)),G(e.Alert,"infoColor",(0,o.q8)(e.info.light,.6)),G(e.Alert,"successColor",(0,o.q8)(e.success.light,.6)),G(e.Alert,"warningColor",(0,o.q8)(e.warning.light,.6)),G(e.Alert,"errorFilledBg",n("palette-error-main")),G(e.Alert,"infoFilledBg",n("palette-info-main")),G(e.Alert,"successFilledBg",n("palette-success-main")),G(e.Alert,"warningFilledBg",n("palette-warning-main")),G(e.Alert,"errorFilledColor",Y(()=>e.getContrastText(e.error.main))),G(e.Alert,"infoFilledColor",Y(()=>e.getContrastText(e.info.main))),G(e.Alert,"successFilledColor",Y(()=>e.getContrastText(e.success.main))),G(e.Alert,"warningFilledColor",Y(()=>e.getContrastText(e.warning.main))),G(e.Alert,"errorStandardBg",(0,o.ux)(e.error.light,.9)),G(e.Alert,"infoStandardBg",(0,o.ux)(e.info.light,.9)),G(e.Alert,"successStandardBg",(0,o.ux)(e.success.light,.9)),G(e.Alert,"warningStandardBg",(0,o.ux)(e.warning.light,.9)),G(e.Alert,"errorIconColor",n("palette-error-main")),G(e.Alert,"infoIconColor",n("palette-info-main")),G(e.Alert,"successIconColor",n("palette-success-main")),G(e.Alert,"warningIconColor",n("palette-warning-main")),G(e.AppBar,"defaultBg",n("palette-grey-100")),G(e.Avatar,"defaultBg",n("palette-grey-400")),G(e.Button,"inheritContainedBg",n("palette-grey-300")),G(e.Button,"inheritContainedHoverBg",n("palette-grey-A100")),G(e.Chip,"defaultBorder",n("palette-grey-400")),G(e.Chip,"defaultAvatarColor",n("palette-grey-700")),G(e.Chip,"defaultIconColor",n("palette-grey-700")),G(e.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),G(e.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),G(e.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),G(e.LinearProgress,"primaryBg",(0,o.ux)(e.primary.main,.62)),G(e.LinearProgress,"secondaryBg",(0,o.ux)(e.secondary.main,.62)),G(e.LinearProgress,"errorBg",(0,o.ux)(e.error.main,.62)),G(e.LinearProgress,"infoBg",(0,o.ux)(e.info.main,.62)),G(e.LinearProgress,"successBg",(0,o.ux)(e.success.main,.62)),G(e.LinearProgress,"warningBg",(0,o.ux)(e.warning.main,.62)),G(e.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),G(e.Slider,"primaryTrack",(0,o.ux)(e.primary.main,.62)),G(e.Slider,"secondaryTrack",(0,o.ux)(e.secondary.main,.62)),G(e.Slider,"errorTrack",(0,o.ux)(e.error.main,.62)),G(e.Slider,"infoTrack",(0,o.ux)(e.info.main,.62)),G(e.Slider,"successTrack",(0,o.ux)(e.success.main,.62)),G(e.Slider,"warningTrack",(0,o.ux)(e.warning.main,.62));let t=(0,o.fk)(e.background.default,.8);G(e.SnackbarContent,"bg",t),G(e.SnackbarContent,"color",Y(()=>e.getContrastText(t))),G(e.SpeedDialAction,"fabHoverBg",(0,o.fk)(e.background.paper,.15)),G(e.StepConnector,"border",n("palette-grey-400")),G(e.StepContent,"border",n("palette-grey-400")),G(e.Switch,"defaultColor",n("palette-common-white")),G(e.Switch,"defaultDisabledColor",n("palette-grey-100")),G(e.Switch,"primaryDisabledColor",(0,o.ux)(e.primary.main,.62)),G(e.Switch,"secondaryDisabledColor",(0,o.ux)(e.secondary.main,.62)),G(e.Switch,"errorDisabledColor",(0,o.ux)(e.error.main,.62)),G(e.Switch,"infoDisabledColor",(0,o.ux)(e.info.main,.62)),G(e.Switch,"successDisabledColor",(0,o.ux)(e.success.main,.62)),G(e.Switch,"warningDisabledColor",(0,o.ux)(e.warning.main,.62)),G(e.TableCell,"border",(0,o.ux)((0,o.zp)(e.divider,1),.88)),G(e.Tooltip,"bg",(0,o.zp)(e.grey[700],.92))}if("dark"===e.mode){G(e.Alert,"errorColor",(0,o.ux)(e.error.light,.6)),G(e.Alert,"infoColor",(0,o.ux)(e.info.light,.6)),G(e.Alert,"successColor",(0,o.ux)(e.success.light,.6)),G(e.Alert,"warningColor",(0,o.ux)(e.warning.light,.6)),G(e.Alert,"errorFilledBg",n("palette-error-dark")),G(e.Alert,"infoFilledBg",n("palette-info-dark")),G(e.Alert,"successFilledBg",n("palette-success-dark")),G(e.Alert,"warningFilledBg",n("palette-warning-dark")),G(e.Alert,"errorFilledColor",Y(()=>e.getContrastText(e.error.dark))),G(e.Alert,"infoFilledColor",Y(()=>e.getContrastText(e.info.dark))),G(e.Alert,"successFilledColor",Y(()=>e.getContrastText(e.success.dark))),G(e.Alert,"warningFilledColor",Y(()=>e.getContrastText(e.warning.dark))),G(e.Alert,"errorStandardBg",(0,o.q8)(e.error.light,.9)),G(e.Alert,"infoStandardBg",(0,o.q8)(e.info.light,.9)),G(e.Alert,"successStandardBg",(0,o.q8)(e.success.light,.9)),G(e.Alert,"warningStandardBg",(0,o.q8)(e.warning.light,.9)),G(e.Alert,"errorIconColor",n("palette-error-main")),G(e.Alert,"infoIconColor",n("palette-info-main")),G(e.Alert,"successIconColor",n("palette-success-main")),G(e.Alert,"warningIconColor",n("palette-warning-main")),G(e.AppBar,"defaultBg",n("palette-grey-900")),G(e.AppBar,"darkBg",n("palette-background-paper")),G(e.AppBar,"darkColor",n("palette-text-primary")),G(e.Avatar,"defaultBg",n("palette-grey-600")),G(e.Button,"inheritContainedBg",n("palette-grey-800")),G(e.Button,"inheritContainedHoverBg",n("palette-grey-700")),G(e.Chip,"defaultBorder",n("palette-grey-700")),G(e.Chip,"defaultAvatarColor",n("palette-grey-300")),G(e.Chip,"defaultIconColor",n("palette-grey-300")),G(e.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),G(e.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),G(e.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),G(e.LinearProgress,"primaryBg",(0,o.q8)(e.primary.main,.5)),G(e.LinearProgress,"secondaryBg",(0,o.q8)(e.secondary.main,.5)),G(e.LinearProgress,"errorBg",(0,o.q8)(e.error.main,.5)),G(e.LinearProgress,"infoBg",(0,o.q8)(e.info.main,.5)),G(e.LinearProgress,"successBg",(0,o.q8)(e.success.main,.5)),G(e.LinearProgress,"warningBg",(0,o.q8)(e.warning.main,.5)),G(e.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),G(e.Slider,"primaryTrack",(0,o.q8)(e.primary.main,.5)),G(e.Slider,"secondaryTrack",(0,o.q8)(e.secondary.main,.5)),G(e.Slider,"errorTrack",(0,o.q8)(e.error.main,.5)),G(e.Slider,"infoTrack",(0,o.q8)(e.info.main,.5)),G(e.Slider,"successTrack",(0,o.q8)(e.success.main,.5)),G(e.Slider,"warningTrack",(0,o.q8)(e.warning.main,.5));let t=(0,o.fk)(e.background.default,.98);G(e.SnackbarContent,"bg",t),G(e.SnackbarContent,"color",Y(()=>e.getContrastText(t))),G(e.SpeedDialAction,"fabHoverBg",(0,o.fk)(e.background.paper,.15)),G(e.StepConnector,"border",n("palette-grey-600")),G(e.StepContent,"border",n("palette-grey-600")),G(e.Switch,"defaultColor",n("palette-grey-300")),G(e.Switch,"defaultDisabledColor",n("palette-grey-600")),G(e.Switch,"primaryDisabledColor",(0,o.q8)(e.primary.main,.55)),G(e.Switch,"secondaryDisabledColor",(0,o.q8)(e.secondary.main,.55)),G(e.Switch,"errorDisabledColor",(0,o.q8)(e.error.main,.55)),G(e.Switch,"infoDisabledColor",(0,o.q8)(e.info.main,.55)),G(e.Switch,"successDisabledColor",(0,o.q8)(e.success.main,.55)),G(e.Switch,"warningDisabledColor",(0,o.q8)(e.warning.main,.55)),G(e.TableCell,"border",(0,o.q8)((0,o.zp)(e.divider,1),.68)),G(e.Tooltip,"bg",(0,o.zp)(e.grey[700],.92))}K(e.background,"default"),K(e.background,"paper"),K(e.common,"background"),K(e.common,"onBackground"),K(e,"divider"),Object.keys(e).forEach(t=>{let n=e[t];"tonalOffset"!==t&&n&&"object"==typeof n&&(n.main&&G(e[t],"mainChannel",(0,o.LR)(X(n.main))),n.light&&G(e[t],"lightChannel",(0,o.LR)(X(n.light))),n.dark&&G(e[t],"darkChannel",(0,o.LR)(X(n.dark))),n.contrastText&&G(e[t],"contrastTextChannel",(0,o.LR)(X(n.contrastText))),"text"===t&&(K(e[t],"primary"),K(e[t],"secondary")),"action"===t&&(n.active&&K(e[t],"active"),n.selected&&K(e[t],"selected")))})});let Z={prefix:u,disableCssColorScheme:l,shouldSkipGeneratingVar:c,getSelector:q(I=e.reduce((t,e)=>(0,i.Z)(t,e),I))},{vars:P,generateThemeVars:A,generateStyleSheets:O}=C(I,Z);return I.vars=P,Object.entries(I.colorSchemes[I.defaultColorScheme]).forEach(([t,e])=>{I[t]=e}),I.generateThemeVars=A,I.generateStyleSheets=O,I.generateSpacing=function(){return(0,x.Z)(f.spacing,(0,b.hB)(this))},I.getColorSchemeSelector=function(t){return"media"===h?`@media (prefers-color-scheme: ${t})`:h?h.startsWith("data-")&&!h.includes("%s")?`[${h}="${t}"] &`:"class"===h?`.${t} &`:"data"===h?`[data-${t}] &`:`${h.replace("%s",t)} &`:"&"},I.spacing=I.generateSpacing(),I.shouldSkipGeneratingVar=c,I.unstable_sxConfig={...M.Z,...f?.unstable_sxConfig},I.unstable_sx=function(t){return(0,D.Z)({sx:t,theme:this})},I.toRuntimeSource=E,I}({...u,colorSchemes:p,defaultColorScheme:c,..."boolean"!=typeof a&&a},...e)}},3126:function(t,e,n){n.d(e,{Z:()=>r});let r=(0,n(6385).Z)()},8505:function(t,e,n){n.d(e,{Z:()=>r});function r(t){let e;return Math.round(10*(t<1?5.11916*t**2:4.5*Math.log(t+1)+2))/1e3}},2994:function(t,e,n){n.d(e,{Z:()=>r});let r="$$material"},3037:function(t,e,n){n.d(e,{Z:()=>i});var r=n(4005);let i=t=>(0,r.Z)(t)&&"classes"!==t},4005:function(t,e,n){n.d(e,{Z:()=>r});let r=function(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}},2709:function(t,e,n){n.d(e,{ZP:()=>s});var r=n(5315),i=n(3126),o=n(2994),a=n(3037);let s=(0,r.ZP)({themeId:o.Z,defaultTheme:i.Z,rootShouldForwardProp:a.Z})},4776:function(t,e,n){n.d(e,{Z:()=>a}),n(4538);var r=n(8971),i=n(3126),o=n(2994);function a(){let t=(0,r.Z)(i.Z);return t[o.Z]||t}},1640:function(t,e,n){n.d(e,{Z:()=>r});let r=n(3150).Z},433:function(t,e,n){n.d(e,{Z:()=>r});function r(t=[]){return([,e])=>e&&function(t,e=[]){if("string"!=typeof t.main)return!1;for(let n of e)if(!t.hasOwnProperty(n)||"string"!=typeof t[n])return!1;return!0}(e,t)}},247:function(t,e,n){n.d(e,{Z:()=>m});var r=n(4538),i=n(496),o=n(2267),a=n(1640),s=n(2709),l=n(2319),u=n(1751),c=n(4124),h=n(6749);function p(t){return(0,h.ZP)("MuiSvgIcon",t)}(0,c.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=n(4246);let d=t=>{let{color:e,fontSize:n,classes:r}=t,i={root:["root","inherit"!==e&&`color${(0,a.Z)(e)}`,`fontSize${(0,a.Z)(n)}`]};return(0,o.Z)(i,p,r)},g=(0,s.ZP)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:n}=t;return[e.root,"inherit"!==n.color&&e[`color${(0,a.Z)(n.color)}`],e[`fontSize${(0,a.Z)(n.fontSize)}`]]}})((0,l.Z)(({theme:t})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:t.transitions?.create?.("fill",{duration:(t.vars??t).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:t.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:t.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:t.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((t.vars??t).palette).filter(([,t])=>t&&t.main).map(([e])=>({props:{color:e},style:{color:(t.vars??t).palette?.[e]?.main}})),{props:{color:"action"},style:{color:(t.vars??t).palette?.action?.active}},{props:{color:"disabled"},style:{color:(t.vars??t).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),y=r.forwardRef(function(t,e){let n=(0,u.i)({props:t,name:"MuiSvgIcon"}),{children:o,className:a,color:s="inherit",component:l="svg",fontSize:c="medium",htmlColor:h,inheritViewBox:p=!1,titleAccess:y,viewBox:m="0 0 24 24",...v}=n,_=r.isValidElement(o)&&"svg"===o.type,x={...n,color:s,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:m,hasSvgAsChild:_},b={};p||(b.viewBox=m);let S=d(x);return(0,f.jsxs)(g,{as:l,className:(0,i.Z)(S.root,a),focusable:"false",color:h,"aria-hidden":!y||void 0,role:y?"img":void 0,ref:e,...b,...v,..._&&o.props,ownerState:x,children:[_?o.props.children:o,y?(0,f.jsx)("title",{children:y}):null]})});function m(t,e){function n(n,r){return(0,f.jsx)(y,{"data-testid":`${e}Icon`,ref:r,...n,children:t})}return n.muiName=y.muiName,r.memo(r.forwardRef(n))}y.muiName="SvgIcon"},2319:function(t,e,n){n.d(e,{Z:()=>o});var r=n(3606);let i={theme:void 0},o=function(t){let e,n;return function(o){let a=e;return(void 0===a||o.theme!==n)&&(i.theme=o.theme,e=a=(0,r.Z)(t(i)),n=o.theme),a}}},7151:function(t,e,n){n.d(e,{Z:()=>r});let r=n(1925).Z},1183:function(t,e,n){n.d(e,{Z:()=>r});let r=n(7048).Z},6839:function(t,e,n){n.d(e,{Z:()=>r});let r=n(5056).Z},6351:function(t,e,n){n.d(e,{Z:()=>s});var r=n(7048),i=n(206),o=n(5480),a=n(2729);function s(t,e){let{className:n,elementType:s,ownerState:l,externalForwardedProps:u,internalForwardedProps:c,shouldForwardComponentProp:h=!1,...p}=e,{component:f,slots:d={[t]:void 0},slotProps:g={[t]:void 0},...y}=u,m=d[t]||s,v=(0,o.Z)(g[t],l),{props:{component:_,...x},internalRef:b}=(0,a.Z)({className:n,...p,externalForwardedProps:"root"===t?y:void 0,externalSlotProps:v}),S=(0,r.Z)(b,v?.ref,e.ref),w="root"===t?_||f:_,k=(0,i.Z)(m,{..."root"===t&&!f&&!d[t]&&c,..."root"!==t&&!d[t]&&c,...x,...w&&!h&&{as:w},...w&&h&&{component:w},ref:S},l);return[m,k]}},2543:function(t,e,n){n.d(e,{zY:()=>p,u7:()=>f}),n(4538);var r=n(3772),i=n(2116),o=n(4246);function a(t){let{styles:e,defaultTheme:n={}}=t,r="function"==typeof e?t=>e(null==t||0===Object.keys(t).length?n:t):e;return(0,o.jsx)(i.Global,{styles:r})}var s=n(8971);let l=function({styles:t,themeId:e,defaultTheme:n={}}){let r=(0,s.Z)(n),i="function"==typeof t?t(e&&r[e]||r):t;return(0,o.jsx)(a,{styles:i})};var u=n(3126),c=n(2994);let h=function(t){return(0,o.jsx)(l,{...t,defaultTheme:u.Z,themeId:c.Z})};function p(t){return function(e){return(0,o.jsx)(h,{styles:"function"==typeof t?n=>t({theme:n,...e}):t})}}function f(){return r.Z}},9966:function(t,e,n){n.d(e,{ZP:()=>a,bu:()=>u,nf:()=>s});var r=n(5913),i=n.n(r),o=n(2747);function a(t,e){return i()(t,e)}function s(t,e){Array.isArray(t.__emotion_styles)&&(t.__emotion_styles=e(t.__emotion_styles))}n(2116);let l=[];function u(t){return l[0]=t,(0,o.O)(l)}},9886:function(t,e,n){n.d(e,{Z:()=>x});var r=n(4538),i=n(496),o=n(1170),a=n(6749),s=n(2267),l=n(4560),u=n(2179),c=n(3772),h=n(6798),p=n(3890),f=n(2664),d=n(4246);let g=(0,h.Z)(),y=(0,l.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function m(t){return(0,u.Z)({props:t,name:"MuiStack",defaultTheme:g})}let v=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],_=({ownerState:t,theme:e})=>{let n={display:"flex",flexDirection:"column",...(0,p.k9)({theme:e},(0,p.P$)({values:t.direction,breakpoints:e.breakpoints.values}),t=>({flexDirection:t}))};if(t.spacing){let r=(0,f.hB)(e),i=Object.keys(e.breakpoints.values).reduce((e,n)=>(("object"==typeof t.spacing&&null!=t.spacing[n]||"object"==typeof t.direction&&null!=t.direction[n])&&(e[n]=!0),e),{}),a=(0,p.P$)({values:t.direction,base:i}),s=(0,p.P$)({values:t.spacing,base:i});"object"==typeof a&&Object.keys(a).forEach((t,e,n)=>{if(!a[t]){let r=e>0?a[n[e-1]]:"column";a[t]=r}}),n=(0,o.Z)(n,(0,p.k9)({theme:e},s,(e,n)=>t.useFlexGap?{gap:(0,f.NA)(r,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${v(n?a[n]:t.direction)}`]:(0,f.NA)(r,e)}}))}return(0,p.dt)(e.breakpoints,n)};function x(t={}){let{createStyledComponent:e=y,useThemeProps:n=m,componentName:o="MuiStack"}=t,l=()=>(0,s.Z)({root:["root"]},t=>(0,a.ZP)(o,t),{}),u=e(_);return r.forwardRef(function(t,e){let o=n(t),{component:a="div",direction:s="column",spacing:h=0,divider:p,children:f,className:g,useFlexGap:y=!1,...m}=(0,c.Z)(o),v=l();return(0,d.jsx)(u,{as:a,ownerState:{direction:s,spacing:h,useFlexGap:y},ref:e,className:(0,i.Z)(v.root,g),...m,children:p?function(t,e){let n=r.Children.toArray(t).filter(Boolean);return n.reduce((t,i,o)=>(t.push(i),o<n.length-1&&t.push(r.cloneElement(e,{key:`separator-${o}`})),t),[])}(f,p):f})})}},3890:function(t,e,n){n.d(e,{L7:()=>c,P$:()=>p,VO:()=>o,W8:()=>u,dt:()=>h,k9:()=>l});var r=n(1170),i=n(8787);let o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:t=>`@media (min-width:${o[t]}px)`},s={containerQueries:t=>({up:e=>{let n="number"==typeof e?e:o[e]||e;return"number"==typeof n&&(n=`${n}px`),t?`@container ${t} (min-width:${n})`:`@container (min-width:${n})`}})};function l(t,e,n){let r=t.theme||{};if(Array.isArray(e)){let t=r.breakpoints||a;return e.reduce((r,i,o)=>(r[t.up(t.keys[o])]=n(e[o]),r),{})}if("object"==typeof e){let t=r.breakpoints||a;return Object.keys(e).reduce((a,l)=>{if((0,i.WX)(t.keys,l)){let t=(0,i.ue)(r.containerQueries?r:s,l);t&&(a[t]=n(e[l],l))}else Object.keys(t.values||o).includes(l)?a[t.up(l)]=n(e[l],l):a[l]=e[l];return a},{})}return n(e)}function u(t={}){return t.keys?.reduce((e,n)=>(e[t.up(n)]={},e),{})||{}}function c(t,e){return t.reduce((t,e)=>{let n=t[e];return n&&0!==Object.keys(n).length||delete t[e],t},e)}function h(t,...e){let n=u(t),i=[n,...e].reduce((t,e)=>(0,r.Z)(t,e),{});return c(Object.keys(n),i)}function p({values:t,breakpoints:e,base:n}){let r;let i=Object.keys(n||function(t,e){if("object"!=typeof t)return{};let n={},r=Object.keys(e);return Array.isArray(t)?r.forEach((e,r)=>{r<t.length&&(n[e]=!0)}):r.forEach(e=>{null!=t[e]&&(n[e]=!0)}),n}(t,e));return 0===i.length?t:i.reduce((e,n,i)=>(Array.isArray(t)?(e[n]=null!=t[i]?t[i]:t[r],r=i):"object"==typeof t?(e[n]=null!=t[n]?t[n]:t[r],r=n):e[n]=t,e),{})}},6838:function(t,e,n){n.d(e,{ve:()=>u,LR:()=>s,Fq:()=>p,q8:()=>g,fk:()=>v,mi:()=>h,ux:()=>m,$n:()=>y,zp:()=>f,_j:()=>d});var r=n(2220);function i(t,e=0,n=1){return function(t,e=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(e,Math.min(t,n))}(t,e,n)}function o(t){let e;if(t.type)return t;if("#"===t.charAt(0))return o(function(t){t=t.slice(1);let e=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),n=t.match(e);return n&&1===n[0].length&&(n=n.map(t=>t+t)),n?`rgb${4===n.length?"a":""}(${n.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(t));let n=t.indexOf("("),i=t.substring(0,n);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw Error((0,r.Z)(9,t));let a=t.substring(n+1,t.length-1);if("color"===i){if(e=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(e))throw Error((0,r.Z)(10,e))}else a=a.split(",");return{type:i,values:a=a.map(t=>parseFloat(t)),colorSpace:e}}let a=t=>{let e=o(t);return e.values.slice(0,3).map((t,n)=>e.type.includes("hsl")&&0!==n?`${t}%`:t).join(" ")},s=(t,e)=>{try{return a(t)}catch(e){return t}};function l(t){let{type:e,colorSpace:n}=t,{values:r}=t;return e.includes("rgb")?r=r.map((t,e)=>e<3?parseInt(t,10):t):e.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=e.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${e}(${r})`}function u(t){let{values:e}=t=o(t),n=e[0],r=e[1]/100,i=e[2]/100,a=r*Math.min(i,1-i),s=(t,e=(t+n/30)%12)=>i-a*Math.max(Math.min(e-3,9-e,1),-1),u="rgb",c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===t.type&&(u+="a",c.push(e[3])),l({type:u,values:c})}function c(t){let e="hsl"===(t=o(t)).type||"hsla"===t.type?o(u(t)).values:t.values;return Number((.2126*(e=e.map(e=>("color"!==t.type&&(e/=255),e<=.03928?e/12.92:((e+.055)/1.055)**2.4)))[0]+.7152*e[1]+.0722*e[2]).toFixed(3))}function h(t,e){let n=c(t),r=c(e);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function p(t,e){return t=o(t),e=i(e),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a"),"color"===t.type?t.values[3]=`/${e}`:t.values[3]=e,l(t)}function f(t,e,n){try{return p(t,e)}catch(e){return t}}function d(t,e){if(t=o(t),e=i(e),t.type.includes("hsl"))t.values[2]*=1-e;else if(t.type.includes("rgb")||t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]*=1-e;return l(t)}function g(t,e,n){try{return d(t,e)}catch(e){return t}}function y(t,e){if(t=o(t),e=i(e),t.type.includes("hsl"))t.values[2]+=(100-t.values[2])*e;else if(t.type.includes("rgb"))for(let n=0;n<3;n+=1)t.values[n]+=(255-t.values[n])*e;else if(t.type.includes("color"))for(let n=0;n<3;n+=1)t.values[n]+=(1-t.values[n])*e;return l(t)}function m(t,e,n){try{return y(t,e)}catch(e){return t}}function v(t,e,n){try{return function(t,e=.15){return c(t)>.5?d(t,e):y(t,e)}(t,e)}catch(e){return t}}},5315:function(t,e,n){n.d(e,{ZP:()=>p,x9:()=>u});var r=n(9966),i=n(1170),o=n(6798),a=n(1652),s=n(3606);let l=(0,o.Z)();function u(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}function c(t,e){let n="function"==typeof e?e(t):e;if(Array.isArray(n))return n.flatMap(e=>c(t,e));if(Array.isArray(n?.variants)){let e;if(n.isProcessed)e=n.style;else{let{variants:t,...r}=n;e=r}return h(t,n.variants,[e])}return n?.isProcessed?n.style:n}function h(t,e,n=[]){let r;t:for(let i=0;i<e.length;i+=1){let o=e[i];if("function"==typeof o.props){if(r??={...t,...t.ownerState,ownerState:t.ownerState},!o.props(r))continue}else for(let e in o.props)if(t[e]!==o.props[e]&&t.ownerState?.[e]!==o.props[e])continue t;"function"==typeof o.style?(r??={...t,...t.ownerState,ownerState:t.ownerState},n.push(o.style(r))):n.push(o.style)}return n}function p(t={}){let{themeId:e,defaultTheme:n=l,rootShouldForwardProp:o=u,slotShouldForwardProp:f=u}=t;function d(t){t.theme=!function(t){for(let e in t)return!1;return!0}(t.theme)?t.theme[e]||t.theme:n}return(t,e={})=>{var n,l,p,g,y;(0,r.nf)(t,t=>t.filter(t=>t!==a.Z));let{name:m,slot:v,skipVariantsResolver:_,skipSx:x,overridesResolver:b=(n=(l=v)?l.charAt(0).toLowerCase()+l.slice(1):l)?(t,e)=>e[n]:null,...S}=e,w=void 0!==_?_:v&&"Root"!==v&&"root"!==v||!1,k=x||!1,T=u;"Root"===v||"root"===v?T=o:v?T=f:"string"==typeof(p=t)&&p.charCodeAt(0)>96&&(T=void 0);let C=(0,r.ZP)(t,{shouldForwardProp:T,label:(g=0,y=0,void 0),...S}),M=t=>{if("function"==typeof t&&t.__emotion_real!==t)return function(e){return c(e,t)};if((0,i.P)(t)){let e=(0,s.Z)(t);return e.variants?function(t){return c(t,e)}:e.style}return t},D=(...e)=>{let n=[],r=e.map(M),i=[];if(n.push(d),m&&b&&i.push(function(t){let e=t.theme,n=e.components?.[m]?.styleOverrides;if(!n)return null;let r={};for(let e in n)r[e]=c(t,n[e]);return b(t,r)}),m&&!w&&i.push(function(t){let e=t.theme,n=e?.components?.[m]?.variants;return n?h(t,n):null}),k||i.push(a.Z),Array.isArray(r[0])){let t;let e=r.shift(),o=Array(n.length).fill(""),a=Array(i.length).fill("");(t=[...o,...e,...a]).raw=[...o,...e.raw,...a],n.unshift(t)}let o=C(...n,...r,...i);return t.muiName&&(o.muiName=t.muiName),o};return C.withConfig&&(D.withConfig=C.withConfig),D}}},4715:function(t,e,n){n.d(e,{Z:()=>i});var r=n(2664);function i(t=8,e=(0,r.hB)({spacing:t})){if(t.mui)return t;let n=(...t)=>(0===t.length?[1]:t).map(t=>{let n=e(t);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}},6798:function(t,e,n){n.d(e,{Z:()=>h});var r=n(1170);let i=t=>{let e=Object.keys(t).map(e=>({key:e,val:t[e]}))||[];return e.sort((t,e)=>t.val-e.val),e.reduce((t,e)=>({...t,[e.key]:e.val}),{})};var o=n(8787);let a={borderRadius:4};var s=n(4715),l=n(1652),u=n(273);function c(t,e){if(this.vars){if(!this.colorSchemes?.[t]||"function"!=typeof this.getColorSchemeSelector)return{};let n=this.getColorSchemeSelector(t);return"&"===n?e:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:e})}return this.palette.mode===t?e:{}}let h=function(t={},...e){let{breakpoints:n={},palette:h={},spacing:p,shape:f={},...d}=t,g=function(t){let{values:e={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=t,a=i(e),s=Object.keys(a);function l(t){let r="number"==typeof e[t]?e[t]:t;return`@media (min-width:${r}${n})`}function u(t){let i="number"==typeof e[t]?e[t]:t;return`@media (max-width:${i-r/100}${n})`}function c(t,i){let o=s.indexOf(i);return`@media (min-width:${"number"==typeof e[t]?e[t]:t}${n}) and (max-width:${(-1!==o&&"number"==typeof e[s[o]]?e[s[o]]:i)-r/100}${n})`}return{keys:s,values:a,up:l,down:u,between:c,only:function(t){return s.indexOf(t)+1<s.length?c(t,s[s.indexOf(t)+1]):l(t)},not:function(t){let e=s.indexOf(t);return 0===e?l(s[1]):e===s.length-1?u(s[e]):c(t,s[s.indexOf(t)+1]).replace("@media","@media not all and")},unit:n,...o}}(n),y=(0,s.Z)(p),m=(0,r.Z)({breakpoints:g,direction:"ltr",components:{},palette:{mode:"light",...h},spacing:y,shape:{...a,...f}},d);return(m=(0,o.ZP)(m)).applyStyles=c,(m=e.reduce((t,e)=>(0,r.Z)(t,e),m)).unstable_sxConfig={...u.Z,...d?.unstable_sxConfig},m.unstable_sx=function(t){return(0,l.Z)({sx:t,theme:this})},m}},8787:function(t,e,n){function r(t,e){if(!t.containerQueries)return e;let n=Object.keys(e).filter(t=>t.startsWith("@container")).sort((t,e)=>{let n=/min-width:\s*([0-9.]+)/;return+(t.match(n)?.[1]||0)-+(e.match(n)?.[1]||0)});return n.length?n.reduce((t,n)=>{let r=e[n];return delete t[n],t[n]=r,t},{...e}):e}function i(t,e){return"@"===e||e.startsWith("@")&&(t.some(t=>e.startsWith(`@${t}`))||!!e.match(/^@\d/))}function o(t,e){let n=e.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return t.containerQueries(i).up(o)}function a(t){let e=(t,e)=>t.replace("@media",e?`@container ${e}`:"@container");function n(n,r){n.up=(...n)=>e(t.breakpoints.up(...n),r),n.down=(...n)=>e(t.breakpoints.down(...n),r),n.between=(...n)=>e(t.breakpoints.between(...n),r),n.only=(...n)=>e(t.breakpoints.only(...n),r),n.not=(...n)=>{let i=e(t.breakpoints.not(...n),r);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let r={},i=t=>(n(r,t),r);return n(i),{...t,containerQueries:i}}n.d(e,{WX:()=>i,ZP:()=>a,ar:()=>r,ue:()=>o})},6360:function(t,e,n){n.d(e,{Z:()=>i});var r=n(1170);let i=function(t,e){return e?(0,r.Z)(t,e,{clone:!1}):t}},3606:function(t,e,n){n.d(e,{Z:()=>i});var r=n(9966);function i(t){let{variants:e,...n}=t,i={variants:e,style:(0,r.bu)(n),isProcessed:!0};return i.style===n||e&&e.forEach(t=>{"function"!=typeof t.style&&(t.style=(0,r.bu)(t.style))}),i}},2664:function(t,e,n){n.d(e,{NA:()=>g,hB:()=>d,e6:()=>m,o3:()=>v,eI:()=>f});var r=n(3890),i=n(3160),o=n(6360);let a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(t){let e={};return n=>(void 0===e[n]&&(e[n]=t(n)),e[n])}(t=>{if(t.length>2){if(!l[t])return[t];t=l[t]}let[e,n]=t.split(""),r=a[e],i=s[n]||"";return Array.isArray(i)?i.map(t=>r+t):[r+i]}),c=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],h=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...c,...h];function f(t,e,n,r){let o=(0,i.DW)(t,e,!0)??n;return"number"==typeof o||"string"==typeof o?t=>"string"==typeof t?t:"string"==typeof o?`calc(${t} * ${o})`:o*t:Array.isArray(o)?t=>{if("string"==typeof t)return t;let e=o[Math.abs(t)];return t>=0?e:"number"==typeof e?-e:`-${e}`}:"function"==typeof o?o:()=>void 0}function d(t){return f(t,"spacing",8,"spacing")}function g(t,e){return"string"==typeof e||null==e?e:t(e)}function y(t,e){let n=d(t.theme);return Object.keys(t).map(i=>(function(t,e,n,i){var o;if(!e.includes(n))return null;let a=(o=u(n),t=>o.reduce((e,n)=>(e[n]=g(i,t),e),{})),s=t[n];return(0,r.k9)(t,s,a)})(t,e,i,n)).reduce(o.Z,{})}function m(t){return y(t,c)}function v(t){return y(t,h)}function _(t){return y(t,p)}m.propTypes={},m.filterProps=c,v.propTypes={},v.filterProps=h,_.propTypes={},_.filterProps=p},3160:function(t,e,n){n.d(e,{DW:()=>o,Jq:()=>a,ZP:()=>s});var r=n(3150),i=n(3890);function o(t,e,n=!0){if(!e||"string"!=typeof e)return null;if(t&&t.vars&&n){let n=`vars.${e}`.split(".").reduce((t,e)=>t&&t[e]?t[e]:null,t);if(null!=n)return n}return e.split(".").reduce((t,e)=>t&&null!=t[e]?t[e]:null,t)}function a(t,e,n,r=n){let i;return i="function"==typeof t?t(n):Array.isArray(t)?t[n]||r:o(t,n)||r,e&&(i=e(i,r,t)),i}let s=function(t){let{prop:e,cssProperty:n=t.prop,themeKey:s,transform:l}=t,u=t=>{if(null==t[e])return null;let u=t[e],c=o(t.theme,s)||{};return(0,i.k9)(t,u,t=>{let i=a(c,l,t);return(t===i&&"string"==typeof t&&(i=a(c,l,`${e}${"default"===t?"":(0,r.Z)(t)}`,t)),!1===n)?i:{[n]:i}})};return u.propTypes={},u.filterProps=[e],u}},273:function(t,e,n){n.d(e,{Z:()=>H});var r=n(2664),i=n(3160),o=n(6360);let a=function(...t){let e=t.reduce((t,e)=>(e.filterProps.forEach(n=>{t[n]=e}),t),{}),n=t=>Object.keys(t).reduce((n,r)=>e[r]?(0,o.Z)(n,e[r](t)):n,{});return n.propTypes={},n.filterProps=t.reduce((t,e)=>t.concat(e.filterProps),[]),n};var s=n(3890);function l(t){return"number"!=typeof t?t:`${t}px solid`}function u(t,e){return(0,i.ZP)({prop:t,themeKey:"borders",transform:e})}let c=u("border",l),h=u("borderTop",l),p=u("borderRight",l),f=u("borderBottom",l),d=u("borderLeft",l),g=u("borderColor"),y=u("borderTopColor"),m=u("borderRightColor"),v=u("borderBottomColor"),_=u("borderLeftColor"),x=u("outline",l),b=u("outlineColor"),S=t=>{if(void 0!==t.borderRadius&&null!==t.borderRadius){let e=(0,r.eI)(t.theme,"shape.borderRadius",4,"borderRadius");return(0,s.k9)(t,t.borderRadius,t=>({borderRadius:(0,r.NA)(e,t)}))}return null};S.propTypes={},S.filterProps=["borderRadius"],a(c,h,p,f,d,g,y,m,v,_,S,x,b);let w=t=>{if(void 0!==t.gap&&null!==t.gap){let e=(0,r.eI)(t.theme,"spacing",8,"gap");return(0,s.k9)(t,t.gap,t=>({gap:(0,r.NA)(e,t)}))}return null};w.propTypes={},w.filterProps=["gap"];let k=t=>{if(void 0!==t.columnGap&&null!==t.columnGap){let e=(0,r.eI)(t.theme,"spacing",8,"columnGap");return(0,s.k9)(t,t.columnGap,t=>({columnGap:(0,r.NA)(e,t)}))}return null};k.propTypes={},k.filterProps=["columnGap"];let T=t=>{if(void 0!==t.rowGap&&null!==t.rowGap){let e=(0,r.eI)(t.theme,"spacing",8,"rowGap");return(0,s.k9)(t,t.rowGap,t=>({rowGap:(0,r.NA)(e,t)}))}return null};T.propTypes={},T.filterProps=["rowGap"];let C=(0,i.ZP)({prop:"gridColumn"}),M=(0,i.ZP)({prop:"gridRow"}),D=(0,i.ZP)({prop:"gridAutoFlow"}),I=(0,i.ZP)({prop:"gridAutoColumns"}),Z=(0,i.ZP)({prop:"gridAutoRows"}),P=(0,i.ZP)({prop:"gridTemplateColumns"}),A=(0,i.ZP)({prop:"gridTemplateRows"});function O(t,e){return"grey"===e?e:t}a(w,k,T,C,M,D,I,Z,P,A,(0,i.ZP)({prop:"gridTemplateAreas"}),(0,i.ZP)({prop:"gridArea"}));let R=(0,i.ZP)({prop:"color",themeKey:"palette",transform:O});function L(t){return t<=1&&0!==t?`${100*t}%`:t}a(R,(0,i.ZP)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:O}),(0,i.ZP)({prop:"backgroundColor",themeKey:"palette",transform:O}));let B=(0,i.ZP)({prop:"width",transform:L}),z=t=>void 0!==t.maxWidth&&null!==t.maxWidth?(0,s.k9)(t,t.maxWidth,e=>{let n=t.theme?.breakpoints?.values?.[e]||s.VO[e];return n?t.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${t.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:L(e)}}):null;z.filterProps=["maxWidth"];let F=(0,i.ZP)({prop:"minWidth",transform:L}),E=(0,i.ZP)({prop:"height",transform:L}),N=(0,i.ZP)({prop:"maxHeight",transform:L}),W=(0,i.ZP)({prop:"minHeight",transform:L});(0,i.ZP)({prop:"size",cssProperty:"width",transform:L}),(0,i.ZP)({prop:"size",cssProperty:"height",transform:L}),a(B,z,F,E,N,W,(0,i.ZP)({prop:"boxSizing"}));let H={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:S},color:{themeKey:"palette",transform:O},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:O},backgroundColor:{themeKey:"palette",transform:O},p:{style:r.o3},pt:{style:r.o3},pr:{style:r.o3},pb:{style:r.o3},pl:{style:r.o3},px:{style:r.o3},py:{style:r.o3},padding:{style:r.o3},paddingTop:{style:r.o3},paddingRight:{style:r.o3},paddingBottom:{style:r.o3},paddingLeft:{style:r.o3},paddingX:{style:r.o3},paddingY:{style:r.o3},paddingInline:{style:r.o3},paddingInlineStart:{style:r.o3},paddingInlineEnd:{style:r.o3},paddingBlock:{style:r.o3},paddingBlockStart:{style:r.o3},paddingBlockEnd:{style:r.o3},m:{style:r.e6},mt:{style:r.e6},mr:{style:r.e6},mb:{style:r.e6},ml:{style:r.e6},mx:{style:r.e6},my:{style:r.e6},margin:{style:r.e6},marginTop:{style:r.e6},marginRight:{style:r.e6},marginBottom:{style:r.e6},marginLeft:{style:r.e6},marginX:{style:r.e6},marginY:{style:r.e6},marginInline:{style:r.e6},marginInlineStart:{style:r.e6},marginInlineEnd:{style:r.e6},marginBlock:{style:r.e6},marginBlockStart:{style:r.e6},marginBlockEnd:{style:r.e6},displayPrint:{cssProperty:!1,transform:t=>({"@media print":{display:t}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:w},rowGap:{style:T},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:L},maxWidth:{style:z},minWidth:{transform:L},height:{transform:L},maxHeight:{transform:L},minHeight:{transform:L},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},3772:function(t,e,n){n.d(e,{Z:()=>a});var r=n(1170),i=n(273);let o=t=>{let e={systemProps:{},otherProps:{}},n=t?.theme?.unstable_sxConfig??i.Z;return Object.keys(t).forEach(r=>{n[r]?e.systemProps[r]=t[r]:e.otherProps[r]=t[r]}),e};function a(t){let e;let{sx:n,...i}=t,{systemProps:a,otherProps:s}=o(i);return e=Array.isArray(n)?[a,...n]:"function"==typeof n?(...t)=>{let e=n(...t);return(0,r.P)(e)?{...a,...e}:a}:{...a,...n},{...s,sx:e}}},1652:function(t,e,n){n.d(e,{Z:()=>c});var r=n(3150),i=n(6360),o=n(3160),a=n(3890),s=n(8787),l=n(273);let u=function(){function t(t,e,n,i){let s={[t]:e,theme:n},l=i[t];if(!l)return{[t]:e};let{cssProperty:u=t,themeKey:c,transform:h,style:p}=l;if(null==e)return null;if("typography"===c&&"inherit"===e)return{[t]:e};let f=(0,o.DW)(n,c)||{};return p?p(s):(0,a.k9)(s,e,e=>{let n=(0,o.Jq)(f,h,e);return(e===n&&"string"==typeof e&&(n=(0,o.Jq)(f,h,`${t}${"default"===e?"":(0,r.Z)(e)}`,e)),!1===u)?n:{[u]:n}})}return function e(n){let{sx:r,theme:o={}}=n||{};if(!r)return null;let u=o.unstable_sxConfig??l.Z;function c(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;let l=(0,a.W8)(o.breakpoints),c=Object.keys(l),h=l;return Object.keys(r).forEach(n=>{var s;let l="function"==typeof(s=r[n])?s(o):s;if(null!=l){if("object"==typeof l){if(u[n])h=(0,i.Z)(h,t(n,l,o,u));else{let t=(0,a.k9)({theme:o},l,t=>({[n]:t}));(function(...t){let e=new Set(t.reduce((t,e)=>t.concat(Object.keys(e)),[]));return t.every(t=>e.size===Object.keys(t).length)})(t,l)?h[n]=e({sx:l,theme:o}):h=(0,i.Z)(h,t)}}else h=(0,i.Z)(h,t(n,l,o,u))}}),(0,s.ar)(o,(0,a.L7)(c,h))}return Array.isArray(r)?r.map(c):c(r)}}();u.filterProps=["sx"];let c=u},4560:function(t,e,n){n.d(e,{Z:()=>r});let r=(0,n(5315).ZP)()},8971:function(t,e,n){n.d(e,{Z:()=>a});var r=n(6798),i=n(4105);let o=(0,r.Z)(),a=function(t=o){return(0,i.Z)(t)}},9267:function(t,e,n){n.d(e,{Z:()=>i});var r=n(6819);function i(t){let{theme:e,name:n,props:i}=t;return e&&e.components&&e.components[n]&&e.components[n].defaultProps?(0,r.Z)(e.components[n].defaultProps,i):i}},2179:function(t,e,n){n.d(e,{Z:()=>o});var r=n(9267),i=n(8971);function o({props:t,name:e,defaultTheme:n,themeId:o}){let a=(0,i.Z)(n);return o&&(a=a[o]||a),(0,r.Z)({theme:a,name:e,props:t})}},4105:function(t,e,n){n.d(e,{Z:()=>o});var r=n(4538),i=n(2116);let o=function(t=null){let e=r.useContext(i.ThemeContext);return e&&0!==Object.keys(e).length?e:t}},544:function(t,e,n){let r;n.d(e,{Z:()=>o});let i=t=>t,o=(r=i,{configure(t){r=t},generate:t=>r(t),reset(){r=i}})},206:function(t,e,n){n.d(e,{Z:()=>r});let r=function(t,e,n){return void 0===t||"string"==typeof t?e:{...e,ownerState:{...e.ownerState,...n}}}},3150:function(t,e,n){n.d(e,{Z:()=>i});var r=n(2220);function i(t){if("string"!=typeof t)throw Error((0,r.Z)(7));return t.charAt(0).toUpperCase()+t.slice(1)}},2267:function(t,e,n){n.d(e,{Z:()=>r});function r(t,e,n){let r={};for(let i in t){let o=t[i],a="",s=!0;for(let t=0;t<o.length;t+=1){let r=o[t];r&&(a+=(!0===s?"":" ")+e(r),s=!1,n&&n[r]&&(a+=" "+n[r]))}r[i]=a}return r}},1170:function(t,e,n){n.d(e,{P:()=>o,Z:()=>function t(e,n,a={clone:!0}){let s=a.clone?{...e}:e;return o(e)&&o(n)&&Object.keys(n).forEach(l=>{r.isValidElement(n[l])||(0,i.isValidElementType)(n[l])?s[l]=n[l]:o(n[l])&&Object.prototype.hasOwnProperty.call(e,l)&&o(e[l])?s[l]=t(e[l],n[l],a):a.clone?s[l]=o(n[l])?function t(e){if(r.isValidElement(e)||(0,i.isValidElementType)(e)||!o(e))return e;let n={};return Object.keys(e).forEach(r=>{n[r]=t(e[r])}),n}(n[l]):n[l]:s[l]=n[l]}),s}});var r=n(4538),i=n(1453);function o(t){if("object"!=typeof t||null===t)return!1;let e=Object.getPrototypeOf(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}},2438:function(t,e,n){n.d(e,{Z:()=>r});let r=function(t,e=[]){if(void 0===t)return{};let n={};return Object.keys(t).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof t[n]&&!e.includes(n)).forEach(e=>{n[e]=t[e]}),n}},2220:function(t,e,n){n.d(e,{Z:()=>r});function r(t,...e){let n=new URL(`https://mui.com/production-error/?code=${t}`);return e.forEach(t=>n.searchParams.append("args[]",t)),`Minified MUI error #${t}; visit ${n} for the full message.`}},6749:function(t,e,n){n.d(e,{ZP:()=>o});var r=n(544);let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function o(t,e,n="Mui"){let a=i[e];return a?`${n}-${a}`:`${r.Z.generate(t)}-${e}`}},4124:function(t,e,n){n.d(e,{Z:()=>i});var r=n(6749);function i(t,e,n="Mui"){let o={};return e.forEach(e=>{o[e]=(0,r.ZP)(t,e,n)}),o}},4111:function(t,e,n){n.d(e,{Z:()=>r});function r(t){try{return t.matches(":focus-visible")}catch(t){}return!1}},2729:function(t,e,n){n.d(e,{Z:()=>a});var r=n(496),i=n(2438);let o=function(t){if(void 0===t)return{};let e={};return Object.keys(t).filter(e=>!(e.match(/^on[A-Z]/)&&"function"==typeof t[e])).forEach(n=>{e[n]=t[n]}),e},a=function(t){let{getSlotProps:e,additionalProps:n,externalSlotProps:a,externalForwardedProps:s,className:l}=t;if(!e){let t=(0,r.Z)(n?.className,l,s?.className,a?.className),e={...n?.style,...s?.style,...a?.style},i={...n,...s,...a};return t.length>0&&(i.className=t),Object.keys(e).length>0&&(i.style=e),{props:i,internalRef:void 0}}let u=(0,i.Z)({...s,...a}),c=o(a),h=o(s),p=e(u),f=(0,r.Z)(p?.className,n?.className,l,s?.className,a?.className),d={...p?.style,...n?.style,...s?.style,...a?.style},g={...p,...n,...h,...c};return f.length>0&&(g.className=f),Object.keys(d).length>0&&(g.style=d),{props:g,internalRef:p.ref}}},5480:function(t,e,n){n.d(e,{Z:()=>r});let r=function(t,e,n){return"function"==typeof t?t(e,n):t}},6819:function(t,e,n){n.d(e,{Z:()=>function t(e,n){let r={...n};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if("components"===i||"slots"===i)r[i]={...e[i],...r[i]};else if("componentsProps"===i||"slotProps"===i){let o=e[i],a=n[i];if(a){if(o)for(let e in r[i]={...a},o)Object.prototype.hasOwnProperty.call(o,e)&&(r[i][e]=t(o[e],a[e]));else r[i]=a}else r[i]=o||{}}else void 0===r[i]&&(r[i]=e[i])}return r}})},5817:function(t,e,n){n.d(e,{Z:()=>r});function r(t,e){"function"==typeof t?t(e):t&&(t.current=e)}},6858:function(t,e,n){n.d(e,{Z:()=>i});var r=n(4538);let i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},1925:function(t,e,n){n.d(e,{Z:()=>o});var r=n(4538),i=n(6858);let o=function(t){let e=r.useRef(t);return(0,i.Z)(()=>{e.current=t}),r.useRef((...t)=>(0,e.current)(...t)).current}},7048:function(t,e,n){n.d(e,{Z:()=>o});var r=n(4538),i=n(5817);function o(...t){return r.useMemo(()=>t.every(t=>null==t)?null:e=>{t.forEach(t=>{(0,i.Z)(t,e)})},t)}},5056:function(t,e,n){n.d(e,{Z:()=>a});var r=n(4538);let i=0,o={...r}.useId;function a(t){if(void 0!==o){let e=o();return t??e}return function(t){let[e,n]=r.useState(t),o=t||e;return r.useEffect(()=>{null==e&&(i+=1,n(`mui-${i}`))},[e]),o}(t)}},9565:function(t,e,n){n.d(e,{Z:()=>o});var r=n(4538);let i={};function o(t,e){let n=r.useRef(i);return n.current===i&&(n.current=t(e)),n}},7126:function(t,e,n){n.d(e,{V:()=>a,Z:()=>s});var r=n(9565),i=n(4538);let o=[];class a{static create(){return new a}currentId=null;start(t,e){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,e()},t)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function s(){var t;let e=(0,r.Z)(a.create).current;return t=e.disposeEffect,i.useEffect(t,o),e}},1453:function(t,e){var n=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler");Symbol.for("react.provider");var s=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===i||t===a||t===o||t===c||t===h||t===d||"object"==typeof t&&null!==t&&(t.$$typeof===f||t.$$typeof===p||t.$$typeof===l||t.$$typeof===s||t.$$typeof===u||t.$$typeof===g||void 0!==t.getModuleId)||!1}},9988:function(t,e,n){n.d(e,{ZT:()=>i});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},6317:function(t,e,n){n.d(e,{Z:()=>f});var r=n(7784),i=n(252),o=n(4652),a=n(4538),s=n.n(a),l=n(6897);function u(t,e){var n=Object.create(null);return t&&a.Children.map(t,function(t){return t}).forEach(function(t){n[t.key]=e&&(0,a.isValidElement)(t)?e(t):t}),n}function c(t,e,n){return null!=n[e]?n[e]:t.props[e]}var h=Object.values||function(t){return Object.keys(t).map(function(e){return t[e]})},p=function(t){function e(e,n){var r,i=(r=t.call(this,e,n)||this).handleExited.bind(function(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}(0,o.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},e.getDerivedStateFromProps=function(t,e){var n,r,i=e.children,o=e.handleExited;return{children:e.firstRender?u(t.children,function(e){return(0,a.cloneElement)(e,{onExited:o.bind(null,e),in:!0,appear:c(e,"appear",t),enter:c(e,"enter",t),exit:c(e,"exit",t)})}):(Object.keys(r=function(t,e){function n(n){return n in e?e[n]:t[n]}t=t||{},e=e||{};var r,i=Object.create(null),o=[];for(var a in t)a in e?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in e){if(i[l])for(r=0;r<i[l].length;r++){var u=i[l][r];s[i[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(i,n=u(t.children))).forEach(function(e){var s=r[e];if((0,a.isValidElement)(s)){var l=e in i,u=e in n,h=i[e],p=(0,a.isValidElement)(h)&&!h.props.in;u&&(!l||p)?r[e]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:!0,exit:c(s,"exit",t),enter:c(s,"enter",t)}):u||!l||p?u&&l&&(0,a.isValidElement)(h)&&(r[e]=(0,a.cloneElement)(s,{onExited:o.bind(null,s),in:h.props.in,exit:c(s,"exit",t),enter:c(s,"enter",t)})):r[e]=(0,a.cloneElement)(s,{in:!1})}}),r),firstRender:!1}},n.handleExited=function(t,e){var n=u(this.props.children);t.key in n||(t.props.onExited&&t.props.onExited(e),this.mounted&&this.setState(function(e){var n=(0,i.Z)({},e.children);return delete n[t.key],{children:n}}))},n.render=function(){var t=this.props,e=t.component,n=t.childFactory,i=(0,r.Z)(t,["component","childFactory"]),o=this.state.contextValue,a=h(this.state.children).map(n);return(delete i.appear,delete i.enter,delete i.exit,null===e)?s().createElement(l.Z.Provider,{value:o},a):s().createElement(l.Z.Provider,{value:o},s().createElement(e,i,a))},e}(s().Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(t){return t}};let f=p},6897:function(t,e,n){n.d(e,{Z:()=>i});var r=n(4538);let i=n.n(r)().createContext(null)},1426:function(t,e,n){var r=n(4538),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(t,e,n){var r,o={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==e.key&&(u=""+e.key),void 0!==e.ref&&(c=e.ref),e)a.call(e,r)&&!l.hasOwnProperty(r)&&(o[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===o[r]&&(o[r]=e[r]);return{$$typeof:i,type:t,key:u,ref:c,props:o,_owner:s.current}}e.Fragment=o,e.jsx=u,e.jsxs=u},4246:function(t,e,n){t.exports=n(1426)},9362:function(t,e,n){n.d(e,{ZT:()=>i});var r=function(t,e){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},252:function(t,e,n){n.d(e,{Z:()=>r});function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(null,arguments)}},4652:function(t,e,n){function r(t,e){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{Z:()=>i})},7784:function(t,e,n){n.d(e,{Z:()=>r});function r(t,e){if(null==t)return{};var n={};for(var r in t)if(({}).hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}},496:function(t,e,n){n.d(e,{Z:()=>r});let r=function(){for(var t,e,n=0,r="",i=arguments.length;n<i;n++)(t=arguments[n])&&(e=function t(e){var n,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e){if(Array.isArray(e)){var o=e.length;for(n=0;n<o;n++)e[n]&&(r=t(e[n]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r)}return i}(t))&&(r&&(r+=" "),r+=e);return r}},9858:function(t,e,n){n.d(e,{D:()=>s,KZ:()=>l,XD:()=>p,Zi:()=>f,bX:()=>c,eq:()=>u,ke:()=>o});var r=n(7975),i=(0,n(6571).Yf)();function o(t,e,n,i,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var c=void 0,h=void 0,p=void 0;return i?(c=(0,r.pD)(i.duration,200),h=(0,r.pD)(i.easing,"cubicOut"),p=0):(c=e.getShallow(u?"animationDurationUpdate":"animationDuration"),h=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(c=a.duration),null!=a.easing&&(h=a.easing),null!=a.delay&&(p=a.delay)),(0,r.mf)(p)&&(p=p(n,o)),(0,r.mf)(c)&&(c=c(n)),{duration:c||0,delay:p,easing:h}}function a(t,e,n,i,a,s,l){var u,c=!1;(0,r.mf)(a)?(l=s,s=a,a=null):(0,r.Kn)(a)&&(s=a.cb,l=a.during,c=a.isFrom,u=a.removeOpt,a=a.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var p=o(t,i,a,h?u||{}:null,i&&i.getAnimationDelayParams?i.getAnimationDelayParams(e,a):null);if(p&&p.duration>0){var f={duration:p.duration,delay:p.delay||0,easing:p.easing,done:s,force:!!s||!!l,setToFinal:!h,scope:t,during:l};c?e.animateFrom(n,f):e.animateTo(n,f)}else e.stopAnimation(),c||e.attr(n),l&&l(1),s&&s()}function s(t,e,n,r,i,o){a("update",t,e,n,r,i,o)}function l(t,e,n,r,i,o){a("enter",t,e,n,r,i,o)}function u(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function c(t,e,n,r,i,o){!u(t)&&a("leave",t,e,n,r,i,o)}function h(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),c(t,{style:{opacity:0}},e,n,r)}function p(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||h(t,e,n,r)}):h(t,e,n,r)}function f(t){i(t).oldStyle=t.style}},1730:function(t,e,n){n.d(e,{ID:()=>l,X0:()=>u,lQ:()=>c});var r=n(1969),i=n(9858),o=n(3511),a=n(2517),s=n(7975);function l(t,e,n,o,a){var l=t.getArea(),u=l.x,c=l.y,h=l.width,p=l.height,f=n.get(["lineStyle","width"])||2;u-=f/2,c-=f/2,h+=f,p+=f,h=Math.ceil(h),u!==Math.floor(u)&&(u=Math.floor(u),h++);var d=new r.Z({shape:{x:u,y:c,width:h,height:p}});if(e){var g=t.getBaseAxis(),y=g.isHorizontal(),m=g.inverse;y?(m&&(d.shape.x+=h),d.shape.width=0):(m||(d.shape.y+=p),d.shape.height=0);var v=(0,s.mf)(a)?function(t){a(t,d)}:null;i.KZ(d,{shape:{width:h,height:p,x:u,y:c}},n,null,o,v)}return d}function u(t,e,n){var r=t.getArea(),s=(0,a.NM)(r.r0,1),l=(0,a.NM)(r.r,1),u=new o.C({shape:{cx:(0,a.NM)(t.cx,1),cy:(0,a.NM)(t.cy,1),r0:s,r:l,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});return e&&("angle"===t.getBaseAxis().dim?u.shape.endAngle=r.startAngle:u.shape.r=s,i.KZ(u,{shape:{endAngle:r.endAngle,r:l}},n)),u}function c(t,e,n,r,i){if(t){if("polar"===t.type)return u(t,e,n);if("cartesian2d"===t.type)return l(t,e,n,r,i)}return null}},3149:function(t,e,n){n.d(e,{Z:()=>i});var r=n(6571);function i(){var t=(0,r.Yf)();return function(e){var n=t(e),r=e.pipelineContext,i=!!n.large,o=!!n.progressiveRender,a=n.large=!!(r&&r.large),s=n.progressiveRender=!!(r&&r.progressiveRender);return(i!==a||o!==s)&&"reset"}}},984:function(t,e,n){n.d(e,{Z:()=>y});var r=n(7975),i=n(3208),o=n(6904),a=n(5521),s=n(6571),l=n(9801),u=function(t){this.coordSysDims=[],this.axisMap=(0,r.kW)(),this.categoryAxisMap=(0,r.kW)(),this.coordSysName=t},c={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis",s.C6).models[0],o=t.getReferringComponents("yAxis",s.C6).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),h(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),h(o)&&(r.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis",s.C6).models[0];e.coordSysDims=["single"],n.set("single",i),h(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar",s.C6).models[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),h(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),h(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,r.S6)(a.parallelAxisIndex,function(t,r){var a=o.getComponent("parallelAxis",t),l=s[r];n.set(l,a),h(a)&&(i.set(l,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=r))})}};function h(t){return"category"===t.get("type")}var p=n(3347),f=n(7384),d=n(6451),g=n(9484);let y=function(t,e,n){n=n||{};var h,y,m,v,_,x,b,S,w=e.getSourceManager(),k=!1;t?(k=!0,S=(0,p.nx)(t)):k=(S=w.getSource()).sourceFormat===g.cy;var T=function(t){var e=t.get("coordinateSystem"),n=new u(e),r=c[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}(e),C=(y=e.get("coordinateSystem"),m=l.Z.get(y),T&&T.coordSysDims&&(h=r.UI(T.coordSysDims,function(t){var e={name:t},n=T.axisMap.get(t);if(n){var r=n.get("type");e.type=(0,a.T)(r)}return e})),h||(h=m&&(m.getDimensionsInfo?m.getDimensionsInfo():m.dimensions.slice())||["x","y"]),h),M=n.useEncodeDefaulter,D=r.mf(M)?M:M?r.WA(d.pY,C,e):null,I={coordDimensions:C,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:D,canOmitUnusedDimensions:!k},Z=(0,o.Z)(S,I),P=(v=Z.dimensions,_=n.createInvertedIndices,T&&r.S6(v,function(t,e){var n=t.coordDim,r=T.categoryAxisMap.get(n);r&&(null==x&&(x=e),t.ordinalMeta=r.getOrdinalMeta(),_&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(b=!0)}),b||null==x||(v[x].otherDims.itemName=0),x),A=k?null:w.getSharedDataStore(Z),O=(0,f.BM)(e,{schema:Z,store:A}),R=new i.Z(Z,e);R.setCalculationInfo(O);var L=null!=P&&function(t){if(t.sourceFormat===g.cy){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!r.kJ((0,s.C4)(e))}}(S)?function(t,e,n,r){return r===P?n:this.defaultDimValueGetter(t,e,n,r)}:null;return R.hasItemOption=!1,R.initData(k?S:A,null,L),R}},6072:function(t,e,n){n.d(e,{H:()=>o,O:()=>a});var r=n(5562),i=n(7975);function o(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var o=(0,r.hk)(t,e,n[0]);return null!=o?o+"":null}if(i){for(var a=[],s=0;s<n.length;s++)a.push((0,r.hk)(t,e,n[s]));return a.join(" ")}}function a(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,i.kJ)(e))return e+"";for(var r=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&r.push(e[a])}return r.join(" ")}},1481:function(t,e,n){n.d(e,{BY:()=>y,TX:()=>p,d_:()=>x,iv:()=>b,jT:()=>_});var r=n(9708),i=n(814),o=n(7975),a=n(4503),s=n(2517),l="line-height:1";function u(t,e){var n=t.color||"#6e7079",i=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,r.F1)(i+"")+"px;color:"+(0,r.F1)(n)+";font-weight:"+(0,r.F1)(o+""),valueStyle:"font-size:"+(0,r.F1)(s+"")+"px;color:"+(0,r.F1)(a)+";font-weight:"+(0,r.F1)(l+"")}:{nameStyle:{fontSize:i,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var c=[0,10,20,30],h=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function f(t){return"section"===t.type}function d(t,e,n,s){var p,y=e.noHeader,_={html:c[p=function t(e){if(f(e)){var n=0,r=e.blocks.length,i=r>1||r>0&&!e.noHeader;return(0,o.S6)(e.blocks,function(e){var r=t(e);r>=n&&(n=r+ +(i&&(!r||f(e)&&!e.noHeader)))}),n}return 0}(e)],richText:h[p]},x=[],b=e.blocks||[];(0,o.hu)(!b||(0,o.kJ)(b)),b=b||[];var S=t.orderMode;if(e.sortBlocks&&S){b=b.slice();var w={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(w,S)){var k=new a.ID(w[S],null);b.sort(function(t,e){return k.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===S&&b.reverse()}(0,o.S6)(b,function(n,r){var i=e.valueFormatter,a=(f(n)?d:g)(i?(0,o.l7)((0,o.l7)({},t),{valueFormatter:i}):t,n,r>0?_.html:0,s);null!=a&&x.push(a)});var T="richText"===t.renderMode?x.join(_.richText):m(x.join(""),y?n:_.html);if(y)return T;var C=(0,i.uX)(e.header,"ordinal",t.useUTC),M=u(s,t.renderMode).nameStyle;return"richText"===t.renderMode?v(t,C,M)+_.richText+T:m('<div style="'+M+";"+l+';">'+(0,r.F1)(C)+"</div>"+T,n)}function g(t,e,n,a){var s=t.renderMode,l=e.noName,c=e.noValue,h=!e.markerType,p=e.name,f=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,function(t,e){return(0,i.uX)(t,(0,o.kJ)(I)?I[e]:I,f)})};if(!l||!c){var g,y,_,x,b,S,w,k,T,C,M=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),D=l?"":(0,i.uX)(p,"ordinal",f),I=e.valueType,Z=c?[]:d(e.value,e.dataIndex),P=!h||!l,A=!h&&l,O=u(a,s),R=O.nameStyle,L=O.valueStyle;return"richText"===s?(h?"":M)+(l?"":v(t,D,R))+(c?"":(g=t,y=Z,_=P,x=A,b=[L],_&&b.push({padding:[0,0,0,x?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(y)?y.join(" "):y,b))):m((h?"":M)+(l?"":(S=D,'<span style="'+R+";"+(h?"":"margin-left:2px")+'">'+(0,r.F1)(S)+"</span>"))+(c?"":(w=Z,k=P,T=A,C=L,w=(0,o.kJ)(w)?w:[w],'<span style="'+(k?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+C+'">'+(0,o.UI)(w,function(t){return(0,r.F1)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n,r,i,o){if(t)return(f(t)?d:g)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function m(t,e){return'<div style="margin: '+e+"px 0 0;"+l+';">'+t+'<div style="clear:both"></div></div>'}function v(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function _(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,i.Lz)(n)}function x(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var b=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,a=(0,i.A0)({color:e,type:t,renderMode:n,markerId:r});return(0,o.HD)(a)?a:(this.richTextStyles[r]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,function(t){return(0,o.l7)(n,t)}):(0,o.l7)(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}()},9801:function(t,e,n){n.d(e,{Z:()=>o});var r=n(7975),i={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];r.S6(i,function(r,i){var o=r.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){r.S6(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){i[t]=e},t.get=function(t){return i[t]},t}()},3003:function(t,e,n){n.d(e,{zl:()=>eU,je:()=>eQ,sq:()=>ej,RS:()=>eq,$j:()=>eN,qR:()=>eG,ds:()=>eW,Pu:()=>eH,OB:()=>e0,Hr:()=>ep,yn:()=>eJ,S1:()=>eE,Og:()=>eX,YK:()=>eV,Br:()=>e$});var r,i,o,a,s,l,u,c,h,p,f,d,g,y,m,v,_,x,b,S,w,k,T,C,M=n(9988),D=n(6573),I=n(7975),Z=n(4647),P=n(2298),A=n(7654),O=n(6571),R=n(6505),L=n(5352),B="";"undefined"!=typeof navigator&&(B=navigator.platform||"");var z="rgba(0, 0, 0, 0.2)";let F={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:z,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:z,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:z,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:z,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:z,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:z,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:B.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var E=n(6451),N=n(3886),W=n(5693),H="\0_ec_inner",j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.ZT)(e,t),e.prototype.init=function(t,e,n,r,i,o){r=r||{},this.option=null,this._theme=new R.Z(r),this._locale=new R.Z(i),this._optionManager=o},e.prototype.setOption=function(t,e,n){var r=U(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,U(e))},e.prototype._resetOption=function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var i=r.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):s(this,i),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=r.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=r.getMediaOption(this);a.length&&(0,I.S6)(a,function(t){n=!0,this._mergeOption(t,e)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,r=this._componentsMap,i=this._componentsCount,a=[],s=(0,I.kW)(),l=e&&e.replaceMergeMainTypeMap;(0,E.md)(this),(0,I.S6)(t,function(t,e){null!=t&&(L.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.d9)(t):(0,I.TS)(n[e],t,!0))}),l&&l.each(function(t,e){L.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),L.Z.topologicalTravel(a,L.Z.getAllClassMainTypes(),function(e){var a,s=(0,N.R)(this,e,O.kF(t[e])),u=r.get(e),c=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",h=O.ab(u,s,c);O.O0(h,e,L.Z),n[e]=null,r.set(e,null),i.set(e,0);var p=[],f=[],d=0;(0,I.S6)(h,function(t,n){var r=t.existing,i=t.newOption;if(i){var o="series"===e,s=L.Z.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(r&&r.constructor===s)r.name=t.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var l=(0,I.l7)({componentIndex:n},t.keyInfo);r=new s(i,this,this,l),(0,I.l7)(r,l),t.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(p.push(r.option),f.push(r),d++):(p.push(void 0),f.push(void 0))},this),n[e]=p,r.set(e,f),i.set(e,d),"series"===e&&o(this)},this),this._seriesIndices||o(this)},e.prototype.getOption=function(){var t=(0,I.d9)(this.option);return(0,I.S6)(t,function(e,n){if(L.Z.hasClass(n)){for(var r=O.kF(e),i=r.length,o=!1,a=i-1;a>=0;a--)r[a]&&!O.lY(r[a])?o=!0:(r[a]=null,!o&&i--);r.length=i,t[n]=r}}),delete t[H],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e){for(var i=0;i<n.length;i++)if(n[i])return n[i]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var r=t.index,i=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=r?(e=[],(0,I.S6)(O.kF(r),function(t){a[t]&&e.push(a[t])})):e=null!=i?$("id",i,a):null!=o?$("name",o,a):(0,I.hX)(a,function(t){return!!t}),V(e,t)):[]},e.prototype.findComponents=function(t){var e,n,r,i,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",r=s+"Id",i=s+"Name",e&&(null!=e[n]||null!=e[r]||null!=e[i])?{mainType:s,index:e[n],id:e[r],name:e[i]}:null);return o=V(l?this.queryComponents(l):(0,I.hX)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.hX)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var r=this._componentsMap;if((0,I.mf)(t))r.each(function(n,r){for(var i=0;n&&i<n.length;i++){var o=n[i];o&&t.call(e,r,o,o.componentIndex)}});else for(var i=(0,I.HD)(t)?r.get(t):(0,I.Kn)(t)?this.findComponents(t):null,o=0;i&&o<i.length;o++){var a=i[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=O.U5(t,null);return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.hX)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){a(this),(0,I.S6)(this._seriesIndices,function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.S6)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){a(this),(0,I.S6)(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return a(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){a(this);var n=[];(0,I.S6)(this._seriesIndices,function(r){var i=this._componentsMap.get("series")[r];t.call(e,i,r)&&n.push(r)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.kW)(n)},e.prototype.restoreData=function(t){o(this);var e=this._componentsMap,n=[];e.each(function(t,e){L.Z.hasClass(e)&&n.push(e)}),L.Z.topologicalTravel(n,L.Z.getAllClassMainTypes(),function(n){(0,I.S6)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}(e,t))&&e.restoreData()})})},e.internalField=void(o=function(t){var e=t._seriesIndices=[];(0,I.S6)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.kW)(e)},a=function(t){},s=function(t,e){t.option={},t.option[H]=1,t._componentsMap=(0,I.kW)({series:[]}),t._componentsCount=(0,I.kW)();var n,r,i,o=e.aria;(0,I.Kn)(o)&&null==o.enabled&&(o.enabled=!0),n=e,r=t._theme.option,i=n.color&&!n.colorLayer,(0,I.S6)(r,function(t,e){("colorLayer"!==e||!i)&&(L.Z.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.TS)(n[e],t,!1):(0,I.d9)(t):null!=n[e]||(n[e]=t)))}),(0,I.TS)(e,F,!1),t._mergeOption(e,null)}),e}(R.Z);function $(t,e,n){if((0,I.kJ)(e)){var r=(0,I.kW)();return(0,I.S6)(e,function(t){null!=t&&null!=O.U5(t,null)&&r.set(t,!0)}),(0,I.hX)(n,function(e){return e&&r.get(e[t])})}var i=O.U5(e,null);return(0,I.hX)(n,function(e){return e&&null!=i&&e[t]===i})}function V(t,e){return e.hasOwnProperty("subType")?(0,I.hX)(t,function(t){return t&&t.subType===e.subType}):t}function U(t){var e=(0,I.kW)();return t&&(0,I.S6)(O.kF(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.jB)(j,W._);var q=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let G=function(t){I.S6(q,function(e){this[e]=I.ak(t[e],t)},this)};var X=n(9801),K=/^(min|max)?(.+)$/,Y=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.S6)((0,O.kF)(t.series),function(t){t&&t.data&&(0,I.fU)(t.data)&&(0,I.s7)(t.data)}),(0,I.S6)((0,O.kF)(t.dataset),function(t){t&&t.source&&(0,I.fU)(t.source)&&(0,I.s7)(t.source)})),t=(0,I.d9)(t);var r=this._optionBackup,i=function(t,e,n){var r,i,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,c=!!t.media,h=!!(l||s||a&&a.timeline);function p(t){(0,I.S6)(e,function(e){e(t,n)})}return a?(i=a).timeline||(i.timeline=s):((h||c)&&(t.options=t.media=null),i=t),c&&(0,I.kJ)(u)&&(0,I.S6)(u,function(t){t&&t.option&&(t.query?o.push(t):r||(r=t))}),p(i),(0,I.S6)(l,function(t){return p(t)}),(0,I.S6)(o,function(t){return p(t.option)}),{baseOption:i,timelineOptions:l||[],mediaDefault:r,mediaList:o}}(t,e,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=(0,I.d9)(n[r.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,r=this._api.getWidth(),i=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,c=o.length;u<c;u++)(function(t,e,n){var r={width:e,height:n,aspectratio:e/n},i=!0;return(0,I.S6)(t,function(t,e){var n=e.match(K);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=r[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(i=!1)}}),i})(o[u].query,r,i)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.UI)(s,function(t){return(0,I.d9)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),J=I.S6,Q=I.Kn,tt=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function te(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=tt.length;n<r;n++){var i=tt[n],o=e.normal,a=e.emphasis;o&&o[i]&&(t[i]=t[i]||{},t[i].normal?I.TS(t[i].normal,o[i]):t[i].normal=o[i],o[i]=null),a&&a[i]&&(t[i]=t[i]||{},t[i].emphasis?I.TS(t[i].emphasis,a[i]):t[i].emphasis=a[i],a[i]=null)}}function tn(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,i=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,I.ce(t[e],r)):t[e]=r),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function tr(t){tn(t,"itemStyle"),tn(t,"lineStyle"),tn(t,"areaStyle"),tn(t,"label"),tn(t,"labelLine"),tn(t,"upperLabel"),tn(t,"edgeLabel")}function ti(t,e){var n=Q(t)&&t[e],r=Q(n)&&n.textStyle;if(r)for(var i=0,o=O.Td.length;i<o;i++){var a=O.Td[i];r.hasOwnProperty(a)&&(n[a]=r[a])}}function to(t){t&&(tr(t),ti(t,"label"),t.emphasis&&ti(t.emphasis,"label"))}function ta(t){return I.kJ(t)?t:t?[t]:[]}function ts(t){return(I.kJ(t)?t[0]:t)||{}}function tl(t){t&&(0,I.S6)(tu,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var tu=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tc=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],th=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function tp(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<th.length;n++){var r=th[n][1],i=th[n][0];null!=e[r]&&(e[i]=e[r])}}function tf(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function td(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function tg(t,e){var n;J(ta(t.series),function(t){Q(t)&&function(t){if(Q(t)){te(t),tr(t),ti(t,"label"),ti(t,"upperLabel"),ti(t,"edgeLabel"),t.emphasis&&(ti(t.emphasis,"label"),ti(t.emphasis,"upperLabel"),ti(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(te(e),to(e));var n=t.markLine;n&&(te(n),to(n));var r=t.markArea;r&&to(r);var i=t.data;if("graph"===t.type){i=i||t.nodes;var o=t.links||t.edges;if(o&&!I.fU(o))for(var a=0;a<o.length;a++)to(o[a]);I.S6(t.categories,function(t){tr(t)})}if(i&&!I.fU(i))for(var a=0;a<i.length;a++)to(i[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)to(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.kJ(l[a])?(to(l[a][0]),to(l[a][1])):to(l[a]);"gauge"===t.type?(ti(t,"axisLabel"),ti(t,"title"),ti(t,"detail")):"treemap"===t.type?(tn(t.breadcrumb,"itemStyle"),I.S6(t.levels,function(t){tr(t)})):"tree"===t.type&&tr(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),J(n,function(e){J(ta(t[e]),function(t){t&&(ti(t,"axisLabel"),ti(t.axisPointer,"label"))})}),J(ta(t.parallel),function(t){var e=t&&t.parallelAxisDefault;ti(e,"axisLabel"),ti(e&&e.axisPointer,"label")}),J(ta(t.calendar),function(t){tn(t,"itemStyle"),ti(t,"dayLabel"),ti(t,"monthLabel"),ti(t,"yearLabel")}),J(ta(t.radar),function(t){ti(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),J(ta(t.geo),function(t){Q(t)&&(to(t),J(ta(t.regions),function(t){to(t)}))}),J(ta(t.timeline),function(t){to(t),tn(t,"label"),tn(t,"itemStyle"),tn(t,"controlStyle",!0);var e=t.data;I.kJ(e)&&I.S6(e,function(t){I.Kn(t)&&(tn(t,"label"),tn(t,"itemStyle"))})}),J(ta(t.toolbox),function(t){tn(t,"iconStyle"),J(t.feature,function(t){tn(t,"iconStyle")})}),ti(ts(t.axisPointer),"label"),ti(ts(t.tooltip).axisPointer,"label"),t.series=(0,O.kF)(t.series),(0,I.S6)(t.series,function(t){if((0,I.Kn)(t)){var e,n=t.type;if("line"===n)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===n||"gauge"===n){null!=t.clockWise&&(t.clockwise=t.clockWise),tf(t.label);var r=t.data;if(r&&!(0,I.fU)(r))for(var i=0;i<r.length;i++)tf(r[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===n){var o=function(t,e){for(var n=e.split(","),r=t,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}(t,"pointer.color");null!=o&&function(t,e,n,r){for(var i,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[i=o[s]]&&(a[i]={}),a=a[i];null==a[o[s]]&&(a[o[s]]=n)}(t,"itemStyle.color",o)}else if("bar"===n){tp(t),tp(t.backgroundStyle),tp(t.emphasis);var r=t.data;if(r&&!(0,I.fU)(r))for(var i=0;i<r.length;i++)"object"==typeof r[i]&&(tp(r[i]),tp(r[i]&&r[i].emphasis))}else if("sunburst"===n){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),td(t),function t(e,n){if(e)for(var r=0;r<e.length;r++)n(e[r]),e[r]&&t(e[r].children,n)}(t.data,td)}else{"graph"===n||"sankey"===n?!(e=t)||null==e.focusNodeAdjacency||(e.emphasis=e.emphasis||{},null!=e.emphasis.focus||(e.emphasis.focus="adjacency")):"map"===n&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.ce)(t,t.mapLocation))}null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),tl(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.S6)(tc,function(e){var n=t[e];n&&((0,I.kJ)(n)||(n=[n]),(0,I.S6)(n,function(t){tl(t)}))})}var ty=n(2517);function tm(t){(0,I.S6)(t,function(e,n){var r=[],i=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,c){var h,p,f=a.get(e.stackedDimension,c);if(isNaN(f))return i;s?p=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var d=NaN,g=n-1;g>=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,h)),p>=0){var m=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&m>0||"negative"===l&&m<0||"samesign"===l&&f>=0&&m>0||"samesign"===l&&f<=0&&m<0){f=(0,ty.S$)(f,m),d=m;break}}}return r[0]=f,r[1]=d,r})})}var tv=n(5430),t_=n(4292),tx=n(8050),tb=n(1969),tS=n(3287),tw=n(9858),tk=n(8588),tT=n(428),tC=n(8306),tM=n(9774),tD=n(6258),tI=n(6004),tZ=n(133),tP=(0,O.Yf)(),tA={itemStyle:(0,tD.Z)(tI.t,!0),lineStyle:(0,tD.Z)(tZ.v,!0)},tO={lineStyle:"stroke",itemStyle:"fill"};function tR(t,e){var n=t.visualStyleMapper||tA[e];return n||(console.warn("Unknown style type '"+e+"'."),tA.itemStyle)}function tL(t,e){var n=t.visualDrawType||tO[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tB=new R.Z,tz=n(7293),tF=n(4639),tE=n(222),tN=Math.PI,tW=n(5926),tH=n(4587),tj=function(){function t(t,e,n,r){this._stageTaskMap=(0,I.kW)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(t){var e=t.overallTask;e&&e.dirty()})},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,o=r&&r.modDataCount,a=null!=o?Math.ceil(o/i):null;return{step:i,modBy:a,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,I.kW)();t.eachSeries(function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)})},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,I.S6)(this._allHandlers,function(r){var i=t.get(r.uid)||t.set(r.uid,{});(0,I.hu)(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)},this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,r){r=r||{};var i=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,I.S6)(t,function(t,s){if(!r.visualType||r.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,c=l.overallTask;if(c){var h,p=c.agentStubMap;p.each(function(t){a(r,t)&&(t.dirty(),h=!0)}),h&&c.dirty(),o.updatePayload(c,n);var f=o.getPerformArgs(c,r.block);p.each(function(t){t.perform(f)}),c.perform(f)&&(i=!0)}else u&&u.each(function(s,l){a(r,s)&&s.dirty();var u=o.getPerformArgs(s,r.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(i=!0)})}}),this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(t){e=t.dataTask.perform()||e}),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,r){var i=this,o=e.seriesTaskMap,a=e.seriesTaskMap=(0,I.kW)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tW.v)({plan:tG,reset:tX,count:tJ}));l.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,r).each(u)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,o=e.overallTask=e.overallTask||(0,tW.v)({reset:t$});o.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var a=o.agentStubMap,s=o.agentStubMap=(0,I.kW)(),l=t.seriesType,u=t.getTargetSeries,c=!0,h=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(h=!0,(0,tW.v)({reset:tV,onDirty:tq})));n.context={model:t,overallProgress:c},n.agent=o,n.__block=c,i._pipe(t,n)}(0,I.hu)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,r).each(p):(c=!1,(0,I.S6)(n.getSeries(),p)),h&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);r.head||(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return(0,I.mf)(t)&&(t={overallReset:t,seriesType:function(t){l=null;try{t(tQ,t0)}catch(t){}return l}(t)}),t.uid=(0,tH.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function t$(t){t.overallReset(t.ecModel,t.api,t.payload)}function tV(t){return t.overallProgress&&tU}function tU(){this.agent.dirty(),this.getDownstream().dirty()}function tq(){this.agent&&this.agent.dirty()}function tG(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tX(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,O.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.UI)(e,function(t,e){return tY(e)}):tK}var tK=tY(0);function tY(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o<e.end;o++)i.dataEach(r,o);else i&&i.progress&&i.progress(e,r)}}function tJ(t){return t.data.count()}var tQ={},t0={};function t1(t,e){for(var n in e.prototype)t[n]=I.ZT}t1(tQ,j),t1(t0,G),tQ.eachSeriesByType=tQ.eachRawSeriesByType=function(t){l=t},tQ.eachComponent=function(t){"series"===t.mainType&&t.subType&&(l=t.subType)};var t2=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t5="#B9B8CE",t6="#100C2A",t4=function(){return{axisLine:{lineStyle:{color:t5}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t3=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t7={darkMode:!0,color:t3,backgroundColor:t6,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t5}},textStyle:{color:t5},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t5}},dataZoom:{borderColor:"#71708A",textStyle:{color:t5},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t5}},timeline:{lineStyle:{color:t5},label:{color:t5},controlStyle:{color:t5,borderColor:t5}},calendar:{itemStyle:{color:t6},dayLabel:{color:t5},monthLabel:{color:t5},yearLabel:{color:t5}},timeAxis:t4(),logAxis:t4(),valueAxis:t4(),categoryAxis:t4(),line:{symbol:"circle"},graph:{color:t3},gauge:{title:{color:t5},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t5},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t7.categoryAxis.splitLine.show=!1;var t9=n(1382),t8=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},r={};if(I.HD(t)){var i=(0,t9.u9)(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.S6(t,function(t,i){for(var s=!1,l=0;l<o.length;l++){var u=o[l],c=i.lastIndexOf(u);if(c>0&&c===i.length-u.length){var h=i.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(i)&&(n[i]=t,s=!0),s||(r[i]=t)})}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,i,"name")&&u(l,i,"dataIndex")&&u(l,i,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,r,i));function u(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),et=["symbol","symbolSize","symbolRotate","symbolOffset"],ee=et.concat(["symbolKeepAspect"]),en=n(3928),er=n(2159),ei=n(2914),eo=n(690),ea=n(3404),es=n(6501),el=n(6151),eu=new A.Z,ec=n(9906),eh=n(4838),ep={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},ef="__flagInMainProcess",ed="__pendingUpdate",eg="__needsUpdateStatus",ey=/^[a-zA-Z0-9_]+$/,em="__connectUpdateStatus";function ev(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(this.isDisposed()){this.id;return}return ex(this,t,e)}}function e_(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ex(this,t,e)}}function ex(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),A.Z.prototype[e].apply(t,n)}var eb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,M.ZT)(e,t),e}(A.Z),eS=eb.prototype;eS.on=e_("on"),eS.off=e_("off");var ew=function(t){function e(e,n,r){var i=t.call(this,new t8)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},(0,I.HD)(n)&&(n=eA[n]),i._dom=e,r.ssr&&D.Qq(function(t){var e=(0,tT.A)(t),n=e.dataIndex;if(null!=n){var r=(0,I.kW)();return r.set("series_index",e.seriesIndex),r.set("data_index",n),e.ssrType&&r.set("ssr_type",e.ssrType),r}});var o=i._zr=D.S1(e,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:(0,I.pD)(r.useDirtyRect,!1),useCoarsePointer:(0,I.pD)(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=(0,tM.P2)((0,I.ak)(o.flush,o),17),(n=(0,I.d9)(n))&&tg(n,!0),i._theme=n,i._locale=(0,ea.D0)(r.locale||ea.sO),i._coordSysMgr=new X.Z;var a=i._api=w(i);function s(t,e){return t.__prio-e.__prio}return(0,P.Z)(eP,s),(0,P.Z)(eI,s),i._scheduler=new tj(i,a,eI,eP),i._messageCenter=new eb,i._initEvents(),i.resize=(0,I.ak)(i.resize,i),o.animation.on("frame",i._onframe,i),v(o,i),_(o,i),(0,I.s7)(i),i}return(0,M.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){C(this);var t=this._scheduler;if(this[ed]){var e=this[ed].silent;this[ef]=!0;try{u(this),p.update.call(this,null,this[ed].updateParams)}catch(t){throw this[ef]=!1,this[ed]=null,t}this._zr.flush(),this[ef]=!1,this[ed]=null,y.call(this,e),m.call(this,e)}else if(t.unfinished){var n=1,r=this._model,i=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(r),t.performDataProcessorTasks(r),d(this,r),t.performVisualTasks(r),S(this,this._model,i,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[ef]){if(this._disposed){this.id;return}if((0,I.Kn)(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,o=e.transition,e=e.notMerge),this[ef]=!0,!this._model||e){var r,i,o,a=new Y(this._api),s=this._theme,l=this._model=new j;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:i},eZ);var c={seriesTransition:o,optionChanged:!0};if(n)this[ed]={silent:r,updateParams:c},this[ef]=!1,this.getZr().wakeUp();else{try{u(this),p.update.call(this,null,c)}catch(t){throw this[ed]=null,this[ef]=!1,t}this._ssr||this._zr.flush(),this[ed]=null,this[ef]=!1,y.call(this,r),m.call(this,r)}}},e.prototype.setTheme=function(){(0,er.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Z.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(Z.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,I.S6)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed){this.id;return}var e=(t=t||{}).excludeComponents,n=this._model,r=[],i=this;(0,I.S6)(e,function(t){n.eachComponent({mainType:t},function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)})});var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,I.S6)(r,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed){this.id;return}var e="svg"===t.type,n=this.group,r=Math.min,i=Math.max,o=1/0;if(!eL[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,c=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.S6)(eR,function(o,h){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,I.d9)(t)),f=o.getDom().getBoundingClientRect();a=r(f.left,a),s=r(f.top,s),l=i(f.right,l),u=i(f.bottom,u),c.push({dom:p,left:f.left,top:f.top})}}),a*=h,s*=h,l*=h,u*=h;var p=l-a,f=u-s,d=ec.qW.createCanvas(),g=D.S1(d,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:f}),!e)return t.connectedBackgroundColor&&g.add(new tb.Z({shape:{x:0,y:0,width:p,height:f},style:{fill:t.connectedBackgroundColor}})),(0,I.S6)(c,function(t){var e=new tS.ZP({style:{x:t.left*h-a,y:t.top*h-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),d.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,I.S6)(c,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return f(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return f(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed){this.id;return}var n,r=this._model,i=O.pm(r,t);return(0,I.S6)(i,function(t,r){r.indexOf("Models")>=0&&(0,I.S6)(t,function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,r=O.pm(n,t,{defaultMainType:"series"}),i=r.seriesModel.getData(),o=r.hasOwnProperty("dataIndexInside")?r.dataIndexInside:r.hasOwnProperty("dataIndex")?i.indexOfRawIndex(r.dataIndex):null;return null!=o?(0,en.Or)(i,o,e):(0,en.UL)(i,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;(0,I.S6)(eT,function(e){var n=function(n){var r,i=t.getModel(),o=n.target;if("globalout"===e?r={}:o&&(0,es.o)(o,function(t){var e=(0,tT.A)(t);if(e&&null!=e.dataIndex){var n=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return r=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return r=(0,I.l7)({},e.eventData),!0},!0),r){var a=r.componentType,s=r.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=r.seriesIndex);var l=a&&null!=s&&i.getComponent(a,s),u=l&&t["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];r.event=n,r.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:r,model:l,view:u},t.trigger(e,r)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)}),(0,I.S6)(eD,function(e,n){t._messageCenter.on(n,function(t){this.trigger(n,t)},t)}),(0,I.S6)(["selectchanged"],function(e){t._messageCenter.on(e,function(t){this.trigger(e,t)},t)}),(0,ei.s)(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0,this.getDom()&&O.P$(this.getDom(),eF,"");var t=this._api,e=this._model;(0,I.S6)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.S6)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eR[this.id]},e.prototype.resize=function(t){if(!this[ef]){if(this._disposed){this.id;return}this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[ed]&&(null==r&&(r=this[ed].silent),n=!0,this[ed]=null),this[ef]=!0;try{n&&u(this),p.update.call(this,{type:"resize",animation:(0,I.l7)({duration:0},t&&t.animation)})}catch(t){throw this[ef]=!1,t}this[ef]=!1,y.call(this,r),m.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed){this.id;return}if((0,I.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eO[t]){var n=eO[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,I.l7)({},t);return e.type=eD[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed){this.id;return}if((0,I.Kn)(e)||(e={silent:!!e}),eM[t.type]&&this._model){if(this[ef]){this._pendingActions.push(t);return}var n=e.silent;g.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&Z.Z.browser.weChat&&this._throttledZrFlush(),y.call(this,n),m.call(this,n)}},e.prototype.updateLabelLayout=function(){eu.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed){this.id;return}var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries(function(t){t.clearColorPalette()})}function e(t){for(var e=[],n=t.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tC.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===tC.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,r=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,r,i){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)i=Math.max(t(s[l],n,r,i),i);else e.z=n,e.zlevel=r,i=Math.max(e.z2,i);if(o&&(o.z=n,o.zlevel=r,isFinite(i)&&(o.z2=i+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=r,isFinite(i)&&(a.z2=i+(u&&u.showAbove?1:-1))}return i}(t,n,r,-1/0),!0})}}function r(t,e){e.eachRendered(function(t){if(!tw.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function i(t,n){var r=t.getModel("stateAnimation"),i=t.isAnimationEnabled(),o=r.get("duration"),a=o>0?{duration:o,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tw.eq(t)){if(t instanceof tk.ZP&&(0,tC.e9)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(i){t.stateTransition=a;var r=t.getTextContent(),o=t.getTextGuideLine();r&&(r.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}})}u=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),c(t,!0),c(t,!1),e.plan()},c=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l<i.length;l++)i[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,c=!l&&o[u];if(!c){var h=(0,t9.u9)(t.type);(c=new(e?t_.Z.getClass(h.main,h.sub):tx.Z.getClass(h.sub))).init(n,s),o[u]=c,i.push(c),a.add(c.group)}t.__viewId=c.__id=u,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||r.prepareView(c,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<i.length;){var c=i[l];c.__alive?l++:(e||c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),i.splice(l,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},h=function(t,e,n,r,i){var o,a=t._model;if(a.setUpdatePayload(n),!r){(0,I.S6)([].concat(t._componentsViews).concat(t._chartsViews),c);return}var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};i&&(l.subType=i);var u=n.excludeSeriesId;function c(r){r&&r.__alive&&r[e]&&r[e](r.__model,a,t._api,n)}null!=u&&(o=(0,I.kW)(),(0,I.S6)(O.kF(u),function(t){var e=O.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!o||null==o.get(e.id)){if((0,tC.xp)(n)){if(e instanceof tv.Z)n.type!==tC.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,tC.UL)(e,n,t._api);else{var r=(0,tC.oJ)(e.mainType,e.componentIndex,n.name,t._api),i=r.focusSelf,a=r.dispatchers;n.type===tC.Ki&&i&&!n.notBlur&&(0,tC.zI)(e.mainType,e.componentIndex,t._api),a&&(0,I.S6)(a,function(t){n.type===tC.Ki?(0,tC.fD)(t):(0,tC.Mh)(t)})}}else(0,tC.aG)(n)&&e instanceof tv.Z&&((0,tC.og)(e,n,t._api),(0,tC.ci)(e),T(t))}},t),a&&a.eachComponent(l,function(e){(!o||null==o.get(e.id))&&c(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])},t)},p={prepareAndUpdate:function(t){u(this),p.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var r=this._model,i=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(e),s.restoreData(r,e),s.performSeriesTasks(r),a.create(r,i),s.performDataProcessorTasks(r,e),d(this,r),a.update(r,i),t(r),s.performVisualTasks(r,e),x(this,r,i,e,n);var l=r.get("backgroundColor")||"transparent",u=r.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),eu.trigger("afterupdate",r,i)}},updateTransform:function(e){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(e);var o=[];r.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive){if(s.updateTransform){var l=s.updateTransform(a,r,i,e);l&&l.update&&o.push(s)}else o.push(s)}}});var a=(0,I.kW)();r.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,r,i,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0,dirtyMap:a}),S(this,r,i,e,{},a),eu.trigger("afterupdate",r,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tx.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),x(this,n,this._api,e,{}),eu.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,r=this._model;r&&(r.setUpdatePayload(e),r.eachSeries(function(t){t.getData().clearAllVisual()}),tx.Z.markUpdateMethod(e,"updateVisual"),t(r),this._scheduler.performVisualTasks(r,e,{visualType:"visual",setDirty:!0}),r.eachComponent(function(t,i){if("series"!==t){var o=n.getViewOfComponentModel(i);o&&o.__alive&&o.updateVisual(i,r,n._api,e)}}),r.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,r,n._api,e)}),eu.trigger("afterupdate",r,this._api))},updateLayout:function(t){p.update.call(this,t)}},f=function(t,e,n,r){if(t._disposed){t.id;return}for(var i,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=O.pm(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(i=u[e](o,s,r)))return i}},d=function(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries(function(t){r.updateStreamModes(t,n[t.__viewId])})},g=function(t,e){var n,r=this,i=this.getModel(),o=t.type,a=t.escapeConnect,s=eM[o],l=s.actionInfo,c=(l.update||"update").split(":"),f=c.pop(),d=null!=c[0]&&(0,t9.u9)(c[0]);this[ef]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,I.UI)(t.batch,function(e){return(e=(0,I.ce)((0,I.l7)({},e),t)).batch=null,e}));var m=[],v=(0,tC.aG)(t),_=(0,tC.xp)(t);if(_&&(0,tC.T5)(this._api),(0,I.S6)(g,function(e){if((n=(n=s.action(e,r._model,r._api))||(0,I.l7)({},e)).type=l.event||n.type,m.push(n),_){var i=O.zH(t),o=i.queryOptionMap;h(r,f,e,i.mainTypeSpecified?o.keys()[0]:"series"),T(r)}else v?(h(r,f,e,"series"),T(r)):d&&h(r,f,e,d.main,d.sub)}),"none"!==f&&!_&&!v&&!d)try{this[ed]?(u(this),p.update.call(this,t),this[ed]=null):p[f].call(this,t)}catch(t){throw this[ef]=!1,t}if(n=y?{type:l.event||o,escapeConnect:a,batch:m}:m[0],this[ef]=!1,!e){var x=this._messageCenter;if(x.trigger(n.type,n),v){var b={type:"selectchanged",escapeConnect:a,selected:(0,tC.C5)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};x.trigger(b.type,b)}}},y=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();g.call(this,n,t)}},m=function(t){t||this.trigger("updated")},v=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[ed]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},_=function(t,e){t.on("mouseover",function(t){var n=t.target,r=(0,es.o)(n,tC.Av);r&&((0,tC.$l)(r,t,e._api),T(e))}).on("mouseout",function(t){var n=t.target,r=(0,es.o)(n,tC.Av);r&&((0,tC.xr)(r,t,e._api),T(e))}).on("click",function(t){var n=t.target,r=(0,es.o)(n,function(t){return null!=(0,tT.A)(t).dataIndex},!0);if(r){var i=r.selected?"unselect":"select",o=(0,tT.A)(r);e._api.dispatchAction({type:i,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},x=function(t,e,n,r,i){(function(t){var e=[],n=[],r=!1;if(t.eachComponent(function(t,i){var o=i.get("zlevel")||0,a=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:i.componentIndex,type:t,key:s})}),r){var i,o,a=e.concat(n);(0,P.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.S6)(a,function(e){var n=t.getComponent(e.type,e.idx),r=e.zlevel,a=e.key;null!=i&&(r=Math.max(i,r)),a?(r===i&&a!==o&&r++,o=a):o&&(r===i&&r++,o=""),i=r,n.setZLevel(r)})}})(e),b(t,e,n,r,i),(0,I.S6)(t._chartsViews,function(t){t.__alive=!1}),S(t,e,n,r,i),(0,I.S6)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},b=function(t,e,o,a,s,l){(0,I.S6)(l||t._componentsViews,function(t){var s=t.__model;r(s,t),t.render(s,e,o,a),n(s,t),i(s,t)})},S=function(t,e,o,a,s,l){var u,c,h,p,f=t._scheduler;s=(0,I.l7)(s||{},{updatedSeries:e.getSeries()}),eu.trigger("series:beforeupdate",e,o,s);var d=!1;e.eachSeries(function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;f.updatePayload(i,a),r(e,n),l&&l.get(e.uid)&&i.dirty(),i.perform(f.getPerformArgs(i))&&(d=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered(function(t){t.isGroup||(t.style.blend=n)})}(e,n),(0,tC.ci)(e)}),f.unfinished=d||f.unfinished,eu.trigger("series:layoutlabels",e,o,s),eu.trigger("series:transition",e,o,s),e.eachSeries(function(e){var r=t._chartsMap[e.__viewId];n(e,r),i(e,r)}),u=t,c=e,h=u._zr.storage,p=0,h.traverse(function(t){!t.isGroup&&p++}),!(p>c.get("hoverLayerThreshold"))||Z.Z.node||Z.Z.worker||c.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),eu.trigger("series:afterupdate",e,o,s)},T=function(t){t[eg]=!0,t.getZr().wakeUp()},C=function(t){t[eg]&&(t.getZr().storage.traverse(function(t){!tw.eq(t)&&e(t)}),t[eg]=!1)},w=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,M.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tC.fD)(e,n),T(t)},n.prototype.leaveEmphasis=function(e,n){(0,tC.Mh)(e,n),T(t)},n.prototype.enterBlur=function(e){(0,tC.SX)(e),T(t)},n.prototype.leaveBlur=function(e){(0,tC.VP)(e),T(t)},n.prototype.enterSelect=function(e){(0,tC.XX)(e),T(t)},n.prototype.leaveSelect=function(e){(0,tC.SJ)(e),T(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(G))(t)},k=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][em]=e}(0,I.S6)(eD,function(n,r){t._messageCenter.on(r,function(n){if(eL[t.group]&&0!==t[em]&&(!n||!n.escapeConnect)){var r=t.makeActionFromEvent(n),i=[];(0,I.S6)(eR,function(e){e!==t&&e.group===t.group&&i.push(e)}),e(i,0),(0,I.S6)(i,function(t){1!==t[em]&&t.dispatchAction(r)}),e(i,2)}})})}}(),e}(A.Z),ek=ew.prototype;ek.on=ev("on"),ek.off=ev("off"),ek.one=function(t,e,n){var r=this;(0,er.Sh)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];e&&e.apply&&e.apply(this,i),r.off(t,n)},n)};var eT=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function eC(t){}var eM={},eD={},eI=[],eZ=[],eP=[],eA={},eO={},eR={},eL={},eB=+new Date-0,ez=+new Date-0,eF="_echarts_instance_";function eE(t,e,n){var r=!(n&&n.ssr);if(r){var i,o=(i=t,eR[O.IL(i,eF)]);if(o)return o}var a=new ew(t,e,n);return a.id="ec_"+eB++,eR[a.id]=a,r&&O.P$(t,eF,a.id),k(a),eu.trigger("afterinit",a),a}function eN(t){if((0,I.kJ)(t)){var e=t;t=null,(0,I.S6)(e,function(e){null!=e.group&&(t=e.group)}),t=t||"g_"+ez++,(0,I.S6)(e,function(e){e.group=t})}return eL[t]=!0,t}function eW(t){0>(0,I.cq)(eZ,t)&&eZ.push(t)}function eH(t,e){eY(eI,t,e,2e3)}function ej(t){eV("afterinit",t)}function e$(t){eV("afterupdate",t)}function eV(t,e){eu.on(t,e)}function eU(t,e,n){(0,I.mf)(e)&&(n=e,e="");var r=(0,I.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),!eD[e=t.event]&&((0,I.hu)(ey.test(r)&&ey.test(e)),eM[r]||(eM[r]={action:n,actionInfo:t}),eD[e]=r)}function eq(t,e){X.Z.register(t,e)}function eG(t,e){eY(eP,t,e,1e3,"layout")}function eX(t,e){eY(eP,t,e,3e3,"visual")}var eK=[];function eY(t,e,n,r,i){if(((0,I.mf)(e)||(0,I.Kn)(e))&&(n=e,e=r),!((0,I.cq)(eK,n)>=0)){eK.push(n);var o=tj.wrapStageHandler(n,i);o.__prio=e,o.__raw=n,t.push(o)}}function eJ(t,e){eO[t]=e}function eQ(t,e,n){var r=(0,eh.C)("registerMap");r&&r(t,e,n)}var e0=eo.DA;eX(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),o=tR(t,r)(i),a=i.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tL(t,r),l=o[s],u=(0,I.mf)(l)?l:null,c="auto"===o.fill||"auto"===o.stroke;if(!o[s]||u||c){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[s]||(o[s]=h,n.setVisual("colorFromPalette",!0)),o.fill="auto"===o.fill||(0,I.mf)(o.fill)?h:o.fill,o.stroke="auto"===o.stroke||(0,I.mf)(o.stroke)?h:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&u)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=(0,I.l7)({},o);i[s]=u(r),e.setItemVisual(n,"style",i)}}}}),eX(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=tR(t,r),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){tB.option=n[r];var a=i(tB),s=t.ensureUniqueItemVisual(e,"style");(0,I.l7)(s,a),tB.option.decal&&(t.setItemVisual(e,"decal",tB.option.decal),tB.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),eX(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.kW)();t.eachSeries(function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),tP(t).scope=i}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),r={},i=e.getData(),o=tP(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tL(e,a);i.each(function(t){r[i.getRawIndex(t)]=t}),n.each(function(t){var a=r[t];if(i.getItemVisual(a,"colorFromPalette")){var l=i.ensureUniqueItemVisual(a,"style"),u=n.getName(t)||t+"",c=n.count();l[s]=e.getColorFromPalette(u,o,c)}})}})}}),eX(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},o=!1,a=0;a<et.length;a++){var s=et[a],l=t.get(s);(0,I.mf)(l)?(o=!0,i[s]=l):r[s]=l}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual((0,I.l7)({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),!e.isSeriesFiltered(t)){var u=(0,I.XP)(i);return{dataEach:o?function(e,n){for(var r=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,i[s](r,o))}}:null}}}}}),eX(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(!t.hasSymbolVisual||e.isSeriesFiltered(t)))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),r=0;r<ee.length;r++){var i=ee[r],o=n.getShallow(i,!0);null!=o&&t.setItemVisual(e,i,o)}}:null}}}),eX(7e3,function(t,e){t.eachRawSeries(function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(t){var n=r.getItemVisual(t,"decal");n&&(r.ensureUniqueItemVisual(t,"style").decal=(0,el.I)(n,e))});var i=r.getVisual("decal");i&&(r.getVisual("style").decal=(0,el.I)(i,e))}})}),eW(tg),eH(900,function(t){var e=(0,I.kW)();t.eachSeries(function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}}),e.each(tm)}),r=function(t,e){e=e||{},I.ce(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n,r=new tz.Z,i=new tb.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});r.add(i);var o=new tF.ZP({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new tb.Z({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return r.add(a),e.showSpinner&&((n=new tE.Z({shape:{startAngle:-tN/2,endAngle:-tN/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*tN/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tN/2}).delay(300).start("circularInOut"),r.add(n)),r.resize=function(){var r=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&r?10:0)-r)/2-(e.showSpinner&&r?0:5+r/2)+(e.showSpinner?0:r/2)+(r?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},r.resize(),r},eO.default=r,eU({type:tC.Ki,event:tC.Ki,update:tC.Ki},I.ZT),eU({type:tC.yx,event:tC.yx,update:tC.yx},I.ZT),eU({type:tC.Hg,event:tC.Hg,update:tC.Hg},I.ZT),eU({type:tC.JQ,event:tC.JQ,update:tC.JQ},I.ZT),eU({type:tC.iK,event:tC.iK,update:tC.iK},I.ZT),i={color:t2,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t2]},eA.light=i,eA.dark=t7},4838:function(t,e,n){n.d(e,{C:()=>o,M:()=>i});var r={};function i(t,e){r[t]=e}function o(t){return r[t]}},3404:function(t,e,n){n.d(e,{D0:()=>c,sO:()=>l,Li:()=>p,G8:()=>h});var r=n(6505),i=n(4647),o=n(7975),a={},s={},l=i.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new r.Z(e),a[t]=e}function c(t){if(!(0,o.HD)(t))return(0,o.TS)((0,o.d9)(t),(0,o.d9)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.d9)(e):(0,o.TS)((0,o.d9)(e),(0,o.d9)(a.EN),!1)}function h(t){return s[t]}function p(){return s.EN}u("EN",{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),u("ZH",{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}})},5926:function(t,e,n){n.d(e,{v:()=>i});var r=n(7975);function i(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n,i,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(i=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),c=this._modDataCount||0,h=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==h||c!==p)&&(i="reset"),(this._dirty||"reset"===i)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=h,this._modDataCount=p;var f=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var d=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!s&&(o||d<g)){var y=this._progress;if((0,r.kJ)(y))for(var m=0;m<y.length;m++)this._doProgress(y[m],d,g,h,p);else this._doProgress(y,d,g,h,p)}this._dueIndex=g;var v=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=v}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,r,i){a.reset(e,n,r,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,r.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){!this._disposed&&(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,r,i,o={reset:function(l,u,c,h){e=l,t=u,n=c,i=Math.ceil((r=h)/n),o.next=n>1&&r>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%i*n+Math.ceil(e/i),a=e>=t?null:o<r?o:e;return e++,a}}()},2787:function(t,e,n){function r(t){return null==t?0:t.length||1}function i(t){return t}n.d(e,{Z:()=>o});let o=function(){function t(t,e,n,r,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||i,this._newKeyGetter=r||i,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=Array(t.length),o=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=i[a],l=n[s],u=r(l);if(u>1){var c=l.shift();1===l.length&&(n[s]=l[0]),this._update&&this._update(c,a)}else 1===u?(n[s]=null,this._update&&this._update(l,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,i,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var l=o[s],u=n[l],c=i[l],h=r(u),p=r(c);if(h>1&&1===p)this._updateManyToOne&&this._updateManyToOne(c,u),i[l]=null;else if(1===h&&p>1)this._updateOneToMany&&this._updateOneToMany(c,u),i[l]=null;else if(1===h&&1===p)this._update&&this._update(c,u),i[l]=null;else if(h>1&&p>1)this._updateManyToMany&&this._updateManyToMany(c,u),i[l]=null;else if(h>1)for(var f=0;f<h;f++)this._remove&&this._remove(u[f]);else this._remove&&this._remove(u)}this._performRestAdd(a,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=e[i],a=r(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[i](t[a],a);if(o||(n[a]=s),e){var l=e[s],u=r(l);0===u?(e[s]=a,o&&n.push(s)):1===u?e[s]=[l,a]:l.push(a)}}},t}()},1998:function(t,e,n){n.d(e,{ZP:()=>y,hG:()=>c});var r,i=n(7975),o=n(4503),a=n(3347),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,c=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,p={float:h,int:c,ordinal:Array,number:Array,time:h};function f(t){return t>65535?l:u}function d(){return[1/0,-1/0]}function g(t,e,n,r,i){var o=p[n||"float"];if(i){var a=t[e],s=a&&a.length;if(s!==r){for(var l=new o(r),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(r)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,i.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=r[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.QY)(o),this._dimensions=(0,i.UI)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(t);if(null!=i){if(r[i].type===e)return i}else i=r.length;return r[i]={type:e},n.set(t,i),this._chunks[i]=new p[e||"float"](this._rawCount),this._rawExtent[i]=d(),i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],r=this._dimensions[t],i=this._rawExtent,o=r.ordinalOffset||0,a=n.length;0===o&&(i[t]=d());for(var s=i[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}r.ordinalMeta=e,r.ordinalOffset=a,r.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var r=e.count();return e.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,i=this._dimensions,o=i.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var c=i[u];g(n,u,c.type,l,!0)}for(var h=[],p=s;p<l;p++)for(var f=p-s,d=0;d<o;d++){var c=i[d],y=r.arrayRows.call(this,t[f]||h,c.property,f,d);n[d][p]=y;var m=a[d];y<m[0]&&(m[0]=y),y>m[1]&&(m[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,i.UI)(a,function(t){return t.property}),c=0;c<s;c++){var h=a[c];l[c]||(l[c]=d()),g(o,c,h.type,e,n)}if(r.fillStorage)r.fillStorage(t,e,o,l);else for(var p=[],f=t;f<e;f++){p=r.getItem(f,p);for(var y=0;y<s;y++){var m=o[y],v=this._dimValueGetter(p,u[y],f,y);m[f]=v;var _=l[y];v<_[0]&&(_[0]=v),v>_[1]&&(_[1]=v)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],r=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=t;for(var i=0,o=r.length;i<o;i++)n.push(this.get(r[i],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var r=0,i=this.count();r<i;r++){var o=this.get(t,r);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var r=0,i=this._count-1;r<=i;){var o=(r+i)/2|0;if(e[o]<t)r=o+1;else{if(!(e[o]>t))return o;i=o-1}}return -1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks[t],i=[];if(!r)return i;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,l=0,u=this.count();l<u;l++){var c=e-r[this.getRawIndex(l)],h=Math.abs(c);h<=n&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(i[s++]=l))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i<r;i++)t[i]=e[i]}else t=new n(e.buffer,0,r)}else{var n=f(this._rawCount);t=new n(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(f(n._rawCount))(r),o=[],a=t.length,s=0,l=t[0],u=n._chunks,c=0;c<r;c++){var h=void 0,p=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a)h=e(u[l][p],c);else{for(var d=0;d<a;d++)o[d]=u[t[d]][p];o[d]=c,h=e.apply(null,o)}h&&(i[s++]=p)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var r=(0,i.XP)(t),o=r.length;if(!o)return this;var a=e.count(),s=new(f(e._rawCount))(a),l=0,u=r[0],c=t[u][0],h=t[u][1],p=e._chunks,d=!1;if(!e._indices){var g=0;if(1===o){for(var y=p[r[0]],m=0;m<n;m++){var v=y[m];(v>=c&&v<=h||isNaN(v))&&(s[l++]=g),g++}d=!0}else if(2===o){for(var y=p[r[0]],_=p[r[1]],x=t[r[1]][0],b=t[r[1]][1],m=0;m<n;m++){var v=y[m],S=_[m];(v>=c&&v<=h||isNaN(v))&&(S>=x&&S<=b||isNaN(S))&&(s[l++]=g),g++}d=!0}}if(!d){if(1===o)for(var m=0;m<a;m++){var w=e.getRawIndex(m),v=p[r[0]][w];(v>=c&&v<=h||isNaN(v))&&(s[l++]=w)}else for(var m=0;m<a;m++){for(var k=!0,w=e.getRawIndex(m),T=0;T<o;T++){var C=r[T],v=p[C][w];(v<t[C][0]||v>t[C][1])&&(k=!1)}k&&(s[l++]=e.getRawIndex(m))}}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var r=t._chunks,i=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=d();for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),p=0;p<o;p++)s[p]=r[e[p]][h];s[o]=c;var f=n&&n.apply(null,s);if(null!=f){"object"!=typeof f&&(i[0]=f,f=i);for(var u=0;u<f.length;u++){var g=e[u],y=f[u],m=l[g],v=r[g];v&&(v[h]=y),y<m[0]&&(m[0]=y),y>m[1]&&(m[1]=y)}}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),l=0,u=Math.floor(1/e),c=this.getRawIndex(0),h=new(f(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));h[l++]=c;for(var p=1;p<s-1;p+=u){for(var d=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+d)/2,m=0,v=d;v<g;v++){var _=this.getRawIndex(v),x=a[_];!isNaN(x)&&(m+=x)}m/=g-d;var b=p,S=Math.min(p+u,s),w=p-1,k=a[c];n=-1,i=b;for(var T=-1,C=0,v=b;v<S;v++){var _=this.getRawIndex(v),x=a[_];if(isNaN(x)){C++,T<0&&(T=_);continue}(r=Math.abs((w-y)*(x-k)-(w-v)*(m-k)))>n&&(n=r,i=_)}C>0&&C<S-b&&(h[l++]=Math.min(T,i),i=Math.max(T,i)),h[l++]=i,c=i}return h[l++]=this.getRawIndex(s-1),o._count=l,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,r){for(var i=this.clone([t],!0),o=i._chunks,a=[],s=Math.floor(1/e),l=o[t],u=this.count(),c=i._rawExtent[t]=d(),h=new(f(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(s=u-g,a.length=s);for(var y=0;y<s;y++){var m=this.getRawIndex(g+y);a[y]=l[m]}var v=n(a),_=this.getRawIndex(Math.min(g+r(a,v)||0,u-1));l[_]=v,v<c[0]&&(c[0]=v),v>c[1]&&(c[1]=v),h[p++]=_}return i._count=p,i._indices=h,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,o=this.count();i<o;i++){var a=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(r[t[0]][a],i);break;case 2:e(r[t[0]][a],r[t[1]][a],i);break;default:for(var s=0,l=[];s<n;s++)l[s]=r[t[s]][a];l[s]=i,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],r=d();if(!n)return r;var i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=r)[0],a=e[1],s=0;s<i;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][e]);return n},t.prototype.clone=function(e,n){var r=new t,o=this._chunks,a=e&&(0,i.u4)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)r._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else r._chunks=o;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,i.d9)(this._extent),t._rawExtent=(0,i.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var r=0;r<n;r++)e[r]=this._indices[r]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return(0,o.yQ)(t[r],this._dimensions[r])}r={arrayRows:t,objectRows:function(t,e,n,r){return(0,o.yQ)(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return(0,o.yQ)(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}()},3208:function(t,e,n){n.d(e,{Z:()=>M});var r,i,o,a,s,l,u,c=n(7975),h=n(6505),p=n(2787),f=n(5562),d=n(5521),g=n(8944),y=n(9484),m=n(6571),v=n(428),_=n(3347),x=n(1998),b=n(2110),S=c.Kn,w=c.UI,k="undefined"==typeof Int32Array?Array:Int32Array,T=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],C=["_approximateExtent"];let M=function(){function t(t,e){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var n,r=!1;(0,b.bB)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},o=[],a={},s=!1,l={},u=0;u<n.length;u++){var h=n[u],p=c.HD(h)?new g.Z({name:h}):h instanceof g.Z?h:new g.Z(h),f=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=f,p.coordDimIndex=0);var d=p.otherDims=p.otherDims||{};o.push(f),i[f]=p,null!=l[f]&&(s=!0),p.createInvertedIndices&&(a[f]=[]),0===d.itemName&&(this._nameDimIdx=u),0===d.itemId&&(this._idDimIdx=u),r&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var y=this._dimIdxToName=c.kW();c.S6(o,function(t){y.set(i[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var r=this._schema.getSourceDimension(e);if(r)return r.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var r=n.encode[t];return r?r[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var r,i=this;if(t instanceof x.ZP&&(r=t),!r){var o=this.dimensions,a=(0,_.Ld)(t)||c.zG(t)?new f.Pl(t,o.length):t;r=new x.ZP;var s=w(o,function(t){return{type:i._dimInfos[t].type,property:t}});r.initData(a,s,n)}this._store=r,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=(0,d.y)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),r=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=r;a<i;a++){var s=a-r;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var r=this._dimInfos[e[n]];r.ordinalMeta&&t.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,m.Co)(l)&&(this.hasItemOption=!0),l){var c=l.name;null==i[s]&&null!=c&&(i[s]=(0,m.U5)(c,null));var h=l.id;null==o[s]&&null!=h&&(o[s]=(0,m.U5)(h,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);r(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){S(t)?c.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),r=this._store.getOrdinalMeta(t);return r?r.categories[n]:n},t.prototype.getId=function(t){return i(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.get(r.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.getByRawIndex(r.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,r=this._store;return c.kJ(t)?r.getValues(w(t,function(t){return n._getStoreDimIndex(t)}),e):r.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,r=e.length;n<r;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){c.mf(t)&&(n=e,e=t,t=[]);var r=n||this,i=w(a(t),this._getStoreDimIndex,this);this._store.each(i,r?c.ak(e,r):e)},t.prototype.filterSelf=function(t,e,n){c.mf(t)&&(n=e,e=t,t=[]);var r=n||this,i=w(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?c.ak(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={},r=c.XP(t),i=[];return c.S6(r,function(r){var o=e._getStoreDimIndex(r);n[o]=t[r],i.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){c.mf(t)&&(n=e,e=t,t=[]),n=n||this;var r=[];return this.each(t,function(){r.push(e&&e.apply(this,arguments))},n),r},t.prototype.map=function(t,e,n,r){var i=n||r||this,o=w(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,i?c.ak(e,i):e),s},t.prototype.modify=function(t,e,n,r){var i=n||r||this,o=w(a(t),this._getStoreDimIndex,this);this._store.modify(o,i?c.ak(e,i):e)},t.prototype.downSample=function(t,e,n,r){var i=l(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,r),i},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new h.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.Z(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return i(t,e)},function(t){return i(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},S(t)?c.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],r=n&&n[e];return null==r?this.getVisual(e):r},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(i=this.getVisual(e),c.kJ(i)?i=i.slice():S(i)&&(i=c.l7({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,S(e)?c.l7(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){S(t)?c.l7(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?c.l7(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,v.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.S6(this._graphicEls,function(n,r){n&&t&&t.call(e,n,r)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:w(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];c.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(c.tP(arguments)))})},t.internalField=void(r=function(t){var e=t._invertedIndicesMap;c.S6(e,function(n,r){var i=t._dimInfos[r],o=i.ordinalMeta,a=t._store;if(o){n=e[r]=new k(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(i.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,m.U5)(t._getCategory(e,n),null)},i=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return c.kJ(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:w(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){c.S6(T.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,c.S6(C,function(n){t[n]=c.d9(e[n])}),t._calculationInfo=c.l7({},e._calculationInfo)},u=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=r[e];if(null==s&&null!=i&&(n[e]=s=o(t,i,e)),null==l&&null!=a&&(r[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),r[e]=l}}),t}()},8944:function(t,e,n){n.d(e,{Z:()=>i});var r=n(7975);let i=function(t){this.otherDims={},null!=t&&r.l7(this,t)}},3347:function(t,e,n){n.d(e,{Kp:()=>p,Ld:()=>l,ML:()=>h,QY:()=>g,_P:()=>u,nx:()=>c});var r=n(7975),i=n(9484),o=n(6571),a=n(6451),s=function(t){this.data=t.data||(t.sourceFormat===i.hL?{}:[]),this.sourceFormat=t.sourceFormat||i.RA,this.seriesLayoutBy=t.seriesLayoutBy||i.fY,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var r=e[n];null==r.type&&(0,a.u7)(this,n)===a.Dq.Must&&(r.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:f(s),startIndex:u,dimensionsDetectedCount:l};if(e===i.XD){var l,u;"auto"===a||null==a?d(function(t){null!=t&&"-"!==t&&((0,r.HD)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,r.hj)(a)?a:+!!a,s||1!==u||(s=[],d(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===i.Wc?t.length:t[0]?t[0].length:null}else if(e===i.qb)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,r.XP)(e)}(t));else if(e===i.hL)s||(s=[],(0,r.S6)(t,function(t,e){s.push(e)}));else if(e===i.cy){var c=(0,o.C4)(t[0]);l=(0,r.kJ)(c)&&c.length||1}else i.J5;return{startIndex:u,dimensionsDefine:f(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,r.d9)(e)})}function c(t){return new s({data:t,sourceFormat:(0,r.fU)(t)?i.J5:i.cy})}function h(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,r.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=i.RA;if((0,r.fU)(t))e=i.J5;else if((0,r.kJ)(t)){0===t.length&&(e=i.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,r.kJ)(a)||(0,r.fU)(a)){e=i.XD;break}else if((0,r.Kn)(a)){e=i.qb;break}}}}else if((0,r.Kn)(t)){for(var s in t)if((0,r.RI)(t,s)&&(0,r.zG)(t[s])){e=i.hL;break}}return e}function f(t){if(t){var e=(0,r.kW)();return(0,r.UI)(t,function(t,n){var i={name:(t=(0,r.Kn)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==i.name)return i;i.name+="",null==i.displayName&&(i.displayName=i.name);var o=e.get(i.name);return o?i.name+="-"+o.count++:e.set(i.name,{count:1}),i})}}function d(t,e,n,r){if(e===i.Wc)for(var o=0;o<n.length&&o<r;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<r;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===i.qb||e===i.hL}},2110:function(t,e,n){n.d(e,{Eo:()=>l,Jj:()=>h,Jl:()=>p,bB:()=>u,v5:()=>c});var r=n(7975),i=n(6571),o=n(3347),a=(0,i.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=h(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,r.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!p(t),r="",i=[],a=0,l=0;a<t;a++){var u=void 0,c=void 0,h=void 0,f=this.dimensions[l];if(f&&f.storeDimIndex===a)u=e?f.name:null,c=f.type,h=f.ordinalMeta,l++;else{var d=this.getSourceDimension(a);d&&(u=e?d.name:null,c=d.type)}i.push({property:u,type:c,ordinalMeta:h}),!e||null==u||f&&f.isCalculationCoord||(r+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),r+="$",r+=s[c]||"f",h&&(r+=h.uid),r+="$"}var g=this.source;return{dimensions:i,hash:[g.seriesLayoutBy,g.startIndex,r].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(r=i.name),n++;else{var o=this.getSourceDimension(e);o&&(r=o.name)}t.push(r)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function c(t){for(var e=(0,r.kW)(),n=0;n<(t||[]).length;n++){var i=t[n],o=(0,r.Kn)(i)?i.name:i;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=c(t.dimensionsDefine))}function p(t){return t>30}},6904:function(t,e,n){n.d(e,{Z:()=>h});var r=n(9484),i=n(8944),o=n(7975),a=n(3347),s=n(1998),l=n(6571),u=n(6451),c=n(2110);function h(t,e){(0,a.Ld)(t)||(t=(0,a.nx)(t));var n,h,p,f,d,g=(e=e||{}).coordDimensions||[],y=e.dimensionsDefine||t.dimensionsDefine||[],m=(0,o.kW)(),v=[],_=(n=t,h=g,p=y,f=e.dimensionsCount,d=Math.max(n.dimensionsDetectedCount||1,h.length,p.length,f||0),(0,o.S6)(h,function(t){var e;(0,o.Kn)(t)&&(e=t.dimsDef)&&(d=Math.max(d,e.length))}),d),x=e.canOmitUnusedDimensions&&(0,c.Jl)(_),b=y===t.dimensionsDefine,S=b?(0,c.Jj)(t):(0,c.v5)(y),w=e.encodeDefine;!w&&e.encodeDefaulter&&(w=e.encodeDefaulter(t,_));for(var k=(0,o.kW)(w),T=new s.hG(_),C=0;C<T.length;C++)T[C]=-1;function M(t){var e=T[t];if(e<0){var n=y[t],r=(0,o.Kn)(n)?n:{name:n},a=new i.Z,s=r.name;null!=s&&null!=S.get(s)&&(a.name=a.displayName=s),null!=r.type&&(a.type=r.type),null!=r.displayName&&(a.displayName=r.displayName);var l=v.length;return T[t]=l,a.storeDimIndex=t,v.push(a),a}return v[e]}if(!x)for(var C=0;C<_;C++)M(C);k.each(function(t,e){var n=(0,l.kF)(t).slice();if(1===n.length&&!(0,o.HD)(n[0])&&n[0]<0){k.set(e,!1);return}var r=k.set(e,[]);(0,o.S6)(n,function(t,n){var i=(0,o.HD)(t)?S.get(t):t;null!=i&&i<_&&(r[n]=i,I(M(i),e,n))})});var D=0;function I(t,e,n){null!=r.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,m.set(e,!0))}(0,o.S6)(g,function(t){if((0,o.HD)(t))e=t,i={};else{e=(i=t).name;var e,n,r,i,a=i.ordinalMeta;i.ordinalMeta=null,(i=(0,o.l7)({},i)).ordinalMeta=a,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=k.get(e);if(!1!==s){if(!(s=(0,l.kF)(s)).length)for(var u=0;u<(n&&n.length||1);u++){for(;D<_&&null!=M(D).coordDim;)D++;D<_&&s.push(D++)}(0,o.S6)(s,function(t,a){var s=M(t);if(b&&null!=i.type&&(s.type=i.type),I((0,o.ce)(s,i),e,a),null==s.name&&n){var l=n[a];(0,o.Kn)(l)||(l={name:l}),s.name=s.displayName=l.name,s.defaultTooltip=l.defaultTooltip}r&&(0,o.ce)(s.otherDims,r)})}});var Z=e.generateCoord,P=e.generateCoordCount,A=null!=P;P=Z?P||1:0;var O=Z||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(x)(0,o.S6)(v,function(t){R(t)}),v.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var L=0;L<_;L++){var B=M(L);null==B.coordDim&&(B.coordDim=function(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}(O,m,A),B.coordDimIndex=0,(!Z||P<=0)&&(B.isExtraCoord=!0),P--),R(B),null==B.type&&((0,u.u7)(t,L)===u.Dq.Must||B.isExtraCoord&&(null!=B.otherDims.itemName||null!=B.otherDims.seriesName))&&(B.type="ordinal")}return function(t){for(var e=(0,o.kW)(),n=0;n<t.length;n++){var r=t[n],i=r.name,a=e.get(i)||0;a>0&&(r.name=i+(a-1)),a++,e.set(i,a)}}(v),new c.Eo({source:t,dimensions:v,fullDimensionCount:_,dimensionOmitted:x})}},5562:function(t,e,n){n.d(e,{Pl:()=>p,_j:()=>g,a:()=>v,hk:()=>w,tB:()=>b});var r,i,o,a,s,l=n(7975),u=n(6571),c=n(3347),h=n(9484),p=function(){var t;function e(t,e){var n=(0,c.Ld)(t)?t:(0,c.nx)(t);this._source=n;var r=this._data=n.data;n.sourceFormat===h.J5&&(this._offset=0,this._dimSize=e,this._data=r),s(this,r,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,i,o){var s=o.sourceFormat,u=o.seriesLayoutBy,c=o.startIndex,p=o.dimensionsDefine,f=a[S(s,u)];if((0,l.l7)(t,f),s===h.J5)t.getItem=e,t.count=r,t.fillStorage=n;else{var d=g(s,u);t.getItem=(0,l.ak)(d,null,i,c,p);var y=v(s,u);t.count=(0,l.ak)(y,null,i,c,p)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,o=0;o<r;o++)e[o]=n[i+o];return e},n=function(t,e,n,r){for(var i=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=r[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],c=e-t,h=n[a],p=0;p<c;p++){var f=i[p*o+a];h[t+p]=f,f<l&&(l=f),f>u&&(u=f)}s[0]=l,s[1]=u}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[h.XD+"_"+h.fY]={pure:!0,appendData:i},t[h.XD+"_"+h.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h.qb]={pure:!0,appendData:i},t[h.hL]={pure:!0,appendData:function(t){var e=this._data;(0,l.S6)(t,function(t,n){for(var r=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)r.push(t[i])})}},t[h.cy]={appendData:i},t[h.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),f=function(t,e,n,r){return t[r]},d=((r={})[h.XD+"_"+h.fY]=function(t,e,n,r){return t[r+e]},r[h.XD+"_"+h.Wc]=function(t,e,n,r,i){r+=e;for(var o=i||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[r]:null}return o},r[h.qb]=f,r[h.hL]=function(t,e,n,r,i){for(var o=i||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[r]:null}return o},r[h.cy]=f,r);function g(t,e){return d[S(t,e)]}var y=function(t,e,n){return t.length},m=((i={})[h.XD+"_"+h.fY]=function(t,e,n){return Math.max(0,t.length-e)},i[h.XD+"_"+h.Wc]=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},i[h.qb]=y,i[h.hL]=function(t,e,n){var r=t[n[0].name];return r?r.length:0},i[h.cy]=y,i);function v(t,e){return m[S(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[h.XD]=_,o[h.qb]=function(t,e,n){return t[n]},o[h.hL]=_,o[h.cy]=function(t,e,n){var r=(0,u.C4)(t);return r instanceof Array?r[e]:r},o[h.J5]=_,o);function b(t){return x[t]}function S(t,e){return t===h.XD?t+"_"+e:t}function w(t,e,n){if(t){var r=t.getRawDataItem(e);if(null!=r){var i=t.getStore(),o=i.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=i.getDimensionProperty(a);return x[o](r,a,s)}var l=r;return o===h.cy&&(l=(0,u.C4)(r)),l}}}},7384:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var r=n(7975),i=n(2110);function o(t,e,n){var o,a,s,l,u,c,h,p,f=(n=n||{}).byIndex,d=n.stackedCoordDimension;(o=e,(0,i.bB)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,r.S6)(a,function(t,e){(0,r.HD)(t)&&(a[e]=t={name:t}),!g||t.isExtraCoord||(f||u||!t.ordinalMeta||(u=t),c||"ordinal"===t.type||"time"===t.type||d&&d!==t.coordDim||(c=t))}),!c||f||u||(f=!0),c){h="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=c.coordDim,m=c.type,v=0;(0,r.S6)(a,function(t){t.coordDim===y&&v++});var _={name:h,coordDim:y,coordDimIndex:v,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:v+1,type:m,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,m),x.storeDimIndex=l.ensureCalculationDimension(h,m)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:f,stackedOverDimension:p,stackResultDimension:h}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},4503:function(t,e,n){n.d(e,{ID:()=>l,yQ:()=>a});var r=n(2517),i=n(7975),o=n(2159);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,i.hj)(t)||null==t||"-"===t||(t=+(0,r.sG)(t)),null==t||""===t?NaN:+t)}(0,i.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,r.sG)(t)},trim:function(t){return(0,i.HD)(t)?(0,i.fy)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}};(function(t,e){(0,i.hj)(e)||(0,o._y)(""),this._opFn=s[t],this._rvalFloat=(0,r.FK)(e)}).prototype.evaluate=function(t){return(0,i.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,r.FK)(t),this._rvalFloat)};var l=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,i.hj)(t)?t:(0,r.FK)(t),o=(0,i.hj)(e)?e:(0,r.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,i.HD)(t),u=(0,i.HD)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}();(function(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,r.FK)(e)}).prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&("number"===n||"number"===this._rvalTypeof)&&(e=(0,r.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e}},5521:function(t,e,n){n.d(e,{T:()=>l,y:()=>a});var r=n(7975),i=n(9484),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},l=(0,r.kW)(),u=[],c=[],h={};(0,r.S6)(t.dimensions,function(e){var n=t.getDimensionInfo(e),r=n.coordDim;if(r){var o,p=n.coordDimIndex;s(a,r)[p]=e,n.isExtraCoord||(l.set(r,1),"ordinal"!==(o=n.type)&&"time"!==o&&(u[0]=e),s(h,r)[p]=t.getDimensionIndex(n.name)),n.defaultTooltip&&c.push(e)}i.f7.each(function(t,e){var r=s(a,e),i=n.otherDims[e];null!=i&&!1!==i&&(r[i]=n.name)})});var p=[],f={};l.each(function(t,e){var n=a[e];f[e]=n[0],p=p.concat(n)}),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,r.UI)(p,function(e){return t.getDimensionInfo(e).storeDimIndex}),n.encodeFirstDimNotExtra=f;var d=a.label;d&&d.length&&(u=d.slice());var g=a.tooltip;return g&&g.length?c=g.slice():c.length||(c=u.slice()),a.defaultedLabel=u,a.defaultedTooltip=c,n.userOutput=new o(h,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function l(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},6451:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>p,Ss:()=>c,Wd:()=>h,md:()=>l,pY:()=>u,u7:()=>f});var r=n(6571),i=n(7975),o=n(9484),a={Must:1,Might:2,Not:3},s=(0,r.Yf)();function l(t){s(t).datasetMap=(0,i.kW)()}function u(t,e,n){var r,o,a={},l=h(e);if(!l||!t)return a;var u=[],c=[],p=s(e.ecModel).datasetMap,f=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,i.S6)(t,function(e,n){var s=(0,i.Kn)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==r&&(r=n,o=y(s)),a[s.name]=[]});var d=p.get(f)||p.set(f,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var r=0;r<n;r++)t.push(e+r)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,i.S6)(t,function(t,e){var n=t.name,i=y(t);if(null==r){var o=d.valueWayDim;g(a[n],o,i),g(c,o,i),d.valueWayDim+=i}else if(r===e)g(a[n],0,i),g(u,0,i);else{var o=d.categoryWayDim;g(a[n],o,i),g(c,o,i),d.categoryWayDim+=i}}),u.length&&(a.itemName=u),c.length&&(a.seriesName=c),a}function c(t,e,n){var r,s={};if(!h(t))return s;var l=e.sourceFormat,u=e.dimensionsDefine;(l===o.qb||l===o.hL)&&(0,i.S6)(u,function(t,e){((0,i.Kn)(t)?t.name:t)==="name"&&(r=e)});var c=function(){for(var t={},i={},o=[],s=0,c=Math.min(5,n);s<c;s++){var h=d(e.data,l,e.seriesLayoutBy,u,e.startIndex,s);o.push(h);var p=h===a.Not;if(p&&null==t.v&&s!==r&&(t.v=s),null!=t.n&&t.n!==t.v&&(p||o[t.n]!==a.Not)||(t.n=s),f(t)&&o[t.n]!==a.Not)return t;p||(h===a.Might&&null==i.v&&s!==r&&(i.v=s),null!=i.n&&i.n!==i.v||(i.n=s))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(i)?i:null}();if(c){s.value=[c.v];var p=null!=r?r:c.n;s.itemName=[p],s.seriesName=[p]}return s}function h(t){if(!t.get("data",!0))return(0,r.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},r.C6).models[0]}function p(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,r.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},r.C6).models:[]}function f(t,e){return d(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function d(t,e,n,s,l,u){var c,h,p;if((0,i.fU)(t))return a.Not;if(s){var f=s[u];(0,i.Kn)(f)?(h=f.name,p=f.type):(0,i.HD)(f)&&(h=f)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.XD){if(n===o.Wc){for(var d=t[u],g=0;g<(d||[]).length&&g<5;g++)if(null!=(c=_(d[l+g])))return c}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(c=_(y[u])))return c}}else if(e===o.qb){if(!h)return a.Not;for(var g=0;g<t.length&&g<5;g++){var m=t[g];if(m&&null!=(c=_(m[h])))return c}}else if(e===o.hL){if(!h)return a.Not;var d=t[h];if(!d||(0,i.fU)(d))return a.Not;for(var g=0;g<d.length&&g<5;g++)if(null!=(c=_(d[g])))return c}else if(e===o.cy)for(var g=0;g<t.length&&g<5;g++){var m=t[g],v=(0,r.C4)(m);if(!(0,i.kJ)(v))return a.Not;if(null!=(c=_(v[u])))return c}function _(t){var e=(0,i.HD)(t);return null!=t&&isFinite(t)&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},2387:function(t,e,n){n.d(e,{U:()=>c,t:()=>h});var r=n(7975),i=n(3347),o=n(9484),a=n(6451),s=n(690),l=n(1998),u=n(5562),c=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,a=this._getUpstreamSourceManagers(),s=!!a.length;if(p(n)){var l=void 0,u=void 0,c=void 0;if(s){var h=a[0];h.prepareSource(),l=(c=h.getSource()).data,u=c.sourceFormat,e=[h._getVersionSign()]}else l=n.get("data",!0),u=(0,r.fU)(l)?o.J5:o.cy,e=[];var f=this._getSourceMetaRawOption()||{},d=c&&c.metaRawOption||{},g=(0,r.pD)(f.seriesLayoutBy,d.seriesLayoutBy)||null,y=(0,r.pD)(f.sourceHeader,d.sourceHeader),m=(0,r.pD)(f.dimensions,d.dimensions);t=g!==d.seriesLayoutBy||!!y!=!!d.sourceHeader||m?[(0,i._P)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:m},u)]:[]}else if(s){var v=this._applyTransform(a);t=v.sourceList,e=v.upstreamSignList}else{var _=n.get("source",!0);t=[(0,i._P)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&f("");var l=[],u=[];return(0,r.S6)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||f(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.vK)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,i.ML)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var r=this._storeList,i=r[0];i||(i=r[0]={});var o=i[n];if(!o){var a=this._getUpstreamSourceManagers()[0];p(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.ZP).initData(new u.Pl(e,t.length),t),i[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!p(t))return(0,r.UI)((0,a.JT)(t),function(t){return t.getSourceManager()});var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,r=this._sourceHost;return p(r)?(t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function h(t){t.option.transform&&(0,r.s7)(t.option.transform)}function p(t){return"series"===t.mainType}function f(t){throw Error(t)}},690:function(t,e,n){n.d(e,{DA:()=>y,vK:()=>m});var r=n(9484),i=n(6571),o=n(7975),a=n(5562),s=n(4503),l=n(2159),u=n(3347),c=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.yQ)(t,e)},t}();function h(t){return v(t.sourceFormat)||(0,l._y)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(v(e)||(0,l._y)(""),e===r.XD){for(var i=[],a=0,s=n.length;a<s;a++)i.push(n[a].slice());return i}if(e===r.qb){for(var i=[],a=0,s=n.length;a<s;a++)i.push((0,o.l7)({},n[a]));return i}}function f(t,e,n){return null==n?void 0:!(0,o.hj)(n)&&(isNaN(n)||(0,o.RI)(e,n))?(0,o.RI)(e,n)?e[n]:void 0:t[n]}function d(t){return(0,o.d9)(t)}var g=(0,o.kW)();function y(t){var e=(t=(0,o.d9)(t)).type;e||(0,l._y)("");var n=e.split(":");2!==n.length&&(0,l._y)("");var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,g.set(e,t)}function m(t,e,n){var s=(0,i.kF)(t),y=s.length;y||(0,l._y)("");for(var m=0;m<y;m++)e=function(t,e,n,s){e.length||(0,l._y)(""),(0,o.Kn)(t)||(0,l._y)("");var y=t.type,m=g.get(y);m||(0,l._y)("");var _=(0,o.UI)(e,function(t){return function(t,e){var n=new c,i=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==r.fY&&(0,l._y)("");var g=[],y={},m=t.dimensionsDefine;if(m)(0,o.S6)(m,function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};g.push(r),null!=n&&((0,o.RI)(y,n)&&(0,l._y)(""),y[n]=r)});else for(var v=0;v<t.dimensionsDetectedCount;v++)g.push({index:v});var _=(0,a._j)(s,r.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(i,u,g,t)},n.getRawData=(0,o.ak)(h,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var x=(0,a.a)(s,r.fY);n.count=(0,o.ak)(x,null,i,u,g);var b=(0,a.tB)(s);n.retrieveValue=function(t,e){return S(_(i,u,g,t),e)};var S=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return b(t,e,n.name)}};return n.getDimensionInfo=(0,o.ak)(f,null,g,y),n.cloneAllDimensionInfo=(0,o.ak)(d,null,g),n}(t,m)}),x=(0,i.kF)(m.transform({upstream:_[0],upstreamList:_,config:(0,o.d9)(t.config)}));return(0,o.UI)(x,function(t,n){(0,o.Kn)(t)||(0,l._y)(""),t.data||(0,l._y)(""),v((0,u.Kp)(t.data))||(0,l._y)("");var i,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),i={seriesLayoutBy:r.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else i={seriesLayoutBy:r.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(t.data,i,null)})}(s[m],e,0,0),m!==y-1&&(e.length=Math.max(e.length,1));return e}function v(t){return t===r.XD||t===r.qb}},6232:function(t,e,n){n.d(e,{D:()=>function t(e){if((0,l.kJ)(e)){(0,l.S6)(e,function(e){t(e)});return}!((0,l.cq)(h,e)>=0)&&(h.push(e),(0,l.mf)(e)&&(e={install:e}),e.install(p))}});var r=n(3003),i=n(4292),o=n(8050),a=n(5352),s=n(5430),l=n(7975),u=n(4838),c=n(6573),h=[],p={registerPreprocessor:r.ds,registerProcessor:r.Pu,registerPostInit:r.sq,registerPostUpdate:r.Br,registerUpdateLifecycle:r.YK,registerAction:r.zl,registerCoordinateSystem:r.RS,registerLayout:r.qR,registerVisual:r.Og,registerTransform:r.OB,registerLoading:r.yn,registerMap:r.je,registerImpl:u.M,PRIORITY:r.Hr,ComponentModel:a.Z,ComponentView:i.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){i.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.wm)(t,e)}}},3361:function(t,e,n){n.d(e,{Lr:()=>f,k3:()=>p,nC:()=>d,ni:()=>h,pe:()=>b,qA:()=>x,qT:()=>_,tD:()=>S});var r=n(4639),i=n(7975),o=n(8306),a=n(6571),s=n(9858),l={};function u(t,e){for(var n=0;n<o.L1.length;n++){var r=o.L1[n],i=e[r],a=t.ensureState(r);a.style=a.style||{},a.style.text=i}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,n){var r,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(r=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=(0,i.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var c={normal:r},h=0;h<o.L1.length;h++){var p=o.L1[h],f=e[p];c[p]=(0,i.pD)(a?a.getFormattedLabel(s,p,null,l,f&&f.get("formatter")):null,r)}return c}function h(t,e,n,a){n=n||l;for(var s=t instanceof r.ZP,h=!1,p=0;p<o.qc.length;p++){var g=e[o.qc[p]];if(g&&g.getShallow("show")){h=!0;break}}var y=s?t:t.getTextContent();if(h){!s&&(y||(y=new r.ZP,t.setTextContent(y)),t.stateProxy&&(y.stateProxy=t.stateProxy));var m=c(n,e),v=e.normal,_=!!v.getShallow("show"),b=f(v,a&&a.normal,n,!1,!s);b.text=m.normal,s||t.setTextConfig(d(v,n,!1));for(var p=0;p<o.L1.length;p++){var S=o.L1[p],g=e[S];if(g){var w=y.ensureState(S),k=!!(0,i.pD)(g.getShallow("show"),_);k!==_&&(w.ignore=!k),w.style=f(g,a&&a[S],n,!0,!s),w.style.text=m[S],s||(t.ensureState(S).textConfig=d(g,n,!0))}}y.silent=!!v.getShallow("silent"),null!=y.style.x&&(b.x=y.style.x),null!=y.style.y&&(b.y=y.style.y),y.ignore=!_,y.useStyle(b),y.dirty(),n.enableTextSetter&&(x(y).setLabelText=function(t){var r=c(n,e,t);u(y,r)})}else y&&(y.ignore=!0);t.dirty()}function p(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<o.L1.length;r++){var i=o.L1[r];n[i]=t.getModel([i,e])}return n}function f(t,e,n,r,o){var a={};return function(t,e,n,r,o){n=n||l;var a,s=e.ecModel,u=s&&s.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||l).rich;if(n){e=e||{};for(var r=(0,i.XP)(n),o=0;o<r.length;o++)e[r[o]]=1}t=t.parentModel}return e}(e);if(c){for(var h in a={},c)if(c.hasOwnProperty(h)){var p=e.getModel(["rich",h]);v(a[h]={},p,u,n,r,o,!1,!0)}}a&&(t.rich=a);var f=e.get("overflow");f&&(t.overflow=f);var d=e.get("minMargin");null!=d&&(t.margin=d),v(t,e,u,n,r,o,!0,!1)}(a,t,n,r,o),e&&(0,i.l7)(a,e),a}function d(t,e,n){e=e||{};var r,o={},a=t.getShallow("rotate"),s=(0,i.pD)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(r=t.getShallow("position")||(n?null:"inside"))&&(r=e.defaultOutsidePosition||"top"),null!=r&&(o.position=r),null!=l&&(o.offset=l),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],y=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],m=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function v(t,e,n,r,o,a,s,u){n=!o&&n||l;var c=r&&r.inheritColor,h=e.getShallow("color"),p=e.getShallow("textBorderColor"),f=(0,i.pD)(e.getShallow("opacity"),n.opacity);("inherit"===h||"auto"===h)&&(h=c||null),("inherit"===p||"auto"===p)&&(p=c||null),a||(h=h||n.color,p=p||n.textBorderColor),null!=h&&(t.fill=h),null!=p&&(t.stroke=p);var d=(0,i.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var v=(0,i.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=v&&(t.lineDash=v);var _=(0,i.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=f||u||(f=r&&r.defaultOpacity),null!=f&&(t.opacity=f),o||a||null!=t.fill||!r.inheritColor||(t.fill=r.inheritColor);for(var x=0;x<g.length;x++){var b=g[x],S=(0,i.pD)(e.getShallow(b),n[b]);null!=S&&(t[b]=S)}for(var x=0;x<y.length;x++){var b=y[x],S=e.getShallow(b);null!=S&&(t[b]=S)}if(null==t.verticalAlign){var w=e.getShallow("baseline");null!=w&&(t.verticalAlign=w)}if(!s||!r.disableBox){for(var x=0;x<m.length;x++){var b=m[x],S=e.getShallow(b);null!=S&&(t[b]=S)}var k=e.getShallow("borderType");null!=k&&(t.borderDash=k),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&c&&(t.backgroundColor=c),("auto"===t.borderColor||"inherit"===t.borderColor)&&c&&(t.borderColor=c)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,i.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var x=(0,a.Yf)();function b(t,e,n,r){if(t){var i=x(t);i.prevValue=i.value,i.value=n;var o=e.normal;i.valueAnimation=o.get("valueAnimation"),i.valueAnimation&&(i.precision=o.get("precision"),i.defaultInterpolatedText=r,i.statesModels=e)}}function S(t,e,n,r,o){var l=x(t);if(l.valueAnimation&&l.prevValue!==l.value){var h=l.defaultInterpolatedText,p=(0,i.pD)(l.interpolatedValue,l.prevValue),f=l.value;t.percent=0,(null==l.prevValue?s.KZ:s.D)(t,{percent:1},r,e,null,function(r){var i=(0,a.pk)(n,l.precision,p,f,r);l.interpolatedValue=1===r?null:i,u(t,c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(i):i+""},l.statesModels,i))})}}},8783:function(t,e,n){n.d(e,{Bk:()=>m,G_:()=>g,Ge:()=>p,Gk:()=>h,My:()=>f,bK:()=>y});var r=n(7975),i=n(2517),o=n(7384),a=n(3149),s=n(8845),l="__ec_stack_";function u(t){return t.get("stack")||l+t.seriesIndex}function c(t){return t.dim+t.index}function h(t){var e=[],n=t.axis,i="axis0";if("category"===n.type){for(var o=n.getBandWidth(),a=0;a<t.count;a++)e.push((0,r.ce)({bandWidth:o,axisKey:i,stackId:l+a},t));for(var s=d(e),u=[],a=0;a<t.count;a++){var c=s[i][l+a];c.offsetCenter=c.offset+c.width/2,u.push(c)}return u}}function p(t,e){var n=[];return e.eachSeriesByType(t,function(t){v(t)&&n.push(t)}),n}function f(t){var e=function(t){var e={};(0,r.S6)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=t.getData(),i=n.dim+"_"+n.index,o=r.getDimensionIndex(r.mapDimension(n.dim)),a=r.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[i]?e[i].push(u):e[i]=[u]}});var n={};for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}(t),n=[];return(0,r.S6)(t,function(t){var r,o=t.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=e[o.dim+"_"+o.index],l=Math.abs(a[1]-a[0]),h=o.scale.getExtent(),p=Math.abs(h[1]-h[0]);r=s?l/p*s:l}else{var f=t.getData();r=Math.abs(a[1]-a[0])/f.count()}var d=(0,i.GM)(t.get("barWidth"),r),g=(0,i.GM)(t.get("barMaxWidth"),r),y=(0,i.GM)(t.get("barMinWidth")||(_(t)?.5:1),r),m=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:d,barMaxWidth:g,barMinWidth:y,barGap:m,barCategoryGap:v,axisKey:c(o),stackId:u(t)})}),d(n)}function d(t){var e={};(0,r.S6)(t,function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[r]=o;var s=t.stackId;!a[s]&&o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)});var n={};return(0,r.S6)(e,function(t,e){n[e]={};var o,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,r.XP)(a).length,15)+"%");var u=(0,i.GM)(l,s),c=(0,i.GM)(t.gap,1),h=t.remainedWidth,p=t.autoWidthCount,f=(h-u)/(p+(p-1)*c);f=Math.max(f,0),(0,r.S6)(a,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var r=t.width;e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,h-=r+c*r,p--}else{var r=f;e&&e<r&&(r=Math.min(e,h)),n&&n>r&&(r=n),r!==f&&(t.width=r,h-=r+c*r,p--)}}),f=Math.max(f=(h-u)/(p+(p-1)*c),0);var d=0;(0,r.S6)(a,function(t,e){t.width||(t.width=f),o=t,d+=t.width*(1+c)}),o&&(d-=o.width*c);var g=-d/2;(0,r.S6)(a,function(t,r){n[e][r]=n[e][r]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+c)})}),n}function g(t,e,n){if(t&&e){var r=t[c(e)];return null!=r&&null!=n?r[u(n)]:r}}function y(t,e){var n=p(t,e),i=f(n);(0,r.S6)(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),r=u(t),o=i[c(n)][r],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function m(t){return{seriesType:t,plan:(0,a.Z)(),reset:function(t){if(v(t)){var e,n,r=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),l=i.getOtherAxis(a),u=r.getDimensionIndex(r.mapDimension(l.dim)),c=r.getDimensionIndex(r.mapDimension(a.dim)),h=t.get("showBackground",!0),p=r.mapDimension(l.dim),f=r.getCalculationInfo("stackResultDimension"),d=(0,o.M)(r,p)&&!!r.getCalculationInfo("stackedOnSeries"),g=l.isHorizontal(),y=(e=0,(n=l).toGlobalCoord(n.dataToCoord(+("log"===n.type)))),m=_(t),x=t.get("barMinHeight")||0,b=f&&r.getDimensionIndex(f),S=r.getLayout("size"),w=r.getLayout("offset");return{progress:function(t,e){for(var n,r=t.count,o=m&&(0,s.o)(3*r),a=m&&h&&(0,s.o)(3*r),l=m&&(0,s.o)(r),p=i.master.getRect(),f=g?p.width:p.height,v=e.getStore(),_=0;null!=(n=t.next());){var k=v.get(d?b:u,n),T=v.get(c,n),C=y,M=void 0;d&&(M=+k-v.get(u,n));var D=void 0,I=void 0,Z=void 0,P=void 0;if(g){var A=i.dataToPoint([k,T]);if(d){var O=i.dataToPoint([M,T]);C=O[0]}D=C,I=A[1]+w,Z=A[0]-C,P=S,Math.abs(Z)<x&&(Z=(Z<0?-1:1)*x)}else{var A=i.dataToPoint([T,k]);if(d){var O=i.dataToPoint([T,M]);C=O[1]}D=A[0]+w,I=C,Z=S,Math.abs(P=A[1]-C)<x&&(P=(P<=0?-1:1)*x)}m?(o[_]=D,o[_+1]=I,o[_+2]=g?Z:P,a&&(a[_]=g?p.x:D,a[_+1]=g?I:p.y,a[_+2]=f),l[n]=n):e.setItemLayout(n,{x:D,y:I,width:Z,height:P}),_+=3}m&&e.setLayout({largePoints:o,largeDataIndices:l,largeBackgroundPoints:a,valueAxisHorizontal:g})}}}}}}function v(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function _(t){return t.pipelineContext&&t.pipelineContext.large}},2914:function(t,e,n){n.d(e,{s:()=>s,y:()=>o});var r=n(7975),i=n(6571);function o(t,e){(0,r.S6)([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(e,i,o){var a,s;e=(0,r.l7)({},e),o.dispatchAction((0,r.l7)(e,{type:n[1],seriesIndex:(a=e,s=[],i.eachComponent({mainType:"series",subType:t,query:a},function(t){s.push(t.seriesIndex)}),s)}))})})}function a(t,e,n,o,a){var s=t+e;n.isSilent(s)||o.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,o=t.option.selectedMap,l=a.selected,u=0;u<l.length;u++)if(l[u].seriesIndex===e){var c=t.getData(),h=(0,i.gO)(c,a.fromActionPayload);n.trigger(s,{type:s,seriesId:t.id,name:(0,r.kJ)(h)?c.getName(h[0]):c.getName(h),selected:(0,r.HD)(o)?o:(0,r.l7)({},o)})}})}function s(t,e,n){t.on("selectchanged",function(t){var r=n.getModel();t.isFromClick?(a("map","selectchanged",e,r,t),a("pie","selectchanged",e,r,t)):"select"===t.fromAction?(a("map","selected",e,r,t),a("pie","selected",e,r,t)):"unselect"===t.fromAction&&(a("map","unselected",e,r,t),a("pie","unselected",e,r,t))})}},5352:function(t,e,n){n.d(e,{Z:()=>p});var r=n(9988),i=n(7975),o=n(6505),a=n(4587),s=n(1382),l=n(6571),u=n(651),c=(0,l.Yf)(),h=function(t){var e;function n(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=a.Kr("ec_cpt_model"),i}return(0,r.ZT)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),r=n?u.tE(t):{},o=e.getTheme();i.TS(t,o.get(this.mainType)),i.TS(t,this.getDefaultOption()),n&&u.dt(t,r,n)},n.prototype.mergeOption=function(t,e){i.TS(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var n=[],r=t;r;){var o=r.prototype.defaultOption;o&&n.push(o),r=r.superClass}for(var a={},l=n.length-1;l>=0;l--)a=i.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.HZ)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.Z);(0,s.pw)(h,o.Z),(0,s.au)(h),a.cj(h),a.jS(h,function(t){var e=[];return i.S6(h.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=i.UI(e,function(t){return(0,s.u9)(t).main}),"dataset"!==t&&0>=i.cq(e,"dataset")&&e.unshift("dataset"),e});let p=h},6505:function(t,e,n){n.d(e,{Z:()=>m});var r=n(4647),i=n(1382),o=(0,n(6258).Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(3361),l=n(4639),u=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new l.ZP,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<c.length;n++)e[c[n]]=this.getShallow(c[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}(),f=n(133),d=n(6004),g=n(7975),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){(0,g.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,r=null==n?n:n[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},t.prototype.getModel=function(e,n){var r=null!=e,i=r?this.parsePath(e):null;return new t(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.d9)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!r.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var r=0;r<t.length&&(!t[r]||null!=(n=n&&"object"==typeof n?n[t[r]]:null));r++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,i.dm)(y),(0,i.Qj)(y),(0,g.jB)(y,f.K),(0,g.jB)(y,d.D),(0,g.jB)(y,a),(0,g.jB)(y,p);let m=y},5430:function(t,e,n){n.d(e,{Z:()=>C});var r=n(9988),i=n(7975),o=n(4647),a=n(6571),s=n(5352),l=n(5693),u=n(8780),c=n(651),h=n(5926),p=n(1382),f=n(2387),d=n(1481),g=n(5562),y=a.Yf();function m(t,e){return t.getName(e)||t.getId(e)}var v=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,r.ZT)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.v)({count:x,reset:b}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(y(this).sourceManager=new f.U(this)).prepareSource();var r=this.getInitialData(t,n);w(r,this),this.dataTask.context.data=r,y(this).dataBeforeProcessed=r,_(this),this._initSelectedMapFromData(r)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.YD)(this),r=n?(0,c.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),i.TS(t,e.getTheme().get(this.subType)),i.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.dt)(t,r,n)},n.prototype.mergeOption=function(t,e){t=i.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.YD)(this);n&&(0,c.dt)(this.option,t,n);var r=y(this).sourceManager;r.dirty(),r.prepareSource();var o=this.getInitialData(t,e);w(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,y(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!i.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=T(this);if(!e)return y(this).data;var n=e.context.data;return null==t?n:n.getLinkedData(t)},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=T(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}y(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return i.kW(t)},n.prototype.getSourceManager=function(){return y(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return y(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,r,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,c=s.getData(),h=c.mapDimensionsAll("defaultedTooltip"),p=h.length,f=s.getRawValue(l),y=(0,i.kJ)(f),m=(0,d.jT)(s,l);if(p>1||y&&!p){var v=function(t,e,n,r,o){var a=e.getData(),s=(0,i.u4)(t,function(t,e,n){var r=a.getDimensionInfo(n);return t=t||r&&!1!==r.tooltip&&null!=r.displayName},!1),l=[],u=[],c=[];function h(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?c.push((0,d.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return r.length?(0,i.S6)(r,function(t){h((0,g.hk)(a,n,t),t)}):(0,i.S6)(t,h),{inlineValues:l,inlineValueTypes:u,blocks:c}}(f,s,l,h,m);e=v.inlineValues,n=v.inlineValueTypes,r=v.blocks,o=v.inlineValues[0]}else if(p){var _=c.getDimensionInfo(h[0]);o=e=(0,g.hk)(c,l,h[0]),n=_.type}else o=e=y?f[0]:f;var x=(0,a.yu)(s),b=x&&s.name||"",S=c.getName(l),w=u?b:S;return(0,d.TX)("section",{header:b,noHeader:u||!x,sortParam:o,blocks:[(0,d.TX)("nameValue",{markerType:"item",markerColor:m,name:w,noName:!(0,i.fy)(w),value:e,valueType:n,dataIndex:l})].concat(r||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=l._.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},n.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},n.prototype.getProgressive=function(){return this.get("progressive")},n.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},n.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},n.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=m(i,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],r=0;r<t.length;r++)n[0]=t[r],this.isSelected(t[r],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=i.XP(t),n=[],r=0;r<e.length;r++){var o=t[e[r]];o>=0&&n.push(o)}return n},n.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[m(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,r,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){i.Kn(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var c=e[u],h=m(t,c);l[h]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var p=e[s-1],h=m(t,p);o.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((r={})[h]=t.getRawIndex(p),r)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var r=t.getRawDataItem(n);r&&r.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.Z.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.Z);function _(t){var e,n,r,o=t.name;a.yu(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),r=[],i.S6(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)}),r.join(" ")||o))}function x(t){return t.model.getRawData().count()}function b(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),S}function S(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function w(t,e){i.S6(i.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,i.WA(k,e))})}function k(t,e){var n=T(t);return n&&n.setOutputEnd((e||this).count()),e}function T(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}i.jB(v,u.X),i.jB(v,l._),(0,p.pw)(v,s.Z);let C=v},3886:function(t,e,n){n.d(e,{R:()=>a,f:()=>o});var r=n(7975),i=(0,r.kW)();function o(t,e){(0,r.hu)(null==i.get(t)&&e),i.set(t,e)}function a(t,e,n){var r=i.get(e);if(!r)return n;var o=r(t);return o?n.concat(o):n}},8780:function(t,e,n){n.d(e,{X:()=>s,f:()=>l});var r=n(7975),i=n(5562),o=n(814),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,c=this.mainType,h="series"===c,p=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:i,data:a,dataType:e,value:r,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var c=this.getData(n),h=this.getDataParams(t,n);return(u&&(h.value=u.interpolatedValue),null!=s&&r.kJ(h.value)&&(h.value=h.value[s]),l||(l=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),r.mf(l))?(h.status=e,h.dimensionIndex=s,l(h)):r.HD(l)?(0,o.kF)(l,h).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,i.hk)(c,t,a);if(u&&r.kJ(u.interpolatedValue)){var l=c.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,i.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return r.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},6004:function(t,e,n){n.d(e,{D:()=>a,t:()=>i});var r=n(6258),i=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,r.Z)(i),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},133:function(t,e,n){n.d(e,{K:()=>a,v:()=>i});var r=n(6258),i=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,r.Z)(i),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},6258:function(t,e,n){n.d(e,{Z:()=>i});var r=n(7975);function i(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,i,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(i&&r.cq(i,l)>=0||o&&0>r.cq(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},5693:function(t,e,n){n.d(e,{_:()=>o});var r=n(6571),i=(0,r.Yf)();(0,r.Yf)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return function(t,e,n,r,i,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(i))return u[i];var c=null!=a&&r?function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}(r,a):n;if((c=c||n)&&c.length){var h=c[l];return i&&(u[i]=h),s.paletteIdx=(l+1)%c.length,h}}(this,i,(0,r.kF)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=i)(t).paletteIdx=0,e(t).paletteNameMap={}},t}()},1382:function(t,e,n){n.d(e,{PT:()=>l,Qj:()=>p,au:()=>g,dm:()=>u,pw:()=>c,u9:()=>s});var r=n(9988),i=n(7975),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,i.mf(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},i.XW(n,this)),i.l7(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=f,n.superApply=d,n.superClass=o,n}}function c(t,e){t.extend=e.extend}var h=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",h++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function f(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function d(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){i.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var r,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(r=l).main])&&a[o]||((a=e[r.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[o]&&(i=n?i[n]:null),r&&!i)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=s(t),r=[],a=e[n.main];return a&&a[o]?i.S6(a,function(t,e){e!==o&&r.push(t)}):r.push(a),r},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return i.S6(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},4587:function(t,e,n){n.d(e,{Kr:()=>a,ZL:()=>u,cj:()=>s,jS:()=>l});var r=n(7975),i=n(1382),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,i.u9)(t).main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=(0,i.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](r))}return o}}function l(t,e){t.topologicalTravel=function(t,i,o,a){if(t.length){var s,l,u,c=(s=i,l={},u=[],r.S6(s,function(t){var i,o,a,c=n(l,t),h=(i=c.originalDeps=e(t),o=s,a=[],r.S6(i,function(t){r.cq(o,t)>=0&&a.push(t)}),a);c.entryCount=h.length,0===c.entryCount&&u.push(t),r.S6(h,function(e){0>r.cq(c.predecessor,e)&&c.predecessor.push(e);var i=n(l,e);0>r.cq(i.successor,e)&&i.successor.push(t)})}),{graph:l,noEntryList:u}),h=c.graph,p=c.noEntryList,f={};for(r.S6(t,function(t){f[t]=!0});p.length;){var d=p.pop(),g=h[d],y=!!f[d];y&&(o.call(a,d,g.originalDeps.slice()),delete f[d]),r.S6(g.successor,y?v:m)}r.S6(f,function(){throw Error("")})}function m(t){h[t].entryCount--,0===h[t].entryCount&&p.push(t)}function v(t){f[t]=!0,m(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return r.TS(r.TS({},t,!0),e,!0)}},6151:function(t,e,n){n.d(e,{I:()=>g});var r=Math.round(9*Math.random()),i="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+r++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return i?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n(6147),s=n(7975),l=n(2517),u=n(5965),c=n(6398),h=n(9906),p=new o,f=new a.ZP(100),d=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),r=e.getZr(),i="svg"===r.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],m=!0,v=0;v<d.length;++v){var _=a[d[v]];if(null!=_&&!(0,s.kJ)(_)&&!(0,s.HD)(_)&&!(0,s.hj)(_)&&"boolean"!=typeof _){m=!1;break}g.push(_)}if(m){o=g.join(",")+(i?"-svg":"");var x=f.get(o);x&&(i?t.svgElement=x:t.image=x)}var b=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.hj)(e)){var n=Math.ceil(e);return[[n,n]]}for(var r=!0,i=0;i<e.length;++i)if(!(0,s.hj)(e[i])){r=!1;break}if(r)return t([e]);for(var o=[],i=0;i<e.length;++i)if((0,s.hj)(e[i])){var n=Math.ceil(e[i]);o.push([n,n])}else{var n=(0,s.UI)(e[i],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),S=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.UI)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),w=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.HD)(e))return[[e]];for(var n=!0,r=0;r<e.length;++r)if(!(0,s.HD)(e[r])){n=!1;break}if(n)return t([e]);for(var i=[],r=0;r<e.length;++r)(0,s.HD)(e[r])?i.push([e[r]]):i.push(e[r]);return i}(a.symbol),k=(e=b,(0,s.UI)(e,function(t){return y(t)})),T=y(S),C=!i&&h.qW.createCanvas(),M=i&&{tag:"g",attrs:{},key:"dcl",children:[]},D=function(){for(var t=1,e=0,n=k.length;e<n;++e)t=(0,l.nl)(t,k[e]);for(var r=1,e=0,n=w.length;e<n;++e)r=(0,l.nl)(r,w[e].length);t*=r;var i=T*k.length*w.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(i,a.maxTileHeight))}}();C&&(C.width=D.width*n,C.height=D.height*n,p=C.getContext("2d")),function(){p&&(p.clearRect(0,0,C.width,C.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,C.width,C.height)));for(var t=0,e=0;e<S.length;++e)t+=S[e];if(!(t<=0))for(var o=-T,s=0,l=0,h=0;o<D.height;){if(s%2==0){for(var f=l/2%w.length,d=0,g=0,y=0;d<2*D.width;){for(var m=0,e=0;e<b[h].length;++e)m+=b[h][e];if(m<=0)break;if(g%2==0){var v=(1-a.symbolSize)*.5,_=d+b[h][g]*v,x=o+S[s]*v,k=b[h][g]*a.symbolSize,I=S[s]*a.symbolSize,Z=y/2%w[f].length;(function(t,e,o,s,l){var h=i?1:n,f=(0,u.th)(l,t*h,e*h,o*h,s*h,a.color,a.symbolKeepAspect);if(i){var d=r.painter.renderOneToVNode(f);d&&M.children.push(d)}else(0,c.RV)(p,f)})(_,x,k,I,w[f][Z])}d+=b[h][g],++y,++g===b[h].length&&(g=0)}++h===b.length&&(h=0)}o+=S[s],++l,++s===S.length&&(s=0)}}(),m&&f.put(o,C||M),t.image=C,t.svgElement=M,t.svgWidth=D.width,t.svgHeight=D.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=i?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},6501:function(t,e,n){n.d(e,{o:()=>r});function r(t,e,n){for(var r;t&&(!e(t)||(r=t,!n));)t=t.__hostTarget||t.parent;return r}},814:function(t,e,n){n.d(e,{A0:()=>d,Lz:()=>g,MI:()=>y,MY:()=>u,OD:()=>s,kF:()=>f,uX:()=>c,zW:()=>l});var r=n(7975),i=n(9708),o=n(2517),a=n(926);function s(t){if(!(0,o.kE)(t))return r.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(t,e){return e.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var u=r.MY;function c(t,e,n){function i(t){return t&&r.fy(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,c=t instanceof Date;if(u||c){var h=u?(0,o.sG)(t):t;if(!isNaN(+h))return(0,a.WU)(h,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(c)return"-"}if("ordinal"===e)return r.cd(t)?i(t):r.hj(t)&&l(t)?t+"":"-";var p=(0,o.FK)(t);return l(p)?s(p):r.cd(t)?i(t):"boolean"==typeof t?t+"":"-"}var h=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function f(t,e,n){r.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=h[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var c=0;c<a.length;c++){var f=e[u][a[c]];t=t.replace(p(h[c],u),n?(0,i.F1)(f):f)}return t}function d(t,e){var n=r.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,i.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,i.F1)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e){return e=e||"transparent",r.HD(t)?t:r.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function y(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},7810:function(t,e,n){n.r(e),n.d(e,{Polyline:()=>q.Z,lineLineIntersect:()=>tR,resizePath:()=>tS,setTooltipConfig:()=>tL,subPixelOptimizeLine:()=>tw,extendPath:()=>tg,Text:()=>z.ZP,Rect:()=>G.Z,Ellipse:()=>W,linePolygonIntersect:()=>tO,isElementRemoved:()=>tu.eq,Polygon:()=>U.Z,Ring:()=>V,RadialGradient:()=>tt,Sector:()=>H.C,getShapeClass:()=>tm,registerShape:()=>ty,makePath:()=>tv,subPixelOptimizeRect:()=>tk,transformDirection:()=>tD,Group:()=>B.Z,mergePath:()=>tb,Line:()=>X.Z,removeElementWithFadeOut:()=>tu.XD,removeElement:()=>tu.bX,subPixelOptimize:()=>tT,updateProps:()=>tu.D,makeImage:()=>t_,Path:()=>p.ZP,createIcon:()=>tA,Arc:()=>Y.Z,Image:()=>L.ZP,initProps:()=>tu.KZ,traverseElements:()=>tz,extendShape:()=>tf,groupTransition:()=>tI,OrientedBoundingRect:()=>tn.Z,applyTransform:()=>tM,getTransform:()=>tC,clipPointsByRect:()=>tZ,LinearGradient:()=>Q.Z,IncrementalDisplayable:()=>ta,Circle:()=>F.Z,BezierCurve:()=>K.Z,CompoundPath:()=>J,clipRectByRect:()=>tP,Point:()=>tr.Z,BoundingRect:()=>te.Z});var r,i,o,a,s,l,u,c,h=n(9362),p=n(8588),f=n(3564),d=n(7605),g=f.Z.CMD,y=[[],[],[]],m=Math.sqrt,v=Math.atan2,_=n(7975),x=Math.sqrt,b=Math.sin,S=Math.cos,w=Math.PI;function k(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function T(t,e){return(t[0]*e[0]+t[1]*e[1])/(k(t)*k(e))}function C(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(T(t,e))}function M(t,e,n,r,i,o,a,s,l,u,c){var h=w/180*l,p=S(h)*(t-n)/2+b(h)*(e-r)/2,f=-1*b(h)*(t-n)/2+S(h)*(e-r)/2,d=p*p/(a*a)+f*f/(s*s);d>1&&(a*=x(d),s*=x(d));var g=(i===o?-1:1)*x((a*a*(s*s)-a*a*(f*f)-s*s*(p*p))/(a*a*(f*f)+s*s*(p*p)))||0,y=g*a*f/s,m=-(g*s)*p/a,v=(t+n)/2+S(h)*y-b(h)*m,_=(e+r)/2+b(h)*y+S(h)*m,k=C([1,0],[(p-y)/a,(f-m)/s]),M=[(p-y)/a,(f-m)/s],D=[(-1*p-y)/a,(-1*f-m)/s],I=C(M,D);if(-1>=T(M,D)&&(I=w),T(M,D)>=1&&(I=0),I<0){var Z=Math.round(I/w*1e6)/1e6;I=2*w+Z%2*w}c.addData(u,v,_,a,s,k,I,h,o)}var D=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,I=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,h.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(p.ZP);function P(t){return null!=t.setData}function A(t,e){var n=function(t){var e,n=new f.Z;if(!t)return n;var r=0,i=0,o=0,a=0,s=f.Z.CMD,l=t.match(D);if(!l)return n;for(var u=0;u<l.length;u++){for(var c=l[u],h=c.charAt(0),p=void 0,d=c.match(I)||[],g=d.length,y=0;y<g;y++)d[y]=parseFloat(d[y]);for(var m=0;m<g;){var v=void 0,_=void 0,x=void 0,b=void 0,S=void 0,w=void 0,k=void 0,T=r,C=i,Z=void 0,P=void 0;switch(h){case"l":r+=d[m++],i+=d[m++],p=s.L,n.addData(p,r,i);break;case"L":r=d[m++],i=d[m++],p=s.L,n.addData(p,r,i);break;case"m":r+=d[m++],i+=d[m++],p=s.M,n.addData(p,r,i),o=r,a=i,h="l";break;case"M":r=d[m++],i=d[m++],p=s.M,n.addData(p,r,i),o=r,a=i,h="L";break;case"h":r+=d[m++],p=s.L,n.addData(p,r,i);break;case"H":r=d[m++],p=s.L,n.addData(p,r,i);break;case"v":i+=d[m++],p=s.L,n.addData(p,r,i);break;case"V":i=d[m++],p=s.L,n.addData(p,r,i);break;case"C":p=s.C,n.addData(p,d[m++],d[m++],d[m++],d[m++],d[m++],d[m++]),r=d[m-2],i=d[m-1];break;case"c":p=s.C,n.addData(p,d[m++]+r,d[m++]+i,d[m++]+r,d[m++]+i,d[m++]+r,d[m++]+i),r+=d[m-2],i+=d[m-1];break;case"S":v=r,_=i,Z=n.len(),P=n.data,e===s.C&&(v+=r-P[Z-4],_+=i-P[Z-3]),p=s.C,T=d[m++],C=d[m++],r=d[m++],i=d[m++],n.addData(p,v,_,T,C,r,i);break;case"s":v=r,_=i,Z=n.len(),P=n.data,e===s.C&&(v+=r-P[Z-4],_+=i-P[Z-3]),p=s.C,T=r+d[m++],C=i+d[m++],r+=d[m++],i+=d[m++],n.addData(p,v,_,T,C,r,i);break;case"Q":T=d[m++],C=d[m++],r=d[m++],i=d[m++],p=s.Q,n.addData(p,T,C,r,i);break;case"q":T=d[m++]+r,C=d[m++]+i,r+=d[m++],i+=d[m++],p=s.Q,n.addData(p,T,C,r,i);break;case"T":v=r,_=i,Z=n.len(),P=n.data,e===s.Q&&(v+=r-P[Z-4],_+=i-P[Z-3]),r=d[m++],i=d[m++],p=s.Q,n.addData(p,v,_,r,i);break;case"t":v=r,_=i,Z=n.len(),P=n.data,e===s.Q&&(v+=r-P[Z-4],_+=i-P[Z-3]),r+=d[m++],i+=d[m++],p=s.Q,n.addData(p,v,_,r,i);break;case"A":x=d[m++],b=d[m++],S=d[m++],w=d[m++],k=d[m++],T=r,C=i,r=d[m++],M(T,C,r,i=d[m++],w,k,x,b,S,p=s.A,n);break;case"a":x=d[m++],b=d[m++],S=d[m++],w=d[m++],k=d[m++],T=r,C=i,r+=d[m++],M(T,C,r,i+=d[m++],w,k,x,b,S,p=s.A,n)}}("z"===h||"Z"===h)&&(p=s.Z,n.addData(p),r=o,i=a),e=p}return n.toStatic(),n}(t),r=(0,_.l7)({},e);return r.buildPath=function(t){if(P(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},r.applyTransform=function(t){(function(t,e){if(e){var n,r,i,o,a,s,l=t.data,u=t.len(),c=g.M,h=g.C,p=g.L,f=g.R,_=g.A,x=g.Q;for(i=0,o=0;i<u;){switch(n=l[i++],o=i,r=0,n){case c:case p:r=1;break;case h:r=3;break;case x:r=2;break;case _:var b=e[4],S=e[5],w=m(e[0]*e[0]+e[1]*e[1]),k=m(e[2]*e[2]+e[3]*e[3]),T=v(-e[1]/k,e[0]/w);l[i]*=w,l[i++]+=b,l[i]*=k,l[i++]+=S,l[i++]*=w,l[i++]*=k,l[i++]+=T,l[i++]+=T,i+=2,o=i;break;case f:s[0]=l[i++],s[1]=l[i++],(0,d.Ne)(s,s,e),l[o++]=s[0],l[o++]=s[1],s[0]+=l[i++],s[1]+=l[i++],(0,d.Ne)(s,s,e),l[o++]=s[0],l[o++]=s[1]}for(a=0;a<r;a++){var C=y[a];C[0]=l[i++],C[1]=l[i++],(0,d.Ne)(C,C,e),l[o++]=C[0],l[o++]=C[1]}}t.increaseVersion()}})(n,t),this.dirtyShape()},r}var O=n(9634),R=n(4066),L=n(3287),B=n(7293),z=n(4639),F=n(7266),E=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},N=function(t){function e(e){return t.call(this,e)||this}return(0,h.ZT)(e,t),e.prototype.getDefaultShape=function(){return new E},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=e.rx,o=e.ry,a=.5522848*i,s=.5522848*o;t.moveTo(n-i,r),t.bezierCurveTo(n-i,r-s,n-a,r-o,n,r-o),t.bezierCurveTo(n+a,r-o,n+i,r-s,n+i,r),t.bezierCurveTo(n+i,r+s,n+a,r+o,n,r+o),t.bezierCurveTo(n-a,r+o,n-i,r+s,n-i,r),t.closePath()},e}(p.ZP);N.prototype.type="ellipse";let W=N;var H=n(3511),j=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},$=function(t){function e(e){return t.call(this,e)||this}return(0,h.ZT)(e,t),e.prototype.getDefaultShape=function(){return new j},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)},e}(p.ZP);$.prototype.type="ring";let V=$;var U=n(4484),q=n(1099),G=n(1969),X=n(2859),K=n(121),Y=n(222);let J=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,h.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],r=0;r<n.length;r++)n[r].buildPath(t,n[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),p.ZP.prototype.getBoundingRect.call(this)},e}(p.ZP);var Q=n(4235);let tt=function(t){function e(e,n,r,i,o){var a=t.call(this,i)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==r?.5:r,a.type="radial",a.global=o||!1,a}return(0,h.ZT)(e,t),e}(n(4196).Z);var te=n(9495),tn=n(8291),tr=n(1145),ti=n(3670),to=[];let ta=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,h.ZT)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new te.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(to)),t.union(r)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var r=0;r<this._displayables.length;r++)if(this._displayables[r].contain(t,e))return!0}return!1},e}(ti.ZP);var ts=n(4958),tl=n(428),tu=n(9858),tc=Math.max,th=Math.min,tp={};function tf(t){return p.ZP.extend(t)}var td=function(t,e){var n=A(t,e);return function(t){function e(e){var r=t.call(this,e)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return(0,h.ZT)(e,t),e}(Z)};function tg(t,e){return td(t,e)}function ty(t,e){tp[t]=e}function tm(t){if(tp.hasOwnProperty(t))return tp[t]}function tv(t,e,n,r){var i=new Z(A(t,e));return n&&("center"===r&&(n=tx(n,i.getBoundingRect())),tS(i,n)),i}function t_(t,e,n){var r=new L.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(tx(e,i))}}});return r}function tx(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var tb=function(t,e){for(var n=[],r=t.length,i=0;i<r;i++){var o=t[i];n.push(o.getUpdatedPathProxy(!0))}var a=new p.ZP(e);return a.createPathProxy(),a.buildPath=function(t){if(P(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},a};function tS(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function tw(t,e){return ts._3(t,t,{lineWidth:e}),t}function tk(t){return ts.Pw(t.shape,t.shape,t.style),t}var tT=ts.vu;function tC(t,e){for(var n=O.yR([]);t&&t!==e;)O.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function tM(t,e,n){return e&&!(0,_.zG)(e)&&(e=R.ZP.getLocalTransform(e)),n&&(e=O.U_([],e)),d.Ne([],t,e)}function tD(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return Math.abs((o=tM(o,e,n))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tI(t,e,n){if(t&&e){var r,i=(r={},t.traverse(function(t){!t.isGroup&&t.anid&&(r[t.anid]=t)}),r);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),(0,tu.D)(t,r,n,(0,tl.A)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,_.l7)({},t.shape)),e}}function tZ(t,e){return(0,_.UI)(t,function(t){var n=t[0];n=th(n=tc(n,e.x),e.x+e.width);var r=t[1];return[n,r=th(r=tc(r,e.y),e.y+e.height)]})}function tP(t,e){var n=tc(t.x,e.x),r=th(t.x+t.width,e.x+e.width),i=tc(t.y,e.y),o=th(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}}function tA(t,e,n){var r=(0,_.l7)({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),(0,_.ce)(i,n),new L.ZP(r)):tv(t.replace("path://",""),r,n,"center")}function tO(t,e,n,r,i){for(var o=0,a=i[i.length-1];o<i.length;o++){var s=i[o];if(tR(t,e,n,r,s[0],s[1],a[0],a[1]))return!0;a=s}}function tR(t,e,n,r,i,o,a,s){var l,u=n-t,c=r-e,h=a-i,p=s-o,f=h*c-u*p;if((l=f)<=1e-6&&l>=-1e-6)return!1;var d=t-i,g=e-o,y=(d*c-u*g)/f;if(y<0||y>1)return!1;var m=(d*p-h*g)/f;return!(m<0)&&!(m>1)}function tL(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=(0,_.HD)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:r,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&(0,_.S6)((0,_.XP)(l),function(t){(0,_.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,tl.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:r,option:(0,_.ce)({content:r,formatterParams:s},i)}}function tB(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tz(t,e){if(t){if((0,_.kJ)(t))for(var n=0;n<t.length;n++)tB(t[n],e);else tB(t,e)}}r=F.Z,tp.circle=r,tp.ellipse=W,i=H.C,tp.sector=i,tp.ring=V,o=U.Z,tp.polygon=o,a=q.Z,tp.polyline=a,s=G.Z,tp.rect=s,l=X.Z,tp.line=l,u=K.Z,tp.bezierCurve=u,c=Y.Z,tp.arc=c},428:function(t,e,n){n.d(e,{A:()=>r,Q:()=>i});var r=(0,n(6571).Yf)(),i=function(t,e,n,i){if(i){var o=r(i);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===i.type&&i.traverse(function(i){var o=r(i);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},651:function(t,e,n){n.d(e,{BZ:()=>h,ME:()=>p,YD:()=>d,dt:()=>g,p$:()=>f,tE:()=>y});var r=n(7975),i=n(9495),o=n(2517),a=n(814),s=r.S6,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function c(t,e,n,r,i){var o=0,a=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild(function(l,u){var c,h,p=l.getBoundingRect(),f=e.childAt(u+1),d=f&&f.getBoundingRect();if("horizontal"===t){var g=p.width+(d?-d.x+p.x:0);(c=o+g)>r||l.newline?(o=0,c=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(d?-d.y+p.y:0);(h=a+y)>i||l.newline?(o+=s+n,a=0,h=y,s=p.width):s=Math.max(s,p.width)}!l.newline&&(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=c+n:a=h+n)})}var h=c;function p(t,e,n){n=a.MY(n||0);var r=e.width,s=e.height,l=(0,o.GM)(t.left,r),u=(0,o.GM)(t.top,s),c=(0,o.GM)(t.right,r),h=(0,o.GM)(t.bottom,s),p=(0,o.GM)(t.width,r),f=(0,o.GM)(t.height,s),d=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=r-c-g-l),isNaN(f)&&(f=s-h-d-u),null!=y&&(isNaN(p)&&isNaN(f)&&(y>r/s?p=.8*r:f=.8*s),isNaN(p)&&(p=y*f),isNaN(f)&&(f=p/y)),isNaN(l)&&(l=r-c-p-g),isNaN(u)&&(u=s-h-f-d),t.left||t.right){case"center":l=r/2-p/2-n[3];break;case"right":l=r-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-f/2-n[0];break;case"bottom":u=s-f-d}l=l||0,u=u||0,isNaN(p)&&(p=r-g-l-(c||0)),isNaN(f)&&(f=s-d-u-(h||0));var m=new i.Z(l+n[3],u+n[0],p,f);return m.margin=n,m}function f(t,e,n,o,a,s){var l,u=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!u&&!c)return!1;if("raw"===h)l="group"===t.type?new i.Z(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();(l=l.clone()).applyTransform(f)}var d=p(r.ce({width:l.width,height:l.height},e),n,o),g=u?d.x-l.x:0,y=c?d.y-l.y:0;return"raw"===h?(s.x=g,s.y=y):(s.x+=g,s.y+=y),s===t&&t.markRedraw(),!0}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return r.Kn(e)?e:e?{type:e}:null}function g(t,e,n){var i=n&&n.ignoreSize;r.kJ(i)||(i=[i,i]);var o=l(u[0],0),a=l(u[1],1);function l(n,r){var o={},a=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){c(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&u++}),i[r])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var p=0;p<n.length;p++){var f=n[p];if(!c(o,f)&&c(t,f)){o[f]=t[f];break}}return o}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,n){s(t,function(t){e[t]=n[t]})}p(u[0],t,o),p(u[1],t,a)}function y(t){var e,n;return e={},(n=t)&&e&&s(l,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}r.WA(c,"vertical"),r.WA(c,"horizontal")},2159:function(t,e,n){function r(t){}function i(t){throw Error(t)}n.d(e,{Sh:()=>r,_y:()=>i})},6571:function(t,e,n){n.d(e,{C4:()=>h,C6:()=>M,Cc:()=>u,Co:()=>p,HZ:()=>I,IL:()=>P,O0:()=>x,P$:()=>Z,Td:()=>c,U5:()=>y,U9:()=>A,XI:()=>b,Yf:()=>w,ab:()=>f,g0:()=>_,gO:()=>S,iP:()=>D,kF:()=>l,lY:()=>v,pk:()=>O,pm:()=>T,yu:()=>m,zH:()=>C});var r=n(7975),i=n(4647),o=n(2517),a="series\0",s="\0_ec_\0";function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r<i;r++){var o=n[r];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var c=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function h(t){return!(0,r.Kn)(t)||(0,r.kJ)(t)||t instanceof Date?t:t.value}function p(t){return(0,r.Kn)(t)&&!(t instanceof Array)}function f(t,e,n){var i,o,s,l,u,c,h,p,f,y,m,_,x,b="normalMerge"===n,S="replaceMerge"===n,w="replaceAll"===n;t=t||[],e=(e||[]).slice();var k=(0,r.kW)();(0,r.S6)(e,function(t,n){if(!(0,r.Kn)(t)){e[n]=null;return}});var T=function(t,e,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<t.length;i++){var o=t[i];o&&null!=o.id&&e.set(o.id,i),r.push({existing:"replaceMerge"===n||v(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return r}(t,k,n);return(b||S)&&(i=T,o=t,s=k,l=e,(0,r.S6)(l,function(t,e){if(t&&null!=t.id){var n=g(t.id),a=s.get(n);if(null!=a){var u=i[a];(0,r.hu)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),b&&(u=T,c=e,(0,r.S6)(c,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var r=u[n].existing;if(!u[n].newOption&&r&&(null==r.id||null==t.id)&&!v(t)&&!v(r)&&d("name",r,t)){u[n].newOption=t,c[e]=null;return}}})),b||S?(h=T,p=e,f=S,(0,r.S6)(p,function(t){if(t){for(var e,n=0;(e=h[n])&&(e.newOption||v(e.existing)||e.existing&&null!=t.id&&!d("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=f):h.push({newOption:t,brandNew:f,existing:null,keyInfo:null}),n++}})):w&&(y=T,m=e,(0,r.S6)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=T,x=(0,r.kW)(),(0,r.S6)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,r.S6)(_,function(t){var e=t.newOption;(0,r.hu)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,r.S6)(_,function(t,e){var n=t.existing,i=t.newOption,o=t.keyInfo;if((0,r.Kn)(i)){if(o.name=null!=i.name?g(i.name):n?n.name:a+e,n)o.id=g(n.id);else if(null!=i.id)o.id=g(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),T}function d(t,e,n){var r=y(e[t],null),i=y(n[t],null);return null!=r&&null!=i&&r===i}function g(t){return y(t,"")}function y(t,e){return null==t?e:(0,r.HD)(t)?t:(0,r.hj)(t)||(0,r.cd)(t)?t+"":e}function m(t){var e=t.name;return!!(e&&e.indexOf(a))}function v(t){return t&&null!=t.id&&0===g(t.id).indexOf(s)}function _(t){return s+t}function x(t,e,n){(0,r.S6)(t,function(t){var i,o,a,s,l=t.newOption;(0,r.Kn)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(i=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(i,o)))})}function b(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[o(n),o(r)];function i(t,e,n){for(var r=0,i=t.length;r<i;r++){var o=y(t[r].seriesId,null);if(null==o)return;for(var a=l(t[r].dataIndex),s=n&&n[o],u=0,c=a.length;u<c;u++){var h=a[u];s&&s[h]?s[h]=null:(e[o]||(e[o]={}))[h]=1}}}function o(t,e){var n=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r]){if(e)n.push(+r);else{var i=o(t[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}}return n}}function S(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,r.kJ)(e.dataIndex)?(0,r.UI)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,r.kJ)(e.name)?(0,r.UI)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function w(){var t="__ec_inner_"+k++;return function(e){return e[t]||(e[t]={})}}var k=(0,o.jj)();function T(t,e,n){var r=C(e,n),i=r.mainTypeSpecified,o=r.queryOptionMap,a=r.others,s=n?n.defaultMainType:null;return!i&&s&&o.set(s,{}),o.each(function(e,r){var i=I(t,r,e,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[r+"Models"]=i.models,a[r+"Model"]=i.models[0]}),a}function C(t,e){if((0,r.HD)(t)){var n,i={};i[t+"Index"]=0,n=i}else n=t;var o=(0,r.kW)(),a={},s=!1;return(0,r.S6)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var i=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=i[1],u=(i[2]||"").toLowerCase();!(!l||!u||e&&e.includeMainTypes&&0>(0,r.cq)(e.includeMainTypes,l))&&(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var M={useDefault:!0,enableAll:!1,enableNone:!1},D={useDefault:!1,enableAll:!0,enableNone:!0};function I(t,e,n,i){i=i||M;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=i.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,r.hu)(i.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,r.hu)(i.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function Z(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function P(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function A(t){return"auto"===t?i.Z.domSupported?"html":"richText":t||"html"}function O(t,e,n,i,a){var s=null==e||"auto"===e;if(null==i)return i;if((0,r.hj)(i)){var l,u=(i-(l=n||0))*a+l;return(0,o.NM)(u,s?Math.max((0,o.p8)(n||0),(0,o.p8)(i)):e)}if((0,r.HD)(i))return a<1?n:i;for(var c=[],h=Math.max(n?n.length:0,i.length),p=0;p<h;++p){var f=t.getDimensionInfo(p);if(f&&"ordinal"===f.type)c[p]=(a<1&&n?n:i)[p];else{var d=n&&n[p]?n[p]:0,g=i[p],u=(g-d)*a+d;c[p]=(0,o.NM)(u,s?Math.max((0,o.p8)(d),(0,o.p8)(g)):e)}}return c}},2517:function(t,e,n){n.d(e,{FK:()=>x,GM:()=>o,HD:()=>c,M9:()=>u,NM:()=>a,NU:()=>i,S$:()=>h,Xd:()=>y,dt:()=>s,jj:()=>S,kE:()=>b,kx:()=>v,mW:()=>f,nR:()=>_,nl:()=>w,p8:()=>l,sG:()=>g,wW:()=>p,xW:()=>m});var r=n(7975);function i(t,e,n,r){var i=e[0],o=e[1],a=n[0],s=n[1],l=o-i,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(r){if(l>0){if(t<=i)return a;if(t>=o)return s}else{if(t>=i)return a;if(t<=o)return s}}else{if(t===i)return a;if(t===o)return s}return(t-i)/l*u+a}function o(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return r.HD(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function s(t){return t.sort(function(t,e){return t-e}),t}function l(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e,n,r,i,o,a=1,s=0;s<15;s++,a*=10)if(Math.round(t*a)/a===t)return s}return r=(n=(e=t.toString().toLowerCase()).indexOf("e"))>0?+e.slice(n+1):0,i=n>0?n:e.length,Math.max(0,((o=e.indexOf("."))<0?0:i-1-o)-r)}function u(t,e){var n=Math.log,r=Math.LN10,i=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/r)+Math.round(n(Math.abs(e[1]-e[0]))/r),0),20);return isFinite(i)?i:20}function c(t,e){var n=r.u4(t,function(t,e){return t+(isNaN(e)?0:e)},0);if(0===n)return[];for(var i=Math.pow(10,e),o=r.UI(t,function(t){return(isNaN(t)?0:t)/n*i*100}),a=100*i,s=r.UI(o,function(t){return Math.floor(t)}),l=r.u4(s,function(t,e){return t+e},0),u=r.UI(o,function(t,e){return t-s[e]});l<a;){for(var c=Number.NEGATIVE_INFINITY,h=null,p=0,f=u.length;p<f;++p)u[p]>c&&(c=u[p],h=p);++s[h],u[h]=0,++l}return r.UI(s,function(t){return t/i})}function h(t,e){var n=Math.max(l(t),l(e)),r=t+e;return n>20?r:a(r,n)}function p(t){var e=2*Math.PI;return(t%e+e)%e}function f(t){return t>-1e-4&&t<1e-4}var d=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function g(t){if(t instanceof Date)return t;if(r.HD(t)){var e=d.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function y(t){return Math.pow(10,m(t))}function m(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function v(t,e){var n,r=m(t),i=Math.pow(10,r),o=t/i;return t=(e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*i,r>=-20?+t.toFixed(r<0?-r:0):t}function _(t){t.sort(function(t,e){return!function t(e,n,r){return e.interval[r]<n.interval[r]||e.interval[r]===n.interval[r]&&(e.close[r]-n.close[r]==(r?-1:1)||!r&&t(e,n,1))}(t,e,0)?1:-1});for(var e=-1/0,n=1,r=0;r<t.length;){for(var i=t[r].interval,o=t[r].close,a=0;a<2;a++)i[a]<=e&&(i[a]=e,o[a]=a?1:1-n),e=i[a],n=o[a];i[0]===i[1]&&o[0]*o[1]!=1?t.splice(r,1):r++}return t}function x(t){var e=parseFloat(t);return e==t&&(0!==e||!r.HD(t)||0>=t.indexOf("x"))?e:NaN}function b(t){return!isNaN(x(t))}function S(){return Math.round(9*Math.random())}function w(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},8306:function(t,e,n){n.d(e,{$l:()=>q,Av:()=>ti,C5:()=>Y,CX:()=>p,Gl:()=>Z,Hg:()=>v,JQ:()=>_,Ki:()=>y,L1:()=>d,MA:()=>A,Mh:()=>B,Nj:()=>tr,RW:()=>to,SJ:()=>N,SX:()=>z,T5:()=>H,UL:()=>V,VP:()=>F,WO:()=>tn,XX:()=>E,aG:()=>ta,ci:()=>K,e9:()=>tl,fD:()=>L,iK:()=>x,k5:()=>Q,oJ:()=>U,og:()=>X,qc:()=>g,vF:()=>J,wU:()=>f,xp:()=>ts,xr:()=>G,yx:()=>m,zI:()=>$});var r=n(7975),i=n(428),o=n(4411),a=n(6571),s=n(8588),l=1,u={},c=(0,a.Yf)(),h=(0,a.Yf)(),p=1,f=2,d=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y="highlight",m="downplay",v="select",_="unselect",x="toggleSelect";function b(t){return null!=t&&"none"!==t}function S(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function w(t){S(t,"emphasis",f)}function k(t){t.hoverState===f&&S(t,"normal",0)}function T(t){S(t,"blur",p)}function C(t){t.hoverState===p&&S(t,"normal",0)}function M(t){t.selected=!0}function D(t){t.selected=!1}function I(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function Z(t,e){switch(e){case"emphasis":t.hoverState=f;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function P(t,e){var n,i,a,l,u,h=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,i){var a=n&&(0,r.cq)(n,"select")>=0,l=!1;if(t instanceof s.ZP){var u=c(t),h=a&&u.selectFill||u.normalFill,p=a&&u.selectStroke||u.normalStroke;if(b(h)||b(p)){var f=(i=i||{}).style||{};"inherit"===f.fill?(l=!0,i=(0,r.l7)({},i),(f=(0,r.l7)({},f)).fill=h):!b(f.fill)&&b(h)?(l=!0,i=(0,r.l7)({},i),(f=(0,r.l7)({},f)).fill=(0,o.fD)(h)):!b(f.stroke)&&b(p)&&(l||(i=(0,r.l7)({},i),f=(0,r.l7)({},f)),f.stroke=(0,o.fD)(p)),i.style=f}}if(i&&null==i.z2){l||(i=(0,r.l7)({},i));var d=t.z2EmphasisLift;i.z2=t.z2+(null!=d?d:10)}return i}(this,0,e,h);if("blur"===t)return n=h,i=(0,r.cq)(this.currentStates,t)>=0,a=this.style.opacity,l=i?null:function(t,e,n,r){for(var i=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=i[s];o[s]=null==l?r&&r[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,r.l7)({},n),u=(0,r.l7)({opacity:i?a:.1*l.opacity},u),n.style=u),n;if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=(0,r.l7)({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:9)}return n}(this,0,h)}return h}function A(t){t.stateProxy=P;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=P),n&&(n.stateProxy=P)}function O(t,e){W(t,e)||t.__highByOuter||I(t,w)}function R(t,e){W(t,e)||t.__highByOuter||I(t,k)}function L(t,e){t.__highByOuter|=1<<(e||0),I(t,w)}function B(t,e){(t.__highByOuter&=~(1<<(e||0)))||I(t,k)}function z(t){I(t,T)}function F(t){I(t,C)}function E(t){I(t,M)}function N(t){I(t,D)}function W(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function H(t){var e=t.getModel(),n=[],i=[];e.eachComponent(function(e,r){var o=h(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);a||i.push(s),o.isBlured&&(s.group.traverse(function(t){C(t)}),a&&n.push(r)),o.isBlured=!1}),(0,r.S6)(i,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function j(t,e,n,i){var o=i.getModel();function a(t,e){for(var n=0;n<e.length;n++){var r=t.getItemGraphicEl(e[n]);r&&F(r)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,c=t.coordinateSystem;c&&c.master&&(c=c.master);var p=c&&l?c===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!p||"series"===e&&o)){if(i.getViewOfSeriesModel(t).group.traverse(function(t){(!t.__highByOuter||!o||"self"!==e)&&T(t)}),(0,r.zG)(e))a(t.getData(),e);else if((0,r.Kn)(e))for(var f=(0,r.XP)(e),d=0;d<f.length;d++)a(t.getData(f[d]),e[f[d]]);u.push(t),h(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=i.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function $(t,e,n){if(null!=t&&null!=e){var r=n.getModel().getComponent(t,e);if(r){h(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse(function(t){T(t)})}}}function V(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(s,e);l=((0,r.kJ)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var c=s.count(),h=0;!u&&h<c;)u=s.getItemGraphicEl(h++);if(u){var p=(0,i.A)(u);j(o,p.focus,p.blurScope,n)}else{var f=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=f&&j(o,f,d,n)}}}function U(t,e,n,r){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=r.getModel().getComponent(t,e);if(!s)return a;var l=r.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),c=0;c<u.length;c++)if("self"===(0,i.A)(u[c]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function q(t,e,n){var o=(0,i.A)(t),a=U(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&$(o.componentMainType,o.componentIndex,n),(0,r.S6)(s,function(t){return O(t,e)})):(j(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&$(o.componentMainType,o.componentIndex,n),O(t,e))}function G(t,e,n){H(n);var o=(0,i.A)(t),a=U(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,r.S6)(a,function(t){return R(t,e)}):R(t,e)}function X(t,e,n){if(ta(e)){var i=e.dataType,o=t.getData(i),s=(0,a.gO)(o,e);(0,r.kJ)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===v?"select":"unselect"](s,i)}}function K(t){var e=t.getAllData();(0,r.S6)(e,function(e){var n=e.data,r=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,r)?E(e):N(e)})})}function Y(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,r.S6)(n,function(n){n.data;var r=n.type,i=t.getSelectedDataIndices();if(i.length>0){var o={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(o.dataType=r),e.push(o)}})}),e}function J(t,e,n){var r,o,a,s;tr(t,!0),I(t,A),r=t,o=e,a=n,s=(0,i.A)(r),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}function Q(t,e,n,r){r?tr(t,!1):J(t,e,n)}var tt=["emphasis","blur","select"],te={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tn(t,e,n,r){n=n||"itemStyle";for(var i=0;i<tt.length;i++){var o=tt[i],a=e.getModel([o,n]);t.ensureState(o).style=r?r(a):a[te[n]]()}}function tr(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function ti(t){return!!(t&&t.__highDownDispatcher)}function to(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ta(t){var e=t.type;return e===v||e===_||e===x}function ts(t){var e=t.type;return e===y||e===m}function tl(t){var e=c(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},5965:function(t,e,n){n.d(e,{Cq:()=>w,Pw:()=>v,th:()=>b,zp:()=>S});var r=n(7975),i=n(8588),o=n(2859),a=n(1969),s=n(7266),l=n(7810),u=n(9495),c=n(2666),h=n(2517),p=i.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r+o),t.lineTo(n-i,r+o),t.closePath()}}),f=i.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,o=e.height/2;t.moveTo(n,r-o),t.lineTo(n+i,r),t.lineTo(n,r+o),t.lineTo(n-i,r),t.closePath()}}),d=i.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,o=Math.max(i,e.height),a=i/2,s=a*a/(o-a),l=r-o+a+s,u=Math.asin(s/a),c=Math.cos(u)*a,h=Math.sin(u),p=Math.cos(u),f=.6*a,d=.7*a;t.moveTo(n-c,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+c-h*f,l+s+p*f,n,r-d,n,r),t.bezierCurveTo(n,r-d,n-c+h*f,l+s+p*f,n-c,l+s),t.closePath()}}),g=i.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,o=e.y,a=r/3*2;t.moveTo(i,o),t.lineTo(i+a,o+n),t.lineTo(i,o+n/4*3),t.lineTo(i-a,o+n),t.lineTo(i,o),t.closePath()}}),y={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:f,pin:d,arrow:g,triangle:p},m={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var o=Math.min(n,r);i.x=t,i.y=e,i.width=o,i.height=o},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},v={};(0,r.S6)(y,function(t,e){v[e]=new t});var _=i.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=(0,c.wI)(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=v[r];i||(i=v[r="rect"]),m[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function b(t,e,n,r,i,o,a){var s,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Z(e,n,r,i),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,r,i),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:r,height:i}})).__isEmptyBrush=c,s.setColor=x,o&&s.setColor(o),s}function S(t){return(0,r.kJ)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function w(t,e){if(null!=t)return(0,r.kJ)(t)||(t=[t,t]),[(0,h.GM)(t[0],e[0])||0,(0,h.GM)((0,r.pD)(t[1],t[0]),e[1])||0]}},9774:function(t,e,n){n.d(e,{P2:()=>a,T9:()=>s,ZH:()=>l});var r="\0__throttleOriginMethod",i="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var r,i,o,a,s,l=0,u=0,c=null;function h(){u=new Date().getTime(),c=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];r=new Date().getTime(),o=this,a=t;var f=s||e,d=s||n;s=null,i=r-(d?l:u)-f,clearTimeout(c),d?c=setTimeout(h,f):i>=0?h():c=setTimeout(h,-i),l=r};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(t){s=t},p}function s(t,e,n,s){var l=t[e];if(l){var u=l[r]||l,c=l[o];if(l[i]!==n||c!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[r]=u,l[o]=s,l[i]=n}return l}}function l(t,e){var n=t[e];n&&n[r]&&(n.clear&&n.clear(),t[e]=n[r])}},926:function(t,e,n){n.d(e,{$K:()=>_,CW:()=>C,En:()=>L,FW:()=>y,MV:()=>Z,P5:()=>h,RZ:()=>P,Tj:()=>v,V8:()=>d,WT:()=>s,WU:()=>b,Wp:()=>D,cb:()=>F,dV:()=>u,eN:()=>B,f5:()=>R,fn:()=>I,k7:()=>S,q5:()=>k,rM:()=>z,s2:()=>c,sx:()=>T,vh:()=>O,xC:()=>x,xL:()=>A,xz:()=>M,yR:()=>l});var r=n(7975),i=n(2517),o=n(3404),a=n(6505),s=1e3,l=6e4,u=36e5,c=864e5,h=31536e6,p={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},f="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:f,hour:f+" "+p.hour,minute:f+" "+p.minute,second:f+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function m(t,e){return t+="","0000".substr(0,e-t.length)+t}function v(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===v(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function b(t,e,n,r){var s=i.sG(t),l=s[T(n)](),u=s[C(n)]()+1,c=Math.floor((u-1)/3)+1,h=s[M(n)](),p=s["get"+(n?"UTC":"")+"Day"](),f=s[D(n)](),d=(f-1)%12+1,g=s[I(n)](),y=s[Z(n)](),v=s[P(n)](),_=(r instanceof a.Z?r:(0,o.G8)(r||o.sO)||(0,o.Li)()).getModel("time"),x=_.get("month"),b=_.get("monthAbbr"),S=_.get("dayOfWeek"),w=_.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,m(l%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,x[u-1]).replace(/{MMM}/g,b[u-1]).replace(/{MM}/g,m(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,m(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,S[p]).replace(/{ee}/g,w[p]).replace(/{e}/g,p+"").replace(/{HH}/g,m(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,m(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,m(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,m(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,m(v,3)).replace(/{S}/g,v+"")}function S(t,e,n,i,o){var a=null;if(r.HD(n))a=n;else if(r.mf(n))a=n(t.value,e,{level:t.level});else{var s=r.l7({},p);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=n?!1===n.inherit?n:r.ce(n,s):s,c=w(t.value,o);if(u[c])a=u[c];else if(u.inherit){for(var h=y.indexOf(c),l=h-1;l>=0;--l)if(u[c]){a=u[c];break}a=a||s.none}if(r.kJ(a)){var f=null==t.level?0:t.level>=0?t.level:a.length+t.level;f=Math.min(f,a.length-1),a=a[f]}}return b(new Date(t.value),a,o,i)}function w(t,e){var n=i.sG(t),r=n[C(e)]()+1,o=n[M(e)](),a=n[D(e)](),s=n[I(e)](),l=n[Z(e)](),u=0===n[P(e)](),c=u&&0===l,h=c&&0===s,p=h&&0===a,f=p&&1===o;if(f&&1===r)return"year";if(f)return"month";if(p)return"day";if(h)return"hour";if(c)return"minute";else if(u)return"second";else return"millisecond"}function k(t,e,n){var o=r.hj(t)?i.sG(t):t;switch(e=e||w(t,n)){case"year":return o[T(n)]();case"half-year":return+(o[C(n)]()>=6);case"quarter":return Math.floor((o[C(n)]()+1)/4);case"month":return o[C(n)]();case"day":return o[M(n)]();case"half-day":return o[D(n)]()/24;case"hour":return o[D(n)]();case"minute":return o[I(n)]();case"second":return o[Z(n)]();case"millisecond":return o[P(n)]()}}function T(t){return t?"getUTCFullYear":"getFullYear"}function C(t){return t?"getUTCMonth":"getMonth"}function M(t){return t?"getUTCDate":"getDate"}function D(t){return t?"getUTCHours":"getHours"}function I(t){return t?"getUTCMinutes":"getMinutes"}function Z(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function A(t){return t?"setUTCFullYear":"setFullYear"}function O(t){return t?"setUTCMonth":"setMonth"}function R(t){return t?"setUTCDate":"setDate"}function L(t){return t?"setUTCHours":"setHours"}function B(t){return t?"setUTCMinutes":"setMinutes"}function z(t){return t?"setUTCSeconds":"setSeconds"}function F(t){return t?"setUTCMilliseconds":"setMilliseconds"}},9484:function(t,e,n){n.d(e,{J5:()=>l,RA:()=>u,Wc:()=>h,XD:()=>o,cy:()=>i,f7:()=>r,fY:()=>c,hL:()=>s,qb:()=>a});var r=(0,n(7975).kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),i="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",c="column",h="row"},8845:function(t,e,n){n.d(e,{o:()=>a});var r=n(7975),i="undefined"!=typeof Float32Array,o=i?Float32Array:Array;function a(t){return(0,r.kJ)(t)?i?new Float32Array(t):t:new o(t)}},8050:function(t,e,n){n.d(e,{Z:()=>x});var r=n(7975),i=n(7293),o=n(4587),a=n(1382),s=n(6571),l=n(8306),u=n(5926),c=n(3149),h=n(7810),p=s.Yf(),f=(0,c.Z)(),d=function(){function t(){this.group=new i.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:m,reset:v}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&y(i,r,"emphasis")},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&y(i,r,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.Av)(t)&&("emphasis"===e?l.fD:l.Mh)(t,n)}function y(t,e,n){var i=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=i?(0,r.S6)(s.kF(i),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function m(t){return f(t.model)}function v(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=i&&p(i).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,r,i),_[l]}a.dm(d,["dispose"]),a.au(d);var _={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};let x=d},4292:function(t,e,n){n.d(e,{Z:()=>s});var r=n(7293),i=n(4587),o=n(1382),a=function(){function t(){this.group=new r.Z,this.uid=i.Kr("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){},t.prototype.updateLayout=function(t,e,n,r){},t.prototype.updateVisual=function(t,e,n,r){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.dm(a),o.au(a);let s=a},3928:function(t,e,n){function r(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function i(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function o(t,e,n,r){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=r,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,r)}}n.d(e,{LZ:()=>o,Or:()=>r,UL:()=>i})},5062:function(t,e,n){n.d(e,{Z:()=>x});var r=n(4066),i=n(8026),o=n(9495),a=n(7654),s=n(2666),l=n(7975),u=n(9417),c=n(4411),h=n(2168),p="__zr_normal__",f=r.dN.concat(["ignore"]),d=(0,l.u4)(r.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.Z(0,0,0,0),m=function(){function t(t){this.id=(0,l.M8)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=e.innerTransformable,o=void 0,a=void 0,l=!1;i.parent=r?this:null;var u=!1;if(i.copyTransform(e),null!=n.position){n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),r||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,y):(0,s.wI)(g,n,y),i.x=g.x,i.y=g.y,o=g.align,a=g.verticalAlign;var c=n.origin;if(c&&null!=n.rotation){var p=void 0,f=void 0;"center"===c?(p=.5*y.width,f=.5*y.height):(p=(0,s.GM)(c[0],y.width),f=(0,s.GM)(c[1],y.height)),u=!0,i.originX=-i.x+p+(r?0:y.x),i.originY=-i.y+f+(r?0:y.y)}}null!=n.rotation&&(i.rotation=n.rotation);var d=n.offset;d&&(i.x+=d[0],i.y+=d[1],u||(i.originX=-d[0],i.originY=-d[1]));var m=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,v=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,b=void 0;m&&this.canBeInsideText()?(_=n.insideFill,x=n.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(_),b=!0)):(_=n.outsideFill,x=n.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(_),b=!0)),((_=_||"#000")!==v.fill||x!==v.stroke||b!==v.autoStroke||o!==v.align||a!==v.verticalAlign)&&(l=!0,v.fill=_,v.stroke=x,v.autoStroke=b,v.align=o,v.verticalAlign=a,e.setDefaultTextStyle(v)),e.__dirty|=h.YV,l&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,c.Qc)(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*r+255*!i*(1-r);return n[3]=1,(0,c.Pz)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,l.l7)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if((0,l.Kn)(t))for(var n=(0,l.XP)(t),r=0;r<n.length;r++){var i=n[r];this.attrKV(i,t[i])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!r.getLoop()&&(!i||i===p)){var o=r.targetName,a=o?e[o]:e;r.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,f)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null==t[i]||i in e||(e[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(p,!1,t)},t.prototype.useState=function(t,e,n,r){var i,o=t===p;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.cq)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(i=this.stateProxy(t)),i||(i=this.states&&this.states[t]),!i&&!o){(0,l.H)("State "+t+" not exists.");return}o||this.saveCurrentToNormalState(i);var u=!!(i&&i.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,i,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var c=this._textContent,f=this._textGuide;return c&&c.useState(t,e,n,u),f&&f.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.YV),i}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,o=t.length,a=o===i.length;if(a){for(var s=0;s<o;s++)if(t[s]!==i[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&r.push(u)}var c=r[o-1],p=!!(c&&c.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(r),d=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.YV)}}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.cq)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=(0,l.cq)(r,t),o=(0,l.cq)(r,e)>=0;i>=0?o?r.splice(i,1):r[i]=e:n&&!o&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r<t.length;r++){var i=t[r];(0,l.l7)(n,i),i.textConfig&&(e=e||{},(0,l.l7)(e,i.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,r,i,o){var a=!(e&&r);e&&e.textConfig?(this.textConfig=(0,l.l7)({},r?this.textConfig:n.textConfig),(0,l.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<f.length;c++){var h=f[c],p=i&&d[h];e&&null!=e[h]?p?(u=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(p?(u=!0,s[h]=n[h]):this[h]=n[h])}if(!i)for(var c=0;c<this.animators.length;c++){var g=this.animators[c],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new r.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=h.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var r=t?this[t]:this,o=new i.Z(r,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,r=this;t.during(function(){r.updateDuringAnimation(e)}).done(function(){var e=r.animators,n=(0,l.cq)(e,t);n>=0&&e.splice(n,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],o=0;o<r;o++){var a=n[o];t&&t!==a.scope?i.push(a):a.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){v(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){v(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,r){for(var i=v(this,e,n,r),o=0;o<i.length;o++)i[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,r,i){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[r]=t[0],this[i]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[i]},set:function(e){t[i]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=h.YV,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function v(t,e,n,r,o){var a=[];!function t(e,n,r,o,a,s,u,c){for(var h=(0,l.XP)(o),p=a.duration,f=a.delay,d=a.additive,g=a.setToFinal,y=!(0,l.Kn)(s),m=e.animators,v=[],x=0;x<h.length;x++){var b=h[x],S=o[b];if(null!=S&&null!=r[b]&&(y||s[b])){if(!(0,l.Kn)(S)||(0,l.zG)(S)||(0,l.Qq)(S))v.push(b);else{if(n){c||(r[b]=S,e.updateDuringAnimation(n));continue}t(e,b,r[b],S,a,s&&s[b],u,c)}}else c||(r[b]=S,e.updateDuringAnimation(n),v.push(b))}var w=v.length;if(!d&&w)for(var k=0;k<m.length;k++){var T=m[k];if(T.targetName===n&&T.stopTracks(v)){var C=(0,l.cq)(m,T);m.splice(C,1)}}if(a.force||(w=(v=(0,l.hX)(v,function(t){var e,n;return!((e=o[t])===(n=r[t])||(0,l.zG)(e)&&(0,l.zG)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(e,n))})).length),w>0||a.force&&!u.length){var M=void 0,D=void 0,I=void 0;if(c){D={},g&&(M={});for(var k=0;k<w;k++){var b=v[k];D[b]=r[b],g?M[b]=o[b]:r[b]=o[b]}}else if(g){I={};for(var k=0;k<w;k++){var b=v[k];I[b]=(0,i.V)(r[b]),function(t,e,n){if((0,l.zG)(e[n])){if((0,l.zG)(t[n])||(t[n]=[]),(0,l.fU)(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),_(t[n],e[n],r))}else{var i=e[n],o=t[n],a=i.length;if((0,l.zG)(i[0]))for(var s=i[0].length,u=0;u<a;u++)o[u]?_(o[u],i[u],s):o[u]=Array.prototype.slice.call(i[u]);else _(o,i,a);o.length=i.length}}else t[n]=e[n]}(r,o,b)}}var T=new i.Z(r,!1,!1,d?(0,l.hX)(m,function(t){return t.targetName===n}):null);T.targetName=n,a.scope&&(T.scope=a.scope),g&&M&&T.whenWithKeys(0,M,v),I&&T.whenWithKeys(0,I,v),T.whenWithKeys(null==p?500:p,c?D:o,v).delay(f||0),e.addAnimator(T,n),u.push(T)}}(t,"",t,e,n=n||{},r,a,o);var s=a.length,u=!1,c=n.done,h=n.aborted,p=function(){u=!0,--s<=0&&(u?c&&c():h&&h())},f=function(){--s<=0&&(u?c&&c():h&&h())};!s&&c&&c(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var d=0;d<a.length;d++){var g=a[d];p&&g.done(p),f&&g.aborted(f),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function _(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}(0,l.jB)(m,a.Z),(0,l.jB)(m,r.ZP);let x=m},8026:function(t,e,n){n.d(e,{V:()=>g,Z:()=>b});var r={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t-e)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-r.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*r.bounceIn(2*t):.5*r.bounceOut(2*t-1)+.5}},i=n(7975),o=n(9101),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),r=+(0,i.fy)(n[0]),s=+(0,i.fy)(n[1]),l=+(0,i.fy)(n[2]),u=+(0,i.fy)(n[3]);if(isNaN(r+s+l+u))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,o.kD)(0,r,l,1,t,c)&&(0,o.af)(0,s,u,1,c[0])}}}var l=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||i.ZT,this.ondestroy=t.ondestroy||i.ZT,this.onrestart=t.onrestart||i.ZT,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,r=t-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,a=o?o(i):i;if(this.onframe(a),1===i){if(!this.loop)return!0;this._startTime=t-r%n,this._pausedTime=0,this.onrestart()}return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,i.mf)(t)?t:r[t]||s(t)},t}(),u=n(4411),c=n(4647);c.Z.hasGlobalWindow&&(0,i.mf)(window.btoa);var h=Array.prototype.slice;function p(t,e,n,r){for(var i,o=e.length,a=0;a<o;a++)t[a]=(i=e[a],(n[a]-i)*r+i);return t}function f(t,e,n,r){for(var i=e.length,o=0;o<i;o++)t[o]=e[o]+n[o]*r;return t}function d(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*r}return t}function g(t){if((0,i.zG)(t)){var e=t.length;if((0,i.zG)(t[0])){for(var n=[],r=0;r<e;r++)n.push(h.call(t[r]));return n}return h.call(t)}return t}function y(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function m(t){return 4===t||5===t}function v(t){return 1===t||2===t}var _=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,c=6,h=e;if((0,i.zG)(e)){var p=(0,i.zG)(e&&e[0])?2:1;c=p,(1!==p||(0,i.hj)(e[0]))&&(2!==p||(0,i.hj)(e[0][0]))||(l=!0)}else if((0,i.hj)(e)&&!(0,i.Bu)(e))c=0;else if((0,i.HD)(e)){if(isNaN(+e)){var f=u.Qc(e);f&&(h=f,c=3)}else c=0}else if((0,i.Qq)(e)){var d=(0,i.l7)({},h);(d.colorStops=(0,i.UI)(e.colorStops,function(t){return{offset:t.offset,color:u.Qc(t.color)}}),"linear"===e.type)?c=4:"radial"===e.type&&(c=5),h=d}0===a?this.valType=c:(c!==this.valType||6===c)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:h,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,i.mf)(n)?n:r[n]||s(n)),o.push(g),g},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(t,e){return t.time-e.time});for(var r=this.valType,i=n.length,o=n[i-1],a=this.discrete,s=v(r),l=m(r),u=0;u<i;u++){var c=n[u],p=c.value,g=o.value;c.percent=c.time/t,!a&&(s&&u!==i-1?function(t,e,n){if(t.push&&e.push){var r=t.length,i=e.length;if(r!==i){if(r>i)t.length=i;else for(var o=r;o<i;o++)t.push(1===n?e[o]:h.call(e[o]))}for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(p,g,r):l&&function(t,e){for(var n=t.length,r=e.length,i=n>r?e:t,o=Math.min(n,r),a=i[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,r);s++)i.push({offset:a.offset,color:a.color.slice()})}(p.colorStops,g.colorStops))}if(!a&&5!==r&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<i;u++)0===r?n[u].additiveValue=n[u].value-y:3===r?n[u].additiveValue=f([],n[u].value,y,-1):v(r)&&(n[u].additiveValue=1===r?f([],n[u].value,y,-1):d([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,c=u.length,h=this.propName,f=3===l,d=this._lastFr,g=Math.min;if(1===c)r=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(d+1,c-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,c-2)}else{for(n=d;n<c&&!(u[n].percent>e);n++);n=g(n-1,c-2)}o=u[n+1],r=u[n]}if(r&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-r.percent,b=0===x?1:g((e-r.percent)/x,1);o.easingFunc&&(b=o.easingFunc(b));var S=a?this._additiveValue:f?_:t[h];if((v(l)||f)&&!S&&(S=this._additiveValue=[]),this.discrete)t[h]=b<1?r.rawValue:o.rawValue;else if(v(l))1===l?p(S,r[s],o[s],b):function(t,e,n,r){for(var i=e.length,o=i&&e[0].length,a=0;a<i;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*r+s)}return t}(S,r[s],o[s],b);else if(m(l)){var w,k,T,C,M,D=r[s],I=o[s],Z=4===l;(t[h]={type:Z?"linear":"radial",x:(w=D.x,(I.x-w)*b+w),y:(k=D.y,(I.y-k)*b+k),colorStops:(0,i.UI)(D.colorStops,function(t,e){var n,r=I.colorStops[e];return{offset:(n=t.offset,(r.offset-n)*b+n),color:y(p([],t.color,r.color,b))}}),global:I.global},Z)?(t[h].x2=(T=D.x2,(I.x2-T)*b+T),t[h].y2=(C=D.y2,(I.y2-C)*b+C)):t[h].r=(M=D.r,(I.r-M)*b+M)}else if(f)p(S,r[s],o[s],b),a||(t[h]=y(S));else{var P,A=(P=r[s],(o[s]-P)*b+P);a?this._additiveValue=A:t[h]=A}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;0===e?t[n]=t[n]+r:3===e?(u.Qc(t[n],_),f(_,_,r,1),t[n]=y(_)):1===e?f(t[n],t[n],r,1):2===e&&d(t[n],t[n],r,1)},t}();let b=function(){function t(t,e,n,r){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r){(0,i.H)("Can' use additive animation on looped animation.");return}this._additiveAnimators=r,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,i.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,o=0;o<n.length;o++){var a=n[o],s=i[a];if(!s){s=i[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var c=u.keyframes,h=c[c.length-1];l=h&&h.value,3===u.valType&&l&&(l=y(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,g(l),r),this._trackKeys.push(a)}s.addKeyframe(t,g(e[a]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,c=u.length;if(a.prepare(r,s),a.needsAnimate()){if(!this._allowDiscrete&&a.discrete){var h=u[c-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else n.push(a)}}if(n.length||this._force){var p=new l({life:r,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var r=e._additiveAnimators;if(r){for(var i=!1,o=0;o<r.length;o++)if(r[o]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,i.UI)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<t.length;i++){var o=n[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,i=0;i<r.length;i++)if(!n[r[i]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],o=this._tracks[i];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[i]=g(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,i.XP)(t);for(var n=0;n<e.length;n++){var r=e[n],o=this._tracks[r];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[r]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},9909:function(t,e,n){n.d(e,{Z:()=>r});let r=n(4647).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},6398:function(t,e,n){n.d(e,{Dm:()=>I,RZ:()=>x,RV:()=>D});var r=n(3670),i=n(3564),o=n(1109),a=n(1687),s=n(8588),l=n(3287),u=n(7755),c=n(7975);function h(t){var e,n,r=t.style,i=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,n=r.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,c.hj)(e)?[e]:(0,c.kJ)(e)?e:null:null),o=r.lineDashOffset;if(i){var a=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(i=(0,c.UI)(i,function(t){return t/a}),o/=a)}return[i,o]}var p=n(2168),f=n(9906),d=new i.Z(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function m(t){var e=t.fill;return null!=e&&"none"!==e}function v(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var r=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*c.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}var b=["shadowBlur","shadowOffsetX","shadowOffsetY"],S=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function w(t,e,n,i,o){var a=!1;if(!i&&e===(n=n||{}))return!1;if(i||e.opacity!==n.opacity){C(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?r.tj.opacity:s}(i||e.blend!==n.blend)&&(a||(C(t,o),a=!0),t.globalCompositeOperation=e.blend||r.tj.blend);for(var l=0;l<b.length;l++){var u=b[l];(i||e[u]!==n[u])&&(a||(C(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(i||e.shadowColor!==n.shadowColor)&&(a||(C(t,o),a=!0),t.shadowColor=e.shadowColor||r.tj.shadowColor),a}function k(t,e,n,r,i){var o=M(e,i.inHover),a=r?null:n&&M(n,i.inHover)||{};if(o===a)return!1;var s=w(t,o,a,r,i);if((r||o.fill!==a.fill)&&(s||(C(t,i),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(r||o.stroke!==a.stroke)&&(s||(C(t,i),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(r||o.opacity!==a.opacity)&&(s||(C(t,i),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(C(t,i),s=!0),t.lineWidth=l)}for(var u=0;u<S.length;u++){var c=S[u],h=c[0];(r||o[h]!==a[h])&&(s||(C(t,i),s=!0),t[h]=o[h]||c[1])}return s}function T(t,e){var n=e.transform,r=t.dpr||1;n?t.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):t.setTransform(r,0,0,r,0,0)}function C(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function M(t,e){return e&&t.__hoverStyle||t.style}function D(t,e){I(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function I(t,e,n,r){var i,c,y,b,S,D=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.YV,e.__isRendered=!1;return}var Z=e.__clipPaths,P=n.prevElClipPaths,A=!1,O=!1;if((!P||(0,a.cF)(Z,P))&&(P&&P.length&&(C(t,n),t.restore(),O=A=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),Z&&Z.length&&(C(t,n),t.save(),function(t,e,n){for(var r=!1,i=0;i<t.length;i++){var o=t[i];r=r||o.isZeroArea(),T(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=r}(Z,t,n),A=!0),n.prevElClipPaths=Z),n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var R=n.prevEl;R||(O=A=!0);var L=e instanceof s.ZP&&e.autoBatch&&(c=m(i=e.style),y=g(i),!(i.lineDash||!(+c^+y)||c&&"string"!=typeof i.fill||y&&"string"!=typeof i.stroke||i.strokePercent<1||i.strokeOpacity<1||i.fillOpacity<1));!A&&(b=R.transform,D&&b?D[0]===b[0]&&D[1]===b[1]&&D[2]===b[2]&&D[3]===b[3]&&D[4]===b[4]&&D[5]===b[5]:D||b?0:1)?L||C(t,n):(C(t,n),T(t,e));var B=M(e,n.inHover);e instanceof s.ZP?(1!==n.lastDrawType&&(O=!0,n.lastDrawType=1),k(t,e,R,O,n),L&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,r){var i,o,s,l=g(n),u=m(n),c=n.strokePercent,f=c<1,y=!e.path;(!e.silent||f)&&y&&e.createPathProxy();var b=e.path||d,S=e.__dirty;if(!r){var w=n.fill,k=n.stroke,T=u&&!!w.colorStops,C=l&&!!k.colorStops,M=u&&!!w.image,D=l&&!!k.image,I=void 0,Z=void 0,P=void 0,A=void 0,O=void 0;(T||C)&&(O=e.getBoundingRect()),T&&(I=S?(0,a.ZF)(t,w,O):e.__canvasFillGradient,e.__canvasFillGradient=I),C&&(Z=S?(0,a.ZF)(t,k,O):e.__canvasStrokeGradient,e.__canvasStrokeGradient=Z),M&&(P=S||!e.__canvasFillPattern?x(t,w,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(A=S||!e.__canvasStrokePattern?x(t,k,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=I:M&&(P?t.fillStyle=P:u=!1),C?t.strokeStyle=Z:D&&(A?t.strokeStyle=A:l=!1)}var R=e.getGlobalScale();b.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(i=h(e))[0],s=i[1]);var L=!0;(y||S&p.RH)&&(b.setDPR(t.dpr),f?b.setContext(null):(b.setContext(t),L=!1),b.reset(),e.buildPath(b,e.shape,r),b.toStatic(),e.pathUpdated()),L&&b.rebuildPath(t,f?c:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!r&&(n.strokeFirst?(l&&_(t,n),u&&v(t,n)):(u&&v(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,B,L),L&&(n.batchFill=B.fill||"",n.batchStroke=B.stroke||"")):e instanceof u.Z?(3!==n.lastDrawType&&(O=!0,n.lastDrawType=3),k(t,e,R,O,n),function(t,e,n){var r,i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||f.Uo,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(r=h(e))[0],a=r[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(g(n)&&t.strokeText(i,n.x,n.y),m(n)&&t.fillText(i,n.x,n.y)):(m(n)&&t.fillText(i,n.x,n.y),g(n)&&t.strokeText(i,n.x,n.y)),o&&t.setLineDash([])}}(t,e,B)):e instanceof l.ZP?(2!==n.lastDrawType&&(O=!0,n.lastDrawType=2),S=O,w(t,M(e,n.inHover),R&&M(R,n.inHover),S,n),function(t,e,n){var r=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(r&&(0,o.v5)(r)){var i=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=r.width/r.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=r.width,l=r.height),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(r,c,h,n.sWidth,n.sHeight,i,a,s,l)}else if(n.sx&&n.sy){var c=n.sx,h=n.sy,p=s-c,f=l-h;t.drawImage(r,c,h,p,f,i,a,s,l)}else t.drawImage(r,i,a,s,l)}}(t,e,B)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(O=!0,n.lastDrawType=4),function(t,e,n){var r,i,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(r=e.getCursor(),i=o.length;r<i;r++){var l=o[r];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,r===i-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),I(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),L&&r&&C(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},1687:function(t,e,n){function r(t){return isFinite(t)}function i(t,e,n){for(var i,o,a,s,l,u,c,h,p,f,d="radial"===e.type?(a=Math.min(i=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*i+n.x,l=l*o+n.y,u*=a),s=r(s)?s:.5,l=r(l)?l:.5,u=u>=0&&r(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(c=null==e.x?0:e.x,h=null==e.x2?1:e.x2,p=null==e.y?0:e.y,f=null==e.y2?0:e.y2,e.global||(c=c*n.width+n.x,h=h*n.width+n.x,p=p*n.height+n.y,f=f*n.height+n.y),c=r(c)?c:0,h=r(h)?h:1,p=r(p)?p:0,f=r(f)?f:0,t.createLinearGradient(c,p,h,f)),g=e.colorStops,y=0;y<g.length;y++)d.addColorStop(g[y].offset,g[y].color);return d}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var r=["width","height"][e],i=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var l=document.defaultView.getComputedStyle(t);return(t[i]||a(l[r])||a(t.style[r]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{ZF:()=>i,ap:()=>s,cF:()=>o})},9417:function(t,e,n){n.d(e,{Ak:()=>a,GD:()=>l,KL:()=>o,iv:()=>u,vU:()=>s});var r=n(4647),i=1;r.Z.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=i,a=.4,s="#333",l="#ccc",u="#eee"},2666:function(t,e,n){n.d(e,{Dp:()=>p,GM:()=>f,M3:()=>c,dz:()=>s,lP:()=>u,mU:()=>h,wI:()=>d});var r=n(9495),i=n(6147),o=n(9906),a={};function s(t,e){var n=a[e=e||o.Uo];n||(n=a[e]=new i.ZP(500));var r=n.get(t);return null==r&&(r=o.qW.measureText(t,e).width,n.put(t,r)),r}function l(t,e,n,i){var o=s(t,e),a=p(e),l=c(0,o,n),u=h(0,a,i);return new r.Z(l,u,o,a)}function u(t,e,n,i){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,n,i);for(var a=new r.Z(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,n,i);0===s?a.copy(u):a.union(u)}return a}function c(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function h(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function p(t){return s("国",t)}function f(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,c="left",h="top";if(r instanceof Array)l+=f(r[0],n.width),u+=f(r[1],n.height),c=null,h=null;else switch(r){case"left":l-=i,u+=s,c="right",h="middle";break;case"right":l+=i+a,u+=s,h="middle";break;case"top":l+=a/2,u-=i,c="center",h="bottom";break;case"bottom":l+=a/2,u+=o+i,c="center";break;case"inside":l+=a/2,u+=s,c="center",h="middle";break;case"insideLeft":l+=i,u+=s,h="middle";break;case"insideRight":l+=a-i,u+=s,c="right",h="middle";break;case"insideTop":l+=a/2,u+=i,c="center";break;case"insideBottom":l+=a/2,u+=o-i,c="center",h="bottom";break;case"insideTopLeft":l+=i,u+=i;break;case"insideTopRight":l+=a-i,u+=i,c="right";break;case"insideBottomLeft":l+=i,u+=o-i,h="bottom";break;case"insideBottomRight":l+=a-i,u+=o-i,c="right",h="bottom"}return(t=t||{}).x=l,t.y=u,t.align=c,t.verticalAlign=h,t}},9495:function(t,e,n){n.d(e,{Z:()=>f});var r=n(9634),i=n(1145),o=Math.min,a=Math.max,s=new i.Z,l=new i.Z,u=new i.Z,c=new i.Z,h=new i.Z,p=new i.Z;let f=function(){function t(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=t.width/this.width,n=t.height/this.height,i=r.Ue();return r.Iu(i,i,[-this.x,-this.y]),r.bA(i,i,[e,n]),r.Iu(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,c=e.y,f=e.y+e.height,d=!(o<l||u<r||s<c||f<a);if(n){var g=1/0,y=0,m=Math.abs(o-l),v=Math.abs(u-r),_=Math.abs(s-c),x=Math.abs(f-a),b=Math.min(m,v),S=Math.min(_,x);o<l||u<r?b>y&&(y=b,m<v?i.Z.set(p,-m,0):i.Z.set(p,v,0)):b<g&&(g=b,m<v?i.Z.set(h,m,0):i.Z.set(h,-v,0)),s<c||f<a?S>y&&(y=S,_<x?i.Z.set(p,0,-_):i.Z.set(p,0,x)):b<g&&(g=b,_<x?i.Z.set(h,0,_):i.Z.set(h,0,-x))}return n&&i.Z.copy(n,d?h:p),d},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,r){if(!r){e!==n&&t.copy(e,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],h=r[3],p=r[4],f=r[5];e.x=n.x*i+p,e.y=n.y*h+f,e.width=n.width*i,e.height=n.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=n.x,s.y=c.y=n.y,l.x=c.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(r),c.transform(r),l.transform(r),u.transform(r),e.x=o(s.x,l.x,u.x,c.x),e.y=o(s.y,l.y,u.y,c.y);var d=a(s.x,l.x,u.x,c.x),g=a(s.y,l.y,u.y,c.y);e.width=d-e.x,e.height=g-e.y},t}()},7654:function(t,e,n){n.d(e,{Z:()=>r});let r=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var a=0;a<i[t].length;a++)if(i[t][a].h===n)return this;var s={h:n,query:e,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},l=i[t].length-1,u=i[t][l];return u&&u.callAtLast?i[t].splice(l,0,s):i[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=r.length,s=0;s<a;s++){var l=r[s];if(!i||!i.filter||null==l.query||i.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var o=e.length,a=e[o-1],s=r.length,l=0;l<s;l++){var u=r[l];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}()},6147:function(t,e,n){n.d(e,{ZP:()=>o});var r=function(t){this.value=t},i=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new r(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();let o=function(){function t(t){this._list=new i,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,o=null;if(null==i[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete i[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new r(e),s.key=t,n.insertEntry(s),i[t]=s}return o},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},8291:function(t,e,n){n.d(e,{Z:()=>l});var r=n(1145),i=[0,0],o=[0,0],a=new r.Z,s=new r.Z;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new r.Z;for(var n=0;n<2;n++)this._axes[n]=new r.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,i=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);r.Z.sub(i[0],n[1],n[0]),r.Z.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var u=0;u<2;u++)this._origin[u]=i[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,i=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,a,s,i,-1)&&(n=!1,i)||i||r.Z.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,c=0;c<2;c++){var h=this._axes[c];if(this._getProjMinMaxOnAxis(c,t._corners,i),this._getProjMinMaxOnAxis(c,e._corners,o),i[1]<o[0]||i[0]>o[1]){if(u=!1,s)return u;var p=Math.abs(o[0]-i[1]),f=Math.abs(i[0]-o[1]);Math.min(p,f)>a.len()&&(p<f?r.Z.scale(a,h,-p*l):r.Z.scale(a,h,f*l))}else if(n){var p=Math.abs(o[0]-i[1]),f=Math.abs(i[0]-o[1]);Math.min(p,f)<n.len()&&(p<f?r.Z.scale(n,h,p*l):r.Z.scale(n,h,-f*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,o=e[0].dot(r)+i[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(r)+i[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}()},3564:function(t,e,n){n.d(e,{L:()=>L,Z:()=>B});var r=n(7605),i=n(9495),o=n(9417),a=n(9101),s=Math.min,l=Math.max,u=Math.sin,c=Math.cos,h=2*Math.PI,p=r.Ue(),f=r.Ue(),d=r.Ue();function g(t,e,n,r,i,o){i[0]=s(t,n),i[1]=s(e,r),o[0]=l(t,n),o[1]=l(e,r)}var y=[],m=[],v={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],b=[],S=[],w=[],k=[],T=Math.min,C=Math.max,M=Math.cos,D=Math.sin,I=Math.abs,Z=Math.PI,P=2*Z,A="undefined"!=typeof Float32Array,O=[];function R(t){return Math.round(t/Z*1e8)/1e8%2*Z}function L(t,e){var n=R(t[0]);n<0&&(n+=P);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=P?i=n+P:e&&n-i>=P?i=n-P:!e&&n>i?i=n+(P-R(n-i)):e&&n<i&&(i=n-(P-R(i-n))),t[0]=n,t[1]=i}let B=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=I(n/o.KL/t)||0,this._uy=I(n/o.KL/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(v.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=I(t-this._xi),r=I(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(v.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+r*r;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,e,n,r,i,o){return this._drawPendingPt(),this.addData(v.C,t,e,n,r,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(v.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},e.prototype.arc=function(t,e,n,r,i,o){this._drawPendingPt(),O[0]=r,O[1]=i,L(O,o),r=O[0];var a=(i=O[1])-r;return this.addData(v.A,t,e,n,n,r,a,0,+!o),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=M(i)*n+t,this._yi=D(i)*n+e,this},e.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},e.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(v.R,t,e,n,r),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(v.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&A&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();A&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(var i=0;i<e;i++)for(var o=t[i].data,a=0;a<o.length;a++)this.data[r++]=o[a];this._len=r},e.prototype.addData=function(t,e,n,r,i,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var c=0;c<arguments.length;c++)u[this._len++]=arguments[c]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,A&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){b[0]=b[1]=w[0]=w[1]=Number.MAX_VALUE,S[0]=S[1]=k[0]=k[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,x=0;for(t=0;t<this._len;){var T=e[t++],C=1===t;switch(C&&(n=e[t],o=e[t+1],_=n,x=o),T){case v.M:n=_=e[t++],o=x=e[t++],w[0]=_,w[1]=x,k[0]=_,k[1]=x;break;case v.L:g(n,o,e[t],e[t+1],w,k),n=e[t++],o=e[t++];break;case v.C:(function(t,e,n,r,i,o,u,c,h,p){var f=a.pP,d=a.af,g=f(t,n,i,u,y);h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var v=0;v<g;v++){var _=d(t,n,i,u,y[v]);h[0]=s(_,h[0]),p[0]=l(_,p[0])}g=f(e,r,o,c,m);for(var v=0;v<g;v++){var x=d(e,r,o,c,m[v]);h[1]=s(x,h[1]),p[1]=l(x,p[1])}h[0]=s(t,h[0]),p[0]=l(t,p[0]),h[0]=s(u,h[0]),p[0]=l(u,p[0]),h[1]=s(e,h[1]),p[1]=l(e,p[1]),h[1]=s(c,h[1]),p[1]=l(c,p[1])})(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],w,k),n=e[t++],o=e[t++];break;case v.Q:(function(t,e,n,r,i,o,u,c){var h=a.QC,p=a.Zm,f=l(s(h(t,n,i),1),0),d=l(s(h(e,r,o),1),0),g=p(t,n,i,f),y=p(e,r,o,d);u[0]=s(t,i,g),u[1]=s(e,o,y),c[0]=l(t,i,g),c[1]=l(e,o,y)})(n,o,e[t++],e[t++],e[t],e[t+1],w,k),n=e[t++],o=e[t++];break;case v.A:var I=e[t++],Z=e[t++],P=e[t++],A=e[t++],O=e[t++],R=e[t++]+O;t+=1;var L=!e[t++];C&&(_=M(O)*P+I,x=D(O)*A+Z),function(t,e,n,i,o,a,s,l,g){var y=r.VV,m=r.Fp,v=Math.abs(o-a);if(v%h<1e-4&&v>1e-4){l[0]=t-n,l[1]=e-i,g[0]=t+n,g[1]=e+i;return}if(p[0]=c(o)*n+t,p[1]=u(o)*i+e,f[0]=c(a)*n+t,f[1]=u(a)*i+e,y(l,p,f),m(g,p,f),(o%=h)<0&&(o+=h),(a%=h)<0&&(a+=h),o>a&&!s?a+=h:o<a&&s&&(o+=h),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(d[0]=c(x)*n+t,d[1]=u(x)*i+e,y(l,d,l),m(g,d,g))}(I,Z,P,A,O,R,L,w,k),n=M(R)*P+I,o=D(R)*A+Z;break;case v.R:g(_=n=e[t++],x=o=e[t++],_+e[t++],x+e[t++],w,k);break;case v.Z:n=_,o=x}r.VV(b,b,w),r.Fp(S,S,k)}return 0===t&&(b[0]=b[1]=S[0]=S[1]=0),new i.Z(b[0],b[1],S[0]-b[0],S[1]-b[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,r=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,h=0,p=0;p<e;){var f=t[p++],d=1===p;d&&(i=t[p],o=t[p+1],s=i,l=o);var g=-1;switch(f){case v.M:i=s=t[p++],o=l=t[p++];break;case v.L:var y=t[p++],m=t[p++],_=y-i,x=m-o;(I(_)>n||I(x)>r||p===e-1)&&(g=Math.sqrt(_*_+x*x),i=y,o=m);break;case v.C:var b=t[p++],S=t[p++],y=t[p++],m=t[p++],w=t[p++],k=t[p++];g=(0,a.Ci)(i,o,b,S,y,m,w,k,10),i=w,o=k;break;case v.Q:var b=t[p++],S=t[p++],y=t[p++],m=t[p++];g=(0,a.wQ)(i,o,b,S,y,m,10),i=y,o=m;break;case v.A:var Z=t[p++],A=t[p++],O=t[p++],R=t[p++],L=t[p++],B=t[p++],z=B+L;p+=1,d&&(s=M(L)*O+Z,l=D(L)*R+A),g=C(O,R)*T(P,Math.abs(B)),i=M(z)*O+Z,o=D(z)*R+A;break;case v.R:s=i=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case v.Z:var _=s-i,x=l-o;g=Math.sqrt(_*_+x*x),i=s,o=l}g>=0&&(u[h++]=g,c+=g)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,e){var n,r,i,o,s,l,u,c,h,p,f=this.data,d=this._ux,g=this._uy,y=this._len,m=e<1,b=0,S=0,w=0;if(!m||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,c=e*this._pathLen))e:for(var k=0;k<y;){var Z=f[k++],P=1===k;switch(P&&(i=f[k],o=f[k+1],n=i,r=o),Z!==v.L&&w>0&&(t.lineTo(h,p),w=0),Z){case v.M:n=i=f[k++],r=o=f[k++],t.moveTo(i,o);break;case v.L:s=f[k++],l=f[k++];var A=I(s-i),O=I(l-o);if(A>d||O>g){if(m){var R=u[S++];if(b+R>c){var L=(c-b)/R;t.lineTo(i*(1-L)+s*L,o*(1-L)+l*L);break e}b+=R}t.lineTo(s,l),i=s,o=l,w=0}else{var B=A*A+O*O;B>w&&(h=s,p=l,w=B)}break;case v.C:var z=f[k++],F=f[k++],E=f[k++],N=f[k++],W=f[k++],H=f[k++];if(m){var R=u[S++];if(b+R>c){var L=(c-b)/R;(0,a.Vz)(i,z,E,W,L,_),(0,a.Vz)(o,F,N,H,L,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break e}b+=R}t.bezierCurveTo(z,F,E,N,W,H),i=W,o=H;break;case v.Q:var z=f[k++],F=f[k++],E=f[k++],N=f[k++];if(m){var R=u[S++];if(b+R>c){var L=(c-b)/R;(0,a.Lx)(i,z,E,L,_),(0,a.Lx)(o,F,N,L,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break e}b+=R}t.quadraticCurveTo(z,F,E,N),i=E,o=N;break;case v.A:var j=f[k++],$=f[k++],V=f[k++],U=f[k++],q=f[k++],G=f[k++],X=f[k++],K=!f[k++],Y=V>U?V:U,J=I(V-U)>.001,Q=q+G,tt=!1;if(m){var R=u[S++];b+R>c&&(Q=q+G*(c-b)/R,tt=!0),b+=R}if(J&&t.ellipse?t.ellipse(j,$,V,U,X,q,Q,K):t.arc(j,$,Y,q,Q,K),tt)break e;P&&(n=M(q)*V+j,r=D(q)*U+$),i=M(Q)*V+j,o=D(Q)*U+$;break;case v.R:n=i=f[k],r=o=f[k+1],s=f[k++],l=f[k++];var te=f[k++],tn=f[k++];if(m){var R=u[S++];if(b+R>c){var tr=c-b;t.moveTo(s,l),t.lineTo(s+T(tr,te),l),(tr-=te)>0&&t.lineTo(s+te,l+T(tr,tn)),(tr-=tn)>0&&t.lineTo(s+C(te-tr,0),l+tn),(tr-=te)>0&&t.lineTo(s,l+C(tn-tr,0));break e}b+=R}t.rect(s,l,te,tn);break;case v.Z:if(m){var R=u[S++];if(b+R>c){var L=(c-b)/R;t.lineTo(i*(1-L)+n*L,o*(1-L)+r*L);break e}b+=R}t.closePath(),i=n,o=r}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=v,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},1145:function(t,e,n){n.d(e,{Z:()=>r});let r=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}()},4066:function(t,e,n){n.d(e,{ZP:()=>f,dN:()=>p});var r=n(9634),i=n(7605),o=r.yR;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=r.Ue(),c=Math.abs,h=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||r.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?r.dC(n,t,n):r.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,i=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-i)*e+i)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||r.Ue(),r.U_(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||r.Ue(),r.dC(l,t.invTransform,e),e=l);var n=this.originX,i=this.originY;(n||i)&&(u[4]=n,u[5]=i,r.dC(l,e,u),l[4]-=n,l[5]-=i,e=l),this.setLocalTransform(e)}},e.prototype.getGlobalScale=function(t){var e=this.transform;return(t=t||[],e)?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1])):(t[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i.Ne(n,n,r),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i.Ne(n,n,r),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&c(t[0]-1)>1e-10&&c(t[3]-1)>1e-10?Math.sqrt(c(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){(function(t,e){for(var n=0;n<p.length;n++){var r=p[n];t[r]=e[r]}})(this,t)},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,h=t.y,p=t.skewX?Math.tan(t.skewX):0,f=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||l){var d=n+s,g=i+l;e[4]=-d*o-p*g*a,e[5]=-g*a-f*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=f*o,e[2]=p*a,u&&r.U1(e,e,u),e[4]+=n+c,e[5]+=i+h,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let f=h},9101:function(t,e,n){n.d(e,{AZ:()=>b,Ci:()=>_,Jz:()=>S,Lx:()=>k,QC:()=>w,Vz:()=>m,Wr:()=>T,X_:()=>d,Zm:()=>x,af:()=>f,kD:()=>g,pP:()=>y,t1:()=>v,wQ:()=>C});var r=n(7605),i=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,r.Ue)(),u=(0,r.Ue)(),c=(0,r.Ue)();function h(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function f(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function d(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)}function g(t,e,n,r,l,u){var c=r+3*(e-n)-t,p=3*(n-2*e+t),f=3*(e-t),d=t-l,g=p*p-3*c*f,y=p*f-9*c*d,m=f*f-3*p*d,v=0;if(h(g)&&h(y)){if(h(p))u[0]=0;else{var _=-f/p;_>=0&&_<=1&&(u[v++]=_)}}else{var x=y*y-4*g*m;if(h(x)){var b=y/g,_=-p/c+b,S=-b/2;_>=0&&_<=1&&(u[v++]=_),S>=0&&S<=1&&(u[v++]=S)}else if(x>0){var w=o(x),k=g*p+1.5*c*(-y+w),T=g*p+1.5*c*(-y-w),_=(-p-((k=k<0?-i(-k,s):i(k,s))+(T=T<0?-i(-T,s):i(T,s))))/(3*c);_>=0&&_<=1&&(u[v++]=_)}else{var C=Math.acos((2*g*p-3*c*y)/(2*o(g*g*g)))/3,M=o(g),D=Math.cos(C),_=(-p-2*M*D)/(3*c),S=(-p+M*(D+a*Math.sin(C)))/(3*c),I=(-p+M*(D-a*Math.sin(C)))/(3*c);_>=0&&_<=1&&(u[v++]=_),S>=0&&S<=1&&(u[v++]=S),I>=0&&I<=1&&(u[v++]=I)}}return v}function y(t,e,n,r,i){var a=6*n-12*e+6*t,s=9*e+3*r-3*t-9*n,l=3*e-3*t,u=0;if(h(s)){if(p(a)){var c=-l/a;c>=0&&c<=1&&(i[u++]=c)}}else{var f=a*a-4*s*l;if(h(f))i[0]=-a/(2*s);else if(f>0){var d=o(f),c=(-a+d)/(2*s),g=(-a-d)/(2*s);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u}function m(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,u=(s-a)*i+a,c=(l-s)*i+s,h=(c-u)*i+u;o[0]=t,o[1]=a,o[2]=u,o[3]=h,o[4]=h,o[5]=c,o[6]=l,o[7]=r}function v(t,e,n,i,a,s,h,p,d,g,y){var m,v,_,x,b,S=.005,w=1/0;l[0]=d,l[1]=g;for(var k=0;k<1;k+=.05)u[0]=f(t,n,a,h,k),u[1]=f(e,i,s,p,k),(x=(0,r.WU)(l,u))<w&&(m=k,w=x);w=1/0;for(var T=0;T<32&&!(S<1e-4);T++)v=m-S,_=m+S,u[0]=f(t,n,a,h,v),u[1]=f(e,i,s,p,v),x=(0,r.WU)(u,l),v>=0&&x<w?(m=v,w=x):(c[0]=f(t,n,a,h,_),c[1]=f(e,i,s,p,_),b=(0,r.WU)(c,l),_<=1&&b<w?(m=_,w=b):S*=.5);return y&&(y[0]=f(t,n,a,h,m),y[1]=f(e,i,s,p,m)),o(w)}function _(t,e,n,r,i,o,a,s,l){for(var u=t,c=e,h=0,p=1/l,d=1;d<=l;d++){var g=d*p,y=f(t,n,i,a,g),m=f(e,r,o,s,g),v=y-u,_=m-c;h+=Math.sqrt(v*v+_*_),u=y,c=m}return h}function x(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function b(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function S(t,e,n,r,i){var a=t-2*e+n,s=2*(e-t),l=t-r,u=0;if(h(a)){if(p(s)){var c=-l/s;c>=0&&c<=1&&(i[u++]=c)}}else{var f=s*s-4*a*l;if(h(f)){var c=-s/(2*a);c>=0&&c<=1&&(i[u++]=c)}else if(f>0){var d=o(f),c=(-s+d)/(2*a),g=(-s-d)/(2*a);c>=0&&c<=1&&(i[u++]=c),g>=0&&g<=1&&(i[u++]=g)}}return u}function w(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function k(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n}function T(t,e,n,i,a,s,h,p,f){var d,g=.005,y=1/0;l[0]=h,l[1]=p;for(var m=0;m<1;m+=.05){u[0]=x(t,n,a,m),u[1]=x(e,i,s,m);var v=(0,r.WU)(l,u);v<y&&(d=m,y=v)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var b=d-g,S=d+g;u[0]=x(t,n,a,b),u[1]=x(e,i,s,b);var v=(0,r.WU)(u,l);if(b>=0&&v<y)d=b,y=v;else{c[0]=x(t,n,a,S),c[1]=x(e,i,s,S);var w=(0,r.WU)(c,l);S<=1&&w<y?(d=S,y=w):g*=.5}}return f&&(f[0]=x(t,n,a,d),f[1]=x(e,i,s,d)),o(y)}function C(t,e,n,r,i,o,a){for(var s=t,l=e,u=0,c=1/a,h=1;h<=a;h++){var p=h*c,f=x(t,n,i,p),d=x(e,r,o,p),g=f-s,y=d-l;u+=Math.sqrt(g*g+y*y),s=f,l=d}return u}},9708:function(t,e,n){n.d(e,{A4:()=>c,F1:()=>d,UK:()=>h,YB:()=>u});var r=n(4647),i=Math.log(2);function o(t,e,n,r,a,s){var l=r+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<<u)-1&~a)/i);return t[n][c]}for(var h=r|1<<n,p=n+1;r&1<<p;)p++;for(var f=0,d=0,g=0;d<u;d++){var y=1<<d;!(y&a)&&(f+=(g%2?-1:1)*t[n][d]*o(t,e-1,p,h,a|y,s),g++)}return s[l]=f,f}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},i=o(n,8,0,0,0,r);if(0!==i){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,r)/i*e[s];return function(t,e,n){var r=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/r,t[1]=(e*a[3]+n*a[4]+a[5])/r}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,r,i){return c(l,e,r,i,!0)&&c(t,n,l[0],l[1])}function c(t,e,n,i,o){if(e.getBoundingClientRect&&r.Z.domSupported&&!h(e)){var l=e[s]||(e[s]={}),u=function(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],o=e.srcCoords,s=[],l=[],u=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),p=2*c,f=h.left,d=h.top;s.push(f,d),u=u&&o&&f===o[p]&&d===o[p+1],l.push(t[c].offsetLeft,t[c].offsetTop)}return u&&i?i:(e.srcCoords=s,e[r]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],i=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[l]+":0",i[u]+":0",r[1-l]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,o);if(u)return u(t,n,i),!0}return!1}function h(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function d(t){return null==t?"":(t+"").replace(p,function(t,e){return f[e]})}},4647:function(t,e,n){n.d(e,{Z:()=>f});var r,i,o,a,s,l,u,c,h=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},p=new function(){this.browser=new h,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(p.wxa=!0,p.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?p.worker=!0:"undefined"==typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(p.node=!0,p.svgSupported=!0):(r=navigator.userAgent,o=(i=p).browser,a=r.match(/Firefox\/([\d.]+)/),s=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),l=r.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(r),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),i.svgSupported="undefined"!=typeof SVGRect,i.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,i.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),i.domSupported="undefined"!=typeof document,c=document.documentElement.style,i.transform3dSupported=(o.ie&&"transition"in c||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in c)&&!("OTransition"in c),i.transformSupported=i.transform3dSupported||o.ie&&+o.version>=9);let f=p},9474:function(t,e,n){n.d(e,{OD:()=>h,Oo:()=>p,eV:()=>l,iP:()=>c,sT:()=>d,x1:()=>g,xg:()=>f});var r=n(4647),i=n(9708),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=r.Z.browser.firefox&&39>+r.Z.browser.version.split(".")[0];function l(t,e,n,r){return n=n||{},r?u(t,e,n):s&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):u(t,e,n),n}function u(t,e,n){if(r.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,i.UK)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,i.A4)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function c(t){return t||window.event}function h(t,e,n){if(null!=(e=c(e)).zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&l(t,i,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;return null==n||null==r?e:3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,r){t.addEventListener(e,n,r)}function f(t,e,n,r){t.removeEventListener(e,n,r)}var d=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function g(t){return 2===t.which||3===t.which}},9634:function(t,e,n){function r(){return[1,0,0,1,0,0]}function i(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function a(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function s(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function l(t,e,n,r){void 0===r&&(r=[0,0]);var i=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=i*h+s*c,t[1]=-i*c+s*h,t[2]=o*h+l*c,t[3]=-o*c+h*l,t[4]=h*(a-r[0])+c*(u-r[1])+r[0],t[5]=h*(u-r[1])-c*(a-r[0])+r[1],t}function u(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function c(t,e){var n=e[0],r=e[2],i=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*r;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-r*l,t[3]=n*l,t[4]=(r*s-a*i)*l,t[5]=(o*i-n*s)*l,t):null}n.d(e,{Iu:()=>s,JG:()=>o,U1:()=>l,U_:()=>c,Ue:()=>r,bA:()=>u,dC:()=>a,yR:()=>i})},9906:function(t,e,n){n.d(e,{Uo:()=>a,n5:()=>o,qW:()=>l});var r,i,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),i=(t.charCodeAt(n)-20)/100;e[r]=i}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!r){var n=l.createCanvas();r=n&&n.getContext("2d")}if(r)return i!==e&&(i=r.font=e||a),r.measureText(t);t=t||"",e=e||a;var u=/(\d+)px/.exec(e),c=u&&+u[1]||o,h=0;if(e.indexOf("mono")>=0)h=c*t.length;else for(var p=0;p<t.length;p++){var f=s[t[p]];h+=null==f?c:f*c}return{width:h}},loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}}},2298:function(t,e,n){function r(t,e,n,r){var i=e+1;if(i===n)return 1;if(0>r(t[i++],t[e])){for(;i<n&&0>r(t[i],t[i-1]);)i++;!function(t,e,n){for(n--;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}(t,e,i)}else for(;i<n&&r(t[i],t[i-1])>=0;)i++;return i-e}function i(t,e,n,r,i){for(r===e&&r++;r<n;r++){for(var o,a=t[r],s=e,l=r;s<l;)0>i(a,t[o=s+l>>>1])?l=o:s=o+1;var u=r-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=a}}function o(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){for(s=r-i;l<s&&o(t,e[n+i+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;l<s&&0>=o(t,e[n+i-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}for(a++;a<l;){var c=a+(l-a>>>1);o(t,e[n+c])>0?a=c+1:l=c}return l}function a(t,e,n,r,i,o){var a=0,s=0,l=1;if(0>o(t,e[n+i])){for(s=i+1;l<s&&0>o(t,e[n+i-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=i-l,l=i-u}else{for(s=r-i;l<s&&o(t,e[n+i+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a<l;){var c=a+(l-a>>>1);0>o(t,e[n+c])?l=c:a=c+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=r(t,n,s,e),i(t,n,s,n+u,e);return}var c=function(t,e){var n,r,i=7,s=0,l=[];function u(u){var c=n[u],h=r[u],p=n[u+1],f=r[u+1];r[u]=h+f,u===s-3&&(n[u+1]=n[u+2],r[u+1]=r[u+2]),s--;var d=a(t[p],t,c,h,0,e);c+=d,0!=(h-=d)&&0!==(f=o(t[c+h-1],t,p,f,f-1,e))&&(h<=f?function(n,r,s,u){var c,h,p,f=0;for(f=0;f<r;f++)l[f]=t[n+f];var d=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(f=0;f<r;f++)t[y+f]=l[d+f];return}if(1===r){for(f=0;f<u;f++)t[y+f]=t[g+f];t[y+u]=l[d];return}for(var m=i;;){c=0,h=0,p=!1;do if(0>e(t[g],l[d])){if(t[y++]=t[g++],h++,c=0,0==--u){p=!0;break}}else if(t[y++]=l[d++],c++,h=0,1==--r){p=!0;break}while((c|h)<m);if(p)break;do{if(0!==(c=a(t[g],l,d,r,0,e))){for(f=0;f<c;f++)t[y+f]=l[d+f];if(y+=c,d+=c,(r-=c)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(h=o(l[d],t,g,u,0,e))){for(f=0;f<h;f++)t[y+f]=t[g+f];if(y+=h,g+=h,0==(u-=h)){p=!0;break}}if(t[y++]=l[d++],1==--r){p=!0;break}m--}while(c>=7||h>=7);if(p)break;m<0&&(m=0),m+=2}if((i=m)<1&&(i=1),1===r){for(f=0;f<u;f++)t[y+f]=t[g+f];t[y+u]=l[d]}else if(0===r)throw Error();else for(f=0;f<r;f++)t[y+f]=l[d+f]}(c,h,p,f):function(n,r,s,u){var c=0;for(c=0;c<u;c++)l[c]=t[s+c];var h=n+r-1,p=u-1,f=s+u-1,d=0,g=0;if(t[f--]=t[h--],0==--r){for(c=0,d=f-(u-1);c<u;c++)t[d+c]=l[c];return}if(1===u){for(f-=r,h-=r,g=f+1,d=h+1,c=r-1;c>=0;c--)t[g+c]=t[d+c];t[f]=l[p];return}for(var y=i;;){var m=0,v=0,_=!1;do if(0>e(l[p],t[h])){if(t[f--]=t[h--],m++,v=0,0==--r){_=!0;break}}else if(t[f--]=l[p--],v++,m=0,1==--u){_=!0;break}while((m|v)<y);if(_)break;do{if(0!=(m=r-a(l[p],t,n,r,r-1,e))){for(f-=m,h-=m,r-=m,g=f+1,d=h+1,c=m-1;c>=0;c--)t[g+c]=t[d+c];if(0===r){_=!0;break}}if(t[f--]=l[p--],1==--u){_=!0;break}if(0!=(v=u-o(t[h],l,0,u,u-1,e))){for(f-=v,p-=v,u-=v,g=f+1,d=p+1,c=0;c<v;c++)t[g+c]=l[d+c];if(u<=1){_=!0;break}}if(t[f--]=t[h--],0==--r){_=!0;break}y--}while(m>=7||v>=7);if(_)break;y<0&&(y=0),y+=2}if((i=y)<1&&(i=1),1===u){for(f-=r,h-=r,g=f+1,d=h+1,c=r-1;c>=0;c--)t[g+c]=t[d+c];t[f]=l[p]}else if(0===u)throw Error();else for(c=0,d=f-(u-1);c<u;c++)t[d+c]=l[c]}(c,h,p,f))}return n=[],r=[],{mergeRuns:function(){for(;s>1;){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]<r[t+1]&&t--;else if(r[t]>r[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&r[t-1]<r[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,r[s]=e,s+=1}}}(t,e),h=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=r(t,n,s,e))<h){var p=l;p>h&&(p=h),i(t,n,n+p,n+u,e),u=p}c.pushRun(n,u),c.mergeRuns(),l-=u,n+=u}while(0!==l);c.forceMergeRuns()}}n.d(e,{Z:()=>s})},7975:function(t,e,n){n.d(e,{$j:()=>ts,Bu:()=>V,H:()=>m,HD:()=>B,I3:()=>tc,Jn:()=>x,Jv:()=>U,Kn:()=>E,M8:()=>y,MY:()=>K,Mh:()=>H,Qq:()=>j,R1:()=>G,RI:()=>tl,S6:()=>M,TS:()=>_,UI:()=>D,WA:()=>O,WW:()=>to,XP:()=>P,XW:()=>k,ZT:()=>tu,ak:()=>A,cd:()=>z,ce:()=>S,cq:()=>w,d9:()=>v,dL:()=>$,fU:()=>W,fy:()=>J,hX:()=>Z,hj:()=>F,hu:()=>Y,jB:()=>T,kJ:()=>R,kW:()=>ti,l7:()=>b,mf:()=>L,nW:()=>ta,pD:()=>q,s7:()=>tt,tP:()=>X,u4:()=>I,zG:()=>C});var r=n(9906),i=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,c=s.slice,h=s.map,p=(function(){}).constructor,f=p?p.prototype:null,d="__proto__",g=2311;function y(){return g++}function m(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function v(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[Q]){e=[];for(var r=0,s=t.length;r<s;r++)e[r]=v(t[r])}}else if(o[n]){if(!t[Q]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var r=0,s=t.length;r<s;r++)e[r]=t[r]}}}else{if(!i[n]&&!t[Q]&&!H(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==d&&(e[u]=v(t[u]))}return e}function _(t,e,n){if(!E(e)||!E(t))return n?v(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==d){var i=t[r],o=e[r];!(E(o)&&E(i))||R(o)||R(i)||H(o)||H(i)||N(o)||N(i)||o[Q]||i[Q]?!n&&r in t||(t[r]=v(e[r])):_(i,o,n)}return t}function x(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=_(n,t[r],e);return n}function b(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==d&&(t[n]=e[n]);return t}function S(t,e,n){for(var r=P(e),i=0;i<r.length;i++){var o=r[i];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}function w(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return -1}function k(t,e){var n=t.prototype;function r(){}for(var i in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}function T(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var o=r[i];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else S(t,e,n)}function C(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function M(t,e,n){if(t&&e){if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}}function D(t,e,n){if(!t)return[];if(!e)return X(t);if(t.map&&t.map===h)return t.map(e,n);for(var r=[],i=0,o=t.length;i<o;i++)r.push(e.call(n,t[i],i,t));return r}function I(t,e,n,r){if(t&&e){for(var i=0,o=t.length;i<o;i++)n=e.call(r,n,t[i],i,t);return n}}function Z(t,e,n){if(!t)return[];if(!e)return X(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var r=[],i=0,o=t.length;i<o;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}function P(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}r.qW.createCanvas;var A=f&&L(f.bind)?f.call.bind(f.bind):function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(c.call(arguments)))}};function O(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function R(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function L(t){return"function"==typeof t}function B(t){return"string"==typeof t}function z(t){return"[object String]"===a.call(t)}function F(t){return"number"==typeof t}function E(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function N(t){return!!i[a.call(t)]}function W(t){return!!o[a.call(t)]}function H(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function j(t){return null!=t.colorStops}function $(t){return null!=t.image}function V(t){return t!=t}function U(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(null!=t[n])return t[n]}function q(t,e){return null!=t?t:e}function G(t,e,n){return null!=t?t:null!=e?e:n}function X(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}function K(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function Y(t,e){if(!t)throw Error(e)}function J(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Q="__ec_primitive__";function tt(t){t[Q]=!0}var te=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return P(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),tn="function"==typeof Map,tr=function(){function t(e){var n=R(e);this.data=tn?new Map:new te;var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&M(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,r){t.call(e,n,r)})},t.prototype.keys=function(){var t=this.data.keys();return tn?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ti(t){return new tr(t)}function to(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];for(var i=t.length,r=0;r<e.length;r++)n[r+i]=e[r];return n}function ta(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&b(n,e),n}function ts(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tl(t,e){return t.hasOwnProperty(e)}function tu(){}var tc=180/Math.PI},7605:function(t,e,n){function r(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function i(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function l(t,e){var n,r=Math.sqrt((n=e)[0]*n[0]+n[1]*n[1]);return 0===r?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function u(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}n.d(e,{Fp:()=>g,Fv:()=>l,IH:()=>o,Ne:()=>f,TE:()=>u,TK:()=>c,Ue:()=>r,VV:()=>d,WU:()=>h,bA:()=>s,d9:()=>i,lu:()=>a,t7:()=>p});var c=u,h=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function p(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function f(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function g(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},3670:function(t,e,n){n.d(e,{ZP:()=>y,ik:()=>c,tj:()=>u});var r=n(9362),i=n(5062),o=n(9495),a=n(7975),s=n(2168),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var h=["z","z2","invisible"],p=["invisible"],f=function(t){var e;function n(e){return t.call(this,e)||this}return(0,r.ZT)(n,t),n.prototype._init=function(e){for(var n=(0,a.XP)(e),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,r){var i,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(i=this,o=t,a=e,d.copy(i.getBoundingRect()),i.transform&&d.applyTransform(i.transform),g.width=o,g.height=a,!d.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(r&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,a=r.shadowOffsetX||0,s=r.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(i||a||s)&&(t.width+=2*i+Math.abs(a),t.height+=2*i+Math.abs(s),t.x=Math.min(t.x,t.x+a-i),t.y=Math.min(t.y,t.y+s-i));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},n.prototype.styleUpdated=function(){this.__dirty&=~s.SE},n.prototype.createStyle=function(t){return(0,a.nW)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,h)},n.prototype._applyStateObj=function(e,n,r,i,o,s){t.prototype._applyStateObj.call(this,e,n,r,i,o,s);var l,u=!(n&&i);if(n&&n.style?o?i?l=n.style:(l=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(l,n.style)):u&&(l=r.style),l){if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var f=(0,a.XP)(c),d=0;d<f.length;d++){var g=f[d];g in l&&(l[g]=l[g],this.style[g]=c[g])}for(var y=(0,a.XP)(l),d=0;d<y.length;d++){var g=y[d];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l)}for(var m=this.__inHover?p:h,d=0;d<m.length;d++){var g=m[d];n&&null!=n[g]?this[g]=n[g]:u&&null!=r[g]&&(this[g]=r[g])}},n.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(r.style=n),r},n.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},n.prototype.getAnimationStyleProps=function(){return c},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.YV|s.SE),n}(i.Z),d=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);let y=f},4196:function(t,e,n){n.d(e,{Z:()=>r});let r=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},7293:function(t,e,n){n.d(e,{Z:()=>l});var r=n(9362),i=n(7975),o=n(5062),a=n(9495),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,r.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=i.cq(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,r=i.cq(n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var r=t[n];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];t.call(e,i,r)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=t.call(e,r);r.isGroup&&!i&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,r=[],i=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(r);u?(a.Z.applyTransform(e,l,u),(i=i||e.clone()).union(e)):(i=i||l.clone()).union(l)}}return i||e},e}(o.Z);s.prototype.type="group";let l=s},3287:function(t,e,n){n.d(e,{ZP:()=>c});var r=n(9362),i=n(3670),o=n(9495),a=n(7975),s=(0,a.ce)({x:0,y:0},i.tj),l={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},i.ik.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,r=n[t];if(null!=r)return r;var i=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!i)return 0;var o="width"===t?"height":"width",a=n[o];return null==a?i[t]:i[t]/i[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(i.ZP);u.prototype.type="image";let c=u},4235:function(t,e,n){n.d(e,{Z:()=>i});var r=n(9362);let i=function(t){function e(e,n,r,i,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=a||!1,s}return(0,r.ZT)(e,t),e}(n(4196).Z)},8588:function(t,e,n){n.d(e,{$t:()=>S,ZP:()=>T});var r=n(9362),i=n(3670),o=n(3564);function a(t,e,n,r,i,o,a){if(0===i)return!1;var s=0,l=t;if(a>e+i&&a>r+i||a<e-i&&a<r-i||o>t+i&&o>n+i||o<t-i&&o<n-i)return!1;if(t===n)return Math.abs(o-t)<=i/2;s=(e-r)/(t-n);var u=s*o-a+(l=(t*r-n*e)/(t-n));return u*u/(s*s+1)<=i/2*i/2}var s=n(9101),l=2*Math.PI;function u(t){return(t%=l)<0&&(t+=l),t}var c=2*Math.PI;function h(t,e,n,r,i,o){if(o>e&&o>r||o<e&&o<r||r===e)return 0;var a=(o-e)/(r-e),s=r<e?1:-1;(1===a||0===a)&&(s=r<e?.5:-.5);var l=a*(n-t)+t;return l===i?1/0:l>i?s:0}var p=o.Z.CMD,f=2*Math.PI,d=[-1,-1,-1],g=[-1,-1];function y(t,e,n,r,i){for(var o,l,y=t.data,m=t.len(),v=0,_=0,x=0,b=0,S=0,w=0;w<m;){var k,T,C,M,D,I,Z,P,A,O,R,L,B,z,F=y[w++],E=1===w;switch(F===p.M&&w>1&&!n&&(v+=h(_,x,b,S,r,i)),E&&(_=y[w],x=y[w+1],b=_,S=x),F){case p.M:b=y[w++],S=y[w++],_=b,x=S;break;case p.L:if(n){if(a(_,x,y[w],y[w+1],e,r,i))return!0}else v+=h(_,x,y[w],y[w+1],r,i)||0;_=y[w++],x=y[w++];break;case p.C:if(n){if(k=_,T=x,C=y[w++],M=y[w++],D=y[w++],I=y[w++],Z=y[w],P=y[w+1],0!==e&&(!(i>T+e)||!(i>M+e)||!(i>I+e)||!(i>P+e))&&(!(i<T-e)||!(i<M-e)||!(i<I-e)||!(i<P-e))&&(!(r>k+e)||!(r>C+e)||!(r>D+e)||!(r>Z+e))&&(!(r<k-e)||!(r<C-e)||!(r<D-e)||!(r<Z-e))&&s.t1(k,T,C,M,D,I,Z,P,r,i,null)<=e/2)return!0}else v+=function(t,e,n,r,i,o,a,l,u,c){if(c>e&&c>r&&c>o&&c>l||c<e&&c<r&&c<o&&c<l)return 0;var h=s.kD(e,r,o,l,c,d);if(0===h)return 0;for(var p=0,f=-1,y=void 0,m=void 0,v=0;v<h;v++){var _=d[v],x=0===_||1===_?.5:1;!(s.af(t,n,i,a,_)<u)&&(f<0&&(f=s.pP(e,r,o,l,g),g[1]<g[0]&&f>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=s.af(e,r,o,l,g[0]),f>1&&(m=s.af(e,r,o,l,g[1]))),2===f?_<g[0]?p+=y<e?x:-x:_<g[1]?p+=m<y?x:-x:p+=l<m?x:-x:_<g[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(_,x,y[w++],y[w++],y[w++],y[w++],y[w],y[w+1],r,i)||0;_=y[w++],x=y[w++];break;case p.Q:if(n){if(A=_,O=x,R=y[w++],L=y[w++],B=y[w],z=y[w+1],0!==e&&(!(i>O+e)||!(i>L+e)||!(i>z+e))&&(!(i<O-e)||!(i<L-e)||!(i<z-e))&&(!(r>A+e)||!(r>R+e)||!(r>B+e))&&(!(r<A-e)||!(r<R-e)||!(r<B-e))&&(0,s.Wr)(A,O,R,L,B,z,r,i,null)<=e/2)return!0}else v+=function(t,e,n,r,i,o,a,l){if(l>e&&l>r&&l>o||l<e&&l<r&&l<o)return 0;var u=s.Jz(e,r,o,l,d);if(0===u)return 0;var c=s.QC(e,r,o);if(c>=0&&c<=1){for(var h=0,p=s.Zm(e,r,o,c),f=0;f<u;f++){var g=0===d[f]||1===d[f]?.5:1,y=s.Zm(t,n,i,d[f]);!(y<a)&&(d[f]<c?h+=p<e?g:-g:h+=o<p?g:-g)}return h}var g=0===d[0]||1===d[0]?.5:1,y=s.Zm(t,n,i,d[0]);return y<a?0:o<e?g:-g}(_,x,y[w++],y[w++],y[w],y[w+1],r,i)||0;_=y[w++],x=y[w++];break;case p.A:var N=y[w++],W=y[w++],H=y[w++],j=y[w++],$=y[w++],V=y[w++];w+=1;var U=!!(1-y[w++]);o=Math.cos($)*H+N,l=Math.sin($)*j+W,E?(b=o,S=l):v+=h(_,x,o,l,r,i);var q=(r-N)*j/H+N;if(n){if(function(t,e,n,r,i,o,a,s,l){if(0===a)return!1;var h=Math.sqrt((s-=t)*s+(l-=e)*l);if(h-a>n||h+a<n)return!1;if(Math.abs(r-i)%c<1e-4)return!0;if(o){var p=r;r=u(i),i=u(p)}else r=u(r),i=u(i);r>i&&(i+=c);var f=Math.atan2(l,s);return f<0&&(f+=c),f>=r&&f<=i||f+c>=r&&f+c<=i}(N,W,j,$,$+V,U,e,q,i))return!0}else v+=function(t,e,n,r,i,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);d[0]=-l,d[1]=l;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u>=f-1e-4){r=0,i=f;var c=o?1:-1;return a>=d[0]+t&&a<=d[1]+t?c:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=f,i+=f);for(var p=0,g=0;g<2;g++){var y=d[g];if(y+t>a){var m=Math.atan2(s,y),c=o?1:-1;m<0&&(m=f+m),(m>=r&&m<=i||m+f>=r&&m+f<=i)&&(m>Math.PI/2&&m<1.5*Math.PI&&(c=-c),p+=c)}}return p}(N,W,j,$,$+V,U,q,i);_=Math.cos($+V)*H+N,x=Math.sin($+V)*j+W;break;case p.R:b=_=y[w++],S=x=y[w++];var G=y[w++],X=y[w++];if(o=b+G,l=S+X,n){if(a(b,S,o,S,e,r,i)||a(o,S,o,l,e,r,i)||a(o,l,b,l,e,r,i)||a(b,l,b,S,e,r,i))return!0}else v+=h(o,S,o,l,r,i),v+=h(b,l,b,S,r,i);break;case p.Z:if(n){if(a(_,x,b,S,e,r,i))return!0}else v+=h(_,x,b,S,r,i);_=b,x=S}}return!n&&!(1e-4>Math.abs(x-S))&&(v+=h(_,x,b,S,r,i)||0),0!==v}var m=n(7975),v=n(4411),_=n(9417),x=n(2168),b=n(4066),S=(0,m.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},i.tj),w={style:(0,m.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},i.ik.style)},k=b.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,r.ZT)(n,t),n.prototype.update=function(){var e=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new n;i.buildPath===n.prototype.buildPath&&(i.buildPath=function(t){e.buildPath(t,e.shape)}),i.silent=!0;var o=i.style;for(var a in r)o[a]!==r[a]&&(o[a]=r[a]);o.fill=r.fill?r.decal:null,o.decal=null,o.shadowColor=null,r.strokeFirst&&(o.stroke=null);for(var s=0;s<k.length;++s)i[k[s]]=this[k[s]];i.__dirty|=x.YV}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,m.XP)(e);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var o=n[i],a=e[o];"style"===o?this.style?(0,m.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,m.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,m.HD)(t)){var e=(0,v.L0)(t,0);return e>.5?_.vU:e>.2?_.iv:_.GD}if(t)return _.GD}return _.vU},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,m.HD)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,v.L0)(t,0)<_.Ak)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~x.RH},n.prototype.getUpdatedPathProxy=function(t){return this.path||this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},n.prototype.createPathProxy=function(){this.path=new o.Z(!1)},n.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},n.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},n.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||this.__dirty&x.RH)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},n.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=x.RH,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},n.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},n.prototype.animateShape=function(t){return this.animate("shape",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},n.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},n.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:(0,m.l7)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&x.RH)},n.prototype.createStyle=function(t){return(0,m.nW)(S,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,m.l7)({},this.shape))},n.prototype._applyStateObj=function(e,n,r,i,o,a){t.prototype._applyStateObj.call(this,e,n,r,i,o,a);var s,l=!(n&&i);if(n&&n.shape?o?i?s=n.shape:(s=(0,m.l7)({},r.shape),(0,m.l7)(s,n.shape)):(s=(0,m.l7)({},i?this.shape:r.shape),(0,m.l7)(s,n.shape)):l&&(s=r.shape),s){if(o){this.shape=(0,m.l7)({},this.shape);for(var u={},c=(0,m.XP)(s),h=0;h<c.length;h++){var p=c[h];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()}},n.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var o=e[i];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(r.shape=n),r},n.prototype.getAnimationStyleProps=function(){return w},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var r=e.call(this,n)||this;return t.init&&t.init.call(r,n),r}return(0,r.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,m.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,m.d9)(t.shape)},n}(n);for(var i in t)"function"==typeof t[i]&&(e.prototype[i]=t[i]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=x.YV|x.SE|x.RH),n}(i.ZP)},7755:function(t,e,n){n.d(e,{Z:()=>h});var r=n(9362),i=n(3670),o=n(2666),a=n(8588),s=n(7975),l=n(9906),u=(0,s.ce)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.nW)(u,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.lP)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(i.ZP);c.prototype.type="tspan";let h=c},4639:function(t,e,n){n.d(e,{ZP:()=>L});var r=n(9362),i=n(1109),o=n(7975),a=n(2666),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,r){r=r||{};var i=(0,o.l7)({},r);i.font=e,n=(0,o.pD)(n,"..."),i.maxIterations=(0,o.pD)(r.maxIterations,2);var s=i.minChar=(0,o.pD)(r.minChar,0);i.cnCharWidth=(0,a.dz)("国",e);var l=i.ascCharWidth=(0,a.dz)("a",e);i.placeholder=(0,o.pD)(r.placeholder,"");for(var u=t=Math.max(0,t-1),c=0;c<s&&u>=l;c++)u-=l;var h=(0,a.dz)(n,e);return h>u&&(n="",h=0),u=t-h,i.ellipsis=n,i.ellipsisWidth=h,i.contentWidth=u,i.containerWidth=t,i}function u(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var o=(0,a.dz)(t,r);if(o<=n)return t;for(var s=0;;s++){if(o<=i||s>=e.maxIterations){t+=e.ellipsis;break}var l=0===s?function(t,e,n,r){for(var i=0,o=0,a=t.length;o<a&&i<e;o++){var s=t.charCodeAt(o);i+=0<=s&&s<=127?n:r}return o}(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,l),o=(0,a.dz)(t,r)}return""===t&&(t=e.placeholder),t}var c=function(){},h=function(t){this.tokens=[],t&&(this.tokens=t)},p=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function f(t,e,n,r,i){var o,s,l=""===e,u=i&&n.rich[i]||{},p=t.lines,f=u.font||n.font,d=!1;if(r){var y=u.padding,m=y?y[1]+y[3]:0;if(null!=u.width&&"auto"!==u.width){var v=(0,a.GM)(u.width,r.width)+m;p.length>0&&v+r.accumWidth>r.width&&(o=e.split("\n"),d=!0),r.accumWidth=v}else{var _=g(e,f,r.width,r.breakAll,r.accumWidth);r.accumWidth=_.accumWidth+m,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var x=0;x<o.length;x++){var b=o[x],S=new c;if(S.styleName=i,S.text=b,S.isLineHolder=!b&&!l,"number"==typeof u.width?S.width=u.width:S.width=s?s[x]:(0,a.dz)(b,f),x||d)p.push(new h([S]));else{var w=(p[p.length-1]||(p[0]=new h)).tokens,k=w.length;1===k&&w[0].isLineHolder?w[0]=S:(b||!k||l)&&w.push(S)}}}var d=(0,o.u4)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function g(t,e,n,r,i){for(var o=[],s=[],l="",u="",c=0,h=0,p=0;p<t.length;p++){var f=t.charAt(p);if("\n"===f){u&&(l+=u,h+=c),o.push(l),s.push(h),l="",u="",c=0,h=0;continue}var g=(0,a.dz)(f,e),y=!r&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!d[t]}(f);if(o.length?h+g>n:i+h+g>n){h?(l||u)&&(y?(l||(l=u,u="",h=c=0),o.push(l),s.push(h-c),u+=f,c+=g,l="",h=c):(u&&(l+=u,u="",c=0),o.push(l),s.push(h),l=f,h=g)):y?(o.push(u),s.push(c),u=f,c=g):(o.push(f),s.push(g));continue}h+=g,y?(u+=f,c+=g):(u&&(l+=u,u="",c=0),l+=f)}return o.length||l||(l=t,u="",c=0),u&&(l+=u),l&&(o.push(l),s.push(h)),1===o.length&&(h+=i),{accumWidth:h,lines:o,linesWidths:s}}var y=n(7755),m=n(3287),v=n(1969),_=n(9495),x=n(3670),b=n(9906),S={fill:"#000"},w={style:(0,o.ce)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},x.ik.style)},k=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=S,n.attr(e),n}return(0,r.ZT)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,I(t=this.style),(0,o.S6)(t.rich,I),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new _.Z(0,0,0,0),e=this._children,n=[],r=null,i=0;i<e.length;i++){var o=e[i],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(r=r||t.clone()).union(t)):(r=r||a.clone()).union(a)}this._rect=r||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||S},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,r=t.rich||n&&{};return(0,o.l7)(t,e),n&&r?(this._mergeRich(r,n),t.rich=r):r&&(t.rich=r),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),r=0;r<n.length;r++){var i=n[r];t[i]=t[i]||{},(0,o.l7)(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return w},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||b.Uo,n=t.padding,r=function(t,e){null!=t&&(t+="");var n,r=e.overflow,i=e.padding,s=e.font,c=(0,a.Dp)(s),h=(0,o.pD)(e.lineHeight,c),p=!!e.backgroundColor,f="truncate"===e.lineOverflow,d=e.width,y=(n=null!=d&&("break"===r||"breakAll"===r)?t?g(t,e.font,d,"breakAll"===r,0).lines:[]:t?t.split("\n"):[]).length*h,m=(0,o.pD)(e.height,y);if(y>m&&f){var v=Math.floor(m/h);n=n.slice(0,v)}if(t&&"truncate"===r&&null!=d)for(var _=l(d,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),x=0;x<n.length;x++)n[x]=u(n[x],_);for(var b=m,S=0,x=0;x<n.length;x++)S=Math.max((0,a.dz)(n[x],s),S);null==d&&(d=S);var w=S;return i&&(b+=i[0]+i[2],w+=i[1]+i[3],d+=i[1]+i[3]),p&&(w=d),{lines:n,height:m,outerWidth:w,outerHeight:b,lineHeight:h,calculatedLineHeight:c,contentWidth:S,contentHeight:y,width:d}}(O(t),t),i=R(t),s=!!t.backgroundColor,c=r.outerHeight,h=r.outerWidth,p=r.contentWidth,f=r.lines,d=r.lineHeight,m=this._defaultStyle,v=t.x||0,x=t.y||0,S=t.align||m.align||"left",w=t.verticalAlign||m.verticalAlign||"top",k=v,T=(0,a.mU)(x,r.contentHeight,w);if(i||n){var C=(0,a.M3)(v,h,S),M=(0,a.mU)(x,c,w);i&&this._renderBackground(t,t,C,M,h,c)}T+=d/2,n&&(k=A(v,S,n),"top"===w?T+=n[0]:"bottom"===w&&(T-=n[2]));for(var I=0,L=!1,B=P("fill"in t?t.fill:(L=!0,m.fill)),z=Z("stroke"in t?t.stroke:s||m.autoStroke&&!L?null:(I=2,m.stroke)),F=t.textShadowBlur>0,E=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),N=r.calculatedLineHeight,W=0;W<f.length;W++){var H=this._getOrCreateChild(y.Z),j=H.createStyle();H.useStyle(j),j.text=f[W],j.x=k,j.y=T,S&&(j.textAlign=S),j.textBaseline="middle",j.opacity=t.opacity,j.strokeFirst=!0,F&&(j.shadowBlur=t.textShadowBlur||0,j.shadowColor=t.textShadowColor||"transparent",j.shadowOffsetX=t.textShadowOffsetX||0,j.shadowOffsetY=t.textShadowOffsetY||0),j.stroke=z,j.fill=B,z&&(j.lineWidth=t.lineWidth||I,j.lineDash=t.lineDash,j.lineDashOffset=t.lineDashOffset||0),j.font=e,D(j,t),T+=d,E&&H.setBoundingRect(new _.Z((0,a.M3)(j.x,t.width,j.textAlign),(0,a.mU)(j.y,N,j.textBaseline),p,N))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n,r=new p;if(null!=t&&(t+=""),!t)return r;for(var c=e.width,h=e.height,d=e.overflow,g=("break"===d||"breakAll"===d)&&null!=c?{width:c,accumWidth:0,breakAll:"breakAll"===d}:null,y=s.lastIndex=0;null!=(n=s.exec(t));){var m=n.index;m>y&&f(r,t.substring(y,m),e,g),f(r,n[2],e,g,n[1]),y=s.lastIndex}y<t.length&&f(r,t.substring(y,t.length),e,g);var v=[],_=0,x=0,b=e.padding,S="truncate"===d,w="truncate"===e.lineOverflow;function k(t,e,n){t.width=e,t.lineHeight=n,_+=n,x=Math.max(x,e)}n:for(var T=0;T<r.lines.length;T++){for(var C=r.lines[T],M=0,D=0,I=0;I<C.tokens.length;I++){var Z=C.tokens[I],P=Z.styleName&&e.rich[Z.styleName]||{},A=Z.textPadding=P.padding,O=A?A[1]+A[3]:0,R=Z.font=P.font||e.font;Z.contentHeight=(0,a.Dp)(R);var L=(0,o.pD)(P.height,Z.contentHeight);if(Z.innerHeight=L,A&&(L+=A[0]+A[2]),Z.height=L,Z.lineHeight=(0,o.R1)(P.lineHeight,e.lineHeight,L),Z.align=P&&P.align||e.align,Z.verticalAlign=P&&P.verticalAlign||"middle",w&&null!=h&&_+Z.lineHeight>h){I>0?(C.tokens=C.tokens.slice(0,I),k(C,D,M),r.lines=r.lines.slice(0,T+1)):r.lines=r.lines.slice(0,T);break n}var B=P.width,z=null==B||"auto"===B;if("string"==typeof B&&"%"===B.charAt(B.length-1))Z.percentWidth=B,v.push(Z),Z.contentWidth=(0,a.dz)(Z.text,R);else{if(z){var F=P.backgroundColor,E=F&&F.image;E&&(E=i.ko(E),i.v5(E)&&(Z.width=Math.max(Z.width,E.width*L/E.height)))}var N=S&&null!=c?c-D:null;null!=N&&N<Z.width?!z||N<O?(Z.text="",Z.width=Z.contentWidth=0):(Z.text=function(t,e,n,r,i){if(!e)return"";var o=(t+"").split("\n");i=l(e,n,r,i);for(var a=0,s=o.length;a<s;a++)o[a]=u(o[a],i);return o.join("\n")}(Z.text,N-O,R,e.ellipsis,{minChar:e.truncateMinChar}),Z.width=Z.contentWidth=(0,a.dz)(Z.text,R)):Z.contentWidth=(0,a.dz)(Z.text,R)}Z.width+=O,D+=Z.width,P&&(M=Math.max(M,Z.lineHeight))}k(C,D,M)}r.outerWidth=r.width=(0,o.pD)(c,x),r.outerHeight=r.height=(0,o.pD)(h,_),r.contentHeight=_,r.contentWidth=x,b&&(r.outerWidth+=b[1]+b[3],r.outerHeight+=b[0]+b[2]);for(var T=0;T<v.length;T++){var Z=v[T],W=Z.percentWidth;Z.width=parseInt(W,10)/100*r.width}return r}(O(t),t),n=e.width,r=e.outerWidth,c=e.outerHeight,h=t.padding,d=t.x||0,g=t.y||0,y=this._defaultStyle,m=t.align||y.align,v=t.verticalAlign||y.verticalAlign,_=(0,a.M3)(d,r,m),x=(0,a.mU)(g,c,v),b=_,S=x;h&&(b+=h[3],S+=h[0]);var w=b+n;R(t)&&this._renderBackground(t,t,_,x,r,c);for(var k=!!t.backgroundColor,T=0;T<e.lines.length;T++){for(var C=e.lines[T],M=C.tokens,D=M.length,I=C.lineHeight,Z=C.width,P=0,A=b,L=w,B=D-1,z=void 0;P<D&&(!(z=M[P]).align||"left"===z.align);)this._placeToken(z,t,I,S,A,"left",k),Z-=z.width,A+=z.width,P++;for(;B>=0&&"right"===(z=M[B]).align;)this._placeToken(z,t,I,S,L,"right",k),Z-=z.width,L-=z.width,B--;for(A+=(n-(A-b)-(w-L)-Z)/2;P<=B;)z=M[P],this._placeToken(z,t,I,S,A+z.width/2,"center",k),A+=z.width,P++;S+=I}},e.prototype._placeToken=function(t,e,n,r,i,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var c=t.verticalAlign,h=r+n/2;"top"===c?h=r+t.height/2:"bottom"===c&&(h=r+n-t.height/2),!t.isLineHolder&&R(u)&&this._renderBackground(u,e,"right"===s?i-t.width:"center"===s?i-t.width/2:i,h-t.height/2,t.width,t.height);var p=!!u.backgroundColor,f=t.textPadding;f&&(i=A(i,s,f),h-=t.height/2-f[0]-t.innerHeight/2);var d=this._getOrCreateChild(y.Z),g=d.createStyle();d.useStyle(g);var m=this._defaultStyle,v=!1,x=0,S=P("fill"in u?u.fill:"fill"in e?e.fill:(v=!0,m.fill)),w=Z("stroke"in u?u.stroke:"stroke"in e?e.stroke:p||l||m.autoStroke&&!v?null:(x=2,m.stroke)),k=u.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=i,g.y=h,k&&(g.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,g.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||b.Uo,g.opacity=(0,o.R1)(u.opacity,e.opacity,1),D(g,u),w&&(g.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,x),g.lineDash=(0,o.pD)(u.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=w),S&&(g.fill=S);var T=t.contentWidth,C=t.contentHeight;d.setBoundingRect(new _.Z((0,a.M3)(g.x,T,g.textAlign),(0,a.mU)(g.y,C,g.textBaseline),T,C))},e.prototype._renderBackground=function(t,e,n,r,i,a){var s,l,u=t.backgroundColor,c=t.borderWidth,h=t.borderColor,p=u&&u.image,f=u&&!p,d=t.borderRadius,g=this;if(f||t.lineHeight||c&&h){(s=this._getOrCreateChild(v.Z)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=r,y.width=i,y.height=a,y.r=d,s.dirtyShape()}if(f){var _=s.style;_.fill=u||null,_.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(p){(l=this._getOrCreateChild(m.ZP)).onload=function(){g.dirtyStyle()};var x=l.style;x.image=u.image,x.x=n,x.y=r,x.width=i,x.height=a}if(c&&h){var _=s.style;_.lineWidth=c,_.stroke=h,_.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var b=(s||l).style;b.shadowBlur=t.shadowBlur||0,b.shadowColor=t.shadowColor||"transparent",b.shadowOffsetX=t.shadowOffsetX||0,b.shadowOffsetY=t.shadowOffsetY||0,b.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,r="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(r=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?b.n5+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),r&&(0,o.fy)(r)||t.textFont||t.font},e}(x.ZP),T={left:!0,right:1,center:1},C={top:1,bottom:1,middle:1},M=["fontStyle","fontWeight","fontSize","fontFamily"];function D(t,e){for(var n=0;n<M.length;n++){var r=M[n],i=e[r];null!=i&&(t[r]=i)}}function I(t){if(t){t.font=k.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||T[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||C[n]?n:"top",t.padding&&(t.padding=(0,o.MY)(t.padding))}}function Z(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function A(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function O(t){var e=t.text;return null!=e&&(e+=""),e}function R(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let L=k},2168:function(t,e,n){n.d(e,{RH:()=>o,SE:()=>i,YV:()=>r});var r=1,i=2,o=4},1109:function(t,e,n){n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>u});var r=n(6147),i=n(9906),o=new r.ZP(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,r,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),c={hostEl:n,cb:r,cbPayload:a};return s?u(e=s.image)||s.pending.push(c):((e=i.qW.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},4899:function(t,e,n){n.d(e,{L:()=>i});var r=n(7605);function i(t,e,n){var i=e.smooth,o=e.points;if(o&&o.length>=2){if(i){var a=function(t,e,n,i){var o,a,s,l,u=[],c=[],h=[],p=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var f=0,d=t.length;f<d;f++)(0,r.VV)(s,s,t[f]),(0,r.Fp)(l,l,t[f]);(0,r.VV)(s,s,i[0]),(0,r.Fp)(l,l,i[1])}for(var f=0,d=t.length;f<d;f++){var g=t[f];if(n)o=t[f?f-1:d-1],a=t[(f+1)%d];else{if(0===f||f===d-1){u.push((0,r.d9)(t[f]));continue}o=t[f-1],a=t[f+1]}(0,r.lu)(c,a,o),(0,r.bA)(c,c,e);var y=(0,r.TE)(g,o),m=(0,r.TE)(g,a),v=y+m;0!==v&&(y/=v,m/=v),(0,r.bA)(h,c,-y),(0,r.bA)(p,c,m);var _=(0,r.IH)([],g,h),x=(0,r.IH)([],g,p);i&&((0,r.Fp)(_,_,s),(0,r.VV)(_,_,l),(0,r.Fp)(x,x,s),(0,r.VV)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(o,i,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,l=0;l<(n?s:s-1);l++){var u=a[2*l],c=a[2*l+1],h=o[(l+1)%s];t.bezierCurveTo(u[0],u[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);for(var l=1,p=o.length;l<p;l++)t.lineTo(o[l][0],o[l][1])}n&&t.closePath()}}},4958:function(t,e,n){n.d(e,{Pw:()=>o,_3:()=>i,vu:()=>a});var r=Math.round;function i(t,e,n){if(e){var i=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=i,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(r(2*i)===r(2*o)&&(t.x1=t.x2=a(i,u,!0)),r(2*s)===r(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var r=e.x,i=e.y,o=e.width,s=e.height;t.x=r,t.y=i,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(r,l,!0),t.y=a(i,l,!0),t.width=Math.max(a(r+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(i+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var i=r(2*t);return(i+r(e))%2==0?i/2:(i+(n?1:-1))/2}},222:function(t,e,n){n.d(e,{Z:()=>s});var r=n(9362),i=n(8588),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*i+n,u*i+r),t.arc(n,r,i,o,a,!s)},e}(i.ZP);a.prototype.type="arc";let s=a},121:function(t,e,n){n.d(e,{Z:()=>h});var r=n(9362),i=n(8588),o=n(7605),a=n(9101),s=[],l=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function u(t,e,n){var r=t.cpx2,i=t.cpy2;return null!=r||null!=i?[(n?a.X_:a.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.X_:a.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.AZ:a.Zm)(t.x1,t.cpx1,t.x2,e),(n?a.AZ:a.Zm)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new l},e.prototype.buildPath=function(t,e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,r),null==c||null==h?(p<1&&((0,a.Lx)(n,l,i,p,s),l=s[1],i=s[2],(0,a.Lx)(r,u,o,p,s),u=s[1],o=s[2]),t.quadraticCurveTo(l,u,i,o)):(p<1&&((0,a.Vz)(n,l,c,i,p,s),l=s[1],c=s[2],i=s[3],(0,a.Vz)(r,u,h,o,p,s),u=s[1],h=s[2],o=s[3]),t.bezierCurveTo(l,u,c,h,i,o)))},e.prototype.pointAt=function(t){return u(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=u(this.shape,t,!0);return o.Fv(e,e)},e}(i.ZP);c.prototype.type="bezier-curve";let h=c},7266:function(t,e,n){n.d(e,{Z:()=>s});var r=n(9362),i=n(8588),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(i.ZP);a.prototype.type="circle";let s=a},2859:function(t,e,n){n.d(e,{Z:()=>u});var r=n(9362),i=n(8588),o=n(4958),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,r,i,s,l=(0,o._3)(a,e,this.style);n=l.x1,r=l.y1,i=l.x2,s=l.y2}else n=e.x1,r=e.y1,i=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,r),u<1&&(i=n*(1-u)+i*u,s=r*(1-u)+s*u),t.lineTo(i,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(i.ZP);l.prototype.type="line";let u=l},4484:function(t,e,n){n.d(e,{Z:()=>l});var r=n(9362),i=n(8588),o=n(4899),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!0)},e}(i.ZP);s.prototype.type="polygon";let l=s},1099:function(t,e,n){n.d(e,{Z:()=>l});var r=n(9362),i=n(8588),o=n(4899),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.L(t,e,!1)},e}(i.ZP);s.prototype.type="polyline";let l=s},1969:function(t,e,n){n.d(e,{Z:()=>u});var r=n(9362),i=n(8588),o=n(4958),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,r,i,a,l,u,c,h,p,f,d,g,y,m,v,_=(0,o.Pw)(s,e,this.style);g=_.x,y=_.y,m=_.width,v=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,m=e.width,v=e.height;e.r?(c=(n=e).x,h=n.y,p=n.width,f=n.height,d=n.r,p<0&&(c+=p,p=-p),f<0&&(h+=f,f=-f),"number"==typeof d?r=i=a=l=d:d instanceof Array?1===d.length?r=i=a=l=d[0]:2===d.length?(r=a=d[0],i=l=d[1]):3===d.length?(r=d[0],i=l=d[1],a=d[2]):(r=d[0],i=d[1],a=d[2],l=d[3]):r=i=a=l=0,r+i>p&&(u=r+i,r*=p/u,i*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),i+a>f&&(u=i+a,i*=f/u,a*=f/u),r+l>f&&(u=r+l,r*=f/u,l*=f/u),t.moveTo(c+r,h),t.lineTo(c+p-i,h),0!==i&&t.arc(c+p-i,h+i,i,-Math.PI/2,0),t.lineTo(c+p,h+f-a),0!==a&&t.arc(c+p-a,h+f-a,a,0,Math.PI/2),t.lineTo(c+l,h+f),0!==l&&t.arc(c+l,h+f-l,l,Math.PI/2,Math.PI),t.lineTo(c,h+r),0!==r&&t.arc(c+r,h+r,r,Math.PI,1.5*Math.PI)):t.rect(g,y,m,v)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(i.ZP);l.prototype.type="rect";let u=l},3511:function(t,e,n){n.d(e,{C:()=>_});var r=n(9362),i=n(8588),o=n(7975),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,c=Math.acos,h=Math.atan2,p=Math.abs,f=Math.sqrt,d=Math.max,g=Math.min;function y(t,e,n,r,i,o,a){var s=t-n,l=e-r,u=(a?o:-o)/f(s*s+l*l),c=u*l,h=-u*s,p=t+c,g=e+h,y=n+c,m=r+h,v=(p+y)/2,_=(g+m)/2,x=y-p,b=m-g,S=x*x+b*b,w=i-o,k=p*m-y*g,T=(b<0?-1:1)*f(d(0,w*w*S-k*k)),C=(k*b-x*T)/S,M=(-k*x-b*T)/S,D=(k*b+x*T)/S,I=(-k*x+b*T)/S,Z=C-v,P=M-_,A=D-v,O=I-_;return Z*Z+P*P>A*A+O*O&&(C=D,M=I),{cx:C,cy:M,x0:-c,y0:-h,x1:C*(i/w-1),y1:M*(i/w-1)}}var m=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},v=function(t){function e(e){return t.call(this,e)||this}return(0,r.ZT)(e,t),e.prototype.getDefaultShape=function(){return new m},e.prototype.buildPath=function(t,e){!function(t,e){var n,r=d(e.r,0),i=d(e.r0||0,0),m=r>0,v=i>0;if(m||v){if(m||(r=i,i=0),i>r){var _=r;r=i,i=_}var x=e.startAngle,b=e.endAngle;if(!(isNaN(x)||isNaN(b))){var S=e.cx,w=e.cy,k=!!e.clockwise,T=p(b-x),C=T>s&&T%s;if(C>1e-4&&(T=C),r>1e-4){if(T>s-1e-4)t.moveTo(S+r*u(x),w+r*l(x)),t.arc(S,w,r,x,b,!k),i>1e-4&&(t.moveTo(S+i*u(b),w+i*l(b)),t.arc(S,w,i,b,x,k));else{var M=void 0,D=void 0,I=void 0,Z=void 0,P=void 0,A=void 0,O=void 0,R=void 0,L=void 0,B=void 0,z=void 0,F=void 0,E=void 0,N=void 0,W=void 0,H=void 0,j=r*u(x),$=r*l(x),V=i*u(b),U=i*l(b),q=T>1e-4;if(q){var G=e.cornerRadius;G&&(M=(n=function(t){var e;if((0,o.kJ)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(G))[0],D=n[1],I=n[2],Z=n[3]);var X=p(r-i)/2;if(P=g(X,I),A=g(X,Z),O=g(X,M),R=g(X,D),z=L=d(P,A),F=B=d(O,R),(L>1e-4||B>1e-4)&&(E=r*u(b),N=r*l(b),W=i*u(x),H=i*l(x),T<a)){var K=function(t,e,n,r,i,o,a,s){var l=n-t,u=r-e,c=a-i,h=s-o,p=h*l-c*u;if(!(p*p<1e-4))return p=(c*(e-o)-h*(t-i))/p,[t+p*l,e+p*u]}(j,$,W,H,E,N,V,U);if(K){var Y=j-K[0],J=$-K[1],Q=E-K[0],tt=N-K[1],te=1/l(c((Y*Q+J*tt)/(f(Y*Y+J*J)*f(Q*Q+tt*tt)))/2),tn=f(K[0]*K[0]+K[1]*K[1]);z=g(L,(r-tn)/(te+1)),F=g(B,(i-tn)/(te-1))}}}if(q){if(z>1e-4){var tr=g(I,z),ti=g(Z,z),to=y(W,H,j,$,r,tr,k),ta=y(E,N,V,U,r,ti,k);t.moveTo(S+to.cx+to.x0,w+to.cy+to.y0),z<L&&tr===ti?t.arc(S+to.cx,w+to.cy,z,h(to.y0,to.x0),h(ta.y0,ta.x0),!k):(tr>0&&t.arc(S+to.cx,w+to.cy,tr,h(to.y0,to.x0),h(to.y1,to.x1),!k),t.arc(S,w,r,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),!k),ti>0&&t.arc(S+ta.cx,w+ta.cy,ti,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!k))}else t.moveTo(S+j,w+$),t.arc(S,w,r,x,b,!k)}else t.moveTo(S+j,w+$);if(i>1e-4&&q){if(F>1e-4){var tr=g(M,F),ti=g(D,F),to=y(V,U,E,N,i,-ti,k),ta=y(j,$,W,H,i,-tr,k);t.lineTo(S+to.cx+to.x0,w+to.cy+to.y0),F<B&&tr===ti?t.arc(S+to.cx,w+to.cy,F,h(to.y0,to.x0),h(ta.y0,ta.x0),!k):(ti>0&&t.arc(S+to.cx,w+to.cy,ti,h(to.y0,to.x0),h(to.y1,to.x1),!k),t.arc(S,w,i,h(to.cy+to.y1,to.cx+to.x1),h(ta.cy+ta.y1,ta.cx+ta.x1),k),tr>0&&t.arc(S+ta.cx,w+ta.cy,tr,h(ta.y1,ta.x1),h(ta.y0,ta.x0),!k))}else t.lineTo(S+V,w+U),t.arc(S,w,i,b,x,k)}else t.lineTo(S+V,w+U)}}else t.moveTo(S,w);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(i.ZP);v.prototype.type="sector";let _=v},4411:function(t,e,n){n.d(e,{L0:()=>k,Pz:()=>w,Qc:()=>y,Uu:()=>_,fD:()=>C,m8:()=>S,ox:()=>b,t7:()=>x});var r=n(6147),i=n(7975),o={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function c(t,e,n){return(n<0?n+=1:n>1&&(n-=1),6*n<1)?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function h(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new r.ZP(20),d=null;function g(t,e){d&&p(d,e),d=f.put(t,d||e.slice())}function y(t,e){if(t){e=e||[];var n=f.get(t);if(n)return p(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in o)return p(e,o[r]),g(t,e),e;var i=r.length;if("#"===r.charAt(0)){if(4===i||5===i){var a=parseInt(r.slice(1,4),16);if(!(a>=0&&a<=4095)){h(e,0,0,0,1);return}return h(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===i?parseInt(r.slice(4),16)/15:1),g(t,e),e}if(7===i||9===i){var a=parseInt(r.slice(1,7),16);if(!(a>=0&&a<=0xffffff)){h(e,0,0,0,1);return}return h(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===i?parseInt(r.slice(7),16)/255:1),g(t,e),e}return}var s=r.indexOf("("),c=r.indexOf(")");if(-1!==s&&c+1===i){var d=r.substr(0,s),y=r.substr(s+1,c-(s+1)).split(","),v=1;switch(d){case"rgba":if(4!==y.length)return 3===y.length?h(e,+y[0],+y[1],+y[2],1):h(e,0,0,0,1);v=u(y.pop());case"rgb":if(y.length>=3)return h(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?v:u(y[3])),g(t,e),e;h(e,0,0,0,1);return;case"hsla":if(4!==y.length){h(e,0,0,0,1);return}return y[3]=u(y[3]),m(y,e),g(t,e),e;case"hsl":if(3!==y.length){h(e,0,0,0,1);return}return m(y,e),g(t,e),e;default:return}}h(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=u(t[1]),i=u(t[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return h(e=e||[],a(255*c(s,o,n+1/3)),a(255*c(s,o,n)),a(255*c(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function v(t,e){var n=y(t);if(n){for(var r=0;r<3;r++)e<0?n[r]=n[r]*(1-e)|0:n[r]=(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return w(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=e[c],f=e[h],d=u-c;return n[0]=a((r=p[0],r+(f[0]-r)*d)),n[1]=a((i=p[1],i+(f[1]-i)*d)),n[2]=a((o=p[2],o+(f[2]-o)*d)),n[3]=s((l=p[3],l+(f[3]-l)*d)),n}}function x(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r,i,o,l,u=t*(e.length-1),c=Math.floor(u),h=Math.ceil(u),p=y(e[c]),f=y(e[h]),d=u-c,g=w([a((r=p[0],r+(f[0]-r)*d)),a((i=p[1],i+(f[1]-i)*d)),a((o=p[2],o+(f[2]-o)*d)),s((l=p[3],l+(f[3]-l)*d))],"rgba");return n?{color:g,leftIndex:c,rightIndex:h,value:u}:g}}function b(t,e,n,r){var i,o=y(t);if(t)return o=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var c=((s-r)/6+l/2)/l,h=((s-i)/6+l/2)/l,p=((s-o)/6+l/2)/l;r===s?e=p-h:i===s?e=1/3+c-p:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,u];return null!=t[3]&&f.push(t[3]),f}}(o),null!=e&&(o[0]=(i=Math.round(i=e))<0?0:i>360?360:i),null!=n&&(o[1]=u(n)),null!=r&&(o[2]=u(r)),w(m(o),"rgba")}function S(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),w(n,"rgba")}function w(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return("rgba"===e||"hsva"===e||"hsla"===e)&&(n+=","+t[3]),e+"("+n+")"}}function k(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var T=new r.ZP(100);function C(t){if((0,i.HD)(t)){var e=T.get(t);return e||(e=v(t,-.1),T.put(t,e)),e}if((0,i.Qq)(t)){var n=(0,i.l7)({},t);return n.colorStops=(0,i.UI)(t.colorStops,function(t){return{offset:t.offset,color:v(t.color,-.1)}}),n}return t}},6573:function(t,e,n){n.d(e,{Qq:()=>to,S1:()=>tr,wm:()=>ti});var r,i,o,a=n(4647),s=n(7975),l=n(9362),u=n(7605),c=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},h=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new c(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,o=r-this._y;this._x=n,this._y=r,e.drift(i,o,t),this.handler.dispatchToElement(new c(e,t),"drag",t.event);var a=this.handler.findHover(n,r,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new c(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new c(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new c(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new c(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=n(7654),f=n(9474),d=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},o=0,a=r.length;o<a;o++){var s=r[o],l=f.eV(n,s,{});i.points.push([l.zrX,l.zrY]),i.touches.push(s)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in y)if(y.hasOwnProperty(e)){var n=y[e](this._track,t);if(n)return n}},t}();function g(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var y={pinch:function(t,e){var n=t.length;if(n){var r=(t[n-1]||{}).points,i=(t[n-2]||{}).points||r;if(i&&i.length>1&&r&&r.length>1){var o=g(r)/g(i);isFinite(o)||(o=1),e.pinchScale=o;var a=[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},m=n(9495),v="silent";function _(){f.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.Z),b=function(t,e){this.x=t,this.y=e},S=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],w=new m.Z(0,0,0,0),k=function(t){function e(e,n,r,i,o){var a=t.call(this)||this;return a._hovered=new b(0,0),a.storage=e,a.painter=n,a.painterRoot=i,a._pointerSize=o,r=r||new x,a.proxy=null,a.setHandlerProxy(r),a._draggingMgr=new h(a),a}return(0,l.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s.S6(S,function(e){t.on&&t.on(e,this[e],this)},this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,r=C(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?new b(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new b(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var r,i=(t=t||{}).target;if(!i||!i.silent){for(var o="on"+e,a={type:e,event:n,target:(r=t).target,topTarget:r.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:_};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var r=this.storage.getDisplayList(),i=new b(t,e);if(T(r,i,t,e,n),this._pointerSize&&!i.target){for(var o=[],a=this._pointerSize,s=a/2,l=new m.Z(t-s,e-s,a,a),u=r.length-1;u>=0;u--){var c=r[u];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(w.copy(c.getBoundingRect()),c.transform&&w.applyTransform(c.transform),w.intersect(l)&&o.push(c))}if(o.length){for(var h=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=4)for(var d=0;d<p;d+=h)if(T(o,i,t+f*Math.cos(d),e+f*Math.sin(d),n),i.target)return i}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new d);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i;var o=new b;o.target=r.target,this.dispatchToElement(o,i,r.event)}},e}(p.Z);function T(t,e,n,r,i){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==i&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,i=void 0,o=!1;r;){if(r.ignoreClip&&(o=!0),!o){var a=r.getClipPath();if(a&&!a.contain(e,n))return!1}r.silent&&(i=!0),r=r.__hostTarget||r.parent}return!i||v}return!1}(a,n,r))&&(e.topTarget||(e.topTarget=a),s!==v)){e.target=a;break}}}function C(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}s.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){k.prototype[t]=function(e){var n,r,i=e.zrX,o=e.zrY,a=C(this,i,o);if("mouseup"===t&&a||(r=(n=this.findHover(i,o)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||u.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var M=n(2298),D=n(2168),I=!1;function Z(){!I&&(I=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var A=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,r=0,i=e.length;r<i;r++)this._updateAndAddDisplayable(e[r],null,t);n.length=this._displayListLen,(0,M.Z)(n,P)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var r=t.getClipPath();if(t.ignoreClip)e=null;else if(r){e=e?e.slice():[];for(var i=r,o=t;i;)i.parent=o,i.updateTransform(),e.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=D.YV),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(Z(),t.z=0),isNaN(t.z2)&&(Z(),t.z2=0),isNaN(t.zlevel)&&(Z(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,e,n)}},t.prototype.addRoot=function(t){(!t.__zr||t.__zr.storage!==this)&&this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);return}var r=s.cq(this._roots,t);r>=0&&this._roots.splice(r,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}(),O=n(9909),R=n(8026);function L(){return new Date().getTime()}var B=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return(0,l.ZT)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=L()-this._pausedTime,n=e-this._time,r=this._head;r;){var i=r.next;r.step(e,n)&&(r.ondestroy(),this.removeClip(r)),r=i}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,O.Z)(function e(){t._running&&((0,O.Z)(e),t._paused||t.update())})},e.prototype.start=function(){!this._running&&(this._time=L(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=L(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=L()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new R.Z(t,e.loop);return this.addAnimator(n),n},e}(p.Z),z=a.Z.domSupported,F=(r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=s.UI(r,function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}),{mouse:r,touch:["touchstart","touchend","touchmove"],pointer:o}),E={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},N=!1;function W(t){var e=t.pointerType;return"pen"===e||"touch"===e}function H(t){t&&(t.zrByTouch=!0)}function j(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var $=function(t,e){this.stopPropagation=s.ZT,this.stopImmediatePropagation=s.ZT,this.preventDefault=s.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},V={mousedown:function(t){t=(0,f.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,f.OD)(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,f.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){j(this,(t=(0,f.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){N=!0,t=(0,f.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){!N&&(t=(0,f.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){H(t=(0,f.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),V.mousemove.call(this,t),V.mousedown.call(this,t)},touchmove:function(t){H(t=(0,f.OD)(this.dom,t)),this.handler.processGesture(t,"change"),V.mousemove.call(this,t)},touchend:function(t){H(t=(0,f.OD)(this.dom,t)),this.handler.processGesture(t,"end"),V.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&V.click.call(this,t)},pointerdown:function(t){V.mousedown.call(this,t)},pointermove:function(t){W(t)||V.mousemove.call(this,t)},pointerup:function(t){V.mouseup.call(this,t)},pointerout:function(t){W(t)||V.mouseout.call(this,t)}};s.S6(["click","dblclick","contextmenu"],function(t){V[t]=function(e){e=(0,f.OD)(this.dom,e),this.trigger(t,e)}});var U={pointermove:function(t){W(t)||U.mousemove.call(this,t)},pointerup:function(t){U.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function q(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,(0,f.Oo)(t.domTarget,e,n,r)}function G(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,f.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var X=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},K=function(t){function e(e,n){var r,i,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new X(e,V),z&&(o._globalHandlerScope=new X(document,U)),i=(r=o._localHandlerScope).domHandlers,a.Z.pointerEventsSupported?s.S6(F.pointer,function(t){q(r,t,function(e){i[t].call(o,e)})}):(a.Z.touchEventsSupported&&s.S6(F.touch,function(t){q(r,t,function(e){i[t].call(o,e),r.touching=!0,null!=r.touchTimer&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)})}),s.S6(F.mouse,function(t){q(r,t,function(e){e=(0,f.iP)(e),r.touching||i[t].call(o,e)})})),o}return(0,l.ZT)(e,t),e.prototype.dispose=function(){G(this._localHandlerScope),z&&G(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,z&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){a.Z.pointerEventsSupported?s.S6(E.pointer,n):a.Z.touchEventsSupported||s.S6(E.mouse,n);function n(n){q(e,n,function(r){if(!j(t,(r=(0,f.iP)(r)).target)){var i;i=r,r=(0,f.OD)(t.dom,new $(t,i),!0),e.domHandlers[n].call(t,r)}},{capture:!0})}}(this,e):G(e)}},e}(p.Z),Y=n(4411),J=n(9417),Q=n(7293),tt={},te={},tn=function(){function t(t,e,n){var r,i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new A,l=n.renderer||"canvas";tt[l]||(l=s.XP(tt)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tt[l](e,o,n,t),c=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var h=a.Z.node||a.Z.worker||c?null:new K(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?a.Z.touchEventsSupported:!!p)&&(r=s.pD(n.pointerSize,44)),this.handler=new k(o,u,h,u.root,r),this.animation=new B({stage:{update:c?null:function(){return i._flush(!0)}}}),c||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){!this._disposed&&(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){!this._disposed&&(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,Y.L0)(t,1)<J.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,r=e.length,i=0;i<r;i++)n+=(0,Y.L0)(e[i].color,1);return(n/=r)<J.Ak}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){!this._disposed&&(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){!this._disposed&&(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){!this._disposed&&this._flush(!1)},t.prototype._flush=function(t){var e,n=L();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var r=L();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){!this._disposed&&(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){!this._disposed&&(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){!this._disposed&&(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){!this._disposed&&this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){!this._disposed&&this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){!this._disposed&&this.handler.off(t,e)},t.prototype.trigger=function(t,e){!this._disposed&&this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof Q.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;!this._disposed&&(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete te[t])},t}();function tr(t,e){var n=new tn(s.M8(),t,e);return te[n.id]=n,n}function ti(t,e){tt[t]=e}function to(t){}}}]);