import h from"@mui/material/ListItemButton";import{alpha as m,styled as d}from"@mui/material/styles";function p(r){"@babel/helpers - typeof";return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(r)}function g(r,t){var i=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})),i.push.apply(i,n)}return i}function o(r){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?g(Object(i),!0).forEach(function(n){f(r,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(i,n))})}return r}function f(r,t,i){return(t=s(t))in r?Object.defineProperty(r,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[t]=i,r}function s(r){var t=b(r,"string");return p(t)=="symbol"?t:t+""}function b(r,t){if(p(r)!="object"||!r)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var n=i.call(r,t||"default");if(p(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(r)}var O=d(h,{shouldForwardProp:function(t){return t!=="active"}})(function(r){var t=r.active,i=r.open,n=r.depth,e=r.theme,l=n!==1,c=i&&!t,y=e.palette.mode==="light",u={width:"100%",maxWidth:"100%",display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},a={item:{borderRadius:6,color:e.palette.text.secondary},icon:{width:22,height:22,flexShrink:0},label:{textTransform:"capitalize"},caption:{color:e.palette.text.disabled}};return o(o(o({},!l&&o(o(o({},a.item),{},{fontSize:10,minHeight:56,lineHeight:"16px",textAlign:"center",flexDirection:"column",justifyContent:"center",padding:e.spacing(.5),margin:e.spacing(0,.5),fontWeight:e.typography.fontWeightSemiBold,"& .icon":o({},a.icon),"& .label":o(o(o({},u),a.label),{},{marginTop:e.spacing(.5)}),"& .caption":o(o({},a.caption),{},{top:11,left:6,position:"absolute"}),"& .arrow":{top:11,right:6,position:"absolute"}},t&&{fontWeight:e.typography.fontWeightBold,backgroundColor:m(e.palette.primary.main,.08),color:y?e.palette.primary.main:e.palette.primary.light,"&:hover":{backgroundColor:m(e.palette.primary.main,.16)}}),c&&{color:e.palette.text.primary,backgroundColor:e.palette.action.hover})),l&&o(o(o(o({},a.item),e.typography.body2),{},{minHeight:34,padding:e.spacing(0,1),fontWeight:e.typography.fontWeightMedium,"& .icon":o(o({},a.icon),{},{marginRight:e.spacing(1)}),"& .label":o(o({},a.label),{},{flexGrow:1}),"& .caption":o(o({},a.caption),{},{marginLeft:e.spacing(.75)}),"& .info":{display:"inline-flex",marginLeft:e.spacing(.75)},"& .arrow":{marginLeft:e.spacing(.75),marginRight:e.spacing(-.5)}},t&&{color:e.palette.text.primary,backgroundColor:e.palette.action.selected,fontWeight:e.typography.fontWeightSemiBold}),c&&{color:e.palette.text.primary,backgroundColor:e.palette.action.hover})),{},{"&:hover":{svg:{color:t?e.palette.primary.main:e.palette.grey[600]}},svg:{color:t?e.palette.primary.main:e.palette.grey[600]}})});export{O as a};
//# sourceMappingURL=chunk-ZN5DDS65.mjs.map