Western governments and rights groups condemned Tuesday the jailing of 45 pro-democracy campaigners in Hong Kong in the city's largest national security trial.