The mediation costs must be paid equally by the defendant and the prosecution, except that if a defendant is eligible for a public defender, the public defender shall pay the mediation costs.