"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("lodash"),s=require("classnames"),l=require("@material-ui/core"),a=require("../../../../constants.js"),o=require("../types.js"),r=require("../../components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=i(s);exports.StatusCell=function(s){var i,n,d=s.data,c=s.isSubjectWell,m=s.borderStyle,p=s.columnsMap,f=s.isMobile,v=s.statusOptionsMap;return e.jsx(l.TableCell,{"data-testid":"".concat(o.PAGE_NAME,"_dot"),className:u.default(r.bodyCell,m),style:{minWidth:(null===(i=p.get(a.ColumnType.status))||void 0===i?void 0:i.minWidth)||0,flex:(null===(n=p.get(a.ColumnType.status))||void 0===n?void 0:n.flex)||0},children:!c&&e.jsx(l.Tooltip,{title:t.startCase(d[a.ColumnType.status]),enterTouchDelay:f?0:void 0,leaveTouchDelay:f?a.LEAVE_TOUCH_DELAY:void 0,children:e.jsx("div",{className:r.statusContainer,children:e.jsx("div",{"data-testid":"".concat(o.PAGE_NAME,"_color"),className:r.status,style:{background:v.get(d[a.ColumnType.status])}})})})})};
//# sourceMappingURL=StatusCell.js.map
