Twisted geometric Langlands correspondence for a torus