To buy this damaged carbon bike or not?
I would not. You are paying for the frame. The SX Eagle RD has quite a few reports of failure, and it's bad quality overall. There's nothing special about the brakes (bog-standard entry-level), or the fork (Judy Silver TK, 30mm steel stanchions &amp; basic Turnkey damper).
A carbon frame will provide more responsiveness on trails than alloy, but on-road this is no better - you'd be better off buying two bikes if, as per your previous questions, you'll be riding on road a lot as well. The weight saving here is nothing compared to the heavy tyres and upright position which will slow you down on asphalt.
And if you want a pure off-road machine then full-suspension alloy frame would be better.
If you are buying a bike with the advantage over alloy that it's 'more confidence-inspiring', then it doesn't make sense to buy one where you are concerned about frame damage before purchase.....
As far as this bike goes the frame seems to be the ONLY feature out of the ordinary, where the brakes are merely 'good enough', the fork 'entry-level', and the groupset 'cheap and nasty'.