"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8069],{668069:function(e,t,o){o.r(t),o.d(t,{bottomNavigationActionClasses:function(){return h},default:function(){return g},getBottomNavigationActionUtilityClass:function(){return m}});var n=o(263366),a=o(487462),i=o(667294),l=o(490512),s=o(794780),r=o(690948),c=o(471657),d=o(192905),p=o(1588),u=o(34867);function m(e){return(0,u.Z)("MuiBottomNavigationAction",e)}var h=(0,p.Z)("MuiBottomNavigationAction",["root","iconOnly","selected","label"]),f=o(785893);const y=["className","icon","label","onChange","onClick","selected","showLabel","value"],b=(0,r.ZP)(d.Z,{name:"MuiBottomNavigationAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,!o.showLabel&&!o.selected&&t.iconOnly]}})((({theme:e,ownerState:t})=>(0,a.Z)({transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"0px 12px",minWidth:80,maxWidth:168,color:(e.vars||e).palette.text.secondary,flexDirection:"column",flex:"1"},!t.showLabel&&!t.selected&&{paddingTop:14},!t.showLabel&&!t.selected&&!t.label&&{paddingTop:0},{[`&.${h.selected}`]:{color:(e.vars||e).palette.primary.main}}))),v=(0,r.ZP)("span",{name:"MuiBottomNavigationAction",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e,ownerState:t})=>(0,a.Z)({fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s"},!t.showLabel&&!t.selected&&{opacity:0,transitionDelay:"0s"},{[`&.${h.selected}`]:{fontSize:e.typography.pxToRem(14)}})));var g=i.forwardRef((function(e,t){const o=(0,c.Z)({props:e,name:"MuiBottomNavigationAction"}),{className:i,icon:r,label:d,onChange:p,onClick:u,value:h}=o,g=(0,n.Z)(o,y),w=o,N=(e=>{const{classes:t,showLabel:o,selected:n}=e,a={root:["root",!o&&!n&&"iconOnly",n&&"selected"],label:["label",!o&&!n&&"iconOnly",n&&"selected"]};return(0,s.Z)(a,m,t)})(w);return(0,f.jsxs)(b,(0,a.Z)({ref:t,className:(0,l.Z)(N.root,i),focusRipple:!0,onClick:e=>{p&&p(e,h),u&&u(e)},ownerState:w},g,{children:[r,(0,f.jsx)(v,{className:N.label,ownerState:w,children:d})]}))}))}}]);