dash_mantine_components 1.3.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[247],{37980:(e,t,r)=>{r.r(t),r.d(t,{default:()=>_});var i=r(31635),o=r(74848),a=r(40295),s=r.n(a),n=r(84124),l=r(57158),c=r(44653),d=r(50300),h=r(97018),p=r(69107),u=r(77984),f=r(91706),y=r(23495),x=r(78687),m=r(59396),v=r(86344),k=r(2412),A=r(46100),g=r(1101),C=r(99274),j=r(52837),P=r(14791),D=r(6585),N=r(45849),b=r(88498),L=r(11072);function O({offset:e,id:t,colors:r,fillOpacity:i}){const a=(0,g.xd)();return(0,o.jsxs)("linearGradient",{id:t,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,o.jsx)("stop",{offset:e,stopColor:(0,v.r)(r[0],a),stopOpacity:i??.2}),(0,o.jsx)("stop",{offset:e,stopColor:(0,v.r)(r[1],a),stopOpacity:i??.2})]})}function S({data:e,series:t}){return 1===t.length?function({data:e,dataKey:t}){const r=Math.max(...e.map((e=>e[t]))),i=Math.min(...e.map((e=>e[t])));return r<=0?0:i>=0?1:r/(r-i)}({data:e,dataKey:t[0].name}):.5}O.displayName="@mantine/charts/AreaSplit";var w=r(89133);function $(e){return`${(100*e).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withDots:!0,withTooltip:!0,connectNulls:!0,strokeWidth:2,tooltipAnimationDuration:0,fillOpacity:.2,tickLine:"y",strokeDasharray:"5 5",curveType:"monotone",gridAxis:"x",type:"default",splitColors:["green.7","red.7"],orientation:"horizontal"},z=(0,m.V)(((e,{textColor:t,gridColor:r})=>({root:{"--chart-text-color":t?(0,v.r)(t,e):void 0,"--chart-grid-color":r?(0,v.r)(r,e):void 0}}))),K=(0,k.P9)(((e,t)=>{const r=(0,A.Y)("AreaChart",I,e),{classNames:i,className:s,style:m,styles:k,unstyled:K,vars:M,data:W,series:_,withGradient:F,dataKey:Q,withXAxis:Y,withYAxis:G,curveType:T,gridProps:R,withDots:X,tickLine:E,strokeDasharray:H,gridAxis:J,unit:B,yAxisProps:V,xAxisProps:Z,dotProps:q,activeDotProps:U,strokeWidth:ee,tooltipAnimationDuration:te,type:re,legendProps:ie,tooltipProps:oe,withLegend:ae,withTooltip:se,areaChartProps:ne,fillOpacity:le,splitColors:ce,splitOffset:de,connectNulls:he,onMouseLeave:pe,orientation:ue,referenceLines:fe,dir:ye,valueFormatter:xe,children:me,areaProps:ve,xAxisLabel:ke,yAxisLabel:Ae,withRightYAxis:ge,rightYAxisLabel:Ce,rightYAxisProps:je,withPointLabels:Pe,gridColor:De,textColor:Ne,...be}=r,Le=(0,g.xd)(),Oe=(0,a.useId)(),Se=`${Oe}-split`,we="none"!==J&&("x"===E||"xy"===E),$e="none"!==J&&("y"===E||"xy"===E),Ie=(te||0)>0,ze="boolean"==typeof F?F:"default"===re,Ke="stacked"===re||"percent"===re,[Me,We]=(0,a.useState)(null),_e=null!==Me,{resolvedClassNames:Fe,resolvedStyles:Qe}=(0,C.Y)({classNames:i,styles:k,props:r}),Ye=(0,j.I)({name:"AreaChart",classes:w.A,props:r,className:s,style:m,classNames:i,styles:k,unstyled:K,vars:M,varsResolver:z}),Ge=_.map((e=>{const t=(0,v.r)(e.color,Le),r=_e&&Me!==e.name;return(0,a.createElement)(n.G,{...Ye("area"),activeDot:{fill:Le.white,stroke:t,strokeWidth:2,r:4,...U},dot:{fill:t,fillOpacity:r?0:1,strokeWidth:2,r:4,...q},key:e.name,name:e.name,type:T,dataKey:e.name,fill:"none",strokeWidth:ee,stroke:"none",isAnimationActive:!1,connectNulls:he,stackId:Ke?"stack-dots":void 0,yAxisId:e.yAxisId||"left",..."function"==typeof ve?ve(e):ve})})),Te=_.map((e=>{const t=`${Oe}-${e.color.replace(/[^a-zA-Z0-9]/g,"")}`,r=(0,v.r)(e.color,Le),i=_e&&Me!==e.name;return(0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)("defs",{children:(0,o.jsx)(L.s,{color:r,withGradient:ze,id:t,fillOpacity:le})}),(0,o.jsx)(n.G,{...Ye("area"),activeDot:!1,dot:!1,name:e.name,type:T,dataKey:e.name,fill:"split"===re?`url(#${Se})`:`url(#${t})`,strokeWidth:ee,stroke:r,isAnimationActive:!1,connectNulls:he,stackId:Ke?"stack":void 0,fillOpacity:i?0:1,strokeOpacity:i?.5:1,strokeDasharray:e.strokeDasharray,yAxisId:e.yAxisId||"left",label:Pe?(0,o.jsx)(b.x,{valueFormatter:xe}):void 0,..."function"==typeof ve?ve(e):ve})]},e.name)})),Re=fe?.map(((e,t)=>{const r=(0,v.r)(e.color,Le);return(0,o.jsx)(l.e,{stroke:e.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:e.yAxisId||"left",...e,label:{value:e.label,fill:e.color?r:"currentColor",fontSize:12,position:e.labelPosition??"insideBottomLeft"},...Ye("referenceLine")},t)})),Xe="percent"===re?$:xe,Ee={axisLine:!1,..."vertical"===ue?{dataKey:Q,type:"category"}:{type:"number"},tickLine:!!$e&&{stroke:"currentColor"},allowDecimals:!0,unit:B,tickFormatter:"vertical"===ue?void 0:Xe,...Ye("axis")};return(0,o.jsx)(P.a,{ref:t,...Ye("root"),onMouseLeave:e=>{We(null),pe?.(e)},dir:ye||"ltr",...be,children:(0,o.jsx)(c.u,{...Ye("container"),children:(0,o.jsxs)(d.Q,{data:W,stackOffset:"percent"===re?"expand":void 0,layout:ue,margin:{bottom:ke?30:void 0,left:Ae?10:void 0,right:Ae?5:void 0},...ne,children:[Re,ae&&(0,o.jsx)(h.s,{verticalAlign:"top",content:e=>(0,o.jsx)(D._,{payload:e.payload,onHighlight:We,legendPosition:ie?.verticalAlign||"top",classNames:Fe,styles:Qe,series:_}),...ie}),(0,o.jsx)(p.d,{strokeDasharray:H,vertical:"y"===J||"xy"===J,horizontal:"x"===J||"xy"===J,...Ye("grid"),...R}),(0,o.jsxs)(u.W,{hide:!Y,..."vertical"===ue?{type:"number"}:{dataKey:Q},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!we&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ue?Xe:void 0,...Ye("axis"),...Z,children:[ke&&(0,o.jsx)(f.J,{position:"insideBottom",offset:-20,fontSize:12,...Ye("axisLabel"),children:ke}),Z?.children]}),(0,o.jsxs)(y.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!G,...Ee,...V,children:[Ae&&(0,o.jsx)(f.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Ye("axisLabel"),children:Ae}),V?.children]}),(0,o.jsxs)(y.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!ge,...Ee,...je,children:[Ce&&(0,o.jsx)(f.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Ye("axisLabel"),children:Ce}),V?.children]}),se&&(0,o.jsx)(x.m,{animationDuration:te,isAnimationActive:Ie,position:"vertical"===ue?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:H},content:({label:e,payload:t})=>(0,o.jsx)(N.I,{label:e,payload:t,unit:B,classNames:Fe,styles:Qe,series:_,valueFormatter:xe}),...oe}),"split"===re&&(0,o.jsx)("defs",{children:(0,o.jsx)(O,{colors:ce,id:Se,offset:de??S({data:W,series:_}),fillOpacity:le})}),Te,X&&Ge,me]})})})}));K.classes=w.A,K.displayName="@mantine/charts/AreaChart",r(19319);var M=r(83837),W=r(57479);const _=function(e){var t=e.setProps,r=e.loading_state,o=(e.clickData,e.hoverData,e.clickSeriesName,e.hoverSeriesName,e.series),n=e.highlightHover,l=void 0!==n&&n,c=e.areaChartProps,d=e.activeDotProps,h=e.areaProps,p=(0,i.Tt)(e,["setProps","loading_state","clickData","hoverData","clickSeriesName","hoverSeriesName","series","highlightHover","areaChartProps","activeDotProps","areaProps"]),u=(0,a.useState)(null),f=u[0],y=u[1],x=l&&null!==f,m=(0,a.useRef)(null),v=function(e){(0,M.$Q)(e)&&(m.current=e.name)},k=function(e){if((0,M.$Q)(e)){var t=e.name;m.current=t,y(t)}},A=function(){y(null)},g=(0,i.Cl)((0,i.Cl)({},c),{onClick:function(e){(0,M.$Q)(e)&&t({clickSeriesName:m.current,clickData:(0,M.X$)(e)}),m.current=null},onMouseOver:function(e){(0,M.$Q)(e)&&t({hoverSeriesName:m.current,hoverData:(0,M.X$)(e)}),m.current=null}});return s().createElement(K,(0,i.Cl)({"data-dash-is-loading":(0,W.A_)(r)||void 0,areaChartProps:g,series:o,activeDotProps:(0,i.Cl)((0,i.Cl)({},d),{onClick:function(e,t){(0,M.$Q)(e)&&(m.current=t.dataKey)},onMouseOver:function(e,t){if((0,M.$Q)(e)){var r=t.dataKey;m.current=r,y(r)}},onMouseOut:A}),areaProps:function(e){var t=x&&f!==e.name,r=(0,i.Cl)((0,i.Cl)({},h),{onClick:v,onMouseOver:k,onMouseOut:A});return t&&(r.fillOpacity=.1,r.strokeOpacity=.2),r}},p))}}}]);
1
+ "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[247],{7980:(t,e,r)=>{r.r(e),r.d(e,{default:()=>_});var i=r(1635),o=r(4848),a=r(295),s=r.n(a),n=r(4124),l=r(7158),c=r(4653),d=r(300),p=r(7018),h=r(9107),u=r(7984),f=r(1706),y=r(3495),m=r(8687),x=r(9396),v=r(6344),k=r(2412),A=r(6100),g=r(1101),C=r(9274),P=r(2837),j=r(4791),D=r(6585),N=r(5849),b=r(8498),L=r(1072);function O({offset:t,id:e,colors:r,fillOpacity:i}){const a=(0,g.xd)();return(0,o.jsxs)("linearGradient",{id:e,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,o.jsx)("stop",{offset:t,stopColor:(0,v.r)(r[0],a),stopOpacity:i??.2}),(0,o.jsx)("stop",{offset:t,stopColor:(0,v.r)(r[1],a),stopOpacity:i??.2})]})}function S({data:t,series:e}){return 1===e.length?function({data:t,dataKey:e}){const r=Math.max(...t.map((t=>t[e]))),i=Math.min(...t.map((t=>t[e])));return r<=0?0:i>=0?1:r/(r-i)}({data:t,dataKey:e[0].name}):.5}O.displayName="@mantine/charts/AreaSplit";var w=r(9133);function $(t){return`${(100*t).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withDots:!0,withTooltip:!0,connectNulls:!0,strokeWidth:2,tooltipAnimationDuration:0,fillOpacity:.2,tickLine:"y",strokeDasharray:"5 5",curveType:"monotone",gridAxis:"x",type:"default",splitColors:["green.7","red.7"],orientation:"horizontal"},z=(0,x.V)(((t,{textColor:e,gridColor:r})=>({root:{"--chart-text-color":e?(0,v.r)(e,t):void 0,"--chart-grid-color":r?(0,v.r)(r,t):void 0}}))),F=(0,k.P9)(((t,e)=>{const r=(0,A.Y)("AreaChart",I,t),{classNames:i,className:s,style:x,styles:k,unstyled:F,vars:K,data:M,series:W,withGradient:_,dataKey:Q,withXAxis:Y,withYAxis:G,curveType:T,gridProps:R,withDots:X,tickLine:E,strokeDasharray:H,gridAxis:J,unit:q,yAxisProps:B,xAxisProps:V,dotProps:Z,activeDotProps:U,strokeWidth:tt,tooltipAnimationDuration:et,type:rt,legendProps:it,tooltipProps:ot,withLegend:at,withTooltip:st,areaChartProps:nt,fillOpacity:lt,splitColors:ct,splitOffset:dt,connectNulls:pt,onMouseLeave:ht,orientation:ut,referenceLines:ft,dir:yt,valueFormatter:mt,children:xt,areaProps:vt,xAxisLabel:kt,yAxisLabel:At,withRightYAxis:gt,rightYAxisLabel:Ct,rightYAxisProps:Pt,withPointLabels:jt,gridColor:Dt,textColor:Nt,...bt}=r,Lt=(0,g.xd)(),Ot=(0,a.useId)(),St=`${Ot}-split`,wt="none"!==J&&("x"===E||"xy"===E),$t="none"!==J&&("y"===E||"xy"===E),It=(et||0)>0,zt="boolean"==typeof _?_:"default"===rt,Ft="stacked"===rt||"percent"===rt,[Kt,Mt]=(0,a.useState)(null),Wt=null!==Kt,{resolvedClassNames:_t,resolvedStyles:Qt}=(0,C.Y)({classNames:i,styles:k,props:r}),Yt=(0,P.I)({name:"AreaChart",classes:w.A,props:r,className:s,style:x,classNames:i,styles:k,unstyled:F,vars:K,varsResolver:z}),Gt=W.map((t=>{const e=(0,v.r)(t.color,Lt),r=Wt&&Kt!==t.name;return(0,a.createElement)(n.G,{...Yt("area"),activeDot:{fill:Lt.white,stroke:e,strokeWidth:2,r:4,...U},dot:{fill:e,fillOpacity:r?0:1,strokeWidth:2,r:4,...Z},key:t.name,name:t.name,type:T,dataKey:t.name,fill:"none",strokeWidth:tt,stroke:"none",isAnimationActive:!1,connectNulls:pt,stackId:Ft?"stack-dots":void 0,yAxisId:t.yAxisId||"left",..."function"==typeof vt?vt(t):vt})})),Tt=W.map((t=>{const e=`${Ot}-${t.color.replace(/[^a-zA-Z0-9]/g,"")}`,r=(0,v.r)(t.color,Lt),i=Wt&&Kt!==t.name;return(0,o.jsxs)(a.Fragment,{children:[(0,o.jsx)("defs",{children:(0,o.jsx)(L.s,{color:r,withGradient:zt,id:e,fillOpacity:lt})}),(0,o.jsx)(n.G,{...Yt("area"),activeDot:!1,dot:!1,name:t.name,type:T,dataKey:t.name,fill:"split"===rt?`url(#${St})`:`url(#${e})`,strokeWidth:tt,stroke:r,isAnimationActive:!1,connectNulls:pt,stackId:Ft?"stack":void 0,fillOpacity:i?0:1,strokeOpacity:i?.5:1,strokeDasharray:t.strokeDasharray,yAxisId:t.yAxisId||"left",label:jt?(0,o.jsx)(b.x,{valueFormatter:mt}):void 0,..."function"==typeof vt?vt(t):vt})]},t.name)})),Rt=ft?.map(((t,e)=>{const r=(0,v.r)(t.color,Lt);return(0,o.jsx)(l.e,{stroke:t.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:t.yAxisId||"left",...t,label:{value:t.label,fill:t.color?r:"currentColor",fontSize:12,position:t.labelPosition??"insideBottomLeft"},...Yt("referenceLine")},e)})),Xt="percent"===rt?$:mt,Et={axisLine:!1,..."vertical"===ut?{dataKey:Q,type:"category"}:{type:"number"},tickLine:!!$t&&{stroke:"currentColor"},allowDecimals:!0,unit:q,tickFormatter:"vertical"===ut?void 0:Xt,...Yt("axis")};return(0,o.jsx)(j.a,{ref:e,...Yt("root"),onMouseLeave:t=>{Mt(null),ht?.(t)},dir:yt||"ltr",...bt,children:(0,o.jsx)(c.u,{...Yt("container"),children:(0,o.jsxs)(d.Q,{data:M,stackOffset:"percent"===rt?"expand":void 0,layout:ut,margin:{bottom:kt?30:void 0,left:At?10:void 0,right:At?5:void 0},...nt,children:[Rt,at&&(0,o.jsx)(p.s,{verticalAlign:"top",content:t=>(0,o.jsx)(D._,{payload:t.payload,onHighlight:Mt,legendPosition:it?.verticalAlign||"top",classNames:_t,styles:Qt,series:W}),...it}),(0,o.jsx)(h.d,{strokeDasharray:H,vertical:"y"===J||"xy"===J,horizontal:"x"===J||"xy"===J,...Yt("grid"),...R}),(0,o.jsxs)(u.W,{hide:!Y,..."vertical"===ut?{type:"number"}:{dataKey:Q},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!wt&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ut?Xt:void 0,...Yt("axis"),...V,children:[kt&&(0,o.jsx)(f.J,{position:"insideBottom",offset:-20,fontSize:12,...Yt("axisLabel"),children:kt}),V?.children]}),(0,o.jsxs)(y.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!G,...Et,...B,children:[At&&(0,o.jsx)(f.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Yt("axisLabel"),children:At}),B?.children]}),(0,o.jsxs)(y.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!gt,...Et,...Pt,children:[Ct&&(0,o.jsx)(f.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Yt("axisLabel"),children:Ct}),B?.children]}),st&&(0,o.jsx)(m.m,{animationDuration:et,isAnimationActive:It,position:"vertical"===ut?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:H},content:({label:t,payload:e})=>(0,o.jsx)(N.I,{label:t,payload:e,unit:q,classNames:_t,styles:Qt,series:W,valueFormatter:mt}),...ot}),"split"===rt&&(0,o.jsx)("defs",{children:(0,o.jsx)(O,{colors:ct,id:St,offset:dt??S({data:M,series:W}),fillOpacity:lt})}),Tt,X&&Gt,xt]})})})}));F.classes=w.A,F.displayName="@mantine/charts/AreaChart",r(9319);var K=r(3837),M=r(7479),W=r(8734);const _=function(t){var e=t.setProps,r=t.loading_state,o=(t.clickData,t.hoverData,t.clickSeriesName,t.hoverSeriesName,t.series),n=t.highlightHover,l=void 0!==n&&n,c=t.areaChartProps,d=t.activeDotProps,p=t.areaProps,h=t.valueFormatter,u=t.tooltipProps,f=(0,i.Tt)(t,["setProps","loading_state","clickData","hoverData","clickSeriesName","hoverSeriesName","series","highlightHover","areaChartProps","activeDotProps","areaProps","valueFormatter","tooltipProps"]),y=(0,a.useState)(null),m=y[0],x=y[1],v=l&&null!==m,k=(0,a.useRef)(null),A=function(t){(0,K.$Q)(t)&&(k.current=t.name)},g=function(t){if((0,K.$Q)(t)){var e=t.name;k.current=e,x(e)}},C=function(){x(null)},P=(0,i.Cl)((0,i.Cl)({},c),{onClick:function(t){(0,K.$Q)(t)&&e({clickSeriesName:k.current,clickData:(0,K.X$)(t)}),k.current=null},onMouseOver:function(t){(0,K.$Q)(t)&&e({hoverSeriesName:k.current,hoverData:(0,K.X$)(t)}),k.current=null}});return s().createElement(F,(0,i.Cl)({"data-dash-is-loading":(0,M.A_)(r)||void 0,areaChartProps:P,series:o,activeDotProps:(0,i.Cl)((0,i.Cl)({},d),{onClick:function(t,e){(0,K.$Q)(t)&&(k.current=e.dataKey)},onMouseOver:function(t,e){if((0,K.$Q)(t)){var r=e.dataKey;k.current=r,x(r)}},onMouseOut:C}),areaProps:function(t){var e=v&&m!==t.name,r=(0,i.Cl)((0,i.Cl)({},p),{onClick:A,onMouseOver:g,onMouseOut:C});return e&&(r.fillOpacity=.1,r.strokeOpacity=.2),r},valueFormatter:(0,W.q)(h),tooltipProps:(0,W.q)(u)},f))}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[811],{87758:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Y});var i=r(31635),a=r(74848),o=r(40295),l=r.n(o),s=r(91222),n=r(49669),c=r(5614),d=r(57158),h=r(44653),p=r(28327),u=r(77984),f=r(23495),m=r(15894),x=(0,p.gu)({chartName:"BarChart",GraphicalChild:s.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:u.W},{axisType:"yAxis",AxisComp:f.h}],formatAxisMap:m.pr}),y=r(97018),v=r(91706),k=r(69107),g=r(78687),A=r(59396),b=r(86344),C=r(2412),P=r(46100),L=r(1101),S=r(99274),j=r(52837),w=r(14791),N=r(6585),D=r(45849),z=r(89133);function B(e){return`${(100*e).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withTooltip:!0,tooltipAnimationDuration:0,fillOpacity:1,tickLine:"y",strokeDasharray:"5 5",gridAxis:"x",type:"default"},O=(0,A.V)(((e,{textColor:t,gridColor:r,cursorFill:i,barLabelColor:a})=>({root:{"--chart-text-color":t?(0,b.r)(t,e):void 0,"--chart-grid-color":r?(0,b.r)(r,e):void 0,"--chart-cursor-fill":i?(0,b.r)(i,e):void 0,"--chart-bar-label-color":a?(0,b.r)(a,e):void 0}}))),T=(0,C.P9)(((e,t)=>{const r=(0,P.Y)("BarChart",I,e),{classNames:i,className:l,style:p,styles:m,unstyled:A,vars:C,data:T,withLegend:$,legendProps:_,series:Y,onMouseLeave:F,dataKey:M,withTooltip:E,withXAxis:W,withYAxis:K,gridAxis:Q,tickLine:R,xAxisProps:X,yAxisProps:H,unit:J,tooltipAnimationDuration:G,strokeDasharray:V,gridProps:Z,tooltipProps:q,referenceLines:U,fillOpacity:ee,barChartProps:te,type:re,orientation:ie,dir:ae,valueFormatter:oe,children:le,barProps:se,xAxisLabel:ne,yAxisLabel:ce,withBarValueLabel:de,valueLabelProps:he,withRightYAxis:pe,rightYAxisLabel:ue,rightYAxisProps:fe,minBarSize:me,maxBarWidth:xe,mod:ye,getBarColor:ve,gridColor:ke,textColor:ge,...Ae}=r,be=(0,L.xd)(),Ce="none"!==Q&&("x"===R||"xy"===R),Pe="none"!==Q&&("y"===R||"xy"===R),[Le,Se]=(0,o.useState)(null),je=null!==Le,we="stacked"===re||"percent"===re,Ne="percent"===re?B:oe,{resolvedClassNames:De,resolvedStyles:ze}=(0,S.Y)({classNames:i,styles:m,props:r}),Be="waterfall"===re?function(e,t){let r=0,i=0;return e.map((e=>{if(e.standalone)for(const r in e)"number"==typeof e[r]&&r!==t&&(e[r]=[0,e[r]]);else for(const a in e)"number"==typeof e[a]&&a!==t&&(i+=e[a],e[a]=[r,i],r=i);return e}))}(T,M):T,Ie=(0,j.I)({name:"BarChart",classes:z.A,props:r,className:l,style:p,classNames:i,styles:m,unstyled:A,vars:C,varsResolver:O}),Oe=Y.map((e=>{const t=(0,b.r)(e.color,be),r=je&&Le!==e.name;return(0,o.createElement)(s.y,{...Ie("bar"),key:e.name,name:e.name,dataKey:e.name,fill:t,stroke:t,isAnimationActive:!1,fillOpacity:r?.1:ee,strokeOpacity:r?.2:0,stackId:we?"stack":e.stackId||void 0,yAxisId:e.yAxisId||"left",minPointSize:me,..."function"==typeof se?se(e):se},Be.map(((r,i)=>{const o=r.color?(0,b.r)(r.color,be):"function"==typeof ve?(0,b.r)(ve(r[e.name],e),be):function(e,t){return"function"==typeof e?e(t).fill:e?.fill}(se,e)||t;return(0,a.jsx)(n.f,{fill:o},`cell-${i}`)})),de&&(0,a.jsx)(c.Z,{position:"vertical"===ie?"right":"top",fontSize:12,fill:"var(--chart-bar-label-color, var(--mantine-color-dimmed))",formatter:Ne,..."function"==typeof he?he(e):he}))})),Te=U?.map(((e,t)=>{const r=(0,b.r)(e.color,be);return(0,a.jsx)(d.e,{stroke:e.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:e.yAxisId||"left",...e,label:{value:e.label,fill:e.color?r:"currentColor",fontSize:12,position:e.labelPosition??"insideBottomLeft"},...Ie("referenceLine")},t)})),$e={axisLine:!1,..."vertical"===ie?{dataKey:M,type:"category"}:{type:"number"},tickLine:!!Pe&&{stroke:"currentColor"},allowDecimals:!0,unit:J,tickFormatter:"vertical"===ie?void 0:Ne,...Ie("axis")};return(0,a.jsx)(w.a,{ref:t,...Ie("root"),onMouseLeave:e=>{Se(null),F?.(e)},dir:ae||"ltr",mod:[{orientation:ie},ye],...Ae,children:(0,a.jsx)(h.u,{...Ie("container"),children:(0,a.jsxs)(x,{data:Be,stackOffset:"percent"===re?"expand":void 0,layout:ie,maxBarSize:xe,margin:{bottom:ne?30:void 0,left:ce?10:void 0,right:ce?5:void 0},...te,children:[$&&(0,a.jsx)(y.s,{verticalAlign:"top",content:e=>(0,a.jsx)(N._,{payload:e.payload,onHighlight:Se,legendPosition:_?.verticalAlign||"top",classNames:De,styles:ze,series:Y,showColor:"waterfall"!==re}),..._}),(0,a.jsxs)(u.W,{hide:!W,..."vertical"===ie?{type:"number"}:{dataKey:M},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!Ce&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ie?Ne:void 0,...Ie("axis"),...X,children:[ne&&(0,a.jsx)(v.J,{position:"insideBottom",offset:-20,fontSize:12,...Ie("axisLabel"),children:ne}),X?.children]}),(0,a.jsxs)(f.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!K,...$e,...H,children:[ce&&(0,a.jsx)(v.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...Ie("axisLabel"),children:ce}),H?.children]}),(0,a.jsxs)(f.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!pe,...$e,...fe,children:[ue&&(0,a.jsx)(v.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...Ie("axisLabel"),children:ue}),H?.children]}),(0,a.jsx)(k.d,{strokeDasharray:V,vertical:"y"===Q||"xy"===Q,horizontal:"x"===Q||"xy"===Q,...Ie("grid"),...Z}),E&&(0,a.jsx)(g.m,{animationDuration:G,isAnimationActive:0!==G,position:"vertical"===ie?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:V,fill:"var(--chart-cursor-fill)"},content:({label:e,payload:t})=>(0,a.jsx)(D.I,{label:e,payload:t,type:"waterfall"===re?"scatter":void 0,unit:J,classNames:De,styles:ze,series:Y,valueFormatter:oe}),...q}),Oe,Te,le]})})})}));T.displayName="@mantine/charts/BarChart",T.classes=z.A,r(19319);var $=r(83837),_=r(57479);const Y=function(e){var t=e.setProps,r=e.loading_state,a=(e.clickData,e.hoverData,e.barChartProps),s=(e.clickSeriesName,e.hoverSeriesName,e.barProps),n=e.highlightHover,c=void 0!==n&&n,d=(0,i.Tt)(e,["setProps","loading_state","clickData","hoverData","barChartProps","clickSeriesName","hoverSeriesName","barProps","highlightHover"]),h=(0,o.useState)(null),p=h[0],u=h[1],f=c&&null!==p,m=(0,o.useRef)(null),x=function(e){(0,$.$Q)(e)&&(m.current=e.tooltipPayload[0].name)},y=function(e){if((0,$.$Q)(e)){var t=e.tooltipPayload[0].name;m.current=t,u(t)}},v=function(){u(null)},k=(0,i.Cl)((0,i.Cl)({},a),{onClick:function(e){(0,$.$Q)(e)&&t({clickSeriesName:m.current,clickData:(0,$.X$)(e)}),m.current=null},onMouseOver:function(e){(0,$.$Q)(e)&&t({hoverSeriesName:m.current,hoverData:(0,$.X$)(e)}),m.current=null}});return l().createElement(T,(0,i.Cl)({"data-dash-is-loading":(0,_.A_)(r)||void 0,barChartProps:k,barProps:function(e){var t=f&&p!==e.name,r=(0,i.Cl)((0,i.Cl)({},s),{onClick:x,onMouseOver:y,onMouseOut:v});return t&&(r.fillOpacity=.1,r.strokeOpacity=.2),r}},d))}}}]);
1
+ "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[811],{7758:(t,e,r)=>{r.r(e),r.d(e,{default:()=>Y});var o=r(1635),i=r(4848),a=r(295),l=r.n(a),s=r(1222),n=r(9669),c=r(5614),d=r(7158),p=r(4653),u=r(8327),h=r(7984),f=r(3495),m=r(5894),x=(0,u.gu)({chartName:"BarChart",GraphicalChild:s.y,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:h.W},{axisType:"yAxis",AxisComp:f.h}],formatAxisMap:m.pr}),y=r(7018),v=r(1706),k=r(9107),g=r(8687),C=r(9396),A=r(6344),b=r(2412),P=r(6100),L=r(1101),S=r(9274),j=r(2837),w=r(4791),N=r(6585),B=r(5849),D=r(9133);function z(t){return`${(100*t).toFixed(0)}%`}const I={withXAxis:!0,withYAxis:!0,withTooltip:!0,tooltipAnimationDuration:0,fillOpacity:1,tickLine:"y",strokeDasharray:"5 5",gridAxis:"x",type:"default"},O=(0,C.V)(((t,{textColor:e,gridColor:r,cursorFill:o,barLabelColor:i})=>({root:{"--chart-text-color":e?(0,A.r)(e,t):void 0,"--chart-grid-color":r?(0,A.r)(r,t):void 0,"--chart-cursor-fill":o?(0,A.r)(o,t):void 0,"--chart-bar-label-color":i?(0,A.r)(i,t):void 0}}))),T=(0,b.P9)(((t,e)=>{const r=(0,P.Y)("BarChart",I,t),{classNames:o,className:l,style:u,styles:m,unstyled:C,vars:b,data:T,withLegend:F,legendProps:$,series:_,onMouseLeave:Y,dataKey:M,withTooltip:E,withXAxis:W,withYAxis:K,gridAxis:Q,tickLine:R,xAxisProps:X,yAxisProps:q,unit:H,tooltipAnimationDuration:J,strokeDasharray:G,gridProps:V,tooltipProps:Z,referenceLines:U,fillOpacity:tt,barChartProps:et,type:rt,orientation:ot,dir:it,valueFormatter:at,children:lt,barProps:st,xAxisLabel:nt,yAxisLabel:ct,withBarValueLabel:dt,valueLabelProps:pt,withRightYAxis:ut,rightYAxisLabel:ht,rightYAxisProps:ft,minBarSize:mt,maxBarWidth:xt,mod:yt,getBarColor:vt,gridColor:kt,textColor:gt,...Ct}=r,At=(0,L.xd)(),bt="none"!==Q&&("x"===R||"xy"===R),Pt="none"!==Q&&("y"===R||"xy"===R),[Lt,St]=(0,a.useState)(null),jt=null!==Lt,wt="stacked"===rt||"percent"===rt,Nt="percent"===rt?z:at,{resolvedClassNames:Bt,resolvedStyles:Dt}=(0,S.Y)({classNames:o,styles:m,props:r}),zt="waterfall"===rt?function(t,e){let r=0,o=0;return t.map((t=>{if(t.standalone)for(const r in t)"number"==typeof t[r]&&r!==e&&(t[r]=[0,t[r]]);else for(const i in t)"number"==typeof t[i]&&i!==e&&(o+=t[i],t[i]=[r,o],r=o);return t}))}(T,M):T,It=(0,j.I)({name:"BarChart",classes:D.A,props:r,className:l,style:u,classNames:o,styles:m,unstyled:C,vars:b,varsResolver:O}),Ot=_.map((t=>{const e=(0,A.r)(t.color,At),r=jt&&Lt!==t.name;return(0,a.createElement)(s.y,{...It("bar"),key:t.name,name:t.name,dataKey:t.name,fill:e,stroke:e,isAnimationActive:!1,fillOpacity:r?.1:tt,strokeOpacity:r?.2:0,stackId:wt?"stack":t.stackId||void 0,yAxisId:t.yAxisId||"left",minPointSize:mt,..."function"==typeof st?st(t):st},zt.map(((r,o)=>{const a=r.color?(0,A.r)(r.color,At):"function"==typeof vt?(0,A.r)(vt(r[t.name],t),At):function(t,e){return"function"==typeof t?t(e).fill:t?.fill}(st,t)||e;return(0,i.jsx)(n.f,{fill:a},`cell-${o}`)})),dt&&(0,i.jsx)(c.Z,{position:"vertical"===ot?"right":"top",fontSize:12,fill:"var(--chart-bar-label-color, var(--mantine-color-dimmed))",formatter:Nt,..."function"==typeof pt?pt(t):pt}))})),Tt=U?.map(((t,e)=>{const r=(0,A.r)(t.color,At);return(0,i.jsx)(d.e,{stroke:t.color?r:"var(--chart-grid-color)",strokeWidth:1,yAxisId:t.yAxisId||"left",...t,label:{value:t.label,fill:t.color?r:"currentColor",fontSize:12,position:t.labelPosition??"insideBottomLeft"},...It("referenceLine")},e)})),Ft={axisLine:!1,..."vertical"===ot?{dataKey:M,type:"category"}:{type:"number"},tickLine:!!Pt&&{stroke:"currentColor"},allowDecimals:!0,unit:H,tickFormatter:"vertical"===ot?void 0:Nt,...It("axis")};return(0,i.jsx)(w.a,{ref:e,...It("root"),onMouseLeave:t=>{St(null),Y?.(t)},dir:it||"ltr",mod:[{orientation:ot},yt],...Ct,children:(0,i.jsx)(p.u,{...It("container"),children:(0,i.jsxs)(x,{data:zt,stackOffset:"percent"===rt?"expand":void 0,layout:ot,maxBarSize:xt,margin:{bottom:nt?30:void 0,left:ct?10:void 0,right:ct?5:void 0},...et,children:[F&&(0,i.jsx)(y.s,{verticalAlign:"top",content:t=>(0,i.jsx)(N._,{payload:t.payload,onHighlight:St,legendPosition:$?.verticalAlign||"top",classNames:Bt,styles:Dt,series:_,showColor:"waterfall"!==rt}),...$}),(0,i.jsxs)(h.W,{hide:!W,..."vertical"===ot?{type:"number"}:{dataKey:M},tick:{transform:"translate(0, 10)",fontSize:12,fill:"currentColor"},stroke:"",interval:"preserveStartEnd",tickLine:!!bt&&{stroke:"currentColor"},minTickGap:5,tickFormatter:"vertical"===ot?Nt:void 0,...It("axis"),...X,children:[nt&&(0,i.jsx)(v.J,{position:"insideBottom",offset:-20,fontSize:12,...It("axisLabel"),children:nt}),X?.children]}),(0,i.jsxs)(f.h,{yAxisId:"left",orientation:"left",tick:{transform:"translate(-10, 0)",fontSize:12,fill:"currentColor"},hide:!K,...Ft,...q,children:[ct&&(0,i.jsx)(v.J,{position:"insideLeft",angle:-90,textAnchor:"middle",fontSize:12,offset:-5,...It("axisLabel"),children:ct}),q?.children]}),(0,i.jsxs)(f.h,{yAxisId:"right",orientation:"right",tick:{transform:"translate(10, 0)",fontSize:12,fill:"currentColor"},hide:!ut,...Ft,...ft,children:[ht&&(0,i.jsx)(v.J,{position:"insideRight",angle:90,textAnchor:"middle",fontSize:12,offset:-5,...It("axisLabel"),children:ht}),q?.children]}),(0,i.jsx)(k.d,{strokeDasharray:G,vertical:"y"===Q||"xy"===Q,horizontal:"x"===Q||"xy"===Q,...It("grid"),...V}),E&&(0,i.jsx)(g.m,{animationDuration:J,isAnimationActive:0!==J,position:"vertical"===ot?{}:{y:0},cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:G,fill:"var(--chart-cursor-fill)"},content:({label:t,payload:e})=>(0,i.jsx)(B.I,{label:t,payload:e,type:"waterfall"===rt?"scatter":void 0,unit:H,classNames:Bt,styles:Dt,series:_,valueFormatter:at}),...Z}),Ot,Tt,lt]})})})}));T.displayName="@mantine/charts/BarChart",T.classes=D.A,r(9319);var F=r(3837),$=r(7479),_=r(8734);const Y=function(t){var e=t.setProps,r=t.loading_state,i=(t.clickData,t.hoverData,t.barChartProps),s=(t.clickSeriesName,t.hoverSeriesName,t.barProps),n=t.highlightHover,c=void 0!==n&&n,d=t.valueFormatter,p=t.tooltipProps,u=t.getBarColor,h=(0,o.Tt)(t,["setProps","loading_state","clickData","hoverData","barChartProps","clickSeriesName","hoverSeriesName","barProps","highlightHover","valueFormatter","tooltipProps","getBarColor"]),f=(0,a.useState)(null),m=f[0],x=f[1],y=c&&null!==m,v=(0,a.useRef)(null),k=function(t){(0,F.$Q)(t)&&(v.current=t.tooltipPayload[0].name)},g=function(t){if((0,F.$Q)(t)){var e=t.tooltipPayload[0].name;v.current=e,x(e)}},C=function(){x(null)},A=(0,o.Cl)((0,o.Cl)({},i),{onClick:function(t){(0,F.$Q)(t)&&e({clickSeriesName:v.current,clickData:(0,F.X$)(t)}),v.current=null},onMouseOver:function(t){(0,F.$Q)(t)&&e({hoverSeriesName:v.current,hoverData:(0,F.X$)(t)}),v.current=null}});return l().createElement(T,(0,o.Cl)({"data-dash-is-loading":(0,$.A_)(r)||void 0,barChartProps:A,barProps:function(t){var e=y&&m!==t.name,r=(0,o.Cl)((0,o.Cl)({},s),{onClick:k,onMouseOver:g,onMouseOut:C});return e&&(r.fillOpacity=.1,r.strokeOpacity=.2),r},valueFormatter:(0,_.q)(d),tooltipProps:(0,_.q)(p),getBarColor:(0,_.q)(u)},h))}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[0],{7626:(t,a,e)=>{e.r(a),e.d(a,{default:()=>N});var r=e(31635),s=e(74848),o=e(44653),i=e(59853),n=e(77984),l=e(23495),c=e(51658),d=e(78687),u=e(34296),h=e(64999),p=e(17826),m=e(59396),v=e(86344),y=e(2412),x=e(46100),f=e(1101),k=e(52837),C=e(14791),b=e(89133);function g(t,a){const e=t.map((t=>t[a]));return[Math.min(...e),Math.max(...e)]}function j({active:t,payload:a,getStyles:e,dataKey:r,valueFormatter:o}){if(t&&a&&a.length){const t=a[0]&&a[0].payload;return(0,s.jsx)("div",{...e("tooltip"),children:(0,s.jsxs)(h.Y,{justify:"space-between",children:[(0,s.jsx)(p.E,{fz:"sm",children:t[r.x]}),(0,s.jsx)(p.E,{fz:"sm",children:o?o(t[r.z]):t[r.z]})]})})}return null}const z={color:"blue.6",withTooltip:!0},P=(0,m.V)(((t,{textColor:a,gridColor:e})=>({root:{"--chart-text-color":a?(0,v.r)(a,t):void 0,"--chart-grid-color":e?(0,v.r)(e,t):void 0}}))),A=(0,y.P9)(((t,a)=>{const e=(0,x.Y)("BubbleChart",z,t),{classNames:r,className:h,style:p,styles:m,unstyled:y,vars:A,data:D,xAxisProps:K,yAxisProps:_,zAxisProps:w,tooltipProps:N,scatterProps:S,color:B,label:E,withTooltip:F,dataKey:L,range:M,valueFormatter:T,...Q}=e,R=(0,f.xd)(),W=(0,k.I)({name:"BubbleChart",classes:b.A,props:e,className:h,style:p,classNames:r,styles:m,unstyled:y,vars:A,varsResolver:P}),Y=E?void 0:{width:0};return(0,s.jsx)(C.a,{ref:a,...W("root"),...Q,children:(0,s.jsx)(o.u,{children:(0,s.jsxs)(i.t,{children:[(0,s.jsx)(n.W,{type:"category",dataKey:L.x,interval:0,tick:{fontSize:12,fill:"currentColor"},tickLine:{transform:"translate(0, -6)",stroke:"currentColor"},stroke:"currentColor",...W("axis"),...K}),(0,s.jsx)(l.h,{type:"number",dataKey:L.y,height:10,...Y,tick:!1,tickLine:!1,axisLine:!1,label:{value:E,position:"insideRight",fontSize:12,fill:"currentColor"},...W("axis"),..._}),(0,s.jsx)(c.K,{type:"number",dataKey:L.z,domain:g(D,L.z),range:M,...w}),F&&(0,s.jsx)(d.m,{animationDuration:100,isAnimationActive:!1,cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:"3 3"},content:t=>(0,s.jsx)(j,{dataKey:L,active:t.active,payload:t.payload,getStyles:W,valueFormatter:T}),...N}),(0,s.jsx)(u.X,{data:D,fill:(0,v.r)(B,R),isAnimationActive:!1,...S})]})})})}));A.displayName="@mantine/charts/BubbleChart",A.classes=b.A,e(19319);var D=e(40295),K=e.n(D),_=e(83837),w=e(57479);const N=function(t){var a=t.setProps,e=t.loading_state,s=(t.clickData,t.hoverData,t.scatterProps),o=(0,r.Tt)(t,["setProps","loading_state","clickData","hoverData","scatterProps"]),i=(0,r.Cl)((0,r.Cl)({},s),{onClick:function(t){(0,_.$Q)(t)&&a({clickData:(0,_.zD)(t)})},onMouseOver:function(t){(0,_.$Q)(t)&&a({hoverData:(0,_.zD)(t)})}});return K().createElement(A,(0,r.Cl)({"data-dash-is-loading":(0,w.A_)(e)||void 0,scatterProps:i},o))}}}]);
1
+ "use strict";(self.webpackChunkdash_mantine_components=self.webpackChunkdash_mantine_components||[]).push([[0],{7626:(t,a,e)=>{e.r(a),e.d(a,{default:()=>N});var r=e(1635),o=e(4848),s=e(4653),i=e(9853),l=e(7984),n=e(3495),c=e(1658),d=e(8687),u=e(1915),p=e(4999),h=e(7826),m=e(9396),v=e(6344),y=e(2412),x=e(6100),f=e(1101),k=e(2837),C=e(4791),b=e(9133);function g(t,a){const e=t.map((t=>t[a]));return[Math.min(...e),Math.max(...e)]}function j({active:t,payload:a,getStyles:e,dataKey:r,valueFormatter:s}){if(t&&a&&a.length){const t=a[0]&&a[0].payload;return(0,o.jsx)("div",{...e("tooltip"),children:(0,o.jsxs)(p.Y,{justify:"space-between",children:[(0,o.jsx)(h.E,{fz:"sm",children:t[r.x]}),(0,o.jsx)(h.E,{fz:"sm",children:s?s(t[r.z]):t[r.z]})]})})}return null}const P={color:"blue.6",withTooltip:!0},z=(0,m.V)(((t,{textColor:a,gridColor:e})=>({root:{"--chart-text-color":a?(0,v.r)(a,t):void 0,"--chart-grid-color":e?(0,v.r)(e,t):void 0}}))),A=(0,y.P9)(((t,a)=>{const e=(0,x.Y)("BubbleChart",P,t),{classNames:r,className:p,style:h,styles:m,unstyled:y,vars:A,data:D,xAxisProps:K,yAxisProps:_,zAxisProps:w,tooltipProps:F,scatterProps:N,color:S,label:B,withTooltip:E,dataKey:L,range:M,valueFormatter:T,...q}=e,Q=(0,f.xd)(),R=(0,k.I)({name:"BubbleChart",classes:b.A,props:e,className:p,style:h,classNames:r,styles:m,unstyled:y,vars:A,varsResolver:z}),W=B?void 0:{width:0};return(0,o.jsx)(C.a,{ref:a,...R("root"),...q,children:(0,o.jsx)(s.u,{children:(0,o.jsxs)(i.t,{children:[(0,o.jsx)(l.W,{type:"category",dataKey:L.x,interval:0,tick:{fontSize:12,fill:"currentColor"},tickLine:{transform:"translate(0, -6)",stroke:"currentColor"},stroke:"currentColor",...R("axis"),...K}),(0,o.jsx)(n.h,{type:"number",dataKey:L.y,height:10,...W,tick:!1,tickLine:!1,axisLine:!1,label:{value:B,position:"insideRight",fontSize:12,fill:"currentColor"},...R("axis"),..._}),(0,o.jsx)(c.K,{type:"number",dataKey:L.z,domain:g(D,L.z),range:M,...w}),E&&(0,o.jsx)(d.m,{animationDuration:100,isAnimationActive:!1,cursor:{stroke:"var(--chart-grid-color)",strokeWidth:1,strokeDasharray:"3 3"},content:t=>(0,o.jsx)(j,{dataKey:L,active:t.active,payload:t.payload,getStyles:R,valueFormatter:T}),...F}),(0,o.jsx)(u.X,{data:D,fill:(0,v.r)(S,Q),isAnimationActive:!1,...N})]})})})}));A.displayName="@mantine/charts/BubbleChart",A.classes=b.A,e(9319);var D=e(295),K=e.n(D),_=e(3837),w=e(7479),F=e(8734);const N=function(t){var a=t.setProps,e=t.loading_state,o=(t.clickData,t.hoverData,t.scatterProps),s=t.valueFormatter,i=t.tooltipProps,l=(0,r.Tt)(t,["setProps","loading_state","clickData","hoverData","scatterProps","valueFormatter","tooltipProps"]),n=(0,r.Cl)((0,r.Cl)({},o),{onClick:function(t){(0,_.$Q)(t)&&a({clickData:(0,_.zD)(t)})},onMouseOver:function(t){(0,_.$Q)(t)&&a({hoverData:(0,_.zD)(t)})}});return K().createElement(A,(0,r.Cl)({"data-dash-is-loading":(0,w.A_)(e)||void 0,scatterProps:n,valueFormatter:(0,F.q)(s),tooltipProps:(0,F.q)(i)},l))}}}]);