import{__assign as o}from'./../../ext-esm/tslib/tslib.es6.js';import{jsx as i,jsxs as s}from"react/jsx-runtime";import{makeStyles as t,useTheme as n,Tooltip as c}from"@material-ui/core";import"../../icons/WithCustomSize.js";import"../../icons/IconParkProvider.js";import"../../icons/customIcons/icons/AddMessage.js";import"../../icons/customIcons/icons/Attention.js";import"../../icons/customIcons/icons/Collapse.js";import"../../icons/customIcons/icons/Dashboard.js";import"../../icons/customIcons/icons/Expand.js";import"../../icons/customIcons/icons/FolderClosed.js";import"../../icons/customIcons/icons/FolderClosedFilled.js";import"../../icons/customIcons/icons/FolderOpened.js";import"../../icons/customIcons/icons/GreaterOrEqual.js";import"../../icons/customIcons/icons/LessOrEqual.js";import"../../icons/customIcons/icons/Search.js";import"../../icons/customIcons/icons/Wellhub.js";import"../../icons/customIcons/icons/MultiRuler.js";import"../../icons/customIcons/icons/Checkbox.js";import"../../icons/customIcons/icons/CheckboxChecked.js";import"../../icons/customIcons/icons/CheckboxIndeterminate.js";import"../../icons/customIcons/icons/Radio.js";import"../../icons/customIcons/icons/RadioChecked.js";import{SimulFracCustomIcon as e}from"../../icons/customIcons/icons/SimulFrac.js";import{ZipperFracCustomIcon as r}from"../../icons/customIcons/icons/ZipperFrac.js";import"../../icons/customIcons/icons/CautionFilled.js";import"../../icons/customIcons/icons/MoreApp.js";var l=t((function(o){return{tooltipContent:{width:230,padding:4,fontSize:"12px",color:o.palette.primary.text6},tooltipTitle:{marginBottom:8,color:o.palette.primary.text1},labelContainer:{position:"absolute",top:0,left:0,height:14,padding:"1px 16px 0",color:o.palette.background.b2,fontSize:"12px",fontWeight:500,letterSpacing:.5,lineHeight:1,cursor:"default","&:before":{content:'""',position:"absolute",top:0,left:"-1%",width:"100%",height:"100%",transform:"skew(-40deg)",borderBottomRightRadius:2,backgroundColor:o.palette.primary.main}},labelContent:{position:"relative",display:"flex",alignItems:"center",gap:4}}})),m={simul:"SimulFrac",zipper:"ZipperFrac"},a={simul:"Fracturing multiple wells on a pad simultaneously",zipper:"Fracturing one well on a pad at a time"},p=function(t){t.enableSimulFracInPadSelect;var p=t.fracFleetLines,u=l(),d=n(),h=p.length?"simul":"zipper";return i(c,o({title:s("div",o({className:u.tooltipContent},{children:[i("div",o({className:u.tooltipTitle},{children:m[h]})),i("div",{children:a[h]})]})),placement:"bottom"},{children:i("div",o({"data-testid":"FracModeLabel",className:u.labelContainer},{children:s("div",o({className:u.labelContent},{children:[i("simul"===h?e:r,{size:12,fill:d.palette.background.b2}),i("span",{children:m[h]})]}))}))}))};export{p as default};
