From its headquarters burrowed below hospitals, mosques, and schools, Hamas bartered hostages for a reprieve from the IDF and the release of its own convicted terrorists in Israeli jails.