A rectangle $ABCD$ is divided into four smaller non-overlapping rectangles by two perpendicular line segments, whose endpoints lie on the sides of $ABCD$. Given that the smallest three rectangles have areas of $48$, $18$, and $12$, determine the area of rectangle $ABCD$.

Let's think step by step and output the final answer within \boxed{}.
user