import g from"@mui/material/ListItemButton";import{alpha as s,styled as h}from"@mui/material/styles";function p(e){"@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(e)}function m(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function o(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?m(Object(i),!0).forEach(function(n){b(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):m(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function b(e,t,i){return(t=f(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function f(e){var t=d(e,"string");return p(t)=="symbol"?t:t+""}function d(e,t){if(p(e)!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var n=i.call(e,t||"default");if(p(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var O=h(g,{shouldForwardProp:function(t){return t!=="active"}})(function(e){var t=e.active,i=e.open,n=e.depth,r=e.theme,l=n!==1,u=i&&!t,y=Number(n)>2,c={width:"100%",maxWidth:"100%",display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},a={item:{marginBottom:4,borderRadius:8,color:r.palette.text.secondary,padding:r.spacing(.5,1,.5,1.5)},icon:{width:24,height:24,flexShrink:0,marginRight:r.spacing(2)},label:o(o(o({},c),r.typography.body2),{},{textTransform:"capitalize",fontWeight:r.typography[t?"fontWeightSemiBold":"fontWeightMedium"]}),caption:o(o(o({},c),r.typography.caption),{},{color:r.palette.text.disabled}),info:{display:"inline-flex",marginLeft:r.spacing(.75)},arrow:{flexShrink:0,marginLeft:r.spacing(.75)}};return o(o(o({},!l&&o(o(o({},a.item),{},{minHeight:44,"& .icon":o({},a.icon),"& .sub-icon":{display:"none"},"& .label":o({},a.label),"& .caption":o({},a.caption),"& .info":o({},a.info),"& .arrow":o({},a.arrow)},t&&{color:r.palette.mode==="light"?r.palette.primary.main:r.palette.primary.light,backgroundColor:s(r.palette.primary.main,.08),"&:hover":{backgroundColor:s(r.palette.primary.main,.16)}}),u&&{color:r.palette.text.primary,backgroundColor:r.palette.action.hover})),l&&o(o({},a.item),{},{minHeight:36,"& .icon":o({},a.icon),"& .sub-icon":o(o({},a.icon),{},{display:"flex",alignItems:"center",justifyContent:"center","&:before":o({content:'""',width:4,height:4,borderRadius:"50%",backgroundColor:r.palette.text.disabled,transition:r.transitions.create(["transform"],{duration:r.transitions.duration.shorter})},t&&{transform:"scale(2)",backgroundColor:r.palette.primary.main})}),"& .label":o({},a.label),"& .caption":o({},a.caption),"& .info":o({},a.info),"& .arrow":o({},a.arrow)},t&&{color:r.palette.text.primary})),{},{"&:hover":{svg:{color:t?r.palette.primary.main:r.palette.grey[600]}},svg:{color:t?r.palette.primary.main:r.palette.grey[600]}},y&&{paddingLeft:"".concat(r.spacing(Number(n))," !important")})});export{O as a};
//# sourceMappingURL=chunk-RGSVGRRX.mjs.map