Home

lobby/LobbyPage/Chat/StatusMessages/StatusMessageEvents.js

session/lobby/LobbyService.js

The lobby scripting code is kept separate from the rest of the session to ease distribution of the game without any lobby code.
Source:

session/selection_panels_helpers.js