"use strict";var e=require("prop-types"),t=require("@material-ui/core"),i=require("react/jsx-runtime");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(e),s="/static/media/7dcfb5193fd2f60e28374f31ee0a26bf.svg",d={bit:"Bit",other:"Non Magnetic",pdm:"PDM",rss:"Rotary Steerables",stabilizer:"Stabilizer"};function f(e){var a,r=e.component,f=e.width,c=e.height,l=r.family;r.material;return a="bit"===l?"/static/media/50e73f59728296f6d5a248384d53193a.svg":"pdm"===l?"/static/media/d8f7c4b371a4666ca44cae9ec3058c26.svg":"rss"===l?"/static/media/bf34c472868f0f04afd2523062f9f363.svg":"stabilizer"===l?"/static/media/3f3100ae49e552599e0bbd9b60eb783d.svg":s,i.jsx(t.Tooltip,{title:d[l]||d.other,placement:"bottom",children:i.jsx("img",{src:a,style:{width:f,height:c},alt:l})})}f.propTypes={width:r.default.string.isRequired,height:r.default.number.isRequired,component:r.default.shape({family:r.default.string,material:r.default.string,bit_type:r.default.string}).isRequired},module.exports=f;
