The zip ties holding the gear levers in position raises some concerns. As does the profusely leaking gearbox. And the hacked in VFD.
Don't think it's worth that, but probably won't be around long
I’ve dealt with e motors direct. Found a motor for my lathe that was local. So only had to pick it up in person. Was super easy!
https://www.emotorsdirect.ca/
They have Baldor for $450.
I would recommend drilling a small hole at the top of the housing to stop the crack from spreading any further. That crack does look far from breaking the whole thing in half.