The teen was supplied alcohol and drugs at a party before she woke up to being sexually assaulted, a jury was told.