Seismic precursory patterns before a cliff collapse and critical point phenomena