@saasquatch/squatch-js 2.6.0 → 2.6.1-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2069,10 +2069,10 @@ class ImpactEmbed extends DeclarativeEmbedWidget {}
2069
2069
 
2070
2070
  class ImpactPopup extends DeclarativePopupWidget {}
2071
2071
 
2072
- window.customElements.define("squatch-embed", SquatchEmbed);
2073
- window.customElements.define("impact-embed", ImpactEmbed);
2074
- window.customElements.define("squatch-popup", SquatchPopup);
2075
- window.customElements.define("impact-popup", ImpactPopup);
2072
+ if (!window.customElements.get("squatch-embed")) window.customElements.define("squatch-embed", SquatchEmbed);
2073
+ if (!window.customElements.get("impact-embed")) window.customElements.define("impact-embed", ImpactEmbed);
2074
+ if (!window.customElements.get("squatch-popup")) window.customElements.define("squatch-popup", SquatchPopup);
2075
+ if (!window.customElements.get("impact-popup")) window.customElements.define("impact-popup", ImpactPopup);
2076
2076
 
2077
2077
  // @ts-check
2078
2078
  function help() {