Continuous-variable measurement-device-independent quantum key distribution with source-intensity errors