SyntaxError: Unexpected end of input Code Embed block

You have a LOT of code in there, and Webflow’s code editor isn’t designed as a developer IDE. I generally would pull all of that out and structure it in an external github repo.

You might have a look at Slater also, it’s a paid service but would also help you manage your code more easily.

Using TypeScript and an IDE the unclosed bracket would have been highlighted in the editor.