The good news, is that someone has done some work in there previously. The hoses are relatively new and the fuel pump harness sticking out of the pump cover appears to have been replaced (clean white connector half).
As I zoom in in on the other (dirty half) there appears to be green corrosion present on the 12v wire terminal. You should try to clean it.
Sent from my iPhone using Tapatalk