@GerardRosetta one tweak made it work for me - just replace the shell.js import with this instead:
<script type="text/javascript" charset="UTF-8" src="https://js.hsforms.net/forms/v2.js"></script>
Thanks anonymous person for pointing out that we could use the AfterViewInit hook to accomplish this!