/System/Library/CoreServices/TextInputSwitcher.app/Contents/MacOS/TextInputSwitcher
TextInputSwitcher is responsible for the switching between input sources.