loadAnimation not defined

few months ago this same code was working fine , today i opened it and this is giving this error from nowhere loadAnimation not defined if anyone can help me so please
code link - https://editor.p5js.org/thiemesunilnoida/sketches/QgHnxHMlv