parse visibility