HTMLElement is not defined for Custom Element?

I’m attempting to add a custom element to my site, however anytime I add an element, I get the following console error:

ReferenceError: HTMLElement is not defined

To reduce the moving parts for debugging, I simply added the default custom element from the embed menu to the page

When viewing on my site (paid site with ads disabled), I get the following console error which stops all other script execution.

It seems that the extends HTMLElement is invalid, but I see it everywhere in the samples. Am I missing something obvious? I poured over all the samples and docs and find no information about importing HTMLElement - seems like it should automatically be available.

Has anyone seen this / can point me in the right direction?

This has been fixed - seems to be a backend issue with Wix unrelated to my code.