How to solve the Uncaught TypeError error: Cannot read properties of undefined (reading ‘apply’ in scripts? [closed]

Good afternoon. Guys, help solve the problem with scripts. I don’t know what the problem is. I didn’t change anything in the template.mistake Uncaught TypeError error: Cannot read properties of undefined (reading ‘apply’
Page