@saasquatch/squatch-js 2.8.2-19 → 2.8.2-20

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.
@@ -1233,13 +1233,13 @@ class EmbedWidget extends Widget {
1233
1233
  frameDoc.open();
1234
1234
  const domain = this.widgetApi.domain;
1235
1235
  frameDoc.write(`
1236
- ${((_k = brandingConfig == null ? void 0 : brandingConfig.main) == null ? void 0 : _k.brandFont) && `
1236
+ ${((_k = brandingConfig == null ? void 0 : brandingConfig.main) == null ? void 0 : _k.brandFont) ? `
1237
1237
  <link rel="preconnect" href="https://fast${domain === "https://staging.referralsaasquatch.com" && "-staging"}.ssqt.io">
1238
1238
  <link rel="preconnect" href="https://fonts.gstatic.com">
1239
1239
  <link rel="preconnect" href="https://fonts.googleapis.com">
1240
1240
  <link rel="preload" href="https://fonts.googleapis.com/css2?family=${encodeURIComponent(
1241
1241
  (_l = brandingConfig == null ? void 0 : brandingConfig.main) == null ? void 0 : _l.brandFont
1242
- )}" as="style">`}
1242
+ )}" as="style">` : ""}
1243
1243
  <script src="${this.npmCdn}/resize-observer-polyfill@1.5.x"><\/script>
1244
1244
  <style data-styles>
1245
1245
  html { visibility:hidden;}