Single-valued integration and double copy