A teenager charged after a Jewish MP’s office was allegedly attacked and painted red with slogans has sought to make a deal, a court has been told.