Hamas accepts 72-hour ceasefire in Gaza