import e from"prop-types";import{withStyles as t,Tooltip as i}from"@material-ui/core";import{InfoOutlined as n}from"@material-ui/icons";import{Switch as o}from"../../../../componentsV2/Switch/Switch.js";import{jsxs as r,jsx as a}from"react/jsx-runtime";function l(e){var t=e.value,l=e.onChange,s=e.classes,p=e["data-testid"];return r("div",{className:s.nonEngineeredWrapper,children:[a(o,{testId:p,onLabel:"Include Non-Verified Reference Wells",checked:t,onChange:function(e){l(e)},size:"small",className:s.formControl}),a(i,{title:r("div",{className:s.tooltipContent,children:[a("span",{children:"Non-Verified Reference Wells have minimal data and are used for displaying drilling parameters only."}),a("span",{children:"Metrics & models from these wells can be inaccurate."})]}),placement:"bottom-start",classes:{tooltip:s.infoTooltip},children:a(n,{fontSize:"small",className:s.infoIcon})})]})}l.propTypes={value:e.bool.isRequired,onChange:e.func.isRequired,classes:e.shape({}).isRequired,"data-testid":e.string},l.defaultProps={"data-testid":"NonEngineeredWellsSwitch"};var s=t((function(e){return{formControl:{display:"flex",alignItems:"flex-end",height:"100%"},nonEngineeredWrapper:{display:"flex",height:"56px",alignItems:"flex-end",marginLeft:"8px"},infoIcon:{marginLeft:"8px",marginBottom:"12px",fontSize:"13px",color:e.palette.primary.text6,"&:hover":{color:e.palette.primary.text1}},infoTooltip:{fontSize:"12px",lineHeight:"16px",letterSpacing:"0.4px",color:e.palette.primary.text1,minWidth:"314px"},tooltipContent:{display:"flex",flexDirection:"column"}}}))(l);export{s as default};
//# sourceMappingURL=NonEngineeredWellsSwitch.js.map
