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