Does anyone have any idea if this would be a write off

2021 Nissan Juke

Somebody crashed into the side of us, damaged the rear passenger door panel, took most of the trim off round the wheel arch, damaged the alloy and also damaged the frame inside the door

Door does shut and lock but doesn’t sound fully shut lots of road noise, it was driven around 2 miles from the crash ok but not sure if the tire has been misaligned

Anyone got any ideas?