import{jsx as t}from"react/jsx-runtime";import{isEmpty as o}from"lodash";import{makeStyles as r,Chip as e}from"@material-ui/core";import{useWellStreamActivityTypeSubscription as i}from"./effects/useWellStreamActivityTypeSubscription.js";var a=r((function(t){return{chipRoot:{"&.MuiChip-root":{height:12,padding:"2px 8px",fontSize:10,backgroundColor:"".concat(t.palette.success.bright," !important"),marginLeft:4,"&:hover":{"& .MuiChip-label":{color:t.palette.background.b1}},"& .MuiChip-label":{color:t.palette.background.b1,padding:0,fontWeight:500,"&:hover":{color:t.palette.background.b1}}}}}})),l=function(r){var l,n=r.isStatusShown,u=r.currentWellId,p=r.subData,c=a(),s=i({currentWellId:u,isStatusShown:n}),d=p||s;return n&&u?o(d)?null:t(e,{label:null==d||null===(l=d.streamType)||void 0===l?void 0:l.toUpperCase(),classes:{root:c.chipRoot}}):null};export{l as default};
//# sourceMappingURL=WellStreamActivityStatus.js.map
