????
Current Path : C:/inetpub/vhost/kiemkegpmb.gdtsolutions.vn/www/assets/ |
Current File : C:/inetpub/vhost/kiemkegpmb.gdtsolutions.vn/www/assets/index-bb17eca3.js |
import{r as v,F as x,P as i,G as Z,y as Gl,j as M,z as Wl,q as Yl,H as dh,u as Ql,J as hh,t as mh,T as lo,L as rs,K as Te,M as Xl,O as ph,Q as gh,R as bi,U as bh,v as Kl,i as Zl,W as Ln}from"./index-66f9303d.js";import{F as Ze}from"./FontAwesome4-bd80a3fc.js";import"./Empty-030ec17f.js";import{B as vh,_ as yh}from"./Button-ce73291a.js";import{N as xh}from"./Notify-96f21d15.js";import{l as wh}from"./index-e06de4e9.js";import{c as kh,r as Th,u as Oh,a as Me,d as $h,T as Mh,g as Jl,b as ec,s as ne,e as tc,f as nc,h as jh,j as k,i as rc,k as Sh,l as Sn}from"./DefaultPropsProvider-31b08032.js";import{c as Ch}from"./Popper-9c013c43.js";import{B as is,T as Nh}from"./index-8bfd844f.js";import"./Badge-00399d5f.js";import"./Fade-a7ee5075.js";import"./Transition-5591f32d.js";import"./_commonjs-dynamic-modules-302442b1.js";import"./DialogCustomize-662f79ab.js";import"./useTheme-04a7a0e8.js";import"./withStyles-88702e75.js";import"./capitalize-67f31d18.js";import"./HTMLElementType-8dab7c38.js";import"./InputNumber-0eedadf8.js";import"./Input-854b2e75.js";import"./InputTime-18a21ec5.js";import"./possibleConstructorReturn-91373a2f.js";import"./TextArea-52e09ac6.js";import"./const-0478bc07.js";import"./objectWithoutPropertiesLoose-564fae94.js";import"./Manager-98c93f3e.js";import"./Table-0ba33b68.js";function Ih(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}kh();function Eh(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Th(t.components[n].defaultProps,r)}function _h({props:e,name:t,defaultTheme:n,themeId:r}){let o=Oh(n);return r&&(o=o[r]||o),Eh({theme:o,name:t,props:e})}const Rh=typeof window<"u"?v.useLayoutEffect:v.useEffect,dn=Rh;function Ph(e,t){return function(...r){return e(...r)||t(...r)}}const Ah="exact-prop: ";function ic(e){return x({},e,{[Ah]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function hn(e,t,n,r,o){const a=e[t],s=o||t;return a==null?null:a&&a.nodeType!==1?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const Dh=i.oneOfType([i.func,i.object]),oc=Dh;function os(e){return e&&e.ownerDocument||document}function co(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function dr(...e){return v.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{co(n,t)})},e)}function Fh(e){return typeof e=="string"}function Lh(e,t,n){return e===void 0||Fh(e)?t:x({},t,{ownerState:x({},t.ownerState,n)})}function zh(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function as(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Vh(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const m=Me(n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),p=x({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),g=x({},n,o,r);return m.length>0&&(g.className=m),Object.keys(p).length>0&&(g.style=p),{props:g,internalRef:void 0}}const s=zh(x({},o,r)),u=as(r),c=as(o),l=t(s),d=Me(l==null?void 0:l.className,n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),f=x({},l==null?void 0:l.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=x({},l,n,c,u);return d.length>0&&(h.className=d),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:l.ref}}function Uh(e,t,n){return typeof e=="function"?e(t,n):e}const qh=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Hh(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:a=!1}=e,s=Z(e,qh),u=a?{}:Uh(r,o),{props:c,internalRef:l}=Vh(x({},s,{externalSlotProps:u})),d=dr(l,u==null?void 0:u.ref,(t=e.additionalProps)==null?void 0:t.ref);return Lh(n,x({},c,{ref:d}),o)}function Bh(e){if(parseInt(v.version,10)>=19){var t;return(e==null||(t=e.props)==null?void 0:t.ref)||null}return(e==null?void 0:e.ref)||null}const Gh=v.createContext();i.node,i.bool;const ac=()=>{const e=v.useContext(Gh);return e??!1};function nt({props:e,name:t}){return _h({props:e,name:t,defaultTheme:$h,themeId:Mh})}function Wh(e){return Jl("MuiTypography",e)}ec("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Yh=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Qh=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:a,classes:s}=e,u={root:["root",a,e.align!=="inherit"&&`align${tc(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return rc(u,Wh,s)},Xh=ne("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${tc(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>x({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),ss={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Kh={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Zh=e=>Kh[e]||e,sc=v.forwardRef(function(t,n){const r=nc({props:t,name:"MuiTypography"}),o=Zh(r.color),a=jh(x({},r,{color:o})),{align:s="inherit",className:u,component:c,gutterBottom:l=!1,noWrap:d=!1,paragraph:f=!1,variant:h="body1",variantMapping:m=ss}=a,p=Z(a,Yh),g=x({},a,{align:s,color:o,className:u,component:c,gutterBottom:l,noWrap:d,paragraph:f,variant:h,variantMapping:m}),b=c||(f?"p":m[h]||ss[h])||"span",y=Qh(g);return k.jsx(Xh,x({as:b,ref:n,ownerState:g,className:Me(y.root,u)},p))});sc.propTypes={align:i.oneOf(["center","inherit","justify","left","right"]),children:i.node,classes:i.object,className:i.string,component:i.elementType,gutterBottom:i.bool,noWrap:i.bool,paragraph:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),variant:i.oneOfType([i.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),i.string]),variantMapping:i.object};const vi=sc;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0});var uc=Bo.default=void 0,Jh=tm(v),em=Sh;function lc(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(lc=function(r){return r?n:t})(e)}function tm(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=lc(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(a!=="default"&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}function nm(e){return Object.keys(e).length===0}function rm(e=null){const t=Jh.useContext(em.ThemeContext);return!t||nm(t)?e:t}uc=Bo.default=rm;function im(e){return typeof e=="function"?e():e}const hr=v.forwardRef(function(t,n){const{children:r,container:o,disablePortal:a=!1}=t,[s,u]=v.useState(null),c=dr(v.isValidElement(r)?Bh(r):null,n);if(dn(()=>{a||u(im(o)||document.body)},[o,a]),dn(()=>{if(s&&!a)return co(n,s),()=>{co(n,null)}},[n,s,a]),a){if(v.isValidElement(r)){const l={ref:c};return v.cloneElement(r,l)}return k.jsx(v.Fragment,{children:r})}return k.jsx(v.Fragment,{children:s&&Gl.createPortal(r,s)})});hr.propTypes={children:i.node,container:i.oneOfType([hn,i.func]),disablePortal:i.bool};hr["propTypes"]=ic(hr.propTypes);const om=hr;function am(e){return Jl("MuiPopper",e)}ec("MuiPopper",["root"]);const sm=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],um=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function lm(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function mr(e){return typeof e=="function"?e():e}function Lr(e){return e.nodeType!==void 0}function cm(e){return!Lr(e)}const fm=e=>{const{classes:t}=e;return rc({root:["root"]},am,t)},dm={},hm=v.forwardRef(function(t,n){var r;const{anchorEl:o,children:a,direction:s,disablePortal:u,modifiers:c,open:l,placement:d,popperOptions:f,popperRef:h,slotProps:m={},slots:p={},TransitionProps:g}=t,b=Z(t,sm),y=v.useRef(null),O=dr(y,n),T=v.useRef(null),$=dr(T,h),j=v.useRef($);dn(()=>{j.current=$},[$]),v.useImperativeHandle(h,()=>T.current,[]);const w=lm(d,s),[C,P]=v.useState(w),[A,D]=v.useState(mr(o));v.useEffect(()=>{T.current&&T.current.forceUpdate()}),v.useEffect(()=>{o&&D(mr(o))},[o]),dn(()=>{if(!A||!l)return;const R=L=>{P(L.placement)};if(A&&Lr(A)&&A.nodeType===1){const L=A.getBoundingClientRect();L.top===0&&L.left===0&&L.right===0&&L.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(` `))}let V=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:L})=>{R(L)}}];c!=null&&(V=V.concat(c)),f&&f.modifiers!=null&&(V=V.concat(f.modifiers));const B=Ch(A,y.current,x({placement:w},f,{modifiers:V}));return j.current(B),()=>{B.destroy(),j.current(null)}},[A,u,c,l,f,w]);const E={placement:C};g!==null&&(E.TransitionProps=g);const U=fm(t),F=(r=p.root)!=null?r:"div",I=Hh({elementType:F,externalSlotProps:m.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:O},ownerState:t,className:U.root});return k.jsx(F,x({},I,{children:typeof a=="function"?a(E):a}))}),cc=v.forwardRef(function(t,n){const{anchorEl:r,children:o,container:a,direction:s="ltr",disablePortal:u=!1,keepMounted:c=!1,modifiers:l,open:d,placement:f="bottom",popperOptions:h=dm,popperRef:m,style:p,transition:g=!1,slotProps:b={},slots:y={}}=t,O=Z(t,um),[T,$]=v.useState(!0),j=()=>{$(!1)},w=()=>{$(!0)};if(!c&&!d&&(!g||T))return null;let C;if(a)C=a;else if(r){const D=mr(r);C=D&&Lr(D)?os(D).body:os(null).body}const P=!d&&c&&(!g||T)?"none":void 0,A=g?{in:d,onEnter:j,onExited:w}:void 0;return k.jsx(om,{disablePortal:u,container:C,children:k.jsx(hm,x({anchorEl:r,direction:s,disablePortal:u,modifiers:l,ref:n,open:g?!T:d,placement:f,popperOptions:h,popperRef:m,slotProps:b,slots:y},O,{style:x({position:"fixed",top:0,left:0,display:P},p),TransitionProps:A,children:o}))})});cc.propTypes={anchorEl:Ph(i.oneOfType([hn,i.object,i.func]),e=>{if(e.open){const t=mr(e.anchorEl);if(t&&Lr(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(` `))}else if(!t||typeof t.getBoundingClientRect!="function"||cm(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(` `))}return null}),children:i.oneOfType([i.node,i.func]),container:i.oneOfType([hn,i.func]),direction:i.oneOf(["ltr","rtl"]),disablePortal:i.bool,keepMounted:i.bool,modifiers:i.arrayOf(i.shape({data:i.object,effect:i.func,enabled:i.bool,fn:i.func,name:i.any,options:i.object,phase:i.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:i.arrayOf(i.string),requiresIfExists:i.arrayOf(i.string)})),open:i.bool.isRequired,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:i.shape({modifiers:i.array,onFirstUpdate:i.func,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:i.oneOf(["absolute","fixed"])}),popperRef:oc,slotProps:i.shape({root:i.oneOfType([i.func,i.object])}),slots:i.shape({root:i.elementType}),transition:i.bool};const mm=cc,pm=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],gm=ne(mm,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),fc=v.forwardRef(function(t,n){var r;const o=uc(),a=nc({props:t,name:"MuiPopper"}),{anchorEl:s,component:u,components:c,componentsProps:l,container:d,disablePortal:f,keepMounted:h,modifiers:m,open:p,placement:g,popperOptions:b,popperRef:y,transition:O,slots:T,slotProps:$}=a,j=Z(a,pm),w=(r=T==null?void 0:T.root)!=null?r:c==null?void 0:c.Root,C=x({anchorEl:s,container:d,disablePortal:f,keepMounted:h,modifiers:m,open:p,placement:g,popperOptions:b,popperRef:y,transition:O},j);return k.jsx(gm,x({as:u,direction:o==null?void 0:o.direction,slots:{root:w},slotProps:$??l},C,{ref:n}))});fc.propTypes={anchorEl:i.oneOfType([hn,i.object,i.func]),children:i.oneOfType([i.node,i.func]),component:i.elementType,components:i.shape({Root:i.elementType}),componentsProps:i.shape({root:i.oneOfType([i.func,i.object])}),container:i.oneOfType([hn,i.func]),disablePortal:i.bool,keepMounted:i.bool,modifiers:i.arrayOf(i.shape({data:i.object,effect:i.func,enabled:i.bool,fn:i.func,name:i.any,options:i.object,phase:i.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:i.arrayOf(i.string),requiresIfExists:i.arrayOf(i.string)})),open:i.bool.isRequired,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:i.shape({modifiers:i.array,onFirstUpdate:i.func,placement:i.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:i.oneOf(["absolute","fixed"])}),popperRef:oc,slotProps:i.shape({root:i.oneOfType([i.func,i.object])}),slots:i.shape({root:i.elementType}),sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),transition:i.bool};const bm=fc;function mn(e){const{children:t,defer:n=!1,fallback:r=null}=e,[o,a]=v.useState(!1);return dn(()=>{n||a(!0)},[n]),v.useEffect(()=>{n&&a(!0)},[n]),k.jsx(v.Fragment,{children:o?t:r})}mn.propTypes={children:i.node,defer:i.bool,fallback:i.node};mn["propTypes"]=ic(mn.propTypes);const vm=()=>{const e=hh||[];return M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{className:"menu-vertical-custom",children:[M.jsxDEV(Ze,{fa:"google-wallet"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:15,columnNumber:9},globalThis),M.jsxDEV("div",{className:"list-menu",children:e==null?void 0:e.map((t,n)=>M.jsxDEV(dc,{item:t,cap:1},n,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:18,columnNumber:13},globalThis))},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:16,columnNumber:9},globalThis),M.jsxDEV("div",{className:"list-menu justify-content-center",children:M.jsxDEV("div",{onClick:()=>Wl("Bạn có chắc chắn muốn đăng xuất!").then(()=>Yl()),className:"item",children:[M.jsxDEV(Ze,{fa:"power-off"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:26,columnNumber:13},globalThis),M.jsxDEV("div",{className:"name-item",children:"Đăng xuất"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:27,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:22,columnNumber:11},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:21,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:14,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:13,columnNumber:5},globalThis)},dc=({item:e,i:t,cap:n})=>{var l,d,f;let r=(e==null?void 0:e.children)||[],o=(l=e==null?void 0:e.icon)==null?void 0:l.substring(6);const a=(d=dh())==null?void 0:d.pathname,s=Ql(),[u,c]=v.useState(!1);return M.jsxDEV(M.Fragment,{children:[M.jsxDEV("div",{className:`item item-cap-${n} ${a===(e==null?void 0:e.url)&&n===1?"item-cap-1-active":"item-acvive"}`,onClick:()=>{s.push(e==null?void 0:e.url),c(h=>!h)},children:[M.jsxDEV("div",{className:`border-left-custom ${a===(e==null?void 0:e.url)?"border-left-custom-active":""}`},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:52,columnNumber:9},globalThis),o&&M.jsxDEV(Ze,{fa:o},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:53,columnNumber:18},globalThis),M.jsxDEV("div",{className:"name-item",children:[(f=e==null?void 0:e.name)==null?void 0:f.toLowerCase()," ",!!(r!=null&&r.length)&&M.jsxDEV(Ze,{fa:u?"angle-up":"angle-down"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:55,columnNumber:63},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:54,columnNumber:9},globalThis)]},t,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:44,columnNumber:7},globalThis),u&&!!(r!=null&&r.length)&&M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{className:"list-child list-menu",children:r.map((h,m)=>M.jsxDEV(dc,{item:h,i:m,cap:n+1},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:62,columnNumber:15},globalThis))},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:60,columnNumber:11},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:59,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/layout/MenuVertical.jsx",lineNumber:43,columnNumber:5},globalThis)},ym=()=>{var t,n;const e=v.useContext(mh);return M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{className:"header-custom",children:[M.jsxDEV("div",{children:[M.jsxDEV("span",{className:"text-second",children:(t=lo)==null?void 0:t.TenDonVi},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:18,columnNumber:11},globalThis),M.jsxDEV("h5",{className:"text-main",children:"HỆ THỐNG QUẢN LÝ GIẢI PHÓNG MẶT BẰNG"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:19,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:17,columnNumber:9},globalThis),M.jsxDEV("div",{className:"ms-auto d-flex align-items-center gap-2 hidden-screen-phone",children:[M.jsxDEV(xh,{},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:22,columnNumber:11},globalThis),M.jsxDEV("div",{className:"d-flex align-items-center",children:M.jsxDEV(rs,{tag:rs,to:"/thong-tin-tai-khoan",className:"form-icon-header-custom",children:[M.jsxDEV("img",{src:e.urlAvt?`${e.urlAvt}`:"../../assets/iconUser.png",style:{height:"2.2rem",width:"2.2rem"},className:"img-avatar-custom rounded-circle",alt:"nextform"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:25,columnNumber:15},globalThis),M.jsxDEV("div",{className:"form-info-user-header me-4 text-start",children:[M.jsxDEV("span",{style:{color:"#646464"},children:"Tài khoản"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:32,columnNumber:17},globalThis),M.jsxDEV("p",{className:"my-0",children:(n=lo)==null?void 0:n.TenHienThi},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:33,columnNumber:17},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:31,columnNumber:15},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:24,columnNumber:13},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:23,columnNumber:11},globalThis),M.jsxDEV("p",{style:{fontSize:"1.5rem",color:"lightgray"},className:"mb-1 mx-2",children:"|"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:37,columnNumber:11},globalThis),M.jsxDEV(vh,{onClick:()=>Wl("Bạn có chắc chắn muốn đăng xuất!").then(()=>Yl()),className:"btn-dang-xuat-all",children:[M.jsxDEV("img",{src:"../../assets/iconLogout.png",className:"img-avatar-custom rounded-circle",alt:"gdtvietnam"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:44,columnNumber:13},globalThis),M.jsxDEV("span",{children:"Đăng xuất"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:45,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:40,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:21,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:16,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/header.jsx",lineNumber:15,columnNumber:5},globalThis)};var Qt=function(e){return e&&e.Math===Math&&e},ce=Qt(typeof globalThis=="object"&&globalThis)||Qt(typeof window=="object"&&window)||Qt(typeof self=="object"&&self)||Qt(typeof Te=="object"&&Te)||Qt(typeof Te=="object"&&Te)||function(){return this}()||Function("return this")(),zr={},fe=function(e){try{return!!e()}catch{return!0}},xm=fe,rt=!xm(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),wm=fe,hc=!wm(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),km=hc,zn=Function.prototype.call,Go=km?zn.bind(zn):function(){return zn.apply(zn,arguments)},mc={},pc={}.propertyIsEnumerable,gc=Object.getOwnPropertyDescriptor,Tm=gc&&!pc.call({1:2},1);mc.f=Tm?function(t){var n=gc(this,t);return!!n&&n.enumerable}:pc;var bc=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},vc=hc,yc=Function.prototype,fo=yc.call,Om=vc&&yc.bind.bind(fo,fo),ae=vc?Om:function(e){return function(){return fo.apply(e,arguments)}},xc=ae,$m=xc({}.toString),Mm=xc("".slice),wc=function(e){return Mm($m(e),8,-1)},jm=ae,Sm=fe,Cm=wc,yi=Object,Nm=jm("".split),Im=Sm(function(){return!yi("z").propertyIsEnumerable(0)})?function(e){return Cm(e)==="String"?Nm(e,""):yi(e)}:yi,kc=function(e){return e==null},Em=kc,_m=TypeError,Cn=function(e){if(Em(e))throw new _m("Can't call method on "+e);return e},Rm=Im,Pm=Cn,Wo=function(e){return Rm(Pm(e))},xi=typeof document=="object"&&document.all,Se=typeof xi>"u"&&xi!==void 0?function(e){return typeof e=="function"||e===xi}:function(e){return typeof e=="function"},Am=Se,Qe=function(e){return typeof e=="object"?e!==null:Am(e)},wi=ce,Dm=Se,Fm=function(e){return Dm(e)?e:void 0},Tc=function(e,t){return arguments.length<2?Fm(wi[e]):wi[e]&&wi[e][t]},Lm=ae,Oc=Lm({}.isPrototypeOf),zm=ce,us=zm.navigator,ls=us&&us.userAgent,Vm=ls?String(ls):"",$c=ce,ki=Vm,cs=$c.process,fs=$c.Deno,ds=cs&&cs.versions||fs&&fs.version,hs=ds&&ds.v8,Ne,pr;hs&&(Ne=hs.split("."),pr=Ne[0]>0&&Ne[0]<4?1:+(Ne[0]+Ne[1]));!pr&&ki&&(Ne=ki.match(/Edge\/(\d+)/),(!Ne||Ne[1]>=74)&&(Ne=ki.match(/Chrome\/(\d+)/),Ne&&(pr=+Ne[1])));var Um=pr,ms=Um,qm=fe,Hm=ce,Bm=Hm.String,Mc=!!Object.getOwnPropertySymbols&&!qm(function(){var e=Symbol("symbol detection");return!Bm(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ms&&ms<41}),Gm=Mc,jc=Gm&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Wm=Tc,Ym=Se,Qm=Oc,Xm=jc,Km=Object,Yo=Xm?function(e){return typeof e=="symbol"}:function(e){var t=Wm("Symbol");return Ym(t)&&Qm(t.prototype,Km(e))},Zm=String,Jm=function(e){try{return Zm(e)}catch{return"Object"}},ep=Se,tp=Jm,np=TypeError,Sc=function(e){if(ep(e))return e;throw new np(tp(e)+" is not a function")},rp=Sc,ip=kc,op=function(e,t){var n=e[t];return ip(n)?void 0:rp(n)},Ti=Go,Oi=Se,$i=Qe,ap=TypeError,sp=function(e,t){var n,r;if(t==="string"&&Oi(n=e.toString)&&!$i(r=Ti(n,e))||Oi(n=e.valueOf)&&!$i(r=Ti(n,e))||t!=="string"&&Oi(n=e.toString)&&!$i(r=Ti(n,e)))return r;throw new ap("Can't convert object to primitive value")},Cc={exports:{}},up=!1,ps=ce,lp=Object.defineProperty,Qo=function(e,t){try{lp(ps,e,{value:t,configurable:!0,writable:!0})}catch{ps[e]=t}return t},cp=ce,fp=Qo,gs="__core-js_shared__",bs=Cc.exports=cp[gs]||fp(gs,{});(bs.versions||(bs.versions=[])).push({version:"3.40.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Xo=Cc.exports,vs=Xo,Nc=function(e,t){return vs[e]||(vs[e]=t||{})},dp=Cn,hp=Object,mp=function(e){return hp(dp(e))},pp=ae,gp=mp,bp=pp({}.hasOwnProperty),Xe=Object.hasOwn||function(t,n){return bp(gp(t),n)},vp=ae,yp=0,xp=Math.random(),wp=vp(1 .toString),Ic=function(e){return"Symbol("+(e===void 0?"":e)+")_"+wp(++yp+xp,36)},kp=ce,Tp=Nc,ys=Xe,Op=Ic,$p=Mc,Mp=jc,jt=kp.Symbol,Mi=Tp("wks"),jp=Mp?jt.for||jt:jt&&jt.withoutSetter||Op,Vr=function(e){return ys(Mi,e)||(Mi[e]=$p&&ys(jt,e)?jt[e]:jp("Symbol."+e)),Mi[e]},Sp=Go,xs=Qe,ws=Yo,Cp=op,Np=sp,Ip=Vr,Ep=TypeError,_p=Ip("toPrimitive"),Ec=function(e,t){if(!xs(e)||ws(e))return e;var n=Cp(e,_p),r;if(n){if(t===void 0&&(t="default"),r=Sp(n,e,t),!xs(r)||ws(r))return r;throw new Ep("Can't convert object to primitive value")}return t===void 0&&(t="number"),Np(e,t)},Rp=Ec,Pp=Yo,_c=function(e){var t=Rp(e,"string");return Pp(t)?t:t+""},Ap=ce,ks=Qe,ho=Ap.document,Dp=ks(ho)&&ks(ho.createElement),Fp=function(e){return Dp?ho.createElement(e):{}},Lp=rt,zp=fe,Vp=Fp,Rc=!Lp&&!zp(function(){return Object.defineProperty(Vp("div"),"a",{get:function(){return 7}}).a!==7}),Up=rt,qp=Go,Hp=mc,Bp=bc,Gp=Wo,Wp=_c,Yp=Xe,Qp=Rc,Ts=Object.getOwnPropertyDescriptor;zr.f=Up?Ts:function(t,n){if(t=Gp(t),n=Wp(n),Qp)try{return Ts(t,n)}catch{}if(Yp(t,n))return Bp(!qp(Hp.f,t,n),t[n])};var qt={},Xp=rt,Kp=fe,Zp=Xp&&Kp(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Jp=Qe,eg=String,tg=TypeError,Pc=function(e){if(Jp(e))return e;throw new tg(eg(e)+" is not an object")},ng=rt,rg=Rc,ig=Zp,Vn=Pc,Os=_c,og=TypeError,ji=Object.defineProperty,ag=Object.getOwnPropertyDescriptor,Si="enumerable",Ci="configurable",Ni="writable";qt.f=ng?ig?function(t,n,r){if(Vn(t),n=Os(n),Vn(r),typeof t=="function"&&n==="prototype"&&"value"in r&&Ni in r&&!r[Ni]){var o=ag(t,n);o&&o[Ni]&&(t[n]=r.value,r={configurable:Ci in r?r[Ci]:o[Ci],enumerable:Si in r?r[Si]:o[Si],writable:!1})}return ji(t,n,r)}:ji:function(t,n,r){if(Vn(t),n=Os(n),Vn(r),rg)try{return ji(t,n,r)}catch{}if("get"in r||"set"in r)throw new og("Accessors not supported");return"value"in r&&(t[n]=r.value),t};var sg=rt,ug=qt,lg=bc,Ac=sg?function(e,t,n){return ug.f(e,t,lg(1,n))}:function(e,t,n){return e[t]=n,e},Dc={exports:{}},mo=rt,cg=Xe,Fc=Function.prototype,fg=mo&&Object.getOwnPropertyDescriptor,Ko=cg(Fc,"name"),dg=Ko&&(function(){}).name==="something",hg=Ko&&(!mo||mo&&fg(Fc,"name").configurable),mg={EXISTS:Ko,PROPER:dg,CONFIGURABLE:hg},pg=ae,gg=Se,po=Xo,bg=pg(Function.toString);gg(po.inspectSource)||(po.inspectSource=function(e){return bg(e)});var vg=po.inspectSource,yg=ce,xg=Se,$s=yg.WeakMap,wg=xg($s)&&/native code/.test(String($s)),kg=Nc,Tg=Ic,Ms=kg("keys"),Og=function(e){return Ms[e]||(Ms[e]=Tg(e))},Lc={},$g=wg,zc=ce,Mg=Qe,jg=Ac,Ii=Xe,Ei=Xo,Sg=Og,Cg=Lc,js="Object already initialized",go=zc.TypeError,Ng=zc.WeakMap,gr,pn,br,Ig=function(e){return br(e)?pn(e):gr(e,{})},Eg=function(e){return function(t){var n;if(!Mg(t)||(n=pn(t)).type!==e)throw new go("Incompatible receiver, "+e+" required");return n}};if($g||Ei.state){var De=Ei.state||(Ei.state=new Ng);De.get=De.get,De.has=De.has,De.set=De.set,gr=function(e,t){if(De.has(e))throw new go(js);return t.facade=e,De.set(e,t),t},pn=function(e){return De.get(e)||{}},br=function(e){return De.has(e)}}else{var kt=Sg("state");Cg[kt]=!0,gr=function(e,t){if(Ii(e,kt))throw new go(js);return t.facade=e,jg(e,kt,t),t},pn=function(e){return Ii(e,kt)?e[kt]:{}},br=function(e){return Ii(e,kt)}}var _g={set:gr,get:pn,has:br,enforce:Ig,getterFor:Eg},Zo=ae,Rg=fe,Pg=Se,Un=Xe,bo=rt,Ag=mg.CONFIGURABLE,Dg=vg,Vc=_g,Fg=Vc.enforce,Lg=Vc.get,Ss=String,or=Object.defineProperty,zg=Zo("".slice),Vg=Zo("".replace),Ug=Zo([].join),qg=bo&&!Rg(function(){return or(function(){},"length",{value:8}).length!==8}),Hg=String(String).split("String"),Bg=Dc.exports=function(e,t,n){zg(Ss(t),0,7)==="Symbol("&&(t="["+Vg(Ss(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!Un(e,"name")||Ag&&e.name!==t)&&(bo?or(e,"name",{value:t,configurable:!0}):e.name=t),qg&&n&&Un(n,"arity")&&e.length!==n.arity&&or(e,"length",{value:n.arity});try{n&&Un(n,"constructor")&&n.constructor?bo&&or(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var r=Fg(e);return Un(r,"source")||(r.source=Ug(Hg,typeof t=="string"?t:"")),e};Function.prototype.toString=Bg(function(){return Pg(this)&&Lg(this).source||Dg(this)},"toString");var Gg=Dc.exports,Wg=Se,Yg=qt,Qg=Gg,Xg=Qo,Kg=function(e,t,n,r){r||(r={});var o=r.enumerable,a=r.name!==void 0?r.name:t;if(Wg(n)&&Qg(n,a,r),r.global)o?e[t]=n:Xg(t,n);else{try{r.unsafe?e[t]&&(o=!0):delete e[t]}catch{}o?e[t]=n:Yg.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return e},Jo={},Zg=Math.ceil,Jg=Math.floor,Uc=Math.trunc||function(t){var n=+t;return(n>0?Jg:Zg)(n)},eb=Uc,Nn=function(e){var t=+e;return t!==t||t===0?0:eb(t)},tb=Nn,nb=Math.max,rb=Math.min,ib=function(e,t){var n=tb(e);return n<0?nb(n+t,0):rb(n,t)},ob=Nn,ab=Math.min,sb=function(e){var t=ob(e);return t>0?ab(t,9007199254740991):0},ub=sb,lb=function(e){return ub(e.length)},cb=Wo,fb=ib,db=lb,Cs=function(e){return function(t,n,r){var o=cb(t),a=db(o);if(a===0)return!e&&-1;var s=fb(r,a),u;if(e&&n!==n){for(;a>s;)if(u=o[s++],u!==u)return!0}else for(;a>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return!e&&-1}},hb={includes:Cs(!0),indexOf:Cs(!1)},mb=ae,_i=Xe,pb=Wo,gb=hb.indexOf,bb=Lc,Ns=mb([].push),vb=function(e,t){var n=pb(e),r=0,o=[],a;for(a in n)!_i(bb,a)&&_i(n,a)&&Ns(o,a);for(;t.length>r;)_i(n,a=t[r++])&&(~gb(o,a)||Ns(o,a));return o},yb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xb=vb,wb=yb,kb=wb.concat("length","prototype");Jo.f=Object.getOwnPropertyNames||function(t){return xb(t,kb)};var qc={};qc.f=Object.getOwnPropertySymbols;var Tb=Tc,Ob=ae,$b=Jo,Mb=qc,jb=Pc,Sb=Ob([].concat),Cb=Tb("Reflect","ownKeys")||function(t){var n=$b.f(jb(t)),r=Mb.f;return r?Sb(n,r(t)):n},Is=Xe,Nb=Cb,Ib=zr,Eb=qt,_b=function(e,t,n){for(var r=Nb(t),o=Eb.f,a=Ib.f,s=0;s<r.length;s++){var u=r[s];!Is(e,u)&&!(n&&Is(n,u))&&o(e,u,a(t,u))}},Rb=fe,Pb=Se,Ab=/#|\.prototype\./,In=function(e,t){var n=Fb[Db(e)];return n===zb?!0:n===Lb?!1:Pb(t)?Rb(t):!!t},Db=In.normalize=function(e){return String(e).replace(Ab,".").toLowerCase()},Fb=In.data={},Lb=In.NATIVE="N",zb=In.POLYFILL="P",Hc=In,qn=ce,Vb=zr.f,Ub=Ac,qb=Kg,Hb=Qo,Bb=_b,Gb=Hc,K=function(e,t){var n=e.target,r=e.global,o=e.stat,a,s,u,c,l,d;if(r?s=qn:o?s=qn[n]||Hb(n,{}):s=qn[n]&&qn[n].prototype,s)for(u in t){if(l=t[u],e.dontCallGetSet?(d=Vb(s,u),c=d&&d.value):c=s[u],a=Gb(r?u:n+(o?".":"#")+u,e.forced),!a&&c!==void 0){if(typeof l==typeof c)continue;Bb(l,c)}(e.sham||c&&c.sham)&&Ub(l,"sham",!0),qb(s,u,l,e)}},Wb=Math.log,Bc=Math.log1p||function(t){var n=+t;return n>-1e-8&&n<1e-8?n-n*n/2:Wb(1+n)},Yb=K,Qb=Bc,Ri=Math.acosh,Xb=Math.log,Es=Math.sqrt,Kb=Math.LN2,Zb=!Ri||Math.floor(Ri(Number.MAX_VALUE))!==710||Ri(1/0)!==1/0;Yb({target:"Math",stat:!0,forced:Zb},{acosh:function(t){var n=+t;return n<1?NaN:n>9490626562425156e-8?Xb(n)+Kb:Qb(n-1+Es(n-1)*Es(n+1))}});var Jb=K,_s=Math.asinh,ev=Math.log,tv=Math.sqrt;function Gc(e){var t=+e;return!isFinite(t)||t===0?t:t<0?-Gc(-t):ev(t+tv(t*t+1))}var nv=!(_s&&1/_s(0)>0);Jb({target:"Math",stat:!0,forced:nv},{asinh:Gc});var rv=K,Rs=Math.atanh,iv=Math.log,ov=!(Rs&&1/Rs(-0)<0);rv({target:"Math",stat:!0,forced:ov},{atanh:function(t){var n=+t;return n===0?n:iv((1+n)/(1-n))/2}});var ea=Math.sign||function(t){var n=+t;return n===0||n!==n?n:n<0?-1:1},av=K,sv=ea,uv=Math.abs,lv=Math.pow;av({target:"Math",stat:!0},{cbrt:function(t){var n=+t;return sv(n)*lv(uv(n),1/3)}});var cv=K,fv=Math.floor,dv=Math.log,hv=Math.LOG2E;cv({target:"Math",stat:!0},{clz32:function(t){var n=t>>>0;return n?31-fv(dv(n+.5)*hv):32}});var Xt=Math.expm1,mv=Math.exp,Ur=!Xt||Xt(10)>22025.465794806718||Xt(10)<22025.465794806718||Xt(-2e-17)!==-2e-17?function(t){var n=+t;return n===0?n:n>-1e-6&&n<1e-6?n+n*n/2:mv(n)-1}:Xt,pv=K,gv=Ur,Ps=Math.cosh,bv=Math.abs,Pi=Math.E,vv=!Ps||Ps(710)===1/0;pv({target:"Math",stat:!0,forced:vv},{cosh:function(t){var n=gv(bv(t)-1)+1;return(n+1/(n*Pi*Pi))*(Pi/2)}});var yv=K,As=Ur;yv({target:"Math",stat:!0,forced:As!==Math.expm1},{expm1:As});var xv=2220446049250313e-31,Ds=1/xv,wv=function(e){return e+Ds-Ds},kv=ea,Tv=wv,Ov=Math.abs,$v=2220446049250313e-31,Mv=function(e,t,n,r){var o=+e,a=Ov(o),s=kv(o);if(a<r)return s*Tv(a/r/t)*r*t;var u=(1+t/$v)*a,c=u-(u-a);return c>n||c!==c?s*(1/0):s*c},jv=Mv,Sv=11920928955078125e-23,Cv=34028234663852886e22,Nv=11754943508222875e-54,Iv=Math.fround||function(t){return jv(t,Sv,Cv,Nv)},Ev=K,_v=Iv;Ev({target:"Math",stat:!0},{fround:_v});var Rv=K,Fs=Math.hypot,Pv=Math.abs,Av=Math.sqrt,Dv=!!Fs&&Fs(1/0,NaN)!==1/0;Rv({target:"Math",stat:!0,arity:2,forced:Dv},{hypot:function(t,n){for(var r=0,o=0,a=arguments.length,s=0,u,c;o<a;)u=Pv(arguments[o++]),s<u?(c=s/u,r=r*c*c+1,s=u):u>0?(c=u/s,r+=c*c):r+=u;return s===1/0?1/0:s*Av(r)}});var Fv=K,Lv=fe,Ls=Math.imul,zv=Lv(function(){return Ls(4294967295,5)!==-5||Ls.length!==2});Fv({target:"Math",stat:!0,forced:zv},{imul:function(t,n){var r=65535,o=+t,a=+n,s=r&o,u=r&a;return 0|s*u+((r&o>>>16)*u+s*(r&a>>>16)<<16>>>0)}});var Vv=Math.log,Uv=Math.LOG10E,Wc=Math.log10||function(t){return Vv(t)*Uv},qv=K,Hv=Wc;qv({target:"Math",stat:!0},{log10:Hv});var Bv=K,Gv=Bc;Bv({target:"Math",stat:!0},{log1p:Gv});var Wv=Math.log,Yv=Math.LN2,Qv=Math.log2||function(t){return Wv(t)/Yv},Xv=K,Kv=Qv;Xv({target:"Math",stat:!0},{log2:Kv});var Zv=K,Jv=ea;Zv({target:"Math",stat:!0},{sign:Jv});var ey=K,ty=fe,zs=Ur,ny=Math.abs,Vs=Math.exp,ry=Math.E,iy=ty(function(){return Math.sinh(-2e-17)!==-2e-17});ey({target:"Math",stat:!0,forced:iy},{sinh:function(t){var n=+t;return ny(n)<1?(zs(n)-zs(-n))/2:(Vs(n-1)-Vs(-n-1))*(ry/2)}});var oy=K,Us=Ur,qs=Math.exp;oy({target:"Math",stat:!0},{tanh:function(t){var n=+t,r=Us(n),o=Us(-n);return r===1/0?1:o===1/0?-1:(r-o)/(qs(n)+qs(-n))}});var ay=qt.f,sy=Xe,uy=Vr,Hs=uy("toStringTag"),ly=function(e,t,n){e&&!n&&(e=e.prototype),e&&!sy(e,Hs)&&ay(e,Hs,{configurable:!0,value:t})},cy=ly;cy(Math,"Math",!0);var fy=K,dy=Uc;fy({target:"Math",stat:!0},{trunc:dy});var hy=ce,ta=hy,my=ta;my.Math;var py=ae,gy=Sc,by=function(e,t,n){try{return py(gy(Object.getOwnPropertyDescriptor(e,t)[n]))}catch{}},vy=Qe,yy=function(e){return vy(e)||e===null},xy=yy,wy=String,ky=TypeError,Ty=function(e){if(xy(e))return e;throw new ky("Can't set "+wy(e)+" as a prototype")},Oy=by,$y=Qe,My=Cn,jy=Ty,Sy=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},n;try{n=Oy(Object.prototype,"__proto__","set"),n(t,[]),e=t instanceof Array}catch{}return function(o,a){return My(o),jy(a),$y(o)&&(e?n(o,a):o.__proto__=a),o}}():void 0),Cy=Se,Ny=Qe,Bs=Sy,Iy=function(e,t,n){var r,o;return Bs&&Cy(r=t.constructor)&&r!==n&&Ny(o=r.prototype)&&o!==n.prototype&&Bs(e,o),e},Ey=ae,qr=Ey(1 .valueOf),_y=Vr,Ry=_y("toStringTag"),Yc={};Yc[Ry]="z";var Py=String(Yc)==="[object z]",Ay=Py,Dy=Se,ar=wc,Fy=Vr,Ly=Fy("toStringTag"),zy=Object,Vy=ar(function(){return arguments}())==="Arguments",Uy=function(e,t){try{return e[t]}catch{}},qy=Ay?ar:function(e){var t,n,r;return e===void 0?"Undefined":e===null?"Null":typeof(n=Uy(t=zy(e),Ly))=="string"?n:Vy?ar(t):(r=ar(t))==="Object"&&Dy(t.callee)?"Arguments":r},Hy=qy,By=String,Hr=function(e){if(Hy(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return By(e)},na=` \v\f\r \u2028\u2029\uFEFF`,Gy=ae,Wy=Cn,Yy=Hr,vo=na,Gs=Gy("".replace),Qy=RegExp("^["+vo+"]+"),Xy=RegExp("(^|[^"+vo+"])["+vo+"]+$"),Ai=function(e){return function(t){var n=Yy(Wy(t));return e&1&&(n=Gs(n,Qy,"")),e&2&&(n=Gs(n,Xy,"$1")),n}},ra={start:Ai(1),end:Ai(2),trim:Ai(3)},Ky=K,Qc=up,Zy=rt,Xc=ce,Kc=ta,Zc=ae,Jy=Hc,Ws=Xe,e0=Iy,t0=Oc,n0=Yo,Jc=Ec,r0=fe,i0=Jo.f,o0=zr.f,a0=qt.f,s0=qr,u0=ra.trim,Br="Number",Nt=Xc[Br];Kc[Br];var ia=Nt.prototype,l0=Xc.TypeError,c0=Zc("".slice),Hn=Zc("".charCodeAt),f0=function(e){var t=Jc(e,"number");return typeof t=="bigint"?t:d0(t)},d0=function(e){var t=Jc(e,"number"),n,r,o,a,s,u,c,l;if(n0(t))throw new l0("Cannot convert a Symbol value to a number");if(typeof t=="string"&&t.length>2){if(t=u0(t),n=Hn(t,0),n===43||n===45){if(r=Hn(t,2),r===88||r===120)return NaN}else if(n===48){switch(Hn(t,1)){case 66:case 98:o=2,a=49;break;case 79:case 111:o=8,a=55;break;default:return+t}for(s=c0(t,2),u=s.length,c=0;c<u;c++)if(l=Hn(s,c),l<48||l>a)return NaN;return parseInt(s,o)}}return+t},oa=Jy(Br,!Nt(" 0o1")||!Nt("0b1")||Nt("+0x1")),h0=function(e){return t0(ia,e)&&r0(function(){s0(e)})},Gr=function(t){var n=arguments.length<1?0:Nt(f0(t));return h0(this)?e0(Object(n),this,Gr):n};Gr.prototype=ia;oa&&!Qc&&(ia.constructor=Gr);Ky({global:!0,constructor:!0,wrap:!0,forced:oa},{Number:Gr});var m0=function(e,t){for(var n=Zy?i0(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),r=0,o;n.length>r;r++)Ws(t,o=n[r])&&!Ws(e,o)&&a0(e,o,o0(t,o))};(oa||Qc)&&m0(Kc[Br],Nt);var p0=K;p0({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var g0=ce,b0=g0.isFinite,v0=Number.isFinite||function(t){return typeof t=="number"&&b0(t)},y0=K,x0=v0;y0({target:"Number",stat:!0},{isFinite:x0});var w0=Qe,k0=Math.floor,ef=Number.isInteger||function(t){return!w0(t)&&isFinite(t)&&k0(t)===t},T0=K,O0=ef;T0({target:"Number",stat:!0},{isInteger:O0});var $0=K;$0({target:"Number",stat:!0},{isNaN:function(t){return t!==t}});var M0=K,j0=ef,S0=Math.abs;M0({target:"Number",stat:!0},{isSafeInteger:function(t){return j0(t)&&S0(t)<=9007199254740991}});var C0=K;C0({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991});var N0=K;N0({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var tf=ce,I0=fe,E0=ae,_0=Hr,R0=ra.trim,P0=na,A0=E0("".charAt),vr=tf.parseFloat,Ys=tf.Symbol,Qs=Ys&&Ys.iterator,D0=1/vr(P0+"-0")!==-1/0||Qs&&!I0(function(){vr(Object(Qs))}),F0=D0?function(t){var n=R0(_0(t)),r=vr(n);return r===0&&A0(n,0)==="-"?-0:r}:vr,L0=K,Xs=F0;L0({target:"Number",stat:!0,forced:Number.parseFloat!==Xs},{parseFloat:Xs});var nf=ce,z0=fe,V0=ae,U0=Hr,q0=ra.trim,Ks=na,sn=nf.parseInt,Zs=nf.Symbol,Js=Zs&&Zs.iterator,rf=/^[+-]?0x/i,H0=V0(rf.exec),B0=sn(Ks+"08")!==8||sn(Ks+"0x16")!==22||Js&&!z0(function(){sn(Object(Js))}),G0=B0?function(t,n){var r=q0(U0(t));return sn(r,n>>>0||(H0(rf,r)?16:10))}:sn,W0=K,eu=G0;W0({target:"Number",stat:!0,forced:Number.parseInt!==eu},{parseInt:eu});var Y0=Nn,Q0=Hr,X0=Cn,K0=RangeError,of=function(t){var n=Q0(X0(this)),r="",o=Y0(t);if(o<0||o===1/0)throw new K0("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(n+=n))o&1&&(r+=n);return r},Z0=K,aa=ae,J0=Nn,ex=qr,tx=of,nx=Wc,yo=fe,rx=RangeError,tu=String,ix=isFinite,ox=Math.abs,ax=Math.floor,nu=Math.pow,sx=Math.round,Le=aa(1 .toExponential),ux=aa(tx),ru=aa("".slice),af=Le(-69e-12,4)==="-6.9000e-11"&&Le(1.255,2)==="1.25e+0"&&Le(12345,3)==="1.235e+4"&&Le(25,0)==="3e+1",lx=function(){return yo(function(){Le(1,1/0)})&&yo(function(){Le(1,-1/0)})},cx=function(){return!yo(function(){Le(1/0,1/0),Le(NaN,1/0)})},fx=!af||!lx()||!cx();Z0({target:"Number",proto:!0,forced:fx},{toExponential:function(t){var n=ex(this);if(t===void 0)return Le(n);var r=J0(t);if(!ix(n))return String(n);if(r<0||r>20)throw new rx("Incorrect fraction digits");if(af)return Le(n,r);var o="",a,s,u,c;if(n<0&&(o="-",n=-n),n===0)s=0,a=ux("0",r+1);else{var l=nx(n);s=ax(l);var d=nu(10,s-r),f=sx(n/d);2*n>=(2*f+1)*d&&(f+=1),f>=nu(10,r+1)&&(f/=10,s+=1),a=tu(f)}return r!==0&&(a=ru(a,0,1)+"."+ru(a,1)),s===0?(u="+",c="0"):(u=s>0?"+":"-",c=tu(ox(s))),a+="e"+u+c,o+a}});var dx=K,sa=ae,hx=Nn,mx=qr,px=of,iu=fe,gx=RangeError,sf=String,uf=Math.floor,xo=sa(px),ou=sa("".slice),Kt=sa(1 .toFixed),St=function(e,t,n){return t===0?n:t%2===1?St(e,t-1,n*e):St(e*e,t/2,n)},bx=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t},Tt=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=uf(o/1e7)},Di=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=uf(r/t),r=r%t*1e7},au=function(e){for(var t=6,n="";--t>=0;)if(n!==""||t===0||e[t]!==0){var r=sf(e[t]);n=n===""?r:n+xo("0",7-r.length)+r}return n},vx=iu(function(){return Kt(8e-5,3)!=="0.000"||Kt(.9,0)!=="1"||Kt(1.255,2)!=="1.25"||Kt(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!iu(function(){Kt({})});dx({target:"Number",proto:!0,forced:vx},{toFixed:function(t){var n=mx(this),r=hx(t),o=[0,0,0,0,0,0],a="",s="0",u,c,l,d;if(r<0||r>20)throw new gx("Incorrect fraction digits");if(n!==n)return"NaN";if(n<=-1e21||n>=1e21)return sf(n);if(n<0&&(a="-",n=-n),n>1e-21)if(u=bx(n*St(2,69,1))-69,c=u<0?n*St(2,-u,1):n/St(2,u,1),c*=4503599627370496,u=52-u,u>0){for(Tt(o,0,c),l=r;l>=7;)Tt(o,1e7,0),l-=7;for(Tt(o,St(10,l,1),0),l=u-1;l>=23;)Di(o,1<<23),l-=23;Di(o,1<<l),Tt(o,1,1),Di(o,2),s=au(o)}else Tt(o,0,c),Tt(o,1<<-u,0),s=au(o)+xo("0",r);return r>0?(d=s.length,s=a+(d<=r?"0."+xo("0",r-d)+s:ou(s,0,d-r)+"."+ou(s,d-r))):s=a+s,s}});var yx=K,xx=ae,su=fe,uu=qr,yr=xx(1 .toPrecision),wx=su(function(){return yr(1,void 0)!=="1"})||!su(function(){yr({})});yx({target:"Number",proto:!0,forced:wx},{toPrecision:function(t){return t===void 0?yr(uu(this)):yr(uu(this),t)}});var kx=ta;kx.Number;var Tx={};if(!(Object.setPrototypeOf||Tx.__proto__)){var Ox=Object.getPrototypeOf;Object.getPrototypeOf=function(e){return e.__proto__?e.__proto__:Ox.call(Object,e)}}var $x=typeof Te=="object"&&Te&&Te.Object===Object&&Te,Mx=$x,jx=Mx,Sx=typeof self=="object"&&self&&self.Object===Object&&self,Cx=jx||Sx||Function("return this")(),Wr=Cx,Nx=Wr,Ix=Nx.Symbol,ua=Ix,lu=ua,lf=Object.prototype,Ex=lf.hasOwnProperty,_x=lf.toString,Zt=lu?lu.toStringTag:void 0;function Rx(e){var t=Ex.call(e,Zt),n=e[Zt];try{e[Zt]=void 0;var r=!0}catch{}var o=_x.call(e);return r&&(t?e[Zt]=n:delete e[Zt]),o}var Px=Rx,Ax=Object.prototype,Dx=Ax.toString;function Fx(e){return Dx.call(e)}var Lx=Fx,cu=ua,zx=Px,Vx=Lx,Ux="[object Null]",qx="[object Undefined]",fu=cu?cu.toStringTag:void 0;function Hx(e){return e==null?e===void 0?qx:Ux:fu&&fu in Object(e)?zx(e):Vx(e)}var la=Hx,Bx=Array.isArray,Gx=Bx;function Wx(e){return e!=null&&typeof e=="object"}var cf=Wx,Yx=la,Qx=Gx,Xx=cf,Kx="[object String]";function Zx(e){return typeof e=="string"||!Qx(e)&&Xx(e)&&Yx(e)==Kx}var Jx=Zx;const e1=Xl(Jx);function t1(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yr=t1,n1=la,r1=Yr,i1="[object AsyncFunction]",o1="[object Function]",a1="[object GeneratorFunction]",s1="[object Proxy]";function u1(e){if(!r1(e))return!1;var t=n1(e);return t==o1||t==a1||t==i1||t==s1}var l1=u1,c1=la,f1=cf,d1="[object Symbol]";function h1(e){return typeof e=="symbol"||f1(e)&&c1(e)==d1}var m1=h1,p1=Wr,g1=p1["__core-js_shared__"],b1=g1,Fi=b1,du=function(){var e=/[^.]+$/.exec(Fi&&Fi.keys&&Fi.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function v1(e){return!!du&&du in e}var y1=v1,x1=Function.prototype,w1=x1.toString;function k1(e){if(e!=null){try{return w1.call(e)}catch{}try{return e+""}catch{}}return""}var T1=k1,O1=l1,$1=y1,M1=Yr,j1=T1,S1=/[\\^$.*+?()[\]{}|]/g,C1=/^\[object .+?Constructor\]$/,N1=Function.prototype,I1=Object.prototype,E1=N1.toString,_1=I1.hasOwnProperty,R1=RegExp("^"+E1.call(_1).replace(S1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function P1(e){if(!M1(e)||$1(e))return!1;var t=O1(e)?R1:C1;return t.test(j1(e))}var A1=P1;function D1(e,t){return e==null?void 0:e[t]}var F1=D1,L1=A1,z1=F1;function V1(e,t){var n=z1(e,t);return L1(n)?n:void 0}var ff=V1,U1=ff,q1=U1(Object,"create"),Qr=q1,hu=Qr;function H1(){this.__data__=hu?hu(null):{},this.size=0}var B1=H1;function G1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var W1=G1,Y1=Qr,Q1="__lodash_hash_undefined__",X1=Object.prototype,K1=X1.hasOwnProperty;function Z1(e){var t=this.__data__;if(Y1){var n=t[e];return n===Q1?void 0:n}return K1.call(t,e)?t[e]:void 0}var J1=Z1,ew=Qr,tw=Object.prototype,nw=tw.hasOwnProperty;function rw(e){var t=this.__data__;return ew?t[e]!==void 0:nw.call(t,e)}var iw=rw,ow=Qr,aw="__lodash_hash_undefined__";function sw(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ow&&t===void 0?aw:t,this}var uw=sw,lw=B1,cw=W1,fw=J1,dw=iw,hw=uw;function Ht(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ht.prototype.clear=lw;Ht.prototype.delete=cw;Ht.prototype.get=fw;Ht.prototype.has=dw;Ht.prototype.set=hw;var mw=Ht;function pw(){this.__data__=[],this.size=0}var gw=pw;function bw(e,t){return e===t||e!==e&&t!==t}var vw=bw,yw=vw;function xw(e,t){for(var n=e.length;n--;)if(yw(e[n][0],t))return n;return-1}var Xr=xw,ww=Xr,kw=Array.prototype,Tw=kw.splice;function Ow(e){var t=this.__data__,n=ww(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Tw.call(t,n,1),--this.size,!0}var $w=Ow,Mw=Xr;function jw(e){var t=this.__data__,n=Mw(t,e);return n<0?void 0:t[n][1]}var Sw=jw,Cw=Xr;function Nw(e){return Cw(this.__data__,e)>-1}var Iw=Nw,Ew=Xr;function _w(e,t){var n=this.__data__,r=Ew(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Rw=_w,Pw=gw,Aw=$w,Dw=Sw,Fw=Iw,Lw=Rw;function Bt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bt.prototype.clear=Pw;Bt.prototype.delete=Aw;Bt.prototype.get=Dw;Bt.prototype.has=Fw;Bt.prototype.set=Lw;var zw=Bt,Vw=ff,Uw=Wr,qw=Vw(Uw,"Map"),Hw=qw,mu=mw,Bw=zw,Gw=Hw;function Ww(){this.size=0,this.__data__={hash:new mu,map:new(Gw||Bw),string:new mu}}var Yw=Ww;function Qw(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Xw=Qw,Kw=Xw;function Zw(e,t){var n=e.__data__;return Kw(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Kr=Zw,Jw=Kr;function ek(e){var t=Jw(this,e).delete(e);return this.size-=t?1:0,t}var tk=ek,nk=Kr;function rk(e){return nk(this,e).get(e)}var ik=rk,ok=Kr;function ak(e){return ok(this,e).has(e)}var sk=ak,uk=Kr;function lk(e,t){var n=uk(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var ck=lk,fk=Yw,dk=tk,hk=ik,mk=sk,pk=ck;function Gt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gt.prototype.clear=fk;Gt.prototype.delete=dk;Gt.prototype.get=hk;Gt.prototype.has=mk;Gt.prototype.set=pk;var gk=Gt,df=gk,bk="Expected a function";function ca(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(bk);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var s=e.apply(this,r);return n.cache=a.set(o,s)||a,s};return n.cache=new(ca.Cache||df),n}ca.Cache=df;var vk=ca,yk=vk,xk=500;function wk(e){var t=yk(e,function(r){return n.size===xk&&n.clear(),r}),n=t.cache;return t}var kk=wk,Tk=kk,Ok=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$k=/\\(\\)?/g;Tk(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ok,function(n,r,o,a){t.push(o?a.replace($k,"$1"):r||n)}),t});var pu=ua,gu=pu?pu.prototype:void 0;gu&&gu.toString;var Bn=function(t){return e1(t)&&t.indexOf("%")===t.length-1},Mk=Wr,jk=function(){return Mk.Date.now()},Sk=jk,Ck=/\s/;function Nk(e){for(var t=e.length;t--&&Ck.test(e.charAt(t)););return t}var Ik=Nk,Ek=Ik,_k=/^\s+/;function Rk(e){return e&&e.slice(0,Ek(e)+1).replace(_k,"")}var Pk=Rk,Ak=Pk,bu=Yr,Dk=m1,vu=0/0,Fk=/^[-+]0x[0-9a-f]+$/i,Lk=/^0b[01]+$/i,zk=/^0o[0-7]+$/i,Vk=parseInt;function Uk(e){if(typeof e=="number")return e;if(Dk(e))return vu;if(bu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=bu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ak(e);var n=Lk.test(e);return n||zk.test(e)?Vk(e.slice(2),n?2:8):Fk.test(e)?vu:+e}var qk=Uk,Hk=Yr,Li=Sk,yu=qk,Bk="Expected a function",Gk=Math.max,Wk=Math.min;function Yk(e,t,n){var r,o,a,s,u,c,l=0,d=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(Bk);t=yu(t)||0,Hk(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Gk(yu(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h);function m(w){var C=r,P=o;return r=o=void 0,l=w,s=e.apply(P,C),s}function p(w){return l=w,u=setTimeout(y,t),d?m(w):s}function g(w){var C=w-c,P=w-l,A=t-C;return f?Wk(A,a-P):A}function b(w){var C=w-c,P=w-l;return c===void 0||C>=t||C<0||f&&P>=a}function y(){var w=Li();if(b(w))return O(w);u=setTimeout(y,g(w))}function O(w){return u=void 0,h&&r?m(w):(r=o=void 0,s)}function T(){u!==void 0&&clearTimeout(u),l=0,r=c=o=u=void 0}function $(){return u===void 0?s:O(Li())}function j(){var w=Li(),C=b(w);if(r=arguments,o=this,c=w,C){if(u===void 0)return p(c);if(f)return clearTimeout(u),u=setTimeout(y,t),m(c)}return u===void 0&&(u=setTimeout(y,t)),s}return j.cancel=T,j.flush=$,j}var Qk=Yk;const Xk=Xl(Qk);var hf={},fa={},mf=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(o,a){return o[0]===n?(r=a,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),o=this.__entries__[r];return o&&o[1]},t.prototype.set=function(n,r){var o=e(this.__entries__,n);~o?this.__entries__[o][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,o=e(r,n);~o&&r.splice(o,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var o=0,a=this.__entries__;o<a.length;o++){var s=a[o];n.call(r,s[1],s[0])}},t}()}(),wo=typeof window<"u"&&typeof document<"u"&&window.document===document,xr=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),Kk=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(xr):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),Zk=2;function Jk(e,t){var n=!1,r=!1,o=0;function a(){n&&(n=!1,e()),r&&u()}function s(){Kk(a)}function u(){var c=Date.now();if(n){if(c-o<Zk)return;r=!0}else n=!0,r=!1,setTimeout(s,t);o=c}return u}var eT=20,tT=["top","right","bottom","left","width","height","size","weight"],nT=typeof MutationObserver<"u",rT=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Jk(this.refresh.bind(this),eT)}return e.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},e.prototype.removeObserver=function(t){var n=this.observers_,r=n.indexOf(t);~r&&n.splice(r,1),!n.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},e.prototype.updateObservers_=function(){var t=this.observers_.filter(function(n){return n.gatherActive(),n.hasActive()});return t.forEach(function(n){return n.broadcastActive()}),t.length>0},e.prototype.connect_=function(){!wo||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),nT?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!wo||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,o=tT.some(function(a){return!!~r.indexOf(a)});o&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),pf=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},Rt=function(e){var t=e&&e.ownerDocument&&e.ownerDocument.defaultView;return t||xr},gf=Zr(0,0,0,0);function wr(e){return parseFloat(e)||0}function xu(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(r,o){var a=e["border-"+o+"-width"];return r+wr(a)},0)}function iT(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var a=o[r],s=e["padding-"+a];n[a]=wr(s)}return n}function oT(e){var t=e.getBBox();return Zr(0,0,t.width,t.height)}function aT(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return gf;var r=Rt(e).getComputedStyle(e),o=iT(r),a=o.left+o.right,s=o.top+o.bottom,u=wr(r.width),c=wr(r.height);if(r.boxSizing==="border-box"&&(Math.round(u+a)!==t&&(u-=xu(r,"left","right")+a),Math.round(c+s)!==n&&(c-=xu(r,"top","bottom")+s)),!uT(e)){var l=Math.round(u+a)-t,d=Math.round(c+s)-n;Math.abs(l)!==1&&(u-=l),Math.abs(d)!==1&&(c-=d)}return Zr(o.left,o.top,u,c)}var sT=function(){return typeof SVGGraphicsElement<"u"?function(e){return e instanceof Rt(e).SVGGraphicsElement}:function(e){return e instanceof Rt(e).SVGElement&&typeof e.getBBox=="function"}}();function uT(e){return e===Rt(e).document.documentElement}function lT(e){return wo?sT(e)?oT(e):aT(e):gf}function cT(e){var t=e.x,n=e.y,r=e.width,o=e.height,a=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,s=Object.create(a.prototype);return pf(s,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),s}function Zr(e,t,n,r){return{x:e,y:t,width:n,height:r}}var fT=function(){function e(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Zr(0,0,0,0),this.target=t}return e.prototype.isActive=function(){var t=lT(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},e}(),dT=function(){function e(t,n){var r=cT(n);pf(this,{target:t,contentRect:r})}return e}(),hT=function(){function e(t,n,r){if(this.activeObservations_=[],this.observations_=new mf,typeof t!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r}return e.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Rt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new fT(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Rt(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new dT(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),bf=typeof WeakMap<"u"?new WeakMap:new mf,vf=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=rT.getInstance(),r=new hT(t,n,this);bf.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){vf.prototype[e]=function(){var t;return(t=bf.get(this))[e].apply(t,arguments)}});var mT=function(){return typeof xr.ResizeObserver<"u"?xr.ResizeObserver:vf}();const pT=Object.freeze(Object.defineProperty({__proto__:null,default:mT},Symbol.toStringTag,{value:"Module"})),gT=ph(pT);var yf="Expected a function",wu=0/0,bT="[object Symbol]",vT=/^\s+|\s+$/g,yT=/^[-+]0x[0-9a-f]+$/i,xT=/^0b[01]+$/i,wT=/^0o[0-7]+$/i,kT=parseInt,TT=typeof Te=="object"&&Te&&Te.Object===Object&&Te,OT=typeof self=="object"&&self&&self.Object===Object&&self,$T=TT||OT||Function("return this")(),MT=Object.prototype,jT=MT.toString,ST=Math.max,CT=Math.min,zi=function(){return $T.Date.now()};function NT(e,t,n){var r,o,a,s,u,c,l=0,d=!1,f=!1,h=!0;if(typeof e!="function")throw new TypeError(yf);t=ku(t)||0,kr(n)&&(d=!!n.leading,f="maxWait"in n,a=f?ST(ku(n.maxWait)||0,t):a,h="trailing"in n?!!n.trailing:h);function m(w){var C=r,P=o;return r=o=void 0,l=w,s=e.apply(P,C),s}function p(w){return l=w,u=setTimeout(y,t),d?m(w):s}function g(w){var C=w-c,P=w-l,A=t-C;return f?CT(A,a-P):A}function b(w){var C=w-c,P=w-l;return c===void 0||C>=t||C<0||f&&P>=a}function y(){var w=zi();if(b(w))return O(w);u=setTimeout(y,g(w))}function O(w){return u=void 0,h&&r?m(w):(r=o=void 0,s)}function T(){u!==void 0&&clearTimeout(u),l=0,r=c=o=u=void 0}function $(){return u===void 0?s:O(zi())}function j(){var w=zi(),C=b(w);if(r=arguments,o=this,c=w,C){if(u===void 0)return p(c);if(f)return u=setTimeout(y,t),m(c)}return u===void 0&&(u=setTimeout(y,t)),s}return j.cancel=T,j.flush=$,j}function IT(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(yf);return kr(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),NT(e,t,{leading:r,maxWait:t,trailing:o})}function kr(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function ET(e){return!!e&&typeof e=="object"}function _T(e){return typeof e=="symbol"||ET(e)&&jT.call(e)==bT}function ku(e){if(typeof e=="number")return e;if(_T(e))return wu;if(kr(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=kr(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(vT,"");var n=xT.test(e);return n||wT.test(e)?kT(e.slice(2),n?2:8):yT.test(e)?wu:+e}var RT=IT;Object.defineProperty(fa,"__esModule",{value:!0});var PT=function(){function e(t,n){for(var r=0;r<n.length;r++){var o=n[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),xf=v,AT=En(xf),DT=gh,ut=En(DT),FT=gT,LT=En(FT),zT=wh,VT=En(zT),UT=RT,qT=En(UT);function En(e){return e&&e.__esModule?e:{default:e}}function HT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BT(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function GT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Tu={debounce:VT.default,throttle:qT.default},WT={position:"absolute",width:0,height:0,visibility:"hidden",display:"none"},da=function(e){GT(t,e);function t(n){HT(this,t);var r=BT(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));r.createResizeObserver=function(c){var l=r.props,d=l.handleWidth,f=l.handleHeight,h=l.onResize;c.forEach(function(m){var p=m.contentRect,g=p.width,b=p.height,y=d&&r.width!==g,O=f&&r.height!==b;!r.skipOnMount&&(y||O)&&h(g,b),r.width=g,r.height=b,r.skipOnMount=!1})};var o=n.skipOnMount,a=n.refreshMode,s=n.refreshRate;r.width=void 0,r.height=void 0,r.skipOnMount=o;var u=Tu[a]&&Tu[a](r.createResizeObserver,s)||r.createResizeObserver;return r.ro=new LT.default(u),r}return PT(t,[{key:"componentDidMount",value:function(){var r=this.props.resizableElementId,o=r?document.getElementById(r):this.el.parentElement;this.ro.observe(o)}},{key:"componentWillUnmount",value:function(){var r=this.props.resizableElementId,o=r?document.getElementById(r):this.el.parentElement;this.ro.unobserve(o)}},{key:"render",value:function(){var r=this;return AT.default.createElement("div",{style:WT,ref:function(a){r.el=a}})}}]),t}(xf.PureComponent);fa.default=da;da.propTypes={handleWidth:ut.default.bool,handleHeight:ut.default.bool,skipOnMount:ut.default.bool,refreshRate:ut.default.number,refreshMode:ut.default.string,resizableElementId:ut.default.string,onResize:ut.default.func};da.defaultProps={handleWidth:!1,handleHeight:!1,skipOnMount:!1,refreshRate:1e3,refreshMode:void 0,resizableElementId:"",onResize:function(t){return t}};Object.defineProperty(hf,"__esModule",{value:!0});var YT=fa,QT=XT(YT);function XT(e){return e&&e.__esModule?e:{default:e}}var KT=hf.default=QT.default,ZT=!0,Vi=function(t,n,r,o,a,s,u,c){if(ZT&&typeof console<"u"&&console.warn&&(n===void 0&&console.warn("LogUtils requires an error message argument"),!t))if(n===void 0)console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[r,o,a,s,u,c],d=0;console.warn(n.replace(/%s/g,function(){return l[d++]}))}};function sr(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?sr=function(n){return typeof n}:sr=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},sr(e)}function JT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ou(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function eO(e,t,n){return t&&Ou(e.prototype,t),n&&Ou(e,n),e}function tO(e,t){return t&&(sr(t)==="object"||typeof t=="function")?t:nO(e)}function nO(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ko(e){return ko=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ko(e)}function rO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&To(e,t)}function To(e,t){return To=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},To(e,t)}var Jr=function(e){rO(t,e);function t(n){var r;return JT(this,t),r=tO(this,ko(t).call(this,n)),r.updateDimensionsImmediate=function(){if(r.mounted){var o=r.getContainerSize();if(o){var a=r.state,s=a.containerWidth,u=a.containerHeight,c=o.containerWidth,l=o.containerHeight;(c!==s||l!==u)&&r.setState({containerWidth:c,containerHeight:l})}}},r.state={containerWidth:-1,containerHeight:-1},r.handleResize=n.debounce>0?Xk(r.updateDimensionsImmediate,n.debounce):r.updateDimensionsImmediate,r}return eO(t,[{key:"componentDidMount",value:function(){this.mounted=!0;var r=this.getContainerSize();r&&this.setState(r)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.container?{containerWidth:this.container.clientWidth,containerHeight:this.container.clientHeight}:null}},{key:"renderChart",value:function(){var r=this.state,o=r.containerWidth,a=r.containerHeight;if(o<0||a<0)return null;var s=this.props,u=s.aspect,c=s.width,l=s.height,d=s.minWidth,f=s.minHeight,h=s.maxHeight,m=s.children;Vi(Bn(c)||Bn(l),`The width(%s) and height(%s) are both fixed numbers, maybe you don't need to use a ResponsiveContainer.`,c,l),Vi(!u||u>0,"The aspect(%s) must be greater than zero.",u);var p=Bn(c)?o:c,g=Bn(l)?a:l;return u&&u>0&&(p?g=p/u:g&&(p=g*u),h&&g>h&&(g=h)),Vi(p>0||g>0,`The width(%s) and height(%s) of chart should be greater than 0, please check the style of container, or the props width(%s) and height(%s), or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the height and width.`,p,g,c,l,d,f),bi.cloneElement(m,{width:p,height:g})}},{key:"render",value:function(){var r=this,o=this.props,a=o.minWidth,s=o.minHeight,u=o.width,c=o.height,l=o.maxHeight,d=o.id,f=o.className,h={width:u,height:c,minWidth:a,minHeight:s,maxHeight:l};return bi.createElement("div",{id:d,className:yh("recharts-responsive-container",f),style:h,ref:function(p){r.container=p}},this.renderChart(),bi.createElement(KT,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize}))}}]),t}(v.Component);Jr.displayName="ResponsiveContainer";Jr.propTypes={aspect:i.number,width:i.oneOfType([i.string,i.number]),height:i.oneOfType([i.string,i.number]),minHeight:i.oneOfType([i.string,i.number]),minWidth:i.oneOfType([i.string,i.number]),maxHeight:i.oneOfType([i.string,i.number]),children:i.node.isRequired,debounce:i.number,id:i.oneOfType([i.string,i.number]),className:i.oneOfType([i.string,i.number])};Jr.defaultProps={width:"100%",height:"100%",debounce:0};const iO=Jr;var ha=Rn(),H=e=>_n(e,ha),ma=Rn();H.write=e=>_n(e,ma);var ei=Rn();H.onStart=e=>_n(e,ei);var pa=Rn();H.onFrame=e=>_n(e,pa);var ga=Rn();H.onFinish=e=>_n(e,ga);var It=[];H.setTimeout=(e,t)=>{const n=H.now()+t,r=()=>{const a=It.findIndex(s=>s.cancel==r);~a&&It.splice(a,1),et-=~a?1:0},o={time:n,handler:e,cancel:r};return It.splice(wf(n),0,o),et+=1,kf(),o};var wf=e=>~(~It.findIndex(t=>t.time>e)||~It.length);H.cancel=e=>{ei.delete(e),pa.delete(e),ga.delete(e),ha.delete(e),ma.delete(e)};H.sync=e=>{Oo=!0,H.batchedUpdates(e),Oo=!1};H.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...o){t=o,H.onStart(n)}return r.handler=e,r.cancel=()=>{ei.delete(n),t=null},r};var ba=typeof window<"u"?window.requestAnimationFrame:()=>{};H.use=e=>ba=e;H.now=typeof performance<"u"?()=>performance.now():Date.now;H.batchedUpdates=e=>e();H.catch=console.error;H.frameLoop="always";H.advance=()=>{H.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Of()};var Je=-1,et=0,Oo=!1;function _n(e,t){Oo?(t.delete(e),e(0)):(t.add(e),kf())}function kf(){Je<0&&(Je=0,H.frameLoop!=="demand"&&ba(Tf))}function oO(){Je=-1}function Tf(){~Je&&(ba(Tf),H.batchedUpdates(Of))}function Of(){const e=Je;Je=H.now();const t=wf(Je);if(t&&($f(It.splice(0,t),n=>n.handler()),et-=t),!et){oO();return}ei.flush(),ha.flush(e?Math.min(64,Je-e):16.667),pa.flush(),ma.flush(),ga.flush()}function Rn(){let e=new Set,t=e;return{add(n){et+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return et-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,et-=t.size,$f(t,r=>r(n)&&e.add(r)),et+=e.size,t=e)}}}function $f(e,t){e.forEach(n=>{try{t(n)}catch(r){H.catch(r)}})}var aO=Object.defineProperty,sO=(e,t)=>{for(var n in t)aO(e,n,{get:t[n],enumerable:!0})},je={};sO(je,{assign:()=>lO,colors:()=>tt,createStringInterpolator:()=>ya,skipAnimation:()=>jf,to:()=>Mf,willAdvance:()=>xa});function $o(){}var uO=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),N={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function Ue(e,t){if(N.arr(e)){if(!N.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var G=(e,t)=>e.forEach(t);function Ve(e,t,n){if(N.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var he=e=>N.und(e)?[]:N.arr(e)?e:[e];function un(e,t){if(e.size){const n=Array.from(e);e.clear(),G(n,t)}}var an=(e,...t)=>un(e,n=>n(...t)),va=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),ya,Mf,tt=null,jf=!1,xa=$o,lO=e=>{e.to&&(Mf=e.to),e.now&&(H.now=e.now),e.colors!==void 0&&(tt=e.colors),e.skipAnimation!=null&&(jf=e.skipAnimation),e.createStringInterpolator&&(ya=e.createStringInterpolator),e.requestAnimationFrame&&H.use(e.requestAnimationFrame),e.batchedUpdates&&(H.batchedUpdates=e.batchedUpdates),e.willAdvance&&(xa=e.willAdvance),e.frameLoop&&(H.frameLoop=e.frameLoop)},ln=new Set,ke=[],Ui=[],Tr=0,ti={get idle(){return!ln.size&&!ke.length},start(e){Tr>e.priority?(ln.add(e),H.onStart(cO)):(Sf(e),H(Mo))},advance:Mo,sort(e){if(Tr)H.onFrame(()=>ti.sort(e));else{const t=ke.indexOf(e);~t&&(ke.splice(t,1),Cf(e))}},clear(){ke=[],ln.clear()}};function cO(){ln.forEach(Sf),ln.clear(),H(Mo)}function Sf(e){ke.includes(e)||Cf(e)}function Cf(e){ke.splice(fO(ke,t=>t.priority>e.priority),0,e)}function Mo(e){const t=Ui;for(let n=0;n<ke.length;n++){const r=ke[n];Tr=r.priority,r.idle||(xa(r),r.advance(e),r.idle||t.push(r))}return Tr=0,Ui=ke,Ui.length=0,ke=t,ke.length>0}function fO(e,t){const n=e.findIndex(t);return n<0?e.length:n}var dO=(e,t,n)=>Math.min(Math.max(n,e),t),hO={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},_e="[-+]?\\d*\\.?\\d+",Or=_e+"%";function ni(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var mO=new RegExp("rgb"+ni(_e,_e,_e)),pO=new RegExp("rgba"+ni(_e,_e,_e,_e)),gO=new RegExp("hsl"+ni(_e,Or,Or)),bO=new RegExp("hsla"+ni(_e,Or,Or,_e)),vO=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,yO=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,xO=/^#([0-9a-fA-F]{6})$/,wO=/^#([0-9a-fA-F]{8})$/;function kO(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=xO.exec(e))?parseInt(t[1]+"ff",16)>>>0:tt&&tt[e]!==void 0?tt[e]:(t=mO.exec(e))?(Ot(t[1])<<24|Ot(t[2])<<16|Ot(t[3])<<8|255)>>>0:(t=pO.exec(e))?(Ot(t[1])<<24|Ot(t[2])<<16|Ot(t[3])<<8|ju(t[4]))>>>0:(t=vO.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=wO.exec(e))?parseInt(t[1],16)>>>0:(t=yO.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=gO.exec(e))?($u(Mu(t[1]),Gn(t[2]),Gn(t[3]))|255)>>>0:(t=bO.exec(e))?($u(Mu(t[1]),Gn(t[2]),Gn(t[3]))|ju(t[4]))>>>0:null}function qi(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function $u(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,a=qi(o,r,e+1/3),s=qi(o,r,e),u=qi(o,r,e-1/3);return Math.round(a*255)<<24|Math.round(s*255)<<16|Math.round(u*255)<<8}function Ot(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Mu(e){return(parseFloat(e)%360+360)%360/360}function ju(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function Gn(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Su(e){let t=kO(e);if(t===null)return e;t=t||0;const n=(t&4278190080)>>>24,r=(t&16711680)>>>16,o=(t&65280)>>>8,a=(t&255)/255;return`rgba(${n}, ${r}, ${o}, ${a})`}var gn=(e,t,n)=>{if(N.fun(e))return e;if(N.arr(e))return gn({range:e,output:t,extrapolate:n});if(N.str(e.output[0]))return ya(e);const r=e,o=r.output,a=r.range||[0,1],s=r.extrapolateLeft||r.extrapolate||"extend",u=r.extrapolateRight||r.extrapolate||"extend",c=r.easing||(l=>l);return l=>{const d=OO(l,a);return TO(l,a[d],a[d+1],o[d],o[d+1],c,s,u,r.map)}};function TO(e,t,n,r,o,a,s,u,c){let l=c?c(e):e;if(l<t){if(s==="identity")return l;s==="clamp"&&(l=t)}if(l>n){if(u==="identity")return l;u==="clamp"&&(l=n)}return r===o?r:t===n?e<=t?r:o:(t===-1/0?l=-l:n===1/0?l=l-t:l=(l-t)/(n-t),l=a(l),r===-1/0?l=-l:o===1/0?l=l+r:l=l*(o-r)+r,l)}function OO(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}var $O=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,o=t==="end"?Math.floor(r):Math.ceil(r);return dO(0,1,o/e)},$r=1.70158,Wn=$r*1.525,Cu=$r+1,Nu=2*Math.PI/3,Iu=2*Math.PI/4.5,Yn=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,MO={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>Cu*e*e*e-$r*e*e,easeOutBack:e=>1+Cu*Math.pow(e-1,3)+$r*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((Wn+1)*2*e-Wn)/2:(Math.pow(2*e-2,2)*((Wn+1)*(e*2-2)+Wn)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*Nu),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*Nu)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Iu))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Iu)/2+1,easeInBounce:e=>1-Yn(1-e),easeOutBounce:Yn,easeInOutBounce:e=>e<.5?(1-Yn(1-2*e))/2:(1+Yn(2*e-1))/2,steps:$O},bn=Symbol.for("FluidValue.get"),Pt=Symbol.for("FluidValue.observers"),we=e=>!!(e&&e[bn]),me=e=>e&&e[bn]?e[bn]():e,Eu=e=>e[Pt]||null;function jO(e,t){e.eventObserved?e.eventObserved(t):e(t)}function vn(e,t){const n=e[Pt];n&&n.forEach(r=>{jO(r,t)})}var Nf=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");SO(this,e)}},SO=(e,t)=>If(e,bn,t);function Wt(e,t){if(e[bn]){let n=e[Pt];n||If(e,Pt,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function yn(e,t){const n=e[Pt];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[Pt]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var If=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ur=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,CO=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,_u=new RegExp(`(${ur.source})(%|[a-z]+)`,"i"),NO=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,ri=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,Ef=e=>{const[t,n]=IO(e);if(!t||va())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const o=window.getComputedStyle(document.documentElement).getPropertyValue(n);return o||e}else{if(n&&ri.test(n))return Ef(n);if(n)return n}return e},IO=e=>{const t=ri.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]},Hi,EO=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,_f=e=>{Hi||(Hi=tt?new RegExp(`(${Object.keys(tt).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>me(a).replace(ri,Ef).replace(CO,Su).replace(Hi,Su)),n=t.map(a=>a.match(ur).map(Number)),o=n[0].map((a,s)=>n.map(u=>{if(!(s in u))throw Error('The arity of each "output" value must be equal');return u[s]})).map(a=>gn({...e,output:a}));return a=>{var c;const s=!_u.test(t[0])&&((c=t.find(l=>_u.test(l)))==null?void 0:c.replace(ur,""));let u=0;return t[0].replace(ur,()=>`${o[u++](a)}${s||""}`).replace(NO,EO)}},wa="react-spring: ",Rf=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${wa}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},_O=Rf(console.warn);function RO(){_O(`${wa}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var PO=Rf(console.warn);function AO(){PO(`${wa}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function ii(e){return N.str(e)&&(e[0]=="#"||/\d/.test(e)||!va()&&ri.test(e)||e in(tt||{}))}var ct=va()?v.useEffect:v.useLayoutEffect,DO=()=>{const e=v.useRef(!1);return ct(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Pf(){const e=v.useState()[1],t=DO();return()=>{t.current&&e(Math.random())}}function FO(e,t){const[n]=v.useState(()=>({inputs:t,result:e()})),r=v.useRef(),o=r.current;let a=o;return a?t&&a.inputs&&LO(t,a.inputs)||(a={inputs:t,result:e()}):a=n,v.useEffect(()=>{r.current=a,o==n&&(n.inputs=n.result=void 0)},[a]),a.result}function LO(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var Af=e=>v.useEffect(e,zO),zO=[];function VO(e){const t=v.useRef();return v.useEffect(()=>{t.current=e}),t.current}var xn=Symbol.for("Animated:node"),UO=e=>!!e&&e[xn]===e,Fe=e=>e&&e[xn],ka=(e,t)=>uO(e,xn,t),oi=e=>e&&e[xn]&&e[xn].getPayload(),Df=class{constructor(){ka(this,this)}getPayload(){return this.payload||[]}},Pn=class extends Df{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,N.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new Pn(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return N.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,N.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},wn=class extends Pn{constructor(e){super(0),this._string=null,this._toString=gn({output:[e,e]})}static create(e){return new wn(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(N.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=gn({output:[this.getValue(),e]})),this._value=0,super.reset()}},Mr={dependencies:null},ai=class extends Df{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return Ve(this.source,(n,r)=>{UO(n)?t[r]=n.getValue(e):we(n)?t[r]=me(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&G(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return Ve(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Mr.dependencies&&we(e)&&Mr.dependencies.add(e);const t=oi(e);t&&G(t,n=>this.add(n))}},Ff=class extends ai{constructor(e){super(e)}static create(e){return new Ff(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((n,r)=>n.setValue(e[r])).some(Boolean):(super.setValue(e.map(qO)),!0)}};function qO(e){return(ii(e)?wn:Pn).create(e)}function jo(e){const t=Fe(e);return t?t.constructor:N.arr(e)?Ff:ii(e)?wn:Pn}var Ru=(e,t)=>{const n=!N.fun(e)||e.prototype&&e.prototype.isReactComponent;return v.forwardRef((r,o)=>{const a=v.useRef(null),s=n&&v.useCallback(p=>{a.current=GO(o,p)},[o]),[u,c]=BO(r,t),l=Pf(),d=()=>{const p=a.current;if(n&&!p)return;(p?t.applyAnimatedValues(p,u.getValue(!0)):!1)===!1&&l()},f=new HO(d,c),h=v.useRef();ct(()=>(h.current=f,G(c,p=>Wt(p,f)),()=>{h.current&&(G(h.current.deps,p=>yn(p,h.current)),H.cancel(h.current.update))})),v.useEffect(d,[]),Af(()=>()=>{const p=h.current;G(p.deps,g=>yn(g,p))});const m=t.getComponentProps(u.getValue());return v.createElement(e,{...m,ref:s})})},HO=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&H.write(this.update)}};function BO(e,t){const n=new Set;return Mr.dependencies=n,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}),e=new ai(e),Mr.dependencies=null,[e,n]}function GO(e,t){return e&&(N.fun(e)?e(t):e.current=t),t}var Pu=Symbol.for("AnimatedComponent"),WO=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=o=>new ai(o),getComponentProps:r=o=>o}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},a=s=>{const u=Au(s)||"Anonymous";return N.str(s)?s=a[s]||(a[s]=Ru(s,o)):s=s[Pu]||(s[Pu]=Ru(s,o)),s.displayName=`Animated(${u})`,s};return Ve(e,(s,u)=>{N.arr(e)&&(u=Au(s)),a[u]=a(s)}),{animated:a}},Au=e=>N.str(e)?e:e&&N.str(e.displayName)?e.displayName:N.fun(e)&&e.name||null;function pe(e,...t){return N.fun(e)?e(...t):e}var cn=(e,t)=>e===!0||!!(t&&e&&(N.fun(e)?e(t):he(e).includes(t))),Lf=(e,t)=>N.obj(e)?t&&e[t]:e,zf=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,YO=e=>e,Ta=(e,t=YO)=>{let n=QO;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const a=t(e[o],o);N.und(a)||(r[o]=a)}return r},QO=["config","onProps","onStart","onChange","onPause","onResume","onRest"],XO={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function KO(e){const t={};let n=0;if(Ve(e,(r,o)=>{XO[o]||(t[o]=r,n++)}),n)return t}function Oa(e){const t=KO(e);if(t){const n={to:t};return Ve(e,(r,o)=>o in t||(n[o]=r)),n}return{...e}}function kn(e){return e=me(e),N.arr(e)?e.map(kn):ii(e)?je.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function ZO(e){for(const t in e)return!0;return!1}function So(e){return N.fun(e)||N.arr(e)&&N.obj(e[0])}function Du(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function JO(e,t){var n;t&&e.ref!==t&&((n=e.ref)==null||n.delete(e),t.add(e),e.ref=t)}var e$={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},Co={...e$.default,mass:1,damping:1,easing:MO.linear,clamp:!1},t$=class{constructor(){this.velocity=0,Object.assign(this,Co)}};function n$(e,t,n){n&&(n={...n},Fu(n,t),t={...n,...t}),Fu(e,t),Object.assign(e,t);for(const s in Co)e[s]==null&&(e[s]=Co[s]);let{frequency:r,damping:o}=e;const{mass:a}=e;return N.und(r)||(r<.01&&(r=.01),o<0&&(o=0),e.tension=Math.pow(2*Math.PI/r,2)*a,e.friction=4*Math.PI*o*a/r),e}function Fu(e,t){if(!N.und(t.decay))e.duration=void 0;else{const n=!N.und(t.tension)||!N.und(t.friction);(n||!N.und(t.frequency)||!N.und(t.damping)||!N.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}var Lu=[],r$=class{constructor(){this.changed=!1,this.values=Lu,this.toValues=null,this.fromValues=Lu,this.config=new t$,this.immediate=!1}};function Vf(e,{key:t,props:n,defaultProps:r,state:o,actions:a}){return new Promise((s,u)=>{let c,l,d=cn(n.cancel??(r==null?void 0:r.cancel),t);if(d)m();else{N.und(n.pause)||(o.paused=cn(n.pause,t));let p=r==null?void 0:r.pause;p!==!0&&(p=o.paused||cn(p,t)),c=pe(n.delay||0,t),p?(o.resumeQueue.add(h),a.pause()):(a.resume(),h())}function f(){o.resumeQueue.add(h),o.timeouts.delete(l),l.cancel(),c=l.time-H.now()}function h(){c>0&&!je.skipAnimation?(o.delayed=!0,l=H.setTimeout(m,c),o.pauseQueue.add(f),o.timeouts.add(l)):m()}function m(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(f),o.timeouts.delete(l),e<=(o.cancelId||0)&&(d=!0);try{a.start({...n,callId:e,cancel:d},s)}catch(p){u(p)}}})}var $a=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?Et(e.get()):t.every(n=>n.noop)?Uf(e.get()):Ie(e.get(),t.every(n=>n.finished)),Uf=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Ie=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Et=e=>({value:e,cancelled:!0,finished:!1});function qf(e,t,n,r){const{callId:o,parentId:a,onRest:s}=t,{asyncTo:u,promise:c}=n;return!a&&e===u&&!t.reset?c:n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const l=Ta(t,(b,y)=>y==="onRest"?void 0:b);let d,f;const h=new Promise((b,y)=>(d=b,f=y)),m=b=>{const y=o<=(n.cancelId||0)&&Et(r)||o!==n.asyncId&&Ie(r,!1);if(y)throw b.result=y,f(b),b},p=(b,y)=>{const O=new zu,T=new Vu;return(async()=>{if(je.skipAnimation)throw Tn(n),T.result=Ie(r,!1),f(T),T;m(O);const $=N.obj(b)?{...b}:{...y,to:b};$.parentId=o,Ve(l,(w,C)=>{N.und($[C])&&($[C]=w)});const j=await r.start($);return m(O),n.paused&&await new Promise(w=>{n.resumeQueue.add(w)}),j})()};let g;if(je.skipAnimation)return Tn(n),Ie(r,!1);try{let b;N.arr(e)?b=(async y=>{for(const O of y)await p(O)})(e):b=Promise.resolve(e(p,r.stop.bind(r))),await Promise.all([b.then(d),h]),g=Ie(r.get(),!0,!1)}catch(b){if(b instanceof zu)g=b.result;else if(b instanceof Vu)g=b.result;else throw b}finally{o==n.asyncId&&(n.asyncId=a,n.asyncTo=a?u:void 0,n.promise=a?c:void 0)}return N.fun(s)&&H.batchedUpdates(()=>{s(g,r,r.item)}),g})()}function Tn(e,t){un(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var zu=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},Vu=class extends Error{constructor(){super("SkipAnimationSignal")}},No=e=>e instanceof Ma,i$=1,Ma=class extends Nf{constructor(){super(...arguments),this.id=i$++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Fe(this);return e&&e.getValue()}to(...e){return je.to(this,e)}interpolate(...e){return RO(),je.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){vn(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ti.sort(this),vn(this,{type:"priority",parent:this,priority:e})}},pt=Symbol.for("SpringPhase"),Hf=1,Io=2,Eo=4,Bi=e=>(e[pt]&Hf)>0,Ke=e=>(e[pt]&Io)>0,Jt=e=>(e[pt]&Eo)>0,Uu=(e,t)=>t?e[pt]|=Io|Hf:e[pt]&=~Io,qu=(e,t)=>t?e[pt]|=Eo:e[pt]&=~Eo,o$=class extends Ma{constructor(e,t){if(super(),this.animation=new r$,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!N.und(e)||!N.und(t)){const n=N.obj(e)?{...e}:{...t,from:e};N.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Ke(this)||this._state.asyncTo)||Jt(this)}get goal(){return me(this.animation.to)}get velocity(){const e=Fe(this);return e instanceof Pn?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return Bi(this)}get isAnimating(){return Ke(this)}get isPaused(){return Jt(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{toValues:o}=r;const{config:a}=r,s=oi(r.to);!s&&we(r.to)&&(o=he(me(r.to))),r.values.forEach((l,d)=>{if(l.done)return;const f=l.constructor==wn?1:s?s[d].lastPosition:o[d];let h=r.immediate,m=f;if(!h){if(m=l.lastPosition,a.tension<=0){l.done=!0;return}let p=l.elapsedTime+=e;const g=r.fromValues[d],b=l.v0!=null?l.v0:l.v0=N.arr(a.velocity)?a.velocity[d]:a.velocity;let y;const O=a.precision||(g==f?.005:Math.min(1,Math.abs(f-g)*.001));if(N.und(a.duration))if(a.decay){const T=a.decay===!0?.998:a.decay,$=Math.exp(-(1-T)*p);m=g+b/(1-T)*(1-$),h=Math.abs(l.lastPosition-m)<=O,y=b*$}else{y=l.lastVelocity==null?b:l.lastVelocity;const T=a.restVelocity||O/10,$=a.clamp?0:a.bounce,j=!N.und($),w=g==f?l.v0>0:g<f;let C,P=!1;const A=1,D=Math.ceil(e/A);for(let E=0;E<D&&(C=Math.abs(y)>T,!(!C&&(h=Math.abs(f-m)<=O,h)));++E){j&&(P=m==f||m>f==w,P&&(y=-y*$,m=f));const U=-a.tension*1e-6*(m-f),F=-a.friction*.001*y,I=(U+F)/a.mass;y=y+I*A,m=m+y*A}}else{let T=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,l.durationProgress>0&&(l.elapsedTime=a.duration*l.durationProgress,p=l.elapsedTime+=e)),T=(a.progress||0)+p/this._memoizedDuration,T=T>1?1:T<0?0:T,l.durationProgress=T),m=g+a.easing(T)*(f-g),y=(m-l.lastPosition)/e,h=T==1}l.lastVelocity=y,Number.isNaN(m)&&(console.warn("Got NaN while animating:",this),h=!0)}s&&!s[d].done&&(h=!1),h?l.done=!0:t=!1,l.setValue(m,a.round)&&(n=!0)});const u=Fe(this),c=u.getValue();if(t){const l=me(r.to);(c!==l||n)&&!a.decay?(u.setValue(l),this._onChange(l)):n&&a.decay&&this._onChange(c),this._stop()}else n&&this._onChange(c)}set(e){return H.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ke(this)){const{to:e,config:t}=this.animation;H.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return N.und(e)?(n=this.queue||[],this.queue=[]):n=[N.obj(e)?e:{...t,to:e}],Promise.all(n.map(r=>this._update(r))).then(r=>$a(this,r))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),Tn(this._state,e&&this._lastCallId),H.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=N.obj(n)?n[t]:n,(n==null||So(n))&&(n=void 0),r=N.obj(r)?r[t]:r,r==null&&(r=void 0);const o={to:n,from:r};return Bi(this)||(e.reverse&&([n,r]=[r,n]),r=me(r),N.und(r)?Fe(this)||this._set(n):this._set(r)),o}_update({...e},t){const{key:n,defaultProps:r}=this;e.default&&Object.assign(r,Ta(e,(s,u)=>/^on/.test(u)?Lf(s,n):s)),Bu(this,e,"onProps"),tn(this,"onProps",e,this);const o=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return Vf(++this._lastCallId,{key:n,props:e,defaultProps:r,state:a,actions:{pause:()=>{Jt(this)||(qu(this,!0),an(a.pauseQueue),tn(this,"onPause",Ie(this,en(this,this.animation.to)),this))},resume:()=>{Jt(this)&&(qu(this,!1),Ke(this)&&this._resume(),an(a.resumeQueue),tn(this,"onResume",Ie(this,en(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(s=>{if(e.loop&&s.finished&&!(t&&s.noop)){const u=Bf(e);if(u)return this._update(u,!0)}return s})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Et(this));const r=!N.und(e.to),o=!N.und(e.from);if(r||o)if(t.callId>this._lastToId)this._lastToId=t.callId;else return n(Et(this));const{key:a,defaultProps:s,animation:u}=this,{to:c,from:l}=u;let{to:d=c,from:f=l}=e;o&&!r&&(!t.default||N.und(d))&&(d=f),t.reverse&&([d,f]=[f,d]);const h=!Ue(f,l);h&&(u.from=f),f=me(f);const m=!Ue(d,c);m&&this._focus(d);const p=So(t.to),{config:g}=u,{decay:b,velocity:y}=g;(r||o)&&(g.velocity=0),t.config&&!p&&n$(g,pe(t.config,a),t.config!==s.config?pe(s.config,a):void 0);let O=Fe(this);if(!O||N.und(d))return n(Ie(this,!0));const T=N.und(t.reset)?o&&!t.default:!N.und(f)&&cn(t.reset,a),$=T?f:this.get(),j=kn(d),w=N.num(j)||N.arr(j)||ii(j),C=!p&&(!w||cn(s.immediate||t.immediate,a));if(m){const E=jo(d);if(E!==O.constructor)if(C)O=this._set(j);else throw Error(`Cannot animate between ${O.constructor.name} and ${E.name}, as the "to" prop suggests`)}const P=O.constructor;let A=we(d),D=!1;if(!A){const E=T||!Bi(this)&&h;(m||E)&&(D=Ue(kn($),j),A=!D),(!Ue(u.immediate,C)&&!C||!Ue(g.decay,b)||!Ue(g.velocity,y))&&(A=!0)}if(D&&Ke(this)&&(u.changed&&!T?A=!0:A||this._stop(c)),!p&&((A||we(c))&&(u.values=O.getPayload(),u.toValues=we(d)?null:P==wn?[1]:he(j)),u.immediate!=C&&(u.immediate=C,!C&&!T&&this._set(c)),A)){const{onRest:E}=u;G(a$,F=>Bu(this,t,F));const U=Ie(this,en(this,c));an(this._pendingCalls,U),this._pendingCalls.add(n),u.changed&&H.batchedUpdates(()=>{var F;u.changed=!T,E==null||E(U,this),T?pe(s.onRest,U):(F=u.onStart)==null||F.call(u,U,this)})}T&&this._set($),p?n(qf(t.to,t,this._state,this)):A?this._start():Ke(this)&&!m?this._pendingCalls.add(n):n(Uf($))}_focus(e){const t=this.animation;e!==t.to&&(Eu(this)&&this._detach(),t.to=e,Eu(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;we(t)&&(Wt(t,this),No(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;we(e)&&yn(e,this)}_set(e,t=!0){const n=me(e);if(!N.und(n)){const r=Fe(this);if(!r||!Ue(n,r.getValue())){const o=jo(n);!r||r.constructor!=o?ka(this,o.create(n)):r.setValue(n),r&&H.batchedUpdates(()=>{this._onChange(n,t)})}}return Fe(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,tn(this,"onStart",Ie(this,en(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),pe(this.animation.onChange,e,this)),pe(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Fe(this).reset(me(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Ke(this)||(Uu(this,!0),Jt(this)||this._resume())}_resume(){je.skipAnimation?this.finish():ti.start(this)}_stop(e,t){if(Ke(this)){Uu(this,!1);const n=this.animation;G(n.values,o=>{o.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),vn(this,{type:"idle",parent:this});const r=t?Et(this.get()):Ie(this.get(),en(this,e??n.to));an(this._pendingCalls,r),n.changed&&(n.changed=!1,tn(this,"onRest",r,this))}}};function en(e,t){const n=kn(t),r=kn(e.get());return Ue(r,n)}function Bf(e,t=e.loop,n=e.to){const r=pe(t);if(r){const o=r!==!0&&Oa(r),a=(o||e).reverse,s=!o||o.reset;return jr({...e,loop:t,default:!1,pause:void 0,to:!a||So(n)?n:void 0,from:s?e.from:void 0,reset:s,...o})}}function jr(e){const{to:t,from:n}=e=Oa(e),r=new Set;return N.obj(t)&&Hu(t,r),N.obj(n)&&Hu(n,r),e.keys=r.size?Array.from(r):null,e}function Hu(e,t){Ve(e,(n,r)=>n!=null&&t.add(r))}var a$=["onStart","onRest","onChange","onPause","onResume"];function Bu(e,t,n){e.animation[n]=t[n]!==zf(t,n)?Lf(t[n],e.key):void 0}function tn(e,t,...n){var r,o,a,s;(o=(r=e.animation)[t])==null||o.call(r,...n),(s=(a=e.defaultProps)[t])==null||s.call(a,...n)}var s$=["onStart","onChange","onRest"],u$=1,l$=class{constructor(e,t){this.id=u$++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(const t in e){const n=e[t];N.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(jr(e)),this}start(e){let{queue:t}=this;return e?t=he(e).map(jr):this.queue=[],this._flush?this._flush(this,t):(Qf(this,t),c$(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;G(he(t),r=>n[r].stop(!!e))}else Tn(this._state,this._lastAsyncId),this.each(n=>n.stop(!!e));return this}pause(e){if(N.und(e))this.start({pause:!0});else{const t=this.springs;G(he(e),n=>t[n].pause())}return this}resume(e){if(N.und(e))this.start({pause:!1});else{const t=this.springs;G(he(e),n=>t[n].resume())}return this}each(e){Ve(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,un(e,([u,c])=>{c.value=this.get(),u(c,this,this._item)}));const a=!r&&this._started,s=o||a&&n.size?this.get():null;o&&t.size&&un(t,([u,c])=>{c.value=s,u(c,this,this._item)}),a&&(this._started=!1,un(n,([u,c])=>{c.value=s,u(c,this,this._item)}))}eventObserved(e){if(e.type=="change")this._changed.add(e.parent),e.idle||this._active.add(e.parent);else if(e.type=="idle")this._active.delete(e.parent);else return;H.onFrame(this._onFrame)}};function c$(e,t){return Promise.all(t.map(n=>Gf(e,n))).then(n=>$a(e,n))}async function Gf(e,t,n){const{keys:r,to:o,from:a,loop:s,onRest:u,onResolve:c}=t,l=N.obj(t.default)&&t.default;s&&(t.loop=!1),o===!1&&(t.to=null),a===!1&&(t.from=null);const d=N.arr(o)||N.fun(o)?o:void 0;d?(t.to=void 0,t.onRest=void 0,l&&(l.onRest=void 0)):G(s$,g=>{const b=t[g];if(N.fun(b)){const y=e._events[g];t[g]=({finished:O,cancelled:T})=>{const $=y.get(b);$?(O||($.finished=!1),T&&($.cancelled=!0)):y.set(b,{value:null,finished:O||!1,cancelled:T||!1})},l&&(l[g]=t[g])}});const f=e._state;t.pause===!f.paused?(f.paused=t.pause,an(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);const h=(r||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),m=t.cancel===!0||zf(t,"cancel")===!0;(d||m&&f.asyncId)&&h.push(Vf(++e._lastAsyncId,{props:t,state:f,actions:{pause:$o,resume:$o,start(g,b){m?(Tn(f,e._lastAsyncId),b(Et(e))):(g.onRest=u,b(qf(d,g,f,e)))}}})),f.paused&&await new Promise(g=>{f.resumeQueue.add(g)});const p=$a(e,await Promise.all(h));if(s&&p.finished&&!(n&&p.noop)){const g=Bf(t,s,o);if(g)return Qf(e,[g]),Gf(e,g,!0)}return c&&H.batchedUpdates(()=>c(p,e,e.item)),p}function f$(e,t){const n={...e.springs};return t&&G(he(t),r=>{N.und(r.keys)&&(r=jr(r)),N.obj(r.to)||(r={...r,to:void 0}),Yf(n,r,o=>Wf(o))}),d$(e,n),n}function d$(e,t){Ve(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,Wt(n,e))})}function Wf(e,t){const n=new o$;return n.key=e,t&&Wt(n,t),n}function Yf(e,t,n){t.keys&&G(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function Qf(e,t){G(t,n=>{Yf(e.springs,n,r=>Wf(r,e))})}var si=({children:e,...t})=>{const n=v.useContext(Sr),r=t.pause||!!n.pause,o=t.immediate||!!n.immediate;t=FO(()=>({pause:r,immediate:o}),[r,o]);const{Provider:a}=Sr;return v.createElement(a,{value:t},e)},Sr=h$(si,{});si.Provider=Sr.Provider;si.Consumer=Sr.Consumer;function h$(e,t){return Object.assign(e,v.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var m$=()=>{const e=[],t=function(r){AO();const o=[];return G(e,(a,s)=>{if(N.und(r))o.push(a.start());else{const u=n(r,a,s);u&&o.push(a.start(u))}}),o};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const o=e.indexOf(r);~o&&e.splice(o,1)},t.pause=function(){return G(e,r=>r.pause(...arguments)),this},t.resume=function(){return G(e,r=>r.resume(...arguments)),this},t.set=function(r){G(e,(o,a)=>{const s=N.fun(r)?r(a,o):r;s&&o.set(s)})},t.start=function(r){const o=[];return G(e,(a,s)=>{if(N.und(r))o.push(a.start());else{const u=this._getProps(r,a,s);u&&o.push(a.start(u))}}),o},t.stop=function(){return G(e,r=>r.stop(...arguments)),this},t.update=function(r){return G(e,(o,a)=>o.update(this._getProps(r,o,a))),this};const n=function(r,o,a){return N.fun(r)?r(a,o):r};return t._getProps=n,t};function _o(e,t,n){const r=N.fun(t)&&t,{reset:o,sort:a,trail:s=0,expires:u=!0,exitBeforeEnter:c=!1,onDestroyed:l,ref:d,config:f}=r?r():t,h=v.useMemo(()=>r||arguments.length==3?m$():void 0,[]),m=he(e),p=[],g=v.useRef(null),b=o?null:g.current;ct(()=>{g.current=p}),Af(()=>(G(p,I=>{h==null||h.add(I.ctrl),I.ctrl.ref=h}),()=>{G(g.current,I=>{I.expired&&clearTimeout(I.expirationId),Du(I.ctrl,h),I.ctrl.stop(!0)})}));const y=g$(m,r?r():t,b),O=o&&g.current||[];ct(()=>G(O,({ctrl:I,item:R,key:V})=>{Du(I,h),pe(l,R,V)}));const T=[];if(b&&G(b,(I,R)=>{I.expired?(clearTimeout(I.expirationId),O.push(I)):(R=T[R]=y.indexOf(I.key),~R&&(p[R]=I))}),G(m,(I,R)=>{p[R]||(p[R]={key:y[R],item:I,phase:"mount",ctrl:new l$},p[R].ctrl.item=I)}),T.length){let I=-1;const{leave:R}=r?r():t;G(T,(V,B)=>{const L=b[B];~V?(I=p.indexOf(L),p[I]={...L,item:m[V]}):R&&p.splice(++I,0,L)})}N.fun(a)&&p.sort((I,R)=>a(I.item,R.item));let $=-s;const j=Pf(),w=Ta(t),C=new Map,P=v.useRef(new Map),A=v.useRef(!1);G(p,(I,R)=>{const V=I.key,B=I.phase,L=r?r():t;let Y,W;const J=pe(L.delay||0,V);if(B=="mount")Y=L.enter,W="enter";else{const ee=y.indexOf(V)<0;if(B!="leave")if(ee)Y=L.leave,W="leave";else if(Y=L.update)W="update";else return;else if(!ee)Y=L.enter,W="enter";else return}if(Y=pe(Y,I.item,R),Y=N.obj(Y)?Oa(Y):{to:Y},!Y.config){const ee=f||w.config;Y.config=pe(ee,I.item,R,W)}$+=s;const re={...w,delay:J+$,ref:d,immediate:L.immediate,reset:!1,...Y};if(W=="enter"&&N.und(re.from)){const ee=r?r():t,ve=N.und(ee.initial)||b?ee.from:ee.initial;re.from=pe(ve,I.item,R)}const{onResolve:be}=re;re.onResolve=ee=>{pe(be,ee);const ve=g.current,le=ve.find(ye=>ye.key===V);if(le&&!(ee.cancelled&&le.phase!="update")&&le.ctrl.idle){const ye=ve.every(_=>_.ctrl.idle);if(le.phase=="leave"){const _=pe(u,le.item);if(_!==!1){const z=_===!0?0:_;if(le.expired=!0,!ye&&z>0){z<=2147483647&&(le.expirationId=setTimeout(j,z));return}}}ye&&ve.some(_=>_.expired)&&(P.current.delete(le),c&&(A.current=!0),j())}};const de=f$(I.ctrl,re);W==="leave"&&c?P.current.set(I,{phase:W,springs:de,payload:re}):C.set(I,{phase:W,springs:de,payload:re})});const D=v.useContext(si),E=VO(D),U=D!==E&&ZO(D);ct(()=>{U&&G(p,I=>{I.ctrl.start({default:D})})},[D]),G(C,(I,R)=>{if(P.current.size){const V=p.findIndex(B=>B.key===R.key);p.splice(V,1)}}),ct(()=>{G(P.current.size?P.current:C,({phase:I,payload:R},V)=>{const{ctrl:B}=V;V.phase=I,h==null||h.add(B),U&&I=="enter"&&B.start({default:D}),R&&(JO(B,R.ref),(B.ref||h)&&!A.current?B.update(R):(B.start(R),A.current&&(A.current=!1)))})},o?void 0:n);const F=I=>v.createElement(v.Fragment,null,p.map((R,V)=>{const{springs:B}=C.get(R)||R.ctrl,L=I({...B},R.item,R,V);return L&&L.type?v.createElement(L.type,{...L.props,key:N.str(R.key)||N.num(R.key)?R.key:R.ctrl.id,ref:L.ref}):L}));return h?[F,h]:F}var p$=1;function g$(e,{key:t,keys:n=t},r){if(n===null){const o=new Set;return e.map(a=>{const s=r&&r.find(u=>u.item===a&&u.phase!=="leave"&&!o.has(u));return s?(o.add(s),s.key):p$++})}return N.und(n)?e:N.fun(n)?e.map(n):he(n)}var b$=class extends Ma{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=gn(...t);const n=this._get(),r=jo(n);ka(this,r.create(n))}advance(e){const t=this._get(),n=this.get();Ue(t,n)||(Fe(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Gu(this._active)&&Gi(this)}_get(){const e=N.arr(this.source)?this.source.map(me):he(me(this.source));return this.calc(...e)}_start(){this.idle&&!Gu(this._active)&&(this.idle=!1,G(oi(this),e=>{e.done=!1}),je.skipAnimation?(H.batchedUpdates(()=>this.advance()),Gi(this)):ti.start(this))}_attach(){let e=1;G(he(this.source),t=>{we(t)&&Wt(t,this),No(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){G(he(this.source),e=>{we(e)&&yn(e,this)}),this._active.clear(),Gi(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=he(this.source).reduce((t,n)=>Math.max(t,(No(n)?n.priority:0)+1),0))}};function v$(e){return e.idle!==!1}function Gu(e){return!e.size||Array.from(e).every(v$)}function Gi(e){e.idle||(e.idle=!0,G(oi(e),t=>{t.done=!0}),vn(e,{type:"idle",parent:e}))}je.assign({createStringInterpolator:_f,to:(e,t)=>new b$(e,t)});var Xf=/^--/;function y$(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Xf.test(e)&&!(fn.hasOwnProperty(e)&&fn[e])?t+"px":(""+t).trim()}var Wu={};function x$(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{className:r,style:o,children:a,scrollTop:s,scrollLeft:u,viewBox:c,...l}=t,d=Object.values(l),f=Object.keys(l).map(h=>n||e.hasAttribute(h)?h:Wu[h]||(Wu[h]=h.replace(/([A-Z])/g,m=>"-"+m.toLowerCase())));a!==void 0&&(e.textContent=a);for(const h in o)if(o.hasOwnProperty(h)){const m=y$(h,o[h]);Xf.test(h)?e.style.setProperty(h,m):e.style[h]=m}f.forEach((h,m)=>{e.setAttribute(h,d[m])}),r!==void 0&&(e.className=r),s!==void 0&&(e.scrollTop=s),u!==void 0&&(e.scrollLeft=u),c!==void 0&&e.setAttribute("viewBox",c)}var fn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},w$=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),k$=["Webkit","Ms","Moz","O"];fn=Object.keys(fn).reduce((e,t)=>(k$.forEach(n=>e[w$(n,t)]=e[t]),e),fn);var T$=/^(matrix|translate|scale|rotate|skew)/,O$=/^(translate)/,$$=/^(rotate|skew)/,Wi=(e,t)=>N.num(e)&&e!==0?e+t:e,lr=(e,t)=>N.arr(e)?e.every(n=>lr(n,t)):N.num(e)?e===t:parseFloat(e)===t,M$=class extends ai{constructor({x:e,y:t,z:n,...r}){const o=[],a=[];(e||t||n)&&(o.push([e||0,t||0,n||0]),a.push(s=>[`translate3d(${s.map(u=>Wi(u,"px")).join(",")})`,lr(s,0)])),Ve(r,(s,u)=>{if(u==="transform")o.push([s||""]),a.push(c=>[c,c===""]);else if(T$.test(u)){if(delete r[u],N.und(s))return;const c=O$.test(u)?"px":$$.test(u)?"deg":"";o.push(he(s)),a.push(u==="rotate3d"?([l,d,f,h])=>[`rotate3d(${l},${d},${f},${Wi(h,c)})`,lr(h,0)]:l=>[`${u}(${l.map(d=>Wi(d,c)).join(",")})`,lr(l,u.startsWith("scale")?1:0)])}}),o.length&&(r.transform=new j$(o,a)),super(r)}},j$=class extends Nf{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return G(this.inputs,(n,r)=>{const o=me(n[0]),[a,s]=this.transforms[r](N.arr(o)?o:n.map(me));e+=" "+a,t=t&&s}),t?"none":e}observerAdded(e){e==1&&G(this.inputs,t=>G(t,n=>we(n)&&Wt(n,this)))}observerRemoved(e){e==0&&G(this.inputs,t=>G(t,n=>we(n)&&yn(n,this)))}eventObserved(e){e.type=="change"&&(this._value=null),vn(this,e)}},S$=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];je.assign({batchedUpdates:Gl.unstable_batchedUpdates,createStringInterpolator:_f,colors:hO});var C$=WO(S$,{applyAnimatedValues:x$,createAnimatedStyle:e=>new M$(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}),ja=C$.animated;function cr(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function N$(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Sa(e){let t,n,r;e.length!==2?(t=cr,n=(u,c)=>cr(e(u),c),r=(u,c)=>e(u)-c):(t=e===cr||e===N$?e:I$,n=e,r=e);function o(u,c,l=0,d=u.length){if(l<d){if(t(c,c)!==0)return d;do{const f=l+d>>>1;n(u[f],c)<0?l=f+1:d=f}while(l<d)}return l}function a(u,c,l=0,d=u.length){if(l<d){if(t(c,c)!==0)return d;do{const f=l+d>>>1;n(u[f],c)<=0?l=f+1:d=f}while(l<d)}return l}function s(u,c,l=0,d=u.length){const f=o(u,c,l,d-1);return f>l&&r(u[f-1],c)>-r(u[f],c)?f-1:f}return{left:o,center:s,right:a}}function I$(){return 0}function E$(e){return e===null?NaN:+e}const _$=Sa(cr),R$=_$.right;Sa(E$).center;const Kf=R$;class Yu extends Map{constructor(t,n=D$){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),t!=null)for(const[r,o]of t)this.set(r,o)}get(t){return super.get(Qu(this,t))}has(t){return super.has(Qu(this,t))}set(t,n){return super.set(P$(this,t),n)}delete(t){return super.delete(A$(this,t))}}function Qu({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function P$({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}function A$({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}function D$(e){return e!==null&&typeof e=="object"?e.valueOf():e}const F$=Math.sqrt(50),L$=Math.sqrt(10),z$=Math.sqrt(2);function Cr(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),a=r/Math.pow(10,o),s=a>=F$?10:a>=L$?5:a>=z$?2:1;let u,c,l;return o<0?(l=Math.pow(10,-o)/s,u=Math.round(e*l),c=Math.round(t*l),u/l<e&&++u,c/l>t&&--c,l=-l):(l=Math.pow(10,o)*s,u=Math.round(e/l),c=Math.round(t/l),u*l<e&&++u,c*l>t&&--c),c<u&&.5<=n&&n<2?Cr(e,t,n*2):[u,c,l]}function Ro(e,t,n){if(t=+t,e=+e,n=+n,!(n>0))return[];if(e===t)return[e];const r=t<e,[o,a,s]=r?Cr(t,e,n):Cr(e,t,n);if(!(a>=o))return[];const u=a-o+1,c=new Array(u);if(r)if(s<0)for(let l=0;l<u;++l)c[l]=(a-l)/-s;else for(let l=0;l<u;++l)c[l]=(a-l)*s;else if(s<0)for(let l=0;l<u;++l)c[l]=(o+l)/-s;else for(let l=0;l<u;++l)c[l]=(o+l)*s;return c}function Po(e,t,n){return t=+t,e=+e,n=+n,Cr(e,t,n)[2]}function Ao(e,t,n){t=+t,e=+e,n=+n;const r=t<e,o=r?Po(t,e,n):Po(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function V$(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=Math.max(0,Math.ceil((t-e)/n))|0,a=new Array(o);++r<o;)a[r]=e+r*n;return a}function it(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function U$(e,t){switch(arguments.length){case 0:break;case 1:{typeof e=="function"?this.interpolator(e):this.range(e);break}default:{this.domain(e),typeof t=="function"?this.interpolator(t):this.range(t);break}}return this}const Xu=Symbol("implicit");function Nr(){var e=new Yu,t=[],n=[],r=Xu;function o(a){let s=e.get(a);if(s===void 0){if(r!==Xu)return r;e.set(a,s=t.push(a)-1)}return n[s%n.length]}return o.domain=function(a){if(!arguments.length)return t.slice();t=[],e=new Yu;for(const s of a)e.has(s)||e.set(s,t.push(s)-1);return o},o.range=function(a){return arguments.length?(n=Array.from(a),o):n.slice()},o.unknown=function(a){return arguments.length?(r=a,o):r},o.copy=function(){return Nr(t,n).unknown(r)},it.apply(o,arguments),o}function Ca(){var e=Nr().unknown(void 0),t=e.domain,n=e.range,r=0,o=1,a,s,u=!1,c=0,l=0,d=.5;delete e.unknown;function f(){var h=t().length,m=o<r,p=m?o:r,g=m?r:o;a=(g-p)/Math.max(1,h-c+l*2),u&&(a=Math.floor(a)),p+=(g-p-a*(h-c))*d,s=a*(1-c),u&&(p=Math.round(p),s=Math.round(s));var b=V$(h).map(function(y){return p+a*y});return n(m?b.reverse():b)}return e.domain=function(h){return arguments.length?(t(h),f()):t()},e.range=function(h){return arguments.length?([r,o]=h,r=+r,o=+o,f()):[r,o]},e.rangeRound=function(h){return[r,o]=h,r=+r,o=+o,u=!0,f()},e.bandwidth=function(){return s},e.step=function(){return a},e.round=function(h){return arguments.length?(u=!!h,f()):u},e.padding=function(h){return arguments.length?(c=Math.min(1,l=+h),f()):c},e.paddingInner=function(h){return arguments.length?(c=Math.min(1,h),f()):c},e.paddingOuter=function(h){return arguments.length?(l=+h,f()):l},e.align=function(h){return arguments.length?(d=Math.max(0,Math.min(1,h)),f()):d},e.copy=function(){return Ca(t(),[r,o]).round(u).paddingInner(c).paddingOuter(l).align(d)},it.apply(f(),arguments)}function Zf(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return Zf(t())},e}function q$(){return Zf(Ca.apply(null,arguments).paddingInner(1))}function Na(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Jf(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function An(){}var On=.7,Ir=1/On,_t="\\s*([+-]?\\d+)\\s*",$n="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ze="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",H$=/^#([0-9a-f]{3,8})$/,B$=new RegExp(`^rgb\\(${_t},${_t},${_t}\\)$`),G$=new RegExp(`^rgb\\(${ze},${ze},${ze}\\)$`),W$=new RegExp(`^rgba\\(${_t},${_t},${_t},${$n}\\)$`),Y$=new RegExp(`^rgba\\(${ze},${ze},${ze},${$n}\\)$`),Q$=new RegExp(`^hsl\\(${$n},${ze},${ze}\\)$`),X$=new RegExp(`^hsla\\(${$n},${ze},${ze},${$n}\\)$`),Ku={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Na(An,At,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Zu,formatHex:Zu,formatHex8:K$,formatHsl:Z$,formatRgb:Ju,toString:Ju});function Zu(){return this.rgb().formatHex()}function K$(){return this.rgb().formatHex8()}function Z$(){return ed(this).formatHsl()}function Ju(){return this.rgb().formatRgb()}function At(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=H$.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?el(t):n===3?new ge(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?Qn(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?Qn(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=B$.exec(e))?new ge(t[1],t[2],t[3],1):(t=G$.exec(e))?new ge(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=W$.exec(e))?Qn(t[1],t[2],t[3],t[4]):(t=Y$.exec(e))?Qn(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Q$.exec(e))?rl(t[1],t[2]/100,t[3]/100,1):(t=X$.exec(e))?rl(t[1],t[2]/100,t[3]/100,t[4]):Ku.hasOwnProperty(e)?el(Ku[e]):e==="transparent"?new ge(NaN,NaN,NaN,0):null}function el(e){return new ge(e>>16&255,e>>8&255,e&255,1)}function Qn(e,t,n,r){return r<=0&&(e=t=n=NaN),new ge(e,t,n,r)}function J$(e){return e instanceof An||(e=At(e)),e?(e=e.rgb(),new ge(e.r,e.g,e.b,e.opacity)):new ge}function Do(e,t,n,r){return arguments.length===1?J$(e):new ge(e,t,n,r??1)}function ge(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Na(ge,Do,Jf(An,{brighter(e){return e=e==null?Ir:Math.pow(Ir,e),new ge(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?On:Math.pow(On,e),new ge(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ge(mt(this.r),mt(this.g),mt(this.b),Er(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tl,formatHex:tl,formatHex8:eM,formatRgb:nl,toString:nl}));function tl(){return`#${ft(this.r)}${ft(this.g)}${ft(this.b)}`}function eM(){return`#${ft(this.r)}${ft(this.g)}${ft(this.b)}${ft((isNaN(this.opacity)?1:this.opacity)*255)}`}function nl(){const e=Er(this.opacity);return`${e===1?"rgb(":"rgba("}${mt(this.r)}, ${mt(this.g)}, ${mt(this.b)}${e===1?")":`, ${e})`}`}function Er(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function mt(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ft(e){return e=mt(e),(e<16?"0":"")+e.toString(16)}function rl(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ee(e,t,n,r)}function ed(e){if(e instanceof Ee)return new Ee(e.h,e.s,e.l,e.opacity);if(e instanceof An||(e=At(e)),!e)return new Ee;if(e instanceof Ee)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=NaN,u=a-o,c=(a+o)/2;return u?(t===a?s=(n-r)/u+(n<r)*6:n===a?s=(r-t)/u+2:s=(t-n)/u+4,u/=c<.5?a+o:2-a-o,s*=60):u=c>0&&c<1?0:s,new Ee(s,u,c,e.opacity)}function tM(e,t,n,r){return arguments.length===1?ed(e):new Ee(e,t,n,r??1)}function Ee(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Na(Ee,tM,Jf(An,{brighter(e){return e=e==null?Ir:Math.pow(Ir,e),new Ee(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?On:Math.pow(On,e),new Ee(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new ge(Yi(e>=240?e-240:e+120,o,r),Yi(e,o,r),Yi(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new Ee(il(this.h),Xn(this.s),Xn(this.l),Er(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Er(this.opacity);return`${e===1?"hsl(":"hsla("}${il(this.h)}, ${Xn(this.s)*100}%, ${Xn(this.l)*100}%${e===1?")":`, ${e})`}`}}));function il(e){return e=(e||0)%360,e<0?e+360:e}function Xn(e){return Math.max(0,Math.min(1,e||0))}function Yi(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const Ia=e=>()=>e;function nM(e,t){return function(n){return e+n*t}}function rM(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function iM(e){return(e=+e)==1?td:function(t,n){return n-t?rM(t,n,e):Ia(isNaN(t)?n:t)}}function td(e,t){var n=t-e;return n?nM(e,n):Ia(isNaN(e)?t:e)}const ol=function e(t){var n=iM(t);function r(o,a){var s=n((o=Do(o)).r,(a=Do(a)).r),u=n(o.g,a.g),c=n(o.b,a.b),l=td(o.opacity,a.opacity);return function(d){return o.r=s(d),o.g=u(d),o.b=c(d),o.opacity=l(d),o+""}}return r.gamma=e,r}(1);function oM(e,t){t||(t=[]);var n=e?Math.min(t.length,e.length):0,r=t.slice(),o;return function(a){for(o=0;o<n;++o)r[o]=e[o]*(1-a)+t[o]*a;return r}}function aM(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function sM(e,t){var n=t?t.length:0,r=e?Math.min(n,e.length):0,o=new Array(r),a=new Array(n),s;for(s=0;s<r;++s)o[s]=ui(e[s],t[s]);for(;s<n;++s)a[s]=t[s];return function(u){for(s=0;s<r;++s)a[s]=o[s](u);return a}}function nd(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function Mn(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function uM(e,t){var n={},r={},o;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(o in t)o in e?n[o]=ui(e[o],t[o]):r[o]=t[o];return function(a){for(o in n)r[o]=n[o](a);return r}}var Fo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Qi=new RegExp(Fo.source,"g");function lM(e){return function(){return e}}function cM(e){return function(t){return e(t)+""}}function fM(e,t){var n=Fo.lastIndex=Qi.lastIndex=0,r,o,a,s=-1,u=[],c=[];for(e=e+"",t=t+"";(r=Fo.exec(e))&&(o=Qi.exec(t));)(a=o.index)>n&&(a=t.slice(n,a),u[s]?u[s]+=a:u[++s]=a),(r=r[0])===(o=o[0])?u[s]?u[s]+=o:u[++s]=o:(u[++s]=null,c.push({i:s,x:Mn(r,o)})),n=Qi.lastIndex;return n<t.length&&(a=t.slice(n),u[s]?u[s]+=a:u[++s]=a),u.length<2?c[0]?cM(c[0].x):lM(t):(t=c.length,function(l){for(var d=0,f;d<t;++d)u[(f=c[d]).i]=f.x(l);return u.join("")})}function ui(e,t){var n=typeof t,r;return t==null||n==="boolean"?Ia(t):(n==="number"?Mn:n==="string"?(r=At(t))?(t=r,ol):fM:t instanceof At?ol:t instanceof Date?nd:aM(t)?oM:Array.isArray(t)?sM:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?uM:Mn)(e,t)}function rd(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function dM(e){return function(){return e}}function hM(e){return+e}var al=[0,1];function Oe(e){return e}function Lo(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:dM(isNaN(t)?NaN:.5)}function mM(e,t){var n;return e>t&&(n=e,e=t,t=n),function(r){return Math.max(e,Math.min(t,r))}}function pM(e,t,n){var r=e[0],o=e[1],a=t[0],s=t[1];return o<r?(r=Lo(o,r),a=n(s,a)):(r=Lo(r,o),a=n(a,s)),function(u){return a(r(u))}}function gM(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),a=new Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)o[s]=Lo(e[s],e[s+1]),a[s]=n(t[s],t[s+1]);return function(u){var c=Kf(e,u,1,r)-1;return a[c](o[c](u))}}function li(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Ea(){var e=al,t=al,n=ui,r,o,a,s=Oe,u,c,l;function d(){var h=Math.min(e.length,t.length);return s!==Oe&&(s=mM(e[0],e[h-1])),u=h>2?gM:pM,c=l=null,f}function f(h){return h==null||isNaN(h=+h)?a:(c||(c=u(e.map(r),t,n)))(r(s(h)))}return f.invert=function(h){return s(o((l||(l=u(t,e.map(r),Mn)))(h)))},f.domain=function(h){return arguments.length?(e=Array.from(h,hM),d()):e.slice()},f.range=function(h){return arguments.length?(t=Array.from(h),d()):t.slice()},f.rangeRound=function(h){return t=Array.from(h),n=rd,d()},f.clamp=function(h){return arguments.length?(s=h?!0:Oe,d()):s!==Oe},f.interpolate=function(h){return arguments.length?(n=h,d()):n},f.unknown=function(h){return arguments.length?(a=h,f):a},function(h,m){return r=h,o=m,d()}}function id(){return Ea()(Oe,Oe)}function bM(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function _r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Dt(e){return e=_r(Math.abs(e)),e?e[1]:NaN}function vM(e,t){return function(n,r){for(var o=n.length,a=[],s=0,u=e[0],c=0;o>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),a.push(n.substring(o-=u,o+u)),!((c+=u+1)>r));)u=e[s=(s+1)%e.length];return a.reverse().join(t)}}function yM(e){return function(t){return t.replace(/[0-9]/g,function(n){return e[+n]})}}var xM=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function jn(e){if(!(t=xM.exec(e)))throw new Error("invalid format: "+e);var t;return new _a({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}jn.prototype=_a.prototype;function _a(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}_a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function wM(e){e:for(var t=e.length,n=1,r=-1,o;n<t;++n)switch(e[n]){case".":r=o=n;break;case"0":r===0&&(r=n),o=n;break;default:if(!+e[n])break e;r>0&&(r=0);break}return r>0?e.slice(0,r)+e.slice(o+1):e}var od;function kM(e,t){var n=_r(e,t);if(!n)return e+"";var r=n[0],o=n[1],a=o-(od=Math.max(-8,Math.min(8,Math.floor(o/3)))*3)+1,s=r.length;return a===s?r:a>s?r+new Array(a-s+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+_r(e,Math.max(0,t+a-1))[0]}function sl(e,t){var n=_r(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}const ul={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:bM,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>sl(e*100,t),r:sl,s:kM,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function ll(e){return e}var cl=Array.prototype.map,fl=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function TM(e){var t=e.grouping===void 0||e.thousands===void 0?ll:vM(cl.call(e.grouping,Number),e.thousands+""),n=e.currency===void 0?"":e.currency[0]+"",r=e.currency===void 0?"":e.currency[1]+"",o=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?ll:yM(cl.call(e.numerals,String)),s=e.percent===void 0?"%":e.percent+"",u=e.minus===void 0?"−":e.minus+"",c=e.nan===void 0?"NaN":e.nan+"";function l(f){f=jn(f);var h=f.fill,m=f.align,p=f.sign,g=f.symbol,b=f.zero,y=f.width,O=f.comma,T=f.precision,$=f.trim,j=f.type;j==="n"?(O=!0,j="g"):ul[j]||(T===void 0&&(T=12),$=!0,j="g"),(b||h==="0"&&m==="=")&&(b=!0,h="0",m="=");var w=g==="$"?n:g==="#"&&/[boxX]/.test(j)?"0"+j.toLowerCase():"",C=g==="$"?r:/[%p]/.test(j)?s:"",P=ul[j],A=/[defgprs%]/.test(j);T=T===void 0?6:/[gprs]/.test(j)?Math.max(1,Math.min(21,T)):Math.max(0,Math.min(20,T));function D(E){var U=w,F=C,I,R,V;if(j==="c")F=P(E)+F,E="";else{E=+E;var B=E<0||1/E<0;if(E=isNaN(E)?c:P(Math.abs(E),T),$&&(E=wM(E)),B&&+E==0&&p!=="+"&&(B=!1),U=(B?p==="("?p:u:p==="-"||p==="("?"":p)+U,F=(j==="s"?fl[8+od/3]:"")+F+(B&&p==="("?")":""),A){for(I=-1,R=E.length;++I<R;)if(V=E.charCodeAt(I),48>V||V>57){F=(V===46?o+E.slice(I+1):E.slice(I))+F,E=E.slice(0,I);break}}}O&&!b&&(E=t(E,1/0));var L=U.length+E.length+F.length,Y=L<y?new Array(y-L+1).join(h):"";switch(O&&b&&(E=t(Y+E,Y.length?y-F.length:1/0),Y=""),m){case"<":E=U+E+F+Y;break;case"=":E=U+Y+E+F;break;case"^":E=Y.slice(0,L=Y.length>>1)+U+E+F+Y.slice(L);break;default:E=Y+U+E+F;break}return a(E)}return D.toString=function(){return f+""},D}function d(f,h){var m=l((f=jn(f),f.type="f",f)),p=Math.max(-8,Math.min(8,Math.floor(Dt(h)/3)))*3,g=Math.pow(10,-p),b=fl[8+p/3];return function(y){return m(g*y)+b}}return{format:l,formatPrefix:d}}var Kn,Ra,ad;OM({thousands:",",grouping:[3],currency:["$",""]});function OM(e){return Kn=TM(e),Ra=Kn.format,ad=Kn.formatPrefix,Kn}function $M(e){return Math.max(0,-Dt(Math.abs(e)))}function MM(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Dt(t)/3)))*3-Dt(Math.abs(e)))}function jM(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Dt(t)-Dt(e))+1}function SM(e,t,n,r){var o=Ao(e,t,n),a;switch(r=jn(r??",f"),r.type){case"s":{var s=Math.max(Math.abs(e),Math.abs(t));return r.precision==null&&!isNaN(a=MM(o,s))&&(r.precision=a),ad(r,s)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(a=jM(o,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=a-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(a=$M(o))&&(r.precision=a-(r.type==="%")*2);break}}return Ra(r)}function Pa(e){var t=e.domain;return e.ticks=function(n){var r=t();return Ro(r[0],r[r.length-1],n??10)},e.tickFormat=function(n,r){var o=t();return SM(o[0],o[o.length-1],n??10,r)},e.nice=function(n){n==null&&(n=10);var r=t(),o=0,a=r.length-1,s=r[o],u=r[a],c,l,d=10;for(u<s&&(l=s,s=u,u=l,l=o,o=a,a=l);d-- >0;){if(l=Po(s,u,n),l===c)return r[o]=s,r[a]=u,t(r);if(l>0)s=Math.floor(s/l)*l,u=Math.ceil(u/l)*l;else if(l<0)s=Math.ceil(s*l)/l,u=Math.floor(u*l)/l;else break;c=l}return e},e}function sd(){var e=id();return e.copy=function(){return li(e,sd())},it.apply(e,arguments),Pa(e)}function ud(e,t){e=e.slice();var n=0,r=e.length-1,o=e[n],a=e[r],s;return a<o&&(s=n,n=r,r=s,s=o,o=a,a=s),e[n]=t.floor(o),e[r]=t.ceil(a),e}function dl(e){return Math.log(e)}function hl(e){return Math.exp(e)}function CM(e){return-Math.log(-e)}function NM(e){return-Math.exp(-e)}function IM(e){return isFinite(e)?+("1e"+e):e<0?0:e}function EM(e){return e===10?IM:e===Math.E?Math.exp:t=>Math.pow(e,t)}function _M(e){return e===Math.E?Math.log:e===10&&Math.log10||e===2&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}function ml(e){return(t,n)=>-e(-t,n)}function RM(e){const t=e(dl,hl),n=t.domain;let r=10,o,a;function s(){return o=_M(r),a=EM(r),n()[0]<0?(o=ml(o),a=ml(a),e(CM,NM)):e(dl,hl),t}return t.base=function(u){return arguments.length?(r=+u,s()):r},t.domain=function(u){return arguments.length?(n(u),s()):n()},t.ticks=u=>{const c=n();let l=c[0],d=c[c.length-1];const f=d<l;f&&([l,d]=[d,l]);let h=o(l),m=o(d),p,g;const b=u==null?10:+u;let y=[];if(!(r%1)&&m-h<b){if(h=Math.floor(h),m=Math.ceil(m),l>0){for(;h<=m;++h)for(p=1;p<r;++p)if(g=h<0?p/a(-h):p*a(h),!(g<l)){if(g>d)break;y.push(g)}}else for(;h<=m;++h)for(p=r-1;p>=1;--p)if(g=h>0?p/a(-h):p*a(h),!(g<l)){if(g>d)break;y.push(g)}y.length*2<b&&(y=Ro(l,d,b))}else y=Ro(h,m,Math.min(m-h,b)).map(a);return f?y.reverse():y},t.tickFormat=(u,c)=>{if(u==null&&(u=10),c==null&&(c=r===10?"s":","),typeof c!="function"&&(!(r%1)&&(c=jn(c)).precision==null&&(c.trim=!0),c=Ra(c)),u===1/0)return c;const l=Math.max(1,r*u/t.ticks().length);return d=>{let f=d/a(Math.round(o(d)));return f*r<r-.5&&(f*=r),f<=l?c(d):""}},t.nice=()=>n(ud(n(),{floor:u=>a(Math.floor(o(u))),ceil:u=>a(Math.ceil(o(u)))})),t}function ld(){const e=RM(Ea()).domain([1,10]);return e.copy=()=>li(e,ld()).base(e.base()),it.apply(e,arguments),e}function pl(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function PM(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function AM(e){return e<0?-e*e:e*e}function DM(e){var t=e(Oe,Oe),n=1;function r(){return n===1?e(Oe,Oe):n===.5?e(PM,AM):e(pl(n),pl(1/n))}return t.exponent=function(o){return arguments.length?(n=+o,r()):n},Pa(t)}function Aa(){var e=DM(Ea());return e.copy=function(){return li(e,Aa()).exponent(e.exponent())},it.apply(e,arguments),e}function FM(){return Aa.apply(null,arguments).exponent(.5)}function cd(){var e=[.5],t=[0,1],n,r=1;function o(a){return a!=null&&a<=a?t[Kf(e,a,0,r)]:n}return o.domain=function(a){return arguments.length?(e=Array.from(a),r=Math.min(e.length,t.length-1),o):e.slice()},o.range=function(a){return arguments.length?(t=Array.from(a),r=Math.min(e.length,t.length-1),o):t.slice()},o.invertExtent=function(a){var s=t.indexOf(a);return[e[s-1],e[s]]},o.unknown=function(a){return arguments.length?(n=a,o):n},o.copy=function(){return cd().domain(e).range(t).unknown(n)},it.apply(o,arguments)}const Xi=new Date,Ki=new Date;function ie(e,t,n,r){function o(a){return e(a=arguments.length===0?new Date:new Date(+a)),a}return o.floor=a=>(e(a=new Date(+a)),a),o.ceil=a=>(e(a=new Date(a-1)),t(a,1),e(a),a),o.round=a=>{const s=o(a),u=o.ceil(a);return a-s<u-a?s:u},o.offset=(a,s)=>(t(a=new Date(+a),s==null?1:Math.floor(s)),a),o.range=(a,s,u)=>{const c=[];if(a=o.ceil(a),u=u==null?1:Math.floor(u),!(a<s)||!(u>0))return c;let l;do c.push(l=new Date(+a)),t(a,u),e(a);while(l<a&&a<s);return c},o.filter=a=>ie(s=>{if(s>=s)for(;e(s),!a(s);)s.setTime(s-1)},(s,u)=>{if(s>=s)if(u<0)for(;++u<=0;)for(;t(s,-1),!a(s););else for(;--u>=0;)for(;t(s,1),!a(s););}),n&&(o.count=(a,s)=>(Xi.setTime(+a),Ki.setTime(+s),e(Xi),e(Ki),Math.floor(n(Xi,Ki))),o.every=a=>(a=Math.floor(a),!isFinite(a)||!(a>0)?null:a>1?o.filter(r?s=>r(s)%a===0:s=>o.count(0,s)%a===0):o)),o}const Rr=ie(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);Rr.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?ie(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):Rr);Rr.range;const qe=1e3,$e=qe*60,He=$e*60,Ge=He*24,Da=Ge*7,gl=Ge*30,Zi=Ge*365,dt=ie(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+t*qe)},(e,t)=>(t-e)/qe,e=>e.getUTCSeconds());dt.range;const Fa=ie(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*qe)},(e,t)=>{e.setTime(+e+t*$e)},(e,t)=>(t-e)/$e,e=>e.getMinutes());Fa.range;const La=ie(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+t*$e)},(e,t)=>(t-e)/$e,e=>e.getUTCMinutes());La.range;const za=ie(e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*qe-e.getMinutes()*$e)},(e,t)=>{e.setTime(+e+t*He)},(e,t)=>(t-e)/He,e=>e.getHours());za.range;const Va=ie(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+t*He)},(e,t)=>(t-e)/He,e=>e.getUTCHours());Va.range;const Dn=ie(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*$e)/Ge,e=>e.getDate()-1);Dn.range;const ci=ie(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ge,e=>e.getUTCDate()-1);ci.range;const fd=ie(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/Ge,e=>Math.floor(e/Ge));fd.range;function bt(e){return ie(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(t,n)=>{t.setDate(t.getDate()+n*7)},(t,n)=>(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*$e)/Da)}const fi=bt(0),Pr=bt(1),LM=bt(2),zM=bt(3),Ft=bt(4),VM=bt(5),UM=bt(6);fi.range;Pr.range;LM.range;zM.range;Ft.range;VM.range;UM.range;function vt(e){return ie(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCDate(t.getUTCDate()+n*7)},(t,n)=>(n-t)/Da)}const di=vt(0),Ar=vt(1),qM=vt(2),HM=vt(3),Lt=vt(4),BM=vt(5),GM=vt(6);di.range;Ar.range;qM.range;HM.range;Lt.range;BM.range;GM.range;const Ua=ie(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());Ua.range;const qa=ie(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());qa.range;const We=ie(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());We.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ie(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)});We.range;const Ye=ie(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());Ye.every=e=>!isFinite(e=Math.floor(e))||!(e>0)?null:ie(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)});Ye.range;function dd(e,t,n,r,o,a){const s=[[dt,1,qe],[dt,5,5*qe],[dt,15,15*qe],[dt,30,30*qe],[a,1,$e],[a,5,5*$e],[a,15,15*$e],[a,30,30*$e],[o,1,He],[o,3,3*He],[o,6,6*He],[o,12,12*He],[r,1,Ge],[r,2,2*Ge],[n,1,Da],[t,1,gl],[t,3,3*gl],[e,1,Zi]];function u(l,d,f){const h=d<l;h&&([l,d]=[d,l]);const m=f&&typeof f.range=="function"?f:c(l,d,f),p=m?m.range(l,+d+1):[];return h?p.reverse():p}function c(l,d,f){const h=Math.abs(d-l)/f,m=Sa(([,,b])=>b).right(s,h);if(m===s.length)return e.every(Ao(l/Zi,d/Zi,f));if(m===0)return Rr.every(Math.max(Ao(l,d,f),1));const[p,g]=s[h/s[m-1][2]<s[m][2]/h?m-1:m];return p.every(g)}return[u,c]}const[WM,YM]=dd(Ye,qa,di,fd,Va,La),[QM,XM]=dd(We,Ua,fi,Dn,za,Fa);function Ji(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function eo(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function nn(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function KM(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,a=e.days,s=e.shortDays,u=e.months,c=e.shortMonths,l=rn(o),d=on(o),f=rn(a),h=on(a),m=rn(s),p=on(s),g=rn(u),b=on(u),y=rn(c),O=on(c),T={a:B,A:L,b:Y,B:W,c:null,d:kl,e:kl,f:xj,g:Nj,G:Ej,H:bj,I:vj,j:yj,L:hd,m:wj,M:kj,p:J,q:re,Q:$l,s:Ml,S:Tj,u:Oj,U:$j,V:Mj,w:jj,W:Sj,x:null,X:null,y:Cj,Y:Ij,Z:_j,"%":Ol},$={a:be,A:de,b:ee,B:ve,c:null,d:Tl,e:Tl,f:Dj,g:Wj,G:Qj,H:Rj,I:Pj,j:Aj,L:pd,m:Fj,M:Lj,p:le,q:ye,Q:$l,s:Ml,S:zj,u:Vj,U:Uj,V:qj,w:Hj,W:Bj,x:null,X:null,y:Gj,Y:Yj,Z:Xj,"%":Ol},j={a:D,A:E,b:U,B:F,c:I,d:xl,e:xl,f:hj,g:yl,G:vl,H:wl,I:wl,j:lj,L:dj,m:uj,M:cj,p:A,q:sj,Q:pj,s:gj,S:fj,u:nj,U:rj,V:ij,w:tj,W:oj,x:R,X:V,y:yl,Y:vl,Z:aj,"%":mj};T.x=w(n,T),T.X=w(r,T),T.c=w(t,T),$.x=w(n,$),$.X=w(r,$),$.c=w(t,$);function w(_,z){return function(q){var S=[],te=-1,X=0,ue=_.length,oe,xe,wt;for(q instanceof Date||(q=new Date(+q));++te<ue;)_.charCodeAt(te)===37&&(S.push(_.slice(X,te)),(xe=bl[oe=_.charAt(++te)])!=null?oe=_.charAt(++te):xe=oe==="e"?" ":"0",(wt=z[oe])&&(oe=wt(q,xe)),S.push(oe),X=te+1);return S.push(_.slice(X,te)),S.join("")}}function C(_,z){return function(q){var S=nn(1900,void 0,1),te=P(S,_,q+="",0),X,ue;if(te!=q.length)return null;if("Q"in S)return new Date(S.Q);if("s"in S)return new Date(S.s*1e3+("L"in S?S.L:0));if(z&&!("Z"in S)&&(S.Z=0),"p"in S&&(S.H=S.H%12+S.p*12),S.m===void 0&&(S.m="q"in S?S.q:0),"V"in S){if(S.V<1||S.V>53)return null;"w"in S||(S.w=1),"Z"in S?(X=eo(nn(S.y,0,1)),ue=X.getUTCDay(),X=ue>4||ue===0?Ar.ceil(X):Ar(X),X=ci.offset(X,(S.V-1)*7),S.y=X.getUTCFullYear(),S.m=X.getUTCMonth(),S.d=X.getUTCDate()+(S.w+6)%7):(X=Ji(nn(S.y,0,1)),ue=X.getDay(),X=ue>4||ue===0?Pr.ceil(X):Pr(X),X=Dn.offset(X,(S.V-1)*7),S.y=X.getFullYear(),S.m=X.getMonth(),S.d=X.getDate()+(S.w+6)%7)}else("W"in S||"U"in S)&&("w"in S||(S.w="u"in S?S.u%7:"W"in S?1:0),ue="Z"in S?eo(nn(S.y,0,1)).getUTCDay():Ji(nn(S.y,0,1)).getDay(),S.m=0,S.d="W"in S?(S.w+6)%7+S.W*7-(ue+5)%7:S.w+S.U*7-(ue+6)%7);return"Z"in S?(S.H+=S.Z/100|0,S.M+=S.Z%100,eo(S)):Ji(S)}}function P(_,z,q,S){for(var te=0,X=z.length,ue=q.length,oe,xe;te<X;){if(S>=ue)return-1;if(oe=z.charCodeAt(te++),oe===37){if(oe=z.charAt(te++),xe=j[oe in bl?z.charAt(te++):oe],!xe||(S=xe(_,q,S))<0)return-1}else if(oe!=q.charCodeAt(S++))return-1}return S}function A(_,z,q){var S=l.exec(z.slice(q));return S?(_.p=d.get(S[0].toLowerCase()),q+S[0].length):-1}function D(_,z,q){var S=m.exec(z.slice(q));return S?(_.w=p.get(S[0].toLowerCase()),q+S[0].length):-1}function E(_,z,q){var S=f.exec(z.slice(q));return S?(_.w=h.get(S[0].toLowerCase()),q+S[0].length):-1}function U(_,z,q){var S=y.exec(z.slice(q));return S?(_.m=O.get(S[0].toLowerCase()),q+S[0].length):-1}function F(_,z,q){var S=g.exec(z.slice(q));return S?(_.m=b.get(S[0].toLowerCase()),q+S[0].length):-1}function I(_,z,q){return P(_,t,z,q)}function R(_,z,q){return P(_,n,z,q)}function V(_,z,q){return P(_,r,z,q)}function B(_){return s[_.getDay()]}function L(_){return a[_.getDay()]}function Y(_){return c[_.getMonth()]}function W(_){return u[_.getMonth()]}function J(_){return o[+(_.getHours()>=12)]}function re(_){return 1+~~(_.getMonth()/3)}function be(_){return s[_.getUTCDay()]}function de(_){return a[_.getUTCDay()]}function ee(_){return c[_.getUTCMonth()]}function ve(_){return u[_.getUTCMonth()]}function le(_){return o[+(_.getUTCHours()>=12)]}function ye(_){return 1+~~(_.getUTCMonth()/3)}return{format:function(_){var z=w(_+="",T);return z.toString=function(){return _},z},parse:function(_){var z=C(_+="",!1);return z.toString=function(){return _},z},utcFormat:function(_){var z=w(_+="",$);return z.toString=function(){return _},z},utcParse:function(_){var z=C(_+="",!0);return z.toString=function(){return _},z}}}var bl={"-":"",_:" ",0:"0"},se=/^\s*\d+/,ZM=/^%/,JM=/[\\^$*+?|[\]().{}]/g;function Q(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",a=o.length;return r+(a<n?new Array(n-a+1).join(t)+o:o)}function ej(e){return e.replace(JM,"\\$&")}function rn(e){return new RegExp("^(?:"+e.map(ej).join("|")+")","i")}function on(e){return new Map(e.map((t,n)=>[t.toLowerCase(),n]))}function tj(e,t,n){var r=se.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function nj(e,t,n){var r=se.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function rj(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function ij(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function oj(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function vl(e,t,n){var r=se.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function yl(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function aj(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function sj(e,t,n){var r=se.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function uj(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function xl(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function lj(e,t,n){var r=se.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function wl(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function cj(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function fj(e,t,n){var r=se.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function dj(e,t,n){var r=se.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function hj(e,t,n){var r=se.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function mj(e,t,n){var r=ZM.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function pj(e,t,n){var r=se.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function gj(e,t,n){var r=se.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function kl(e,t){return Q(e.getDate(),t,2)}function bj(e,t){return Q(e.getHours(),t,2)}function vj(e,t){return Q(e.getHours()%12||12,t,2)}function yj(e,t){return Q(1+Dn.count(We(e),e),t,3)}function hd(e,t){return Q(e.getMilliseconds(),t,3)}function xj(e,t){return hd(e,t)+"000"}function wj(e,t){return Q(e.getMonth()+1,t,2)}function kj(e,t){return Q(e.getMinutes(),t,2)}function Tj(e,t){return Q(e.getSeconds(),t,2)}function Oj(e){var t=e.getDay();return t===0?7:t}function $j(e,t){return Q(fi.count(We(e)-1,e),t,2)}function md(e){var t=e.getDay();return t>=4||t===0?Ft(e):Ft.ceil(e)}function Mj(e,t){return e=md(e),Q(Ft.count(We(e),e)+(We(e).getDay()===4),t,2)}function jj(e){return e.getDay()}function Sj(e,t){return Q(Pr.count(We(e)-1,e),t,2)}function Cj(e,t){return Q(e.getFullYear()%100,t,2)}function Nj(e,t){return e=md(e),Q(e.getFullYear()%100,t,2)}function Ij(e,t){return Q(e.getFullYear()%1e4,t,4)}function Ej(e,t){var n=e.getDay();return e=n>=4||n===0?Ft(e):Ft.ceil(e),Q(e.getFullYear()%1e4,t,4)}function _j(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Q(t/60|0,"0",2)+Q(t%60,"0",2)}function Tl(e,t){return Q(e.getUTCDate(),t,2)}function Rj(e,t){return Q(e.getUTCHours(),t,2)}function Pj(e,t){return Q(e.getUTCHours()%12||12,t,2)}function Aj(e,t){return Q(1+ci.count(Ye(e),e),t,3)}function pd(e,t){return Q(e.getUTCMilliseconds(),t,3)}function Dj(e,t){return pd(e,t)+"000"}function Fj(e,t){return Q(e.getUTCMonth()+1,t,2)}function Lj(e,t){return Q(e.getUTCMinutes(),t,2)}function zj(e,t){return Q(e.getUTCSeconds(),t,2)}function Vj(e){var t=e.getUTCDay();return t===0?7:t}function Uj(e,t){return Q(di.count(Ye(e)-1,e),t,2)}function gd(e){var t=e.getUTCDay();return t>=4||t===0?Lt(e):Lt.ceil(e)}function qj(e,t){return e=gd(e),Q(Lt.count(Ye(e),e)+(Ye(e).getUTCDay()===4),t,2)}function Hj(e){return e.getUTCDay()}function Bj(e,t){return Q(Ar.count(Ye(e)-1,e),t,2)}function Gj(e,t){return Q(e.getUTCFullYear()%100,t,2)}function Wj(e,t){return e=gd(e),Q(e.getUTCFullYear()%100,t,2)}function Yj(e,t){return Q(e.getUTCFullYear()%1e4,t,4)}function Qj(e,t){var n=e.getUTCDay();return e=n>=4||n===0?Lt(e):Lt.ceil(e),Q(e.getUTCFullYear()%1e4,t,4)}function Xj(){return"+0000"}function Ol(){return"%"}function $l(e){return+e}function Ml(e){return Math.floor(+e/1e3)}var $t,bd,vd;Kj({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function Kj(e){return $t=KM(e),bd=$t.format,$t.parse,vd=$t.utcFormat,$t.utcParse,$t}function Zj(e){return new Date(e)}function Jj(e){return e instanceof Date?+e:+new Date(+e)}function Ha(e,t,n,r,o,a,s,u,c,l){var d=id(),f=d.invert,h=d.domain,m=l(".%L"),p=l(":%S"),g=l("%I:%M"),b=l("%I %p"),y=l("%a %d"),O=l("%b %d"),T=l("%B"),$=l("%Y");function j(w){return(c(w)<w?m:u(w)<w?p:s(w)<w?g:a(w)<w?b:r(w)<w?o(w)<w?y:O:n(w)<w?T:$)(w)}return d.invert=function(w){return new Date(f(w))},d.domain=function(w){return arguments.length?h(Array.from(w,Jj)):h().map(Zj)},d.ticks=function(w){var C=h();return e(C[0],C[C.length-1],w??10)},d.tickFormat=function(w,C){return C==null?j:l(C)},d.nice=function(w){var C=h();return(!w||typeof w.range!="function")&&(w=t(C[0],C[C.length-1],w??10)),w?h(ud(C,w)):d},d.copy=function(){return li(d,Ha(e,t,n,r,o,a,s,u,c,l))},d}function yd(){return it.apply(Ha(QM,XM,We,Ua,fi,Dn,za,Fa,dt,bd).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function e2(){return it.apply(Ha(WM,YM,Ye,qa,di,ci,Va,La,dt,vd).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function t2(){var e=0,t=1,n,r,o,a,s=Oe,u=!1,c;function l(f){return f==null||isNaN(f=+f)?c:s(o===0?.5:(f=(a(f)-n)*o,u?Math.max(0,Math.min(1,f)):f))}l.domain=function(f){return arguments.length?([e,t]=f,n=a(e=+e),r=a(t=+t),o=n===r?0:1/(r-n),l):[e,t]},l.clamp=function(f){return arguments.length?(u=!!f,l):u},l.interpolator=function(f){return arguments.length?(s=f,l):s};function d(f){return function(h){var m,p;return arguments.length?([m,p]=h,s=f(m,p),l):[s(0),s(1)]}}return l.range=d(ui),l.rangeRound=d(rd),l.unknown=function(f){return arguments.length?(c=f,l):c},function(f){return a=f,n=f(e),r=f(t),o=n===r?0:1/(r-n),l}}function n2(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function xd(){var e=Pa(t2()(Oe));return e.copy=function(){return n2(e,xd())},U$.apply(e,arguments)}function zo(e){return e.scaleType==="band"}function wd(e){return e.scaleType==="point"}function r2(e){return e.type==="piecewise"?cd(e.thresholds,e.colors):xd([e.min??0,e.max??100],e.color)}function Dr(e){return e.values?Nr(e.values,e.colors).unknown(e.unknownColor??null):Nr(e.colors.map((t,n)=>n),e.colors).unknown(e.unknownColor??null)}function fr(e){return e.type==="ordinal"?Dr(e):r2(e)}function gt(e){return e.bandwidth!==void 0}function Ba(e){return typeof e=="number"&&!Number.isFinite(e)}function i2(e){const{tickMaxStep:t,tickMinStep:n,tickNumber:r,range:o,domain:a}=e,s=n===void 0?999:Math.floor(Math.abs(a[1]-a[0])/n),u=t===void 0?2:Math.ceil(Math.abs(a[1]-a[0])/t),c=r??Math.floor(Math.abs(o[1]-o[0])/50);return Math.min(s,Math.max(u,c))}const to={start:0,extremities:0,end:1,middle:.5};function hi(e){const{scale:t,tickNumber:n,valueFormatter:r,tickInterval:o,tickPlacement:a="extremities",tickLabelPlacement:s="middle"}=e;return v.useMemo(()=>{if(gt(t)){const l=t.domain();return t.bandwidth()>0?[...(typeof o=="function"&&l.filter(o)||typeof o=="object"&&o||l).map(h=>({value:h,formattedValue:(r==null?void 0:r(h,{location:"tick"}))??`${h}`,offset:t(h)-(t.step()-t.bandwidth())/2+to[a]*t.step(),labelOffset:s==="tick"?0:t.step()*(to[s]-to[a])})),...a==="extremities"?[{formattedValue:void 0,offset:t.range()[1],labelOffset:0}]:[]]:(typeof o=="function"&&l.filter(o)||typeof o=="object"&&o||l).map(f=>({value:f,formattedValue:(r==null?void 0:r(f,{location:"tick"}))??`${f}`,offset:t(f),labelOffset:0}))}return t.domain().some(Ba)?[]:(typeof o=="object"?o:t.ticks(n)).map(l=>({value:l,formattedValue:(r==null?void 0:r(l,{location:"tick"}))??t.tickFormat(n)(l),offset:t(l),labelOffset:0}))},[t,o,n,r,a,s])}function o2(e,t,n){switch(e){case"log":return ld(t,n);case"pow":return Aa(t,n);case"sqrt":return FM(t,n);case"time":return yd(t,n);case"utc":return e2(t,n);default:return sd(t,n)}}const no=(e,t)=>{const n=e[1]-e[0],r=t[1]-t[0],o=e[0]-t[0]*n/r,a=e[1]+(100-t[1])*n/r;return[o,a]},a2=(e,t,n,r,o,a,s)=>{var m;const u=r[t],c=((m=a[t])==null?void 0:m.series)??{},[l,d]=(u==null?void 0:u({series:c,axis:n,axisIndex:o,isDefaultAxis:o===0,getFilters:s}))??[1/0,-1/0],[f,h]=e;return[Math.min(l,f),Math.max(d,h)]},s2=(e,t,n,r,o)=>{const s=Object.keys(t).reduce((u,c)=>a2(u,c,e,t,n,r,o),[1/0,-1/0]);return Number.isNaN(s[0])||Number.isNaN(s[1])?[1/0,-1/0]:s};function u2(e,t,n){if(t==="rotation"){const{startAngle:o=0,endAngle:a=o+360}=n;return n.reverse?[Math.PI*o/180,Math.PI*a/180]:[Math.PI*a/180,Math.PI*o/180]}if(t==="radius"){const{minRadius:o=0,maxRadius:a=Math.min(e.width,e.height)/2}=n;return[o,a]}const r=t==="x"?[e.left,e.left+e.width]:[e.top+e.height,e.top];return n.reverse?[r[1],r[0]]:r}const jl=e=>(e==null?void 0:e[0])instanceof Date;function Sl(e,t){const n=yd(e.data,t);return(r,{location:o})=>o==="tick"?n.tickFormat(e.tickNumber)(r):`${r.toLocaleString()}`}const l2=.2,c2=.1;function Cl({drawingArea:e,formattedSeries:t,axis:n,extremumGetters:r,axisDirection:o,zoomData:a,zoomOptions:s,getFilters:u}){const c={};return n.forEach((l,d)=>{const f=l,h=s==null?void 0:s[f.id],m=a==null?void 0:a.find(({axisId:I})=>I===f.id),p=m?[m.start,m.end]:[0,100],g=u2(e,o,f),[b,y]=s2(f,r,d,t,m===void 0&&!h?u:void 0),O=f.data??[];if(zo(f)){const I=f.categoryGapRatio??l2,R=f.barGapRatio??c2,V=o==="y"?[g[1],g[0]]:g,B=no(V,p);if(c[f.id]=x({categoryGapRatio:I,barGapRatio:R},f,{data:O,scale:Ca(f.data,B).paddingInner(I).paddingOuter(I/2),tickNumber:f.data.length,colorScale:f.colorMap&&(f.colorMap.type==="ordinal"?Dr(x({values:f.data},f.colorMap)):fr(f.colorMap))}),jl(f.data)){const L=Sl(f,V);c[f.id].valueFormatter=f.valueFormatter??L}}if(wd(f)){const I=o==="y"?[...g].reverse():g,R=no(I,p);if(c[f.id]=x({},f,{data:O,scale:q$(f.data,R),tickNumber:f.data.length,colorScale:f.colorMap&&(f.colorMap.type==="ordinal"?Dr(x({values:f.data},f.colorMap)):fr(f.colorMap))}),jl(f.data)){const V=Sl(f,I);c[f.id].valueFormatter=f.valueFormatter??V}}if(f.scaleType==="band"||f.scaleType==="point")return;const T=f.scaleType??"linear",$=f.domainLimit??"nice",j=[f.min??b,f.max??y];if(typeof $=="function"){const{min:I,max:R}=$(b,y);j[0]=I,j[1]=R}const w=i2(x({},f,{range:g,domain:j})),C=w/((p[1]-p[0])/100),P=no(g,p),A=o2(T,j,P),D=$==="nice"?A.nice(w):A,[E,U]=D.domain(),F=[f.min??E,f.max??U];c[f.id]=x({},f,{data:O,scaleType:T,scale:D.domain(F),tickNumber:C,colorScale:f.colorMap&&fr(f.colorMap)})}),{axis:c,axisIds:n.map(({id:l})=>l)}}let Nl=0;function f2(e){const[t,n]=v.useState(e),r=e||t;return v.useEffect(()=>{t==null&&(Nl+=1,n(`mui-${Nl}`))},[t]),r}const d2={...bh},Il=d2.useId;function kd(e){if(Il!==void 0){const t=Il();return e??t}return f2(e)}const Ga="DEFAULT_X_AXIS_KEY",Wa="DEFAULT_Y_AXIS_KEY",h2={top:50,bottom:50,left:50,right:50},m2=(e,t,n)=>{const r=x({},h2,n);return v.useMemo(()=>({left:r.left,top:r.top,right:r.right,bottom:r.bottom,width:Math.max(0,e-r.left-r.right),height:Math.max(0,t-r.top-r.bottom)}),[e,t,r.top,r.bottom,r.left,r.right])},p2=m2,Fn=v.createContext({top:0,left:0,bottom:0,right:0,height:300,width:400,chartId:"",isPointInside:()=>!1});Fn.displayName="DrawingContext";const Ya=v.createContext({isInitialized:!1,data:{current:null}});Ya.displayName="SvgContext";function g2(e){const{width:t,height:n,margin:r,svgRef:o,children:a}=e,s=p2(t,n,r),u=kd(),c=v.useCallback(({x:f,y:h},m)=>{if(m!=null&&m.targetElement&&(m!=null&&m.targetElement.closest("[data-drawing-container]")))return!0;const p=f>=s.left-1&&f<=s.left+s.width,g=h>=s.top-1&&h<=s.top+s.height;return(m==null?void 0:m.direction)==="x"?p:((m==null?void 0:m.direction)==="y"||p)&&g},[s]),l=v.useMemo(()=>x({chartId:u??""},s,{isPointInside:c}),[u,s,c]),d=v.useMemo(()=>({isInitialized:!0,data:o}),[o]);return k.jsx(Ya.Provider,{value:d,children:k.jsx(Fn.Provider,{value:l,children:a})})}function Pe(){const{left:e,top:t,width:n,height:r,bottom:o,right:a,isPointInside:s}=v.useContext(Fn);return v.useMemo(()=>({left:e,top:t,width:n,height:r,bottom:o,right:a,isPointInside:s}),[r,e,t,n,o,a,s])}const b2=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"];function v2(e,t,n=b2){return e.type==="pie"?x({},e,{data:e.data.map((r,o)=>x({color:n[o%n.length]},r))}):x({color:n[t%n.length]},e)}const y2=({series:e,colors:t,seriesFormatters:n,dataset:r})=>{const o={};e.forEach((s,u)=>{var d;const{id:c=`auto-generated-id-${u}`,type:l}=s;if(o[l]===void 0&&(o[l]={series:{},seriesOrder:[]}),((d=o[l])==null?void 0:d.series[c])!==void 0)throw new Error(`MUI X: series' id "${c}" is not unique.`);o[l].series[c]=x({id:c},v2(s,u,t)),o[l].seriesOrder.push(c)});const a={};return Object.keys(n).forEach(s=>{var c;const u=o[s];u!==void 0&&(a[s]=((c=n[s])==null?void 0:c.call(n,u,r))??o[s])}),a},x2=["#02B2AF","#2E96FF","#B800D8","#60009B","#2731C8","#03008D"],w2=["#02B2AF","#72CCFF","#DA00FF","#9001CB","#2E96FF","#3B48E0"],k2=e=>e==="dark"?w2:x2,Qa=v.createContext({isInitialized:!1,data:{}});Qa.displayName="SeriesContext";const Yt=v.createContext({isInitialized:!1,data:{colorProcessors:{},seriesFormatters:{},xExtremumGetters:{},yExtremumGetters:{},rotationExtremumGetters:{},radiusExtremumGetters:{}}});Yt.displayName="PluginContext";const El=(e,t)=>t==="x"?{x:e,y:null}:{x:null,y:e},Td=e=>{var c;const{axis:t,getFilters:n,isDefaultAxis:r}=e,o=n==null?void 0:n({currentAxisId:t.id,isDefaultAxis:r}),a=o?(c=t.data)==null?void 0:c.filter((l,d)=>o({x:null,y:null},d)):t.data,s=Math.min(...a??[]),u=Math.max(...a??[]);return[s,u]},Od=e=>t=>{const{series:n,axis:r,getFilters:o,isDefaultAxis:a}=t;return Object.keys(n).filter(s=>{const u=n[s].yAxisId??n[s].yAxisKey;return u===r.id||a&&u===void 0}).reduce((s,u)=>{const{stackedData:c}=n[u],l=o==null?void 0:o({currentAxisId:r.id,isDefaultAxis:a,seriesXAxisId:n[u].xAxisId??n[u].xAxisKey,seriesYAxisId:n[u].yAxisId??n[u].yAxisKey}),[d,f]=(c==null?void 0:c.reduce((h,m,p)=>l&&(!l(El(m[0],e),p)||!l(El(m[1],e),p))?h:[Math.min(...m,h[0]),Math.max(...m,h[1])],[1/0,-1/0]))??[1/0,-1/0];return[Math.min(d,s[0]),Math.max(f,s[1])]},[1/0,-1/0])},T2=e=>Object.keys(e.series).some(n=>e.series[n].layout==="horizontal")?Od("x")(e):Td(e),O2=e=>Object.keys(e.series).some(n=>e.series[n].layout==="horizontal")?Td(e):Od("y")(e);function Ce(e){return function(){return e}}const $2=Math.PI,ro=2*$2;function $d(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function M2(e,t){return t<e?-1:t>e?1:t>=e?0:NaN}function j2(e){return e}function S2(){var e=j2,t=M2,n=null,r=Ce(0),o=Ce(ro),a=Ce(0);function s(u){var c,l=(u=$d(u)).length,d,f,h=0,m=new Array(l),p=new Array(l),g=+r.apply(this,arguments),b=Math.min(ro,Math.max(-ro,o.apply(this,arguments)-g)),y,O=Math.min(Math.abs(b)/l,a.apply(this,arguments)),T=O*(b<0?-1:1),$;for(c=0;c<l;++c)($=p[m[c]=c]=+e(u[c],c,u))>0&&(h+=$);for(t!=null?m.sort(function(j,w){return t(p[j],p[w])}):n!=null&&m.sort(function(j,w){return n(u[j],u[w])}),c=0,f=h?(b-l*T)/h:0;c<l;++c,g=y)d=m[c],$=p[d],y=g+($>0?$*f:0)+T,p[d]={data:u[d],index:c,value:$,startAngle:g,endAngle:y,padAngle:O};return p}return s.value=function(u){return arguments.length?(e=typeof u=="function"?u:Ce(+u),s):e},s.sortValues=function(u){return arguments.length?(t=u,n=null,s):t},s.sort=function(u){return arguments.length?(n=u,t=null,s):n},s.startAngle=function(u){return arguments.length?(r=typeof u=="function"?u:Ce(+u),s):r},s.endAngle=function(u){return arguments.length?(o=typeof u=="function"?u:Ce(+u),s):o},s.padAngle=function(u){return arguments.length?(a=typeof u=="function"?u:Ce(+u),s):a},s}function zt(e,t){if((s=e.length)>1)for(var n=1,r,o,a=e[t[0]],s,u=a.length;n<s;++n)for(o=a,a=e[t[n]],r=0;r<u;++r)a[r][1]+=a[r][0]=isNaN(o[r][1])?o[r][0]:o[r][1]}function Vt(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function C2(e,t){return e[t]}function N2(e){const t=[];return t.key=e,t}function Md(){var e=Ce([]),t=Vt,n=zt,r=C2;function o(a){var s=Array.from(e.apply(this,arguments),N2),u,c=s.length,l=-1,d;for(const f of a)for(u=0,++l;u<c;++u)(s[u][l]=[0,+r(f,s[u].key,l,a)]).data=f;for(u=0,d=$d(t(s));u<c;++u)s[d[u]].index=u;return n(s,d),s}return o.keys=function(a){return arguments.length?(e=typeof a=="function"?a:Ce(Array.from(a)),o):e},o.value=function(a){return arguments.length?(r=typeof a=="function"?a:Ce(+a),o):r},o.order=function(a){return arguments.length?(t=a==null?Vt:typeof a=="function"?a:Ce(Array.from(a)),o):t},o.offset=function(a){return arguments.length?(n=a??zt,o):n},o}function I2(e,t){if((r=e.length)>0){for(var n,r,o=0,a=e[0].length,s;o<a;++o){for(s=n=0;n<r;++n)s+=e[n][o][1]||0;if(s)for(n=0;n<r;++n)e[n][o][1]/=s}zt(e,t)}}function E2(e,t){if((c=e.length)>0)for(var n,r=0,o,a,s,u,c,l=e[t[0]].length;r<l;++r)for(s=u=0,n=0;n<c;++n)(a=(o=e[t[n]][r])[1]-o[0])>0?(o[0]=s,o[1]=s+=a):a<0?(o[1]=u,o[0]=u+=a):(o[0]=0,o[1]=a)}function _2(e,t){if((o=e.length)>0){for(var n=0,r=e[t[0]],o,a=r.length;n<a;++n){for(var s=0,u=0;s<o;++s)u+=e[s][n][1]||0;r[n][1]+=r[n][0]=-u/2}zt(e,t)}}function R2(e,t){if(!(!((s=e.length)>0)||!((a=(o=e[t[0]]).length)>0))){for(var n=0,r=1,o,a,s;r<a;++r){for(var u=0,c=0,l=0;u<s;++u){for(var d=e[t[u]],f=d[r][1]||0,h=d[r-1][1]||0,m=(f-h)/2,p=0;p<u;++p){var g=e[t[p]],b=g[r][1]||0,y=g[r-1][1]||0;m+=b-y}c+=f,l+=m*f}o[r-1][1]+=o[r-1][0]=n,c&&(n-=l/c)}o[r-1][1]+=o[r-1][0]=n,zt(e,t)}}function jd(e){var t=e.map(P2);return Vt(e).sort(function(n,r){return t[n]-t[r]})}function P2(e){for(var t=-1,n=0,r=e.length,o,a=-1/0;++t<r;)(o=+e[t][1])>a&&(a=o,n=t);return n}function Sd(e){var t=e.map(Cd);return Vt(e).sort(function(n,r){return t[n]-t[r]})}function Cd(e){for(var t=0,n=-1,r=e.length,o;++n<r;)(o=+e[n][1])&&(t+=o);return t}function A2(e){return Sd(e).reverse()}function D2(e){var t=e.length,n,r,o=e.map(Cd),a=jd(e),s=0,u=0,c=[],l=[];for(n=0;n<t;++n)r=a[n],s<u?(s+=o[r],c.push(r)):(u+=o[r],l.push(r));return l.reverse().concat(c)}function F2(e){return Vt(e).reverse()}const _l=new Set;function Xa(e,t="warning"){const n=Array.isArray(e)?e.join(` `):e;_l.has(n)||(_l.add(n),t==="error"?console.error(n):console.warn(n))}const io={appearance:jd,ascending:Sd,descending:A2,insideOut:D2,none:Vt,reverse:F2},oo={expand:I2,diverging:E2,none:zt,silhouette:_2,wiggle:R2},Nd=e=>{const{series:t,seriesOrder:n,defaultStrategy:r}=e,o=[],a={};return n.forEach(s=>{const{stack:u,stackOrder:c,stackOffset:l}=t[s];u===void 0?o.push({ids:[s],stackingOrder:io.none,stackingOffset:oo.none}):a[u]===void 0?(a[u]=o.length,o.push({ids:[s],stackingOrder:io[c??(r==null?void 0:r.stackOrder)??"none"],stackingOffset:oo[l??(r==null?void 0:r.stackOffset)??"diverging"]})):(o[a[u]].ids.push(s),c!==void 0&&(o[a[u]].stackingOrder=io[c]),l!==void 0&&(o[a[u]].stackingOffset=oo[l]))}),o};function Id(e,t){const n={};return Object.keys(e).forEach(r=>{n[r]=x({},e[r],{valueFormatter:e[r].valueFormatter??t})}),n}const L2=(e,t)=>{const{seriesOrder:n,series:r}=e,o=Nd(e),a=t??[];n.forEach(u=>{const c=r[u].data;if(c!==void 0)c.forEach((l,d)=>{a.length<=d?a.push({[u]:l}):a[d][u]=l});else if(t===void 0)throw new Error([`MUI X: bar series with id='${u}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join(` `))});const s={};return o.forEach(u=>{const{ids:c,stackingOffset:l,stackingOrder:d}=u,f=Md().keys(c.map(h=>{const m=r[h].dataKey;return r[h].data===void 0&&m!==void 0?m:h})).value((h,m)=>h[m]??0).order(d).offset(l)(a);c.forEach((h,m)=>{const p=r[h].dataKey;s[h]=x({layout:"vertical"},r[h],{data:p?t.map(g=>{const b=g[p];return typeof b!="number"?(b!==null&&Xa([`MUI X: your dataset key "${p}" is used for plotting bars, but contains nonnumerical elements.`,"Bar plots only support numbers and null values."]),0):b}):r[h].data,stackedData:f[m].map(([g,b])=>[g,b])})})}),{seriesOrder:n,stackingGroups:o,series:Id(s,u=>u==null?"":u.toLocaleString())}},z2=L2,V2=(e,t,n)=>{const r=e.layout==="vertical",o=r?t==null?void 0:t.colorScale:n==null?void 0:n.colorScale,a=r?n==null?void 0:n.colorScale:t==null?void 0:t.colorScale,s=r?t==null?void 0:t.data:n==null?void 0:n.data;return a?u=>{const c=e.data[u],l=c===null?e.color:a(c);return l===null?e.color:l}:o&&s?u=>{const c=s[u],l=c===null?e.color:o(c);return l===null?e.color:l}:()=>e.color},Ed=V2,U2={seriesType:"bar",seriesFormatter:z2,colorProcessor:Ed,xExtremumGetter:T2,yExtremumGetter:O2},Fr=(e,t)=>[t[0]===null?e[0]:Math.min(e[0],t[0]),t[1]===null?e[1]:Math.max(e[1],t[1])],q2=e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:o}=e;return Object.keys(t).filter(a=>{const s=t[a].xAxisId??t[a].xAxisKey;return s===n.id||s===void 0&&r}).reduce((a,s)=>{var l;const u=o==null?void 0:o({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[s].xAxisId??t[s].xAxisKey,seriesYAxisId:t[s].yAxisId??t[s].yAxisKey}),c=(l=t[s].data)==null?void 0:l.reduce((d,f,h)=>u&&!u(f,h)?d:Fr(d,[f.x,f.x]),[1/0,-1/0]);return Fr(a,c??[1/0,-1/0])},[1/0,-1/0])},H2=e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:o}=e;return Object.keys(t).filter(a=>{const s=t[a].yAxisId??t[a].yAxisKey;return s===n.id||s===void 0&&r}).reduce((a,s)=>{var l;const u=o==null?void 0:o({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[s].xAxisId??t[s].xAxisKey,seriesYAxisId:t[s].yAxisId??t[s].yAxisKey}),c=(l=t[s].data)==null?void 0:l.reduce((d,f,h)=>u&&!u(f,h)?d:Fr(d,[f.y,f.y]),[1/0,-1/0]);return Fr(a,c??[1/0,-1/0])},[1/0,-1/0])},B2=({series:e,seriesOrder:t},n)=>({series:Object.fromEntries(Object.entries(e).map(([o,a])=>{const s=a==null?void 0:a.datasetKeys,u=["x","y","id"].filter(l=>typeof(s==null?void 0:s[l])!="string");if(a!=null&&a.datasetKeys&&u.length>0)throw new Error([`MUI X: scatter series with id='${o}' has incomplete datasetKeys.`,`Properties ${u.map(l=>`"${l}"`).join(", ")} are missing.`].join(` `));const c=s?(n==null?void 0:n.map(l=>({x:l[s.x]??null,y:l[s.y]??null,z:s.z&&l[s.z],id:l[s.id]})))??[]:a.data??[];return[o,x({},a,{data:c,valueFormatter:a.valueFormatter??(l=>`(${l.x}, ${l.y})`)})]})),seriesOrder:t}),G2=B2,W2=(e,t,n,r)=>{const o=r==null?void 0:r.colorScale,a=n==null?void 0:n.colorScale,s=t==null?void 0:t.colorScale;return o?u=>{var d,f;if(((d=r==null?void 0:r.data)==null?void 0:d[u])!==void 0){const h=o((f=r==null?void 0:r.data)==null?void 0:f[u]);if(h!==null)return h}const c=e.data[u],l=c===null?e.color:o(c.z);return l===null?e.color:l}:a?u=>{const c=e.data[u],l=c===null?e.color:a(c.y);return l===null?e.color:l}:s?u=>{const c=e.data[u],l=c===null?e.color:s(c.x);return l===null?e.color:l}:()=>e.color},Y2=W2,Q2={seriesType:"scatter",seriesFormatter:G2,colorProcessor:Y2,xExtremumGetter:q2,yExtremumGetter:H2},X2=e=>{const{axis:t}=e,n=Math.min(...t.data??[]),r=Math.max(...t.data??[]);return[n,r]};function K2(e,t,n){return t.reduce((r,o,a)=>{const[s,u]=e(o);return n&&(!n({y:s,x:null},a)||!n({y:u,x:null},a))?r:[Math.min(s,u,r[0]),Math.max(s,u,r[1])]},[1/0,-1/0])}const Z2=e=>{const{series:t,axis:n,isDefaultAxis:r,getFilters:o}=e;return Object.keys(t).filter(a=>{const s=t[a].yAxisId??t[a].yAxisKey;return s===n.id||r&&s===void 0}).reduce((a,s)=>{const{area:u,stackedData:c}=t[s],l=u!==void 0,d=o==null?void 0:o({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:t[s].xAxisId??t[s].xAxisKey,seriesYAxisId:t[s].yAxisId??t[s].yAxisKey}),f=l&&n.scaleType!=="log"&&typeof t[s].baseline!="string"?g=>g:g=>[g[1],g[1]],h=K2(f,c,d),[m,p]=h;return[Math.min(m,a[0]),Math.max(p,a[1])]},[1/0,-1/0])},J2=(e,t)=>{const{seriesOrder:n,series:r}=e,o=Nd(x({},e,{defaultStrategy:{stackOffset:"none"}})),a=t??[];n.forEach(u=>{const c=r[u].data;if(c!==void 0)c.forEach((l,d)=>{a.length<=d?a.push({[u]:l}):a[d][u]=l});else if(t===void 0)throw new Error([`MUI X: line series with id='${u}' has no data.`,"Either provide a data property to the series or use the dataset prop."].join(` `))});const s={};return o.forEach(u=>{const{ids:c,stackingOrder:l,stackingOffset:d}=u,f=Md().keys(c.map(h=>{const m=r[h].dataKey;return r[h].data===void 0&&m!==void 0?m:h})).value((h,m)=>h[m]??0).order(l).offset(d)(a);c.forEach((h,m)=>{const p=r[h].dataKey;s[h]=x({},r[h],{data:p?t.map(g=>{const b=g[p];return typeof b!="number"?(b!==null&&Xa([`MUI X: Your dataset key "${p}" is used for plotting line, but contains nonnumerical elements.`,"Line plots only support numbers and null values."]),null):b}):r[h].data,stackedData:f[m].map(([g,b])=>[g,b])})})}),{seriesOrder:n,stackingGroups:o,series:Id(s,u=>u==null?"":u.toLocaleString())}},eS=J2,tS=(e,t,n)=>{const r=n==null?void 0:n.colorScale,o=t==null?void 0:t.colorScale;return r?a=>{const s=e.data[a],u=s===null?e.color:r(s);return u===null?e.color:u}:o?a=>{var c;const s=(c=t.data)==null?void 0:c[a],u=s===null?e.color:o(s);return u===null?e.color:u}:()=>e.color},nS=tS,rS={seriesType:"line",colorProcessor:nS,seriesFormatter:eS,xExtremumGetter:X2,yExtremumGetter:Z2};function Be(e,t){return typeof e=="function"?e(t):e}const iS=(e="none")=>{if(typeof e=="function")return e;switch(e){case"none":return null;case"desc":return(t,n)=>n-t;case"asc":return(t,n)=>t-n;default:return null}},oS=e=>{const{seriesOrder:t,series:n}=e,r={};return t.forEach(o=>{const a=S2().startAngle(2*Math.PI*(n[o].startAngle??0)/360).endAngle(2*Math.PI*(n[o].endAngle??360)/360).padAngle(2*Math.PI*(n[o].paddingAngle??0)/360).sortValues(iS(n[o].sortingValues??"none"))(n[o].data.map(s=>s.value));r[o]=x({valueFormatter:s=>s.value.toLocaleString()},n[o],{data:n[o].data.map((s,u)=>x({},s,{id:s.id??`auto-generated-pie-id-${o}-${u}`},a[u])).map((s,u)=>{var c,l;return x({},s,{formattedValue:((l=(c=n[o]).valueFormatter)==null?void 0:l.call(c,x({},s,{label:Be(s.label,"arc")}),{dataIndex:u}))??s.value.toLocaleString()})})})}),{seriesOrder:t,series:r}},aS=oS,sS=e=>t=>e.data[t].color,uS=sS,lS={seriesType:"pie",colorProcessor:uS,seriesFormatter:aS},cS=[U2,Q2,rS,lS];function fS(e){const t=e??cS,n={},r={},o={},a={},s={},u={};for(let c=0;c<t.length;c+=1){const l=t[c],d=l.seriesType;n[d]=l.seriesFormatter,r[d]=l.colorProcessor,l.xExtremumGetter&&(o[d]=l.xExtremumGetter),l.yExtremumGetter&&(a[d]=l.yExtremumGetter),l.rotationExtremumGetter&&(s[d]=l.rotationExtremumGetter),l.radiusExtremumGetter&&(u[d]=l.radiusExtremumGetter)}return{seriesFormatters:n,colorProcessors:r,xExtremumGetters:o,yExtremumGetters:a,rotationExtremumGetters:s,radiusExtremumGetters:u}}function dS(e){const{children:t,plugins:n}=e,r=v.useMemo(()=>({isInitialized:!0,data:fS(n)}),[n]);return k.jsx(Yt.Provider,{value:r,children:t})}function _d(e){const{isInitialized:t,data:n}=v.useContext(Yt);if(!t)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return e?n.colorProcessors[e]:n.colorProcessors}function hS(e){const{isInitialized:t,data:n}=v.useContext(Yt);if(!t)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return e?n.seriesFormatters[e]:n.seriesFormatters}function mS(e){const{isInitialized:t,data:n}=v.useContext(Yt);if(!t)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return e?n.xExtremumGetters[e]:n.xExtremumGetters}function pS(e){const{isInitialized:t,data:n}=v.useContext(Yt);if(!t)throw new Error(["MUI X: Could not find the plugin context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return e?n.yExtremumGetters[e]:n.yExtremumGetters}function gS(e){const{series:t,dataset:n,colors:r=k2,children:o}=e,a=hS(),s=Sn(),u=v.useMemo(()=>({isInitialized:!0,data:y2({series:t,colors:typeof r=="function"?r(s.palette.mode):r,seriesFormatters:a,dataset:n})}),[t,r,s.palette.mode,a,n]);return k.jsx(Qa.Provider,{value:u,children:o})}function ot(){const{isInitialized:e,data:t}=v.useContext(Qa);if(!e)throw new Error(["MUI X: Could not find the series ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return t}function bS(){const e=ot();return v.useMemo(()=>e.bar,[e.bar])}const Ka=v.createContext({isInitialized:!1,data:{xAxis:{},yAxis:{},xAxisIds:[],yAxisIds:[]}});Ka.displayName="CartesianContext";function vS(e){const{xAxis:t,yAxis:n,children:r}=e,o=ot(),a=Pe(),s=mS(),u=pS(),c=v.useMemo(()=>Cl({drawingArea:a,formattedSeries:o,axis:t,extremumGetters:s,axisDirection:"x"}),[a,o,t,s]),l=v.useMemo(()=>Cl({drawingArea:a,formattedSeries:o,axis:n,extremumGetters:u,axisDirection:"y"}),[a,o,n,u]),d=v.useMemo(()=>({isInitialized:!0,data:{xAxis:c.axis,yAxis:l.axis,xAxisIds:c.axisIds,yAxisIds:l.axisIds}}),[c,l]);return k.jsx(Ka.Provider,{value:d,children:r})}const Ae=()=>{const{data:e}=v.useContext(Ka);return e};function at(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let s="",u=!0;for(let c=0;c<a.length;c+=1){const l=a[c];l&&(s+=(u===!0?"":" ")+t(l),u=!1,n&&n[l]&&(s+=" "+n[l]))}r[o]=s}return r}function yS(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Rd(...e){return v.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{yS(n,t)})},e)}function xS(e){return typeof e=="string"}function wS(e,t,n){return e===void 0||xS(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function kS(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Rl(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function TS(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const m=Me(n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),p={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},g={...n,...o,...r};return m.length>0&&(g.className=m),Object.keys(p).length>0&&(g.style=p),{props:g,internalRef:void 0}}const s=kS({...o,...r}),u=Rl(r),c=Rl(o),l=t(s),d=Me(l==null?void 0:l.className,n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),f={...l==null?void 0:l.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},h={...l,...n,...c,...u};return d.length>0&&(h.className=d),Object.keys(f).length>0&&(h.style=f),{props:h,internalRef:l.ref}}function OS(e,t,n){return typeof e=="function"?e(t,n):e}function Re(e){var f;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...a}=e,s=o?{}:OS(n,r),{props:u,internalRef:c}=TS({...a,externalSlotProps:s}),l=Rd(c,s==null?void 0:s.ref,(f=e.additionalProps)==null?void 0:f.ref);return wS(t,{...u,ref:l},r)}const Pl=e=>e,$S=()=>{let e=Pl;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Pl}}},MS=$S(),jS=MS,SS={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 st(e,t,n="Mui"){const r=SS[t];return r?`${n}-${r}`:`${jS.generate(e)}-${t}`}function yt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=st(e,o,n)}),r}const xt=v.createContext({item:null,axis:{x:null,y:null},useVoronoiInteraction:!1,dispatch:()=>null});xt.displayName="InteractionContext";const CS=(e,t)=>{switch(t.type){case"enterItem":return x({},e,{item:t.data});case"exitChart":return e.item===null&&e.axis.x===null&&e.axis.y===null?e:x({},e,{axis:{x:null,y:null},item:null});case"updateVoronoiUsage":return x({},e,{useVoronoiInteraction:t.useVoronoiInteraction});case"leaveItem":return e.item===null||Object.keys(t.data).some(n=>t.data[n]!==e.item[n])?e:x({},e,{item:null});case"updateAxis":return t.data.x===e.axis.x&&t.data.y===e.axis.y?e:x({},e,{axis:t.data});default:return e}};function NS(e){const{children:t}=e,[n,r]=v.useReducer(CS,{item:null,axis:{x:null,y:null},useVoronoiInteraction:!1}),o=v.useMemo(()=>x({},n,{dispatch:r}),[n]);return k.jsx(xt.Provider,{value:o,children:t})}function IS({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=v.useRef(e!==void 0),[a,s]=v.useState(t),u=o?e:a;{v.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(` `))},[r,n,e]);const{current:l}=v.useRef(t);v.useEffect(()=>{!o&&!Object.is(l,t)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(` `))},[JSON.stringify(t)])}const c=v.useCallback(l=>{o||s(l)},[]);return[u,c]}const Za=v.createContext({isInitialized:!1,data:{highlightedItem:null,setHighlighted:()=>{},clearHighlighted:()=>{},isHighlighted:()=>!1,isFaded:()=>!1}});Za.displayName="HighlightedContext";const ES=(e,t)=>n=>e?e.fade==="series"?n.seriesId===(t==null?void 0:t.seriesId)&&n.dataIndex!==(t==null?void 0:t.dataIndex):e.fade==="global"?n.seriesId!==(t==null?void 0:t.seriesId)||n.dataIndex!==(t==null?void 0:t.dataIndex):!1:!1,_S=(e,t)=>n=>e?e.highlight==="series"?n.seriesId===(t==null?void 0:t.seriesId):e.highlight==="item"?n.dataIndex===(t==null?void 0:t.dataIndex)&&n.seriesId===(t==null?void 0:t.seriesId):!1:!1,RS=["highlighted","faded"],PS=e=>{const t=e??{},{highlighted:n,faded:r}=t,o=Z(t,RS);return x({highlight:n,fade:r},o)};function Pd({children:e,highlightedItem:t,onHighlightChange:n}){const[r,o]=IS({controlled:t,default:null,name:"HighlightedProvider",state:"highlightedItem"}),a=ot(),s=v.useMemo(()=>{const l=new Map;return Object.keys(a).forEach(d=>{const f=a[d];Object.keys((f==null?void 0:f.series)??{}).forEach(h=>{const m=f==null?void 0:f.series[h];l.set(h,PS(m==null?void 0:m.highlightScope))})}),l},[a]),u=r&&r.seriesId?s.get(r.seriesId)??void 0:void 0,c=v.useMemo(()=>({isInitialized:!0,data:{highlightScope:u,highlightedItem:r,setHighlighted:l=>{o(l),n==null||n(l)},clearHighlighted:()=>{o(null),n==null||n(null)},isHighlighted:_S(u,r),isFaded:ES(u,r)}}),[r,u,o,n]);return k.jsx(Za.Provider,{value:c,children:e})}Pd.propTypes={children:i.node,highlightedItem:i.shape({dataIndex:i.number,seriesId:i.oneOfType([i.number,i.string])}),onHighlightChange:i.func};function Ad(){const{isInitialized:e,data:t}=v.useContext(Za);if(!e)throw new Error(["MUI X: Could not find the highlighted ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return t}function Dd(e){const t=Ad();if(!e)return{isHighlighted:!1,isFaded:!1};const n=t.isHighlighted(e),r=!n&&t.isFaded(e);return{isHighlighted:n,isFaded:r}}const mi=v.createContext({zAxis:{},zAxisIds:[]});mi.displayName="ZAxisContext";function Fd(e){const{zAxis:t,dataset:n,children:r}=e,o=v.useMemo(()=>t==null?void 0:t.map(s=>{const u=s.dataKey;if(u===void 0||s.data!==void 0)return s;if(n===void 0)throw new Error("MUI X: z-axis uses `dataKey` but no `dataset` is provided.");return x({},s,{data:n.map(c=>c[u])})}),[t,n]),a=v.useMemo(()=>{const s=(o==null?void 0:o.map((c,l)=>x({id:`defaultized-z-axis-${l}`},c)))??[],u={};return s.forEach(c=>{u[c.id]=x({},c,{colorScale:c.colorMap&&(c.colorMap.type==="ordinal"&&c.data?Dr(x({values:c.data},c.colorMap)):fr(c.colorMap.type==="continuous"?x({min:c.min,max:c.max},c.colorMap):c.colorMap))})}),{zAxis:u,zAxisIds:s.map(({id:c})=>c)}},[o]);return k.jsx(mi.Provider,{value:a,children:r})}Fd.propTypes={children:i.node,dataset:i.arrayOf(i.object),zAxis:i.arrayOf(i.shape({colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,id:i.string,max:i.number,min:i.number}))};const AS=e=>{const{dispatch:t}=v.useContext(xt),{setHighlighted:n,clearHighlighted:r}=Ad();return e?()=>({}):a=>({onPointerEnter:()=>{t({type:"enterItem",data:a}),n({seriesId:a.seriesId,dataIndex:a.dataIndex})},onPointerLeave:l=>{l.currentTarget.hasPointerCapture(l.pointerId)&&l.currentTarget.releasePointerCapture(l.pointerId),t({type:"leaveItem",data:a}),r()},onPointerDown:l=>{l.currentTarget.hasPointerCapture(l.pointerId)&&l.currentTarget.releasePointerCapture(l.pointerId)}})},DS=["id","dataIndex","classes","color","slots","slotProps","style","onClick"];function FS(e){return st("MuiBarElement",e)}yt("MuiBarElement",["root"]);const LS=e=>{const{classes:t,id:n}=e,r={root:["root",`series-${n}`]};return at(r,FS,t)},zS=ne(ja.rect,{name:"MuiBarElement",slot:"Root",overridesResolver:(e,t)=>t.root})(({ownerState:e})=>({stroke:"none",fill:e.isHighlighted?At(e.color).brighter(.5).formatHex():e.color,transition:"opacity 0.2s ease-in, fill 0.2s ease-in",opacity:e.isFaded&&.3||1}));function Ld(e){const{id:t,dataIndex:n,classes:r,color:o,slots:a,slotProps:s,style:u,onClick:c}=e,l=Z(e,DS),d=AS(),{isFaded:f,isHighlighted:h}=Dd({seriesId:t,dataIndex:n}),m={id:t,dataIndex:n,classes:r,color:o,isFaded:f,isHighlighted:h},p=LS(m),g=(a==null?void 0:a.bar)??zS,b=Re({elementType:g,externalSlotProps:s==null?void 0:s.bar,externalForwardedProps:l,additionalProps:x({},d({type:"bar",seriesId:t,dataIndex:n}),{style:u,onClick:c,cursor:c?"pointer":"unset"}),className:p.root,ownerState:m});return k.jsx(g,x({},b))}Ld.propTypes={classes:i.object,dataIndex:i.number.isRequired,id:i.oneOfType([i.number,i.string]).isRequired,slotProps:i.object,slots:i.object};function VS(){const{chartId:e}=v.useContext(Fn);return v.useMemo(()=>e,[e])}function Al(e){return gt(e)?t=>(e(t)??0)+e.bandwidth()/2:t=>e(t)}function Ja(){const{isInitialized:e,data:t}=v.useContext(Ya);if(!e)throw new Error(["MUI X: Could not find the svg ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return t}const Zn=(e,{hasNegative:t,hasPositive:n,borderRadius:r,layout:o})=>{if(!r)return 0;const a=o==="vertical";return e==="top-left"&&(a&&n||!a&&t)||e==="top-right"&&(a&&n||!a&&n)||e==="bottom-right"&&(a&&t||!a&&n)||e==="bottom-left"&&(a&&t||!a&&t)?r:0},US=["style","maskId"],qS=e=>`inset(0px round ${e.topLeft}px ${e.topRight}px ${e.bottomRight}px ${e.bottomLeft}px)`;function HS(e){var n,r;const t=e.ownerState;return k.jsx(ja.rect,{style:x({},e.style,{clipPath:(e.ownerState.layout==="vertical"?(n=e.style)==null?void 0:n.height:(r=e.style)==null?void 0:r.width).to(o=>qS({topLeft:Math.min(o,Zn("top-left",t)),topRight:Math.min(o,Zn("top-right",t)),bottomRight:Math.min(o,Zn("bottom-right",t)),bottomLeft:Math.min(o,Zn("bottom-left",t))}))})})}function BS(e){const{style:t,maskId:n}=e,r=Z(e,US);return!e.borderRadius||e.borderRadius<=0?null:k.jsx("clipPath",{id:n,children:k.jsx(HS,{ownerState:r,style:t})})}function GS(e){return st("MuiBarLabel",e)}const ao=yt("MuiBarLabel",["root","highlighted","faded"]),WS=e=>{const{classes:t,seriesId:n,isFaded:r,isHighlighted:o}=e,a={root:["root",`series-${n}`,o&&"highlighted",r&&"faded"]};return at(a,GS,t)},YS=e=>{const{barLabel:t,value:n,dataIndex:r,seriesId:o,height:a,width:s}=e;return t==="value"?n?n==null?void 0:n.toString():null:t({seriesId:o,dataIndex:r,value:n},{bar:{height:a,width:s}})},QS=["seriesId","dataIndex","color","isFaded","isHighlighted","classes"],XS=ne(ja.text,{name:"MuiBarLabel",slot:"Root",overridesResolver:(e,t)=>[{[`&.${ao.faded}`]:t.faded},{[`&.${ao.highlighted}`]:t.highlighted},t.root]})(({theme:e})=>{var t,n,r,o;return x({},(t=e==null?void 0:e.typography)==null?void 0:t.body2,{stroke:"none",fill:(o=(r=(n=e.vars||e)==null?void 0:n.palette)==null?void 0:r.text)==null?void 0:o.primary,transition:"opacity 0.2s ease-in, fill 0.2s ease-in",textAnchor:"middle",dominantBaseline:"central",pointerEvents:"none",opacity:1,[`&.${ao.faded}`]:{opacity:.3}})});function zd(e){const t=nt({props:e,name:"MuiBarLabel"}),n=Z(t,QS);return k.jsx(XS,x({},n))}zd.propTypes={classes:i.object,dataIndex:i.number.isRequired,isFaded:i.bool.isRequired,isHighlighted:i.bool.isRequired,seriesId:i.oneOfType([i.number,i.string]).isRequired};const KS=["seriesId","classes","color","style","dataIndex","barLabel","slots","slotProps","height","width","value"],ZS=["ownerState"];function Vd(e){const{seriesId:t,classes:n,color:r,style:o,dataIndex:a,barLabel:s,slots:u,slotProps:c,height:l,width:d,value:f}=e,h=Z(e,KS),{isFaded:m,isHighlighted:p}=Dd({seriesId:t,dataIndex:a}),g={seriesId:t,classes:n,color:r,isFaded:m,isHighlighted:p,dataIndex:a},b=WS(g),y=(u==null?void 0:u.barLabel)??zd,O=Re({elementType:y,externalSlotProps:c==null?void 0:c.barLabel,additionalProps:x({},h,{style:o,className:b.root}),ownerState:g}),{ownerState:T}=O,$=Z(O,ZS);if(!s)return null;const j=YS({barLabel:s,value:f,dataIndex:a,seriesId:t,height:l,width:d});return j?k.jsx(y,x({},$,T,{children:j})):null}Vd.propTypes={barLabel:i.oneOfType([i.oneOf(["value"]),i.func]),classes:i.object,color:i.string.isRequired,dataIndex:i.number.isRequired,height:i.number.isRequired,seriesId:i.oneOfType([i.number,i.string]).isRequired,slotProps:i.object,slots:i.object,value:i.number,width:i.number.isRequired};const JS=["bars","skipAnimation"],eC=({layout:e,yOrigin:t,x:n,width:r,y:o,xOrigin:a,height:s})=>x({},e==="vertical"?{y:t,x:n+r/2,height:0,width:r}:{y:o+s/2,x:a,height:s,width:0}),Dl=({x:e,width:t,y:n,height:r})=>({x:e+t/2,y:n+r/2,height:r,width:t});function tC(e){const{bars:t,skipAnimation:n}=e,r=Z(e,JS),o=_o(t,{keys:a=>`${a.seriesId}-${a.dataIndex}`,from:eC,leave:null,enter:Dl,update:Dl,immediate:n});return k.jsx(v.Fragment,{children:o((a,{seriesId:s,dataIndex:u,color:c,value:l,width:d,height:f})=>k.jsx(Vd,x({seriesId:s,dataIndex:u,value:l,color:c,width:d,height:f},r,{style:a})))})}const so=(e,t)=>{const n=`${e}-axis`,r=`${e}Axis`;return t===(e==="x"?Ga:Wa)?`The first \`${r}\``:`The ${n} with id "${t}"`};function nC(e,t,n,r,o,a){const s=r[n],u=a[o],c=e?s:u,l=e?u:s,d=e?n:o,f=e?o:n,h=e?"x":"y",m=e?"y":"x";if(!zo(c))throw new Error(`MUI X: ${so(h,d)} should be of type "band" to display the bar series of id "${t}".`);if(c.data===void 0)throw new Error(`MUI X: ${so(h,d)} should have data property.`);if(zo(l)||wd(l))throw new Error(`MUI X: ${so(m,f)} should be a continuous type to display the bar series of id "${t}".`)}const es=v.createContext({isInitialized:!1,data:{skipAnimation:void 0}});es.displayName="AnimationContext";function rC(e){const{children:t,skipAnimation:n}=e,r=typeof window>"u"||!(window!=null&&window.matchMedia),[o,a]=v.useState(r||void 0);ct(()=>{var l;if(r)return;const u=d=>{const f=d.matches||void 0;a(f),je.assign({skipAnimation:f})},c=window.matchMedia("(prefers-reduced-motion)");return u(c),(l=c==null?void 0:c.addEventListener)==null||l.call(c,"change",u),()=>{var d;(d=c==null?void 0:c.removeEventListener)==null||d.call(c,"change",u)}},[]);const s=v.useMemo(()=>({isInitialized:!0,data:{skipAnimation:n||o}}),[o,n]);return k.jsx(es.Provider,{value:s,children:t})}function iC(e){const{isInitialized:t,data:n}=v.useContext(es);if(!t)throw new Error(["MUI X: Could not find the animation ref context.","It looks like you rendered your component outside of a ChartsContainer parent component."].join(` `));return e||n.skipAnimation}const oC=["skipAnimation","onItemClick","borderRadius","barLabel"];function aC({bandWidth:e,numberOfGroups:t,gapRatio:n}){if(n===0)return{barWidth:e/t,offset:0};const r=e/(t+(t-1)*n),o=n*r;return{barWidth:r,offset:o}}const sC=()=>{const e=bS()??{series:{},stackingGroups:[],seriesOrder:[]},t=Ae(),n=VS(),{series:r,stackingGroups:o}=e,{xAxis:a,yAxis:s,xAxisIds:u,yAxisIds:c}=t,l=u[0],d=c[0],f={};return{completedData:o.flatMap(({ids:m},p)=>m.flatMap(g=>{const b=r[g].xAxisId??r[g].xAxisKey??l,y=r[g].yAxisId??r[g].yAxisKey??d,O=a[b],T=s[y],$=r[g].layout==="vertical";nC($,g,b,a,y,s);const j=$?O:T,w=O.scale,C=T.scale,P=Ed(r[g],a[b],s[y]),A=j.scale.bandwidth(),{barWidth:D,offset:E}=aC({bandWidth:A,numberOfGroups:o.length,gapRatio:j.barGapRatio}),U=p*(D+E),{stackedData:F}=r[g];return F.map((I,R)=>{var re,be;const V=I.map(de=>$?C(de):w(de)),B=Math.round(Math.min(...V)),L=Math.round(Math.max(...V)),Y=r[g].stack,W={seriesId:g,dataIndex:R,layout:r[g].layout,x:$?w((re=a[b].data)==null?void 0:re[R])+U:B,y:$?B:C((be=s[y].data)==null?void 0:be[R])+U,xOrigin:w(0),yOrigin:C(0),height:$?L-B:D,width:$?D:L-B,color:P(R),value:r[g].data[R],maskId:`${n}_${Y||g}_${p}_${R}`};f[W.maskId]||(f[W.maskId]={id:W.maskId,width:0,height:0,hasNegative:!1,hasPositive:!1,layout:W.layout,xOrigin:w(0),yOrigin:C(0),x:0,y:0});const J=f[W.maskId];return J.width=W.layout==="vertical"?W.width:J.width+W.width,J.height=W.layout==="vertical"?J.height+W.height:W.height,J.x=Math.min(J.x===0?1/0:J.x,W.x),J.y=Math.min(J.y===0?1/0:J.y,W.y),J.hasNegative=J.hasNegative||(W.value??0)<0,J.hasPositive=J.hasPositive||(W.value??0)>0,W})})),masksData:Object.values(f)}},Jn=({layout:e,yOrigin:t,x:n,width:r,y:o,xOrigin:a,height:s})=>x({},e==="vertical"?{y:t,x:n,height:0,width:r}:{y:o,x:a,height:s,width:0}),er=({x:e,width:t,y:n,height:r})=>({y:n,x:e,height:r,width:t});function Ud(e){const{completedData:t,masksData:n}=sC(),{skipAnimation:r,onItemClick:o,borderRadius:a,barLabel:s}=e,u=Z(e,oC),c=iC(r),l=!a||a<=0,d=_o(t,{keys:h=>`${h.seriesId}-${h.dataIndex}`,from:Jn,leave:Jn,enter:er,update:er,immediate:c}),f=_o(l?[]:n,{keys:h=>h.id,from:Jn,leave:Jn,enter:er,update:er,immediate:c});return k.jsxs(v.Fragment,{children:[!l&&f((h,{id:m,hasPositive:p,hasNegative:g,layout:b})=>k.jsx(BS,{maskId:m,borderRadius:a,hasNegative:g,hasPositive:p,layout:b,style:h})),d((h,{seriesId:m,dataIndex:p,color:g,maskId:b})=>{const y=k.jsx(Ld,x({id:m,dataIndex:p,color:g},u,{onClick:o&&(O=>{o(O,{type:"bar",seriesId:m,dataIndex:p})}),style:h}));return l?y:k.jsx("g",{clipPath:`url(#${b})`,children:y})}),s&&k.jsx(tC,x({bars:t,skipAnimation:c,barLabel:s},u))]})}Ud.propTypes={barLabel:i.oneOfType([i.oneOf(["value"]),i.func]),borderRadius:i.number,onItemClick:i.func,skipAnimation:i.bool,slotProps:i.object,slots:i.object};function uC(e,t){const n=e.createSVGPoint();return n.x=t.clientX,n.y=t.clientY,n.matrixTransform(e.getScreenCTM().inverse())}function Mt(e){return e instanceof Date?e.getTime():e}const lC=e=>{const t=Ja(),n=Pe(),{xAxis:r,yAxis:o,xAxisIds:a,yAxisIds:s}=Ae(),{dispatch:u}=v.useContext(xt),c=a[0],l=s[0],d=v.useRef({isInChart:!1,x:-1,y:-1});v.useEffect(()=>{const f=t.current;if(f===null||e)return()=>{};function h(b,y){const{scale:O,data:T,reverse:$}=b;if(!gt(O)){const w=O.invert(y);if(T===void 0)return{value:w,index:-1};const C=Mt(w),P=T==null?void 0:T.findIndex((A,D)=>{const E=Mt(A);return E>C&&(D===0||Math.abs(C-E)<=Math.abs(C-Mt(T[D-1])))||E<=C&&(D===T.length-1||Math.abs(Mt(w)-E)<Math.abs(Mt(w)-Mt(T[D+1])))});return{value:P!==void 0&&P>=0?T[P]:w,index:P}}const j=O.bandwidth()===0?Math.floor((y-Math.min(...O.range())+O.step()/2)/O.step()):Math.floor((y-Math.min(...O.range()))/O.step());if(j<0||j>=T.length)return null;if($){const w=T.length-1-j;return{index:w,value:T[w]}}return{index:j,value:T[j]}}const m=()=>{d.current={isInChart:!1,x:-1,y:-1},u({type:"exitChart"})},p=b=>{const y="targetTouches"in b?b.targetTouches[0]:b,O=uC(f,y);if(d.current.x=O.x,d.current.y=O.y,!n.isPointInside(O,{targetElement:b.target})){d.current.isInChart&&(u({type:"exitChart"}),d.current.isInChart=!1);return}d.current.isInChart=!0;const T=h(r[c],O.x),$=h(o[l],O.y);u({type:"updateAxis",data:{x:T,y:$}})},g=b=>{const y=b.currentTarget;y&&y.hasPointerCapture(b.pointerId)&&y.releasePointerCapture(b.pointerId)};return f.addEventListener("pointerdown",g),f.addEventListener("pointermove",p),f.addEventListener("pointerout",m),f.addEventListener("pointercancel",m),f.addEventListener("pointerleave",m),()=>{f.removeEventListener("pointerdown",g),f.removeEventListener("pointermove",p),f.removeEventListener("pointerout",m),f.removeEventListener("pointercancel",m),f.removeEventListener("pointerleave",m)}},[t,u,l,o,c,r,e,n])},cC=["children","width","height","viewBox","disableAxisListener","className","title","desc"],fC=ne("svg",{name:"MuiChartsSurface",slot:"Root"})(()=>({touchAction:"none"})),qd=v.forwardRef(function(t,n){const r=nt({props:t,name:"MuiChartsSurface"}),{children:o,width:a,height:s,viewBox:u,disableAxisListener:c=!1,className:l,title:d,desc:f}=r,h=Z(r,cC),m=x({width:a,height:s,x:0,y:0},u);return lC(c),k.jsxs(fC,x({width:a,height:s,viewBox:`${m.x} ${m.y} ${m.width} ${m.height}`,ref:n,className:l},h,{children:[k.jsx("title",{children:d}),k.jsx("desc",{children:f}),o]}))});qd.propTypes={children:i.node,className:i.string,desc:i.string,disableAxisListener:i.bool,height:i.number.isRequired,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),title:i.string,viewBox:i.shape({height:i.number,width:i.number,x:i.number,y:i.number}),width:i.number.isRequired};function Fl(e){const{isReversed:t,gradientId:n,size:r,direction:o,scale:a,colorMap:s}=e;return r<=0?null:k.jsx("linearGradient",{id:n,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${t?1:2}`]:`${r}px`,gradientUnits:"userSpaceOnUse",children:s.thresholds.map((u,c)=>{const l=a(u);if(l===void 0)return null;const d=t?1-l/r:l/r;return k.jsxs(v.Fragment,{children:[k.jsx("stop",{offset:d,stopColor:s.colors[c],stopOpacity:1}),k.jsx("stop",{offset:d,stopColor:s.colors[c+1],stopOpacity:1})]},u.toString()+c)})})}const dC=10;function Ll(e){const{gradientUnits:t,isReversed:n,gradientId:r,size:o,direction:a,scale:s,colorScale:u,colorMap:c}=e,l=[c.min??0,c.max??100],d=l.map(s).filter(p=>p!==void 0);if(d.length!==2)return null;const f=typeof l[0]=="number"?Mn(l[0],l[1]):nd(l[0],l[1]),h=Math.round((Math.max(...d)-Math.min(...d))/dC),m=`${l[0]}-${l[1]}-`;return k.jsx("linearGradient",{id:r,x1:"0",x2:"0",y1:"0",y2:"0",[`${a}${n?1:2}`]:t==="objectBoundingBox"?1:`${o}px`,gradientUnits:t??"userSpaceOnUse",children:Array.from({length:h+1},(p,g)=>{const b=f(g/h);if(b===void 0)return null;const y=s(b);if(y===void 0)return null;const O=n?1-y/o:y/o,T=u(b);return T===null?null:k.jsx("stop",{offset:O,stopColor:T,stopOpacity:1},m+g)})})}function hC(){const{chartId:e}=v.useContext(Fn);return v.useCallback((t,n)=>`${e}-gradient-${n}-${t}`,[e])}function mC(){const{top:e,height:t,bottom:n,left:r,width:o,right:a}=Pe(),s=e+t+n,u=r+o+a,c=hC(),{xAxisIds:l,xAxis:d,yAxisIds:f,yAxis:h}=Ae();return k.jsxs("defs",{children:[f.filter(m=>h[m].colorMap!==void 0).map(m=>{const p=c(m,"y"),{colorMap:g,scale:b,colorScale:y,reverse:O}=h[m];return(g==null?void 0:g.type)==="piecewise"?k.jsx(Fl,{isReversed:!O,scale:b,colorMap:g,size:s,gradientId:p,direction:"y"},p):(g==null?void 0:g.type)==="continuous"?k.jsx(Ll,{isReversed:!O,scale:b,colorScale:y,colorMap:g,size:s,gradientId:p,direction:"y"},p):null}),l.filter(m=>d[m].colorMap!==void 0).map(m=>{const p=c(m,"x"),{colorMap:g,scale:b,reverse:y,colorScale:O}=d[m];return(g==null?void 0:g.type)==="piecewise"?k.jsx(Fl,{isReversed:y,scale:b,colorMap:g,size:u,gradientId:p,direction:"x"},p):(g==null?void 0:g.type)==="continuous"?k.jsx(Ll,{isReversed:y,scale:b,colorScale:O,colorMap:g,size:u,gradientId:p,direction:"x"},p):null})]})}const zl=(e,t,n)=>{const r=n==="x"?Ga:Wa;return[...(e==null?void 0:e.map((o,a)=>x({id:`defaultized-${n}-axis-${a}`},o)))??[],...e===void 0||e.findIndex(({id:o})=>o===r)===-1?[{id:r,scaleType:"linear"}]:[]].map(o=>{const a=o.dataKey;if(a===void 0||o.data!==void 0)return o;if(t===void 0)throw new Error(`MUI X: ${n}-axis uses \`dataKey\` but no \`dataset\` is provided.`);return x({},o,{data:t.map(s=>s[a])})})},pC=(e,t,n)=>{const r=v.useMemo(()=>zl(e,n,"x"),[e,n]),o=v.useMemo(()=>zl(t,n,"y"),[t,n]);return[r,o]},gC=["width","height","series","margin","xAxis","yAxis","zAxis","colors","dataset","sx","title","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","children","skipAnimation"],bC=(e,t)=>{const{width:n,height:r,series:o,margin:a,xAxis:s,yAxis:u,zAxis:c,colors:l,dataset:d,sx:f,title:h,desc:m,disableAxisListener:p,highlightedItem:g,onHighlightChange:b,plugins:y,children:O,skipAnimation:T}=e,$=Z(e,gC),j=v.useRef(null),w=Rd(t,j),[C,P]=pC(s,u,d),A={width:n,height:r,margin:a,svgRef:j},D={skipAnimation:T},E={plugins:y},U={series:o,colors:l,dataset:d},F={xAxis:C,yAxis:P,dataset:d},I={zAxis:c,dataset:d},R={highlightedItem:g,onHighlightChange:b},V=x({},$,{width:n,height:r,ref:w,sx:f,title:h,desc:m,disableAxisListener:p});return{children:O,drawingProviderProps:A,seriesProviderProps:U,cartesianProviderProps:F,zAxisContextProps:I,highlightedProviderProps:R,chartsSurfaceProps:V,pluginProviderProps:E,animationProviderProps:D,xAxis:C,yAxis:P}},Hd=v.forwardRef(function(t,n){const{children:r,drawingProviderProps:o,seriesProviderProps:a,cartesianProviderProps:s,zAxisContextProps:u,highlightedProviderProps:c,chartsSurfaceProps:l,pluginProviderProps:d,animationProviderProps:f}=bC(t,n);return k.jsx(g2,x({},o,{children:k.jsx(dS,x({},d,{children:k.jsx(gS,x({},a,{children:k.jsx(vS,x({},s,{children:k.jsx(Fd,x({},u,{children:k.jsx(NS,{children:k.jsx(Pd,x({},c,{children:k.jsxs(qd,x({},l,{children:[k.jsx(mC,{}),k.jsx(rC,x({},f,{children:r}))]}))}))})}))}))}))}))}))});Hd.propTypes={children:i.node,className:i.string,colors:i.oneOfType([i.arrayOf(i.string),i.func]),dataset:i.arrayOf(i.object),desc:i.string,disableAxisListener:i.bool,height:i.number.isRequired,highlightedItem:i.shape({dataIndex:i.number,seriesId:i.oneOfType([i.number,i.string])}),margin:i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number}),onHighlightChange:i.func,plugins:i.arrayOf(i.object),series:i.arrayOf(i.object).isRequired,skipAnimation:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),title:i.string,viewBox:i.shape({height:i.number,width:i.number,x:i.number,y:i.number}),width:i.number.isRequired,xAxis:i.arrayOf(i.shape({classes:i.object,colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,disableLine:i.bool,disableTicks:i.bool,domainLimit:i.oneOfType([i.oneOf(["nice","strict"]),i.func]),fill:i.string,hideTooltip:i.bool,id:i.oneOfType([i.number,i.string]),label:i.string,labelFontSize:i.number,labelStyle:i.object,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),position:i.oneOf(["bottom","top"]),reverse:i.bool,scaleType:i.oneOf(["band","linear","log","point","pow","sqrt","time","utc"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number,valueFormatter:i.func})),yAxis:i.arrayOf(i.shape({classes:i.object,colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,disableLine:i.bool,disableTicks:i.bool,domainLimit:i.oneOfType([i.oneOf(["nice","strict"]),i.func]),fill:i.string,hideTooltip:i.bool,id:i.oneOfType([i.number,i.string]),label:i.string,labelFontSize:i.number,labelStyle:i.object,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),position:i.oneOf(["left","right"]),reverse:i.bool,scaleType:i.oneOf(["band","linear","log","point","pow","sqrt","time","utc"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number,valueFormatter:i.func})),zAxis:i.arrayOf(i.shape({colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,id:i.string,max:i.number,min:i.number}))};const vC=ne("div",{name:"MuiResponsiveChart",slot:"Container"})(({ownerState:e})=>({width:e.width??"100%",height:e.height??"100%",display:"flex",position:"relative",flexGrow:1,flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden","&>svg":{width:"100%",height:"100%"}})),yC=typeof window<"u"?v.useLayoutEffect:v.useEffect,Vo=yC;function xC(e){return e&&e.ownerDocument||document}function wC(e){return xC(e).defaultView||window}const kC=(e,t,n)=>{const r=v.useRef({displayError:!1,initialCompute:!0,computeRun:0}),o=v.useRef(null),[a,s]=v.useState(0),[u,c]=v.useState(0),l=v.useCallback(()=>{const d=o==null?void 0:o.current;if(!d)return{};const h=wC(d).getComputedStyle(d),m=Math.floor(parseFloat(h.height))||0,p=Math.floor(parseFloat(h.width))||0;return s(p),c(m),{width:p,height:m}},[]);return v.useEffect(()=>{r.current.displayError=!0},[]),Vo(()=>{if(!n||!r.current.initialCompute||r.current.computeRun>20)return;const d=l();d.width!==a||d.height!==u?r.current.computeRun+=1:r.current.initialCompute&&(r.current.initialCompute=!1)},[a,u,l,n]),Vo(()=>{if(e!==void 0&&t!==void 0)return()=>{};l();const d=o.current;if(typeof ResizeObserver>"u")return()=>{};let f;const h=new ResizeObserver(()=>{f=requestAnimationFrame(()=>{l()})});return d&&h.observe(d),()=>{f&&cancelAnimationFrame(f),d&&h.unobserve(d)}},[l,t,e]),r.current.displayError&&e===void 0&&a===0&&(console.error("MUI X: ChartContainer does not have `width` prop, and its container has no `width` defined."),r.current.displayError=!1),r.current.displayError&&t===void 0&&u===0&&(console.error("MUI X: ChartContainer does not have `height` prop, and its container has no `height` defined."),r.current.displayError=!1),{containerRef:o,width:e??a,height:t??u}},TC=["width","height","resolveSizeBeforeRender","margin","children","series","colors","dataset","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","sx","title","viewBox","xAxis","yAxis","zAxis","skipAnimation"],OC=(e,t)=>{const{width:n,height:r,resolveSizeBeforeRender:o,margin:a,children:s,series:u,colors:c,dataset:l,desc:d,disableAxisListener:f,highlightedItem:h,onHighlightChange:m,plugins:p,sx:g,title:b,viewBox:y,xAxis:O,yAxis:T,zAxis:$,skipAnimation:j}=e,w=Z(e,TC),{containerRef:C,width:P,height:A}=kC(n,r,o),D=x({},w,{ownerState:{width:n,height:r},ref:C});return{hasIntrinsicSize:P&&A,chartContainerProps:{margin:a,children:s,series:u,colors:c,dataset:l,desc:d,disableAxisListener:f,highlightedItem:h,onHighlightChange:m,plugins:p,sx:g,title:b,viewBox:y,xAxis:O,yAxis:T,zAxis:$,skipAnimation:j,width:P,height:A,ref:t},resizableChartContainerProps:D}},Bd=v.forwardRef(function(t,n){const{hasIntrinsicSize:r,chartContainerProps:o,resizableChartContainerProps:a}=OC(t,n);return k.jsx(vC,x({},a,{children:r?k.jsx(Hd,x({},o)):null}))});Bd.propTypes={children:i.node,className:i.string,colors:i.oneOfType([i.arrayOf(i.string),i.func]),dataset:i.arrayOf(i.object),desc:i.string,disableAxisListener:i.bool,height:i.number,highlightedItem:i.shape({dataIndex:i.number,seriesId:i.oneOfType([i.number,i.string])}),margin:i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number}),onHighlightChange:i.func,plugins:i.arrayOf(i.object),resolveSizeBeforeRender:i.bool,series:i.arrayOf(i.object).isRequired,skipAnimation:i.bool,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),title:i.string,viewBox:i.shape({height:i.number,width:i.number,x:i.number,y:i.number}),width:i.number,xAxis:i.arrayOf(i.shape({classes:i.object,colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,disableLine:i.bool,disableTicks:i.bool,domainLimit:i.oneOfType([i.oneOf(["nice","strict"]),i.func]),fill:i.string,hideTooltip:i.bool,id:i.oneOfType([i.number,i.string]),label:i.string,labelFontSize:i.number,labelStyle:i.object,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),position:i.oneOf(["bottom","top"]),reverse:i.bool,scaleType:i.oneOf(["band","linear","log","point","pow","sqrt","time","utc"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number,valueFormatter:i.func})),yAxis:i.arrayOf(i.shape({classes:i.object,colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,disableLine:i.bool,disableTicks:i.bool,domainLimit:i.oneOfType([i.oneOf(["nice","strict"]),i.func]),fill:i.string,hideTooltip:i.bool,id:i.oneOfType([i.number,i.string]),label:i.string,labelFontSize:i.number,labelStyle:i.object,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),position:i.oneOf(["left","right"]),reverse:i.bool,scaleType:i.oneOf(["band","linear","log","point","pow","sqrt","time","utc"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number,valueFormatter:i.func})),zAxis:i.arrayOf(i.shape({colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,id:i.string,max:i.number,min:i.number}))};function Gd(e){return st("MuiChartsAxis",e)}const tr=yt("MuiChartsAxis",["root","line","tickContainer","tick","tickLabel","label","directionX","directionY","top","bottom","left","right"]),Wd=ne("g",{name:"MuiChartsAxis",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`& .${tr.tickLabel}`]:x({},e.typography.caption,{fill:(e.vars||e).palette.text.primary}),[`& .${tr.label}`]:x({},e.typography.body1,{fill:(e.vars||e).palette.text.primary}),[`& .${tr.line}`]:{stroke:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges",strokeWidth:1},[`& .${tr.tick}`]:{stroke:(e.vars||e).palette.text.primary,shapeRendering:"crispEdges"}}));function $C(){return typeof window>"u"}const lt={widthCache:{},cacheCount:0},MC=2e3,jC={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},SC=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],Vl="mui_measurement_span";function Yd(e,t){return SC.indexOf(e)>=0&&t===+t?`${t}px`:t}function Qd(e){return e.split("").reduce((r,o)=>o===o.toUpperCase()?[...r,"-",o.toLowerCase()]:[...r,o],[]).join("")}const CC=e=>Object.keys(e).sort().reduce((t,n)=>`${t}${Qd(n)}:${Yd(n,e[n])};`,"");let uo;const NC=(e,t={})=>{if(e==null||$C())return{width:0,height:0};const n=`${e}`,r=CC(t),o=`${n}-${r}`;if(lt.widthCache[o])return lt.widthCache[o];try{let a=document.getElementById(Vl);a===null&&(a=document.createElement("span"),a.setAttribute("id",Vl),a.setAttribute("aria-hidden","true"),document.body.appendChild(a));const s=x({},jC,t);Object.keys(s).map(l=>(a.style[Qd(l)]=Yd(l,s[l]),l)),a.textContent=n;const u=a.getBoundingClientRect(),c={width:u.width,height:u.height};return lt.widthCache[o]=c,lt.cacheCount+1>MC?(lt.cacheCount=0,lt.widthCache={}):lt.cacheCount+=1,uo&&clearTimeout(uo),uo=setTimeout(()=>{a.textContent=""},0),c}catch{return{width:0,height:0}}};function ts({style:e,needsComputation:t,text:n}){return n.split(` `).map(r=>x({text:r},t?NC(r,e):{width:0,height:0}))}const IC=["x","y","style","text","ownerState"],EC=["angle","textAnchor","dominantBaseline"];function Ut(e){const{x:t,y:n,style:r,text:o}=e,a=Z(e,IC),s=r??{},{angle:u,textAnchor:c,dominantBaseline:l}=s,d=Z(s,EC),f=v.useMemo(()=>ts({style:d,needsComputation:o.includes(` `),text:o}),[d,o]);let h;switch(l){case"hanging":h=0;break;case"central":h=(f.length-1)/2*-f[0].height;break;default:h=(f.length-1)*-f[0].height;break}const m=[];return u&&m.push(`rotate(${u}, ${t}, ${n})`),k.jsx("text",x({},a,{transform:m.length>0?m.join(" "):void 0,x:t,y:n,textAnchor:c,dominantBaseline:l,style:d,children:f.map((p,g)=>k.jsx("tspan",{x:t,dy:`${g===0?h:f[0].height}px`,dominantBaseline:l,children:p.text},g))}))}Ut.propTypes={lineHeight:i.number,needsComputation:i.bool,ownerState:i.any,style:i.object,text:i.string.isRequired};const Ul=5;function _C(e,t,n=0){n>90&&n<-90&&Xa(["MUI X: It seems you applied an angle larger than 90° or smaller than -90° to an axis text.","This could cause some text overlapping.","If you encounter a use case where it's needed, please open an issue."]);const r=Math.min(Math.abs(n)%180,Math.abs(Math.abs(n)%180-180)%180);if(r<Ul)return e;if(r>90-Ul)return t;const o=r*Math.PI/180,a=Math.atan2(t,e);return o<a?e/Math.cos(o):t/Math.sin(o)}function RC(e=!1){const[t,n]=v.useState(!1);return Vo(()=>{e||n(!0)},[e]),v.useEffect(()=>{e&&n(!0)},[e]),t}const PC=["scale","tickNumber","reverse"],AC=e=>{const{classes:t,position:n}=e;return at({root:["root","directionX",n],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},Gd,t)};function DC(e,{tickLabelStyle:t,tickLabelInterval:n,reverse:r,isMounted:o}){const a=e.map(l=>{if(!o||l.formattedValue===void 0)return x({},l,{width:0,height:0});const d=ts({style:t,needsComputation:!0,text:l.formattedValue});return x({},l,{width:Math.max(...d.map(f=>f.width)),height:Math.max(d.length*d[0].height)})});if(typeof n=="function")return a.map((l,d)=>x({},l,{skipLabel:!n(l.value,d)}));let s=0,u=0;const c=r?-1:1;return a.map((l,d)=>{const{width:f,offset:h,labelOffset:m,height:p}=l,g=_C(f,p,t==null?void 0:t.angle),b=h+m,y=1.2;return s=b-c*(y*g)/2,d>0&&c*s<c*u?x({},l,{skipLabel:!0}):(u=b+c*(y*g)/2,l)})}const FC=ne(Wd,{name:"MuiChartsXAxis",slot:"Root",overridesResolver:(e,t)=>t.root})({}),LC={position:"bottom",disableLine:!1,disableTicks:!1,tickSize:6};function Uo(e){const{xAxisIds:t,xAxis:n}=Ae(),r=n[e.axisId??t[0]],{scale:o,tickNumber:a,reverse:s}=r,u=Z(r,PC),c=RC(),l=nt({props:x({},u,e),name:"MuiChartsXAxis"}),d=x({},LC,l),{position:f,disableLine:h,disableTicks:m,tickLabelStyle:p,label:g,labelStyle:b,tickFontSize:y,labelFontSize:O,tickSize:T,valueFormatter:$,slots:j,slotProps:w,tickInterval:C,tickLabelInterval:P,tickPlacement:A,tickLabelPlacement:D,sx:E}=d,U=Sn(),F=AC(x({},d,{theme:U})),{left:I,top:R,width:V,height:B,isPointInside:L}=Pe(),Y=m?4:T,W=f==="bottom"?1:-1,J=(j==null?void 0:j.axisLine)??"line",re=(j==null?void 0:j.axisTick)??"line",be=(j==null?void 0:j.axisTickLabel)??Ut,de=(j==null?void 0:j.axisLabel)??Ut,ee=Re({elementType:be,externalSlotProps:w==null?void 0:w.axisTickLabel,additionalProps:{style:x({textAnchor:"middle",dominantBaseline:f==="bottom"?"hanging":"auto",fontSize:y??12},p)},className:F.tickLabel,ownerState:{}}),ve=hi({scale:o,tickNumber:a,valueFormatter:$,tickInterval:C,tickPlacement:A,tickLabelPlacement:D}),le=DC(ve,{tickLabelStyle:ee.style,tickLabelInterval:P,reverse:s,isMounted:c}),ye={x:I+V/2,y:W*(Y+22)},_=Re({elementType:de,externalSlotProps:w==null?void 0:w.axisLabel,additionalProps:{style:x({fontSize:O??14,textAnchor:"middle",dominantBaseline:f==="bottom"?"hanging":"auto"},b)},ownerState:{}}),z=o.domain(),q=gt(o);return q&&z.length===0||!q&&z.some(Ba)?null:k.jsxs(FC,{transform:`translate(0, ${f==="bottom"?R+B:R})`,className:F.root,sx:E,children:[!h&&k.jsx(J,x({x1:I,x2:I+V,className:F.line},w==null?void 0:w.axisLine)),le.map(({formattedValue:S,offset:te,labelOffset:X,skipLabel:ue},oe)=>{const xe=X??0,wt=W*(Y+3),gi=L({x:te,y:-1},{direction:"x"}),ns=L({x:te+xe,y:-1},{direction:"x"});return k.jsxs("g",{transform:`translate(${te}, 0)`,className:F.tickContainer,children:[!m&&gi&&k.jsx(re,x({y2:W*Y,className:F.tick},w==null?void 0:w.axisTick)),S!==void 0&&!ue&&ns&&k.jsx(be,x({x:xe,y:wt},ee,{text:S.toString()}))]},oe)}),g&&k.jsx("g",{className:F.label,children:k.jsx(de,x({},ye,_,{text:g}))})]})}Uo.propTypes={axisId:i.oneOfType([i.number,i.string]),classes:i.object,disableLine:i.bool,disableTicks:i.bool,fill:i.string,label:i.string,labelFontSize:i.number,labelStyle:i.object,position:i.oneOf(["bottom","top"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number};const zC=["scale","tickNumber"],VC=e=>{const{classes:t,position:n}=e;return at({root:["root","directionY",n],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},Gd,t)},UC=ne(Wd,{name:"MuiChartsYAxis",slot:"Root",overridesResolver:(e,t)=>t.root})({}),qC={position:"left",disableLine:!1,disableTicks:!1,tickFontSize:12,labelFontSize:14,tickSize:6};function qo(e){const{yAxisIds:t,yAxis:n}=Ae(),r=n[e.axisId??t[0]],{scale:o,tickNumber:a}=r,s=Z(r,zC),u=nt({props:x({},s,e),name:"MuiChartsYAxis"}),c=x({},qC,u),{position:l,disableLine:d,disableTicks:f,tickFontSize:h,label:m,labelFontSize:p,labelStyle:g,tickLabelStyle:b,tickSize:y,valueFormatter:O,slots:T,slotProps:$,tickPlacement:j,tickLabelPlacement:w,tickInterval:C,tickLabelInterval:P,sx:A}=c,D=Sn(),E=ac(),U=VC(x({},c,{theme:D})),{left:F,top:I,width:R,height:V,isPointInside:B}=Pe(),L=f?4:y,Y=hi({scale:o,tickNumber:a,valueFormatter:O,tickPlacement:j,tickLabelPlacement:w,tickInterval:C}),W=l==="right"?1:-1,J={x:W*(h+L+10),y:I+V/2},re=(T==null?void 0:T.axisLine)??"line",be=(T==null?void 0:T.axisTick)??"line",de=(T==null?void 0:T.axisTickLabel)??Ut,ee=(T==null?void 0:T.axisLabel)??Ut,ve=!E&&l==="right"||E&&l!=="right",le=Re({elementType:de,externalSlotProps:$==null?void 0:$.axisTickLabel,additionalProps:{style:x({fontSize:h,textAnchor:ve?"start":"end",dominantBaseline:"central"},b)},className:U.tickLabel,ownerState:{}}),ye=Re({elementType:ee,externalSlotProps:$==null?void 0:$.axisLabel,additionalProps:{style:x({fontSize:p,angle:W*90,textAnchor:"middle",dominantBaseline:"auto"},g)},ownerState:{}}),_=Re({elementType:re,externalSlotProps:$==null?void 0:$.axisLine,additionalProps:{strokeLinecap:"square"},ownerState:{}}),z=o.domain(),q=gt(o);return q&&z.length===0||!q&&z.some(Ba)?null:k.jsxs(UC,{transform:`translate(${l==="right"?F+R:F}, 0)`,className:U.root,sx:A,children:[!d&&k.jsx(re,x({y1:I,y2:I+V,className:U.line},_)),Y.map(({formattedValue:S,offset:te,labelOffset:X,value:ue},oe)=>{const xe=W*(L+2),wt=X,gi=typeof P=="function"&&!(P!=null&&P(ue,oe));return B({x:-1,y:te},{direction:"y"})?k.jsxs("g",{transform:`translate(0, ${te})`,className:U.tickContainer,children:[!f&&k.jsx(be,x({x2:W*L,className:U.tick},$==null?void 0:$.axisTick)),S!==void 0&&!gi&&k.jsx(de,x({x:xe,y:wt,text:S.toString()},le))]},oe):null}),m&&k.jsx("g",{className:U.label,children:k.jsx(ee,x({},J,ye,{text:m}))})]})}qo.propTypes={axisId:i.oneOfType([i.number,i.string]),classes:i.object,disableLine:i.bool,disableTicks:i.bool,fill:i.string,label:i.string,labelFontSize:i.number,labelStyle:i.object,position:i.oneOf(["left","right"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number};const nr=(e,t)=>e==null?null:typeof e=="object"?e.axisId??t??null:e,rr=(e,t,n)=>typeof e=="object"?x({},e,{slots:x({},t,e==null?void 0:e.slots),slotProps:x({},n,e==null?void 0:e.slotProps)}):{slots:t,slotProps:n};function Xd(e){const{topAxis:t,leftAxis:n,rightAxis:r,bottomAxis:o,slots:a,slotProps:s}=e,{xAxis:u,xAxisIds:c,yAxis:l,yAxisIds:d}=Ae(),f=nr(n===void 0?d[0]:n,d[0]),h=nr(o===void 0?c[0]:o,c[0]),m=nr(t,c[0]),p=nr(r,d[0]);if(m!==null&&!u[m])throw new Error([`MUI X: id used for top axis "${m}" is not defined.`,`Available ids are: ${c.join(", ")}.`].join(` `));if(f!==null&&!l[f])throw new Error([`MUI X: id used for left axis "${f}" is not defined.`,`Available ids are: ${d.join(", ")}.`].join(` `));if(p!==null&&!l[p])throw new Error([`MUI X: id used for right axis "${p}" is not defined.`,`Available ids are: ${d.join(", ")}.`].join(` `));if(h!==null&&!u[h])throw new Error([`MUI X: id used for bottom axis "${h}" is not defined.`,`Available ids are: ${c.join(", ")}.`].join(` `));const g=rr(t,a,s),b=rr(o,a,s),y=rr(n,a,s),O=rr(r,a,s);return k.jsxs(v.Fragment,{children:[m&&k.jsx(Uo,x({},g,{position:"top",axisId:m})),h&&k.jsx(Uo,x({},b,{position:"bottom",axisId:h})),f&&k.jsx(qo,x({},y,{position:"left",axisId:f})),p&&k.jsx(qo,x({},O,{position:"right",axisId:p}))]})}Xd.propTypes={bottomAxis:i.oneOfType([i.object,i.string]),leftAxis:i.oneOfType([i.object,i.string]),rightAxis:i.oneOfType([i.object,i.string]),slotProps:i.object,slots:i.object,topAxis:i.oneOfType([i.object,i.string])};function HC(e){if(e===null)return{getBoundingClientRect:()=>({width:0,height:0,x:0,y:0,top:0,right:0,bottom:0,left:0,toJSON:()=>""})};const{x:t,y:n}=e,r={width:0,height:0,x:t,y:n,top:n,right:t,bottom:n,left:t};return{getBoundingClientRect:()=>x({},r,{toJSON:()=>JSON.stringify(r)})}}function BC(){const e=Ja(),[t,n]=v.useState(null);return v.useEffect(()=>{const r=e.current;if(r===null)return()=>{};const o=s=>{s.pointerType!=="mouse"&&n(null)},a=s=>{n({x:s.clientX,y:s.clientY,height:s.height,pointerType:s.pointerType})};return r.addEventListener("pointerdown",a),r.addEventListener("pointermove",a),r.addEventListener("pointerup",o),()=>{r.removeEventListener("pointerdown",a),r.removeEventListener("pointermove",a),r.removeEventListener("pointerup",o)}},[e]),t}function GC(e,t){if(e==="item")return t!==null;const n=t.x!==null,r=t.y!==null;return n||r}function WC(e){return e instanceof Date?e.toUTCString():e.toLocaleString()}function YC(e){return st("MuiChartsTooltip",e)}const ql=yt("MuiChartsTooltip",["root","paper","table","row","cell","mark","markCell","labelCell","valueCell"]),Kd=ne("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:(e,t)=>t.paper})(({theme:e})=>({boxShadow:e.shadows[1],backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),borderRadius:e.shape.borderRadius})),Zd=ne("table",{name:"MuiChartsTooltip",slot:"Table",overridesResolver:(e,t)=>t.table})(({theme:e})=>({borderSpacing:0,"& thead td":{borderBottom:`solid ${(e.vars||e).palette.divider} 1px`}})),Ho=ne("tr",{name:"MuiChartsTooltip",slot:"Row",overridesResolver:(e,t)=>t.row})(({theme:e})=>({"tr:first-of-type& td":{paddingTop:e.spacing(1)},"tr:last-of-type& td":{paddingBottom:e.spacing(1)}})),ht=ne("td",{name:"MuiChartsTooltip",slot:"Cell",overridesResolver:(e,t)=>t.cell})(({theme:e})=>({verticalAlign:"middle",color:(e.vars||e).palette.text.secondary,[`&.${ql.labelCell}`]:{paddingLeft:e.spacing(1)},[`&.${ql.valueCell}`]:{paddingLeft:e.spacing(4),color:(e.vars||e).palette.text.primary},"td:first-of-type&":{paddingLeft:e.spacing(2)},"td:last-of-type&":{paddingRight:e.spacing(2)}})),Jd=ne("div",{name:"MuiChartsTooltip",slot:"Mark",overridesResolver:(e,t)=>t.mark,shouldForwardProp:e=>Ih(e)&&e!=="color"})(({theme:e,color:t})=>({width:e.spacing(1),height:e.spacing(1),borderRadius:"50%",boxShadow:e.shadows[1],background:t,borderColor:(e.vars||e).palette.background.paper,border:`solid ${(e.vars||e).palette.background.paper} ${e.spacing(.25)}`,boxSizing:"content-box"}));function eh(e){var d;const{series:t,itemData:n,sx:r,classes:o,getColor:a}=e;if(n.dataIndex===void 0||!t.data[n.dataIndex])return null;const{displayedLabel:s,color:u}=t.type==="pie"?{color:a(n.dataIndex),displayedLabel:Be(t.data[n.dataIndex].label,"tooltip")}:{color:a(n.dataIndex),displayedLabel:Be(t.label,"tooltip")},c=t.type==="pie"?x({},t.data[n.dataIndex],{label:Be(t.data[n.dataIndex].label,"tooltip")}):t.data[n.dataIndex],l=(d=t.valueFormatter)==null?void 0:d.call(t,c,{dataIndex:n.dataIndex});return k.jsx(Kd,{sx:r,className:o.paper,children:k.jsx(Zd,{className:o.table,children:k.jsx("tbody",{children:k.jsxs(Ho,{className:o.row,children:[k.jsx(ht,{className:Me(o.markCell,o.cell),children:k.jsx(Jd,{color:u,className:o.mark})}),k.jsx(ht,{className:Me(o.labelCell,o.cell),children:s}),k.jsx(ht,{className:Me(o.valueCell,o.cell),children:l})]})})})})}eh.propTypes={classes:i.object.isRequired,getColor:i.func.isRequired,itemData:i.shape({dataIndex:i.number,seriesId:i.oneOfType([i.number,i.string]).isRequired,type:i.oneOf(["bar","line","pie","scatter"]).isRequired}).isRequired,series:i.object.isRequired,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])};function QC(e){var $;const{content:t,itemData:n,sx:r,classes:o,contentProps:a}=e,s=ot()[n.type].series[n.seriesId],{xAxis:u,yAxis:c,xAxisIds:l,yAxisIds:d}=Ae(),{zAxis:f,zAxisIds:h}=v.useContext(mi),m=_d(),p=s.xAxisId??s.xAxisKey??l[0],g=s.yAxisId??s.yAxisKey??d[0],b=s.zAxisId??s.zAxisKey??h[0],y=(($=m[s.type])==null?void 0:$.call(m,s,p&&u[p],g&&c[g],b&&f[b]))??(()=>""),O=t??eh,T=Re({elementType:O,externalSlotProps:a,additionalProps:{itemData:n,series:s,sx:r,classes:o,getColor:y},ownerState:{}});return k.jsx(O,x({},T))}let Hl;class XC{constructor(){if(this.types=new Set,Hl)throw new Error("You can only create one instance!");Hl=this.types}addType(t){this.types.add(t)}getTypes(){return this.types}}const pi=new XC;pi.addType("bar");pi.addType("line");pi.addType("scatter");function th(e){return pi.getTypes().has(e)}function KC(e){return th(e.type)}function nh(e){const{series:t,axis:n,dataIndex:r,axisValue:o,sx:a,classes:s}=e;if(r==null)return null;const u=n.valueFormatter??(c=>n.scaleType==="utc"?WC(c):c.toLocaleString());return k.jsx(Kd,{sx:a,className:s.paper,children:k.jsxs(Zd,{className:s.table,children:[o!=null&&!n.hideTooltip&&k.jsx("thead",{children:k.jsx(Ho,{children:k.jsx(ht,{colSpan:3,children:k.jsx(vi,{children:u(o,{location:"tooltip"})})})})}),k.jsx("tbody",{children:t.filter(KC).map(({id:c,label:l,valueFormatter:d,data:f,getColor:h})=>{const m=d(f[r]??null,{dataIndex:r});if(m==null)return null;const p=Be(l,"tooltip"),g=h(r);return k.jsxs(Ho,{className:s.row,children:[k.jsx(ht,{className:Me(s.markCell,s.cell),children:g&&k.jsx(Jd,{color:g,className:s.mark})}),k.jsx(ht,{className:Me(s.labelCell,s.cell),children:p?k.jsx(vi,{children:p}):null}),k.jsx(ht,{className:Me(s.valueCell,s.cell),children:k.jsx(vi,{children:m})})]},c)})})]})})}nh.propTypes={axis:i.object.isRequired,axisData:i.shape({x:i.shape({index:i.number,value:i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired}),y:i.shape({index:i.number,value:i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired})}).isRequired,axisValue:i.oneOfType([i.instanceOf(Date),i.number,i.string]),classes:i.object.isRequired,dataIndex:i.number,series:i.arrayOf(i.object).isRequired,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object])};function ZC(e){const{content:t,contentProps:n,axisData:r,sx:o,classes:a}=e,s=r.x&&r.x.index!==-1,u=s?r.x&&r.x.index:r.y&&r.y.index,c=s?r.x&&r.x.value:r.y&&r.y.value,{xAxisIds:l,xAxis:d,yAxisIds:f,yAxis:h}=Ae(),{zAxisIds:m,zAxis:p}=v.useContext(mi),g=ot(),b=_d(),y=s?l[0]:f[0],O=v.useMemo(()=>{const w=[];return Object.keys(g).filter(th).forEach(C=>{g[C].seriesOrder.forEach(P=>{var F;const A=g[C].series[P],D=A.xAxisId??A.xAxisKey,E=A.yAxisId??A.yAxisKey,U=s?D:E;if(U===void 0||U===y){const I=g[C].series[P],R=D??l[0],V=E??f[0],B=I.zAxisId??I.zAxisKey??m[0],L=((F=b[C])==null?void 0:F.call(b,I,d[R],h[V],B&&p[B]))??(()=>"");w.push(x({},I,{getColor:L}))}})}),w},[y,b,s,g,d,l,h,f,p,m]),T=v.useMemo(()=>s?d[y]:h[y],[y,s,d,h]),$=t??nh,j=Re({elementType:$,externalSlotProps:n,additionalProps:{axisData:r,series:O,axis:T,dataIndex:u,axisValue:c,sx:o,classes:a},ownerState:{}});return k.jsx($,x({},j))}const JC=e=>{const{classes:t}=e;return at({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markCell:["markCell"],labelCell:["labelCell"],valueCell:["valueCell"]},YC,t)},eN=ne(bm,{name:"MuiChartsTooltip",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({pointerEvents:"none",zIndex:e.zIndex.modal}));function rh(e){const t=nt({props:e,name:"MuiChartsTooltip"}),{trigger:n="axis",itemContent:r,axisContent:o,slots:a,slotProps:s}=t,u=BC(),{item:c,axis:l}=v.useContext(xt),d=n==="item"?c:l,f=GC(n,d),h=u!==null&&f,m=JC({classes:t.classes}),p=(a==null?void 0:a.popper)??eN,g=Re({elementType:p,externalSlotProps:s==null?void 0:s.popper,additionalProps:{open:h,placement:(u==null?void 0:u.pointerType)==="mouse"?"right-start":"top",anchorEl:HC(u),modifiers:[{name:"offset",options:{offset:[0,(u==null?void 0:u.pointerType)==="touch"?40-u.height:0]}}]},ownerState:{}});return n==="none"?null:k.jsx(mn,{children:h&&k.jsx(p,x({},g,{className:m.root,children:n==="item"?k.jsx(QC,{itemData:d,content:(a==null?void 0:a.itemContent)??r,contentProps:s==null?void 0:s.itemContent,sx:{mx:2},classes:m}):k.jsx(ZC,{axisData:d,content:(a==null?void 0:a.axisContent)??o,contentProps:s==null?void 0:s.axisContent,sx:{mx:2},classes:m})}))})}rh.propTypes={axisContent:i.elementType,classes:i.object,itemContent:i.elementType,slotProps:i.object,slots:i.object,trigger:i.oneOf(["axis","item","none"])};const tN=e=>{const{seriesOrder:t,series:n}=e;return t.reduce((r,o)=>{const a=Be(n[o].label,"legend");return a===void 0||r.push({id:o,seriesId:o,color:n[o].color,label:a}),r},[])},nN=tN,rN=e=>{const{seriesOrder:t,series:n}=e;return t.reduce((r,o)=>{const a=Be(n[o].label,"legend");return a===void 0||r.push({id:o,seriesId:o,color:n[o].color,label:a}),r},[])},iN=rN,oN=e=>{const{seriesOrder:t,series:n}=e;return t.reduce((r,o)=>{const a=Be(n[o].label,"legend");return a===void 0||r.push({id:o,seriesId:o,color:n[o].color,label:a}),r},[])},aN=oN,sN=e=>{const{seriesOrder:t,series:n}=e;return t.reduce((r,o)=>(n[o].data.forEach(a=>{const s=Be(a.label,"legend");s!==void 0&&r.push({id:a.id,seriesId:o,color:a.color,label:s,itemId:a.id})}),r),[])},uN=sN,lN={bar:nN,scatter:iN,line:aN,pie:uN};function cN(e){return Object.keys(e).flatMap(t=>{const n=lN[t];return n===void 0?[]:n(e[t])})}function fN(e){return st("MuiChartsLegend",e)}yt("MuiChartsLegend",["root","series","itemBackground","mark","label","column","row"]);const dN=["label"];function hN(e,t,n,r,o,a,s){let u=0,c=0,l=0,d=0,f=0;const h=[0];return[e.map(p=>{let{label:g}=p,b=Z(p,dN);const y=t(g,n),O=x({},b,{label:g,positionX:u,positionY:c,innerHeight:y.innerHeight,innerWidth:y.innerWidth,outerHeight:y.outerHeight,outerWidth:y.outerWidth,rowIndex:f});return r==="row"&&(u+y.innerWidth>o&&(u=0,c+=h[f],f+=1,h.length<=f&&h.push(0),O.positionX=u,O.positionY=c,O.rowIndex=f),l=Math.max(l,u+y.outerWidth),d=Math.max(d,c+y.outerHeight),h[f]=Math.max(h[f],y.outerHeight),u+=y.outerWidth),r==="column"&&(c+y.innerHeight>a&&(u=l+s,c=0,f=0,O.positionX=u,O.positionY=c,O.rowIndex=f),h.length<=f&&h.push(0),l=Math.max(l,u+y.outerWidth),d=Math.max(d,c+y.outerHeight),f+=1,c+=y.outerHeight),O}).map(p=>x({},p,{positionY:p.positionY+(r==="row"?h[p.rowIndex]/2:p.outerHeight/2)})),l,d]}function mN(e){const t=ac(),{id:n,positionY:r,label:o,positionX:a,innerHeight:s,innerWidth:u,legendWidth:c,color:l,gapX:d,gapY:f,itemMarkHeight:h,itemMarkWidth:m,markGap:p,labelStyle:g,classes:b,onClick:y}=e;return k.jsxs("g",{className:Me(b==null?void 0:b.series,`${b==null?void 0:b.series}-${n}`),transform:`translate(${d+(t?c-a:a)} ${f+r})`,children:[k.jsx("rect",{x:t?-(u+2):-2,y:-h/2-2,width:u+4,height:s+4,fill:"transparent",className:b==null?void 0:b.itemBackground,onClick:y,style:{pointerEvents:y?"all":"none",cursor:y?"pointer":"unset"}}),k.jsx("rect",{className:b==null?void 0:b.mark,x:t?-m:0,y:-h/2,width:m,height:h,fill:l,style:{pointerEvents:"none"}}),k.jsx(Ut,{style:x({pointerEvents:"none"},g),text:o,x:(t?-1:1)*(m+p),y:0})]})}const pN=["rotate","dominantBaseline"],gN=ne("g",{name:"MuiChartsLegend",slot:"Root",overridesResolver:(e,t)=>t.root})({}),bN=e=>typeof e=="number"?{left:e,right:e,top:e,bottom:e}:x({left:0,right:0,top:0,bottom:0},e);function vN(e){const{position:t,direction:n,itemsToDisplay:r,classes:o,itemMarkWidth:a=20,itemMarkHeight:s=20,markGap:u=5,itemGap:c=10,padding:l=10,labelStyle:d,onItemClick:f}=e,h=Sn(),m=Pe(),p=v.useMemo(()=>x({},h.typography.subtitle1,{color:"inherit",dominantBaseline:"central",textAnchor:"start",fill:(h.vars||h).palette.text.primary,lineHeight:1},d),[d,h]),g=v.useMemo(()=>bN(l),[l]),b=v.useCallback((D,E={})=>{const U=Z(E,pN),F=ts({style:U,needsComputation:!0,text:D}),I={innerWidth:a+u+Math.max(...F.map(R=>R.width)),innerHeight:Math.max(s,F.length*F[0].height)};return x({},I,{outerWidth:I.innerWidth+c,outerHeight:I.innerHeight+c})},[c,s,a,u]),y=m.left+m.width+m.right,O=m.top+m.height+m.bottom,T=y-g.left-g.right,$=O-g.top-g.bottom,[j,w,C]=v.useMemo(()=>hN(r,b,p,n,T,$,c),[r,b,p,n,T,$,c]),P=v.useMemo(()=>{switch(t.horizontal){case"left":return g.left;case"right":return y-g.right-w;default:return(y-w)/2}},[t.horizontal,g.left,g.right,y,w]),A=v.useMemo(()=>{switch(t.vertical){case"top":return g.top;case"bottom":return O-g.bottom-C;default:return(O-C)/2}},[t.vertical,g.top,g.bottom,O,C]);return k.jsx(mn,{children:k.jsx(gN,{className:o==null?void 0:o.root,children:j.map((D,E)=>v.createElement(mN,x({},D,{key:D.id,gapX:P,gapY:A,legendWidth:w,itemMarkHeight:s,itemMarkWidth:a,markGap:u,labelStyle:p,classes:o,onClick:f?U=>f(U,E):void 0})))})})}const yN=["drawingArea","seriesToDisplay","hidden","onItemClick"],xN=e=>({type:"series",color:e.color,label:e.label,seriesId:e.seriesId,itemId:e.itemId});function ih(e){const{seriesToDisplay:t,hidden:n,onItemClick:r}=e,o=Z(e,yN);return n?null:k.jsx(vN,x({},o,{itemsToDisplay:t,onItemClick:r?(a,s)=>r(a,xN(t[s]),s):void 0}))}ih.propTypes={classes:i.object,direction:i.oneOf(["column","row"]).isRequired,drawingArea:i.shape({bottom:i.number.isRequired,height:i.number.isRequired,left:i.number.isRequired,right:i.number.isRequired,top:i.number.isRequired,width:i.number.isRequired}).isRequired,hidden:i.bool,itemGap:i.number,itemMarkHeight:i.number,itemMarkWidth:i.number,labelStyle:i.object,markGap:i.number,onItemClick:i.func,padding:i.oneOfType([i.number,i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number})]),position:i.shape({horizontal:i.oneOf(["left","middle","right"]).isRequired,vertical:i.oneOf(["bottom","middle","top"]).isRequired}).isRequired,series:i.object.isRequired,seriesToDisplay:i.arrayOf(i.shape({color:i.string.isRequired,id:i.oneOfType([i.number,i.string]).isRequired,itemId:i.oneOfType([i.number,i.string]),label:i.string.isRequired,maxValue:i.oneOfType([i.instanceOf(Date),i.number]),minValue:i.oneOfType([i.instanceOf(Date),i.number]),seriesId:i.oneOfType([i.number,i.string])})).isRequired};const wN=["slots","slotProps"],kN=e=>{const{classes:t,direction:n}=e;return at({root:["root",n],mark:["mark"],label:["label"],series:["series"],itemBackground:["itemBackground"]},fN,t)};function oh(e){const t=nt({props:e,name:"MuiChartsLegend"}),n=x({direction:"row"},t,{position:x({horizontal:"middle",vertical:"top"},t.position)}),{slots:r,slotProps:o}=n,a=Z(n,wN),s=Sn(),u=kN(x({},n,{theme:s})),c=Pe(),l=ot(),d=cN(l),f=(r==null?void 0:r.legend)??ih,h=Re({elementType:f,externalSlotProps:o==null?void 0:o.legend,additionalProps:x({},a,{classes:u,drawingArea:c,series:l,seriesToDisplay:d}),ownerState:{}});return k.jsx(f,x({},h))}oh.propTypes={classes:i.object,direction:i.oneOf(["column","row"]),hidden:i.bool,itemGap:i.number,itemMarkHeight:i.number,itemMarkWidth:i.number,labelStyle:i.object,markGap:i.number,onItemClick:i.func,padding:i.oneOfType([i.number,i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number})]),position:i.shape({horizontal:i.oneOf(["left","middle","right"]).isRequired,vertical:i.oneOf(["bottom","middle","top"]).isRequired}),slotProps:i.object,slots:i.object};function TN(e){return st("MuiChartsAxisHighlight",e)}yt("MuiChartsAxisHighlight",["root"]);const ON=()=>at({root:["root"]},TN),ir=ne("path",{name:"MuiChartsAxisHighlight",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({pointerEvents:"none",variants:[{props:{axisHighlight:"band"},style:x({fill:"white",fillOpacity:.1},e.applyStyles("light",{fill:"gray"}))},{props:{axisHighlight:"line"},style:x({strokeDasharray:"5 2",stroke:"#ffffff"},e.applyStyles("light",{stroke:"#000000"}))}]}));function ah(e){const{x:t,y:n}=e,{xAxisIds:r,xAxis:o,yAxisIds:a,yAxis:s}=Ae(),u=ON(),c=r[0],l=a[0],d=o[c].scale,f=s[l].scale,{axis:h}=v.useContext(xt),m=Al(d),p=Al(f),g=h.x,b=h.y,y=t==="band"&&g!==null&>(d),O=n==="band"&&b!==null&>(f);{const T=y&&d(g.value)===void 0,$=O&&f(b.value)===void 0;(T||$)&&console.error(["MUI X: The position value provided for the axis is not valid for the current scale.","This probably means something is wrong with the data passed to the chart.","The ChartsAxisHighlight component will not be displayed."].join(` `))}return k.jsxs(v.Fragment,{children:[y&&d(g.value)!==void 0&&k.jsx(ir,{d:`M ${d(g.value)-(d.step()-d.bandwidth())/2} ${f.range()[0]} l ${d.step()} 0 l 0 ${f.range()[1]-f.range()[0]} l ${-d.step()} 0 Z`,className:u.root,ownerState:{axisHighlight:"band"}}),O&&f(b.value)!==void 0&&k.jsx(ir,{d:`M ${d.range()[0]} ${f(b.value)-(f.step()-f.bandwidth())/2} l 0 ${f.step()} l ${d.range()[1]-d.range()[0]} 0 l 0 ${-f.step()} Z`,className:u.root,ownerState:{axisHighlight:"band"}}),t==="line"&&h.x!==null&&k.jsx(ir,{d:`M ${m(h.x.value)} ${f.range()[0]} L ${m(h.x.value)} ${f.range()[1]}`,className:u.root,ownerState:{axisHighlight:"line"}}),n==="line"&&h.y!==null&&k.jsx(ir,{d:`M ${d.range()[0]} ${p(h.y.value)} L ${d.range()[1]} ${p(h.y.value)}`,className:u.root,ownerState:{axisHighlight:"line"}})]})}ah.propTypes={x:i.oneOf(["band","line","none"]),y:i.oneOf(["band","line","none"])};function sh(e){const{id:t,offset:n}=e,{left:r,top:o,width:a,height:s}=Pe(),u=x({top:0,right:0,bottom:0,left:0},n);return k.jsx("clipPath",{id:t,children:k.jsx("rect",{x:r-u.left,y:o-u.top,width:a+u.left+u.right,height:s+u.top+u.bottom})})}sh.propTypes={id:i.string.isRequired,offset:i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number})};function $N(e){return st("MuiChartsGrid",e)}const Bl=yt("MuiChartsGrid",["root","line","horizontalLine","verticalLine"]),MN=ne("g",{name:"MuiChartsGrid",slot:"Root",overridesResolver:(e,t)=>[{[`&.${Bl.verticalLine}`]:t.verticalLine},{[`&.${Bl.horizontalLine}`]:t.horizontalLine},t.root]})({}),uh=ne("line",{name:"MuiChartsGrid",slot:"Line",overridesResolver:(e,t)=>t.line})(({theme:e})=>({stroke:(e.vars||e).palette.divider,shapeRendering:"crispEdges",strokeWidth:1}));function jN(e){const{axis:t,drawingArea:n,classes:r}=e,{scale:o,tickNumber:a,tickInterval:s}=t,u=hi({scale:o,tickNumber:a,tickInterval:s});return k.jsx(v.Fragment,{children:u.map(({value:c,offset:l})=>k.jsx(uh,{y1:n.top,y2:n.top+n.height,x1:l,x2:l,className:r.verticalLine},`vertical-${c}`))})}function SN(e){const{axis:t,drawingArea:n,classes:r}=e,{scale:o,tickNumber:a,tickInterval:s}=t,u=hi({scale:o,tickNumber:a,tickInterval:s});return k.jsx(v.Fragment,{children:u.map(({value:c,offset:l})=>k.jsx(uh,{y1:l,y2:l,x1:n.left,x2:n.left+n.width,className:r.horizontalLine},`horizontal-${c}`))})}const CN=["vertical","horizontal"],NN=({classes:e})=>at({root:["root"],verticalLine:["line","verticalLine"],horizontalLine:["line","horizontalLine"]},$N,e);function lh(e){const t=nt({props:e,name:"MuiChartsGrid"}),n=Pe(),{vertical:r,horizontal:o}=t,a=Z(t,CN),{xAxis:s,xAxisIds:u,yAxis:c,yAxisIds:l}=Ae(),d=NN(t),f=c[l[0]],h=s[u[0]];return k.jsxs(MN,x({},a,{className:d.root,children:[r&&k.jsx(jN,{axis:h,drawingArea:n,classes:d}),o&&k.jsx(SN,{axis:f,drawingArea:n,classes:d})]}))}lh.propTypes={classes:i.object,horizontal:i.bool,vertical:i.bool};function ch(e){const{onAxisClick:t}=e,n=Ja(),r=ot(),{axis:o}=v.useContext(xt),{xAxisIds:a,xAxis:s,yAxisIds:u,yAxis:c}=Ae();return v.useEffect(()=>{const l=n.current;if(l===null||!t)return()=>{};const d=f=>{var y;f.preventDefault();const h=o.x&&o.x.index!==-1,m=h?a[0]:u[0],p=h?o.x&&o.x.index:o.y&&o.y.index;if(p==null)return;const g={};Object.keys(r).filter(O=>["bar","line"].includes(O)).forEach(O=>{var T;(T=r[O])==null||T.seriesOrder.forEach($=>{const j=r[O].series[$],w=j.xAxisId??j.xAxisKey,C=j.yAxisId??j.yAxisKey,P=h?w:C;(P===void 0||P===m)&&(g[$]=j.data[p])})});const b=(y=(h?s:c)[m].data)==null?void 0:y[p];t(f,{dataIndex:p,axisValue:b,seriesValues:g})};return l.addEventListener("click",d),()=>{l.removeEventListener("click",d)}},[o.x,o.y,t,r,n,s,a,c,u]),k.jsx(v.Fragment,{})}ch.propTypes={onAxisClick:i.func};const IN=["message"],EN=ne("text")(({theme:e})=>x({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function _N(e){const{message:t}=e,n=Z(e,IN),{top:r,left:o,height:a,width:s}=Pe();return k.jsx(EN,x({x:o+s/2,y:r+a/2},n,{children:t??"Loading data…"}))}const RN=["message"],PN=ne("text")(({theme:e})=>x({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"}));function AN(e){const{message:t}=e,n=Z(e,RN),{top:r,left:o,height:a,width:s}=Pe();return k.jsx(PN,x({x:o+s/2,y:r+a/2},n,{children:t??"No data to display"}))}function DN(){const e=ot();return Object.values(e).every(t=>{if(!t)return!0;const{series:n,seriesOrder:r}=t;return r.every(o=>n[o].data.length===0)})}function FN(e){var n,r,o,a;const t=DN();if(e.loading){const s=((n=e.slots)==null?void 0:n.loadingOverlay)??_N;return k.jsx(s,x({},(r=e.slotProps)==null?void 0:r.loadingOverlay))}if(t){const s=((o=e.slots)==null?void 0:o.noDataOverlay)??AN;return k.jsx(s,x({},(a=e.slotProps)==null?void 0:a.noDataOverlay))}return null}const LN=["xAxis","yAxis","series","width","height","margin","colors","dataset","sx","tooltip","onAxisClick","axisHighlight","legend","grid","topAxis","leftAxis","rightAxis","bottomAxis","children","slots","slotProps","skipAnimation","loading","layout","onItemClick","highlightedItem","onHighlightChange","borderRadius","barLabel","className"],zN=e=>{const{xAxis:t,yAxis:n,series:r,width:o,height:a,margin:s,colors:u,dataset:c,sx:l,tooltip:d,onAxisClick:f,axisHighlight:h,legend:m,grid:p,topAxis:g,leftAxis:b,rightAxis:y,bottomAxis:O,children:T,slots:$,slotProps:j,skipAnimation:w,loading:C,layout:P,onItemClick:A,highlightedItem:D,onHighlightChange:E,borderRadius:U,barLabel:F,className:I}=e,R=Z(e,LN),B=`${kd()}-clip-path`,L=P==="horizontal"||P===void 0&&r.some(q=>q.layout==="horizontal"),Y={scaleType:"band",data:Array.from({length:Math.max(...r.map(q=>(q.data??c??[]).length))},(q,S)=>S)},W=x({},R,{series:r.map(q=>x({type:"bar"},q,{layout:L?"horizontal":"vertical"})),width:o,height:a,margin:s,colors:u,dataset:c,xAxis:t??(L?void 0:[x({id:Ga},Y)]),yAxis:n??(L?[x({id:Wa},Y)]:void 0),sx:l,highlightedItem:D,onHighlightChange:E,disableAxisListener:(d==null?void 0:d.trigger)!=="axis"&&(h==null?void 0:h.x)==="none"&&(h==null?void 0:h.y)==="none"&&!f,className:I,skipAnimation:w}),J={onItemClick:A,slots:$,slotProps:j,borderRadius:U,barLabel:F},re={onAxisClick:f},be={vertical:p==null?void 0:p.vertical,horizontal:p==null?void 0:p.horizontal},de={clipPath:`url(#${B})`},ee={id:B},ve={slots:$,slotProps:j,loading:C},le={topAxis:g,leftAxis:b,rightAxis:y,bottomAxis:O,slots:$,slotProps:j},ye=x({},L?{y:"band"}:{x:"band"},h),_=x({},m,{slots:$,slotProps:j}),z=x({},d,{slots:$,slotProps:j});return{chartContainerProps:W,barPlotProps:J,axisClickHandlerProps:re,gridProps:be,clipPathProps:ee,clipPathGroupProps:de,overlayProps:ve,chartsAxisProps:le,axisHighlightProps:ye,legendProps:_,tooltipProps:z,children:T}},fh=v.forwardRef(function(t,n){const r=nt({props:t,name:"MuiBarChart"}),{chartContainerProps:o,barPlotProps:a,axisClickHandlerProps:s,gridProps:u,clipPathProps:c,clipPathGroupProps:l,overlayProps:d,chartsAxisProps:f,axisHighlightProps:h,legendProps:m,tooltipProps:p,children:g}=zN(r);return k.jsxs(Bd,x({ref:n},o,{children:[r.onAxisClick&&k.jsx(ch,x({},s)),k.jsx(lh,x({},u)),k.jsxs("g",x({},l,{children:[k.jsx(Ud,x({},a)),k.jsx(FN,x({},d)),k.jsx(ah,x({},h))]})),k.jsx(Xd,x({},f)),k.jsx(oh,x({},m)),!r.loading&&k.jsx(rh,x({},p)),k.jsx(sh,x({},c)),g]}))});fh.propTypes={axisHighlight:i.shape({x:i.oneOf(["band","line","none"]),y:i.oneOf(["band","line","none"])}),barLabel:i.oneOfType([i.oneOf(["value"]),i.func]),borderRadius:i.number,bottomAxis:i.oneOfType([i.object,i.string]),children:i.node,className:i.string,colors:i.oneOfType([i.arrayOf(i.string),i.func]),dataset:i.arrayOf(i.object),desc:i.string,disableAxisListener:i.bool,grid:i.shape({horizontal:i.bool,vertical:i.bool}),height:i.number,highlightedItem:i.shape({dataIndex:i.number,seriesId:i.oneOfType([i.number,i.string])}),layout:i.oneOf(["horizontal","vertical"]),leftAxis:i.oneOfType([i.object,i.string]),legend:i.shape({classes:i.object,direction:i.oneOf(["column","row"]),hidden:i.bool,itemGap:i.number,itemMarkHeight:i.number,itemMarkWidth:i.number,labelStyle:i.object,markGap:i.number,onItemClick:i.func,padding:i.oneOfType([i.number,i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number})]),position:i.shape({horizontal:i.oneOf(["left","middle","right"]).isRequired,vertical:i.oneOf(["bottom","middle","top"]).isRequired}),slotProps:i.object,slots:i.object}),loading:i.bool,margin:i.shape({bottom:i.number,left:i.number,right:i.number,top:i.number}),onAxisClick:i.func,onHighlightChange:i.func,onItemClick:i.func,resolveSizeBeforeRender:i.bool,rightAxis:i.oneOfType([i.object,i.string]),series:i.arrayOf(i.object).isRequired,skipAnimation:i.bool,slotProps:i.object,slots:i.object,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),title:i.string,tooltip:i.shape({axisContent:i.elementType,classes:i.object,itemContent:i.elementType,slotProps:i.object,slots:i.object,trigger:i.oneOf(["axis","item","none"])}),topAxis:i.oneOfType([i.object,i.string]),viewBox:i.shape({height:i.number,width:i.number,x:i.number,y:i.number}),width:i.number,xAxis:i.arrayOf(i.shape({classes:i.object,colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,disableLine:i.bool,disableTicks:i.bool,domainLimit:i.oneOfType([i.oneOf(["nice","strict"]),i.func]),fill:i.string,hideTooltip:i.bool,id:i.oneOfType([i.number,i.string]),label:i.string,labelFontSize:i.number,labelStyle:i.object,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),position:i.oneOf(["bottom","top"]),reverse:i.bool,scaleType:i.oneOf(["band","linear","log","point","pow","sqrt","time","utc"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number,valueFormatter:i.func})),yAxis:i.arrayOf(i.shape({classes:i.object,colorMap:i.oneOfType([i.shape({colors:i.arrayOf(i.string).isRequired,type:i.oneOf(["ordinal"]).isRequired,unknownColor:i.string,values:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number,i.string]).isRequired)}),i.shape({color:i.oneOfType([i.arrayOf(i.string.isRequired),i.func]).isRequired,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),type:i.oneOf(["continuous"]).isRequired}),i.shape({colors:i.arrayOf(i.string).isRequired,thresholds:i.arrayOf(i.oneOfType([i.instanceOf(Date),i.number]).isRequired).isRequired,type:i.oneOf(["piecewise"]).isRequired})]),data:i.array,dataKey:i.string,disableLine:i.bool,disableTicks:i.bool,domainLimit:i.oneOfType([i.oneOf(["nice","strict"]),i.func]),fill:i.string,hideTooltip:i.bool,id:i.oneOfType([i.number,i.string]),label:i.string,labelFontSize:i.number,labelStyle:i.object,max:i.oneOfType([i.instanceOf(Date),i.number]),min:i.oneOfType([i.instanceOf(Date),i.number]),position:i.oneOf(["left","right"]),reverse:i.bool,scaleType:i.oneOf(["band","linear","log","point","pow","sqrt","time","utc"]),slotProps:i.object,slots:i.object,stroke:i.string,sx:i.oneOfType([i.arrayOf(i.oneOfType([i.func,i.object,i.bool])),i.func,i.object]),tickFontSize:i.number,tickInterval:i.oneOfType([i.oneOf(["auto"]),i.array,i.func]),tickLabelInterval:i.oneOfType([i.oneOf(["auto"]),i.func]),tickLabelPlacement:i.oneOf(["middle","tick"]),tickLabelStyle:i.object,tickMaxStep:i.number,tickMinStep:i.number,tickNumber:i.number,tickPlacement:i.oneOf(["end","extremities","middle","start"]),tickSize:i.number,valueFormatter:i.func}))};const Ct=({children:e,className:t,url:n})=>{const[r,o]=v.useState(!1);let a=Ql();const s=()=>{n&&(o(!0),setTimeout(()=>a.push(n),400))};return M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{onClick:()=>s(),className:`form-bg-dashboad ${n?"hover-bg":""} ${r?"zoomed":""} ${t}`,children:e},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBgDashboad.jsx",lineNumber:16,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBgDashboad.jsx",lineNumber:15,columnNumber:5},globalThis)},VN=({data:e})=>{let t=(e==null?void 0:e.DSDuAn)||[];return M.jsxDEV(M.Fragment,{children:M.jsxDEV(Ct,{url:"/ql-du-an",className:"pd-header form-bg-2",children:[M.jsxDEV("div",{className:"header-dash",children:[M.jsxDEV("h6",{children:"Tiến độ thực hiện theo Dự án"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:12,columnNumber:11},globalThis),M.jsxDEV("span",{children:["Tổng hợp kết quả thực hiện dự án đến ngày ",Kl().format("DD/MM/YYYY")]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:13,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:11,columnNumber:9},globalThis),M.jsxDEV(iO,{width:"100%",height:"100%",children:M.jsxDEV(fh,{dataset:t,borderRadius:10,xAxis:[{scaleType:"band",dataKey:"MaDuAn"}],series:[{dataKey:"TongSoHoSoDuKien",label:"Tổng số hồ sơ cần thực hiện"},{dataKey:"TongSoHoSo",label:"Số hồ sơ đã thực hiện"}],colors:["#18449a","#2aab99"]},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:16,columnNumber:11},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:15,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:10,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/chart.jsx",lineNumber:9,columnNumber:5},globalThis)},UN=[{field:"Stt",title:"STT"},{field:"MaDuAn",title:"Mã dự án"},{field:"TenDuAn",title:"Tên dự án"},{field:"DiaChi",title:"Địa chỉ"},{field:"TongSoHoSo",title:"Tổng số hộ"},{field:"TinhTrang",title:"Tình trạng",render:e=>M.jsxDEV("div",{className:"d-flex justify-content-center pe-3",children:e!=null&&e.TinhTrang?M.jsxDEV(is,{status:"success",children:"Hoàn thành"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/columns.jsx",lineNumber:15,columnNumber:11},globalThis):M.jsxDEV(is,{status:"primary",children:"Đang triển khai"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/columns.jsx",lineNumber:17,columnNumber:11},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/columns.jsx",lineNumber:13,columnNumber:7},globalThis)}],qN=({data:e})=>{let t=e==null?void 0:e.DSDuAn;return M.jsxDEV(M.Fragment,{children:M.jsxDEV(Ct,{url:"/ql-du-an",className:"pd-header form-bg-1",children:[M.jsxDEV("div",{className:"header-dash",children:[M.jsxDEV("h6",{children:"Danh sách Dự án"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/table.jsx",lineNumber:12,columnNumber:11},globalThis),M.jsxDEV("span",{children:["Tổng hợp kết quả được thống kê đến ngày ",Kl().format("DD/MM/YYYY")]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/table.jsx",lineNumber:13,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/table.jsx",lineNumber:11,columnNumber:9},globalThis),M.jsxDEV(Nh,{columns:UN,data:t},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/table.jsx",lineNumber:15,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/table.jsx",lineNumber:10,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/table.jsx",lineNumber:9,columnNumber:5},globalThis)},HN=({data:e})=>M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{className:"form-body-left",children:[M.jsxDEV(qN,{data:e},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyLeft.jsx",lineNumber:8,columnNumber:9},globalThis),M.jsxDEV(VN,{data:e},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyLeft.jsx",lineNumber:9,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyLeft.jsx",lineNumber:7,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyLeft.jsx",lineNumber:6,columnNumber:5},globalThis),BN=({data:e})=>{let t=(e==null?void 0:e.TongQuan)||{};const[n,r]=v.useState(0);return v.useEffect(()=>{var o;Zl(`TaiKhoans?$filter=IDDonVi eq '${(o=lo)==null?void 0:o.IDDonVi}'&$inlinecount=allpages`).then(a=>r(a["odata.count"]))},[]),M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{className:"form-body-right",children:[M.jsxDEV(Ct,{url:"/ql-du-an",className:"style-1 form-bg-2",children:[M.jsxDEV("div",{className:"d-flex",children:[M.jsxDEV(Ze,{fa:"houzz"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:23,columnNumber:13},globalThis)," Dự án"]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:22,columnNumber:11},globalThis),M.jsxDEV("div",{children:M.jsxDEV("span",{className:"number",children:Ln((t==null?void 0:t.TongSoDuAn)||0)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:26,columnNumber:13},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:25,columnNumber:11},globalThis),M.jsxDEV("b",{children:"Tổng số tất cả dự án"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:28,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:21,columnNumber:9},globalThis),M.jsxDEV(Ct,{url:"/chu-so-huu",className:"style-2 form-bg-3",children:[M.jsxDEV(Ze,{fa:"contao"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:31,columnNumber:11},globalThis),M.jsxDEV("div",{className:"d-flex",children:[M.jsxDEV("div",{children:[M.jsxDEV("h5",{children:"Chủ sở hữu"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:34,columnNumber:15},globalThis),M.jsxDEV("span",{children:"Tổng số chủ sở hữu"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:35,columnNumber:15},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:33,columnNumber:13},globalThis),M.jsxDEV("h2",{children:Ln((t==null?void 0:t.TongChuSoHuu)||0)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:37,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:32,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:30,columnNumber:9},globalThis),M.jsxDEV(Ct,{url:"/phuong-an",className:"style-2 form-bg-4",children:[M.jsxDEV(Ze,{fa:"modx"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:41,columnNumber:11},globalThis),M.jsxDEV("div",{className:"d-flex",children:[M.jsxDEV("div",{children:[M.jsxDEV("h5",{children:"Phương án"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:44,columnNumber:15},globalThis),M.jsxDEV("span",{children:"Tổng số phương án"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:45,columnNumber:15},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:43,columnNumber:13},globalThis),M.jsxDEV("h2",{children:Ln((t==null?void 0:t.TongPhuongAn)||0)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:47,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:42,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:40,columnNumber:9},globalThis),M.jsxDEV(Ct,{url:"/tai-khoan",className:"style-2 form-bg-5",children:[M.jsxDEV(Ze,{fa:"stack-overflow"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:51,columnNumber:11},globalThis),M.jsxDEV("div",{className:"d-flex",children:[M.jsxDEV("div",{children:[M.jsxDEV("h5",{children:"Tài khoản"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:54,columnNumber:15},globalThis),M.jsxDEV("span",{children:"Tài khoản đang được quản lý"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:55,columnNumber:15},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:53,columnNumber:13},globalThis),M.jsxDEV("h2",{children:Ln(n||0)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:57,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:52,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:50,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:20,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/formBodyRight.jsx",lineNumber:19,columnNumber:5},globalThis)},yI=()=>{const[e,t]=v.useState({});return v.useEffect(()=>{Zl("DashBoardDuAn","GET",null,{odata:!1}).then(n=>t(n))},[]),M.jsxDEV(M.Fragment,{children:M.jsxDEV("div",{className:"form-dashboad-custom",children:[M.jsxDEV(vm,{},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:19,columnNumber:9},globalThis),M.jsxDEV("div",{className:"form-dashboad",children:[M.jsxDEV(ym,{},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:21,columnNumber:11},globalThis),M.jsxDEV("div",{className:"body-dashboad",children:[M.jsxDEV(HN,{data:e},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:23,columnNumber:13},globalThis),M.jsxDEV(BN,{data:e},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:24,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:22,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:20,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:18,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/kiemkegpmb.gdtsolutions.vn/src/views/TongQuan/index.jsx",lineNumber:17,columnNumber:5},globalThis)};export{yI as default};