@social-mail/social-mail-client 1.2.630 → 1.2.632

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.
@@ -52849,7 +52849,7 @@ System.register(["@web-atoms/core/dist/core/Bind", "@web-atoms/core/dist/core/XN
52849
52849
  System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/dist/services/FetchBuilder"], function (_export, _context) {
52850
52850
  "use strict";
52851
52851
 
52852
- var __awaiter, sleep, FetchBuilder, CustomElementsProxy, WebComponents, addAttributes;
52852
+ var __awaiter, sleep, FetchBuilder, CustomElementsProxy, WebComponents, webComponentsInstalled, addAttributes;
52853
52853
  _export("WebComponents", void 0);
52854
52854
  return {
52855
52855
  setters: [function (_tslib) {
@@ -52860,6 +52860,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
52860
52860
  FetchBuilder = _webAtomsCoreDistServicesFetchBuilder.default;
52861
52861
  }],
52862
52862
  execute: function () {
52863
+ webComponentsInstalled = Symbol("webComponentsInstalled");
52863
52864
  CustomElementsProxy = class CustomElementsProxy {
52864
52865
  constructor(elements = []) {
52865
52866
  this.elements = elements;
@@ -52883,6 +52884,10 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
52883
52884
  _export("WebComponents", WebComponents = class WebComponents {
52884
52885
  static run(frame, doc) {
52885
52886
  return __awaiter(this, void 0, void 0, function* () {
52887
+ if (doc[webComponentsInstalled]) {
52888
+ return;
52889
+ }
52890
+ doc[webComponentsInstalled] = true;
52886
52891
  const url = this.path + "/dist/editable.js";
52887
52892
  frame.sandbox.add("allow-scripts");
52888
52893
  const text = yield FetchBuilder.get(url).responseAsText();
@@ -52999,7 +53004,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
52999
53004
  });
53000
53005
  }
53001
53006
  });
53002
- WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.138`;
53007
+ WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.139`;
53003
53008
  }
53004
53009
  };
53005
53010
  });