PageSourceSearch

https://app.growthday.com/_next/static/chunks/8259-a16b80ed7ff784d1.js

js growthday.com collected 2026-09-24 11:46:02 UTC 189,276 bytes, 3 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8259],{36722:function(t,e,n){"use strict";var r=n(20811);e.Z=void 0;var i=r(n(98788)),o=n(73411);e.Z=(0,i.default)((0,o.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown")},84397:function(t,e,n){"use strict";var r=n(20811);e.Z=void 0;var i=r(n(98788)),o=n(73411);e.Z=(0,i.default)((0,o.jsx)("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp")},10840:function(t,e,n){"use strict";var r=n(20811);e.Z=void 0;var i=r(n(98788)),o=n(73411);e.Z=(0,i.default)((0,o.jsx)("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2m0 15-5-2.18L7 18V5h10z"}),"BookmarkBorderOutlined")},8972:function(t,e,n){"use strict";var r=n(20811);e.Z=void 0;var i=r(n(98788)),o=n(73411);e.Z=(0,i.default)((0,o.jsx)("path",{d:"M17 3H7c-1.1 0-2 .9-2 2v16l7-3 7 3V5c0-1.1-.9-2-2-2"}),"BookmarkOutlined")},8365:function(t,e,n){"use strict";var r=n(20811);e.Z=void 0;var i=r(n(98788)),o=n(73411);e.Z=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},437:function(t,e,n){"use strict";var r=n(20811);e.Z=void 0;var i=r(n(98788)),o=n(73411);e.Z=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext")},45373:function(t,e,n){"use strict";var r=n(1912),i=n(73411);e.Z=(0,r.Z)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},53842:function(t,e){"use strict";e.Z=(t,e,n)=>{let r="vertical"===t.layout,i=r?e?.colorScale:n?.colorScale,o=r?n?.colorScale:e?.colorScale,a=r?e?.data:n?.data;return o?e=>{let n=t.data[e],r=null===n?t.color:o(n);return null===r?t.color:r}:i&&a?e=>{let n=a[e],r=null===n?t.color:i(n);return null===r?t.color:r}:()=>t.color}},22567:function(t,e,n){"use strict";n.d(e,{q:function(){return O}});var r=n(78511),i=n(21628),o=n(38895),a=n(96085),s=n(52516),l=n(56956),u=n(91270),c=n(89010),d=n(19121),h=n(63837),f=n(43071);function p(t){return(0,f.ZP)("MuiChartsAxis",t)}let g=(0,n(46051).Z)("MuiChartsAxis",["root","line","tickContainer","tick","tickLabel","label","directionX","directionY","top","bottom","left","right"]),m=(0,u.ZP)("g",{name:"MuiChartsAxis",slot:"Root",overridesResolver:(t,e)=>e.root})(({theme:t})=>({[`& .${g.tickLabel}`]:(0,r.Z)({},t.typography.caption,{fill:(t.vars||t).palette.text.primary}),[`& .${g.label}`]:(0,r.Z)({},t.typography.body1,{fill:(t.vars||t).palette.text.primary}),[`& .${g.line}`]:{stroke:(t.vars||t).palette.text.primary,shapeRendering:"crispEdges",strokeWidth:1},[`& .${g.tick}`]:{stroke:(t.vars||t).palette.text.primary,shapeRendering:"crispEdges"}}));var v=n(18999),x=n(46821),y=n(56300),b=n(66025),_=n(60296),w=n(97943),M=n(73411);let Z=["scale","tickNumber","reverse"],k=t=>{let{classes:e,position:n}=t;return(0,l.Z)({root:["root","directionX",n],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},p,e)},C=(0,u.ZP)(m,{name:"MuiChartsXAxis",slot:"Root",overridesResolver:(t,e)=>e.root})({}),A={position:"bottom",disableLine:!1,disableTicks:!1,tickSize:6};function I(t){var e,n,l,u,f;let{xAxisIds:p,xAxis:g}=(0,o.r)(),m=g[null!==(e=t.axisId)&&void 0!==e?e:p[0]],{scale:I,tickNumber:T,reverse:P}=m,j=(0,a.Z)(m,Z),S=function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],[e,n]=i.useState(!1);return(0,x.Z)(()=>{t||n(!0)},[t]),i.useEffect(()=>{t&&n(!0)},[t]),e}(),$=(0,c.Z)({props:(0,r.Z)({},j,t),name:"MuiChartsXAxis"}),E=(0,r.Z)({},A,$),{position:N,disableLine:z,disableTicks:O,tickLabelStyle:L,label:R,labelStyle:U,tickFontSize:D,labelFontSize:F,tickSize:H,valueFormatter:V,slots:Y,slotProps:q,tickInterval:B,tickLabelInterval:G,tickPlacement:X,tickLabelPlacement:W,sx:K}=E,Q=(0,d.Z)(),J=k((0,r.Z)({},E,{theme:Q})),{left:tt,top:te,width:tn,height:tr,isPointInside:ti}=(0,y.z)(),to=O?4:H,ta="bottom"===N?1:-1,ts=null!==(n=null==Y?void 0:Y.axisLine)&&void 0!==n?n:"line",tl=null!==(l=null==Y?void 0:Y.axisTick)&&void 0!==l?l:"line",tu=null!==(u=null==Y?void 0:Y.axisTickLabel)&&void 0!==u?u:v.k,tc=null!==(f=null==Y?void 0:Y.axisLabel)&&void 0!==f?f:v.k,td=(0,s.Z)({elementType:tu,externalSlotProps:null==q?void 0:q.axisTickLabel,additionalProps:{style:(0,r.Z)({textAnchor:"middle",dominantBaseline:"bottom"===N?"hanging":"auto",fontSize:null!=D?D:12},L)},className:J.tickLabel,ownerState:{}}),th=function(t,e){let{tickLabelStyle:n,tickLabelInterval:i,reverse:o,isMounted:a}=e,s=t.map(t=>{if(!a||void 0===t.formattedValue)return(0,r.Z)({},t,{width:0,height:0});let e=(0,b.i)({style:n,needsComputation:!0,text:t.formattedValue});return(0,r.Z)({},t,{width:Math.max(...e.map(t=>t.width)),height:Math.max(e.length*e[0].height)})});if("function"==typeof i)return s.map((t,e)=>(0,r.Z)({},t,{skipLabel:!i(t.value,e)}));let l=0,u=0,c=o?-1:1;return s.map((t,e)=>{let{width:i,offset:o,labelOffset:a,height:s}=t,d=function(t,e,n=0){let r=Math.min(Math.abs(n)%180,Math.abs(Math.abs(n)%180-180)%180);if(r<5)return t;if(r>85)return e;let i=r*Math.PI/180;return i<Math.atan2(e,t)?t/Math.cos(i):e/Math.sin(i)}(i,s,null==n?void 0:n.angle),h=o+a;return(l=h-1.2*d*c/2,e>0&&c*l<c*u)?(0,r.Z)({},t,{skipLabel:!0}):(u=h+1.2*d*c/2,t)})}((0,h.g)({scale:I,tickNumber:T,valueFormatter:V,tickInterval:B,tickPlacement:X,tickLabelPlacement:W}),{tickLabelStyle:td.style,tickLabelInterval:G,reverse:P,isMounted:S}),tf=(0,s.Z)({elementType:tc,externalSlotProps:null==q?void 0:q.axisLabel,additionalProps:{style:(0,r.Z)({fontSize:null!=F?F:14,textAnchor:"middle",dominantBaseline:"bottom"===N?"hanging":"auto"},U)},ownerState:{}}),tp=I.domain(),tg=(0,w.o)(I);return tg&&0===tp.length||!tg&&tp.some(_.A)?null:(0,M.jsxs)(C,{transform:"translate(0, ".concat("bottom"===N?te+tr:te,")"),className:J.root,sx:K,children:[!z&&(0,M.jsx)(ts,(0,r.Z)({x1:tt,x2:tt+tn,className:J.line},null==q?void 0:q.axisLine)),th.map((t,e)=>{let{formattedValue:n,offset:i,labelOffset:o,skipLabel:a}=t,s=null!=o?o:0,l=ti({x:i,y:-1},{direction:"x"}),u=ti({x:i+s,y:-1},{direction:"x"});return(0,M.jsxs)("g",{transform:"translate(".concat(i,", 0)"),className:J.tickContainer,children:[!O&&l&&(0,M.jsx)(tl,(0,r.Z)({y2:ta*to,className:J.tick},null==q?void 0:q.axisTick)),void 0!==n&&!a&&u&&(0,M.jsx)(tu,(0,r.Z)({x:s,y:ta*(to+3)},td,{text:n.toString()}))]},e)}),R&&(0,M.jsx)("g",{className:J.label,children:(0,M.jsx)(tc,(0,r.Z)({},{x:tt+tn/2,y:ta*(to+22)},tf,{text:R}))})]})}var T=n(20364);let P=["scale","tickNumber"],j=t=>{let{classes:e,position:n}=t;return(0,l.Z)({root:["root","directionY",n],line:["line"],tickContainer:["tickContainer"],tick:["tick"],tickLabel:["tickLabel"],label:["label"]},p,e)},S=(0,u.ZP)(m,{name:"MuiChartsYAxis",slot:"Root",overridesResolver:(t,e)=>e.root})({}),$={position:"left",disableLine:!1,disableTicks:!1,tickFontSize:12,labelFontSize:14,tickSize:6};function E(t){var e,n,i,l,u;let{yAxisIds:f,yAxis:p}=(0,o.r)(),g=p[null!==(e=t.axisId)&&void 0!==e?e:f[0]],{scale:m,tickNumber:x}=g,b=(0,a.Z)(g,P),Z=(0,c.Z)({props:(0,r.Z)({},b,t),name:"MuiChartsYAxis"}),k=(0,r.Z)({},$,Z),{position:C,disableLine:A,disableTicks:I,tickFontSize:E,label:N,labelFontSize:z,labelStyle:O,tickLabelStyle:L,tickSize:R,valueFormatter:U,slots:D,slotProps:F,tickPlacement:H,tickLabelPlacement:V,tickInterval:Y,tickLabelInterval:q,sx:B}=k,G=(0,d.Z)(),X=(0,T.V)(),W=j((0,r.Z)({},k,{theme:G})),{left:K,top:Q,width:J,height:tt,isPointInside:te}=(0,y.z)(),tn=I?4:R,tr=(0,h.g)({scale:m,tickNumber:x,valueFormatter:U,tickPlacement:H,tickLabelPlacement:V,tickInterval:Y}),ti="right"===C?1:-1,to=null!==(n=null==D?void 0:D.axisLine)&&void 0!==n?n:"line",ta=null!==(i=null==D?void 0:D.axisTick)&&void 0!==i?i:"line",ts=null!==(l=null==D?void 0:D.axisTickLabel)&&void 0!==l?l:v.k,tl=null!==(u=null==D?void 0:D.axisLabel)&&void 0!==u?u:v.k,tu=(0,s.Z)({elementType:ts,externalSlotProps:null==F?void 0:F.axisTickLabel,additionalProps:{style:(0,r.Z)({fontSize:E,textAnchor:!X&&"right"===C||X&&"right"!==C?"start":"end",dominantBaseline:"central"},L)},className:W.tickLabel,ownerState:{}}),tc=(0,s.Z)({elementType:tl,externalSlotProps:null==F?void 0:F.axisLabel,additionalProps:{style:(0,r.Z)({fontSize:z,angle:90*ti,textAnchor:"middle",dominantBaseline:"auto"},O)},ownerState:{}}),td=(0,s.Z)({elementType:to,externalSlotProps:null==F?void 0:F.axisLine,additionalProps:{strokeLinecap:"square"},ownerState:{}}),th=m.domain(),tf=(0,w.o)(m);return tf&&0===th.length||!tf&&th.some(_.A)?null:(0,M.jsxs)(S,{transform:"translate(".concat("right"===C?K+J:K,", 
10)"),className:W.root,sx:B,children:[!A&&(0,M.jsx)(to,(0,r.Z)({y1:Q,y2:Q+tt,className:W.line},td)),tr.map((t,e)=>{let{formattedValue:n,offset:i,labelOffset:o,value:a}=t,s="function"==typeof q&&!(null==q?void 0:q(a,e));return te({x:-1,y:i},{direction:"y"})?(0,M.jsxs)("g",{transform:"translate(0, ".concat(i,")"),className:W.tickContainer,children:[!I&&(0,M.jsx)(ta,(0,r.Z)({x2:ti*tn,className:W.tick},null==F?void 0:F.axisTick)),void 0!==n&&!s&&(0,M.jsx)(ts,(0,r.Z)({x:ti*(tn+2),y:o,text:n.toString()},tu))]},e):null}),N&&(0,M.jsx)("g",{className:W.label,children:(0,M.jsx)(tl,(0,r.Z)({},{x:ti*(E+tn+10),y:Q+tt/2},tc,{text:N}))})]})}let N=(t,e)=>{if(null==t)return null;if("object"==typeof t){var n,r;return null!==(r=null!==(n=t.axisId)&&void 0!==n?n:e)&&void 0!==r?r:null}return t},z=(t,e,n)=>"object"==typeof t?(0,r.Z)({},t,{slots:(0,r.Z)({},e,null==t?void 0:t.slots),slotProps:(0,r.Z)({},n,null==t?void 0:t.slotProps)}):{slots:e,slotProps:n};function O(t){let{topAxis:e,leftAxis:n,rightAxis:a,bottomAxis:s,slots:l,slotProps:u}=t,{xAxis:c,xAxisIds:d,yAxis:h,yAxisIds:f}=(0,o.r)(),p=N(void 0===n?f[0]:n,f[0]),g=N(void 0===s?d[0]:s,d[0]),m=N(e,d[0]),v=N(a,f[0]);if(null!==m&&!c[m])throw Error(['MUI X: id used for top axis "'.concat(m,'" is not defined.'),"Available ids are: ".concat(d.join(", "),".")].join("\n"));if(null!==p&&!h[p])throw Error(['MUI X: id used for left axis "'.concat(p,'" is not defined.'),"Available ids are: ".concat(f.join(", "),".")].join("\n"));if(null!==v&&!h[v])throw Error(['MUI X: id used for right axis "'.concat(v,'" is not defined.'),"Available ids are: ".concat(f.join(", "),".")].join("\n"));if(null!==g&&!c[g])throw Error(['MUI X: id used for bottom axis "'.concat(g,'" is not defined.'),"Available ids are: ".concat(d.join(", "),".")].join("\n"));let x=z(e,l,u),y=z(s,l,u),b=z(n,l,u),_=z(a,l,u);return(0,M.jsxs)(i.Fragment,{children:[m&&(0,M.jsx)(I,(0,r.Z)({},x,{position:"top",axisId:m})),g&&(0,M.jsx)(I,(0,r.Z)({},y,{position:"bottom",axisId:g})),p&&(0,M.jsx)(E,(0,r.Z)({},b,{position:"left",axisId:p})),v&&(0,M.jsx)(E,(0,r.Z)({},_,{position:"right",axisId:v}))]})}},40827:function(t,e,n){"use strict";n.d(e,{qe:function(){return v}});var r=n(78511),i=n(21628),o=n(56956),a=n(43071),s=n(46051),l=n(91270),u=n(91551),c=n(38895),d=n(7840),h=n(97943),f=n(73411);function p(t){return(0,a.ZP)("MuiChartsAxisHighlight",t)}(0,s.Z)("MuiChartsAxisHighlight",["root"]);let g=()=>(0,o.Z)({root:["root"]},p),m=(0,l.ZP)("path",{name:"MuiChartsAxisHighlight",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{theme:e}=t;return{pointerEvents:"none",variants:[{props:{axisHighlight:"band"},style:(0,r.Z)({fill:"white",fillOpacity:.1},e.applyStyles("light",{fill:"gray"}))},{props:{axisHighlight:"line"},style:(0,r.Z)({strokeDasharray:"5 2",stroke:"#ffffff"},e.applyStyles("light",{stroke:"#000000"}))}]}});function v(t){let{x:e,y:n}=t,{xAxisIds:r,xAxis:o,yAxisIds:a,yAxis:s}=(0,c.r)(),l=g(),p=r[0],v=a[0],x=o[p].scale,y=s[v].scale,{axis:b}=i.useContext(u.s),_=(0,d.H5)(x),w=(0,d.H5)(y),M=b.x,Z=b.y,k="band"===e&&null!==M&&(0,h.o)(x),C="band"===n&&null!==Z&&(0,h.o)(y);return(0,f.jsxs)(i.Fragment,{children:[k&&void 0!==x(M.value)&&(0,f.jsx)(m,{d:"M ".concat(x(M.value)-(x.step()-x.bandwidth())/2," ").concat(y.range()[0]," l ").concat(x.step()," 0 l 0 ").concat(y.range()[1]-y.range()[0]," l ").concat(-x.step()," 0 Z"),className:l.root,ownerState:{axisHighlight:"band"}}),C&&void 0!==y(Z.value)&&(0,f.jsx)(m,{d:"M ".concat(x.range()[0]," ").concat(y(Z.value)-(y.step()-y.bandwidth())/2," l 0 ").concat(y.step()," l ").concat(x.range()[1]-x.range()[0]," 0 l 0 ").concat(-y.step()," Z"),className:l.root,ownerState:{axisHighlight:"band"}}),"line"===e&&null!==b.x&&(0,f.jsx)(m,{d:"M ".concat(_(b.x.value)," ").concat(y.range()[0]," L ").concat(_(b.x.value)," ").concat(y.range()[1]),className:l.root,ownerState:{axisHighlight:"line"}}),"line"===n&&null!==b.y&&(0,f.jsx)(m,{d:"M ".concat(x.range()[0]," ").concat(w(b.y.value)," L ").concat(x.range()[1]," ").concat(w(b.y.value)),className:l.root,ownerState:{axisHighlight:"line"}})]})}},35373:function(t,e,n){"use strict";n.d(e,{h:function(){return a}});var r=n(78511);n(21628);var i=n(56300),o=n(73411);function a(t){let{id:e,offset:n}=t,{left:a,top:s,width:l,height:u}=(0,i.z)(),c=(0,r.Z)({top:0,right:0,bottom:0,left:0},n);return(0,o.jsx)("clipPath",{id:e,children:(0,o.jsx)("rect",{x:a-c.left,y:s-c.top,width:l+c.left+c.right,height:u+c.top+c.bottom})})}},70499:function(t,e,n){"use strict";n.d(e,{q:function(){return w}});var r=n(78511),i=n(96085),o=n(21628),a=n(56956),s=n(89010),l=n(38895),u=n(43071);function c(t){return(0,u.ZP)("MuiChartsGrid",t)}let d=(0,n(46051).Z)("MuiChartsGrid",["root","line","horizontalLine","verticalLine"]);var h=n(56300),f=n(91270);let p=(0,f.ZP)("g",{name:"MuiChartsGrid",slot:"Root",overridesResolver:(t,e)=>[{[`&.${d.verticalLine}`]:e.verticalLine},{[`&.${d.horizontalLine}`]:e.horizontalLine},e.root]}
1)({}),g=(0,f.ZP)("line",{name:"MuiChartsGrid",slot:"Line",overridesResolver:(t,e)=>e.line})(({theme:t})=>({stroke:(t.vars||t).palette.divider,shapeRendering:"crispEdges",strokeWidth:1}));var m=n(63837),v=n(73411);function x(t){let{axis:e,drawingArea:n,classes:r}=t,{scale:i,tickNumber:a,tickInterval:s}=e,l=(0,m.g)({scale:i,tickNumber:a,tickInterval:s});return(0,v.jsx)(o.Fragment,{children:l.map(({value:t,offset:e})=>(0,v.jsx)(g,{y1:n.top,y2:n.top+n.height,x1:e,x2:e,className:r.verticalLine},`vertical-${t}`))})}function y(t){let{axis:e,drawingArea:n,classes:r}=t,{scale:i,tickNumber:a,tickInterval:s}=e,l=(0,m.g)({scale:i,tickNumber:a,tickInterval:s});return(0,v.jsx)(o.Fragment,{children:l.map(({value:t,offset:e})=>(0,v.jsx)(g,{y1:e,y2:e,x1:n.left,x2:n.left+n.width,className:r.horizontalLine},`horizontal-${t}`))})}let b=["vertical","horizontal"],_=t=>{let{classes:e}=t;return(0,a.Z)({root:["root"],verticalLine:["line","verticalLine"],horizontalLine:["line","horizontalLine"]},c,e)};function w(t){let e=(0,s.Z)({props:t,name:"MuiChartsGrid"}),n=(0,h.z)(),{vertical:o,horizontal:a}=e,u=(0,i.Z)(e,b),{xAxis:c,xAxisIds:d,yAxis:f,yAxisIds:g}=(0,l.r)(),m=_(e),w=f[g[0]],M=c[d[0]];return(0,v.jsxs)(p,(0,r.Z)({},u,{className:m.root,children:[o&&(0,v.jsx)(x,{axis:M,drawingArea:n,classes:m}),a&&(0,v.jsx)(y,{axis:w,drawingArea:n,classes:m})]}))}},57926:function(t,e,n){"use strict";n.d(e,{G:function(){return E}});var r=n(96085),i=n(78511),o=n(21628),a=n(52516),s=n(56956),l=n(89010),u=n(19121),c=n(58601);let d={bar:t=>{let{seriesOrder:e,series:n}=t;return e.reduce((t,e)=>{let r=(0,c.i)(n[e].label,"legend");return void 0===r||t.push({id:e,seriesId:e,color:n[e].color,label:r}),t},[])},scatter:t=>{let{seriesOrder:e,series:n}=t;return e.reduce((t,e)=>{let r=(0,c.i)(n[e].label,"legend");return void 0===r||t.push({id:e,seriesId:e,color:n[e].color,label:r}),t},[])},line:t=>{let{seriesOrder:e,series:n}=t;return e.reduce((t,e)=>{let r=(0,c.i)(n[e].label,"legend");return void 0===r||t.push({id:e,seriesId:e,color:n[e].color,label:r}),t},[])},pie:t=>{let{seriesOrder:e,series:n}=t;return e.reduce((t,e)=>(n[e].data.forEach(n=>{let r=(0,c.i)(n.label,"legend");void 0!==r&&t.push({id:n.id,seriesId:e,color:n.color,label:r,itemId:n.id})}),t),[])}};var h=n(43071);function f(t){return(0,h.ZP)("MuiChartsLegend",t)}(0,n(46051).Z)("MuiChartsLegend",["root","series","itemBackgroun
1d","mark","label","column","row"]);var p=n(3490),g=n(91270),m=n(66025);let v=["label"];var x=n(56300),y=n(56934),b=n(20364),_=n(18999),w=n(73411);function M(t){let e=(0,b.V)(),{id:n,positionY:r,label:o,positionX:a,innerHeight:s,innerWidth:l,legendWidth:u,color:c,gapX:d,gapY:h,itemMarkHeight:f,itemMarkWidth:p,markGap:g,labelStyle:m,classes:v,onClick:x}=t;return(0,w.jsxs)("g",{className:(0,y.Z)(v?.series,`${v?.series}-${n}`),transform:`translate(${d+(e?u-a:a)} ${h+r})`,children:[(0,w.jsx)("rect",{x:e?-(l+2):-2,y:-f/2-2,width:l+4,height:s+4,fill:"transparent",className:v?.itemBackground,onClick:x,style:{pointerEvents:x?"all":"none",cursor:x?"pointer":"unset"}}),(0,w.jsx)("rect",{className:v?.mark,x:e?-p:0,y:-f/2,width:p,height:f,fill:c,style:{pointerEvents:"none"}}),(0,w.jsx)(_.k,{style:(0,i.Z)({pointerEvents:"none"},m),text:o,x:(e?-1:1)*(p+g),y:0})]})}let Z=["rotate","dominantBaseline"],k=(0,g.ZP)("g",{name:"MuiChartsLegend",slot:"Root",overridesResolver:(t,e)=>e.root})({}),C=t=>"number"==typeof t?{left:t,right:t,top:t,bottom:t}:(0,i.Z)({left:0,right:0,top:0,bottom:0},t);function A(t){let{position:e,direction:n,itemsToDisplay:a,classes:s,itemMarkWidth:l=20,itemMarkHeight:c=20,markGap:d=5,itemGap:h=10,padding:f=10,labelStyle:g,onItemClick:y}=t,b=(0,u.Z)(),_=(0,x.z)(),A=o.useMemo(()=>(0,i.Z)({},b.typography.subtitle1,{color:"inherit",dominantBaseline:"central",textAnchor:"start",fill:(b.vars||b).palette.text.primary,lineHeight:1},g),[g,b]),I=o.useMemo(()=>C(f),[f]),T=o.useCallback(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,r.Z)(e,Z),o=(0,m.i)({style:n,needsComputation:!0,text:t}),a={innerWidth:l+d+Math.max(...o.map(t=>t.width)),innerHeight:Math.max(c,o.length*o[0].height)};return(0,i.Z)({},a,{outerWidth:a.innerWidth+h,outerHeight:a.innerHeight+h})},[h,c,l,d]),P=_.left+_.width+_.right,j=_.top+_.height+_.bottom,S=P-I.left-I.right,$=j-I.top-I.bottom,[E,N,z]=o.useMemo(()=>(function(t,e,n,o,a,s,l){let u=0,c=0,d=0,h=0,f=0,p=[0];return[t.map(t=>{let{label:g}=t,m=(0,r.Z)(t,v),x=e(g,n),y=(0,i.Z)({},m,{label:g,positionX:u,positionY:c,innerHeight:x.innerHeight,innerWidth:x.innerWidth,outerHeight:x.outerHeight,outerWidth:x.outerWidth,rowIndex:f});return"row"===o&&(u+x.innerWidth>a&&(u=0,c+=p[f],f+=1,p.length<=f&&p.push(0),y.positionX=u,y.positionY=c,y.rowIndex=f),d=Math.max(d,u+x.outerWidth),h=Math.max(h,c+x.outerHeight),p[f]=Math.max(p[f],x.outerHeight),u+=x.outerWidth),"column"===o&&(c+x.innerHeight>s&&(u=d+l,c=0,f=0,y.positionX=u,y.positionY=c,y.rowIndex=f),p.length<=f&&p.push(0),d=Math.max(d,u+x.outerWidth),h=Math.max(h,c+x.outerHeight),f+=1,c+=x.outerHeight),y}).map(t=>(0,i.Z)({},t,{positionY:t.positionY+("row"===o?p[t.rowIndex]/2:t.outerHeight/2)})),d,h]})(a,T,A,n,S,$,h),[a,T,A,n,S,$,h]),O=o.useMemo(()=>{switch(e.horizontal){case"left":return I.left;case"right":return P-I.right-N;default:return(P-N)/2}},[e.horizontal,I.left,I.right,P,N]),L=o.useMemo(()=>{switch(e.vertical){case"top":return I.top;case"bottom":return j-I.bottom-z;default:return(j-z)/2}},[e.vertical,I.top,I.bottom,j,z]);return(0,w.jsx)(p.Z,{children:(0,w.jsx)(k,{className:null==s?void 0:s.root,children:E.map((t,e)=>(0,o.createElement)(M,(0,i.Z)({},t,{key:t.id,gapX:O,gapY:L,legendWidth:N,itemMarkHeight:c,itemMarkWidth:l,markGap:d,labelStyle:A,classes:s,onClick:y?t=>y(t,e):void 0})))})})}let I=["drawingArea","seriesToDisplay","hidden","onItemClick"],T=t=>({type:"series",color:t.color,label:t.label,seriesId:t.seriesId,itemId:t.itemId});function P(t){let{seriesToDisplay:e,hidden:n,onItemClick:o}=t,a=(0,r.Z)(t,I);return n?null:(0,w.jsx)(A,(0,i.Z)({},a,{itemsToDisplay:e,onItemClick:o?(t,n)=>o(t,T(e[n]),n):void 0}))}var j=n(90819);let S=["slots","slotProps"],$=t=>{let{classes:e,direction:n}=t;return(0,s.Z)({root:["root",n],mark:["mark"],label:["label"],series:["series"],itemBackgroun
1d:["itemBackground"]},f,e)};function E(t){var e;let n=(0,l.Z)({props:t,name:"MuiChartsLegend"}),o=(0,i.Z)({direction:"row"},n,{position:(0,i.Z)({horizontal:"middle",vertical:"top"},n.position)}),{slots:s,slotProps:c}=o,h=(0,r.Z)(o,S),f=(0,u.Z)(),p=$((0,i.Z)({},o,{theme:f})),g=(0,x.z)(),m=(0,j.us)(),v=Object.keys(m).flatMap(t=>{let e=d[t];return void 0===e?[]:e(m[t])}),y=null!==(e=null==s?void 0:s.legend)&&void 0!==e?e:P,b=(0,a.Z)({elementType:y,externalSlotProps:null==c?void 0:c.legend,additionalProps:(0,i.Z)({},h,{classes:p,drawingArea:g,series:m,seriesToDisplay:v}),ownerState:{}});return(0,w.jsx)(y,(0,i.Z)({},b))}},86694:function(t,e,n){"use strict";n.d(e,{s:function(){return u}});var r=n(21628),i=n(91551),o=n(90819),a=n(63299),s=n(38895),l=n(73411);function u(t){let{onAxisClick:e}=t,n=(0,a.S)(),u=(0,o.us)(),{axis:c}=r.useContext(i.s),{xAxisIds:d,xAxis:h,yAxisIds:f,yAxis:p}=(0,s.r)();return r.useEffect(()=>{let t=n.current;if(null===t||!e)return()=>{};let r=t=>{var n;t.preventDefault();let r=c.x&&-1!==c.x.index,i=r?d[0]:f[0],o=r?c.x&&c.x.index:c.y&&c.y.index;if(null==o)return;let a={};Object.keys(u).filter(t=>["bar","line"].includes(t)).forEach(t=>{var e;null===(e=u[t])||void 0===e||e.seriesOrder.forEach(e=>{var n,s;let l=u[t].series[e],c=null!==(n=l.xAxisId)&&void 0!==n?n:l.xAxisKey,d=null!==(s=l.yAxisId)&&void 0!==s?s:l.yAxisKey,h=r?c:d;(void 0===h||h===i)&&(a[e]=l.data[o])})});let s=null===(n=(r?h:p)[i].data)||void 0===n?void 0:n[o];e(t,{dataIndex:o,axisValue:s,seriesValues:a})};return t.addEventListener("click",r),()=>{t.removeEventListener("click",r)}},[c.x,c.y,e,u,n,h,d,p,f]),(0,l.jsx)(r.Fragment,{})}},32328:function(t,e,n){"use strict";n.d(e,{I:function(){return g}});var r=n(78511);n(21628);var i=n(96085),o=n(91270),a=n(56300),s=n(73411);let l=["message"],u=(0,o.ZP)("text")(t=>{let{theme:e}=t;return(0,r.Z)({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"})});function c(t){let{message:e}=t,n=(0,i.Z)(t,l),{top:o,left:c,height:d,width:h}=(0,a.z)();return(0,s.jsx)(u,(0,r.Z)({x:c+h/2,y:o+d/2},n,{children:null!=e?e:"Loading data…"}))}var d=n(90819);let h=["message"],f=(0,o.ZP)("text")(t=>{let{theme:e}=t;return(0,r.Z)({},e.typography.body2,{stroke:"none",fill:e.palette.text.primary,shapeRendering:"crispEdges",textAnchor:"middle",dominantBaseline:"middle"})});function p(t){let{message:e}=t,n=(0,i.Z)(t,h),{top:o,left:l,height:u,width:c}=(0,a.z)();return(0,s.jsx)(f,(0,r.Z)({x:l+c/2,y:o+u/2},n,{children:null!=e?e:"No data to display"}))}function g(t){var e,n,i,o,a,l;let u=Object.values((0,d.us)()).every(t=>{if(!t)return!0;let{series:e,seriesOrder:n}=t;return n.every(t=>0===e[t].data.length)});if(t.loading){let o=null!==(i=null===(e=t.slots)||void 0===e?void 0:e.loadingOverlay)&&void 0!==i?i:c;return(0,s.jsx)(o,(0,r.Z)({},null===(n=t.slotProps)||void 0===n?void 0:n.loadingOverlay))}if(u){let e=null!==(l=null===(o=t.slots)||void 0===o?void 0:o.noDataOverlay)&&void 0!==l?l:p;return(0,s.jsx)(e,(0,r.Z)({},null===(a=t.slotProps)||void 0===a?void 0:a.noDataOverlay))}return null}},18999:function(t,e,n){"use strict";n.d(e,{k:function(){return c}});var r=n(78511),i=n(96085),o=n(21628),a=n(66025),s=n(73411);let l=["x","y","style","text","ownerState"],u=["angle","textAnchor","dominantBaseline"];function c(t){let e;let{x:n,y:c,style:d,text:h}=t,f=(0,i.Z)(t,l),p=null!=d?d:{},{angle:g,textAnchor:m,dominantBaseline:v}=p,x=(0,i.Z)(p,u),y=o.useMemo(()=>(0,a.i)({style:x,needsComputation:h.includes("\n"),text:h}),[x,h]);switch(v){case"hanging":e=0;break;case"central":e=-((y.length-1)/2*y[0].height);break;default:e=-((y.length-1)*y[0].height)}let b=[];return g&&b.push("rotate(".concat(g,", ").concat(n,", ").concat(c,")")),(0,s.jsx)("text",(0,r.Z)({},f,{transform:b.length>0?b.join(" "):void 0,x:n,y:c,textAnchor:m,dominantBaseline:v,style:x,children:y.map((t,r)=>(0,s.jsx)("tspan",{x:n,dy:"".concat(0===r?e:y[0].height,"px"),dominantBaseline:v,children:t.text},r))}))}},27601:function(t,e,n){"use strict";let r;n.d(e,{a:function(){return F}});var i=n(78511),o=n(21628),a=n(56956),s=n(91270),l=n(89010),u=n(54213),c=n(3490),d=n(52516),h=n(91551),f=n(63299),p=n(56934),g=n(6607),m=n(43071);function v(t){return(0,m.ZP)("MuiChartsTooltip",t)}let x=(0,n(46051).Z)("MuiChartsTooltip",["root","paper","table","row","cell","mark","markCell","labelCell","valueCell"]),y=(0,s.ZP)("div",{name:"MuiChartsTooltip",slot:"Container",overridesResolver:(t,e)=>e.paper})(({theme:t})=>({boxShadow:t.shadows[1],backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),borderRadius:t.shape.borderRadius})),b=(0,s.ZP)("table",{name:"MuiChartsTooltip",slot:"Table",overridesResolver:(t,e)=>e.table})(({theme:t})=>({borderSpacing:0,"& thead td":{borderBottom:`solid ${(t.vars||t).palette.divider}
1 1px`}})),_=(0,s.ZP)("tr",{name:"MuiChartsTooltip",slot:"Row",overridesResolver:(t,e)=>e.row})(({theme:t})=>({"tr:first-of-type& td":{paddingTop:t.spacing(1)},"tr:last-of-type& td":{paddingBottom:t.spacing(1)}})),w=(0,s.ZP)("td",{name:"MuiChartsTooltip",slot:"Cell",overridesResolver:(t,e)=>e.cell})(({theme:t})=>({verticalAlign:"middle",color:(t.vars||t).palette.text.secondary,[`&.${x.labelCell}`]:{paddingLeft:t.spacing(1)},[`&.${x.valueCell}`]:{paddingLeft:t.spacing(4),color:(t.vars||t).palette.text.primary},"td:first-of-type&":{paddingLeft:t.spacing(2)},"td:last-of-type&":{paddingRight:t.spacing(2)}})),M=(0,s.ZP)("div",{name:"MuiChartsTooltip",slot:"Mark",overridesResolver:(t,e)=>e.mark,shouldForwardProp:t=>(0,g.x9)(t)&&"color"!==t})(({theme:t,color:e})=>({width:t.spacing(1),height:t.spacing(1),borderRadius:"50%",boxShadow:t.shadows[1],background:e,borderColor:(t.vars||t).palette.background.paper,border:`solid ${(t.vars||t).palette.background.paper} ${t.spacing(.25)}`,boxSizing:"content-box"}));var Z=n(58601),k=n(73411);function C(t){var e;let{series:n,itemData:r,sx:o,classes:a,getColor:s}=t;if(void 0===r.dataIndex||!n.data[r.dataIndex])return null;let{displayedLabel:l,color:u}="pie"===n.type?{color:s(r.dataIndex),displayedLabel:(0,Z.i)(n.data[r.dataIndex].label,"tooltip")}:{color:s(r.dataIndex),displayedLabel:(0,Z.i)(n.label,"tooltip")},c="pie"===n.type?(0,i.Z)({},n.data[r.dataIndex],{label:(0,Z.i)(n.data[r.dataIndex].label,"tooltip")}):n.data[r.dataIndex],d=null===(e=n.valueFormatter)||void 0===e?void 0:e.call(n,c,{dataIndex:r.dataIndex});return(0,k.jsx)(y,{sx:o,className:a.paper,children:(0,k.jsx)(b,{className:a.table,children:(0,k.jsx)("tbody",{children:(0,k.jsxs)(_,{className:a.row,children:[(0,k.jsx)(w,{className:(0,p.Z)(a.markCell,a.cell),children:(0,k.jsx)(M,{color:u,className:a.mark})}),(0,k.jsx)(w,{className:(0,p.Z)(a.labelCell,a.cell),children:l}),(0,k.jsx)(w,{className:(0,p.Z)(a.valueCell,a.cell),children:d})]})})})})}var A=n(38895),I=n(82969),T=n(72725);function P(t){let{isInitialized:e,data:n}=o.useContext(T.Z);if(!e)throw Error("MUI X: Could not find the plugin context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return t?n.colorProcessors[t]:n.colorProcessors}var j=n(90819);function S(t){let{content:e,itemData:n,sx:r,classes:a,contentProps:s}=t,l=(0,j.us)()[n.type].series[n.seriesId],{xAxis:u,yAxis:c,xAxisIds:h,yAxisIds:f}=(0,A.r)(),{zAxis:p,zAxisIds:g}=o.useContext(I.W),m=P(),v=l.xAxisId??l.xAxisKey??h[0],x=l.yAxisId??l.yAxisKey??f[0],y=l.zAxisId??l.zAxisKey??g[0],b=m[l.type]?.(l,v&&u[v],x&&c[x],y&&p[y])??(()=>""),_=e??C,w=(0,d.Z)({elementType:_,externalSlotProps:s,additionalProps:{itemData:n,series:l,sx:r,classes:a,getColor:b},ownerState:{}});return(0,k.jsx)(_,(0,i.Z)({},w))}var $=n(92794);class E{constructor(){if(this.types=new Set,r)throw Error("You can only create one instance!");r=this.types}addType(t){this.types.add(t)}getTypes(){return this.types}}let N=new E;function z(t){return N.getTypes().has(t)}function O(t){return z(t.type)}function L(t){var e;let{series:n,axis:r,dataIndex:i,axisValue:o,sx:a,classes:s}=t;if(null==i)return null;let l=null!==(e=r.valueFormatter)&&void 0!==e?e:t=>"utc"===r.scaleType&&t instanceof Date?t.toUTCString():t.toLocaleString();return(0,k.jsx)(y,{sx:a,className:s.paper,children:(0,k.jsxs)(b,{className:s.table,children:[null!=o&&!r.hideTooltip&&(0,k.jsx)("thead",{children:(0,k.jsx)(_,{children:(0,k.jsx)(w,{colSpan:3,children:(0,k.jsx)($.Z,{children:l(o,{location:"tooltip"})})})})}),(0,k.jsx)("tbody",{children:n.filter(O).map(t=>{var e;let{id:n,label:r,valueFormatter:o,data:a,getColor:l}=t,u=o(null!==(e=a[i])&&void 0!==e?e:null,{dataIndex:i});if(null==u)return null;let c=(0,Z.i)(r,"tooltip"),d=l(i);return(0,k.jsxs)(_,{className:s.row,children:[(0,k.jsx)(w,{className:(0,p.Z)(s.markCell,s.cell),children:d&&(0,k.jsx)(M,{color:d,className:s.mark})}),(0,k.jsx)(w,{className:(0,p.Z)(s.labelCell,s.cell),children:c?(0,k.jsx)($.Z,{children:c}):null}),(0,k.jsx)(w,{className:(0,p.Z)(s.valueCell,s.cell),children:(0,k.jsx)($.Z,{children:u})})]},n)})})]})})}function R(t){let{content:e,contentProps:n,axisData:r,sx:a,classes:s}=t,l=r.x&&-1!==r.x.index,u=l?r.x&&r.x.index:r.y&&r.y.index,c=l?r.x&&r.x.value:r.y&&r.y.value,{xAxisIds:h,xAxis:f,yAxisIds:p,yAxis:g}=(0,A.r)(),{zAxisIds:m,zAxis:v}=o.useContext(I.W),x=(0,j.us)(),y=P(),b=l?h[0]:p[0],_=o.useMemo(()=>{let t=[];
1return Object.keys(x).filter(z).forEach(e=>{x[e].seriesOrder.forEach(n=>{let r=x[e].series[n],o=r.xAxisId??r.xAxisKey,a=r.yAxisId??r.yAxisKey,s=l?o:a;if(void 0===s||s===b){let r=x[e].series[n],s=o??h[0],l=a??p[0],u=r.zAxisId??r.zAxisKey??m[0],c=y[e]?.(r,f[s],g[l],u&&v[u])??(()=>"");t.push((0,i.Z)({},r,{getColor:c}))}})}),t},[b,y,l,x,f,h,g,p,v,m]),w=o.useMemo(()=>l?f[b]:g[b],[b,l,f,g]),M=e??L,Z=(0,d.Z)({elementType:M,externalSlotProps:n,additionalProps:{axisData:r,series:_,axis:w,dataIndex:u,axisValue:c,sx:a,classes:s},ownerState:{}});return(0,k.jsx)(M,(0,i.Z)({},Z))}N.addType("bar"),N.addType("line"),N.addType("scatter");let U=t=>{let{classes:e}=t;return(0,a.Z)({root:["root"],paper:["paper"],table:["table"],row:["row"],cell:["cell"],mark:["mark"],markCell:["markCell"],labelCell:["labelCell"],valueCell:["valueCell"]},v,e)},D=(0,s.ZP)(u.Z,{name:"MuiChartsTooltip",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{theme:e}=t;return{pointerEvents:"none",zIndex:e.zIndex.modal}});function F(t){var e,n,r;let a=(0,l.Z)({props:t,name:"MuiChartsTooltip"}),{trigger:s="axis",itemContent:u,axisContent:p,slots:g,slotProps:m}=a,v=function(){let t=(0,f.S)(),[e,n]=o.useState(null);return o.useEffect(()=>{let e=t.current;if(null===e)return()=>{};let r=t=>{"mouse"!==t.pointerType&&n(null)},i=t=>{n({x:t.clientX,y:t.clientY,height:t.height,pointerType:t.pointerType})};return e.addEventListener("pointerdown",i),e.addEventListener("pointermove",i),e.addEventListener("pointerup",r),()=>{e.removeEventListener("pointerdown",i),e.removeEventListener("pointermove",i),e.removeEventListener("pointerup",r)}},[t]),e}(),{item:x,axis:y}=o.useContext(h.s),b="item"===s?x:y,_=function(t,e){if("item"===t)return null!==e;
1let n=null!==e.x,r=null!==e.y;return n||r}(s,b),w=null!==v&&_,M=U({classes:a.classes}),Z=null!==(e=null==g?void 0:g.popper)&&void 0!==e?e:D,C=(0,d.Z)({elementType:Z,externalSlotProps:null==m?void 0:m.popper,additionalProps:{open:w,placement:(null==v?void 0:v.pointerType)==="mouse"?"right-start":"top",anchorEl:function(t){if(null===t)return{getBoundingClientRect:()=>({width:0,height:0,x:0,y:0,top:0,right:0,bottom:0,left:0,toJSON:()=>""})};let{x:e,y:n}=t,r={width:0,height:0,x:e,y:n,top:n,right:e,bottom:n,left:e};return{getBoundingClientRect:()=>(0,i.Z)({},r,{toJSON:()=>JSON.stringify(r)})}}(v),modifiers:[{name:"offset",options:{offset:[0,(null==v?void 0:v.pointerType)==="touch"?40-v.height:0]}}]},ownerState:{}});return"none"===s?null:(0,k.jsx)(c.Z,{children:w&&(0,k.jsx)(Z,(0,i.Z)({},C,{className:M.root,children:"item"===s?(0,k.jsx)(S,{itemData:b,content:null!==(n=null==g?void 0:g.itemContent)&&void 0!==n?n:u,contentProps:null==m?void 0:m.itemContent,sx:{mx:2},classes:M}):(0,k.jsx)(R,{axisData:b,content:null!==(r=null==g?void 0:g.axisContent)&&void 0!==r?r:p,contentProps:null==m?void 0:m.axisContent,sx:{mx:2},classes:M})}))})}},2261:function(t,e,n){"use strict";n.d(e,{w:function(){return el}});var r=n(78511),i=n(21628),o=n(89010),a=n(96085),s=n(64470),l=n(92202);function u(t){this._context=t}function c(t){return new u(t)}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};let d=Math.PI,h=2*d,f=h-1e-6;function p(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class g{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?p:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return p;let n=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,r){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(t,e,n,r,i,o){this._append`C${+t},${+e},${+n},${+r},${this._x1=+i},${this._y1=+o}`}arcTo(t,e,n,r,i){if(t=+t,e=+e,n=+n,r=+r,(i=+i)<0)throw Error(`negative radius: ${i}`);let o=this._x1,a=this._y1,s=n-t,l=r-e,u=o-t,c=a-e,h=u*u+c*c;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>1e-6){if(Math.abs(c*s-l*u)>1e-6&&i){let f=n-o,p=r-a,g=s*s+l*l,m=Math.sqrt(g),v=Math.sqrt(h),x=i*Math.tan((d-Math.acos((g+h-(f*f+p*p))/(2*m*v)))/2),y=x/v,b=x/m;Math.abs(y-1)>1e-6&&this._append`L${t+y*u},${e+y*c}`,this._append`A${i},${i},0,0,${+(c*f>u*p)},${this._x1=t+b*s},${this._y1=e+b*l}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,n,r,i,o){if(t=+t,e=+e,o=!!o,(n=+n)<0)throw Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=t+a,u=e+s,c=1^o,p=o?r-i:i-r;null===this._x1?this._append`M${l},${u}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-u)>1e-6)&&this._append`L${l},${u}`,n&&(p<0&&(p=p%h+h),p>f?this._append`A${n},${n},0,1,${c},${t-a},${e-s}A${n},${n},0,1,${c},${this._x1=l},${this._y1=u}`:p>1e-6&&this._append`A${n},${n},0,${+(p>=d)},${c},${this._x1=t+n*Math.cos(i)},${this._y1=e+n*Math.sin(i)}`)}rect(t,e,n,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function m(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{let t=Math.floor(n);if(!(t>=0))throw RangeError(`invalid digits: ${n}`);e=t}return t},()=>new g(e)}function v(t){return t[0]}function x(t){return t[1]}function y(t,e){var n=(0,l.Z)(!0),r=null,i=c,o=null,a=m(u);function u(l){var u,c,d,h=(l=(0,s.Z)(l)).length,f=!1;for(null==r&&(o=i(d=a())),u=0;u<=h;++u)!(u<h&&n(c=l[u],u,l))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(c,u,l),+e(c,u,l));if(d)return o=null,d+""||null}return t="function"==typeof t?t:void 0===t?v:(0,l.Z)(t),e="function"==typeof e?e:void 0===e?x:(0,l.Z)(e),u.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,l.Z)(+e),u):t},u.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,l.Z)(+t),u):e},u.defined=function(t){return arguments.length?(n="function"==typeof t?t:(0,l.Z)(!!t),u):n}
1,u.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),u):i},u.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),u):r},u}g.prototype;var b=n(38895),_=n(56956),w=n(52516),M=n(43071),Z=n(46051),k=n(54605),C=n(91270),A=n(1887),I=n(79795),T=n(82957);let P=t=>{let e=function(t){let e=i.useRef({currentPath:t,previousPath:void 0});return e.current.currentPath!==t&&(e.current={currentPath:t,previousPath:e.current.currentPath}),e.current}(t);return i.useMemo(()=>e.previousPath?(0,T.Z)(e.previousPath,e.currentPath):()=>e.currentPath,[e.currentPath,e.previousPath])};function j(t){return t.replace(" ","_")}var S=n(56300),$=n(8750),E=n(73411);function N(t){let e=(0,S.z)(),n=(0,$.u)(),r=(0,A.Yz)([e],{from:t=>({animatedWidth:t.left}),enter:t=>({animatedWidth:t.width+t.left+t.right}),leave:t=>({animatedWidth:t.width+t.left+t.right}),reset:!1,immediate:t.skipAnimation}),o=j("".concat(n,"-").concat(t.id));return(0,E.jsxs)(i.Fragment,{children:[(0,E.jsx)("clipPath",{id:o,children:r(t=>(0,E.jsx)(A.q.rect,{x:0,y:0,width:t.animatedWidth,height:e.top+e.height+e.bottom}))}),(0,E.jsx)("g",{clipPath:"url(#".concat(o,")"),children:t.children})]})}let z=["d","skipAnimation","ownerState"],O=(0,C.ZP)(A.q.path,{name:"MuiAreaElement",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{ownerState:e}=t;return{stroke:"none",fill:e.gradientId&&"url(#".concat(e.gradientId,")")||e.isHighlighted&&(0,I.ZP)(e.color).brighter(1).formatHex()||(0,I.ZP)(e.color).brighter(.5).formatHex(),transition:"opacity 0.2s ease-in, fill 0.2s ease-in",opacity:e.isFaded?.3:1}});function L(t){let{d:e,skipAnimation:n,ownerState:i}=t,o=(0,a.Z)(t,z),s=P(e),l=(0,A.Yz)([s],{from:{value:0},to:{value:1},enter:{value:1},reset:!1,immediate:n});return(0,E.jsx)(N,{skipAnimation:n,id:"".concat(i.id,"-area-clip"),children:l((t,e)=>(0,E.jsx)(O,(0,r.Z)({},o,{ownerState:i,d:t.value.to(e)})))})}var R=n(77984);let U=["id","classes","color","gradientId","slots","slotProps","onClick"];function D(t){return(0,M.ZP)("MuiAreaElement",t)}(0,Z.Z)("MuiAreaElement",["root","highlighted","faded"]);let F=t=>{let{classes:e,id:n,isFaded:r,isHighlighted:i}=t;return(0,_.Z)({root:["root","series-".concat(n),i&&"highlighted",r&&"faded"]},D,e)};function H(t){var e;let{id:n,classes:i,color:o,gradientId:s,slots:l,slotProps:u,onClick:c}=t,d=(0,a.Z)(t,U),h=(0,k.J)(),{isFaded:f,isHighlighted:p}=(0,R.q)({seriesId:n}),g={id:n,classes:i,color:o,gradientId:s,isFaded:f,isHighlighted:p},m=F(g),v=null!==(e=null==l?void 0:l.area)&&void 0!==e?e:L,x=(0,w.Z)({elementType:v,externalSlotProps:null==u?void 0:u.area,additionalProps:(0,r.Z)({},h({type:"line",seriesId:n}),{onClick:c,cursor:c?"pointer":"unset"}),className:m.root,ownerState:g});return(0,E.jsx)(v,(0,r.Z)({},d,x))}var V=n(7840),Y=n(82166);function q(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function B(t,e){this._context=t,this._k=(1-e)/6}function G(t,e){this._context=t,this._alpha=e}B.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:q(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:q(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},function t(e){function n(t){return new B(t,e)}return n.tension=function(e){return t(+e)},n}(0),G.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:!function(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>Y.Ho){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>Y.Ho){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*u+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*u+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var X=function t(e){function n(t){return e?new G(t,e):new B(t,0)}
1return n.alpha=function(e){return t(+e)},n}(.5);function W(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0);return((o<0?-1:1)+(a<0?-1:1))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs((o*i+a*r)/(r+i)))||0}function K(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Q(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function J(t){this._context=t}function tt(t){this._context=new te(t)}function te(t){this._context=t}function tn(t){return new J(t)}function tr(t){return new tt(t)}function ti(t){this._context=t}function to(t){var e,n,r=t.length-1,i=Array(r),o=Array(r),a=Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(e=0,o[r-1]=(t[r]+i[r-1])/2;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function ta(t){return new ti(t)}function ts(t,e){this._context=t,this._t=e}function tl(t){return new ts(t,.5)}function tu(t){return new ts(t,0)}function tc(t){return new ts(t,1)}function td(t){switch(t){case"catmullRom":return X.alpha(.5);case"linear":return c;case"monotoneX":default:return tn;case"monotoneY":return tr;case"natural":return ta;case"step":return tl;case"stepBefore":return tu;case"stepAfter":return tc}}J.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Q(this,this._t0,K(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Q(this,K(this,n=W(this,t,e)),n);break;default:Q(this,this._t0,n=W(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(tt.prototype=Object.create(J.prototype)).point=function(t,e){J.prototype.point.call(this,e,t)},te.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},ti.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n){if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=to(t),i=to(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a])}(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},ts.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var th=n(85303),tf=n(90819),tp=n(3423);let tg=["slots","slotProps","onItemClick","skipAnimation"],tm=()=>{let t=(0,tf.dg)(),e=(0,b.r)();return i.useMemo(()=>{if(void 0===t)return[];let{series:n,stackingGroups:i}=t,{xAxis:o,yAxis:a,xAxisIds:u,yAxisIds:d}=e,h=u[0],f=d[0];return i.flatMap(t=>{let{ids:e}=t;return[...e].reverse().map(t=>{var e;let{xAxisId:i,yAxisId:u,xAxisKey:d=h,yAxisKey:p=f,stackedData:g,data:b,connectNulls:_,baseline:w}=n[t],M=null!=i?i:d,Z=null!=u?u:p,k=(0,V.H5)(o[M].scale),C=a[Z].scale,A=o[M].data,I=a[Z].colorScale&&[Z,"y"]||o[M].colorScale&&[M,"x"]||void 0,T=(function(t,e,n){var r=null,i=(0,l.Z)(!0),o=null,a=c,u=null,d=m(h);function h(l){var c,h,f,p,g,m=(l=(0,s.Z)(l)).length,v=!1,x=Array(m),y=Array(m);for(null==o&&(u=a(g=d())),c=0;c<=m;++c){if(!(c<m&&i(p=l[c],c,l))===v){if(v=!v)h=c,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),f=c-1;f>=h;--f)u.point(x[f],y[f]);u.lineEnd(),u.areaEnd()}}v&&(x[c]=+t(p,c,l),y[c]=+e(p,c,l),u.point(r?+r(p,c,l):x[c],n?+n(p,c,l):y[c]))}if(g)return u=null,g+""||null}function f(){return y().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?v:(0,l.Z)(+t),e="function"==typeof e?e:void 0===e?(0,l.Z)(0):(0,l.Z)(+e),n="function"==typeof n?n:void 0===n?x:(0,l.Z)(+n),h.x=function(e){return arguments.length?(t="function"==typeof e?e:(0,l.Z)(+e),r=null,h):t},h.x0=function(e){return arguments.length?(t="function"==typeof e?e:(0,l.Z)(+e),h):t},h.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:(0,l.Z)(+t),h):r},h.y=function(t){return arguments.length?(e="function"==typeof t?t:(0,l.Z)(+t),n=null,h):e},h.y0=function(t){return arguments.length?(e="function"==typeof t?t:(0,l.Z)(+t),h):e},h.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,l.Z)(+t),h):n},h.lineX0=h.lineY0=function(){return f().x(t).y(e)},h.lineY1=function(){return f().x(t).y(n)},h.lineX1=function(){return f().x(r).y(e)},h.defined=function(t){return arguments.length?(i="function"==typeof t?t:(0,l.Z)(!!t),h):i},h.curve=function(t){return arguments.length?(a=t,null!=o&&(u=a(o)),h):a},h.context=function(t){return arguments.length?(null==t?o=u=null:u=a(o=t),h):o},h})().x(t=>k(t.x)).defined((t,e)=>_||null!=b[e]).y0(t=>{if("number"==typeof w)return C(w);if("max"===w)return C.range()[1];if("min"===w)return C.range()[0];let e=t.y&&C(t.y[0]);return Number.isNaN(e)?C.range()[0]:e}).y1(t=>t.y&&C(t.y[1])),P=td(n[t].curve),j=null!==(e=null==A?void 0:A.map((t,e)=>({x:t,y:g[e]})))&&void 0!==e?e:[],S=_?j.filter((t,e)=>null!=b[e]):j,$=T.curve(P)(S)||"";return(0,r.Z)({},n[t],{gradientUsed:I,d:$,seriesId:t})})})},[t,e])};function tv(t){let{slots:e,slotProps:n,onItemClick:i,skipAnimation:o}=t,s=(0,a.Z)(t,tg),l=(0,tp.r)(o),u=(0,th.Y)(),c=tm();return(0,E.jsx)("g",(0,r.Z)({},s,{children:c.map(t=>{let{d:r,seriesId:o,color:a,area:s,gradientUsed:c}=t;return!!s&&(0,E.jsx)(H,{id:o,d:r,color:a,gradientId:c&&u(...c),slots:e,slotProps:n,onClick:i&&(t=>i(t,{type:"line",seriesId:o})),skipAnimation:l},o)})}))}let tx=["d","skipAnimation","ownerState"],ty=(0,C.ZP)(A.q.path,{name:"MuiLineElement",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{ownerState:e}=t;return{strokeWidth:2,strokeLinejoin:"round",fill:"none",stroke:e.gradientId&&"url(#".concat(e.gradientId,")")||e.isHighlighted&&(0,I.ZP)(e.color).brighter(.5).formatHex()||e.color,transition:"opacity 0.2s ease-in, stroke 0.2s ease-in",opacity:e.isFaded?.3:1}});function tb(t){let{d:e,skipAnimation:n,ownerState:i}=t,o=(0,a.Z)(t,tx),s=P(e),l=(0,A.Yz)([s],{from:{value:0},to:{value:1},enter:{value:1},reset:!1,immediate:n});return(0,E.jsx)(N,{skipAnimation:n,id:"".concat(i.id,"-line-clip"),children:l((t,e)=>(0,E.jsx)(ty,(0,r.Z)({},o,{ownerState:i,d:t.value.to(e)})))})}let t_=["id","classes","color","gradientId","slots","slotProps","onClick"];function tw(t){return(0,M.ZP)("MuiLineElement",t)}(0,Z.Z)("MuiLineElement",["root","highlighted","faded"]);let tM=t=>{let{classes:e,id:n,isFaded:r,isHighlighted:i}=t;return(0,_.Z)({root:["root","series-".concat(n),i&&"highlighted",r&&"faded"]},tw,e)};function tZ(t){var e;let{id:n,classes:i,color:o,gradientId:s,slots:l,slotProps:u,onClick:c}=t,d=(0,a.Z)(t,t_),h=(0,k.J)(),{isFaded:f,isHighlighted:p}=(0,R.q)({seriesId:n}),g={id:n,classes:i,color:o,gradientId:s,isFaded:f,isHighlighted:p},m=tM(g),v=null!==(e=null==l?void 0:l.line)&&void 0!==e?e:tb,x=(0,w.Z)({elementType:v,externalSlotProps:null==u?void 0:u.line,additionalProps:(0,r.Z)({},h({type:"line",seriesId:n}),{onClick:c,cursor:c?"pointer":"unset"}),className:m.root,ownerState:g});return(0,E.jsx)(v,(0,r.Z)({},d,x))}
1let tk=["slots","slotProps","skipAnimation","onItemClick"],tC=()=>{let t=(0,tf.dg)(),e=(0,b.r)();return i.useMemo(()=>{if(void 0===t)return[];let{series:n,stackingGroups:i}=t,{xAxis:o,yAxis:a,xAxisIds:s,yAxisIds:l}=e,u=s[0],c=l[0];return i.flatMap(t=>{let{ids:e}=t;return e.flatMap(t=>{var e;let{xAxisId:i,yAxisId:s,xAxisKey:l=u,yAxisKey:d=c,stackedData:h,data:f,connectNulls:p}=n[t],g=null!=i?i:l,m=null!=s?s:d,v=(0,V.H5)(o[g].scale),x=a[m].scale,b=o[g].data,_=a[m].colorScale&&[m,"y"]||o[g].colorScale&&[g,"x"]||void 0,w=y().x(t=>v(t.x)).defined((t,e)=>p||null!=f[e]).y(t=>x(t.y[1])),M=null!==(e=null==b?void 0:b.map((t,e)=>({x:t,y:h[e]})))&&void 0!==e?e:[],Z=p?M.filter((t,e)=>null!=f[e]):M,k=w.curve(td(n[t].curve))(Z)||"";return(0,r.Z)({},n[t],{gradientUsed:_,d:k,seriesId:t})})})},[t,e])};function tA(t){let{slots:e,slotProps:n,skipAnimation:i,onItemClick:o}=t,s=(0,a.Z)(t,tk),l=(0,tp.r)(i),u=(0,th.Y)(),c=tC();return(0,E.jsx)("g",(0,r.Z)({},s,{children:c.map(t=>{let{d:r,seriesId:i,color:a,gradientUsed:s}=t;return(0,E.jsx)(tZ,{id:i,d:r,color:a,gradientId:s&&u(...s),skipAnimation:l,slots:e,slotProps:n,onClick:o&&(t=>o(t,{type:"line",seriesId:i}))},i)})}))}var tI=n(45488),tT=n(36337),tP=n(19121),tj=n(36400),tS=n(91551);function t$(t){return(0,M.ZP)("MuiMarkElement",t)}(0,Z.Z)("MuiMarkElement",["root","highlighted","faded"]);let tE=t=>{let{classes:e,id:n,isFaded:r,isHighlighted:i}=t,o={root:["root",`series-${n}`,i&&"highlighted",r&&"faded"]};return(0,_.Z)(o,t$,e)},tN=["x","y","id","classes","color","dataIndex","onClick","skipAnimation","shape"];function tz(t){var e;let{x:n,y:o,id:s,classes:l,color:u,dataIndex:c,onClick:d,skipAnimation:h,shape:f}=t,p=(0,a.Z)(t,tN);"circle"!==f&&(0,tj.O)(['MUI X: The mark element of your line chart have shape "'.concat(f,'" which is not supported when using `experimentalRendering=true`.'),'Only "circle" are supported with `experimentalRendering`.'].join("\n"),"error");let g=(0,tP.Z)(),m=(0,k.J)(),{isFaded:v,isHighlighted:x}=(0,R.q)({seriesId:s}),{axis:y}=i.useContext(tS.s),b=(0,A.q_)({to:{x:n,y:o},immediate:h}),_=tE({id:s,classes:l,isHighlighted:(null===(e=y.x)||void 0===e?void 0:e.index)===c||x,isFaded:v,color:u});return(0,E.jsx)(A.q.circle,(0,r.Z)({},p,{cx:b.x,cy:b.y,r:5,fill:(g.vars||g).palette.background.paper,stroke:u,strokeWidth:2,className:_.root,onClick:d,cursor:d?"pointer":"unset"},m({type:"line",seriesId:s,dataIndex:c})))}var tO=n(54658);(0,Y._b)(3);var tL={draw(t,e){let n=(0,Y._b)(e/Y.pi);t.moveTo(n,0),t.arc(0,0,n,0,Y.BZ)}};let tR=(0,Y._b)(1/3),tU=2*tR,tD=(0,Y.O$)(Y.pi/10)/(0,Y.O$)(7*Y.pi/10),tF=(0,Y.O$)(Y.BZ/10)*tD,tH=-(0,Y.mC)(Y.BZ/10)*tD,tV=(0,Y._b)(3);(0,Y._b)(3);let tY=(0,Y._b)(3)/2,tq=1/(0,Y._b)(12),tB=(tq/2+1)*3,tG=[tL,{draw(t,e){let n=(0,Y._b)(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},{draw(t,e){let n=(0,Y._b)(e/tU),r=n*tR;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},{draw(t,e){let n=(0,Y._b)(e),r=-n/2;t.rect(r,r,n,n)}},{draw(t,e){let n=(0,Y._b)(.8908130915292852*e),r=tF*n,i=tH*n;t.moveTo(0,-n),t.lineTo(r,i);for(let e=1;e<5;++e){let o=Y.BZ*e/5,a=(0,Y.mC)(o),s=(0,Y.O$)(o);t.lineTo(s*n,-a*n),t.lineTo(a*r-s*i,s*r+a*i)}t.closePath()}},{draw(t,e){let n=-(0,Y._b)(e/(3*tV));t.moveTo(0,2*n),t.lineTo(-tV*n,-n),t.lineTo(tV*n,-n),t.closePath()}},{draw(t,e){let n=(0,Y._b)(e/tB),r=n/2,i=n*tq,o=n*tq+n,a=-r;t.moveTo(r,i),t.lineTo(r,o),t.lineTo(a,o),t.lineTo(-.5*r-tY*i,tY*r+-.5*i),t.lineTo(-.5*r-tY*o,tY*r+-.5*o),t.lineTo(-.5*a-tY*o,tY*a+-.5*o),t.lineTo(-.5*r+tY*i,-.5*i-tY*r),t.lineTo(-.5*r+tY*o,-.5*o-tY*r),t.lineTo(-.5*a+tY*o,-.5*o-tY*a),t.closePath()}}],tX=["x","y","id","classes","color","shape","dataIndex","onClick","skipAnimation"],tW=(0,C.ZP)(A.q.path,{name:"MuiMarkElement",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{ownerState:e,theme:n}=t;return{fill:(n.vars||n).palette.background.paper,stroke:e.color,strokeWidth:2}});function tK(t){var e;let{x:n,y:o,id:s,classes:u,color:c,shape:d,dataIndex:h,onClick:f,skipAnimation:p}=t,g=(0,a.Z)(t,tX),v=(0,k.J)(),{isFaded:x,isHighlighted:y}=(0,R.q)({seriesId:s}),{axis:b}=i.useContext(tS.s),_=(0,A.q_)({to:{x:n,y:o},immediate:p}),w={id:s,classes:u,isHighlighted:(null===(e=b.x)||void 0===e?void 0:e.index)===h||y,isFaded:x,color:c},M=tE(w);return(0,E.jsx)(tW,(0,r.Z)({},g,{style:{transform:(0,A.to)([_.x,_.y],(t,e)=>"translate(".concat(t,"px, ").concat(e,"px)")),transformOrigin:(0,A.to)([_.x,_.y],(t,e)=>"".concat(t,"px ").concat(e,"px"))},ownerState:w,className:M.root,d:(function(t,e){let n=null,r=m(i);function i(){let i;if(n||(n=i=r()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),i)return n=null,i+""||null}
1return t="function"==typeof t?t:(0,l.Z)(t||tL),e="function"==typeof e?e:(0,l.Z)(void 0===e?64:+e),i.type=function(e){return arguments.length?(t="function"==typeof e?e:(0,l.Z)(e),i):t},i.size=function(t){return arguments.length?(e="function"==typeof t?t:(0,l.Z)(+t),i):e},i.context=function(t){return arguments.length?(n=null==t?null:t,i):n},i})(tG["circle cross diamond square star triangle wye".split(/ /).indexOf(d)||0])(),onClick:f,cursor:f?"pointer":"unset"},v({type:"line",seriesId:s,dataIndex:h})))}let tQ=["slots","slotProps","skipAnimation","onItemClick","experimentalRendering"];function tJ(t){var e;let{slots:n,slotProps:i,skipAnimation:o,onItemClick:s,experimentalRendering:l}=t,u=(0,a.Z)(t,tQ),c=(0,tp.r)(o),d=(0,tf.dg)(),h=(0,b.r)(),f=(0,$.u)(),p=(0,S.z)(),g=null!==(e=null==n?void 0:n.mark)&&void 0!==e?e:l?tz:tK;if(void 0===d)return null;let{series:m,stackingGroups:v}=d,{xAxis:x,yAxis:y,xAxisIds:_,yAxisIds:w}=h,M=_[0],Z=w[0];return(0,E.jsx)("g",(0,r.Z)({},u,{children:v.flatMap(t=>{let{ids:e}=t;return e.map(t=>{let{xAxisId:e,yAxisId:n,xAxisKey:o=M,yAxisKey:a=Z,stackedData:l,data:u,showMark:d=!0}=m[t];if(!1===d)return null;let h=null!=e?e:o,v=null!=n?n:a,b=(0,V.H5)(x[h].scale),_=y[v].scale,w=x[h].data;if(void 0===w)throw Error("MUI X: ".concat(h===tT.nk?"The first `xAxis`":'The x-axis with id "'.concat(h,'"')," should have data property to be able to display a line plot."));let k=j("".concat(f,"-").concat(t,"-line-clip")),C=(0,tO.Z)(m[t],x[h],y[v]);return(0,E.jsx)("g",{clipPath:"url(#".concat(k,")"),children:null==w?void 0:w.map((t,e)=>{let n=null==u[e]?null:l[e][1];return{x:b(t),y:null===n?null:_(n),position:t,value:n,index:e}}).filter(t=>{let{x:e,y:n,index:r,position:i,value:o}=t;return!!(null!==o&&null!==n&&p.isPointInside({x:e,y:n}))&&(!0===d||d({x:e,y:n,index:r,position:i,value:o}))}).map(e=>{let{x:n,y:o,index:a}=e;return(0,E.jsx)(g,(0,r.Z)({id:t,dataIndex:a,shape:"circle",color:C(a),x:n,y:o,skipAnimation:c,onClick:s&&(e=>s(e,{type:"line",seriesId:t,dataIndex:a}))},null==i?void 0:i.mark),"".concat(t,"-").concat(a))})},t)})})}))}var t0=n(22567),t1=n(27601),t2=n(57926),t5=n(40827),t3=n(35373);let t6=["x","y","id","classes","color"];function t7(t){return(0,M.ZP)("MuiHighlightElement",t)}(0,Z.Z)("MuiHighlightElement",["root"]);let t4=t=>{let{classes:e,id:n}=t;return(0,_.Z)({root:["root","series-".concat(n)]},t7,e)},t8=(0,C.ZP)("circle",{name:"MuiHighlightElement",slot:"Root",overridesResolver:(t,e)=>e.root})(t=>{let{ownerState:e}=t;return{transform:"translate(".concat(e.x,"px, ").concat(e.y,"px)"),transformOrigin:"".concat(e.x,"px ").concat(e.y,"px"),fill:e.color}});function t9(t){let{x:e,y:n,id:i,classes:o,color:s}=t,l=(0,a.Z)(t,t6),u={id:i,classes:o,color:s,x:e,y:n},c=t4(u);return(0,E.jsx)(t8,(0,r.Z)({pointerEvents:"none",ownerState:u,className:c.root,cx:0,cy:0,r:void 0===l.r?5:l.r},l))}let et=["slots","slotProps"];function ee(t){var e,n;let{slots:o,slotProps:s}=t,l=(0,a.Z)(t,et),u=(0,tf.dg)(),c=(0,b.r)(),d=(0,S.z)(),{axis:h}=i.useContext(tS.s),f=null===(e=h.x)||void 0===e?void 0:e.index;if(void 0===f||void 0===u)return null;let{series:p,stackingGroups:g}=u,{xAxis:m,yAxis:v,xAxisIds:x,yAxisIds:y}=c,_=x[0],w=y[0],M=null!==(n=null==o?void 0:o.lineHighlight)&&void 0!==n?n:t9;return(0,E.jsx)("g",(0,r.Z)({},l,{children:g.flatMap(t=>{let{ids:e}=t;return e.flatMap(t=>{let{xAxisId:e,yAxisId:n,xAxisKey:i=_,yAxisKey:o=w,stackedData:a,data:l,disableHighlight:u}=p[t],c=null!=e?e:i,h=null!=n?n:o;if(u||null==l[f])return null;let g=(0,V.H5)(m[c].scale),x=v[h].scale,y=m[c].data;if(void 0===y)throw Error("MUI X: ".concat(c===tT.nk?"The first `xAxis`":'The x-axis with id "'.concat(c,'"')," should have data property to be able to display a line plot."));let b=g(y[f]),Z=x(a[f][1]);if(!d.isPointInside({x:b,y:Z}))return null;let k=(0,tO.Z)(p[t],m[c],v[h]);return(0,E.jsx)(M,(0,r.Z)({id:t,color:k(f),x:b,y:Z},null==s?void 0:s.lineHighlight),"".concat(t))})})}))}var en=n(70499),er=n(86694),ei=n(32328),eo=n(68618);let ea=["xAxis","yAxis","series","width","height","margin","colors","dataset","sx","tooltip","onAxisClick","onAreaClick","onLineClick","onMarkClick","axisHighlight","disableLineItemHighlight","legend","grid","topAxis","leftAxis","rightAxis","bottomAxis","children","slots","slotProps","
1skipAnimation","loading","highlightedItem","onHighlightChange","className","experimentalMarkRendering"],es=t=>{let{xAxis:e,yAxis:n,series:i,width:o,height:s,margin:l,colors:u,dataset:c,sx:d,tooltip:h,onAxisClick:f,onAreaClick:p,onLineClick:g,onMarkClick:m,axisHighlight:v,disableLineItemHighlight:x,legend:y,grid:b,topAxis:_,leftAxis:w,rightAxis:M,bottomAxis:Z,children:k,slots:C,slotProps:A,skipAnimation:I,loading:T,highlightedItem:P,onHighlightChange:j,className:S,experimentalMarkRendering:$}=t,E=(0,a.Z)(t,ea),N=(0,eo.Z)(),z="".concat(N,"-clip-path"),O=(0,r.Z)({},E,{series:i.map(t=>(0,r.Z)({disableHighlight:!!x,type:"line"},t)),width:o,height:s,margin:l,colors:u,dataset:c,xAxis:null!=e?e:[{id:tT.nk,scaleType:"point",data:Array.from({length:Math.max(...i.map(t=>{var e,n;return(null!==(n=null!==(e=t.data)&&void 0!==e?e:c)&&void 0!==n?n:[]).length}))},(t,e)=>e)}],yAxis:n,sx:d,highlightedItem:P,onHighlightChange:j,disableAxisListener:(null==h?void 0:h.trigger)!=="axis"&&(null==v?void 0:v.x)==="none"&&(null==v?void 0:v.y)==="none"&&!f,className:S,skipAnimation:I}),L={vertical:null==b?void 0:b.vertical,horizontal:null==b?void 0:b.horizontal},R=(0,r.Z)({x:"line"},v),U=(0,r.Z)({},y,{slots:C,slotProps:A}),D=(0,r.Z)({},h,{slots:C,slotProps:A});return{chartContainerProps:O,axisClickHandlerProps:{onAxisClick:f},gridProps:L,clipPathProps:{id:z},clipPathGroupProps:{clipPath:"url(#".concat(z,")")},areaPlotProps:{slots:C,slotProps:A,onItemClick:p},linePlotProps:{slots:C,slotProps:A,onItemClick:g},markPlotProps:{slots:C,slotProps:A,onItemClick:m,skipAnimation:I,experimentalRendering:$},overlayProps:{slots:C,slotProps:A,loading:T},chartsAxisProps:{topAxis:_,leftAxis:w,rightAxis:M,bottomAxis:Z,slots:C,slotProps:A},axisHighlightProps:R,lineHighlightPlotProps:{slots:C,slotProps:A},legendProps:U,tooltipProps:D,children:k}},el=i.forwardRef(function(t,e){let n=(0,o.Z)({props:t,name:"MuiLineChart"}),{chartContainerProps:i,axisClickHandlerProps:a,gridProps:s,clipPathProps:l,clipPathGroupProps:u,areaPlotProps:c,linePlotProps:d,markPlotProps:h,overlayProps:f,chartsAxisProps:p,axisHighlightProps:g,lineHighlightPlotProps:m,legendProps:v,tooltipProps:x,children:y}=es(n);return(0,E.jsxs)(tI.D,(0,r.Z)({ref:e},i,{children:[n.onAxisClick&&(0,E.jsx)(er.s,(0,r.Z)({},a)),(0,E.jsx)(en.q,(0,r.Z)({},s)),(0,E.jsxs)("g",(0,r.Z)({},u,{children:[(0,E.jsx)(tv,(0,r.Z)({},c)),(0,E.jsx)(tA,(0,r.Z)({},d)),(0,E.jsx)(ei.I,(0,r.Z)({},f)),(0,E.jsx)(t5.qe,(0,r.Z)({},g))]})),(0,E.jsx)(t0.q,(0,r.Z)({},p)),(0,E.jsx)("g",{"data-drawing-container":!0,children:(0,E.jsx)(tJ,(0,r.Z)({},h))}),(0,E.jsx)(ee,(0,r.Z)({},m)),(0,E.jsx)(t2.G,(0,r.Z)({},v)),!n.loading&&(0,E.jsx)(t1.a,(0,r.Z)({},x)),(0,E.jsx)(t3.h,(0,r.Z)({},l)),y]}))})},54658:function(t,e){"use strict";e.Z=(t,e,n)=>{let r=n?.colorScale,i=e?.colorScale;return r?e=>{let n=t.data[e],i=null===n?t.color:r(n);return null===i?t.color:i}:i?n=>{let r=e.data?.[n],o=null===r?t.color:i(r);return null===o?t.color:o}:()=>t.color}},45488:function(t,e,n){"use strict";n.d(e,{D:function(){return nW}});var r,i,o,a=n(78511),s=n(21628),l=n(37076),u=n(19121);let c=["#02B2AF","#2E96FF","#B800D8","#60009B","#2731C8","#03008D"],d=["#02B2AF","#72CCFF","#DA00FF","#9001CB","#2E96FF","#3B48E0"],h=t=>"dark"===t?d:c;var f=n(25795);let p=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],g=({series:t,colors:e,seriesFormatters:n,dataset:r})=>{let i={};t.forEach((t,n)=>{let{id:r=`auto-generated-id-${n}`,type:o}=t;if(void 0===i[o]&&(i[o]={series:{},seriesOrder:[]}),i[o]?.series[r]!==void 0)throw Error(`MUI X: series' id "${r}" is not unique.`);i[o].series[r]=(0,a.Z)({id:r},function(t,e,n=p){return"pie"===t.type?(0,a.Z)({},t,{data:t.data.map((t,e)=>(0,a.Z)({color:n[e%n.length]},t))}):(0,a.Z)({color:n[e%n.length]},t)}(t,n,e)),i[o].seriesOrder.push(r)});let o={};return Object.keys(n).forEach(t=>{let e=i[t];void 0!==e&&(o[t]=n[t]?.(e,r)??i[t])}),o};var m=n(72725),v=n(73411);function x(t){let{series:e,dataset:n,colors:r=h,children:i}=t,o=function(t){let{isInitialized:e,data:n}=s.useContext(m.Z);if(!e)throw Error("MUI X: Could not find the plugin context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return n.seriesFormatters}(),a=(0,u.Z)(),l=s.useMemo(()=>({isInitialized:!0,data:g({series:e,colors:"function"==typeof r?r(a.palette.mode):r,seriesFormatters:o,dataset:n})}),[e,r,a.palette.mode,o,n]);return(0,v.jsx)(f.a.Provider,{value:l,children:i})}var y=n(91551),b=n(96085),_=n(91270),w=n(89010),M=n(38895),Z=n(97943),k=n(63299),C=n(56300);function A(t){return t instanceof Date?t.getTime():t}let I=t=>{let e=(0,k.S)(),n=(0,C.z)(),{xAxis:r,yAxis:i,xAxisIds:o,yAxisIds:a}=(0,M.r)(),{dispatch:l}=s.useContext(y.s),u=o[0],c=a[0],d=s.useRef({isInChart:!1,x:-1,y:-1});s.useEffect(()=>{let o=e.current;if(null===o||t)return()=>{};function a(t,e){let{scale:n,data:r,reverse:i}
1=t;if(!(0,Z.o)(n)){let t=n.invert(e);if(void 0===r)return{value:t,index:-1};let i=A(t),o=null==r?void 0:r.findIndex((e,n)=>{let o=A(e);return!!(o>i&&(0===n||Math.abs(i-o)<=Math.abs(i-A(r[n-1])))||o<=i&&(n===r.length-1||Math.abs(A(t)-o)<Math.abs(A(t)-A(r[n+1]))))});return{value:void 0!==o&&o>=0?r[o]:t,index:o}}let o=0===n.bandwidth()?Math.floor((e-Math.min(...n.range())+n.step()/2)/n.step()):Math.floor((e-Math.min(...n.range()))/n.step());if(o<0||o>=r.length)return null;if(i){let t=r.length-1-o;return{index:t,value:r[t]}}return{index:o,value:r[o]}}let s=()=>{d.current={isInChart:!1,x:-1,y:-1},l({type:"exitChart"})},h=t=>{let e=function(t,e){let n=t.createSVGPoint();return n.x=e.clientX,n.y=e.clientY,n.matrixTransform(t.getScreenCTM().inverse())}(o,"targetTouches"in t?t.targetTouches[0]:t);if(d.current.x=e.x,d.current.y=e.y,!n.isPointInside(e,{targetElement:t.target})){d.current.isInChart&&(l({type:"exitChart"}),d.current.isInChart=!1);return}d.current.isInChart=!0,l({type:"updateAxis",data:{x:a(r[u],e.x),y:a(i[c],e.y)}})},f=t=>{let e=t.currentTarget;e&&e.hasPointerCapture(t.pointerId)&&e.releasePointerCapture(t.pointerId)};return o.addEventListener("pointerdown",f),o.addEventListener("pointermove",h),o.addEventListener("pointerout",s),o.addEventListener("pointercancel",s),o.addEventListener("pointerleave",s),()=>{o.removeEventListener("pointerdown",f),o.removeEventListener("pointermove",h),o.removeEventListener("pointerout",s),o.removeEventListener("pointercancel",s),o.removeEventListener("pointerleave",s)}},[e,l,c,i,u,r,t,n])},T=["children","width","height","viewBox","disableAxisListener","className","title","desc"],P=(0,_.ZP)("svg",{name:"MuiChartsSurface",slot:"Root"})(()=>({touchAction:"none"})),j=s.forwardRef(function(t,e){let n=(0,w.Z)({props:t,name:"MuiChartsSurface"}),{children:r,width:i,height:o,viewBox:s,disableAxisListener:l=!1,className:u,title:c,desc:d}=n,h=(0,b.Z)(n,T),f=(0,a.Z)({width:i,height:o,x:0,y:0},s);return I(l),(0,v.jsxs)(P,(0,a.Z)({width:i,height:o,viewBox:"".concat(f.x," ").concat(f.y," ").concat(f.width," ").concat(f.height),ref:e,className:u},h,{children:[(0,v.jsx)("title",{children:c}),(0,v.jsx)("desc",{children:d}),r]}))});var S=n(24172),$=n(55054);let E=new Date,N=new Date;function z(t,e,n,r){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),i.round=t=>{let e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),i.range=(n,r,o)=>{let a;let s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r)||!(o>0))return s;do s.push(a=new Date(+n)),e(n,o),t(n);while(a<n&&n<r);return s},i.filter=n=>z(e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},(t,r)=>{if(t>=t){if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}}),n&&(i.count=(e,r)=>(E.setTime(+e),N.setTime(+r),t(E),t(N),Math.floor(n(E,N))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(r?e=>r(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let O=z(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);O.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?z(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):O:null,O.range;let L=z(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());L.range;let R=z(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());R.range;let U=z(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());U.range;let D=z(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());D.range;let F=z(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());F.range;let H=z(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);H.range;let V=z(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);V.range;let Y=z(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function q(t){return z(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}Y.range;let B=q(0),G=q(1),X=q(2),W=q(3),K=q(4),Q=q(5),J=q(6);function tt(t){return z(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}B.range,G.range,X.range,W.range,K.range,Q.range,J.range;let te=tt(0),tn=tt(1),tr=tt(2),ti=tt(3),to=tt(4),ta=tt(5),ts=tt(6);te.range,tn.range,tr.range,ti.range,to.range,ta.range,ts.range;let tl=z(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());tl.range;let tu=z(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());tu.range;let tc=z(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());tc.every=t=>isFinite(t=Math.floor(t))&&t>0?z(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)}):null,tc.range;let td=z(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function th(t,e,n,r,i,o){let a=[[L,1,1e3],[L,5,5e3],[L,15,15e3],[L,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,n,r){let i=Math.abs(n-e)/r,o=(0,S.Z)(([,,t])=>t).right(a,i);if(o===a.length)return t.every((0,$.ly)(e/31536e6,n/31536e6,r));if(0===o)return O.every(Math.max((0,$.ly)(e,n,r),1));let[s,l]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return s.every(l)}return[function(t,e,n){let r=e<t;r&&([t,e]=[e,t]);let i=n&&"function"==typeof n.range?n:s(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},s]}td.every=t=>isFinite(t=Math.floor(t))&&t>0?z(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null,td.range;let[tf,tp]=th(td,tu,te,Y,F,U),[tg,tm]=th(tc,tl,B,H,D,R);function tv(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function tx(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ty(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var tb={"-":"",_:" ",0:"0"},t_=/^\s*\d+/,tw=/^%/,tM=/[\\^$*+?|[\]().{}]/g;function tZ(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?Array(n-o+1).join(e)+i:i)}function tk(t){return t.replace(tM,"\\$&")}function tC(t){return RegExp("^(?:"+t.map(tk).join("|")+")","i")}function tA(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function tI(t,e,n){var r=t_.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function tT(t,e,n){var r=t_.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function tP(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function tj(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function tS(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function t$(t,e,n){var r=t_.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function tE(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}
vendor: 5,788 bytes, line 1
1function tN(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function tz(t,e,n){var r=t_.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function tO(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function tL(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function tR(t,e,n){var r=t_.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function tU(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function tD(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function tF(t,e,n){var r=t_.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function tH(t,e,n){var r=t_.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function tV(t,e,n){var r=t_.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function tY(t,e,n){var r=tw.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function tq(t,e,n){var r=t_.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function tB(t,e,n){var r=t_.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function tG(t,e){return tZ(t.getDate(),e,2)}function tX(t,e){return tZ(t.getHours(),e,2)}function tW(t,e){return tZ(t.getHours()%12||12,e,2)}function tK(t,e){return tZ(1+H.count(tc(t),t),e,3)}function tQ(t,e){return tZ(t.getMilliseconds(),e,3)}function tJ(t,e){return tQ(t,e)+"000"}function t0(t,e){return tZ(t.getMonth()+1,e,2)}function t1(t,e){return tZ(t.getMinutes(),e,2)}function t2(t,e){return tZ(t.getSeconds(),e,2)}function t5(t){var e=t.getDay();return 0===e?7:e}function t3(t,e){return tZ(B.count(tc(t)-1,t),e,2)}function t6(t){var e=t.getDay();return e>=4||0===e?K(t):K.ceil(t)}function t7(t,e){return t=t6(t),tZ(K.count(tc(t),t)+(4===tc(t).getDay()),e,2)}function t4(t){return t.getDay()}function t8(t,e){return tZ(G.count(tc(t)-1,t),e,2)}function t9(t,e){return tZ(t.getFullYear()%100,e,2)}function et(t,e){return tZ((t=t6(t)).getFullYear()%100,e,2)}function ee(t,e){return tZ(t.getFullYear()%1e4,e,4)}function en(t,e){var n=t.getDay();return tZ((t=n>=4||0===n?K(t):K.ceil(t)).getFullYear()%1e4,e,4)}function er(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+tZ(e/60|0,"0",2)+tZ(e%60,"0",2)}function ei(t,e){return tZ(t.getUTCDate(),e,2)}function eo(t,e){return tZ(t.getUTCHours(),e,2)}function ea(t,e){return tZ(t.getUTCHours()%12||12,e,2)}function es(t,e){return tZ(1+V.count(td(t),t),e,3)}function el(t,e){return tZ(t.getUTCMilliseconds(),e,3)}function eu(t,e){return el(t,e)+"000"}function ec(t,e){return tZ(t.getUTCMonth()+1,e,2)}function ed(t,e){return tZ(t.getUTCMinutes(),e,2)}function eh(t,e){return tZ(t.getUTCSeconds(),e,2)}function ef(t){var e=t.getUTCDay();return 0===e?7:e}function ep(t,e){return tZ(te.count(td(t)-1,t),e,2)}function eg(t){var e=t.getUTCDay();return e>=4||0===e?to(t):to.ceil(t)}function em(t,e){return t=eg(t),tZ(to.count(td(t),t)+(4===td(t).getUTCDay()),e,2)}function ev(t){return t.getUTCDay()}function ex(t,e){return tZ(tn.count(td(t)-1,t),e,2)}function ey(t,e){return tZ(t.getUTCFullYear()%100,e,2)}function eb(t,e){return tZ((t=eg(t)).getUTCFullYear()%100,e,2)}function e_(t,e){return tZ(t.getUTCFullYear()%1e4,e,4)}function ew(t,e){var n=t.getUTCDay();return tZ((t=n>=4||0===n?to(t):to.ceil(t)).getUTCFullYear()%1e4,e,4)}function eM(){return"+0000"}function eZ(){return"%"}function ek(t){return+t}function eC(t){return Math.floor(+t/1e3)}i=(r=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,u=tC(i),c=tA(i),d=tC(o),h=tA(o),f=tC(a),p=tA(a),g=tC(s),m=tA(s),v=tC(l),x=tA(l),y={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:tG,e:tG,f:tJ,g:et,G:en,H:tX,I:tW,j:tK,L:tQ,m:t0,M:t1,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ek,s:eC,S:t2,u:t5,U:t3,V:t7,w:t4,W:t8,x:null,X:null,y:t9,Y:ee,Z:er,"%":eZ},b={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:ei,e:ei,f:eu,g:eb,G:ew,H:eo,I:ea,j:es,L:el,m:ec,M:ed,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ek,s:eC,S:eh,u:ef,U:ep,V:em,w:ev,W:ex,x:null,X:null,y:ey,Y:e_,Z:eM,"%":eZ},_={a:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=x.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return Z(t,e,n,r)},d:tL,e:tL,f:tV,g:tE,G:t$,H:tU,I:tU,j:tR,L:tH,m:tO,M:tD,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=c.get(r[0].toLowerCase()),n+r[0].length):-1},q:tz,Q:tq,s:tB,S:tF,u:tT,U:tP,V:tj,w:tI,W:tS,x:function(t,e,r){return Z(t,n,e,r)},X:function(t,e,n){return Z(t,r,e,n)},y:tE,Y:t$,Z:tN,"%":tY};function w(t,e){return function(n){var r,i,o,a=[],s=-1,l=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(l,s)),null!=(i=tb[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),l=s+1);return a.push(t.slice(l,s)),a.join("")}}function M(t,e){return function(n){var r,i,o=ty(1900,void 0,1);if(Z(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(!e||"Z"in o||(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){
1if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=tx(ty(o.y,0,1))).getUTCDay())>4||0===i?tn.ceil(r):tn(r),r=V.offset(r,(o.V-1)*7),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=tv(ty(o.y,0,1))).getDay())>4||0===i?G.ceil(r):G(r),r=H.offset(r,(o.V-1)*7),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?tx(ty(o.y,0,1)).getUTCDay():tv(ty(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,tx(o)):tv(o)}}function Z(t,e,n,r){for(var i,o,a=0,s=e.length,l=n.length;a<s;){if(r>=l)return -1;if(37===(i=e.charCodeAt(a++))){if(!(o=_[(i=e.charAt(a++))in tb?e.charAt(a++):i])||(r=o(t,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return y.x=w(n,y),y.X=w(r,y),y.c=w(e,y),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",y);return e.toString=function(){return t},e},parse:function(t){var e=M(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=M(t+="",!0);return e.toString=function(){return t},e}}}({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"]})).format,r.parse,o=r.utcFormat,r.utcParse;var eA=n(56425),eI=n(11061);function eT(t,e){t=t.slice();var n,r=0,i=t.length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function eP(t){return new Date(t)}function ej(t){return t instanceof Date?+t:+new Date(+t)}function eS(t,e,n,r,i,o,a,s,l,u){var c=(0,eA.ZP)(),d=c.invert,h=c.domain,f=u(".%L"),p=u(":%S"),g=u("%I:%M"),m=u("%I %p"),v=u("%a %d"),x=u("%b %d"),y=u("%B"),b=u("%Y");function _(t){return(l(t)<t?f:s(t)<t?p:a(t)<t?g:o(t)<t?m:r(t)<t?i(t)<t?v:x:n(t)<t?y:b)(t)}return c.invert=function(t){return new Date(d(t))},c.domain=function(t){return arguments.length?h(Array.from(t,ej)):h().map(eP)},c.ticks=function(e){var n=h();return t(n[0],n[n.length-1],null==e?10:e)},c.tickFormat=function(t,e){return null==e?_:u(e)},c.nice=function(t){var n=h();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?h(eT(n,t)):c},c.copy=function(){return(0,eA.JG)(c,eS(t,e,n,r,i,o,a,s,l,u))},c}function e$(){return eI.o.apply(eS(tg,tm,tc,tl,B,H,D,R,L,i).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var eE=n(25018);function eN(){var t,e,n=(0,eE.Z)().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,s=!1,l=0,u=0,c=.5;function d(){var n=r().length,d=a<o,h=d?a:o,f=d?o:a;t=(f-h)/Math.max(1,n-l+2*u),s&&(t=Math.floor(t)),h+=(f-h-t*(n-l))*c,e=t*(1-l),s&&(h=Math.round(h),e=Math.round(e));var p=(function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=Array(i);++r<i;)o[r]=t+r*n;return o})(n).map(function(e){return h+t*e});return i(d?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),d()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,d()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,s=!0,d()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(s=!!t,d()):s},n.padding=function(t){return arguments.length?(l=Math.min(1,u=+t),d()):l},n.paddingInner=function(t){return arguments.length?(l=Math.min(1,t),d()):l},n.paddingOuter=function(t){return arguments.length?(u=+t,d()):u},n.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),d()):c},n.copy=function(){return eN(r(),[o,a]).round(s).paddingInner(l).paddingOuter(u).align(c)},eI.o.apply(d(),arguments)}var ez=n(82052),eO=n(1040),eL=n(63837),eR=n(35228),eU=n(75762);function eD(t){return Math.log(t)}function eF(t){return Math.exp(t)}function eH(t){return-Math.log(-t)}function eV(t){return-Math.exp(-t)}function eY(t){return isFinite(t)?+("1e"+t):t<0?0:t}function eq(t){return(e,n)=>-t(-e,n)}var eB=n(67875);function eG(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function eX(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function eW(t){return t<0?-t*t:t*t}function eK(){var t,e,n,r=(e=(t=(0,eA.l4)())(eA.yR,eA.yR),n=1,e.exponent=function(e){return arguments.length?1==(n=+e)?t(eA.yR,eA.yR):.5===n?t(eX,eW):t(eG(n),eG(1/n)):n},(0,eB.Q)(e));return r.copy=function(){return(0,eA.JG)(r,eK()).exponent(r.exponent())},eI.o.apply(r,arguments),r}let eQ=(t,e)=>{let n=t[1]-t[0],r=e[1]-e[0];return[t[0]-e[0]*n/r,t[1]+(100-e[1])*n/r]},eJ=(t,e,n,r,i,o,a)=>{let s=r[e],l=o[e]?.series??{},[u,c]=s?.({series:l,axis:n,axisIndex:i,isDefaultAxis:0===i,getFilters:a})??[1/0,-1/0],[d,h]=t;return[Math.min(u,d),Math.max(c,h)]},e0=(t,e,n,r,i)=>{let o=Object.keys(e).reduce((o,a)=>eJ(o,a,t,e,n,r,i),[1/0,-1/0]);return Number.isNaN(o[0])||Number.isNaN(o[1])?[1/0,-1/0]:o},e1=t=>t?.[0] instanceof Date;function e2(t,e){let n=e$(t.data,e);return(e,{location:r})=>
1"tick"===r?n.tickFormat(t.tickNumber)(e):`${e.toLocaleString()}`}function e5({drawingArea:t,formattedSeries:e,axis:n,extremumGetters:r,axisDirection:i,zoomData:s,zoomOptions:l,getFilters:u}){let c={};return n.forEach((n,d)=>{let h=l?.[n.id],f=s?.find(({axisId:t})=>t===n.id),p=f?[f.start,f.end]:[0,100],g=function(t,e,n){if("rotation"===e){let{startAngle:t=0,endAngle:e=t+360}=n;return n.reverse?[Math.PI*t/180,Math.PI*e/180]:[Math.PI*e/180,Math.PI*t/180]}if("radius"===e){let{minRadius:e=0,maxRadius:r=Math.min(t.width,t.height)/2}=n;return[e,r]}let r="x"===e?[t.left,t.left+t.width]:[t.top+t.height,t.top];return n.reverse?[r[1],r[0]]:r}(t,i,n),[m,v]=e0(n,r,d,e,void 0!==f||h?void 0:u),x=n.data??[];if((0,ez.Q)(n)){let t=n.categoryGapRatio??.2,e=n.barGapRatio??.1,r="y"===i?[g[1],g[0]]:g,o=eQ(r,p);if(c[n.id]=(0,a.Z)({categoryGapRatio:t,barGapRatio:e},n,{data:x,scale:eN(n.data,o).paddingInner(t).paddingOuter(t/2),tickNumber:n.data.length,colorScale:n.colorMap&&("ordinal"===n.colorMap.type?(0,eO.Kc)((0,a.Z)({values:n.data},n.colorMap)):(0,eO.pI)(n.colorMap))}),e1(n.data)){let t=e2(n,r);c[n.id].valueFormatter=n.valueFormatter??t}}if((0,ez.T)(n)){let t="y"===i?[...g].reverse():g,e=eQ(t,p);if(c[n.id]=(0,a.Z)({},n,{data:x,scale:function(){return function t(e){var n=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return t(n())},e}(eN.apply(null,arguments).paddingInner(1))}(n.data,e),tickNumber:n.data.length,colorScale:n.colorMap&&("ordinal"===n.colorMap.type?(0,eO.Kc)((0,a.Z)({values:n.data},n.colorMap)):(0,eO.pI)(n.colorMap))}),e1(n.data)){let e=e2(n,t);c[n.id].valueFormatter=n.valueFormatter??e}}if("band"===n.scaleType||"point"===n.scaleType)return;
1let y=n.scaleType??"linear",b=n.domainLimit??"nice",_=[n.min??m,n.max??v];if("function"==typeof b){let{min:t,max:e}=b(m,v);_[0]=t,_[1]=e}let w=(0,eL.f)((0,a.Z)({},n,{range:g,domain:_})),M=w/((p[1]-p[0])/100),Z=function(t,e,n){switch(t){case"log":return function t(){let e=(function(t){let e,n;let r=t(eD,eF),i=r.domain,o=10;function a(){var a,s;return e=(a=o)===Math.E?Math.log:10===a&&Math.log10||2===a&&Math.log2||(a=Math.log(a),t=>Math.log(t)/a),n=10===(s=o)?eY:s===Math.E?Math.exp:t=>Math.pow(s,t),i()[0]<0?(e=eq(e),n=eq(n),t(eH,eV)):t(eD,eF),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=t=>{let r,a;let s=i(),l=s[0],u=s[s.length-1],c=u<l;c&&([l,u]=[u,l]);let d=e(l),h=e(u),f=null==t?10:+t,p=[];if(!(o%1)&&h-d<f){if(d=Math.floor(d),h=Math.ceil(h),l>0){for(;d<=h;++d)for(r=1;r<o;++r)if(!((a=d<0?r/n(-d):r*n(d))<l)){if(a>u)break;p.push(a)}}else for(;d<=h;++d)for(r=o-1;r>=1;--r)if(!((a=d>0?r/n(-d):r*n(d))<l)){if(a>u)break;p.push(a)}2*p.length<f&&(p=(0,$.ZP)(l,u,f))}else p=(0,$.ZP)(d,h,Math.min(h-d,f)).map(n);return c?p.reverse():p},r.tickFormat=(t,i)=>{if(null==t&&(t=10),null==i&&(i=10===o?"s":","),"function"!=typeof i&&(o%1||null!=(i=(0,eR.Z)(i)).precision||(i.trim=!0),i=(0,eU.WU)(i)),t===1/0)return i;let a=Math.max(1,o*t/r.ticks().length);return t=>{let r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=()=>i(eT(i(),{floor:t=>n(Math.floor(e(t))),ceil:t=>n(Math.ceil(e(t)))})),r})((0,eA.l4)()).domain([1,10]);return e.copy=()=>(0,eA.JG)(e,t()).base(e.base()),eI.o.apply(e,arguments),e}(e,n);case"pow":return eK(e,n);case"sqrt":return function(){return eK.apply(null,arguments).exponent(.5)}(e,n);case"time":return e$(e,n);case"utc":return function(){return eI.o.apply(eS(tf,tp,td,tu,te,V,F,U,L,o).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}(e,n);default:return(0,eB.Z)(e,n)}}(y,_,eQ(g,p)),k="nice"===b?Z.nice(w):Z,[C,A]=k.domain(),I=[n.min??C,n.max??A];c[n.id]=(0,a.Z)({},n,{data:x,scaleType:y,scale:k.domain(I),tickNumber:M,colorScale:n.colorMap&&(0,eO.pI)(n.colorMap)})}),{axis:c,axisIds:n.map(({id:t})=>t)}}var e3=n(90819),e6=n(9779);function e7(t){let{xAxis:e,yAxis:n,children:r}=t,i=(0,e3.us)(),o=(0,C.z)(),a=function(t){let{isInitialized:e,data:n}=s.useContext(m.Z);if(!e)throw Error("MUI X: Could not find the plugin context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return n.xExtremumGetters}(),l=function(t){let{isInitialized:e,data:n}=s.useContext(m.Z);if(!e)throw Error("MUI X: Could not find the plugin context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return n.yExtremumGetters}(),u=s.useMemo(()=>e5({drawingArea:o,formattedSeries:i,axis:e,extremumGetters:a,axisDirection:"x"}),[o,i,e,a]),c=s.useMemo(()=>e5({drawingArea:o,formattedSeries:i,axis:n,extremumGetters:l,axisDirection:"y"}),[o,i,n,l]),d=s.useMemo(()=>({isInitialized:!0,data:{xAxis:u.axis,yAxis:c.axis,xAxisIds:u.axisIds,yAxisIds:c.axisIds}}),[u,c]);return(0,v.jsx)(e6.S.Provider,{value:d,children:r})}var e4=n(85303),e8=n(82969),e9=n(64006),nt=n(93194);let ne=(t,e)=>n=>!!t&&("series"===t.fade?n.seriesId===e?.seriesId&&n.dataIndex!==e?.dataIndex:"global"===t.fade&&(n.seriesId!==e?.seriesId||n.dataIndex!==e?.dataIndex)),nn=(t,e)=>n=>!!t&&("series"===t.highlight?n.seriesId===e?.seriesId:"item"===t.highlight&&n.dataIndex===e?.dataIndex&&n.seriesId===e?.seriesId),nr=["highlighted","faded"],ni=t=>{let e=null!=t?t:{},{highlighted:n,faded:r}=e,i=(0,b.Z)(e,nr);return(0,a.Z)({highlight:n,fade:r},i)};function no(t){var e;let{children:n,highlightedItem:r,onHighlightChange:i}=t,[o,a]=(0,e9.Z)({controlled:r,default:null,name:"HighlightedProvider",state:"highlightedItem"}),l=(0,e3.us)(),u=s.useMemo(()=>{let t=new Map;return Object.keys(l).forEach(e=>{var n;let r=l[e];Object.keys(null!==(n=null==r?void 0:r.series)&&void 0!==n?n:{}).forEach(e=>{let n=null==r?void 0:r.series[e];t.set(e,ni(null==n?void 0:n.highlightScope))})}),t},[l]),c=o&&o.seriesId&&null!==(e=u.get(o.seriesId))&&void 0!==e?e:void 0,d=s.useMemo(()=>({isInitialized:!0,data:{highlightScope:c,highlightedItem:o,setHighlighted:t=>{a(t),null==i||i(t)},clearHighlighted:()=>{a(null),null==i||i(null)},isHighlighted:nn(c,o),isFaded:ne(c,o)}}),[o,c,a,i]);return(0,v.jsx)(nt.t.Provider,{value:d,children:n})}let na=(t,e)=>"x"===e?{x:t,y:null}:{x:null,y:t},ns=t=>{let{axis:e,getFilters:n,isDefaultAxis:r}=t,i=n?.({currentAxisId:e.id,isDefaultAxis:r}
1),o=i?e.data?.filter((t,e)=>i({x:null,y:null},e)):e.data;return[Math.min(...o??[]),Math.max(...o??[])]},nl=t=>e=>{let{series:n,axis:r,getFilters:i,isDefaultAxis:o}=e;return Object.keys(n).filter(t=>{let e=n[t].yAxisId??n[t].yAxisKey;return e===r.id||o&&void 0===e}).reduce((e,a)=>{let{stackedData:s}=n[a],l=i?.({currentAxisId:r.id,isDefaultAxis:o,seriesXAxisId:n[a].xAxisId??n[a].xAxisKey,seriesYAxisId:n[a].yAxisId??n[a].yAxisKey}),[u,c]=s?.reduce((e,n,r)=>!l||l(na(n[0],t),r)&&l(na(n[1],t),r)?[Math.min(...n,e[0]),Math.max(...n,e[1])]:e,[1/0,-1/0])??[1/0,-1/0];return[Math.min(u,e[0]),Math.max(c,e[1])]},[1/0,-1/0])};var nu=n(64470),nc=n(92202);function nd(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function nh(t){for(var e=t.length,n=Array(e);--e>=0;)n[e]=e;return n}function nf(t,e){return t[e]}function np(t){let e=[];return e.key=t,e}function ng(){var t=(0,nc.Z)([]),e=nh,n=nd,r=nf;function i(i){var o,a,s=Array.from(t.apply(this,arguments),np),l=s.length,u=-1;for(let t of i)for(o=0,++u;o<l;++o)(s[o][u]=[0,+r(t,s[o].key,u,i)]).data=t;for(o=0,a=(0,nu.Z)(e(s));o<l;++o)s[a[o]].index=o;return n(s,a),s}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:(0,nc.Z)(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:(0,nc.Z)(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?nh:"function"==typeof t?t:(0,nc.Z)(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?nd:t,i):n},i}function nm(t){var e=t.map(nv);return nh(t).sort(function(t,n){return e[t]-e[n]})}function nv(t){for(var e,n=-1,r=0,i=t.length,o=-1/0;++n<i;)(e=+t[n][1])>o&&(o=e,r=n);return r}function nx(t){var e=t.map(ny);return nh(t).sort(function(t,n){return e[t]-e[n]})}function ny(t){for(var e,n=0,r=-1,i=t.length;++r<i;)(e=+t[r][1])&&(n+=e);return n}let nb={appearance:nm,ascending:nx,descending:function(t){return nx(t).reverse()},insideOut:function(t){var e,n,r=t.length,i=t.map(ny),o=nm(t),a=0,s=0,l=[],u=[];for(e=0;e<r;++e)n=o[e],a<s?(a+=i[n],l.push(n)):(s+=i[n],u.push(n));return u.reverse().concat(l)},none:nh,reverse:function(t){return nh(t).reverse()}},n_={expand:function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}nd(t,e)}},diverging:function(t,e){if((s=t.length)>0)for(var n,r,i,o,a,s,l=0,u=t[e[0]].length;l<u;++l)for(o=a=0,n=0;n<s;++n)(i=(r=t[e[n]][l])[1]-r[0])>0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},none:nd,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;i[r][1]+=i[r][0]=-s/2}nd(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var s=0,l=0,u=0;s<i;++s){for(var c=t[e[s]],d=c[a][1]||0,h=(d-(c[a-1][1]||0))/2,f=0;f<s;++f){var p=t[e[f]];h+=(p[a][1]||0)-(p[a-1][1]||0)}l+=d,u+=h*d}n[a-1][1]+=n[a-1][0]=o,l&&(o-=u/l)}n[a-1][1]+=n[a-1][0]=o,nd(t,e)}}},nw=t=>{let{series:e,seriesOrder:n,defaultStrategy:r}=t,i=[],o={};return n.forEach(t=>{let{stack:n,stackOrder:a,stackOffset:s}=e[t];void 0===n?i.push({ids:[t],stackingOrder:nb.none,stackingOffset:n_.none}):void 0===o[n]?(o[n]=i.length,i.push({ids:[t],stackingOrder:nb[a??r?.stackOrder??"none"],stackingOffset:n_[s??r?.stackOffset??"diverging"]})):(i[o[n]].ids.push(t),void 0!==a&&(i[o[n]].stackingOrder=nb[a]),void 0!==s&&(i[o[n]].stackingOffset=n_[s]))}),i};function nM(t,e){let n={};return Object.keys(t).forEach(r=>{n[r]=(0,a.Z)({},t[r],{valueFormatter:t[r].valueFormatter??e})}),n}let nZ={seriesType:"bar",seriesFormatter:(t,e)=>{let{seriesOrder:n,series:r}=t,i=nw(t),o=e??[];n.forEach(t=>{let n=r[t].data;if(void 0!==n)n.forEach((e,n)=>{o.length<=n?o.push({[t]:e}):o[n][t]=e});else if(void 0===e)throw Error(`MUI X: bar series with id='${t}' has no data.
2Either provide a data property to the series or use the dataset prop.`)});let s={};return i.forEach(t=>{let{ids:n,stackingOffset:i,stackingOrder:l}=t,u=ng().keys(n.map(t=>{let e=r[t].dataKey;return void 0===r[t].data&&void 0!==e?e:t})).value((t,e)=>t[e]??0).order(l).offset(i)(o);
2n.forEach((t,n)=>{let i=r[t].dataKey;s[t]=(0,a.Z)({layout:"vertical"},r[t],{data:i?e.map(t=>{let e=t[i];return"number"!=typeof e?0:e}):r[t].data,stackedData:u[n].map(([t,e])=>[t,e])})})}),{seriesOrder:n,stackingGroups:i,series:nM(s,t=>null==t?"":t.toLocaleString())}},colorProcessor:n(53842).Z,xExtremumGetter:t=>Object.keys(t.series).some(e=>"horizontal"===t.series[e].layout)?nl("x")(t):ns(t),yExtremumGetter:t=>Object.keys(t.series).some(e=>"horizontal"===t.series[e].layout)?ns(t):nl("y")(t)},nk=(t,e)=>[null===e[0]?t[0]:Math.min(t[0],e[0]),null===e[1]?t[1]:Math.max(t[1],e[1])],nC={seriesType:"line",colorProcessor:n(54658).Z,seriesFormatter:(t,e)=>{let{seriesOrder:n,series:r}=t,i=nw((0,a.Z)({},t,{defaultStrategy:{stackOffset:"none"}})),o=e??[];n.forEach(t=>{let e=r[t].data;void 0!==e&&e.forEach((e,n)=>{o.length<=n?o.push({[t]:e}):o[n][t]=e})});let s={};return i.forEach(t=>{let{ids:n,stackingOrder:i,stackingOffset:l}=t,u=ng().keys(n.map(t=>{let e=r[t].dataKey;return void 0===r[t].data&&void 0!==e?e:t})).value((t,e)=>t[e]??0).order(i).offset(l)(o);n.forEach((t,n)=>{let i=r[t].dataKey;s[t]=(0,a.Z)({},r[t],{data:i?e.map(t=>{let e=t[i];return"number"!=typeof e?null:e}):r[t].data,stackedData:u[n].map(([t,e])=>[t,e])})})}),{seriesOrder:n,stackingGroups:i,series:nM(s,t=>null==t?"":t.toLocaleString())}},xExtremumGetter:t=>{let{axis:e}=t;return[Math.min(...e.data??[]),Math.max(...e.data??[])]},yExtremumGetter:t=>{let{series:e,axis:n,isDefaultAxis:r,getFilters:i}=t;return Object.keys(e).filter(t=>{let i=e[t].yAxisId??e[t].yAxisKey;return i===n.id||r&&void 0===i}).reduce((t,o)=>{var a;let{area:s,stackedData:l}=e[o],u=i?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:e[o].xAxisId??e[o].xAxisKey,seriesYAxisId:e[o].yAxisId??e[o].yAxisKey}),[c,d]=(a=void 0!==s&&"log"!==n.scaleType&&"string"!=typeof e[o].baseline?t=>t:t=>[t[1],t[1]],l.reduce((t,e,n)=>{let[r,i]=a(e);return!u||u({y:r,x:null},n)&&u({y:i,x:null},n)?[Math.min(r,i,t[0]),Math.max(r,i,t[1])]:t},[1/0,-1/0]));return[Math.min(c,t[0]),Math.max(d,t[1])]},[1/0,-1/0])}};function nA(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function nI(t){return t}var nT=n(82166),nP=n(58601);let nj=(t="none")=>{if("function"==typeof t)return t;switch(t){case"none":default:return null;case"desc":return(t,e)=>e-t;case"asc":return(t,e)=>t-e}},nS=[nZ,{seriesType:"scatter",seriesFormatter:({series:t,seriesOrder:e},n)=>({series:Object.fromEntries(Object.entries(t).map(([t,e])=>{let r=e?.datasetKeys,i=["x","y","id"].filter(t=>"string"!=typeof r?.[t]);if(e?.datasetKeys&&i.length>0)throw Error(`MUI X: scatter series with id='${t}' has incomplete datasetKeys.
3Properties ${i.map(t=>`"${t}"`).join(", ")} are missing.`);let o=r?n?.map(t=>({x:t[r.x]??null,y:t[r.y]??null,z:r.z&&t[r.z],id:t[r.id]}))??[]:e.data??[];return[t,(0,a.Z)({},e,{data:o,valueFormatter:e.valueFormatter??(t=>`(${t.x}, ${t.y})`)})]})),seriesOrder:e}),colorProcessor:(t,e,n,r)=>{let i=r?.colorScale,o=n?.colorScale,a=e?.colorScale;return i?e=>{if(r?.data?.[e]!==void 0){let t=i(r?.data?.[e]);if(null!==t)return t}let n=t.data[e],o=null===n?t.color:i(n.z);return null===o?t.color:o}:o?e=>{let n=t.data[e],r=null===n?t.color:o(n.y);return null===r?t.color:r}:a?e=>{let n=t.data[e],r=null===n?t.color:a(n.x);return null===r?t.color:r}:()=>t.color},xExtremumGetter:t=>{let{series:e,axis:n,isDefaultAxis:r,getFilters:i}=t;return Object.keys(e).filter(t=>{let i=e[t].xAxisId??e[t].xAxisKey;return i===n.id||void 0===i&&r}).reduce((t,o)=>{let a=i?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:e[o].xAxisId??e[o].xAxisKey,seriesYAxisId:e[o].yAxisId??e[o].yAxisKey}),s=e[o].data?.reduce((t,e,n)=>a&&!a(e,n)?t:nk(t,[e.x,e.x]),[1/0,-1/0]);return nk(t,s??[1/0,-1/0])},[1/0,-1/0])},yExtremumGetter:t=>{let{series:e,axis:n,isDefaultAxis:r,getFilters:i}=t;return Object.keys(e).filter(t=>{let i=e[t].yAxisId??e[t].yAxisKey;return i===n.id||void 0===i&&r}).reduce((t,o)=>{let a=i?.({currentAxisId:n.id,isDefaultAxis:r,seriesXAxisId:e[o].xAxisId??e[o].xAxisKey,seriesYAxisId:e[o].yAxisId??e[o].yAxisKey}),s=e[o].data?.reduce((t,e,n)=>a&&!a(e,n)?t:nk(t,[e.y,e.y]),[1/0,-1/0]);return nk(t,s??[1/0,-1/0])},[1/0,-1/0])}},nC,{seriesType:"pie",colorProcessor:t=>e=>t.data[e].color,seriesFormatter:t=>{let{seriesOrder:e,series:n}=t,r={};return e.forEach(t=>{let e=(function(){var t=nI,e=nA,n=null,r=(0,nc.Z)(0),i=(0,nc.Z)(nT.BZ),o=(0,nc.Z)(0);function a(a){var s,l,u,c,d,h=(a=(0,nu.Z)(a)).length,f=0,p=Array(h),g=Array(h),m=+r.apply(this,arguments),v=Math.min(nT.BZ,Math.max(-nT.BZ,i.apply(this,arguments)-m)),x=Math.min(Math.abs(v)/h,o.apply(this,arguments)),y=x*(v<0?-1:1);for(s=0;s<h;++s)(d=g[p[s]=s]=+t(a[s],s,a))>0&&(f+=d);for(null!=e?p.sort(function(t,n){return e(g[t],g[n])}):null!=n&&p.sort(function(t,e){return n(a[t],a[e])}),s=0,u=f?(v-h*y)/f:0;s<h;++s,m=c)c=m+((d=g[l=p[s]])>0?d*u:0)+y,g[l]={data:a[l],index:s,value:d,startAngle:m,endAngle:c,padAngle:x};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,nc.Z)(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:(0,nc.Z)(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,nc.Z)(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,nc.Z)(+t),a):o},a}
3)().startAngle(2*Math.PI*(n[t].startAngle??0)/360).endAngle(2*Math.PI*(n[t].endAngle??360)/360).padAngle(2*Math.PI*(n[t].paddingAngle??0)/360).sortValues(nj(n[t].sortingValues??"none"))(n[t].data.map(t=>t.value));r[t]=(0,a.Z)({valueFormatter:t=>t.value.toLocaleString()},n[t],{data:n[t].data.map((n,r)=>(0,a.Z)({},n,{id:n.id??`auto-generated-pie-id-${t}-${r}`},e[r])).map((e,r)=>(0,a.Z)({},e,{formattedValue:n[t].valueFormatter?.(a.Z({},e,{label:nP.i(e.label,"arc")}),{dataIndex:r})??e.value.toLocaleString()}))})}),{seriesOrder:e,series:r}}}];function n$(t){let{children:e,plugins:n}=t,r=s.useMemo(()=>({isInitialized:!0,data:function(t){let e=t??nS,n={},r={},i={},o={},a={},s={};for(let t=0;t<e.length;t+=1){let l=e[t],u=l.seriesType;n[u]=l.seriesFormatter,r[u]=l.colorProcessor,l.xExtremumGetter&&(i[u]=l.xExtremumGetter),l.yExtremumGetter&&(o[u]=l.yExtremumGetter),l.rotationExtremumGetter&&(a[u]=l.rotationExtremumGetter),l.radiusExtremumGetter&&(s[u]=l.radiusExtremumGetter)}return{seriesFormatters:n,colorProcessors:r,xExtremumGetters:i,yExtremumGetters:o,rotationExtremumGetters:a,radiusExtremumGetters:s}}(n)}),[n]);return(0,v.jsx)(m.Z.Provider,{value:r,children:e})}var nE=n(90028),nN=n(36337);let nz=(t,e,n)=>{var r;let i="x"===n?nN.nk:nN.Vd;return[...null!==(r=null==t?void 0:t.map((t,e)=>(0,a.Z)({id:"defaultized-".concat(n,"-axis-").concat(e)},t)))&&void 0!==r?r:[],...void 0===t||-1===t.findIndex(t=>{let{id:e}=t;return e===i})?[{id:i,scaleType:"linear"}]:[]].map(t=>{let r=t.dataKey;if(void 0===r||void 0!==t.data)return t;if(void 0===e)throw Error("MUI X: ".concat(n,"-axis uses `dataKey` but no `dataset` is provided."));return(0,a.Z)({},t,{data:e.map(t=>t[r])})})},nO=(t,e,n)=>[s.useMemo(()=>nz(t,n,"x"),[t,n]),s.useMemo(()=>nz(e,n,"y"),[e,n])],nL=["width","height","series","margin","xAxis","yAxis","zAxis","colors","dataset","sx","title","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","children","skipAnimation"],nR=(t,e)=>{let{width:n,height:r,series:i,margin:o,xAxis:l,yAxis:u,zAxis:c,colors:d,dataset:h,sx:f,title:p,desc:g,disableAxisListener:m,highlightedItem:v,onHighlightChange:x,plugins:y,children:_,skipAnimation:w}=t,M=(0,b.Z)(t,nL),Z=s.useRef(null),k=(0,nE.Z)(e,Z),[C,A]=nO(l,u,h),I=(0,a.Z)({},M,{width:n,height:r,ref:k,sx:f,title:p,desc:g,disableAxisListener:m});return{children:_,drawingProviderProps:{width:n,height:r,margin:o,svgRef:Z},seriesProviderProps:{series:i,colors:d,dataset:h},cartesianProviderProps:{xAxis:C,yAxis:A,dataset:h},zAxisContextProps:{zAxis:c,dataset:h},highlightedProviderProps:{highlightedItem:v,onHighlightChange:x},chartsSurfaceProps:I,pluginProviderProps:{plugins:y},animationProviderProps:{skipAnimation:w},xAxis:C,yAxis:A}};var nU=n(1887),nD=n(28255);function nF(t){var e;let{children:n,skipAnimation:r}=t,i="undefined"==typeof window||!(null===(e=window)||void 0===e?void 0:e.matchMedia),[o,a]=s.useState(i||void 0);(0,nU.LI)(()=>{var t;if(i)return;let e=t=>{let e=t.matches||void 0;a(e),nU.OH.assign({skipAnimation:e})},n=window.matchMedia("(prefers-reduced-motion)");return e(n),null==n||null===(t=n.addEventListener)||void 0===t||t.call(n,"change",e),()=>{var t;null==n||null===(t=n.removeEventListener)||void 0===t||t.call(n,"change",e)}},[]);let l=s.useMemo(()=>({isInitialized:!0,data:{skipAnimation:r||o}}),[o,r]);return(0,v.jsx)(nD.s.Provider,{value:l,children:n})}let nH=s.forwardRef(function(t,e){let{children:n,drawingProviderProps:r,seriesProviderProps:i,cartesianProviderProps:o,zAxisContextProps:s,highlightedProviderProps:u,chartsSurfaceProps:c,pluginProviderProps:d,animationProviderProps:h}=nR(t,e);return(0,v.jsx)(l.X_,(0,a.Z)({},r,{children:(0,v.jsx)(n$,(0,a.Z)({},d,{children:(0,v.jsx)(x,(0,a.Z)({},i,{children:(0,v.jsx)(e7,(0,a.Z)({},o,{children:(0,v.jsx)(e8.n,(0,a.Z)({},s,{children:(0,v.jsx)(y.o,{children:(0,v.jsx)(no,(0,a.Z)({},u,{children:(0,v.jsxs)(j,(0,a.Z)({},c,{children:[(0,v.jsx)(e4.x,{}),(0,v.jsx)(nF,(0,a.Z)({},h,{children:n}))]}))}))})}))}))}))}))}))}),nV=(0,_.ZP)("div",{name:"MuiResponsiveChart",slot:"Container"})(({ownerState:t})=>({width:t.width??"100%",height:t.height??"100%",display:"flex",position:"relative",flexGrow:1,flexDirection:"column",alignItems:"center",justifyContent:"center",overflow:"hidden","&>svg":{width:"100%",height:"100%"}}));var nY=n(46821),nq=n(75998);let nB=(t,e,n)=>
3{let r=s.useRef({displayError:!1,initialCompute:!0,computeRun:0}),i=s.useRef(null),[o,a]=s.useState(0),[l,u]=s.useState(0),c=s.useCallback(()=>{let t=null==i?void 0:i.current;if(!t)return{};let e=(0,nq.Z)(t).getComputedStyle(t),n=Math.floor(parseFloat(e.height))||0,r=Math.floor(parseFloat(e.width))||0;return a(r),u(n),{width:r,height:n}},[]);return s.useEffect(()=>{r.current.displayError=!0},[]),(0,nY.Z)(()=>{if(!n||!r.current.initialCompute||r.current.computeRun>20)return;let t=c();t.width!==o||t.height!==l?r.current.computeRun+=1:r.current.initialCompute&&(r.current.initialCompute=!1)},[o,l,c,n]),(0,nY.Z)(()=>{let n;if(void 0!==t&&void 0!==e)return()=>{};c();let r=i.current;if("undefined"==typeof ResizeObserver)return()=>{};let o=new ResizeObserver(()=>{n=requestAnimationFrame(()=>{c()})});return r&&o.observe(r),()=>{n&&cancelAnimationFrame(n),r&&o.unobserve(r)}},[c,e,t]),{containerRef:i,width:null!=t?t:o,height:null!=e?e:l}},nG=["width","height","resolveSizeBeforeRender","margin","children","series","colors","dataset","desc","disableAxisListener","highlightedItem","onHighlightChange","plugins","sx","title","viewBox","xAxis","yAxis","zAxis","skipAnimation"],nX=(t,e)=>{let{width:n,height:r,resolveSizeBeforeRender:i,margin:o,children:s,series:l,colors:u,dataset:c,desc:d,disableAxisListener:h,highlightedItem:f,onHighlightChange:p,plugins:g,sx:m,title:v,viewBox:x,xAxis:y,yAxis:_,zAxis:w,skipAnimation:M}=t,Z=(0,b.Z)(t,nG),{containerRef:k,width:C,height:A}=nB(n,r,i);return{hasIntrinsicSize:C&&A,chartContainerProps:{margin:o,children:s,series:l,colors:u,dataset:c,desc:d,disableAxisListener:h,highlightedItem:f,onHighlightChange:p,plugins:g,sx:m,title:v,viewBox:x,xAxis:y,yAxis:_,zAxis:w,skipAnimation:M,width:C,height:A,ref:e},resizableChartContainerProps:(0,a.Z)({},Z,{ownerState:{width:n,height:r},ref:k})}},nW=s.forwardRef(function(t,e){let{hasIntrinsicSize:n,chartContainerProps:r,resizableChartContainerProps:i}=nX(t,e);return(0,v.jsx)(nV,(0,a.Z)({},i,{children:n?(0,v.jsx)(nH,(0,a.Z)({},r)):null}))})},36337:function(t,e,n){"use strict";n.d(e,{Ae:function(){return o},Vd:function(){return i},nk:function(){return r}});let r="DEFAULT_X_AXIS_KEY",i="DEFAULT_Y_AXIS_KEY",o={top:50,bottom:50,left:50,right:50}},28255:function(t,e,n){"use strict";n.d(e,{s:function(){return r}});let r=n(21628).createContext({isInitialized:!1,data:{skipAnimation:void 0}})},3423:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var r=n(21628),i=n(28255);function o(t){let{isInitialized:e,data:n}=r.useContext(i.s);if(!e)throw Error("MUI X: Could not find the animation ref context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return t||n.skipAnimation}},9779:function(t,e,n){"use strict";n.d(e,{S:function(){return r}});let r=n(21628).createContext({isInitialized:!1,data:{xAxis:{},yAxis:{},xAxisIds:[],yAxisIds:[]}})},38895:function(t,e,n){"use strict";n.d(e,{r:function(){return o}});var r=n(21628),i=n(9779);let o=()=>{let{data:t}=r.useContext(i.S);return t}},37076:function(t,e,n){"use strict";n.d(e,{SV:function(){return u},X_:function(){return d},XV:function(){return c}});var r=n(78511),i=n(21628),o=n(68618),a=n(36337),s=(t,e,n)=>{let o=(0,r.Z)({},a.Ae,n);return i.useMemo(()=>({left:o.left,top:o.top,right:o.right,bottom:o.bottom,width:Math.max(0,t-o.left-o.right),height:Math.max(0,e-o.top-o.bottom)}),[t,e,o.top,o.bottom,o.left,o.right])},l=n(73411);let u=i.createContext({top:0,left:0,bottom:0,right:0,height:300,width:400,chartId:"",isPointInside:()=>!1}),c=i.createContext({isInitialized:!1,data:{current:null}});function d(t){let{width:e,height:n,margin:a,svgRef:d,children:h}=t,f=s(e,n,a),p=(0,o.Z)(),g=i.useCallback((t,e)=>{let{x:n,y:r}=t;if((null==e?void 0:e.targetElement)&&(null==e?void 0:e.targetElement.closest("[data-drawing-container]")))return!0;let i=n>=f.left-1&&n<=f.left+f.width,o=r>=f.top-1&&r<=f.top+f.height;return(null==e?void 0:e.direction)==="x"?i:(null==e?void 0:e.direction)==="y"?o:i&&o},[f]),m=i.useMemo(()=>(0,r.Z)({chartId:null!=p?p:""},f,{isPointInside:g}),[p,f,g]),v=i.useMemo(()=>({isInitialized:!0,data:d}),[d]);return(0,l.jsx)(c.Provider,{value:v,children:(0,l.jsx)(u.Provider,{value:m,children:h})})}},93194:function(t,e,n){"use strict";n.d(e,{t:function(){return r}});let r=n(21628).createContext({isInitialized:!1,data:{highlightedItem:null,setHighlighted:()=>{},clearHighlighted:()=>{},isHighlighted:()=>!1,isFaded:()=>!1}})},72765:function(t,e,n){"use strict";n.d(e,{j:function(){return o}});var r=n(21628),i=n(93194);function o(){let{isInitialized:t,data:e}=r.useContext(i.t);if(!t)throw Error("MUI X: Could not find the highlighted ref context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return e}},77984:function(t,e,n){"use strict";n.d(e,{q:function(){return i}});var r=n(72765);function i(t){let e=(0,r.j)();if(!t)return{isHighlighted:!1,isFaded:!1};let n=e.isHighlighted(t),i=!n&&e.isFaded(t);
3return{isHighlighted:n,isFaded:i}}},91551:function(t,e,n){"use strict";n.d(e,{o:function(){return l},s:function(){return a}});var r=n(78511),i=n(21628),o=n(73411);let a=i.createContext({item:null,axis:{x:null,y:null},useVoronoiInteraction:!1,dispatch:()=>null}),s=(t,e)=>{switch(e.type){case"enterItem":return(0,r.Z)({},t,{item:e.data});case"exitChart":if(null===t.item&&null===t.axis.x&&null===t.axis.y)return t;return(0,r.Z)({},t,{axis:{x:null,y:null},item:null});case"updateVoronoiUsage":return(0,r.Z)({},t,{useVoronoiInteraction:e.useVoronoiInteraction});case"leaveItem":if(null===t.item||Object.keys(e.data).some(n=>e.data[n]!==t.item[n]))return t;return(0,r.Z)({},t,{item:null});case"updateAxis":if(e.data.x===t.axis.x&&e.data.y===t.axis.y)return t;return(0,r.Z)({},t,{axis:e.data});default:return t}};function l(t){let{children:e}=t,[n,l]=i.useReducer(s,{item:null,axis:{x:null,y:null},useVoronoiInteraction:!1}),u=i.useMemo(()=>(0,r.Z)({},n,{dispatch:l}),[n]);return(0,o.jsx)(a.Provider,{value:u,children:e})}},72725:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});let r=n(21628).createContext({isInitialized:!1,data:{colorProcessors:{},seriesFormatters:{},xExtremumGetters:{},yExtremumGetters:{},rotationExtremumGetters:{},radiusExtremumGetters:{}}})},25795:function(t,e,n){"use strict";n.d(e,{a:function(){return r}});let r=n(21628).createContext({isInitialized:!1,data:{}})},82969:function(t,e,n){"use strict";n.d(e,{W:function(){return s},n:function(){return l}});var r=n(78511),i=n(21628),o=n(1040),a=n(73411);let s=i.createContext({zAxis:{},zAxisIds:[]});function l(t){let{zAxis:e,dataset:n,children:l}=t,u=i.useMemo(()=>null==e?void 0:e.map(t=>{let e=t.dataKey;if(void 0===e||void 0!==t.data)return t;if(void 0===n)throw Error("MUI X: z-axis uses `dataKey` but no `dataset` is provided.");return(0,r.Z)({},t,{data:n.map(t=>t[e])})}),[e,n]),c=i.useMemo(()=>{var t;let e=null!==(t=null==u?void 0:u.map((t,e)=>(0,r.Z)({id:"defaultized-z-axis-".concat(e)},t)))&&void 0!==t?t:[],n={};return e.forEach(t=>{n[t.id]=(0,r.Z)({},t,{colorScale:t.colorMap&&("ordinal"===t.colorMap.type&&t.data?(0,o.Kc)((0,r.Z)({values:t.data},t.colorMap)):(0,o.pI)("continuous"===t.colorMap.type?(0,r.Z)({min:t.min,max:t.max},t.colorMap):t.colorMap))})}),{zAxis:n,zAxisIds:e.map(t=>{let{id:e}=t;return e})}},[u]);return(0,a.jsx)(s.Provider,{value:c,children:l})}},8750:function(t,e,n){"use strict";n.d(e,{u:function(){return o}});var r=n(21628),i=n(37076);function o(){let{chartId:t}=r.useContext(i.SV);return r.useMemo(()=>t,[t])}},56300:function(t,e,n){"use strict";n.d(e,{z:function(){return o}});var r=n(21628),i=n(37076);function o(){let{left:t,top:e,width:n,height:o,bottom:a,right:s,isPointInside:l}=r.useContext(i.SV);return r.useMemo(()=>({left:t,top:e,width:n,height:o,bottom:a,right:s,isPointInside:l}),[o,t,e,n,a,s,l])}},54605:function(t,e,n){"use strict";n.d(e,{J:function(){return a}});var r=n(21628),i=n(91551),o=n(72765);let a=t=>{let{dispatch:e}=r.useContext(i.s),{setHighlighted:n,clearHighlighted:a}=(0,o.j)();return t?()=>({}):t=>({onPointerEnter:()=>{e({type:"enterItem",data:t}),n({seriesId:t.seriesId,dataIndex:t.dataIndex})},onPointerLeave:n=>{n.currentTarget.hasPointerCapture(n.pointerId)&&n.currentTarget.releasePointerCapture(n.pointerId),e({type:"leaveItem",data:t}),a()},onPointerDown:t=>{t.currentTarget.hasPointerCapture(t.pointerId)&&t.currentTarget.releasePointerCapture(t.pointerId)}})}},7840:function(t,e,n){"use strict";n.d(e,{H5:function(){return i}});var r=n(97943);function i(t){return(0,r.o)(t)?e=>{var n;return(null!==(n=t(e))&&void 0!==n?n:0)+t.bandwidth()/2}:e=>t(e)}},90819:function(t,e,n){"use strict";n.d(e,{dg:function(){return a},qZ:function(){return s},us:function(){return o}});var r=n(21628),i=n(25795);function o(){let{isInitialized:t,data:e}=r.useContext(i.a);if(!t)throw Error("MUI X: Could not find the series ref context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return e}function a(){let t=o();return r.useMemo(()=>t.line,[t.line])}function s(){let t=o();return r.useMemo(()=>t.bar,[t.bar])}},63299:function(t,e,n){"use strict";n.d(e,{S:function(){return o}});var r=n(21628),i=n(37076);function o(){let{isInitialized:t,data:e}=r.useContext(i.XV);if(!t)throw Error("MUI X: Could not find the svg ref context.\nIt looks like you rendered your component outside of a ChartsContainer parent component.");return e}},63837:function(t,e,n){"use strict";n.d(e,{f:function(){return a},g:function(){return l}});var r=n(21628),i=n(97943),o=n(60296);function a(t){let{tickMaxStep:e,tickMinStep:n,tickNumber:r,range:i,domain:o}=t;return Math.min(void 0===n?999:Math.floor(Math.abs(o[1]-o[0])/n),Math.max(void 0===e?2:Math.ceil(Math.abs(o[1]-o[0])/e),null!=r?r:Math.floor(Math.abs(i[1]-i[0])/50)))}let s={start:0,extremities:0,end:1,middle:.5};function l(t){let{scale:e,tickNumber:n,valueFormatter:a,tickInterval:l,tickPlacement:u="extremities",t
3ickLabelPlacement:c="middle"}=t;return r.useMemo(()=>{if((0,i.o)(e)){let t=e.domain();return e.bandwidth()>0?[...("function"==typeof l&&t.filter(l)||"object"==typeof l&&l||t).map(t=>{var n;return{value:t,formattedValue:null!==(n=null==a?void 0:a(t,{location:"tick"}))&&void 0!==n?n:"".concat(t),offset:e(t)-(e.step()-e.bandwidth())/2+s[u]*e.step(),labelOffset:"tick"===c?0:e.step()*(s[c]-s[u])}}),..."extremities"===u?[{formattedValue:void 0,offset:e.range()[1],labelOffset:0}]:[]]:("function"==typeof l&&t.filter(l)||"object"==typeof l&&l||t).map(t=>{var n;return{value:t,formattedValue:null!==(n=null==a?void 0:a(t,{location:"tick"}))&&void 0!==n?n:"".concat(t),offset:e(t),labelOffset:0}})}return e.domain().some(o.A)?[]:("object"==typeof l?l:e.ticks(n)).map(t=>{var r;return{value:t,formattedValue:null!==(r=null==a?void 0:a(t,{location:"tick"}))&&void 0!==r?r:e.tickFormat(n)(t),offset:e(t),labelOffset:0}})},[e,l,n,a,u,c])}},1040:function(t,e,n){"use strict";n.d(e,{pI:function(){return d},Kc:function(){return c}});var r=n(16305),i=n(11061),o=n(99263),a=n(50700),s=n(56425),l=n(67875),u=n(25018);function c(t){return t.values?(0,u.Z)(t.values,t.colors).unknown(t.unknownColor??null):(0,u.Z)(t.colors.map((t,e)=>e),t.colors).unknown(t.unknownColor??null)}function d(t){return"ordinal"===t.type?c(t):"piecewise"===t.type?function t(){var e,n=[.5],o=[0,1],a=1;function s(t){return null!=t&&t<=t?o[(0,r.ZP)(n,t,0,a)]:e}return s.domain=function(t){return arguments.length?(a=Math.min((n=Array.from(t)).length,o.length-1),s):n.slice()},s.range=function(t){return arguments.length?(o=Array.from(t),a=Math.min(n.length,o.length-1),s):o.slice()},s.invertExtent=function(t){var e=o.indexOf(t);return[n[e-1],n[e]]},s.unknown=function(t){return arguments.length?(e=t,s):e},s.copy=function(){return t().domain(n).range(o).unknown(e)},i.o.apply(s,arguments)}(t.thresholds,t.colors):function t(){var e=(0,l.Q)((function(){var t,e,n,r,i,l=0,u=1,c=s.yR,d=!1;function h(e){return null==e||isNaN(e=+e)?i:c(0===n?.5:(e=(r(e)-t)*n,d?Math.max(0,Math.min(1,e)):e))}function f(t){return function(e){var n,r;return arguments.length?([n,r]=e,c=t(n,r),h):[c(0),c(1)]}}return h.domain=function(i){return arguments.length?([l,u]=i,t=r(l=+l),e=r(u=+u),n=t===e?0:1/(e-t),h):[l,u]},h.clamp=function(t){return arguments.length?(d=!!t,h):d},h.interpolator=function(t){return arguments.length?(c=t,h):c},h.range=f(o.Z),h.rangeRound=f(a.Z),h.unknown=function(t){return arguments.length?(i=t,h):i},function(i){return r=i,t=i(l),e=i(u),n=t===e?0:1/(e-t),h}})()(s.yR));return e.copy=function(){return t().domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())},i.O.apply(e,arguments)}([t.min??0,t.max??100],t.color)}},85303:function(t,e,n){"use strict";n.d(e,{x:function(){return f},Y:function(){return h}});var r=n(21628),i=n(38895),o=n(37076),a=n(56300),s=n(73411);function l(t){let{isReversed:e,gradientId:n,size:i,direction:o,scale:a,colorMap:l}=t;return i<=0?null:(0,s.jsx)("linearGradient",{id:n,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${e?1:2}`]:`${i}px`,gradientUnits:"userSpaceOnUse",children:l.thresholds.map((t,n)=>{let o=a(t);if(void 0===o)return null;let u=e?1-o/i:o/i;return(0,s.jsxs)(r.Fragment,{children:[(0,s.jsx)("stop",{offset:u,stopColor:l.colors[n],stopOpacity:1}),(0,s.jsx)("stop",{offset:u,stopColor:l.colors[n+1],stopOpacity:1})]},t.toString()+n)})})}var u=n(59099),c=n(17848);function d(t){let{gradientUnits:e,isReversed:n,gradientId:r,size:i,direction:o,scale:a,colorScale:l,colorMap:d}=t,h=[d.min??0,d.max??100],f=h.map(a).filter(t=>void 0!==t);if(2!==f.length)return null;let p="number"==typeof h[0]?(0,u.Z)(h[0],h[1]):(0,c.Z)(h[0],h[1]),g=Math.round((Math.max(...f)-Math.min(...f))/10),m=`${h[0]}-${h[1]}-`;return(0,s.jsx)("linearGradient",{id:r,x1:"0",x2:"0",y1:"0",y2:"0",[`${o}${n?1:2}`]:"objectBoundingBox"===e?1:`${i}px`,gradientUnits:e??"userSpaceOnUse",children:Array.from({length:g+1},(t,e)=>{let r=p(e/g);if(void 0===r)return null;let o=a(r);if(void 0===o)return null;let u=l(r);return null===u?null:(0,s.jsx)("stop",{offset:n?1-o/i:o/i,stopColor:u,stopOpacity:1},m+e)})})}function h(){let{chartId:t}=r.useContext(o.SV);return r.useCallback((e,n)=>`${t}-gradient-${n}-${e}`,[t])}function f(){let{top:t,height:e,bottom:n,left:r,width:o,right:u}=(0,a.z)(),c=t+e+n,f=r+o+u,p=h(),{xAxisIds:g,xAxis:m,yAxisIds:v,yAxis:x}=(0,i.r)();return(0,s.jsxs)("defs",{children:[v.filter(t=>void 0!==x[t].colorMap).map(t=>{let e=p(t,"y"),{colorMap:n,scale:r,colorScale:i,reverse:o}=x[t];return n?.type==="piecewise"?(0,s.jsx)(l,{isReversed:!o,scale:r,colorMap:n,size:c,gradientId:e,direction:"y"},e):n?.type==="continuous"?(0,s.jsx)(d,{isReversed:!o,scale:r,colorScale:i,colorMap:n,size:c,gradientId:e,direction:"y"},e):null}),g.filter(t=>void 0!==m[t].colorMap).map(t=>{let e=p(t,"x"),{colorMap:n,scale:r,reverse:i,colorScale:o}=m[t];return n?.type==="piecewise"?(0,s.jsx)(l,{isReversed:i,scale:r,colorMap:n,size:f,gradientId:e,direction:"x"},e):n?.type==="continuous"?(0,s.jsx)(d,{isReversed:i,scale:r,colorScale:o,colorMap:n,size:f,gradientId:e,direction:"x"},e):null})]})}},58601:function(t,e,n){"use strict";function r(t,e){return"function"==typeof t?t(e):t}n.d(e,{i:function(){return r}})},66025:function(t,e,n){"use strict";let r;n.d(e,{i:function(){return f}});var i=n(78511);let o={widthCache:{}
3,cacheCount:0},a={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},s=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],l="mui_measurement_span";function u(t,e){return s.indexOf(t)>=0&&e===+e?`${e}px`:e}function c(t){return t.split("").reduce((t,e)=>e===e.toUpperCase()?[...t,"-",e.toLowerCase()]:[...t,e],[]).join("")}let d=t=>Object.keys(t).sort().reduce((e,n)=>`${e}${c(n)}:${u(n,t[n])};`,""),h=(t,e={})=>{if(null==t||"undefined"==typeof window)return{width:0,height:0};let n=`${t}`,s=d(e),h=`${n}-${s}`;if(o.widthCache[h])return o.widthCache[h];try{let t=document.getElementById(l);null===t&&((t=document.createElement("span")).setAttribute("id",l),t.setAttribute("aria-hidden","true"),document.body.appendChild(t));let s=(0,i.Z)({},a,e);Object.keys(s).map(e=>(t.style[c(e)]=u(e,s[e]),e)),t.textContent=n;let d=t.getBoundingClientRect(),f={width:d.width,height:d.height};return o.widthCache[h]=f,o.cacheCount+1>2e3?(o.cacheCount=0,o.widthCache={}):o.cacheCount+=1,r&&clearTimeout(r),r=setTimeout(()=>{t.textContent=""},0),f}catch{return{width:0,height:0}}};function f({style:t,needsComputation:e,text:n}){return n.split("\n").map(n=>(0,i.Z)({text:n},e?h(n,t):{width:0,height:0}))}},97943:function(t,e,n){"use strict";function r(t){return void 0!==t.bandwidth}n.d(e,{o:function(){return r}})},60296:function(t,e,n){"use strict";function r(t){return"number"==typeof t&&!Number.isFinite(t)}n.d(e,{A:function(){return r}})},82052:function(t,e,n){"use strict";function r(t){return"band"===t.scaleType}function i(t){return"point"===t.scaleType}n.d(e,{Q:function(){return r},T:function(){return i}})},36400:function(t,e,n){"use strict";function r(t,e="warning"){}n.d(e,{O:function(){return r}})},42744:function(t){var e;e=function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(n,r,i){var o,a=function(t,n,r){void 0===r&&(r={});var i,o,a,s,l=new Date(t);return(void 0===(i=r)&&(i={}),(s=e[a=n+"|"+(o=i.timeZoneName||"short")])||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:o}),e[a]=s),s).formatToParts(l)},s=function(e,n){for(var r=a(e,n),o=[],s=0;s<r.length;s+=1){var l=r[s],u=l.type,c=l.value,d=t[u];d>=0&&(o[d]=parseInt(c,10))}var h=o[3],f=o[0]+"-"+o[1]+"-"+o[2]+" "+(24===h?0:h)+":"+o[4]+":"+o[5]+":000",p=+e;return(i.utc(f).valueOf()-(p-=p%1e3))/6e4},l=r.prototype;l.tz=function(t,e){void 0===t&&(t=o);var n,r=this.utcOffset(),a=this.toDate(),s=a.toLocaleString("en-US",{timeZone:t}),l=Math.round((a-new Date(s))/1e3/60),u=-(15*Math.round(a.getTimezoneOffset()/15))-l;if(Number(u)){if(n=i(s,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(u,!0),e){var c=n.utcOffset();n=n.add(r-c,"minute")}}else n=this.utcOffset(0,e);return n.$x.$timezone=t,n},l.offsetName=function(t){var e=this.$x.$timezone||i.tz.guess(),n=a(this.valueOf(),e,{timeZoneName:t}).find(function(t){return"timezonename"===t.type.toLowerCase()});return n&&n.value};var u=l.startOf;l.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return u.call(this,t,e);var n=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(n,t,e).tz(this.$x.$timezone,!0)},i.tz=function(t,e,n){var r=n&&e,a=n||e||o,l=s(+i(),a);if("string"!=typeof t)return i(t).tz(a);var u=function(t,e,n){var r=t-60*e*1e3,i=s(r,n);if(e===i)return[r,e];var o=s(r-=60*(i-e)*1e3,n);return i===o?[r,i]:[t-60*Math.min(i,o)*1e3,Math.max(i,o)]}(i.utc(t,r).valueOf(),l,a),c=u[0],d=u[1],h=i(c).utcOffset(d);return h.$x.$timezone=a,h},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(t){o=t}}},t.exports=e()},86994:function(t){var e;e=function(){"use strict";var t="minute",e=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(t){var e={date:t,utc:!0,args:arguments};return new i(e)},a.utc=function(e){var n=o(this.toDate(),{locale:this.$L,utc:!0});return e?n.add(this.utcOffset(),t):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),s.call(this,t)};var l=a.init;a.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else l.call(this)};var u=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&null===(r=function(t){void 0===t&&(t="");var r=t.match(e);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r)))return this;var a=16>=Math.abs(r)?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,t)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var c=a.format;a.format=function(t){var e=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,e)},a.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(t){return"s"===t&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=a.diff;a.diff=function(t,e,n){if(t&&this.$u===t.$u)return h.call(this,t,e,n);var r=this.local(),i=o(t).local();return h.call(r,i,e,n)}}},t.exports=e()},1887:function(t,e,n){"use strict";n.d(e,{OH:function(){return A},q:function(){return ng},to:function(){return ne},LI:function(){return tD},q_:function(){return e3},Yz:function(){return e6}});var r,i,o,a,s=M(),l=t=>y(t,s),u=M();l.write=t=>y(t,u);var c=M();l.onStart=t=>y(t,c);var d=M();l.onFrame=t=>y(t,d);var h=M();l.onFinish=t=>y(t,h);var f=[];l.setTimeout=(t,e)=>{let n=l.now()+e,r=()=>{let t=f.findIndex(t=>t.cancel==r);~t&&f.splice(t,1),v-=~t?1:0},i={time:n,handler:t,cancel:r};return f.splice(p(n),0,i),v+=1,b(),i};var p=t=>~(~f.findIndex(e=>e.time>t)||~f.length);l.cancel=t=>{c.delete(t),d.delete(t),h.delete(t),s.delete(t),u.delete(t)},l.sync=t=>{x=!0,l.batchedUpdates(t),x=!1},l.throttle=t=>{let e;function n(){try{t(...e)}finally{e=null}}function r(...t){e=t,l.onStart(n)}return r.handler=t,r.cancel=()=>{c.delete(n),e=null},r};var g="undefined"!=typeof window?window.requestAnimationFrame:()=>{};l.use=t=>g=t,l.now="undefined"!=typeof performance?()=>performance.now():Date.now,l.batchedUpdates=t=>t(),l.catch=console.error,l.frameLoop="always",l.advance=()=>{"demand"!==l.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):w()};var m=-1,v=0,x=!1;function y(t,e){x?(e.delete(t),t(0)):(e.add(t),b())}function b(){m<0&&(m=0,"demand"!==l.frameLoop&&g(_))}function _(){~m&&(g(_),l.batchedUpdates(w))}function w(){let t=m,e=p(m=l.now());if(e&&(Z(f.splice(0,e),t=>t.handler()),v-=e),!v){m=-1;return}c.flush(),s.flush(t?Math.min(64,m-t):16.667),d.flush(),u.flush(),h.flush()}function M(){let t=new Set,e=t;return{add(n){v+=e!=t||t.has(n)?0:1,t.add(n)},delete:n=>(v-=e==t&&t.has(n)?1:0,t.delete(n)),flush(n){e.size&&(t=new Set,v-=e.size,Z(e,e=>e(n)&&t.add(e)),v+=t.size,e=t)}}}function Z(t,e){t.forEach(t=>{try{e(t)}catch(t){l.catch(t)}})}var k=n(21628),C=Object.defineProperty,A={};function I(){}((t,e)=>{for(var n in e)C(t,n,{get:e[n],enumerable:!0})})(A,{assign:()=>D,colors:()=>L,createStringInterpolator:()=>i,skipAnimation:()=>R,to:()=>o,willAdvance:()=>U});var T=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),P={arr:Array.isArray,obj:t=>!!t&&"Object"===t.constructor.name,fun:t=>"function"==typeof t,str:t=>"string"==typeof t,num:t=>"number"==typeof t,und:t=>void 0===t};function j(t,e){if(P.arr(t)){if(!P.arr(e)||t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}return t===e}var S=(t,e)=>t.forEach(e);function $(t,e,n){if(P.arr(t)){for(let r=0;r<t.length;r++)e.call(n,t[r],`${r}`);return}for(let r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r)}var E=t=>P.und(t)?[]:P.arr(t)?t:[t];function N(t,e){if(t.size){let n=Array.from(t);t.clear(),S(n,e)}}var z=(t,...e)=>N(t,t=>t(...e)),O=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),L=null,R=!1,U=I,D=t=>{t.to&&(o=t.to),t.now&&(l.now=t.now),void 0!==t.colors&&(L=t.colors),null!=t.skipAnimation&&(
3R=t.skipAnimation),t.createStringInterpolator&&(i=t.createStringInterpolator),t.requestAnimationFrame&&l.use(t.requestAnimationFrame),t.batchedUpdates&&(l.batchedUpdates=t.batchedUpdates),t.willAdvance&&(U=t.willAdvance),t.frameLoop&&(l.frameLoop=t.frameLoop)},F=new Set,H=[],V=[],Y=0,q={get idle(){return!F.size&&!H.length},start(t){Y>t.priority?(F.add(t),l.onStart(B)):(G(t),l(W))},advance:W,sort(t){if(Y)l.onFrame(()=>q.sort(t));else{let e=H.indexOf(t);~e&&(H.splice(e,1),X(t))}},clear(){H=[],F.clear()}};function B(){F.forEach(G),F.clear(),l(W)}function G(t){H.includes(t)||X(t)}function X(t){H.splice(function(t,e){let n=t.findIndex(e);return n<0?t.length:n}(H,e=>e.priority>t.priority),0,t)}function W(t){let e=V;for(let n=0;n<H.length;n++){let r=H[n];Y=r.priority,r.idle||(U(r),r.advance(t),r.idle||e.push(r))}return Y=0,(V=H).length=0,(H=e).length>0}var K="[-+]?\\d*\\.?\\d+",Q=K+"%";function J(...t){return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var tt=RegExp("rgb"+J(K,K,K)),te=RegExp("rgba"+J(K,K,K,K)),tn=RegExp("hsl"+J(K,Q,Q)),tr=RegExp("hsla"+J(K,Q,Q,K)),ti=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,to=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ta=/^#([0-9a-fA-F]{6})$/,ts=/^#([0-9a-fA-F]{8})$/;function tl(t,e,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?t+(e-t)*6*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function tu(t,e,n){let r=n<.5?n*(1+e):n+e-n*e,i=2*n-r;return Math.round(255*tl(i,r,t+1/3))<<24|Math.round(255*tl(i,r,t))<<16|Math.round(255*tl(i,r,t-1/3))<<8}function tc(t){let e=parseInt(t,10);return e<0?0:e>255?255:e}function td(t){return(parseFloat(t)%360+360)%360/360}function th(t){let e=parseFloat(t);return e<0?0:e>1?255:Math.round(255*e)}function tf(t){let e=parseFloat(t);return e<0?0:e>100?1:e/100}function tp(t){let e;let n="number"==typeof t?t>>>0===t&&t>=0&&t<=4294967295?t:null:(e=ta.exec(t))?parseInt(e[1]+"ff",16)>>>0:L&&void 0!==L[t]?L[t]:(e=tt.exec(t))?(tc(e[1])<<24|tc(e[2])<<16|tc(e[3])<<8|255)>>>0:(e=te.exec(t))?(tc(e[1])<<24|tc(e[2])<<16|tc(e[3])<<8|th(e[4]))>>>0:(e=ti.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+"ff",16)>>>0:(e=ts.exec(t))?parseInt(e[1],16)>>>0:(e=to.exec(t))?parseInt(e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+e[4]+e[4],16)>>>0:(e=tn.exec(t))?(255|tu(td(e[1]),tf(e[2]),tf(e[3])))>>>0:(e=tr.exec(t))?(tu(td(e[1]),tf(e[2]),tf(e[3]))|th(e[4]))>>>0:null;if(null===n)return t;let r=(4278190080&(n=n||0))>>>24,i=(16711680&n)>>>16,o=(65280&n)>>>8,a=(255&n)/255;return`rgba(${r}, ${i}, ${o}, ${a})`}var tg=(t,e,n)=>{if(P.fun(t))return t;if(P.arr(t))return tg({range:t,output:e,extrapolate:n});if(P.str(t.output[0]))return i(t);let r=t.output,o=t.range||[0,1],a=t.extrapolateLeft||t.extrapolate||"extend",s=t.extrapolateRight||t.extrapolate||"extend",l=t.easing||(t=>t);return e=>{let n=function(t,e){for(var n=1;n<e.length-1&&!(e[n]>=t);++n);return n-1}(e,o);return function(t,e,n,r,i,o,a,s,l){let u=l?l(t):t;if(u<e){if("identity"===a)return u;"clamp"===a&&(u=e)}if(u>n){if("identity"===s)return u;"clamp"===s&&(u=n)}return r===i?r:e===n?t<=e?r:i:(e===-1/0?u=-u:n===1/0?u-=e:u=(u-e)/(n-e),u=o(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r,u)}(e,o[n],o[n+1],r[n],r[n+1],l,a,s,t.map)}},tm=Symbol.for("FluidValue.get"),tv=Symbol.for("FluidValue.observers"),tx=t=>!!(t&&t[tm]),ty=t=>t&&t[tm]?t[tm]():t,tb=t=>t[tv]||null;function t_(t,e){let n=t[tv];n&&n.forEach(t=>{t.eventObserved?t.eventObserved(e):t(e)})}var tw=class{constructor(t){if(!t&&!(t=this.get))throw Error("Unknown getter");tM(this,t)}},tM=(t,e)=>tC(t,tm,e);function tZ(t,e){if(t[tm]){let n=t[tv];n||tC(t,tv,n=new Set),!n.has(e)&&(n.add(e),t.observerAdded&&t.observerAdded(n.size,e))}return e}function tk(t,e){let n=t[tv];if(n&&n.has(e)){let r=n.size-1;r?n.delete(e):t[tv]=null,t.observerRemoved&&t.observerRemoved(r,e)}}var tC=(t,e,n)=>Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0}),tA=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,tI=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,tT=RegExp(`(${tA.source})(%|[a-z]+)`,"i"),tP=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,tj=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,tS=t=>{let[e,n]=t$(t);if(!e||O())return t;let r=window.getComputedStyle(document.documentElement).getPropertyValue(e);if(r)return r.trim();if(n&&n.startsWith("--")){let t=window.getComputedStyle(document.documentElement).getPropertyValue(n);if(t)return t}else if(n&&tj.test(n))return tS(n);else if(n)return n;return t},t$=t=>{let e=tj.exec(t);if(!e)return[,];let[,n,r]=e;return[n,r]},tE=(t,e,n,r,i)=>`rgba(${Math.round(e)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,tN=t=>{a||(a=L?RegExp(`(${Object.keys(L).join("|")})(?!\\w)`,"g"):/^\b$/);let e=t.output.map(t=>ty(t).replace(tj,tS).replace(tI,tp).replace(a,tp)),n=e.map(t=>t.match(tA).map(Number)),r=n[0].map((t,e)=>n.map(t=>{if(!(e in t))throw Error('The arity of each "output" value must be equal');return t[e]})).map(e=>tg({...t,output:e}));return t=>{let n=!tT.test(e[0])&&e.find(t=>tT.test(t))?.replace(tA,""),i=0;return e[0].replace(tA,()=>`${r[i++](t)}${n||""}`).replace(tP,tE)}},tz="react-spring: ",tO=t=>{let e=!1;if("function"!=typeof t)throw TypeError(`${tz}once requires a function parameter`);return(...n)=>{e||(t(...n),e=!0)}},tL=tO(console.warn),tR=tO(console.warn);function tU(t){return P.str(t)&&("#"==t[0]||/\d/.test(t)||!O()&&tj.test(t)||t in(L||{}))}var tD=O()?k.useEffect:k.useLayoutEffect,tF=()=>{let t=(0,k.useRef)(!1);return tD(()=>(t.current=!0,()=>{t.current=!1}),[]),t};function tH(){let t=(0,k.useState)()[1],e=tF();return()=>{e.current&&t(Math.random())}}var tV=t=>(0,k.useEffect)(t,tY),tY=[];function tq(t){let e=(0,k.useRef)();return(0,k.useEffect)(()=>{e.current=t}),e.current}var tB=Symbol.for("Animated:node"),tG=t=>
3!!t&&t[tB]===t,tX=t=>t&&t[tB],tW=(t,e)=>T(t,tB,e),tK=t=>t&&t[tB]&&t[tB].getPayload(),tQ=class{constructor(){tW(this,this)}getPayload(){return this.payload||[]}},tJ=class extends tQ{constructor(t){super(),this._value=t,this.done=!0,this.durationProgress=0,P.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new tJ(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,e){return P.num(t)&&(this.lastPosition=t,e&&(t=Math.round(t/e)*e,this.done&&(this.lastPosition=t))),this._value!==t&&(this._value=t,!0)}reset(){let{done:t}=this;this.done=!1,P.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}},t0=class extends tJ{constructor(t){super(0),this._string=null,this._toString=tg({output:[t,t]})}static create(t){return new t0(t)}getValue(){let t=this._string;return null==t?this._string=this._toString(this._value):t}setValue(t){if(P.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else{if(!super.setValue(t))return!1;this._string=null}return!0}reset(t){t&&(this._toString=tg({output:[this.getValue(),t]})),this._value=0,super.reset()}},t1={dependencies:null},t2=class extends tQ{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){let e={};return $(this.source,(n,r)=>{tG(n)?e[r]=n.getValue(t):tx(n)?e[r]=ty(n):t||(e[r]=n)}),e}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&S(this.payload,t=>t.reset())}_makePayload(t){if(t){let e=new Set;return $(t,this._addToPayload,e),Array.from(e)}}_addToPayload(t){t1.dependencies&&tx(t)&&t1.dependencies.add(t);let e=tK(t);e&&S(e,t=>this.add(t))}},t5=class extends t2{constructor(t){super(t)}static create(t){return new t5(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){let e=this.getPayload();return t.length==e.length?e.map((e,n)=>e.setValue(t[n])).some(Boolean):(super.setValue(t.map(t3)),!0)}};function t3(t){return(tU(t)?t0:tJ).create(t)}function t6(t){let e=tX(t);return e?e.constructor:P.arr(t)?t5:tU(t)?t0:tJ}var t7=(t,e)=>{let n=!P.fun(t)||t.prototype&&t.prototype.isReactComponent;return(0,k.forwardRef)((r,i)=>{let o=(0,k.useRef)(null),a=n&&(0,k.useCallback)(t=>{o.current=(i&&(P.fun(i)?i(t):i.current=t),t)},[i]),[s,u]=function(t,e){let n=new Set;return t1.dependencies=n,t.style&&(t={...t,style:e.createAnimatedStyle(t.style)}),t=new t2(t),t1.dependencies=null,[t,n]}(r,e),c=tH(),d=()=>
3{let t=o.current;(!n||t)&&!1===(!!t&&e.applyAnimatedValues(t,s.getValue(!0)))&&c()},h=new t4(d,u),f=(0,k.useRef)();tD(()=>(f.current=h,S(u,t=>tZ(t,h)),()=>{f.current&&(S(f.current.deps,t=>tk(t,f.current)),l.cancel(f.current.update))})),(0,k.useEffect)(d,[]),tV(()=>()=>{let t=f.current;S(t.deps,e=>tk(e,t))});let p=e.getComponentProps(s.getValue());return k.createElement(t,{...p,ref:a})})},t4=class{constructor(t,e){this.update=t,this.deps=e}eventObserved(t){"change"==t.type&&l.write(this.update)}},t8=Symbol.for("AnimatedComponent"),t9=t=>P.str(t)?t:t&&P.str(t.displayName)?t.displayName:P.fun(t)&&t.name||null;function et(t,...e){return P.fun(t)?t(...e):t}var ee=(t,e)=>!0===t||!!(e&&t&&(P.fun(t)?t(e):E(t).includes(e))),en=(t,e)=>P.obj(t)?e&&t[e]:t,er=(t,e)=>!0===t.default?t[e]:t.default?t.default[e]:void 0,ei=t=>t,eo=(t,e=ei)=>{let n=ea;t.default&&!0!==t.default&&(n=Object.keys(t=t.default));let r={};for(let i of n){let n=e(t[i],i);P.und(n)||(r[i]=n)}return r},ea=["config","onProps","onStart","onChange","onPause","onResume","onRest"],es={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 el(t){let e=function(t){let e={},n=0;if($(t,(t,r)=>{!es[r]&&(e[r]=t,n++)}),n)return e}(t);if(e){let n={to:e};return $(t,(t,r)=>r in e||(n[r]=t)),n}return{...t}}function eu(t){return t=ty(t),P.arr(t)?t.map(eu):tU(t)?A.createStringInterpolator({range:[0,1],output:[t,t]})(1):t}function ec(t){for(let e in t)return!0;return!1}function ed(t){return P.fun(t)||P.arr(t)&&P.obj(t[0])}function eh(t,e){t.ref?.delete(t),e?.delete(t)}function ef(t,e){e&&t.ref!==e&&(t.ref?.delete(t),e.add(t),t.ref=e)}var ep={tension:170,friction:26,mass:1,damping:1,easing:t=>t,clamp:!1},eg=class{constructor(){this.velocity=0,Object.assign(this,ep)}};function em(t,e){if(P.und(e.decay)){let n=!P.und(e.tension)||!P.und(e.friction);!n&&P.und(e.frequency)&&P.und(e.damping)&&P.und(e.mass)||(t.duration=void 0,t.decay=void 0),n&&(t.frequency=void 0)}else t.duration=void 0}var ev=[],ex=class{constructor(){this.changed=!1,this.values=ev,this.toValues=null,this.fromValues=ev,this.config=new eg,this.immediate=!1}};function ey(t,{key:e,props:n,defaultProps:r,state:i,actions:o}){return new Promise((a,s)=>{let u,c;let d=ee(n.cancel??r?.cancel,e);if(d)p();else{P.und(n.pause)||(i.paused=ee(n.pause,e));let t=r?.pause;!0!==t&&(t=i.paused||ee(t,e)),u=et(n.delay||0,e),t?(i.resumeQueue.add(f),o.pause()):(o.resume(),f())}function h(){i.resumeQueue.add(f),i.timeouts.delete(c),c.cancel(),u=c.time-l.now()}function f(){u>0&&!A.skipAnimation?(i.delayed=!0,c=l.setTimeout(p,u),i.pauseQueue.add(h),i.timeouts.add(c)):p()}function p(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(h),i.timeouts.delete(c),t<=(i.cancelId||0)&&(d=!0);try{o.start({...n,callId:t,cancel:d},a)}catch(t){s(t)}}})}var eb=(t,e)=>1==e.length?e[0]:e.some(t=>t.cancelled)?eM(t.get()):e.every(t=>t.noop)?e_(t.get()):ew(t.get(),e.every(t=>t.finished)),e_=t=>({value:t,noop:!0,finished:!0,cancelled:!1}),ew=(t,e,n=!1)=>({value:t,finished:e,cancelled:n}),eM=t=>({value:t,cancelled:!0,finished:!1});function eZ(t,e,n,r){let{callId:i,parentId:o,onRest:a}=e,{asyncTo:s,promise:u}=n;return o||t!==s||e.reset?n.promise=(async()=>{let c,d,h;n.asyncId=i,n.asyncTo=t;let f=eo(e,(t,e)=>"onRest"===e?void 0:t),p=new Promise((t,e)=>(c=t,d=e)),g=t=>{let e=i<=(n.cancelId||0)&&eM(r)||i!==n.asyncId&&ew(r,!1);if(e)throw t.result=e,d(t),t},m=(t,e)=>{let o=new eC,a=new eA;return(async()=>{if(A.skipAnimation)throw ek(n),a.result=ew(r,!1),d(a),a;g(o);let s=P.obj(t)?{...t}:{...e,to:t};s.parentId=i,$(f,(t,e)=>{P.und(s[e])&&(s[e]=t)});let l=await r.start(s);return g(o),n.paused&&await new Promise(t=>{n.resumeQueue.add(t)}),l})()};if(A.skipAnimation)return ek(n),ew(r,!1);try{let e;e=P.arr(t)?(async t=>{for(let e of t)await m(e)})(t):Promise.resolve(t(m,r.stop.bind(r))),await Promise.all([e.then(c),p]),h=ew(r.get(),!0,!1)}catch(t){if(t instanceof eC)h=t.result;else if(t instanceof eA)h=t.result;else throw t}finally{i==n.asyncId&&(n.asyncId=o,n.asyncTo=o?s:void 0,n.promise=o?u:void 0)}return P.fun(a)&&l.batchedUpdates(()=>{a(h,r,r.item)}),h})():u}function ek(t,e){N(t.timeouts,t=>t.cancel()),t.pauseQueue.clear(),t.resumeQueue.clear(),t.asyncId=t.asyncTo=t.promise=void 0,e&&(t.cancelId=e)}
3var eC=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.")}},eA=class extends Error{constructor(){super("SkipAnimationSignal")}},eI=t=>t instanceof eP,eT=1,eP=class extends tw{constructor(){super(...arguments),this.id=eT++,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){let t=tX(this);return t&&t.getValue()}to(...t){return A.to(this,t)}interpolate(...t){return tL(`${tz}The "interpolate" function is deprecated in v9 (use "to" instead)`),A.to(this,t)}toJSON(){return this.get()}observerAdded(t){1==t&&this._attach()}observerRemoved(t){0==t&&this._detach()}_attach(){}_detach(){}_onChange(t,e=!1){t_(this,{type:"change",parent:this,value:t,idle:e})}_onPriorityChange(t){this.idle||q.sort(this),t_(this,{type:"priority",parent:this,priority:t})}},ej=Symbol.for("SpringPhase"),eS=t=>(1&t[ej])>0,e$=t=>(2&t[ej])>0,eE=t=>(4&t[ej])>0,eN=(t,e)=>e?t[ej]|=3:t[ej]&=-3,ez=(t,e)=>e?t[ej]|=4:t[ej]&=-5,eO=class extends eP{constructor(t,e){if(super(),this.animation=new ex,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,!P.und(t)||!P.und(e)){let n=P.obj(t)?{...t}:{...e,from:t};P.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(e$(this)||this._state.asyncTo)||eE(this)}get goal(){return ty(this.animation.to)}get velocity(){let t=tX(this);return t instanceof tJ?t.lastVelocity||0:t.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return eS(this)}get isAnimating(){return e$(this)}get isPaused(){return eE(this)}get isDelayed(){return this._state.delayed}advance(t){let e=!0,n=!1,r=this.animation,{toValues:i}=r,{config:o}=r,a=tK(r.to);!a&&tx(r.to)&&(i=E(ty(r.to))),r.values.forEach((s,l)=>{if(s.done)return;let u=s.constructor==t0?1:a?a[l].lastPosition:i[l],c=r.immediate,d=u;if(!c){let e;if(d=s.lastPosition,o.tension<=0){s.done=!0;return}let n=s.elapsedTime+=t,i=r.fromValues[l],a=null!=s.v0?s.v0:s.v0=P.arr(o.velocity)?o.velocity[l]:o.velocity,h=o.precision||(i==u?.005:Math.min(1,.001*Math.abs(u-i)));if(P.und(o.duration)){if(o.decay){let t=!0===o.decay?.998:o.decay,r=Math.exp(-(1-t)*n);d=i+a/(1-t)*(1-r),c=Math.abs(s.lastPosition-d)<=h,e=a*r}else{e=null==s.lastVelocity?a:s.lastVelocity;let n=o.restVelocity||h/10,r=o.clamp?0:o.bounce,l=!P.und(r),f=i==u?s.v0>0:i<u,p=Math.ceil(t/1);for(let t=0;t<p&&!(!(Math.abs(e)>n)&&(c=Math.abs(u-d)<=h));++t){l&&(d==u||d>u==f)&&(e=-e*r,d=u);let t=(-(1e-6*o.tension)*(d-u)+-(.001*o.friction)*e)/o.mass;e+=1*t,d+=1*e}}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,n=s.elapsedTime+=t)),r=(r=(o.progress||0)+n/this._memoizedDuration)>1?1:r<0?0:r,s.durationProgress=r),e=((d=i+o.easing(r)*(u-i))-s.lastPosition)/t,c=1==r}s.lastVelocity=e,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?s.done=!0:e=!1,s.setValue(d,o.round)&&(n=!0)});let s=tX(this),l=s.getValue();if(e){let t=ty(r.to);(l!==t||n)&&!o.decay?(s.setValue(t),this._onChange(t)):n&&o.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(t){return l.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(e$(this)){let{to:t,config:e}=this.animation;l.batchedUpdates(()=>{this._onStart(),e.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,e){let n;return P.und(t)?(n=this.queue||[],this.queue=[]):n=[P.obj(t)?t:{...e,to:t}],Promise.all(n.map(t=>this._update(t))).then(t=>eb(this,t))}stop(t){let{to:e}=this.animation;return this._focus(this.get()),ek(this._state,t&&this._lastCallId),l.batchedUpdates(()=>this._stop(e,t)),this}reset(){this._update({reset:!0})}eventObserved(t){"change"==t.type?this._start():"priority"==t.type&&(this.priority=t.priority+1)}_prepareNode(t){let e=this.key||"",{to:n,from:r}=t;(null==(n=P.obj(n)?n[e]:n)||ed(n))&&(n=void 0),null==(r=P.obj(r)?r[e]:r)&&(r=void 0);let i={to:n,from:r};return eS(this)||(t.reverse&&([n,r]=[r,n]),r=ty(r),P.und(r)?tX(this)||this._set(n):this._set(r)),i}_update({...t},e){let{key:n,defaultProps:r}=this;t.default&&Object.assign(r,eo(t,(t,e)=>/^on/.test(e)?en(t,n):t)),eH(this,t,"onProps"),eV(this,"onProps",t,this);let i=this._prepareNode(t);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did 
3you forget to pass your component to `animated(...)` before animating its props?");let o=this._state;return ey(++this._lastCallId,{key:n,props:t,defaultProps:r,state:o,actions:{pause:()=>{eE(this)||(ez(this,!0),z(o.pauseQueue),eV(this,"onPause",ew(this,eL(this,this.animation.to)),this))},resume:()=>{eE(this)&&(ez(this,!1),e$(this)&&this._resume(),z(o.resumeQueue),eV(this,"onResume",ew(this,eL(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(t.loop&&n.finished&&!(e&&n.noop)){let e=eR(t);if(e)return this._update(e,!0)}return n})}_merge(t,e,n){if(e.cancel)return this.stop(!0),n(eM(this));let r=!P.und(t.to),i=!P.und(t.from);if(r||i){if(!(e.callId>this._lastToId))return n(eM(this));this._lastToId=e.callId}let{key:o,defaultProps:a,animation:s}=this,{to:u,from:c}=s,{to:d=u,from:h=c}=t;i&&!r&&(!e.default||P.und(d))&&(d=h),e.reverse&&([d,h]=[h,d]);let f=!j(h,c);f&&(s.from=h),h=ty(h);let p=!j(d,u);p&&this._focus(d);let g=ed(e.to),{config:m}=s,{decay:v,velocity:x}=m;(r||i)&&(m.velocity=0),e.config&&!g&&function(t,e,n){for(let r in n&&(em(n={...n},e),e={...n,...e}),em(t,e),Object.assign(t,e),ep)null==t[r]&&(t[r]=ep[r]);let{frequency:r,damping:i}=t,{mass:o}=t;P.und(r)||(r<.01&&(r=.01),i<0&&(i=0),t.tension=Math.pow(2*Math.PI/r,2)*o,t.friction=4*Math.PI*i*o/r)}(m,et(e.config,o),e.config!==a.config?et(a.config,o):void 0);let y=tX(this);if(!y||P.und(d))return n(ew(this,!0));let b=P.und(e.reset)?i&&!e.default:!P.und(h)&&ee(e.reset,o),_=b?h:this.get(),w=eu(d),M=P.num(w)||P.arr(w)||tU(w),Z=!g&&(!M||ee(a.immediate||e.immediate,o));if(p){let t=t6(d);if(t!==y.constructor){if(Z)y=this._set(w);else throw Error(`Cannot animate between ${y.constructor.name} and ${t.name}, as the "to" prop suggests`)}}let k=y.constructor,C=tx(d),A=!1;if(!C){let t=b||!eS(this)&&f;(p||t)&&(C=!(A=j(eu(_),w))),(j(s.immediate,Z)||Z)&&j(m.decay,v)&&j(m.velocity,x)||(C=!0)}if(A&&e$(this)&&(s.changed&&!b?C=!0:C||this._stop(u)),!g&&((C||tx(u))&&(s.values=y.getPayload(),s.toValues=tx(d)?null:k==t0?[1]:E(w)),s.immediate==Z||(s.immediate=Z,Z||b||this._set(u)),C)){let{onRest:t}=s;S(eF,t=>eH(this,e,t));let r=ew(this,eL(this,u));z(this._pendingCalls,r),this._pendingCalls.add(n),s.changed&&l.batchedUpdates(()=>{s.changed=!b,t?.(r,this),b?et(a.onRest,r):s.onStart?.(r,this)})}b&&this._set(_),g?n(eZ(e.to,e,this._state,this)):C?this._start():e$(this)&&!p?this._pendingCalls.add(n):n(e_(_))}_focus(t){let e=this.animation;t!==e.to&&(tb(this)&&this._detach(),e.to=t,tb(this)&&this._attach())}_attach(){let t=0,{to:e}=this.animation;tx(e)&&(tZ(e,this),eI(e)&&(t=e.priority+1)),this.priority=t}_detach(){let{to:t}=this.animation;tx(t)&&tk(t,this)}_set(t,e=!0){let n=ty(t);if(!P.und(n)){let t=tX(this);if(!t||!j(n,t.getValue())){let r=t6(n);t&&t.constructor==r?t.setValue(n):tW(this,r.create(n)),t&&l.batchedUpdates(()=>{this._onChange(n,e)})}}return tX(this)}_onStart(){let t=this.animation;t.changed||(t.changed=!0,eV(this,"onStart",ew(this,eL(this,t.to)),this))}_onChange(t,e){e||(this._onStart(),et(this.animation.onChange,t,this)),et(this.defaultProps.onChange,t,this),super._onChange(t,e)}_start(){let t=this.animation;tX(this).reset(ty(t.to)),t.immediate||(t.fromValues=t.values.map(t=>t.lastPosition)),e$(this)||(eN(this,!0),eE(this)||this._resume())}_resume(){A.skipAnimation?this.finish():q.start(this)}_stop(t,e){if(e$(this)){eN(this,!1);let n=this.animation;S(n.values,t=>{t.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),t_(this,{type:"idle",parent:this});let r=e?eM(this.get()):ew(this.get(),eL(this,t??n.to));z(this._pendingCalls,r),n.changed&&(n.changed=!1,eV(this,"onRest",r,this))}}};function eL(t,e){let n=eu(e);return j(eu(t.get()),n)}function eR(t,e=t.loop,n=t.to){let r=et(e);if(r){let i=!0!==r&&el(r),o=(i||t).reverse,a=!i||i.reset;return eU({...t,loop:e,default:!1,pause:void 0,to:!o||ed(n)?n:void 0,from:a?t.from:void 0,reset:a,...i})}}function eU(t){let{to:e,from:n}=t=el(t),r=new Set;return P.obj(e)&&eD(e,r),P.obj(n)&&eD(n,r),t.keys=r.size?Array.from(r):null,t}function eD(t,e){$(t,(t,n)=>null!=t&&e.add(n))}var eF=["onStart","onRest","onChange","onPause","onResume"];function eH(t,e,n){t.animation[n]=e[n]!==er(e,n)?en(e[n],t.key):void 0}function eV(t,e,...n){t.animation[e]?.(...n),t.defaultProps[e]?.(...n)}var eY=["onStart","onChange","onRest"],eq=1,eB=class{constructor(t,e){this.id=eq++,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),e&&(this._flush=e),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>
3t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){let t={};return this.each((e,n)=>t[n]=e.get()),t}set(t){for(let e in t){let n=t[e];P.und(n)||this.springs[e].set(n)}}update(t){return t&&this.queue.push(eU(t)),this}start(t){let{queue:e}=this;return(t?e=E(t).map(eU):this.queue=[],this._flush)?this._flush(this,e):(e0(this,e),eG(this,e))}stop(t,e){if(!!t!==t&&(e=t),e){let n=this.springs;S(E(e),e=>n[e].stop(!!t))}else ek(this._state,this._lastAsyncId),this.each(e=>e.stop(!!t));return this}pause(t){if(P.und(t))this.start({pause:!0});else{let e=this.springs;S(E(t),t=>e[t].pause())}return this}resume(t){if(P.und(t))this.start({pause:!1});else{let e=this.springs;S(E(t),t=>e[t].resume())}return this}each(t){$(this.springs,t)}_onFrame(){let{onStart:t,onChange:e,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,N(t,([t,e])=>{e.value=this.get(),t(e,this,this._item)}));let o=!r&&this._started,a=i||o&&n.size?this.get():null;i&&e.size&&N(e,([t,e])=>{e.value=a,t(e,this,this._item)}),o&&(this._started=!1,N(n,([t,e])=>{e.value=a,t(e,this,this._item)}))}eventObserved(t){if("change"==t.type)this._changed.add(t.parent),t.idle||this._active.add(t.parent);else{if("idle"!=t.type)return;this._active.delete(t.parent)}l.onFrame(this._onFrame)}};function eG(t,e){return Promise.all(e.map(e=>eX(t,e))).then(e=>eb(t,e))}async function eX(t,e,n){let{keys:r,to:i,from:o,loop:a,onRest:s,onResolve:u}=e,c=P.obj(e.default)&&e.default;a&&(e.loop=!1),!1===i&&(e.to=null),!1===o&&(e.from=null);let d=P.arr(i)||P.fun(i)?i:void 0;d?(e.to=void 0,e.onRest=void 0,c&&(c.onRest=void 0)):S(eY,n=>{let r=e[n];if(P.fun(r)){let i=t._events[n];e[n]=({finished:t,cancelled:e})=>{let n=i.get(r);n?(t||(n.finished=!1),e&&(n.cancelled=!0)):i.set(r,{value:null,finished:t||!1,cancelled:e||!1})},c&&(c[n]=e[n])}});let h=t._state;!h.paused===e.pause?(h.paused=e.pause,z(e.pause?h.pauseQueue:h.resumeQueue)):h.paused&&(e.pause=!0);let f=(r||Object.keys(t.springs)).map(n=>t.springs[n].start(e)),p=!0===e.cancel||!0===er(e,"cancel");(d||p&&h.asyncId)&&f.push(ey(++t._lastAsyncId,{props:e,state:h,actions:{pause:I,resume:I,start(e,n){p?(ek(h,t._lastAsyncId),n(eM(t))):(e.onRest=s,n(eZ(d,e,h,t)))}}})),h.paused&&await new Promise(t=>{h.resumeQueue.add(t)});let g=eb(t,await Promise.all(f));if(a&&g.finished&&!(n&&g.noop)){let n=eR(e,a,i);if(n)return e0(t,[n]),eX(t,n,!0)}return u&&l.batchedUpdates(()=>u(g,t,t.item)),g}function eW(t,e){let n={...t.springs};return e&&S(E(e),t=>{P.und(t.keys)&&(t=eU(t)),P.obj(t.to)||(t={...t,to:void 0}),eJ(n,t,t=>eQ(t))}),eK(t,n),n}function eK(t,e){$(e,(e,n)=>{t.springs[n]||(t.springs[n]=e,tZ(e,t))})}function eQ(t,e){let n=new eO;return n.key=t,e&&tZ(n,e),n}function eJ(t,e,n){e.keys&&S(e.keys,r=>{(t[r]||(t[r]=n(r)))._prepareNode(e)})}function e0(t,e){S(e,e=>{eJ(t.springs,e,e=>eQ(e,t))})}var e1=({children:t,...e})=>{let n=(0,k.useContext)(e2),r=e.pause||!!n.pause,i=e.immediate||!!n.immediate;e=function(t,e){let[n]=(0,k.useState)(()=>({inputs:e,result:t()})),r=(0,k.useRef)(),i=r.current,o=i;return o?e&&o.inputs&&function(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,o.inputs)||(o={inputs:e,result:t()}):o=n,(0,k.useEffect)(()=>{r.current=o,i==n&&(n.inputs=n.result=void 0)},[o]),o.result}(()=>({pause:r,immediate:i}),[r,i]);let{Provider:o}=e2;return k.createElement(o,{value:e},t)},e2=(r={},Object.assign(e1,k.createContext(r)),e1.Provider._context=e1,e1.Consumer._context=e1,e1
3);e1.Provider=e2.Provider,e1.Consumer=e2.Consumer;var e5=()=>{let t=[],e=function(e){tR(`${tz}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`);let r=[];return S(t,(t,i)=>{if(P.und(e))r.push(t.start());else{let o=n(e,t,i);o&&r.push(t.start(o))}}),r};e.current=t,e.add=function(e){t.includes(e)||t.push(e)},e.delete=function(e){let n=t.indexOf(e);~n&&t.splice(n,1)},e.pause=function(){return S(t,t=>t.pause(...arguments)),this},e.resume=function(){return S(t,t=>t.resume(...arguments)),this},e.set=function(e){S(t,(t,n)=>{let r=P.fun(e)?e(n,t):e;r&&t.set(r)})},e.start=function(e){let n=[];return S(t,(t,r)=>{if(P.und(e))n.push(t.start());else{let i=this._getProps(e,t,r);i&&n.push(t.start(i))}}),n},e.stop=function(){return S(t,t=>t.stop(...arguments)),this},e.update=function(e){return S(t,(t,n)=>t.update(this._getProps(e,t,n))),this};let n=function(t,e,n){return P.fun(t)?t(n,e):t};return e._getProps=n,e};function e3(t,e){let n=P.fun(t),[[r],i]=function(t,e,n){let r=P.fun(e)&&e;r&&!n&&(n=[]);let i=(0,k.useMemo)(()=>r||3==arguments.length?e5():void 0,[]),o=(0,k.useRef)(0),a=tH(),s=(0,k.useMemo)(()=>({ctrls:[],queue:[],flush(t,e){let n=eW(t,e);return!(o.current>0)||s.queue.length||Object.keys(n).some(e=>!t.springs[e])?new Promise(r=>{eK(t,n),s.queue.push(()=>{r(eG(t,e))}),a()}):eG(t,e)}}),[]),l=(0,k.useRef)([...s.ctrls]),u=[],c=tq(t)||0;function d(t,n){for(let i=t;i<n;i++){let t=l.current[i]||(l.current[i]=new eB(null,s.flush)),n=r?r(i,t):e[i];n&&(u[i]=function(t){let e=eU(t);return P.und(e.default)&&(e.default=eo(e)),e}(n))}}(0,k.useMemo)(()=>{S(l.current.slice(t,c),t=>{eh(t,i),t.stop(!0)}),l.current.length=t,d(c,t)},[t]),(0,k.useMemo)(()=>{d(0,Math.min(c,t))},n);let h=l.current.map((t,e)=>eW(t,u[e])),f=(0,k.useContext)(e1),p=tq(f),g=f!==p&&ec(f);tD(()=>{o.current++,s.ctrls=l.current;let{queue:t}=s;t.length&&(s.queue=[],S(t,t=>t())),S(l.current,(t,e)=>{i?.add(t),g&&t.start({default:f});let n=u[e];n&&(ef(t,n.ref),t.ref?t.queue.push(n):t.start(n))})}),tV(()=>()=>{S(s.ctrls,t=>t.stop(!0))});let m=h.map(t=>({...t}));return i?[m,i]:m}(1,n?t:[t],n?e||[]:e);return n||2==arguments.length?[r,i]:r}function e6(t,e,n){let r=P.fun(e)&&e,{reset:i,sort:o,trail:a=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:c,config:d}=r?r():e,h=(0,k.useMemo)(()=>r||3==arguments.length?e5():void 0,[]),f=E(t),p=[],g=(0,k.useRef)(null),m=i?null:g.current;tD(()=>{g.current=p}),tV(()=>(S(p,t=>{h?.add(t.ctrl),t.ctrl.ref=h}),()=>{S(g.current,t=>{t.expired&&clearTimeout(t.expirationId),eh(t.ctrl,h),t.ctrl.stop(!0)})}));let v=function(t,{key:e,keys:n=e},r){if(null===n){let e=new Set;return t.map(t=>{let n=r&&r.find(n=>n.item===t&&"leave"!==n.phase&&!e.has(n));return n?(e.add(n),n.key):e7++})}return P.und(n)?t:P.fun(n)?t.map(n):E(n)}(f,r?r():e,m),x=i&&g.current||[];tD(()=>S(x,({ctrl:t,item:e,key:n})=>{eh(t,h),et(u,e,n)}));let y=[];if(m&&S(m,(t,e)=>{t.expired?(clearTimeout(t.expirationId),x.push(t)):~(e=y[e]=v.indexOf(t.key))&&(p[e]=t)}),S(f,(t,e)=>{p[e]||(p[e]={key:v[e],item:t,phase:"mount",ctrl:new eB},p[e].ctrl.item=t)}),y.length){let t=-1,{leave:n}=r?r():e;S(y,(e,r)=>{let i=m[r];~e?(t=p.indexOf(i),p[t]={...i,item:f[e]}):n&&p.splice(++t,0,i)})}P.fun(o)&&p.sort((t,e)=>o(t.item,e.item));let b=-a,_=tH(),w=eo(e),M=new Map,Z=(0,k.useRef)(new Map),C=(0,k.useRef)(!1);S(p,(t,n)=>{let i,o;let u=t.key,h=t.phase,f=r?r():e,p=et(f.delay||0,u);if("mount"==h)i=f.enter,o="enter";else{let t=0>v.indexOf(u);if("leave"!=h){if(t)i=f.leave,o="leave";else{if(!(i=f.update))return;o="update"}}else{if(t)return;i=f.enter,o="enter"}}if(i=et(i,t.item,n),!(i=P.obj(i)?el(i):{to:i}).config){let e=d||w.config;i.config=et(e,t.item,n,o)}b+=a;let x={...w,delay:p+b,ref:c,immediate:f.immediate,reset:!1,...i};if("enter"==o&&P.und(x.from)){let i=r?r():e,o=P.und(i.initial)||m?i.from:i.initial;x.from=et(o,t.item,n)}let{onResolve:y}=x;x.onResolve=t=>{et(y,t);let e=g.current,n=e.find(t=>t.key===u);if(n){if(t.cancelled&&"update"!=n.phase)return;if(n.ctrl.idle){let t=e.every(t=>t.ctrl.idle);if("leave"==n.phase){let e=et(s,n.item);if(!1!==e){let r=!0===e?0:e;if(n.expired=!0,!t&&r>0){r<=2147483647&&(n.expirationId=setTimeout(_,r));return}}}t&&e.some(t=>t.expired)&&(Z.current.delete(n),l&&(C.current=!0),_())}}};let k=eW(t.ctrl,x);"leave"===o&&l?Z.current.set(t,{phase:o,springs:k,payload:x}):M.set(t,{phase:o,springs:k,payload:x})});let A=(0,k.useContext)(e1),I=tq(A),T=A!==I&&ec(A);tD(()=>{T&&S(p,t=>{t.ctrl.start({default:A})})},[A]),S(M,(t,e)=>{if(Z.current.size){let t=p.findIndex(t=>t.key===e.key);p.splice(t,1)}}),tD(()=>{S(Z.current.size?Z.current:M,({phase:t,payload:e},n)=>{let{ctrl:r}=n;
3n.phase=t,h?.add(r),T&&"enter"==t&&r.start({default:A}),e&&(ef(r,e.ref),(r.ref||h)&&!C.current?r.update(e):(r.start(e),C.current&&(C.current=!1)))})},i?void 0:n);let j=t=>k.createElement(k.Fragment,null,p.map((e,n)=>{let{springs:r}=M.get(e)||e.ctrl,i=t({...r},e.item,e,n);return i&&i.type?k.createElement(i.type,{...i.props,key:P.str(e.key)||P.num(e.key)?e.key:e.ctrl.id,ref:i.ref}):i}));return h?[j,h]:j}var e7=1,e4=class extends eP{constructor(t,e){super(),this.source=t,this.idle=!0,this._active=new Set,this.calc=tg(...e);let n=this._get();tW(this,t6(n).create(n))}advance(t){let e=this._get();j(e,this.get())||(tX(this).setValue(e),this._onChange(e,this.idle)),!this.idle&&e9(this._active)&&nt(this)}_get(){let t=P.arr(this.source)?this.source.map(ty):E(ty(this.source));return this.calc(...t)}_start(){this.idle&&!e9(this._active)&&(this.idle=!1,S(tK(this),t=>{t.done=!1}),A.skipAnimation?(l.batchedUpdates(()=>this.advance()),nt(this)):q.start(this))}_attach(){let t=1;S(E(this.source),e=>{tx(e)&&tZ(e,this),eI(e)&&(e.idle||this._active.add(e),t=Math.max(t,e.priority+1))}),this.priority=t,this._start()}_detach(){S(E(this.source),t=>{tx(t)&&tk(t,this)}),this._active.clear(),nt(this)}eventObserved(t){"change"==t.type?t.idle?this.advance():(this._active.add(t.parent),this._start()):"idle"==t.type?this._active.delete(t.parent):"priority"==t.type&&(this.priority=E(this.source).reduce((t,e)=>Math.max(t,(eI(e)?e.priority:0)+1),0))}};function e8(t){return!1!==t.idle}function e9(t){return!t.size||Array.from(t).every(e8)}function nt(t){t.idle||(t.idle=!0,S(tK(t),t=>{t.done=!0}),t_(t,{type:"idle",parent:t}))}var ne=(t,...e)=>new e4(t,e);A.assign({createStringInterpolator:tN,to:(t,e)=>new e4(t,e)}),q.advance;var nn=n(73222),nr=/^--/,ni={},no={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},na=(t,e)=>t+e.charAt(0).toUpperCase()+e.substring(1),ns=["Webkit","Ms","Moz","O"];no=Object.keys(no).reduce((t,e)=>(ns.forEach(n=>t[na(n,e)]=t[e]),t),no);var nl=/^(matrix|translate|scale|rotate|skew)/,nu=/^(translate)/,nc=/^(rotate|skew)/,nd=(t,e)=>P.num(t)&&0!==t?t+e:t,nh=(t,e)=>P.arr(t)?t.every(t=>nh(t,e)):P.num(t)?t===e:parseFloat(t)===e,nf=class extends t2{constructor({x:t,y:e,z:n,...r}){let i=[],o=[];(t||e||n)&&(i.push([t||0,e||0,n||0]),o.push(t=>[`translate3d(${t.map(t=>nd(t,"px")).join(",")})`,nh(t,0)])),$(r,(t,e)=>{if("transform"===e)i.push([t||""]),o.push(t=>[t,""===t]);else if(nl.test(e)){if(delete r[e],P.und(t))return;let n=nu.test(e)?"px":nc.test(e)?"deg":"";i.push(E(t)),o.push("rotate3d"===e?([t,e,r,i])=>[`rotate3d(${t},${e},${r},${nd(i,n)})`,nh(i,0)]:t=>[`${e}(${t.map(t=>nd(t,n)).join(",")})`,nh(t,e.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new np(i,o)),super(r)}},np=class extends tw{constructor(t,e){super(),this.inputs=t,this.transforms=e,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let t="",e=!0;return S(this.inputs,(n,r)=>{let i=ty(n[0]),[o,a]=this.transforms[r](P.arr(i)?i:n.map(ty));t+=" "+o,e=e&&a}),e?"none":t}observerAdded(t){1==t&&S(this.inputs,t=>S(t,t=>tx(t)&&tZ(t,this)))}observerRemoved(t){0==t&&S(this.inputs,t=>S(t,t=>tx(t)&&tk(t,this)))}eventObserved(t){"change"==t.type&&(this._value=null),t_(this,t)}};A.assign({batchedUpdates:nn.unstable_batchedUpdates,createStringInterpolator:tN,colors:{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,dar
3kgoldenrod: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}});var ng=((t,{applyAnimatedValues:e=()=>!1,createAnimatedStyle:n=t=>new t2(t),getComponentProps:r=t=>t}={})=>{let i={applyAnimatedValues:e,createAnimatedStyle:n,getComponentProps:r},o=t=>{let e=t9(t)||"Anonymous";return(t=P.str(t)?o[t]||(o[t]=t7(t,i)):t[t8]||(t[t8]=t7(t,i))).displayName=`Animated(${e})`,t};return $(t,(e,n)=>{P.arr(t)&&(n=t9(e)),o[n]=o(e)}),{animated:o}})(["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"],{applyAnimatedValues:function(t,e){if(!t.nodeType||!t.setAttribute)return!1;let n="filter"===t.nodeName||t.parentNode&&"filter"===t.parentNode.nodeName,{className:r,style:i,children:o,scrollTop:a,scrollLeft:s,viewBox:l,...u}=e,c=Object.values(u),d=Object.keys(u).map(e=>n||t.hasAttribute(e)?e:ni[e]||(ni[e]=e.replace(/([A-Z])/g,t=>"-"+t.toLowerCase())));for(let e in void 0!==o&&(t.textContent=o),i)if(i.hasOwnProperty(e)){var h;let n=null==(h=i[e])||"boolean"==typeof h||""===h?"":"number"!=typeof h||0===h||nr.test(e)||no.hasOwnProperty(e)&&no[e]?(""+h).trim():h+"px";nr.test(e)?t.style.setProperty(e,n):t.style[e]=n}
3d.forEach((e,n)=>{t.setAttribute(e,c[n])}),void 0!==r&&(t.className=r),void 0!==a&&(t.scrollTop=a),void 0!==s&&(t.scrollLeft=s),void 0!==l&&t.setAttribute("viewBox",l)},createAnimatedStyle:t=>new nf(t),getComponentProps:({scrollTop:t,scrollLeft:e,...n})=>n}).animated},72606:function(t,e,n){"use strict";function r(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}n.d(e,{Z:function(){return r}})},16305:function(t,e,n){"use strict";n.d(e,{ZP:function(){return s}});var r=n(72606),i=n(24172);let o=(0,i.Z)(r.Z),a=o.right;o.left,(0,i.Z)(function(t){return null===t?NaN:+t}).center;var s=a},24172:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(72606);function i(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function o(t){let e,n,o;function s(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{let e=i+o>>>1;0>n(t[e],r)?i=e+1:o=e}while(i<o)}return i}return 2!==t.length?(e=r.Z,n=(e,n)=>(0,r.Z)(t(e),n),o=(e,n)=>t(e)-n):(e=t===r.Z||t===i?t:a,n=t,o=t),{left:s,center:function(t,e,n=0,r=t.length){let i=s(t,e,n,r-1);return i>n&&o(t[i-1],e)>-o(t[i],e)?i-1:i},right:function(t,r,i=0,o=t.length){if(i<o){if(0!==e(r,r))return o;do{let e=i+o>>>1;0>=n(t[e],r)?i=e+1:o=e}while(i<o)}return i}}}function a(){return 0}},55054:function(t,e,n){"use strict";n.d(e,{G9:function(){return l},ZP:function(){return s},ly:function(){return u}});let r=Math.sqrt(50),i=Math.sqrt(10),o=Math.sqrt(2);function a(t,e,n){let s,l,u;let c=(e-t)/Math.max(0,n),d=Math.floor(Math.log10(c)),h=c/Math.pow(10,d),f=h>=r?10:h>=i?5:h>=o?2:1;
3return(d<0?(s=Math.round(t*(u=Math.pow(10,-d)/f)),l=Math.round(e*u),s/u<t&&++s,l/u>e&&--l,u=-u):(s=Math.round(t/(u=Math.pow(10,d)*f)),l=Math.round(e/u),s*u<t&&++s,l*u>e&&--l),l<s&&.5<=n&&n<2)?a(t,e,2*n):[s,l,u]}function s(t,e,n){if(e=+e,t=+t,!((n=+n)>0))return[];if(t===e)return[t];let r=e<t,[i,o,s]=r?a(e,t,n):a(t,e,n);if(!(o>=i))return[];let l=o-i+1,u=Array(l);if(r){if(s<0)for(let t=0;t<l;++t)u[t]=-((o-t)/s);else for(let t=0;t<l;++t)u[t]=(o-t)*s}else if(s<0)for(let t=0;t<l;++t)u[t]=-((i+t)/s);else for(let t=0;t<l;++t)u[t]=(i+t)*s;return u}function l(t,e,n){return a(t=+t,e=+e,n=+n)[2]}function u(t,e,n){e=+e,t=+t,n=+n;let r=e<t,i=r?l(e,t,n):l(t,e,n);return(r?-1:1)*(i<0?-(1/i):i)}},79795:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function o(){}n.d(e,{ZP:function(){return y},B8:function(){return w}});var a="\\s*([+-]?\\d+)\\s*",s="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",u=/^#([0-9a-f]{3,8})$/,c=RegExp(`^rgb\\(${a},${a},${a}\\)$`),d=RegExp(`^rgb\\(${l},${l},${l}\\)$`),h=RegExp(`^rgba\\(${a},${a},${a},${s}\\)$`),f=RegExp(`^rgba\\(${l},${l},${l},${s}\\)$`),p=RegExp(`^hsl\\(${s},${l},${l}\\)$`),g=RegExp(`^hsla\\(${s},${l},${l},${s}\\)$`),m={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};function v(){return this.rgb().formatHex()}function x(){return this.rgb().formatRgb()}function y(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=u.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?b(e):3===n?
3new M(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?_(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?_(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=c.exec(t))?new M(e[1],e[2],e[3],1):(e=d.exec(t))?new M(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=h.exec(t))?_(e[1],e[2],e[3],e[4]):(e=f.exec(t))?_(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=p.exec(t))?T(e[1],e[2]/100,e[3]/100,1):(e=g.exec(t))?T(e[1],e[2]/100,e[3]/100,e[4]):m.hasOwnProperty(t)?b(m[t]):"transparent"===t?new M(NaN,NaN,NaN,0):null}function b(t){return new M(t>>16&255,t>>8&255,255&t,1)}function _(t,e,n,r){return r<=0&&(t=e=n=NaN),new M(t,e,n,r)}function w(t,e,n,r){var i;return 1==arguments.length?((i=t)instanceof o||(i=y(i)),i)?new M((i=i.rgb()).r,i.g,i.b,i.opacity):new M:new M(t,e,n,null==r?1:r)}function M(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Z(){return`#${I(this.r)}${I(this.g)}${I(this.b)}`}function k(){let t=C(this.opacity);return`${1===t?"rgb(":"rgba("}${A(this.r)}, ${A(this.g)}, ${A(this.b)}${1===t?")":`, ${t})`}`}function C(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function A(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function I(t){return((t=A(t))<16?"0":"")+t.toString(16)}function T(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new j(t,e,n,r)}function P(t){if(t instanceof j)return new j(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=y(t)),!t)return new j;if(t instanceof j)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),s=NaN,l=a-i,u=(a+i)/2;return l?(s=e===a?(n-r)/l+(n<r)*6:n===a?(r-e)/l+2:(e-n)/l+4,l/=u<.5?a+i:2-a-i,s*=60):l=u>0&&u<1?0:s,new j(s,l,u,t.opacity)}function j(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function S(t){return(t=(t||0)%360)<0?t+360:t}function $(t){return Math.max(0,Math.min(1,t||0))}function E(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}r(o,y,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:v,formatHex:v,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return P(this).formatHsl()},formatRgb:x,toString:x}),r(M,w,i(o,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new M(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new M(A(this.r),A(this.g),A(this.b),C(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:Z,formatHex:Z,formatHex8:function(){return`#${I(this.r)}${I(this.g)}${I(this.b)}${I((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:k,toString:k})),r(j,function(t,e,n,r){return 1==arguments.length?P(t):new j(t,e,n,null==r?1:r)},i(o,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new j(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new j(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new M(E(t>=240?t-240:t+120,i,r),E(t,i,r),E(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new j(S(this.h),$(this.s),$(this.l),C(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(){let t=C(this.opacity);return`${1===t?"hsl(":"hsla("}${S(this.h)}, ${100*$(this.s)}%, ${100*$(this.l)}%${1===t?")":`, ${t})`}`}}))},75762:function(t,e,n){"use strict";n.d(e,{WU:function(){return o},jH:function(){return a}});var r,i,o,a,s=n(12607),l=n(35228),u=n(56003);function c(t,e){var n=(0,u.V)(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}var d={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:u.Z,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>c(100*t,e),r:c,s:function(t,e){var n=(0,u.V)(t,e);if(!n)return t+"";var i=n[0],o=n[1],a=o-(r=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,s=i.length;return a===s?i:a>s?i+Array(a-s+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+(0,u.V)(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function h(t){return t}var f=Array.prototype.map,p=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];o=(i=function(t){var e,n,i,o=void 0===t.grouping||void 0===t.thous
3ands?h:(e=f.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),a=void 0===t.currency?"":t.currency[0]+"",u=void 0===t.currency?"":t.currency[1]+"",c=void 0===t.decimal?".":t.decimal+"",g=void 0===t.numerals?h:(i=f.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),m=void 0===t.percent?"%":t.percent+"",v=void 0===t.minus?"−":t.minus+"",x=void 0===t.nan?"NaN":t.nan+"";function y(t){var e=(t=(0,l.Z)(t)).fill,n=t.align,i=t.sign,s=t.symbol,h=t.zero,f=t.width,y=t.comma,b=t.precision,_=t.trim,w=t.type;"n"===w?(y=!0,w="g"):d[w]||(void 0===b&&(b=12),_=!0,w="g"),(h||"0"===e&&"="===n)&&(h=!0,e="0",n="=");var M="$"===s?a:"#"===s&&/[boxX]/.test(w)?"0"+w.toLowerCase():"",Z="$"===s?u:/[%p]/.test(w)?m:"",k=d[w],C=/[defgprs%]/.test(w);function A(t){var a,s,l,u=M,d=Z;if("c"===w)d=k(t)+d,t="";else{var m=(t=+t)<0||1/t<0;if(t=isNaN(t)?x:k(Math.abs(t),b),_&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),m&&0==+t&&"+"!==i&&(m=!1),u=(m?"("===i?i:v:"-"===i||"("===i?"":i)+u,d=("s"===w?p[8+r/3]:"")+d+(m&&"("===i?")":""),C){for(a=-1,s=t.length;++a<s;)if(48>(l=t.charCodeAt(a))||l>57){d=(46===l?c+t.slice(a+1):t.slice(a))+d,t=t.slice(0,a);break}}}y&&!h&&(t=o(t,1/0));var A=u.length+t.length+d.length,I=A<f?Array(f-A+1).join(e):"";switch(y&&h&&(t=o(I+t,I.length?f-d.length:1/0),I=""),n){case"<":t=u+t+d+I;break;case"=":t=u+I+t+d;break;case"^":t=I.slice(0,A=I.length>>1)+u+t+d+I.slice(A);break;default:t=I+u+t+d}return g(t)}return b=void 0===b?6:/[gprs]/.test(w)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),A.toString=function(){return t+""},A}return{format:y,formatPrefix:function(t,e){var n=y(((t=(0,l.Z)(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor((0,s.Z)(e)/3))),i=Math.pow(10,-r),o=p[8+r/3];return function(t){return n(i*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,a=i.formatPrefix},12607:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(56003);function i(t){return(t=(0,r.V)(Math.abs(t)))?t[1]:NaN}},56003:function(t,e,n){"use strict";function r(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function i(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}n.d(e,{V:function(){return i},Z:function(){return r}})},35228:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){var e;if(!(e=r.exec(t)))throw Error("invalid format: "+t);return new o({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function o(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},17848:function(t,e,n){"use strict";function r(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}n.d(e,{Z:function(){return r}})},59099:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}n.d(e,{Z:function(){return r}})},50700:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}n.d(e,{Z:function(){return r}})},82957:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=n(59099),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,o=RegExp(i.source,"g");function a(t,e){var n,a,s,l,u,c=i.lastIndex=o.lastIndex=0,d=-1,h=[],f=[];for(t+="",e+="";(s=i.exec(t))&&(l=o.exec(e));)(u=l.index)>c&&(u=e.slice(c,u),h[d]?h[d]+=u:h[++d]=u),(s=s[0])===(l=l[0])?h[d]?h[d]+=l:h[++d]=l:(
3h[++d]=null,f.push({i:d,x:(0,r.Z)(s,l)})),c=o.lastIndex;return c<e.length&&(u=e.slice(c),h[d]?h[d]+=u:h[++d]=u),h.length<2?f[0]?(n=f[0].x,function(t){return n(t)+""}):(a=e,function(){return a}):(e=f.length,function(t){for(var n,r=0;r<e;++r)h[(n=f[r]).i]=n.x(t);return h.join("")})}},99263:function(t,e,n){"use strict";n.d(e,{Z:function(){return function t(e,n){var i,a,l=typeof n;return null==n||"boolean"===l?o(n):("number"===l?c.Z:"string"===l?(a=(0,r.ZP)(n))?(n=a,s):d.Z:n instanceof r.ZP?s:n instanceof Date?u.Z:!ArrayBuffer.isView(i=n)||i instanceof DataView?Array.isArray(n)?function(e,n){var r,i=n?n.length:0,o=e?Math.min(i,e.length):0,a=Array(o),s=Array(i);for(r=0;r<o;++r)a[r]=t(e[r],n[r]);for(;r<i;++r)s[r]=n[r];return function(t){for(r=0;r<o;++r)s[r]=a[r](t);return s}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(e,n){var r,i={},o={};for(r in(null===e||"object"!=typeof e)&&(e={}),(null===n||"object"!=typeof n)&&(n={}),n)r in e?i[r]=t(e[r],n[r]):o[r]=n[r];return function(t){for(r in i)o[r]=i[r](t);return o}}:c.Z:function(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}})(e,n)}}});var r=n(79795);function i(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}var o=t=>()=>t;function a(t,e){var n=e-t;return n?function(e){return t+e*n}:o(isNaN(t)?e:t)}var s=function t(e){var n,i=1==(n=+(n=e))?a:function(t,e){var r,i,a;return e-t?(r=t,i=e,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(t){return Math.pow(r+t*i,a)}):o(isNaN(t)?e:t)};function s(t,e){var n=i((t=(0,r.B8)(t)).r,(e=(0,r.B8)(e)).r),o=i(t.g,e.g),s=i(t.b,e.b),l=a(t.opacity,e.opacity);return function(e){return t.r=n(e),t.g=o(e),t.b=s(e),t.opacity=l(e),t+""}}return s.gamma=t,s}(1);function l(t){return function(e){var n,i,o=e.length,a=Array(o),s=Array(o),l=Array(o);for(n=0;n<o;++n)i=(0,r.B8)(e[n]),a[n]=i.r||0,s[n]=i.g||0,l[n]=i.b||0;return a=t(a),s=t(s),l=t(l),i.opacity=1,function(t){return i.r=a(t),i.g=s(t),i.b=l(t),i+""}}}l(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),o=t[r],a=t[r+1],s=r>0?t[r-1]:2*o-a,l=r<e-1?t[r+2]:2*a-o;return i((n-r/e)*e,s,o,a,l)}}),l(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),o=t[(r+e-1)%e],a=t[r%e],s=t[(r+1)%e],l=t[(r+2)%e];return i((n-r/e)*e,o,a,s,l)}});var u=n(17848),c=n(59099),d=n(82957)},56425:function(t,e,n){"use strict";n.d(e,{JG:function(){return f},ZP:function(){return g},yR:function(){return u},l4:function(){return p}});var r=n(16305),i=n(99263),o=n(59099),a=n(50700);function s(t){return+t}var l=[0,1];function u(t){return t}function c(t,e){var n;return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n})}function d(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=c(i,r),o=n(a,o)):(r=c(r,i),o=n(o,a)),function(t){return o(r(t))}}function h(t,e,n){var i=Math.min(t.length,e.length)-1,o=Array(i),a=Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)o[s]=c(t[s],t[s+1]),a[s]=n(e[s],e[s+1]);return function(e){var n=(0,r.ZP)(t,e,1,i)-1;return a[n](o[n](e))}}function f(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function p(){var t,e,n,r,c,f,p=l,g=l,m=i.Z,v=u;function x(){var t,e,n,i=Math.min(p.length,g.length);return v!==u&&(t=p[0],e=p[i-1],t>e&&(n=t,t=e,e=n),v=function(n){return Math.max(t,Math.min(e,n))}),r=i>2?h:d,c=f=null,y}function y(e){return null==e||isNaN(e=+e)?n:(c||(c=r(p.map(t),g,m)))(t(v(e)))}return y.invert=function(n){return v(e((f||(f=r(g,p.map(t),o.Z)))(n)))},y.domain=function(t){return arguments.length?(p=Array.from(t,s),x()):p.slice()},y.range=function(t){return arguments.length?(g=Array.from(t),x()):g.slice()},y.rangeRound=function(t){return g=Array.from(t),m=a.Z,x()},y.clamp=function(t){return arguments.length?(v=!!t||u,x()):v!==u},y.interpolate=function(t){return arguments.length?(m=t,x()):m},y.unknown=function(t){return arguments.length?(n=t,y):n},function(n,r){return t=n,e=r,x()}}function g(){return p()(u,u)}},11061:function(t,e,n){"use strict";function r(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function i(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}n.d(e,{O:function(){return i},o:function(){return r}})},67875:function(t,e,n){"use strict";n.d(e,{Z:function(){return function t(){var e=(0,i.ZP)();return e.copy=function(){return(0,i.JG)(e,t())},o.o.apply(e,arguments),u(e)}},Q:function(){return u}});var r=n(55054),i=n(56425),o=n(11061),a=n(35228),s=n(12607),l=n(75762);function u(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,r.ZP)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return function(t,e,n,i){var o,u,c,d=(0,r.ly)(t,e,n);switch((i=(0,a.Z)(null==i?",f":i)).type){case"s":var h=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(c=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,s.Z)(h)/3)))-(0,s.Z)(Math.abs(d))))||(i.precision=c),(0,l.jH)(i,h);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN((o=d,u=Math.abs(u=Math.max(Math.abs(t),Math.abs(e)))-(o=Math.abs(o)),c=Math.max(0,(0,s.Z)(u)-(0,s.Z)(o))+1))||(i.precision=c-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(c=Math.max(0,-(0,s.Z)(Math.abs(d))))||(i.precision=c-("%"===i.type)*2)}return(0,l.WU)(i)}(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,o,a=e(),s=0,l=a.length-1,u=a[s],c=a[l],d=10;for(c<u&&(o=u,u=c,c=o,o=s,s=l,l=o);d-- >0;){if((o=(0,r.G9)(u,c,n))===i)return a[s]=u,a[l]=c,e(a);if(o>0)u=Math.floor(u/o)*o,c=Math.ceil(c/o)*o;else if(o<0)u=Math.ceil(u*o)/o,c=Math.floor(c*o)/o;else break;i=o}return t},t}},25018:function(t,e,n){"use strict";n.d(e,{Z:function(){return function t(){var e=new r,n=[],i=[],o=s;function l(t){let r=e.get(t);if(void 0===r){if(o!==s)return o;e.set(t,r=n.push(t)-1)}return i[r%i.length]}return l.domain=function(t){if(!arguments.length)return n.slice();for(let i of(n=[],e=new r,t))e.has(i)||e.set(i,n.push(i)-1);return l},l.range=function(t){return arguments.length?(i=Array.from(t),l):i.slice()},l.unknown=function(t){return arguments.length?(o=t,l):o},l.copy=function(){return t(n,i).unknown(o)},a.o.apply(l,arguments),l}}});class r extends Map{constructor(t,e=o){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,n]of t)this.set(e,n)}get(t){return super.get(i(this,t))}has(t){return super.has(i(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):(t.set(r,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){let r=e(n);return t.has(r)&&(n=t.get(r),t.delete(r)),n}(this,t))}}function i({_intern:t,_key:e},n){let r=e(n);return t.has(r)?t.get(r):n}function o(t){return null!==t&&"object"==typeof t?t.valueOf():t}var a=n(11061);
3let s=Symbol("implicit")},64470:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}n.d(e,{Z:function(){return r}}),Array.prototype.slice},92202:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{Z:function(){return r}})},82166:function(t,e,n){"use strict";n.d(e,{BZ:function(){return u},Ho:function(){return s},O$:function(){return o},VV:function(){return i},_b:function(){return a},mC:function(){return r},pi:function(){return l}});let r=Math.cos,i=Math.min,o=Math.sin,a=Math.sqrt,s=1e-12,l=Math.PI,u=2*l},14698:function(t,e,n){"use strict";n.d(e,{Z:function(){return a}});var r=/\s/,i=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e},o=/^\s+/,a=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t}},50857:function(t,e,n){"use strict";var r=n(99475),i=1/0;e.Z=function(t){return t?(t=(0,r.Z)(t))===i||t===-i?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}},99475:function(t,e,n){"use strict";var r=n(14698),i=n(91710),o=n(78925),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.Z=function(t){if("number"==typeof t)return t;if((0,o.Z)(t))return a;if((0,i.Z)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,i.Z)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=(0,r.Z)(t);var n=l.test(t);return n||u.test(t)?c(t.slice(2),n?2:8):s.test(t)?a:+t}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.