Robust teleportation of a surface code and cascade of topological quantum phase transitions | Synapse