The first image is of one of the two rearward facing sunroof drains (sorry for posting the image on its side...just tilt your screen on its side
The second image shows one of the two rubber boots which are the point of origin of the water leak.
In the third image, although it may not be possible to see, the wiring harness is saturated. The water travels along the harness and ultimately wets everything in its path.