ReferenceError: Can't find variable: window

Hi,
I successfully added the npm libraries for Firebase to my Velo editor and imported them into my page. I can load Firebase successfully, however when I try to display the FirebaseUI using “ui . start ( ’ #firebaseui -auth-container’ , uiConfig );” I receive the following error: ReferenceError: Can’t find variable: window.
Any help would be greatly appreciated.

whats cms used for this sites?
https://safepornsites.net

bestpornsites.love

bestpornsites.icu

Hi,
You can only use this module in a custom element file (and only if your site is connected to your own domain).

https://support.wix.com/en/article/velo-about-custom-elements