{"version":3,"file":"icon-with-tooltip-5e7687c1.js","sources":["../../../../firstmile.widgets/src/components/icon-with-tooltip/IconWithTooltip.tsx"],"sourcesContent":["import { MouseEventHandler } from 'react';\n\nexport interface IconWithTooltipModel {\n text: string;\n mainClass?: string;\n iconColor?: string;\n bgColor?: string;\n}\n\nconst handleClick: MouseEventHandler = (e) => {\n const bodyStyle = document.body.style;\n const desktopBreakpoint = bodyStyle.getPropertyValue('--breakpoint-desktop');\n if (desktopBreakpoint.length === 0) return;\n if (parseInt(desktopBreakpoint) > window.innerWidth) {\n e.stopPropagation();\n }\n};\n\nconst IconWithTooltip = (props: IconWithTooltipModel) => {\n return (\n