The KM3NeT multi-PMT optical module