Mary almost seems to be two different people. At times, she is hyperactive and talks nonstop (sometimes so fast that nobody can understand her). At those times, her friends say she is bouncing off the walls. But then she changes: she becomes terribly sad, loses interest in eating, spends much of her time in bed, and rarely says a word. It is most likely that Mary is suffering from ______.