function isMouseWithinBounds(event) {
  const targetRect = event.currentTarget.getBoundingClientRect();
  const isWithinBounds = targetRect.top + 1 <= event.clientY && event.clientY <= targetRect.bottom - 1 && targetRect.left + 1 <= event.clientX && event.clientX <= targetRect.right - 1;
  return isWithinBounds;
}
export {
  isMouseWithinBounds
};
//# sourceMappingURL=isMouseWithinBounds.js.map
