Where was the iMac invented?

It came on the market in 1998.