Damage like this may seem irreparable, but carbon is such a versatile material that it is possible to repair it and restore the frame to its original condition.
The work took a long time, but the result was definitely worth it, as you can see from the photos below.